@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

/* =========================================================================
   KENT COMPANY — 共有スタイル (全ページ共通)
   デザイントークン / リセット / 容器 / ヘッダ / メニュー / フッター /
   ボタン / セクション見出し / 汎用コンポーネント / 共有メディアクエリ
   ========================================================================= */

:root {
  --navy:      #05254e;   /* メインの紺（背景バンド） */
  --navy-grad: linear-gradient(90deg, #05254e 11%, #02152f 94%);  /* Figma準拠: 横方向・左=薄#05254e→右=濃#02152f */
  --navy-mid:  #1d3e5e;   /* 見出しサブ色 */
  --teal:      #1d3937;   /* FCカード背景 */
  --gold:      #91855a;   /* アクセント / ボタン / ワードマーク */
  --beige:     #d6cabc;   /* 明るいセクション背景 */
  --ink:       #464242;   /* 明色背景上の本文 */
  --white:     #ffffff;

  --content-w: 1100px;
  --serif: 'Shippori Mincho', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'MS PMincho', serif;

  --header-h: 110px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--navy);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .04em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* 汎用ユーティリティ ----------------------------------------------------- */
.center { text-align: center; }
.media-sp { display: none; }
.br-sp { display: none; }            /* SP専用の改行 (PCでは無効) */
/* 「店舗一覧を見る」: 紺色・右下のみ角丸（.btn より後勝ちにするため .btn.btn--navy） */
.btn.btn--navy { background: var(--navy); border-radius: 0 0 26px 0; }
@media (max-width: 768px) {
  .media-pc { display: none; }
  .media-sp { display: block; }
  .br-sp { display: inline; }
}

/* 中央寄せ内容カラム ----------------------------------------------------- */
.container {
  width: var(--content-w);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================== ヘッダ ====================================== */
.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
/* トップページではヒーロー写真の上に透過で重ねる */
body.home .site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.05;
}
.brand span { font-size: 19px; padding-left: 10px; }
.brand .brand-rule { width: 146px; height: 1px; background: currentColor; opacity: .6; }

.hamburger {
  position: absolute;
  /* .container の右端（中央寄せ固定幅カラムの右内側）に合わせる。
     ウィンドウが広がっても 24px 未満には寄らない。 */
  right: max(24px, calc(50% - var(--content-w) / 2 + 24px));
  top: 50%;
  transform: translateY(-50%);
  width: 47px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.hamburger span { display: block; width: 47px; height: 4px; background: var(--gold); }

/* ========================== メニュー(オーバーレイ) ===================== */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--navy-grad);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.site-menu.is-open { opacity: 1; visibility: visible; }

.site-menu__head {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
}
.site-menu__close {
  position: absolute;
  right: 32px; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
}
.site-menu__close::before,
.site-menu__close::after {
  content: ''; position: absolute; left: 6px; top: 19px;
  width: 30px; height: 2px; background: var(--gold);
}
.site-menu__close::before { transform: rotate(45deg); }
.site-menu__close::after  { transform: rotate(-45deg); }

.site-menu__list {
  flex: 1;
  align-content: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 120px;
  width: 760px;
  max-width: 90%;
  margin: 0 auto;
  padding-bottom: 8vh;
}
.site-menu__list a {
  display: block;
  color: var(--white);
  font-size: 22px;
  text-align: center;
  letter-spacing: .1em;
}
.site-menu__list a::after {
  content: '';
  display: block;
  width: 114px; height: 1px;
  background: var(--gold);
  margin: 22px auto 0;
}

/* ========================== ボタン / 矢印 ============================== */
.arrow {                       /* 横線＋塗りつぶし三角(▶)の矢印 */
  display: inline-block;
  position: relative;
  width: 92px; height: 1px;
  background: currentColor;
  flex: none;
}
.arrow::after {                /* 内側が詰まった▶(右向き塗り三角) */
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--gold);
  color: var(--white);
  font-size: 16px;
  letter-spacing: .12em;
  padding: 20px 26px;
  min-width: 280px;
  justify-content: space-between;
}
.btn .arrow { width: 70px; }
.btn--sm { min-width: 200px; padding: 14px 20px; font-size: 14px; }
.btn--sm .arrow { width: 56px; }

