@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}

body {
  color: #333; /* RGB */
  font-family: "Poppins", '游ゴシック体', 'YuGothic', '游ゴシック', 'Yu Gothic', sans-serif;
  font-weight: 400;
  font-size: 1.8em;
  line-height: 3.0rem;
  text-align: left;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
}

a:hover {
  opacity: 0.5;
  transition: all 0.3s;
}

.none {
  display: none;
}

p {
  letter-spacing: 0.16rem;
}

/* header */
header {
  width: 100%;
  margin: 0 auto;
  height: 80px;
  justify-content: center;
  align-items: center;
  position: fixed;
  /* background-color: rgba(255,255,255,0.2); */
  z-index: 9999; 
}

.head-box {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
}

header ul {
  display: flex;
  align-items: center;
  height: 80px;
}

header ul li {
  padding-left: 40px;
}

header ul li:first-child {
  padding-left: 0px;
}

header ul li img {
  margin-top: 5px;
}

header button {
  display: none;
}

header a {
  display: block;
  text-decoration: none;
  color: #333;
  margin-right: auto;
  transition: ease .2s;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

header img {
    width: 35px;
}

.gnav {
    display: flex;
    margin: 0 auto;
}

.note {
  width: 40px;
}


@media (max-width:960px){ 
  header {
    width: 100%;
    height: 80px;
    padding: 0px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .head-box {
    max-width: 960px;
    padding: 0 25px;
    margin: 0 auto;
    display: flex;
    width: 100%;
  }

  /* ボタンの中身 */
  .gnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255,255,255,1);
    display: none;
    z-index: 9990;
  }

  .gnav-box{
    display: block;
  }

  .gnav ul {
    display: block;
    padding-top: 80px;
  }
  
  .gnav ul li {
    text-align: justify;
    margin: 10px;
    padding-left: 50px;
  }

  header ul li:first-child {
    padding-left: 50px;
  }

  header ul li img {
    padding-top: 0;
  }

  .gnav ul li:before {
    display: none;
  }
  
  .gnav ul li a {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    display: block;
    padding:18px 20px 18px 20px;/*カーソル範囲*/
    transition: ease .1s;
  }

  .gnav ul li a img {
    width: 30px;
    height: 30px;
  }

  .gnav ul li:nth-child(7),
  .gnav ul li:nth-child(8),
  .gnav ul li:nth-child(9) {
    display: inline-block; /* 6番目と7番目のliを横並びにする */  
    margin: 10px;
  }

  .gnav ul li:nth-child(8),
  .gnav ul li:nth-child(9) {
    padding-left: 0;
  }

  /* ボタンの中身  ここまで*/

  header button {
    display: block;
  }

  /*ハンバーガーボタン*/
  .openbtn1{
    position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    cursor: pointer;
    width: 50px;
    height:2px;
    border-radius: 5px;
    border: none;
    background-color: transparent;
    z-index: 9999;
    padding: 30px;
  }

  .openbtn1:hover {
    opacity: 0.5;
  }

  @media (max-width:500px) {
    .gnav ul li {
      text-align: justify;
      margin: 10px;
      padding-left: 0px;
    }
  
    header ul li:first-child {
      padding-left: 0px;
    }
  }  

/*ボタン内側*/
  .openbtn1 span{
    display: inline-block;
    transition: all .2s;/*アニメーションの設定*/
    position: absolute;
    right: 0px;
    height: 3px;
    border-radius: 2px;
    background: #ff0000;
    width: 100%;
    }

  .openbtn1 span:nth-of-type(1) {
    top:20px; 
  }

  .openbtn1 span:nth-of-type(2) {
    top:40px;
  }

/*activeクラスが付与されると線が回転して×に*/
  .openbtn1.active span:nth-of-type(1) {
    top: 24px;
    right: 0px;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
  }

  .openbtn1.active span:nth-of-type(2) {
    opacity: 0; /* 中央のラインを消す */
  }

  .openbtn1.active span:nth-of-type(3) {
    top: 36px;
    right: 0px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;  
  }
}
/* ハンバーガーボタン ここまで */


/* 共通パーツ */
h2 {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  padding-bottom: 150px;
}

@media (max-width:960px) {
  h2 {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-align: center;
    padding-bottom: 60px;
  }

}

/* footer */
footer {
  /* max-width: 1440px; */
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  background-color: rgba(255, 255, 255, 1);
}

.footer-box {
  padding: 150px 30px 15px;
}

.footer-title {
    font-size: 2.4rem;
    font-weight: 700;
}

.footer-text {
    padding: 40px 0 50px;
    font-size: 1.8rem;
    line-height: 2.8rem;
}

footer ul {
  list-style: none;
  display: flex;
  padding: 0 0 50px 0;
}

footer ul li {
  margin-right: 50px;
}

footer ul li a {
  display: block;
  font-size: 1.8rem;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px; /* 下線を下げる */
  font-weight: 500;
}

footer ul li a img {
  width: 35px;
}

.br_sp {
  display: none;
}

/* copy */
footer small {
  font-size: 1.5rem;
  display: block;
}

@media (max-width:768px) {
  footer {
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
  }
  
  .footer-box {
    padding: 100px 25px 15px;
  }
  
  .footer-title {
      font-size: 1.8rem;
      font-weight: 600;
  }
  
  .footer-text {
      padding: 30px 0 50px;
      font-size: 1.2rem;
      line-height: 2.0rem;
  }
  
  footer ul {
    list-style: none;
    display: flex;
    padding: 0 0 50px 0;
  }
  
  footer ul li {
    margin-right: 42px;
  }
  
  footer ul li a {
    display: block;
    font-size: 1.4rem;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 3px; /* 下線を下げる */
  }
  
  footer ul li a img {
    width: 25px;
  }

  .br_sp {
    display: block;
  }
  
  /* copy */
  footer small {
    font-size: 1rem;
    display: block;
  }
}

/* スクロールしたらふわっと */
.scr-target {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}

.scr-target.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 1s;
}

/* メインビジュアルその場でふわっと */
.fadeIn{
  animation-name:fadeInAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
/* 404 */
.sorry-img-box {
  padding-top: 125px;
  max-width: 1440px;
  margin: 0 auto;
}

.sorry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sorry-img-box img {
  width: 100%;
}

.sorry {
  padding: 50px 0 50px;
}

.sorry  h2 {
  text-align: center;
}

.sorry-nessage  p {
  text-align: center;
  padding: 50px 0;
  color: #111;
}

.sorry-nessage  a {
  color: #333;
}

.sorry-nessage  a :hover {
  color: #fff;
}

@media (max-width:768px) {
  .sorry-img-box {
    padding-top: 60px;
  }
}
