/*
 * Copyright (c) 2026 AIRISH LLC
 * All Rights Reserved.
 *
 * This source code is proprietary and confidential.
 * Use is permitted only with explicit authorization from AIRISH LLC.
 * See the LICENSE file for details.
 */
/* ============================================================
   layout.css — ヘッダー / ナビ / フッター / セクション / hero
   ============================================================ */

/* ---- ヘッダー ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--sp-2); color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.brand:hover { text-decoration: none; color: var(--ocean-deep); }
.brand__mark { color: var(--ocean); font-size: 1.4rem; }
.brand__name { font-size: 1.02rem; letter-spacing: .01em; }

.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; display: flex; gap: var(--sp-5); padding: 0; }
.site-nav__list a { color: var(--ink); font-size: .94rem; font-weight: 500; padding: 6px 2px; position: relative; }
.site-nav__list a:hover { color: var(--ocean); text-decoration: none; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--ocean); transition: width .18s ease; }
.site-nav__list a:hover::after { width: 100%; }

.header-tools { display: flex; align-items: center; gap: var(--sp-3); }
.fontsize { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fs-btn { background: var(--surface); border: 0; padding: 5px 9px; font-size: .8rem; color: var(--ink-soft); border-left: 1px solid var(--line); }
.fs-btn:first-child { border-left: 0; }
.fs-btn[aria-pressed="true"] { background: var(--ocean-tint); color: var(--ocean-deep); font-weight: 700; }
.theme-toggle { width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; font-size: 1.05rem; }
.theme-toggle:hover { border-color: var(--ocean); color: var(--ocean); }

.tel-bar { display: none; }
.nav-burger { display: none; }

/* ---- セクション ---- */
.section { padding-block: var(--sp-8); }
.section--sand { background: var(--sand); }
.section__head { margin-bottom: var(--sp-6); }
.section__head--row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); }
.section__eyebrow { font-family: var(--font-num); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--ocean); font-weight: 600; }
.section__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 4px; }
.link-more { font-size: .88rem; font-weight: 600; white-space: nowrap; }