/* 封筒アイコン付きの問い合わせボタン */
.btn-mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 18px;
  letter-spacing: .12em;
  padding: 26px 56px;
}
.btn-mail .ico-mail { width: 30px; height: 22px; flex: none; }
.btn-mail--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
  padding: 18px 40px;
  font-size: 16px;
}

.ico-mail {                   /* インラインSVGの封筒 (stroke=currentColor) */
  display: inline-block;
  width: 30px; height: 22px;
  color: inherit;
}

/* ========================== セクション見出し ========================== */
/* 左寄せ大見出し＋細い罫線 (節の冒頭) */
.sec-head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 14px;
}
.sec-head h2 {
  font-size: clamp(28px, 2.25vw, 30px);
  font-weight: 500;
  white-space: nowrap;
}
.sec-head .rule { flex: 1; height: 1px; background: currentColor; opacity: .5; }

/* 中央寄せのリード文 */
.lead { text-align: center; font-size: 17px; }

/* 短い金罫線＋小見出し (明色背景の節冒頭で再利用) */
.mini-head { display: flex; align-items: center; gap: 26px; margin-bottom: 24px; }
.mini-head .bar { width: 145px; height: 1px; background: var(--gold); flex: none; }
.mini-head h2 { font-size: clamp(20px, 1.7vw, 22px); color: var(--navy); font-weight: 500; }

/* 中央見出し＋右側の金罫線 */
.center-head { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 50px; }
.center-head h2 { font-size: clamp(20px, 1.65vw, 22px); font-weight: 500; }
.center-head .rule { width: 145px; height: 1px; background: var(--gold); }

/* 全幅セクションの土台 */
section { width: 100%; }
.band-navy  { background: var(--navy-grad); color: var(--white); }
.band-beige { background: var(--beige); color: var(--ink); }
.band-white { background: var(--white); color: var(--ink); }

/* 斜めに切れるバンドの仕切り（装飾） */
.skew-top    { clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
.skew-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%); }

/* --- セクション間の斜め区切り（全ページ共有。index と同じ部品） ---
   色は --sp-top(上)/--sp-bottom(下)。方向クラス(r-to-l/l-to-r)=対角線の向き(+既定色)、
   色クラス=色の上書き、高さクラス=高さ。対角線の2頂点は四隅ぴったり(クランク防止)。 */
.splitter-elm {
  position: relative;
  width: 100%;
  height: 150px;
  margin-top: -1px;
  margin-bottom: -1px;
  background: var(--sp-bottom);
}
.splitter-elm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sp-top);
}
.splitter-elm.r-to-l::before { clip-path: polygon(0 0, calc(100% + 2px) -2px, 100% 100%); }
.splitter-elm.l-to-r::before { clip-path: polygon(-2px -2px, 100% 0, 0 100%); }
.splitter-elm.r-to-l { --sp-top: var(--beige);     --sp-bottom: var(--navy-grad); }
.splitter-elm.l-to-r { --sp-top: var(--navy-grad); --sp-bottom: var(--beige); }
.splitter-elm.beige-to-white { --sp-top: var(--beige);     --sp-bottom: var(--white); }
.splitter-elm.white-to-beige { --sp-top: var(--white);     --sp-bottom: var(--beige); }
.splitter-elm.white-to-navy  { --sp-top: var(--white);     --sp-bottom: var(--navy-grad); }
.splitter-elm.navy-to-white  { --sp-top: var(--navy-grad); --sp-bottom: var(--white); }
.splitter-elm.beige-to-navy  { --sp-top: var(--beige);     --sp-bottom: var(--navy-grad); }
.splitter-elm.navy-to-beige  { --sp-top: var(--navy-grad); --sp-bottom: var(--beige); }
.splitter-elm.short-h { height: 75px; }
.splitter-elm.large-h { height: 225px; }

