@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

:root {
  --container-width: 1420px;

  --header-bg: rgba(255, 255, 255, 0.96);
  --header-border: rgba(31, 52, 109, 0.08);
  --header-shadow: 0 8px 22px rgba(34, 57, 108, 0.045);

  --menu-text: #3f3e3e;
  --menu-text-hover: #1f1f1f;
  --menu-underline: rgba(53, 87, 183, 0.38);

  /* （--contact-* は旧Contactボタン専用だったため、ハードコードnav化に伴い削除） */

  --footer-bg: #ffffff;
  --footer-border: rgba(31, 52, 109, 0.06);
  --footer-text: #6a7380;
  --footer-text-hover: #2f2f2f;
  --footer-muted: #a8b3c3;

  --transition-fast: 0.22s ease;
  --transition-medium: 0.28s ease;
}

/* =========================
   Header / Footer base
========================= */

html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
}

.site-header *,
.site-footer * {
  box-sizing: border-box;
}

.site-header a,
.site-header button,
.site-footer a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================
   Header
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 14px 0;
  background: transparent;
  transform: translateY(0);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 8px));
}

.site-header.is-menu-open {
  transform: translateY(0);
}

.site-header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  min-height: 66px;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 18px;
  gap: 22px;
  box-shadow: var(--header-shadow);
  transition:
    min-height var(--transition-fast),
    padding var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

.site-header:hover .site-header__inner {
  box-shadow: 0 12px 28px rgba(34, 57, 108, 0.06);
}


/* =========================
   Brand
========================= */

.site-header__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo-link,
.site-footer__logo-link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-header .custom-logo,
.site-footer .custom-logo {
  display: block;
  width: auto;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.site-header .custom-logo {
  max-height: 36px;
}

.site-footer .custom-logo {
  max-height: 32px;
}

.site-header__logo-link:hover .custom-logo,
.site-footer__logo-link:hover .custom-logo,
.custom-logo-link:hover .custom-logo {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* =========================
   Desktop navigation
========================= */

.site-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__menu li {
  margin: 0;
  padding: 0;
}

.site-header__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--menu-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.site-header__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--menu-underline);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
  opacity: 0.9;
}

.site-header__menu li:not(.menu-contact) a:hover {
  color: var(--menu-text-hover);
  transform: translateY(-1px);
}

.site-header__menu li:not(.menu-contact) a:hover::after,
.site-header__menu li.current-menu-item:not(.menu-contact) a::after,
.site-header__menu li.current_page_item:not(.menu-contact) a::after {
  transform: scaleX(1);
}

.site-header__menu li.current-menu-item:not(.menu-contact) a,
.site-header__menu li.current_page_item:not(.menu-contact) a {
  color: var(--menu-text-hover);
}

/* （旧ナビの Contact ボタン CSS は、ハードコードnav化に伴い不要となり削除） */

/* =========================
   Mobile toggle
========================= */

.site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.site-header__toggle:active {
  transform: scale(0.94);
}

.site-header__toggle span {
  position: absolute;
  left: 9px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--menu-text);
  transition:
    transform var(--transition-fast),
    top var(--transition-fast),
    opacity var(--transition-fast),
    background-color var(--transition-fast);
  transform-origin: center;
}

.site-header__toggle span:nth-child(1) {
  top: 13px;
}

.site-header__toggle span:nth-child(2) {
  top: 20px;
}

.site-header__toggle span:nth-child(3) {
  top: 27px;
}

.site-header.is-menu-open .site-header__toggle span:nth-child(1),
.site-header__toggle.is-active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.site-header.is-menu-open .site-header__toggle span:nth-child(2),
.site-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .site-header__toggle span:nth-child(3),
.site-header__toggle.is-active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* =========================
   Mobile menu
========================= */

.mobile-menu {
  display: none;
}

/* （旧ドロワー .mobile-menu__inner / .mobile-menu__list 系 CSS は
   ドロワー刷新(.mobile-menu__panel/__nav/__item)に伴い不要となり削除） */

/* =========================
   Footer
========================= */

