@charset "utf-8";
/* CSS Document */
html {
  font-size: 62.5%;
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #333;
  font-family: 'Lobster Two', cursive;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
}
.square {
  width: 220px;
  height: 100%;
  background-color: rgba(153, 153, 153, 0.5);
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
}
#header__navigation {
  padding-top: 230px;
}
#header__navigation ul li {
  text-align: left;
  line-height: 40px;
}
#header__navigation ul li a {
  text-decoration: none;
  color: #FFF;
  padding-left: 30px;
}
/* navigation */
.open-button, .close-button {
  display: none;
}
.footer {
  position: relative;
  padding-top: 220px;
}
.footer__site-map ul {
  display: flex;
  border-top: solid #c5c5c5 1px;
  padding-top: 80px;
  justify-content: flex-end;
  padding-right: 100px;
}
.footer__site-map ul li {
  margin-right: 35px;
}
.footer__site-map ul li a {
  text-decoration: none;
  color: #c5c5c5;
  font-size: 25px;
}
.footer__site-map__2 ul {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  padding-right: 100px;
}
.footer__site-map__2 ul li {
  margin-right: 35px;
}
.footer__site-map__2 ul li a {
  text-decoration: none;
  color: #c5c5c5;
  font-size: 25px;
}
.footer-copyright {
  display: block;
  color: #c5c5c5;
  text-align: right;
  padding: 40px 135px 100px 0;
}
@media(max-width:950px) {
  #header__navigation {
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position: fixed;
    z-index: -1;
    opacity: 0; /*はじめは透過0*/
    /*ナビの位置と形状*/
    top: 0;
    width: 100%;
    height: 100vh; /*ナビの高さ*/
    background: rgba(197, 197, 197, 0.9);
    /*動き*/
    transition: all 0.3s;
    padding-top: 0;
    transform: translateY(-100%);
    pointer-events: auto;
  }
  #header__navigation.panelactive {
    opacity: 1;
    z-index: 999;
    transform: translateY(0);
  }
  .panelactive {
    opacity: 1;
    z-index: 999;
  }
  /*ナビゲーションの縦スクロール*/
  #header__navigation.panelactive #header__navigation-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #header__navigation ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #header__navigation.panelactive ul {
    display: block;
  }
  #header__navigation li {
    list-style: none;
    text-align: center;
  }
  #header__navigation ul li a {
    padding-left: 0;
    font-size: 20px;
    width: 300px;
    margin: 0 auto;
    font-weight: 400;
  }
  #header__navigation ul li {
    text-align: center;
  }
  #header__navigation li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }
  .open-button {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: block;
    background-color: rgba(197, 197, 197, 0.5);
    background-size: 60px;
  }
  /*×に変化*/
  .open-button span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 10px;
    height: 3px;
    background-color: #FFF;
    width: 60%;
  }
  .open-button span:nth-of-type(1) {
    top: 15px;
  }
  .open-button span:nth-of-type(2) {
    top: 23px;
  }
  .open-button span:nth-of-type(3) {
    top: 31px;
  }
  .open-button.active span:nth-of-type(1) {
    top: 18px;
    left: 12px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }
  .open-button.active span:nth-of-type(2) {
    opacity: 0;
  }
  .open-button.active span:nth-of-type(3) {
    top: 30px;
    left: 12px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }
  .square {
    background: none;
    pointer-events: none;
  }
  /* footer */
  .footer {
    padding-top: 200px;
    z-index: 10000;
  }
  .footer__site-map ul {
    padding-right: 0;
  }
  .footer__site-map__2 ul {
    padding-right: 0;
  }
  .footer-copyright {
    padding: 30px 35px 40px 0;
  }
}
@media(max-width: 590px) {
  .footer {
    padding-top: 0;
  }
  .footer__site-map ul {
    padding-top: 60px;
  }
  .footer__site-map ul li {
    margin-right: 20px;
  }
  .footer__site-map ul li a {
    font-size: 18px;
  }
  .footer__site-map__2 ul li {
    margin-right: 20px;
  }
  .footer__site-map__2 ul li a {
    font-size: 18px;
  }
  .footer-copyright {
    font-size: 12px;
    padding: 20px 20px 40px 0;
  }
}
@media(max-width: 370px) {
  .footer__site-map ul li a {
    font-size: 15px;
  }
  .footer__site-map__2 ul li a {
    font-size: 15px;
  }
  .footer-copyright {
    font-size: 10px;
  }
}