@charset "utf-8";

/* ここからリセットcss */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  /* 要素の余白を無くす */
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
  /* リストの行頭のアイコンを非表示 */
}

a {
  color: inherit;
  /* 文字の色は親要素と同じカラー */
  text-decoration: none;
  /* テキストの下線を非表示にする */

}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #332405;
  line-height: 1;
  background-color: #fff;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  /* 画面の高さを最低保証 */
  padding-top: 136px;

}

h2 {

  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 48px;
  margin-bottom: 32px;
  color: #332405;
}

h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  margin-bottom: 16px;
}





img {
  max-width: 100%;
}


/* ボタンのデザイン */
.btn-more {
  display: inline-block;
  width: 160px;
  padding: 10px 10px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  margin-top: 24px;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
}





.button-area {
  display: flex;
  justify-content: center;
  /* 水平方向の中央揃え */
  margin-top: 40px;
}



.black_btn img {
  background: #332405;
}

.black_btn img:hover {
  opacity: 0.5;
  transition: 0.3s;
}


/*-------------------ここまでリセットcss------------------- */

main {
  padding-top: 20px;
  /* ヘッダーとの隙間を少し空ける */
  padding-bottom: 0px;
  /* フッターとの隙間を空ける */
}

.sub_header_site_menu {
  display: none;
}

.brown_btn {
  color: #332405;
}

/* マウスを乗せた時の色 */
.brown_btn:hover {
  color: #C39C89;
}

.red_btn {
  color: #FF0000;
}

/* マウスを乗せた時の色 */
.red_btn:hover {
  color: #ff7b7b;
  border-bottom: solid #ff7b7b 1px;
}

.white_btn {
  display: inline-block;
  width: 160px;
  padding: 10px 10px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  margin-top: 24px;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;

}

/* マウスを乗せた時の色 */
.white_btn:hover {
  display: inline-block;
  width: 160px;
  padding: 10px 10px;
  border: 1px solid #C39C89;
  color: #C39C89;

}





/*-------------------ここからヘッター------------------- */
.header_logo {
  display: block;
  width: 264px;
}


/* メニュー全体の幅を100%にして、中の要素を等分する */
.site_menu ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.site_menu ul li {
  font-size: 16px;
  font-weight: 700;
}

/* 各メニュー項目の横幅を完全に等分する */
.nav-item {
  flex: 1;
  text-align: center;
  position: relative;
  /* 縦線の基準位置にする */
}

/* 文字と文字の間だけに縦線を入れる（最後の項目以外） */
.nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 2px;
  /* 線の太さ */
  height: 14px;
  /* 線の高さ（文字サイズに合わせて適宜調整） */
  background-color: #332405;
  /* 線の色（文字色に合わせると綺麗です） */
}

/* リンクエリアを広げてタップしやすくする */
.nav-item a {
  display: block;
  padding: 10px 0;
  /* 上下の余白（お好みで調整） */
  text-decoration: none;
  color: #332405;
  /* 文字色 */
}


.btn_mypage {
  background: #E7B09F;
  color: white;
  border: none;
  padding: 4px 16px;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  box-shadow:
    0 0 0 3px #EEE2D3,
    0 0 0 6px #E7B09F,
    0 5px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  position: relative;
  top: 0;
  width: 128px;
  text-align: center;


  &:hover {
    background: #EEE2D3;
    box-shadow:
      0 0 0 4px #EEE2D3;
    top: 2px;
  }

  &:active {
    top: 4px;
    box-shadow:
      0 0 0 3px #EEE2D3,
      0 0 0 6px #EEE2D3,
      0 4px 8px rgba(0, 0, 0, 0.15);
  }

}

.btn_mypage a {
  color: #fff;
  font-size: 16px;
}

.btn_New_member {
  background: #C39C89;
  color: white;
  border: none;
  padding: 4px 16px;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  box-shadow:
    0 0 0 3px #EEE2D3,
    0 0 0 6px #C39C89,
    0 5px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  position: relative;
  top: 0;
  width: 128px;
  text-align: center;


  &:hover {
    background: #EEE2D3;
    box-shadow:
      0 0 0 4px #EEE2D3;
    top: 2px;
  }

  &:active {
    top: 4px;
    box-shadow:
      0 0 0 3px #EEE2D3,
      0 0 0 6px #EEE2D3,
      0 4px 8px rgba(0, 0, 0, 0.15);
  }

}

