@charset "utf-8";



#header{
  background:#ffffff;
  color : #000000;
  text-align : left;
  margin-left: 2%;
  margin-right: 5%;
  padding-top: 18px;
  padding-bottom: 12px;
}


h1{
  font-size:12px;
  font-weight: 650;
  color: #777;
  padding-top:    0px;  /* 上だけ指定 */
  padding-left:   2px;  /* 左だけ指定 */
  padding-right:  0px;  /* 右だけ指定 */
  padding-bottom: 0px;  /* 下だけ指定 */
  letter-spacing: 0.5px;
}

h2{
  font-size: 1.0rem;
  margin-left: 1%;
  margin-top: 0rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2rem;
}

/*start-hamburger*/
/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  position: absolute;
  width: 30px;
  height: 3px;
  right: 0;
  background-color: rgb(58, 57, 57);
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: 1px;
}

.hamburger__line--2 {
  top: 10px;
}

.hamburger__line--3 {
  top: 20px;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 11px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 11px;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
  position: fixed;
  right: -100%;
  /*ハンバーガーがクリックされる前はWindow右側に隠す*/
  top: 0;
  padding: 30px;
  width: 40%;
  /* 出てくるスライドメニューの幅 */
  height: 100vh;
  background-color: #fff;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto;
  line-height: 40px;
  letter-spacing: 0.2rem;
  font-size: 8px;
  /* メニューが多くなったらスクロールできるように */
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  right: 0;
}


/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}
/*/end-hamburger*/


/*/自動スライド*/
/*/1枚表示させたい時間=a秒,切り替え時間=b秒,画像の数=c枚,画像の順＝n番目-->*/
ul{
  list-style: none;
  position: relative;
  margin-left: 0%;
  margin-right: 0%;
}
.autophoto{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
img{
  display: block;
  max-width: 100%;
  height: auto;
}
.autophoto{
  animation: slide 17s infinite;/* (a+b)×c=x (スライド 一周にかかる時間）*/
  opacity: 0;
}
@keyframes slide{
  0%{opacity: 0;}
  12.5%{opacity: 1;z-index: 1;}/* b÷x×100=y ここの2個目の%は切り替え時間の割合*/
  25%{opacity: 1;}/* 100÷c=z ここの3個目の%は1つ目のスライド終了の割合*/
  37.5%{opacity: 0;z-index: 0;}/* y+z */
}
ul:hover .autophoto{
  animation-play-state:paused;/* マウスを載せると一時停止 */
}
.autophoto:first-child{
  position:relative;
}
/*/自動スライドend*/  



section{
  padding:30px;
}
dt {
  font-weight: 520;
    font-size: 10px;
    padding: 8px;
    margin-left: 1.5%;
}
dd {
    font-size: 9px;
    margin-left: 5%;
    padding: 2px;
    letter-spacing: 0.7px;
    line-height: 12px;
}

section:nth-child(2n){
  background:#fff;
}



#page-link{
  display: flex;
  justify-content: center;
  padding: 20px;
}

#page-link li{
  list-style: none;
}

#page-link li a{
  color: #333;
  padding:0 50px;
  text-decoration: none;
}

#page-link li a::before{
  content:'▼';
  font-size:20px;
  padding:0 30px 0 0;
  color: #ccc;
}




#page-top a {
  text-decoration: none;
  background:#fff;
  color:rgb(37, 35, 35);
  text-align: center;
  letter-spacing: 0.2rem;
  font-size: 0.7rem;
  margin-top: 2rem;
  cursor: pointer;
  display: block;
  padding:10px;
  transition: background-color .2s;
}
p {
  display: block;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

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

body{
  background-color: #fff;
  margin: 10px 10px 10px 10px;
}


small{
  font-size: 3px;
  background:#333;
  color:#fff;
  display: block;
  padding-bottom: 5px;
  text-align: right;
  padding:15px;
}
#footer{
  position: relative;
  z-index: 2;
  margin-left: 20%;
  margin-right: 20%;
}
html {
  scroll-behavior: smooth;
  font-family: "メイリオ","ヒラギノ角ゴ ProN W3,Hiragino Kaku Gothic Pro";
}