.site-footer {
  margin-top: 96px;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.site-footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 42px 18px 38px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.site-footer__left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.site-footer__service {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer__service-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--footer-muted);
  line-height: 1.4;
  letter-spacing: 0.005em;
}

.site-footer__service-link,
.site-footer__menu a {
  font-weight: 500;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.site-footer__service-link {
  font-size: 15px;
  color: var(--footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast);
}

.site-footer__service-link:hover {
  color: var(--footer-text-hover);
}

.site-footer__right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.site-footer__nav {
  width: 100%;
}

.site-footer__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-footer__menu li {
  margin: 0;
  padding: 0;
}

.site-footer__menu a {
  font-size: 15px;
  color: var(--footer-text);
  text-decoration: none;
  line-height: 1.4;
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast);
}

.site-footer__menu a:hover {
  color: var(--footer-text-hover);
}

.site-footer__copyright {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--footer-muted);
  line-height: 1.4;
  text-align: right;
  letter-spacing: 0.005em;
}

/* =========================
   Tablet
========================= */

@media (max-width: 1024px) {
  .site-header {
    position: fixed;
    padding: 8px 10px 0;
  }

  .site-header__inner {
    min-height: 60px;
    padding: 0 16px 0 14px;
    gap: 14px;
  }


  .site-header .custom-logo {
    max-height: 32px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--transition-fast),
      visibility var(--transition-fast),
      transform var(--transition-fast);
  }

  .site-header.is-menu-open .mobile-menu,
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* メニュー表示中の背景スクリム。ほんの少し背景を沈めて集中感を上げる(軽さは維持)。
     ヘッダー(z-index:1000)より下・本文より上に置くので、ロゴバーとメニューカードは前面のまま。
     pointer-events:none＝既存の閉じ挙動(×/リンク/Esc/トグル)に干渉しない。 */
  body.is-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(13, 27, 42, 0.12);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
    pointer-events: none;
  }

  .site-footer {
    margin-top: 72px;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 32px;
    padding: 36px 16px 34px;
  }

  .site-footer__right {
    width: 100%;
    align-items: flex-start;
    gap: 20px;
  }

  .site-footer__menu {
    justify-content: flex-start;
    gap: 22px;
  }

  .site-footer__copyright {
    text-align: left;
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 767px) {
  .site-header {
    position: fixed;
    padding: 8px 8px 0;
  }

  .site-header__inner {
    min-height: 56px;
    padding: 0 14px;
    gap: 12px;
  }


  .site-header .custom-logo {
    max-height: 30px;
  }

  .site-header__toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    left: 8px;
    right: 8px;
    top: calc(100% + 11px); /* ロゴカードとメニューカードの間隔を少しだけ広げる(8→11px) */
  }

  .site-footer {
    margin-top: 60px;
  }

  .site-footer__inner {
    padding: 32px 14px 28px;
    gap: 28px;
  }

  .site-footer__left {
    gap: 18px;
  }

  .site-footer .custom-logo {
    max-height: 28px;
  }

  .site-footer__service {
    gap: 8px;
  }

  .site-footer__service-label {
    font-size: 13px;
  }

  .site-footer__service-link {
    font-size: 14px;
  }

  .site-footer__menu {
    gap: 16px 18px;
  }

  .site-footer__menu a {
    font-size: 14px;
  }

  .site-footer__copyright {
    font-size: 13px;
  }
}