.btn_New_member a {
  color: #fff;
  font-size: 14px;

}

.header_center_menu {
  height: 100%;
  display: flex;
  align-items: flex-end;
  /* 中身を一番下に寄せる */
}

.header_center_container {
  width: 784px;
  /* 追加・修正部分 */
}


.header_right_menu {
  display: flex;
  flex-direction: column;
  width: 288px;
  height: 96px;
  justify-content: flex-end;
  align-content: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.icon_sns {
  display: flex;
  align-content: flex-end;
  justify-content: flex-end;
}

.Member_registration ul {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 16px;
}

.icon_sns img {
  height: 32px;
}

.icon_sns ul {
  display: flex;
  gap: 20px;
}


.header_inner {
  display: flex;
  max-width: 1440px;
  width: 100%;
  /* 幅を確保 */
  margin: 0 auto;

  justify-content: space-between;
  align-items: flex-end;
  z-index: 200;

}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 136px;
  z-index: 1000;
  background-color: #fff;
  /* 背景がないと透けてしまうため */
}

/* 2. ヘッダーの中身のクラスからは fixed を外すか、そのまま継承させる */
.header_container {
  width: 100%;
  /* position: fixed; は不要（親の.headerで制御するため） */
  box-shadow: 0px 0px 6px rgba(51, 36, 5, 0.2);
  height: 136px;
}


/* 4. ラッパーで全体をFlexbox化してフッターを制御 */
.wrapper {
  flex: 1;
  /* これによりmainが伸びてフッターを下部に押し出す */
  display: flex;
  flex-direction: column;
}


.openbtn {
  display: none;
}


/*-------------------ここまでへッター------------------- */


/*-------------------ここからフッター------------------- */


.footer_right_menu {
  display: flex;
  width: 100%;
  justify-content: center;
  /* outline: #1a9671 solid; */
  margin-left: 64px;
}

.footer_left_menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* outline: #1a9671 solid; */
}

.footer_about ul {
  display: flex;
  width: 184px;
  flex-direction: column;
  /* outline: #332405 solid; */
  gap: 24px;
  font-size: 16px;
}

.footer .icon_sns {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;

}


.footer_title {
  font-weight: 700;
  font-size: 16px;
}


.footer_top {
  /* outline: #9b8964 solid; */
  display: flex;
  max-width: 1440px;
  width: 100%;
  /* 幅を確保 */
  margin: 0 auto;
  align-items: center;
  z-index: 20;
  margin-bottom: 80px;
}

.footer_bottom {
  text-align: center;
}

.footer {
  padding: 80px 0 40px 0;
  /* 高さは内側の余白で確保する */
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #EEE2D3;

}


/*-------------------ここまでフッター------------------- */