/* ---- hero ---- */
.hero { background: linear-gradient(180deg, var(--ocean-tint), var(--bg)); border-bottom: 1px solid var(--line-soft); }
.hero__inner { padding-block: clamp(40px, 8vw, 88px); max-width: var(--container-narrow); }
.hero__eyebrow { color: var(--ocean-deep); font-weight: 600; font-size: .9rem; margin-bottom: var(--sp-3); }
.hero__title { font-size: clamp(1.7rem, 5vw, 3rem); letter-spacing: .01em; }
.hero__title em { font-style: normal; color: var(--ocean); }
.hero__lead { margin-top: var(--sp-5); font-size: 1.05rem; color: var(--ink-soft); max-width: 38em; }
.hero__actions { margin-top: var(--sp-6); display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero__points { margin-top: var(--sp-6); list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.hero__points li { padding-left: 1.6em; position: relative; color: var(--ink-soft); font-size: .95rem; }
.hero__points li::before { content: "◖"; position: absolute; left: 0; color: var(--ocean); }

/* ---- CTAバンド ---- */
.cta-band { background: var(--ink); color: #fff; padding-block: var(--sp-7); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 1.4rem; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 4px; }
.cta-band__actions { display: flex; gap: var(--sp-3); }

/* ---- フッター ---- */
.site-footer { background: var(--ocean); color: #fff; margin-top: var(--sp-8); }
.site-footer__inner { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr; gap: var(--sp-6); align-items: start; padding-block: var(--sp-7); }
.site-footer__name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.2rem; margin-top: var(--sp-3); }
.site-footer p { margin-top: var(--sp-2); font-size: 1rem; line-height: 1.8; color: #fff; }
.site-footer__zip { margin-top: var(--sp-3); }
.site-footer__addr { font-size: 1.05rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.foot-card { background: #fff; border-radius: 10px; padding: var(--sp-5); display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.foot-card__left { flex: 1 1 220px; text-align: center; }
.site-footer .foot-card__note { color: var(--ocean-deep); font-weight: 700; font-size: .98rem; margin: 0; }
.site-footer .foot-card__tel { display: block; color: var(--coral); font-weight: 800; font-size: 2rem; letter-spacing: -.5px; margin: 4px 0 12px; }
.site-footer .foot-card__tel:hover { color: var(--coral); }
.foot-card__btn { display: block; background: var(--reserve); color: #fff; font-weight: 700; padding: 14px; border-radius: 8px; text-align: center; }
.foot-card__btn:hover { background: var(--reserve-deep); color: #fff; text-decoration: none; }
.foot-card__right { flex: 1 1 280px; }
.foot-hours { width: 100%; border-collapse: collapse; font-size: .82rem; color: var(--ink); }
.foot-hours th, .foot-hours td { border: 1px solid var(--line); padding: 5px 4px; text-align: center; }
.foot-hours thead th { background: var(--ocean-tint); color: var(--ocean-deep); }
.foot-hours tbody th { background: #fafafa; font-weight: 700; white-space: nowrap; }
.foot-hours__note { color: #fff !important; font-size: .8rem !important; margin-top: 6px !important; line-height: 1.5 !important; }
.site-footer__map iframe { display: block; border-radius: 10px; width: 100%; }
.site-footer__mapcap { font-size: .9rem; color: #fff; margin-top: var(--sp-2); }
.site-footer__logo { height: 54px; width: auto; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.18); }
.site-footer__bottom .container { padding-block: var(--sp-4); }
.site-footer__bottom small { color: rgba(255,255,255,.85); }
@media (max-width: 980px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---- レスポンシブ ---- */
/* PC/SP 表示切替 */
.view-sp { display: none; }
.nav-burger { display: none; }

@media (max-width: 920px) {
  .view-pc { display: none !important; }
  .view-sp { display: block; }
  .site-header__topinner { padding: 8px 0; }
  .brand__logo { height: 42px; }
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; margin-left: auto; background: transparent; border: 1px solid var(--line); border-radius: var(--r); }
  .nav-burger span { display: block; height: 2px; width: 18px; margin-inline: auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnav { position: fixed; inset: auto 0 auto 0; top: 60px; background: var(--ocean); transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow); max-height: 80vh; overflow-y: auto; }
  .gnav.is-open { transform: translateY(0); }
  .gnav__inner { display: block; }
  .gnav__list { flex-direction: column; }
  .gnav__list > li { display: block; }
  .gnav__list > li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .gnav__list a { justify-content: flex-start; padding: 14px 20px; }
  .gnav__home a { background: rgba(0,0,0,.12); }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* サイトロゴ画像（設定でアップロードした場合） */
.brand__logo { height: 38px; width: auto; display: block; }
@media (max-width: 920px){ .brand__logo { height: 32px; } }

/* ============================================================
   ヘッダー（現行サイト再現：上段情報バー＋下段ティールナビ）
   ============================================================ */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header__top { background: #fff; }
.site-header__topinner { display: flex; align-items: center; gap: var(--sp-5); padding: 12px 0; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 56px; width: auto; display: block; }
.header-hours { font-size: .8rem; line-height: 1.55; color: var(--ink); margin-left: var(--sp-3); }
.header-hours p { margin: 0; }
.header-hours span { font-weight: 700; }
.header-hours__off { color: var(--ink-soft); }
.header-cta { display: flex; align-items: center; gap: var(--sp-4); margin-left: auto; }
.header-tel { text-align: left; line-height: 1.2; }
.header-tel__note { display: block; font-size: .72rem; color: var(--ink-soft); margin-bottom: 2px; }
.header-tel__num { color: var(--coral); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.header-tel__num strong { font-size: 1.7rem; letter-spacing: -.5px; vertical-align: middle; }
.header-tel__num:hover { color: var(--coral); }

/* 下段：ティールのグローバルナビ */
.gnav { background: var(--ocean); }
.gnav__inner { display: flex; align-items: stretch; }
.gnav__list { list-style: none; display: flex; align-items: stretch; margin: 0; padding: 0; flex: 1; }
.gnav__list > li { display: flex; }
.gnav__list > li + li { border-left: 1px solid rgba(255,255,255,.25); }
.gnav__list a { display: flex; align-items: center; justify-content: center; gap: .4em; color: #fff; font-weight: 700;
  font-size: 1.02rem; letter-spacing: .02em; padding: 17px 26px; text-decoration: none; transition: background .15s; }
.gnav__list a:hover { background: rgba(255,255,255,.14); color: #fff; }
.gnav__home a { background: rgba(0,0,0,.10); padding-inline: 22px; }
.gnav__tools { display: flex; align-items: center; gap: var(--sp-3); padding-left: var(--sp-4); }
.gnav__tools .fs-btn { background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: var(--r-sm); width: 28px; height: 28px; font-size: .8rem; }
.gnav__tools .fs-btn:hover, .gnav__tools .fs-btn[aria-pressed="true"] { background: rgba(255,255,255,.32); }
.gnav__tools .theme-set { display: flex; gap: 2px; }
.gnav__tools .theme-btn { background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: var(--r-sm); height: 28px; padding: 0 9px; font-size: .74rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.gnav__tools .theme-btn:hover, .gnav__tools .theme-btn[aria-pressed="true"] { background: rgba(255,255,255,.32); }

/* ヘッダ／中央リンクナビ：中央寄せのまま、文字サイズ中・大でも2段にならないようにする */
@media (min-width: 921px) {
  /* .gnav__inner は .container（中央寄せ・最大幅）を維持。項目はセンタリング */
  .gnav__list { flex-wrap: nowrap; min-width: 0; justify-content: center; }
  .gnav__list > li { min-width: 0; }
  .gnav__list a { white-space: nowrap; padding: 16px clamp(10px, 1.5vw, 26px); }
  :root[data-fontsize="medium"] .gnav__list a { padding-inline: clamp(10px, 1.3vw, 22px); }
  :root[data-fontsize="large"]  .gnav__list a { font-size: 1rem; letter-spacing: 0; gap: .2em; padding-inline: clamp(8px, 1.0vw, 16px); }
  :root[data-fontsize="large"]  .gnav__home a { padding-inline: 16px; }
  :root[data-fontsize="large"]  .gnav__tools { padding-left: var(--sp-2); gap: var(--sp-2); }
}

/* フッターの白ロゴ */
.site-footer__logo { height: 46px; width: auto; margin-bottom: var(--sp-2); }

/* タブレット：ナビの詰め */
@media (min-width: 921px) and (max-width: 1140px) {
  .gnav__list a { padding: 14px 16px; font-size: .88rem; }
  .header-hours { font-size: .72rem; }
}
.site-footer__legal { margin-bottom: 8px; font-size: .82rem; opacity: .92; }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__legal .sep { margin: 0 8px; opacity: .5; }
