@media screen and (min-width: 992px){
img{
max-width: 100%;
height: auto;
width /***/:auto;
}
#container{
width: 100%;
}
}

/*---------------------------------
   共通設定
---------------------------------*/

#container{
  width:100%;
  margin:10px auto;
  word-break:break-all;
  padding:0px;
}
    
#header{
  width:100%;
  text-align:left;
  padding-top:10px;
  padding-left:0px;	
  background-repeat  : no-repeat;

}

#main{
 	width:100%;
	margin-top: 10px;
}

#footer{
  width:100%;
  margin-top:10px;
  padding-left:4px;
  text-align:center;
  font-size:11px;
  font-family:Arial;
}

/*テキストスライダー*/
.text__slideIn {
  animation: slideIn 1.6s;
}
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
    
.img__hover img {
  display: block;
  transition-duration: 0.3s;
}
.img__hover img:hover {
  transform: scale(1.1);
  transition-duration: 0.3s;
}
  
/*--　--*/
.flex-end {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: flex-end;
	margin: 5px;
}

/*---------------------------------
   全体設定
---------------------------------*/

body{
  background: url("https://atleone.com/img/webp/bg.webp") repeat fixed;
  color:#666666;
  font-size:100%;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  padding: 30px;
}

a:link{
  color:#414141;
  text-decoration: none;
}
a:visited{
  color:#414141;
  text-decoration: none;
}
a:hover{
  color:#c0c0c0;
  text-decoration: none;
}
a:active{
  color:#414141;
  text-decoration: none;
}

/*BOX*/
.box{
  text-align: center;
  text-shadow: 1px 1px 1px gray;
}

.top-right {
  position: sticky;
}

/*---------------------------------
   縦書き
---------------------------------*/

.vertical {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  display: inline-block;
  width: 80%;
  height: 80%;
  padding: 30px;
  text-shadow: 1px 1px 1px gray;
  text-align: left;
  font-size: 20px;
  columns: 16em;
  column-gap: 20px;
}

p {
  line-height: 1.7;
  margin-left: 20px;
}

/*---------------------------------
   トップ
---------------------------------*/

/**/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#942D2F;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
}

#page-top a:hover{
  background: #777;
}

/**/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
  opacity: 0;
  transform: translateX(100px);
}

/**/

#page-top.LeftMove{
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }
  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/**/

#page-top.RightMove{
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
    opacity: 1;
  transform: translateX(0);
  }
  to {
    opacity: 1;
  transform: translateX(100px);
  }
}

/*---------------------------------

---------------------------------*/

.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 15px;
}
.pagetop a {
    display: block;
    background-color: #ccc;
    text-align: center;
    color: #222;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.pagetop a:hover {
    display: block;
    background-color: #b2d1fb;
    text-align: center;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding:5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}