@charset "utf-8";
/*-----------------------------------------------------------------------------------------
    ヘッダー
-----------------------------------------------------------------------------------------*/
#header {
  /* 旧サイトCSS側の #header { position: fixed; ... } が上書きしていた最終値に統合 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 8200;
  margin: auto;
  max-width: 1440px;
}

.header__logo {
  position: fixed;
  left: 50px;
  top: 50px;
  z-index: 100;
}

.header__logo.is-on {
  top: -50px;
}

.js-menu {
  position: fixed;
  right: 25px;
  top: 25px;
  padding: 25px;
  z-index: 102;
}

.header__menu {
  width: 25px;
  height: 25px;
  background-image: url(../img/menu_btn_on.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 25px 25px;
  cursor: pointer;
}

.header__menu div {
  transform: rotate(-90deg);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

.header__menu.is-on div {
  transform: rotate(0);
}

.header__menu::after {
  content: "MENU";
  font-size: 10px;
  font-family: 'Suwannaphum', 'Noto Sans JP', Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  display: block;
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  text-align: center;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

.header__menu.is-on::after {
  opacity: 0;
}

/* ===== &E サイト（body.site--e）の白帯ヘッダー（2026-10-05）=====
   画面上部に固定した白い帯（PC 60px / SP 45px）。ロゴは左、MENU ボタンは右で縦中央。
   コーポレートサイト（body.site--corporate）は従来の透明ヘッダーのまま。
   帯の高さは 04_home.css の FV の位置（margin-top / 高さ）と合わせること */
.site--e #header {
  max-width: none;
  height: 60px;
  background-color: #ffffff;
  z-index: 100; /* 重なり順: ヘッダー帯 100 < 開いたメニュー .modalMenu 101 < MENU ボタン .js-menu 102 */
}

.site--e .header__logo {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 0;
}

.site--e .header__logo img {
  width: 130px;
  height: auto;
}

.site--e .js-menu {
  /* header.php で #header の外に置いている。帯（60px）の縦中央に合わせる */
  position: fixed;
  right: 50px;
  top: 30px;
  transform: translateY(-50%);
  padding: 10px 0;
  z-index: 102;
}

/* 「MENU」の文字をアイコンの左に横並び（従来はアイコンの下） */
.site--e .header__menu {
  /* 従来どおり「3 点（背景）＋ 2 点（内側の画像、閉時は 90° 回転）」の重ね合わせでアイコンを作る。
     背景の 3 点は右端（内側の 25px の div と同じ位置）に置く */
  display: flex;
  align-items: center;
  gap: 14px;
  width: auto;
  height: 25px;
  background-position: 100% 50%;
}

.site--e .header__menu::after {
  content: none;
}

.site--e .header__menu::before {
  content: "MENU";
  order: -1;
  font-size: 10px;
  font-family: 'Suwannaphum', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.site--e .header__menu.is-on::before {
  opacity: 0;
}

.site--e .header__menu div {
  width: 25px;
  height: 25px;
}

.site--e .header__menu img {
  display: block;
  width: 25px;
  height: 25px;
}

@media (max-width: 768px) {
  .header__logo {
    left: 25px;
    top: 25px;
  }

  .header__logo img {
    width: 110px;
  }

  .js-menu {
    position: fixed;
    right: 0;
    top: 0;
  }
}


.modalMenu {
  /* PC は幅 450px（2026-10-08: 画面の半分から変更。右の余白が広すぎ、13 インチ MacBook ではスクロールが必要だったため）*/
  position: fixed;
  right: -450px;
  top: 0;
  width: 450px;
  height: 100%;
  background-color: #F2E2DE;
  z-index: 101;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

.modalMenu.is-on {
  right: 0;
}

.modalMenu__list {
  position: relative;
  overflow-y: auto;
  height: 100%;
  padding: 70px 40px 30px 90px; /* 14 項目が高さ 700px 以内に収まる余白（13 インチ MacBook のブラウザ、高さ 665px でもスクロール不要） */
  font-family: 'Suwannaphum', 'Noto Sans JP', Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

.modalMenu__list a {
  color: #000000;
  text-decoration: none;
}

@media (min-width: 767px) {
  .modalMenu__list a:hover {
    color: #575757;
  }
}

.modalMenu__list li {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.1;
}

.modalMenu__list li:first-child {
  margin-top: 0;
}

/* 「JOIN &E（会員登録）」の丸かっこ内の補足 */
.modalMenu__note {
  margin-left: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
}

/* 「JOIN &E」以降のブロックを空けて区切る */
.modalMenu__list li.parag {
  margin-top: 44px;
}

.modalMenu__list .comming {
  color: #A79E9B;
}

.modalMenu__list .comming a {
  color: #A79E9B;
}

@media (max-width: 767px) {
  .modalMenu {
    width: 100%;
    right: -100%;
    overflow: auto;
  }

  .site--e #header {
    height: 45px;
  }

  .site--e .header__logo {
    left: 20px;
  }

  .site--e .header__logo img {
    width: 110px;
  }

  .site--e .js-menu {
    right: 20px;
    top: 22.5px; /* 帯 45px の縦中央 */
  }

  .site--e .header__menu::before {
    content: none; /* SP はアイコンのみ */
  }

  /* SP でメニュー表示中はロゴを隠す（コーポレートの透明ヘッダー向け。&E の白帯ヘッダーではロゴを出したままにする） */
  body.is-menu-open .header__logo {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .modalMenu::after {
    display: none;
  }

  .modalMenu__list {
    padding: 64px 30px 50px 52px;
  }

  .modalMenu__list li {
    margin-top: 16px;
    font-size: 18px;
  }

  .modalMenu__note {
    font-size: 11px;
  }

  .modalMenu__list li.parag {
    margin-top: 44px;
  }
}