/* =========================
   Mobile Header Capsule Only Fix
========================= */
@media (max-width: 767px) {
  .site-header,
  .site-header#siteHeader,
  .site-header.is-scrolled,
  .site-header.is-menu-open {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header::before,
  .site-header::after,
  .site-header#siteHeader::before,
  .site-header#siteHeader::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header__inner,
  .site-header.is-scrolled .site-header__inner,
  .site-header.is-menu-open .site-header__inner {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(31, 52, 109, 0.08);
    box-shadow: 0 8px 22px rgba(34, 57, 108, 0.045);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* =========================================================
   Global Fixed Header Offset
   固定ヘッダーが本文に被らないように全ページ共通で調整
========================================================= */

:root {
  --bloomy-header-offset: 96px;
}

/* ログイン中のWordPress管理バー分 */
body.admin-bar {
  --bloomy-header-offset: 128px;
}

/* ページ本文の開始位置をヘッダー下に逃がす */
body:not(.home) main,
body:not(.home) .site-main,
body:not(.home) #main,
body:not(.home) .l-mainContent,
body:not(.home) .l-content {
  padding-top: var(--bloomy-header-offset);
}

/* Bloomy独自ページ系 */
body:not(.home) .bloomy-precheckout-page,
body:not(.home) .bloomy-order-view,
body:not(.home) .bloomy-legal-page,
body:not(.home) .bloomy-guide-page,
body:not(.home) .bloomy-policy-page,
body:not(.home) .bloomy-support-page {
  padding-top: calc(var(--bloomy-header-offset) + 24px) !important;
}

/* スマホ時 */
@media (max-width: 768px) {
  :root {
    --bloomy-header-offset: 82px;
  }

  body.admin-bar {
    --bloomy-header-offset: 118px;
  }

  body:not(.home) main,
  body:not(.home) .site-main,
  body:not(.home) #main,
  body:not(.home) .l-mainContent,
  body:not(.home) .l-content {
    padding-top: var(--bloomy-header-offset);
  }

  body:not(.home) .bloomy-precheckout-page,
  body:not(.home) .bloomy-order-view,
  body:not(.home) .bloomy-legal-page,
  body:not(.home) .bloomy-guide-page,
  body:not(.home) .bloomy-policy-page,
  body:not(.home) .bloomy-support-page {
    padding-top: calc(var(--bloomy-header-offset) + 18px) !important;
  }
}
/* =========================================================
   言語切替UI（PC: ヘッダー右ドロップダウン / モバイル: ドロワー内）
   大手予約サイト志向: 白背景・薄ボーダー・角丸・ホバー淡ブルー
   ========================================================= */
.bloomy-lang {
  position: relative;
  flex: 0 0 auto;
}
.bloomy-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e2e8f3;
  border-radius: 999px;
  background: #fff;
  color: #2b3a5b;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bloomy-lang__btn:hover {
  background: #f0f5ff;
  border-color: #c9dcff;
  color: #1f6fff;
}
.bloomy-lang__globe { display: inline-grid; place-items: center; color: #6b7891; }
.bloomy-lang__btn:hover .bloomy-lang__globe { color: #1f6fff; }
.bloomy-lang__current { white-space: nowrap; }
.bloomy-lang__chevron {
  width: 7px; height: 7px;
  border-right: 1.6px solid #9aa6bd;
  border-bottom: 1.6px solid #9aa6bd;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
}
.bloomy-lang__btn[aria-expanded="true"] .bloomy-lang__chevron {
  transform: rotate(-135deg) translateY(-1px);
}
.bloomy-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid #e7ecf5;
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(31, 42, 68, .28);
  padding: 6px;
  z-index: 1300;
}
.bloomy-lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 600;
  color: #2b3a5b;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.bloomy-lang__item:hover { background: #f0f5ff; color: #1f6fff; }
.bloomy-lang__item.is-active { color: #1f6fff; }
.bloomy-lang__check {
  width: 9px; height: 14px;
  border-right: 2px solid #1f6fff;
  border-bottom: 2px solid #1f6fff;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* モバイル: 設定セクション（言語は現在値＋〉の1項目に集約） */
.mobile-menu__settings {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.mobile-menu__settings-title {
  margin: 0 0 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9aa6bd;
}
.mobile-menu__setting {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: 10px;
  font: inherit;
}
.mobile-menu__setting:hover { background: #f6f9ff; }
.mobile-menu__setting-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #5b6b88; /* グレー寄りネイビー(言語設定の地球儀。テキストと縦位置を揃える) */
}
.mobile-menu__setting-icon svg { width: 18px; height: 18px; display: block; }
.mobile-menu__setting-label { font-size: 1.02rem; font-weight: 700; color: #0d1b2a; }
.mobile-menu__setting-value { margin-left: auto; font-size: .95rem; font-weight: 600; color: #5a6a86; }
.mobile-menu__setting-chevron { color: #94a3b8; font-size: 1.2rem; line-height: 1; }

/* モバイル: 言語サブ画面（ドロワー内オーバーレイ・案A） */
.mobile-menu__subpanel {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #fff;
  border-radius: 20px;
  padding: 14px 16px 16px;
  overflow-y: auto;
  animation: bloomyLangPanelIn .18s ease;
}
@keyframes bloomyLangPanelIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.mobile-menu__subback {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 6px 4px;
  color: #5a6a86;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
}
.mobile-menu__subback-arrow { font-size: 1.2rem; line-height: 1; }
.mobile-menu__subtitle {
  margin: 6px 4px 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0d1b2a;
}
.mobile-menu__langlist { display: flex; flex-direction: column; }
.mobile-menu__langrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: .98rem;
  font-weight: 600;
  color: #2b3a5b;
  text-decoration: none;
}
.mobile-menu__langrow:hover { background: #f6f9ff; }
.mobile-menu__langrow.is-active { color: #1f6fff; background: #eef5ff; }
.mobile-menu__langrow-check {
  width: 9px; height: 14px;
  border-right: 2px solid #1f6fff;
  border-bottom: 2px solid #1f6fff;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* PCでは表示、モバイル（≤1024px）はドロワー側に集約するため非表示 */
@media (max-width: 1024px) {
  .bloomy-lang { display: none; }
}

/* =========================================================
   ヘッダー: Googleでログイン ボタン / マイeSIM ドロップダウン
   ========================================================= */
.bloomy-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #e2e8f3;
  border-radius: 999px;
  background: #fff;
  color: #2b3a5b;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.bloomy-google-btn:hover { background: #f0f5ff; border-color: #c9dcff; box-shadow: 0 4px 12px -6px rgba(31,111,255,.4); }
.bloomy-google-btn svg { flex: 0 0 auto; }

.bloomy-account { position: relative; flex: 0 0 auto; }
.bloomy-account__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #e2e8f3;
  border-radius: 999px;
  background: #fff;
  color: #2b3a5b;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bloomy-account__btn:hover { background: #f0f5ff; border-color: #c9dcff; color: #1f6fff; }
.bloomy-account__icon { display: inline-grid; place-items: center; color: #6b7891; }
.bloomy-account__btn:hover .bloomy-account__icon { color: #1f6fff; }
.bloomy-account__chevron {
  width: 7px; height: 7px;
  border-right: 1.6px solid #9aa6bd;
  border-bottom: 1.6px solid #9aa6bd;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
}
.bloomy-account__btn[aria-expanded="true"] .bloomy-account__chevron { transform: rotate(-135deg) translateY(-1px); }
.bloomy-account__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 184px;
  background: #fff;
  border: 1px solid #e7ecf5;
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(31, 42, 68, .28);
  padding: 6px;
  z-index: 1300;
}
.bloomy-account__item {
  display: block;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 600;
  color: #2b3a5b;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.bloomy-account__item:hover { background: #f0f5ff; color: #1f6fff; }
.bloomy-account__item--logout { color: #d05a5a; }
.bloomy-account__item--logout:hover { background: #fdeeee; color: #c0392b; }
.bloomy-account__sep { height: 1px; background: #eef1f7; margin: 5px 6px; }

/* PCのみ表示。モバイル(≤1024px)はドロワーへ集約 */
@media (max-width: 1024px) {
  .bloomy-google-btn,
  .bloomy-account { display: none; }
}

/* =========================================================
   ヘッダー「ログイン」ボタン ＋ ログイン/新規登録モーダル
   ========================================================= */
.bloomy-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #1f6fff;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(31, 111, 255, .55);
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.bloomy-login-btn:hover { background: #1a5fe0; box-shadow: 0 9px 20px -7px rgba(31, 111, 255, .6); }
.bloomy-login-btn:active { transform: translateY(1px); }
.bloomy-login-btn__icon { display: inline-grid; place-items: center; }

/* PCのみ表示。モバイル(≤1024px)はドロワーへ */
@media (max-width: 1024px) {
  .bloomy-login-btn { display: none; }
}

/* ---- モーダル ---- */
.bloomy-login-modal { position: fixed; inset: 0; z-index: 2200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bloomy-login-modal[hidden] { display: none; }
.bloomy-login-modal__overlay { position: absolute; inset: 0; background: rgba(31, 42, 68, .5); backdrop-filter: blur(2px); }
.bloomy-login-modal__box {
  position: relative; width: 100%; max-width: 400px; background: #fff;
  border-radius: 22px; padding: 34px 28px 28px; text-align: center;
  box-shadow: 0 30px 70px -24px rgba(31, 42, 68, .55);
}
.bloomy-login-modal__close {
  position: absolute; top: 12px; right: 14px; border: 0; background: transparent;
  font-size: 1.7rem; line-height: 1; color: #9aa6bd; cursor: pointer;
}
.bloomy-login-modal__flower { display: inline-block; margin-bottom: 6px; }
.bloomy-login-modal__title { font-size: 1.35rem; font-weight: 800; margin: 6px 0 6px; color: #1f2a44; }
.bloomy-login-modal__lead { font-size: .88rem; color: #6b7891; margin: 0 0 22px; line-height: 1.6; }
.bloomy-login-modal__google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 50px; border-radius: 12px; border: 1px solid #e2e8f3;
  background: #fff; color: #2b3a5b; font-size: .95rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(31, 42, 68, .22); transition: background .15s ease;
}
.bloomy-login-modal__google:hover { background: #f7faff; }
.bloomy-login-modal__divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #9aa6bd; font-size: .8rem; }
.bloomy-login-modal__divider::before,
.bloomy-login-modal__divider::after { content: ""; flex: 1; height: 1px; background: #e7ecf5; }
/* 別の方法でログイン（メール/パスは初期折りたたみ。Google主導線を優先） */
.bloomy-login-modal__alt { margin: 16px 0 0; border-top: 1px solid #eef2f8; padding-top: 14px; text-align: center; }
.bloomy-login-modal__alt-summary { cursor: pointer; list-style: none; font-size: .84rem; font-weight: 700; color: #6b7891; }
.bloomy-login-modal__alt-summary::-webkit-details-marker { display: none; }
.bloomy-login-modal__alt-summary:hover { color: #1f6fff; }
.bloomy-login-modal__form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 14px; }
.bloomy-login-modal__field { display: flex; flex-direction: column; gap: 5px; }
.bloomy-login-modal__field span { font-size: .8rem; font-weight: 600; color: #6b7891; }
.bloomy-login-modal__field input {
  height: 46px; border: 1px solid #dbe2ee; border-radius: 11px; padding: 0 14px;
  font-size: .95rem; background: #fbfcfe; transition: border-color .15s ease, background .15s ease;
}
.bloomy-login-modal__field input:focus { outline: none; border-color: #1f6fff; background: #fff; }
.bloomy-login-modal__submit {
  margin-top: 6px; height: 50px; border: 0; border-radius: 12px; background: #1f6fff; color: #fff;
  font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(31, 111, 255, .6);
  transition: background .15s ease;
}
.bloomy-login-modal__submit:hover { background: #1a5fe0; }
.bloomy-login-modal__foot { margin: 18px 0 0; font-size: .85rem; color: #6b7891; }
.bloomy-login-modal__foot a { color: #1f6fff; font-weight: 700; text-decoration: none; }
.bloomy-login-modal__foot a:hover { text-decoration: underline; }
body.bloomy-login-open { overflow: hidden; }

/* =========================================================
   浮遊型ヘッダー 再設計（07_HEADER_STYLE_GUIDE 準拠）
   白半透明 + backdrop blur / 角丸20px / 高さ76→60 / 余白28 / #2563EB
   ========================================================= */
.site-header { padding: 16px 24px 0; }
.site-header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  min-height: 76px;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 20px;
  /* スクロール前: 白いカード感を優先（ヒーローの青が透けて水色に見えないよう不透明寄りに）。
     saturate() は背景の青を強調するため使わない。半透明感は少しだけ残す。 */
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px -10px rgba(13, 27, 42, 0.12);
  padding: 0 28px;
  gap: 20px;
}
.site-header.is-scrolled .site-header__inner {
  /* 色味はほぼ据え置き（スクロール前後で水色⇄白に変わらない）。違いは高さ・影・余白で表現 */
  min-height: 60px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px -12px rgba(13, 27, 42, 0.16);
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header:hover .site-header__inner { box-shadow: 0 10px 28px -12px rgba(13, 27, 42, 0.16); }
/* ヘッダー大型化に合わせ、ロゴを約30%拡大（34→44 / 30→40） */
.site-header .custom-logo { max-height: 44px; transition: max-height .2s ease; }
.site-header.is-scrolled .custom-logo { max-height: 40px; }

/* ナビ（本文 weight 700 / hover で #2563EB 下線） */
.site-header__nav { flex: 1 1 auto; display: flex; justify-content: center; }
.site-header__menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-header__menu li { margin: 0; padding: 0; }
.site-header__menu a {
  position: relative; display: inline-flex; align-items: center; text-decoration: none;
  color: #0D1B2A; font-size: 15px; font-weight: 700; line-height: 1; transition: color .2s ease;
}
.site-header__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 99px;
  background: #2563EB; transform: scaleX(0); transform-origin: center; transition: transform .2s ease;
}
.site-header__menu a:hover { color: #2563EB; }
.site-header__menu a:hover::after { transform: scaleX(1); }

/* アクション群 */
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.site-header__divider { width: 1px; height: 24px; background: #E2E8F0; flex: 0 0 auto; }
.site-header__mobile-actions { display: none; align-items: center; gap: 4px; flex: 0 0 auto; }

/* 言語スイッチャー: やわらかい軽量ピル（白地・薄ボーダー・ネイビーグレー文字。CTAより目立たせない） */
.site-header .bloomy-lang__btn {
  border: 1px solid #e6ecf6; background: #fff; height: 36px; padding: 0 12px; color: #5a6a86; font-weight: 600;
}
.site-header .bloomy-lang__btn:hover { background: #f4f8ff; border-color: #cfe0ff; color: #2563EB; }
.site-header .bloomy-lang__globe { color: #8a96ac; }
.site-header .bloomy-lang__btn:hover .bloomy-lang__globe { color: #2563EB; }

/* ログイン（アウトライン青＋人物アイコン） */
.bloomy-login-btn {
  background: #fff; color: #2563EB; border: 1.5px solid #2563EB; box-shadow: none;
  height: 42px; padding: 0 18px;
}
.bloomy-login-btn:hover { background: #EFF4FF; box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .4); transform: none; }

/* My eSIM（塗り青） */
.bloomy-account__btn {
  background: #2563EB; color: #fff; border: 0; height: 42px; padding: 0 16px 0 18px;
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .5);
}
.bloomy-account__btn:hover { background: #1f57cf; border: 0; color: #fff; }
.bloomy-account__icon, .bloomy-account__btn:hover .bloomy-account__icon { color: #fff; }
.bloomy-account__chevron { border-right-color: #fff; border-bottom-color: #fff; }

/* ============ レスポンシブ: ≤900px はハンバーガー ============ */
@media (min-width: 901px) {
  .site-header__nav { display: flex; }
  .site-header__actions { display: flex; }
  .site-header__mobile-actions { display: none; }
  .mobile-menu { display: none; }
}
@media (max-width: 900px) {
  .site-header { padding: 12px 16px 0; position: fixed; }
  .site-header.is-scrolled { padding-top: 8px; }
  .site-header__inner { min-height: 64px; padding: 0 16px; gap: 12px; }
  .site-header.is-scrolled .site-header__inner { min-height: 56px; }
  .site-header__nav { display: none; }
  .site-header__actions { display: none; }
  .site-header__mobile-actions { display: flex; }
  .site-header__toggle { display: block; }
  .mobile-menu { display: block; }
  /* モバイルはカプセルが小さいのでロゴを少し抑える（それでも従来比+約30%） */
  .site-header .custom-logo { max-height: 38px; }
  .site-header.is-scrolled .custom-logo { max-height: 34px; }
}

/* ============ モバイル ドロワー（ヘッダー直下のカード） ============ */
.mobile-menu__panel {
  position: relative; /* 言語サブ画面(.mobile-menu__subpanel)の絶対配置の基準 */
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 20px;
  box-shadow: 0 20px 50px -16px rgba(13, 27, 42, 0.28);
  padding: 14px 16px 16px;
  margin: 0;
}
/* .mobile-menu__head / __brand / __close は廃止（ヘッダー側ロゴ＋×に一本化）。重複ロゴ/×を排除 */
.mobile-menu__nav { display: flex; flex-direction: column; padding: 4px 0; }
.mobile-menu__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 10px 12px 8px; font-size: 1.02rem; font-weight: 700; color: #0D1B2A; text-decoration: none;
  border-radius: 10px;
  transition: background 0.16s ease, color 0.16s ease;
}
.mobile-menu__item:hover,
.mobile-menu__item:active { background: #F6F9FF; color: #2563EB; }
.mobile-menu__item--primary { color: #2563EB; }
/* リンク感を統一する控えめなchevron(言語行の〉と同系・薄いグレー)。露骨にしない。 */
.mobile-menu__item .mobile-menu__chevron { margin-left: auto; }
.mobile-menu__chevron { color: #c2ccdb; font-size: 1.15rem; line-height: 1; flex: 0 0 auto; }
.mobile-menu__item:hover .mobile-menu__chevron,
.mobile-menu__item:active .mobile-menu__chevron { color: #93b4f0; }
.mobile-menu__auth { padding-top: 14px; border-top: 1px solid #F1F5F9; margin-top: 6px; }
.mobile-menu__google {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 14px; border: 1px solid #e2e8f3; border-radius: 12px; background: #fff;
  color: #0D1B2A; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.mobile-menu__google:hover { background: #F6F9FF; }
.mobile-menu__logout {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 14px; border: 1px solid #f4cccc; border-radius: 12px; background: #fff;
  color: #d05a5a; font-size: 1rem; font-weight: 700; text-decoration: none;
}
.mobile-menu__logout:hover { background: #fdeeee; }

/* =========================================================
   言語提案バナー（English available?）— 控えめ・上部固定
   ========================================================= */
.bloomy-langbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #0D1B2A;
  color: #fff;
  font-size: .88rem;
  box-shadow: 0 4px 14px rgba(13, 27, 42, .25);
}
.bloomy-langbar[hidden] { display: none; }
.bloomy-langbar__globe { display: inline-flex; color: #9bb6ff; }
.bloomy-langbar__text { font-weight: 600; }
.bloomy-langbar__go {
  display: inline-flex; align-items: center;
  background: #2563EB; color: #fff; text-decoration: none;
  font-weight: 700; padding: 7px 16px; border-radius: 999px;
  transition: background .15s ease;
}
.bloomy-langbar__go:hover { background: #1f57cf; }
.bloomy-langbar__close {
  border: 0; background: transparent; color: #cbd5e1; font-size: 1.3rem; line-height: 1;
  cursor: pointer; padding: 2px 6px;
}
.bloomy-langbar__close:hover { color: #fff; }
/* バナー表示中はヘッダーを少し下げて重ならないように */
body.bloomy-langbar-on .site-header { margin-top: 44px; }

/* TOP(home): フッター上の余白(margin-top)に body の濃い青背景が見えて「2段階」になるのを解消。
   フッターの白背景(--footer-bg)で余白を満たす（margin→padding）。home限定でデスクトップ非影響を最小化。 */
body.home .site-footer { margin-top: 0 !important; padding-top: 88px; }
@media (max-width: 768px) { body.home .site-footer { padding-top: 52px; } }