/* ========================== 共有: ページヒーロー ====================== */
.page-hero {
  background: var(--navy-grad);
  color: var(--white);
  padding: 90px 0 70px;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: .08em;
}
.page-hero .rule { height: 1px; background: rgba(255,255,255,.55); margin-top: 30px; }
/* PC: Figma準拠で罫線を左にインデント+幅750px(コンテナ1100内 x342→1092) */
@media (min-width: 769px) {
  .page-hero .rule { margin-left: 185px; margin-right: 117px; }
}
.page-hero--gold h1 { color: var(--gold); }
.page-hero__lead { margin-top: 34px; text-align: center; font-size: 17px; }

/* ========================== 共有: お問い合わせCTA ===================== */
.cta { padding: 90px 0 100px; text-align: center; }
.cta h2 { font-size: clamp(24px, 2.25vw, 27px); font-weight: 500; margin-bottom: 28px; text-align: left; }
.cta p  { margin-bottom: 46px; }
.cta .btn-mail { margin: 0 auto; }
.cta--tight { padding: 70px 0 10px; }

/* ========================== フッタ ==================================== */
.site-footer { background: var(--white); color: var(--ink); padding: 84px 0 0; }
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 60px;
  max-width: 620px;
  margin: 0 auto 60px;
}
.footer-nav a { font-size: 17px; display: flex; align-items: center; gap: 14px; }
.footer-nav a::before {
  content: '';
  flex: none;
  width: 0; height: 0;
  border-left: 15px solid var(--gold);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.footer-sns-label {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); font-size: 16px; margin-bottom: 28px;
}
.footer-sns-label::before,
.footer-sns-label::after {
  content: ''; width: 94px; height: 1px; background: var(--gold);
}
.footer-sns {
  display: flex; justify-content: center; gap: 24px; margin-bottom: 44px;
}
.footer-sns a {
  width: 76px; height: 76px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-sns img { width: 42px; height: 42px; object-fit: contain; }

.footer-contact { display: flex; justify-content: center; margin-bottom: 60px; }

.footer-copy {
  background: var(--gold); color: var(--white);
  text-align: center; padding: 18px 0; font-size: 14px; letter-spacing: .1em;
}

/* ========================== 共有: 店舗カード ========================= */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; }
/* 左から h3(縦書き) | 縦の区切り線 | 残りのコンテンツ の3区分 */
.shop-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); padding: 26px;
  border-radius: 39px 0 0 0;          /* 左上だけ角丸(Figma=39px) */
}
.shop-grid--bordered .shop-card { border: 1px solid var(--gold); }
.shop-card__name {
  writing-mode: vertical-rl;
  font-size: 21px; letter-spacing: .22em;
  display: flex; align-items: flex-start; gap: 8px; flex: none;
}
.shop-card__name small { font-size: inherit; letter-spacing: .1em; position: relative; left: 2px; }  /* 文字サイズを本文と揃え、後続文字と軸を合わせるため2px右へ */
/* 右カラム：画像・説明・エリア・ボタン */
.shop-card__body { flex: 1; min-width: 0; }
/* 画像は元比率のまま。縦区切り線は pic の左罫線にして画像高さに追従させる */
.shop-card__pic { border-left: 1px solid var(--gold); padding-left: 18px; }
.shop-card__pic img { width: 100%; height: auto; display: block; }
.shop-card__soon {
  width: 100%; height: 212px; border: 1px solid #6f7070;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--ink);
}
/* 説明・エリア・ボタンは画像の内容左端に揃える（区切り線1px + 余白18px ぶん） */
.shop-card__desc { font-size: 18px; margin-top: 18px; padding-left: 19px; }
.shop-card__area { font-size: 15px; margin: 6px 0 18px; padding-left: 19px; }
.shop-card__body > .btn { margin-left: 19px; width: calc(100% - 19px); }  /* 上の画像と同じ幅に */

