@charset "UTF-8";
/* ==========================================================================
   共通レイアウト：ヘッダー / グローバルナビ / スマホメニュー / フッター / スマホ固定バー
   全ページで読み込み。下層ページでは main.css の後に読み込む。
   ========================================================================== */
:root{
  --ink:#3B3633; --sub:#6E6862; --teal:#14A3AE; --teal-d:#0E8792; --yellow:#F5B800;
  --kinari:#F4F2EC; --lemon:#FBF0C2; --line:#DCD7CC; --coral:#EE8C79; --mint:#E6F5F1; --peach:#FDEDE6; --sky:#E9F5FB;
  --serif:"Noto Serif JP",serif; --en:"Josefin Sans",sans-serif;
}

/* 下層ページの既存CSS（main.css）の要素指定を打ち消すためのスコープ付きリセット */
.hd,.hd *,.drawer,.drawer *,.ft,.ft *,.sp-bar,.sp-bar *{box-sizing:border-box;margin:0;padding:0;min-width:0}
.hd,.drawer,.ft,.sp-bar{font-family:"Noto Sans JP",sans-serif;color:var(--ink);font-size:16.5px;line-height:2;letter-spacing:.05em;word-break:keep-all;overflow-wrap:break-word;line-break:strict;text-align:left}
.hd a,.drawer a,.ft a,.sp-bar a{color:inherit;text-decoration:none}
.hd img,.ft img{display:block;max-width:100%}
.hd .nw,.ft .nw{white-space:nowrap}

/* header */
.hd{position:sticky;top:0;z-index:50;background:#fff}
.hd-top{display:flex;align-items:center;gap:24px;height:86px;padding:0 0 0 max(3vw,20px)}
.hd .logo{display:flex;align-items:center;gap:10px;flex:none}
.hd .logo .mk{height:56px;width:auto}
.hd .logo .nm{height:48px;width:auto}
.hd-sub{font-family:var(--serif);font-size:14px;color:var(--sub);padding-left:22px;border-left:1px solid var(--line);line-height:1.6}
.hd-btns{display:flex;margin-left:auto;height:86px}
.hd-btns a{display:flex;flex-direction:column;align-items:center;justify-content:center;width:148px;color:#fff!important;font-weight:700;font-size:15px;line-height:1.4;text-align:center}
.hd-btns small{font-weight:500;font-size:12.5px;opacity:.95}
.hd-btns .tel{background:var(--teal)}
.hd-btns .tel b{font-family:var(--en);font-weight:600;font-size:17px;letter-spacing:.04em}
.hd-btns .line{background:#E2A500}
.hd-btns svg{width:22px;height:22px;margin-bottom:3px}
.gnav{display:flex;justify-content:center;height:54px;align-items:center;background:var(--teal);font-weight:500;font-size:16px;letter-spacing:.08em;color:#fff}
.gnav a{position:relative;padding:0 26px;line-height:54px;transition:background .2s}
.gnav a+a::before{content:"";position:absolute;left:0;top:19px;bottom:19px;width:1px;background:rgba(255,255,255,.45)}
.gnav a:hover,.gnav a.is-current{background:var(--teal-d)}
.gnav a:nth-child(3n+1):hover{background:#E2A500}.gnav a:nth-child(3n+2):hover{background:var(--coral)}
.menu-btn{display:none}
.drawer{display:none}

/* footer */
.ft{background:var(--kinari);padding:72px 0 44px}
.ft .wrap{width:min(1180px,90%);margin:0 auto;display:grid;grid-template-columns:auto 1fr;gap:72px}
.ft-logo{display:flex;align-items:center;gap:12px}
.ft-logo .mk{height:66px;width:auto}.ft-logo .nm{height:54px;width:auto}
.ft-info{margin-top:16px;font-size:15px;color:var(--sub);line-height:1.9}
.ft-nav{display:grid;grid-template-columns:repeat(3,auto);justify-content:end;gap:12px 52px;font-family:var(--serif);font-size:15px}
.ft-nav a:hover{color:var(--teal-d)}
.ft .copy{text-align:center;margin-top:52px;font-family:var(--en);font-size:13.5px;color:var(--sub);letter-spacing:.1em}
.sp-bar{display:none}

/* tablet */
@media (max-width:1100px){
  .gnav{display:none}
  .hd-sub{display:none}
  .menu-btn{display:flex;flex-direction:column;justify-content:center;gap:7px;width:64px;height:86px;border:0;background:#fff;cursor:pointer;padding:0 18px;flex:none}
  .menu-btn i{display:block;height:1.5px;background:var(--ink);transition:transform .25s,opacity .25s}
  .menu-btn[aria-expanded="true"] i:nth-child(1){transform:translateY(8.5px) rotate(45deg)}
  .menu-btn[aria-expanded="true"] i:nth-child(2){opacity:0}
  .menu-btn[aria-expanded="true"] i:nth-child(3){transform:translateY(-8.5px) rotate(-45deg)}
  .drawer{position:fixed;inset:86px 0 0 0;z-index:49;background:#fff;padding:20px 7%;overflow:auto}
  .drawer.open{display:block}
  .drawer a{display:block;padding:16px 0;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:17px}
  .drawer a.is-current{color:var(--teal-d)}
}
@media (min-width:1101px){.drawer{display:none!important}}
@media (max-width:900px){
  .ft .wrap{grid-template-columns:1fr;gap:36px}.ft-nav{justify-content:start}
  /* タブレット縦向き以下：電話・LINEボタンはヘッダーから画面下の固定バーへ（ロゴと重なるのを防ぐ） */
  body{padding-bottom:64px}
  .hd-btns{display:none}
  .menu-btn{margin-left:auto}
  .drawer{padding-bottom:90px}
  .sp-bar{display:grid;grid-template-columns:1fr 1.3fr;position:fixed;left:0;right:0;bottom:0;z-index:60;height:62px}
  .sp-bar a{display:flex;align-items:center;justify-content:center;gap:8px;color:#fff!important;font-weight:700;font-size:15.5px}
  .sp-bar .t{background:var(--teal)}.sp-bar .l{background:#E2A500}
  .sp-bar svg{width:20px;height:20px}
}
/* smartphone */
@media (max-width:640px){
  .hd-top{height:64px;padding-left:14px;gap:8px}
  .hd .logo{gap:7px;flex:0 1 auto}.hd .logo .mk{height:42px}.hd .logo .nm{height:36px}
  .menu-btn{height:64px}
  .drawer{inset:64px 0 0 0}
  .ft-nav{grid-template-columns:repeat(2,auto)}
}
/* reCAPTCHA（Contact Form 7）のバッジを非表示にする。
   旧 main.css と同じ指定。お問い合わせフォーム（/contact/）に Google 規約の表記があるため、隠しても問題ない */
.grecaptcha-badge{visibility:hidden!important}
/* ドロワー展開中はページのスクロールを止める */
body.drawer-open{overflow:hidden}

/* 下層ページ：旧ヘッダー（固定）・旧FV内メニュー用の余白を解除 */
body.under .fv{padding-top:0;padding-bottom:0}
/* FV直後のセクションの上罫線（紺）を消す */
body.under .fv + section{border-top:0}
