@charset "utf-8";


html {
  font-size: 16px;
}

ol,
ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

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


h2 {
  font-size: 1.5rem;
  margin: 0;
  /* 上下のマージンをリセット */
  padding: 0;
  /* 上下のパディングもリセット（必要に応じて） */
}

h3 {
  margin: 0px;
}

body {
  font-family: "Zen Maru Gothic", serif;
  font-size: 1rem;
  color: #707070;
  line-height: 1;
  background-color: #ffffff;
}

img {
  max-width: 100%;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}


.info-sns-icon-list {
  text-align: center;
  padding-bottom: 40px;
  margin: auto;
  padding-left: 0;
}


/* PC版ヘッダー */

.header__inner {
  max-width: 1200px;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}


.header__logo {
  display: block;
  width: 160px;
  padding-top: 60px;
  min-width: 160px;
}

.header__logo:hover {
  opacity: 1;
}


/* PC版メニュー */
#menu {
  position: static;
  right: 0;
  width: auto;
  height: auto;
  background-color: transparent;
  color: black;
  display: flex;
  justify-content: space-around;
  padding: 0;
  transition: none;
}

#menu ul {
  display: flex;
  list-style: none;
}

#menu ul li {
  margin-left: 20px;
  margin-right: 20px;
}

#menu ul li a {
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}


#menu ul li a::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #000000;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}

#menu ul li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}


/* お問い合わせのボタン */
.contact-button {
  color: #FFFFFF;
  font-weight: bold;
  background-color: #000000;
  border-radius: 60px;
  padding: 15px 30px;
  text-align: center;
  vertical-align: middle;
  transition: background-color 0.3s ease;
}

.contact-button a {
  display: block;
}

.contact-button:hover {
  opacity: 1;
  background-color: #3F811B;
}


/* PC版メニュー_ボタンのスタイルを調整 */
#open__menu__button {
  display: none;
  cursor: pointer;
}

#close__menu__button {
  display: none;
  cursor: pointer;
}

.spmenu__logo,
.spmenu__sns,
.spmenu__mail {
  display: none;
}


/* デフォルトの追従ボタン */
/* 追従ボタンの基本スタイル */
.backToTop {
  position: fixed;
  top: 500px; /* ページの上からの距離 */
  right: 10px; /* ページの右からの距離 */
  width: 175px; /* ボタンの幅 */
  height: 196px; /* ボタンの高さ */
  cursor: pointer;
  display: block; /* 常に表示 */
  z-index: 9999;
}

/* before（クリック前）の背景画像 */
.backToTop::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('/assets/image/common/follow_button.png'); /* before画像のパス */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
  opacity: 1;
}

/* after（クリック後）の背景画像 */
.backToTop.after::before {
  background-image: url('/assets/image/common/follow_button_back.png'); /* after画像のパス */
  opacity: 1;
}


.backToTop a:hover {
  opacity: 1;
}


/* PC版フッター */

.footer {
  color: #000000;
  background-color: #FFFFFF;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.footer__logo {
  text-align: center;
  padding-bottom: 30px;
  width: 160px;
  height: 111px;
}

.footer__container-info {
  margin-bottom: 24px;
}

.footer__info__mail {
  font-size: 1rem;
  color: #707070;
  padding: 0;
  margin: 0;
}

.copyright {
  font-size: 0.75rem;
  /* 12px */
  color: #707070;
  padding-bottom: 30px;
}

.footer__bg {
  background-color: #98D37C;
  width: 100%;
  height: 45px;
}


.footer__info__mail {
  padding-top: 20px;
  font-size: 1rem;
  color: #707070;
}


/* ここからレスポンシブ */

@media(max-width:960px) {

  /* タブレット・スマホ版ではホバー時の動き・変形を解除 */

  #menu ul li a::after {
    transform: none;
    transition: none;
    background: none;
  }

  #menu ul li a:hover::after {
    transform: none;
    background: none;
  }


  /* レスポンシブヘッダーメニュー */
  .header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .header__inner {
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
  }

  .header__logo {
    padding-top: 0px;
  }

  .header__logo:hover {
    opacity: 1;
  }


  #menu {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面外（右側）に配置 */
    width: 375px;
    height: 100%;
    background-color: #F9FFC7;
    color: #000000;
    z-index: 9999999;
    padding: 20px;
    box-sizing: border-box;
    flex-direction: column;
    transition: right 0.3s ease;
  }

  /* openクラスが追加された時にスライドイン */
  #menu.open {
    right: 0;
  }

  .contact-button {
    width: 200px;
    margin: 0 auto;
  }


  ul.menu-list {
    padding: 0px;
  }

  #open__menu__button {
    display: block;
    position: absolute;
    right: 20px;
    /* ボタンを右寄せ */
    top: 50%;
    transform: translateY(-50%);
    /* ボタンを垂直中央に配置 */
    width: 70px;
    height: 70px;
  }

  #close__menu__button {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
  }

  /* レスポンシブメニュー内の指示 */

  #menu ul {
    list-style: none;
    display: block;
    text-align: center;
  }

  #menu ul li {
    padding: 20px 0;
    font-size: 1.3rem;
    text-align: center;
  }

  #menu li a {
    color: #000000;
    text-decoration: none;
  }

  .spmenu__logo {
    max-width: 100%;
    /* 画像がリストアイテムの幅に収まるようにする */
    height: auto;
    /* 画像の高さは自動調整 */
    display: block;
    /* 画像をブロック要素として扱う */
  }

  .spmenu__logo:hover {
    opacity: 1;
  }

  .spmenu__logo img {
    padding-bottom: 10px;
    width: 160px;
    height: 111px;
  }


  .spmenu__sns {
    display: block;
    text-align: center;
  }

  .Instagram__logo {
    margin-right: 20px;
  }

  .spmenu__mail {
    display: block;
    text-align: center;
    padding-top: 40px;
    font-size: 0.5rem;
    color: #707070;
  }


  /* デフォルトの追従ボタン */
  /* 追従ボタンの基本スタイル */
  .backToTop {
    width: 108px; /* ボタンの幅 */
    height: 121px; /* ボタンの高さ */
  }

  /* before（クリック前）の背景画像 */
  .backToTop::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('/assets/image/common/follow_button.png'); /* before画像のパス */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
    opacity: 1;
  }

  /* レスポンシブフッター */

  .footer {
    padding-top: 0px;
  }

  .footer__logo {
    margin-top: 60px;
    text-align: center;
  }

  .copyright {
    font-size: 0.75rem;
    /* 12px */
    color: #707070;
    margin-top: 50px;
  }

}

@media(max-width:375px) {
  .backToTop::before {
    display: none;
  }
}