/* ========================== 共有: FCカード ========================== */
.fc-card {
  position: relative;
  display: flex; align-items: center; gap: 30px;
  background: var(--teal); border: 1px solid var(--gold);
  max-width: 620px; margin: 0 auto; padding: 22px 30px 22px 22px;
  color: var(--white);
}
/* 右下の切り欠き飾り（金色の直角三角形・斜辺は左下→右上） */
.fc-card::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 0; height: 0;
  border-bottom: 49px solid var(--gold);
  border-left: 43px solid transparent;
}
.fc-card__img { width: 194px; height: 184px; object-fit: cover; flex: none; }
.fc-card__text { flex: 1; font-size: 18px; line-height: 1.7; }
/* 矢印は切り欠きの上へずらす。文字(中央)は動かさない */
.fc-card .arrow { width: 110px; align-self: flex-end; margin-bottom: 38px; }

/* ========================== レスポンシブ ============================== */
@media (max-width: 768px) {
  :root { --header-h: 90px; }
  body { font-size: 15px; }
  .container { width: 100%; padding: 0 22px; }

  .brand span { font-size: 16px; }
  .brand .brand-rule { width: 106px; }
  .hamburger { right: 22px; width: 37px; }
  .hamburger span { width: 37px; }

  .site-menu__list {
    grid-template-columns: 1fr;
    gap: 30px;
    width: auto;
    text-align: center;
  }
  .site-menu__list a { font-size: 19px; }
  .site-menu__list a::after { width: 72px; margin-top: 16px; }

  .btn, .btn--sm { min-width: 210px; padding: 14px 20px; font-size: 14px; }
  .btn-mail { padding: 20px 36px; font-size: 16px; }

  .site-footer .container { padding: 0 5px; }  /* 実機の折り返し対策: 表示領域を広げるため左右パディングを5pxに */
  .footer-nav { max-width: none; margin-inline: 0; gap: 24px 20px; }  /* 左右マージン撤廃+列間も詰める */
  .footer-nav a { font-size: 13px; letter-spacing: 0; gap: 10px; }  /* 折り返し防止: 字間0+文字13px+マーカー余白も詰める */
  .footer-sns a { width: 64px; height: 64px; }
  .footer-sns img { width: 34px; height: 34px; }
  .footer-sns-label::before, .footer-sns-label::after { width: 40px; }

  .page-hero { padding: 50px 0 40px; }
  /* SP: ミニ見出しの金罫線はPC用に長い(145px)ため見出しが折り返す。短くして1行に収める */
  .mini-head { gap: 16px; }
  .mini-head .bar { width: 40px; }
  .cta { padding: 64px 0 70px; }
  .cta p { text-align: left; }   /* SP: 本文も左揃え */
  /* お問い合わせボタンは右寄せ＋右に約10%(viewport)マージン (10vw − container padding 22px) */
  .cta .btn-mail { display: flex; width: fit-content; margin-left: auto; margin-right: calc(10vw - 22px); }
  .site-footer { padding: 60px 0 0; }

  .shop-grid { grid-template-columns: 1fr; gap: 28px; max-width: 360px; margin-inline: auto; }
  /* fc-card は SP でも PC と同じ横並び（画像左・テキスト・矢印）。要素を縮小して収める */
  .fc-card { gap: 16px; padding: 16px 18px; }
  .fc-card__img { width: 92px; height: 87px; }
  .fc-card__text { font-size: 13px; line-height: 1.65; }
  .fc-card .arrow { width: 56px; margin-bottom: 26px; }
  .fc-card::after { border-bottom-width: 34px; border-left-width: 29px; }
}