/* -------------------ここからレシポンシブサイズ */
@media (max-width:800px) {



  html,
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    /* スマホの横揺れを完全に防ぐ */

  }

  /* 3. bodyに対してpadding-topを適用 */
  body {
    padding-top: 80px;
    /* ヘッダーの高さ分、コンテンツを下にずらす */
    min-height: 100vh;
    margin: 0;
    /* 既存の記述に追加 */
    overflow-x: hidden;
    width: 100%;

  }

  .button-area {
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
    margin-top: 16px;
  }



  /*-------------------ここからヘッター------------------- */
  .header_logo {
    display: flex;
    width: 132px;
    margin-left: 16px;
    /* ← この行を追加（数値はお好みで調整してください） */
    margin-top: 8px;
  }


  /* 各メニュー項目の横幅を完全に等分する */
  .nav-item {
    display: none;
  }

  /* 文字と文字の間だけに縦線を入れる（最後の項目以外） */
  .nav-item:not(:last-child)::after {
    display: none;
  }

  /* リンクエリアを広げてタップしやすくする */

  .btn_mypage {
    display: none;
  }


  .btn_New_member {
    display: none;
  }


  .header_center_menu {
    display: none;
  }

  .header_center_container {
    display: none;
  }


  .header_right_menu {
    display: none;
  }

  .icon_sns {
    display: none;
  }


  .icon_sns img {
    height: 24px;
  }

  .icon_sns ul {
    display: flex;
    gap: 20px;
  }


  .header_inner {
    display: flex;
    width: 100%;
    /* 幅を確保 */
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: #fff;
    /* 背景がないと透けてしまうため */
  }

  /* 2. ヘッダーの中身のクラスからは fixed を外すか、そのまま継承させる */
  .header_container {
    width: 100%;
    /* position: fixed; は不要（親の.headerで制御するため） */
    box-shadow: 0px 0px 6px rgba(51, 36, 5, 0.2);
    height: 80px;
  }




  /* 4. ラッパーで全体をFlexbox化してフッターを制御 */
  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
    /* ヘッダー分を引いた高さを保証 */
  }




  /*-------------------ここまでへッター------------------- */



  /* ここからハンバーガーメニュー */



  .sub_header_site_menu.is-show {
    display: flex !important;
    /* JSでクラスが付いたら強制的に表示 */
    flex-direction: column;
    /* 縦並びに変更 */
    align-items: center;
    /* 中央揃えにする */
    justify-content: center;
    /* メニュー全体を上下中央に配置したい場合 */
    text-align: center;

  }

  .sub_header_site_menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 35vh;
    background-image: url(../img/index/index_FV_05.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    /* コンテナ全体をカバー */
    background-position: center;
    /* 位置調整 */
    padding-bottom: 48px;
    display: none;
    background-color: #fff;

  }



  .sub_header_site_menu ul li a {
    color: #332405;
    text-align: center;
    /* 念のためli内のテキストも中央へ */
  }

  .sub_header_site_menu ul li {
    padding-top: 24px;
  }


  .sub_header_site_menu ul {
    flex-direction: column;
    /* 縦並びに変更 */
    align-items: center;
    /* 中央揃えにする */
    justify-content: center;
    /* メニュー全体を上下中央に配置したい場合 */
    width: 100%;
    /* 親要素の幅いっぱいに広げる */
    gap: 20px;
    /* メニュー同士の間隔 */


  }









  /* ここまでハンバーガーメニュー */




  /* ここからハンバーガーメニュー */
  .openbtn {
    display: flex;
    /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
    /* background: #4C9F1E; */
    cursor: pointer;
    width: 48px;
    height: 48px;
    /* ↓右上に固定↓ */
    position: fixed;
    right: 16px;
    top: 16px;
    z-index: 300;
  }

  .openbtn span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #332405;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  /*activeクラスが付与されると1・3番目の要素が2番目の要素と同じ位置になり一本線に*/

  .openbtn.active span:nth-of-type(1),
  .openbtn.active span:nth-of-type(3) {
    top: 23px;
    background-color: #332405;
  }

  /* ここまでハンバーガーメニュー */

  .header_center_menu {
    display: none;
  }

  .header_right_menu {
    display: none;
  }




  /*-------------------ここからフッター------------------- */


  .footer_title_sub {
    display: none;
  }

  .footer_right_menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 24px 0 24px 0;
    gap: 24px;

  }

  .footer_left_menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* outline: #1a9671 solid; */
    justify-content: center;
    margin-top: 0px;
  }



  .footer_about ul {
    display: flex;
    width: 184px;
    flex-direction: column;
    /* outline: #332405 solid; */
    gap: 36px;
    font-size: 16px;
  }

  .footer .icon_sns {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;

  }


  .footer_title {
    font-weight: 700;
    font-size: 16px;
  }


  .footer_top {
    /* outline: #9b8964 solid; */
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 100%;
    /* 幅を確保 */
    margin: 0 auto;
    align-items: center;
    z-index: 20;
    margin-bottom: 20px;
  }

  .footer_bottom {
    text-align: center;
  }

  .footer {
    padding: 40px 0;
    /* 必要な余白を上下に指定 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #EEE2D3;
  }

  .footer_top {
    flex-direction: column;
    padding: 0 20px;
    /* 画面端に余白を作る */
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
    /* paddingを含めて幅を計算 */
  }

  .footer_right_menu {
    margin-left: 0;
    /* 左余白を消す */
    width: 100%;
  }

  .footer_bottom {
    font-size: 12px;
    overflow-wrap: break-word;
  }

  /*-------------------ここまでフッター------------------- */

}