/* =========================================================
   O-ba'sh crust / O-ba'sh cafe.  見本サイト
   色：生成り・小麦・くすんだ緑（ビビッドな色は使わない）
   文字：英字の見出しは大きく（Marcellus）、和文は Noto Sans JP
   写真：角は丸めない
   動き：下へ動かすと、ふわっと出るだけ（控えめ）
   ========================================================= */

/* ---- 色と文字の決まりごと（ここを変えるとサイト全体が変わる） ---- */
:root {
  --bg: #f8f5ef;          /* 生成り（背景） */
  --bg-2: #efe9df;        /* 少し濃い生成り（帯） */
  --white: #fffdf9;
  --text: #3a312a;        /* 文字：黒ではなく、こげ茶 */
  --text-soft: #75695e;
  --wheat: #b39a72;       /* 小麦色（アクセント） */
  --green: #7c8569;       /* くすんだ緑（植物） */
  --line: #ddd5c8;
  --en: "Marcellus", serif;
  --num: "Lora", serif;   /* 電話番号・営業時間の数字（0とO、1とIを見分けやすい） */
  /* 和文：明朝体（YakuHanMP → Noto Serif JP → 游明朝…）
     ゴシック体に戻すときは、下の1行と index.html のフォント読み込みを元に戻す */
  --ja: YakuHanMP, "Noto Serif JP", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", serif;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ja);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
small { font-size: .8em; color: var(--text-soft); }
.pc { display: none; }

/* ---- 共通の見出し（小さな日本語＋大きな英字） ---- */
.label {
  display: flex; align-items: center;
  font-size: 13px; letter-spacing: .1em; margin-bottom: 4px;
}
.en-title {
  font-family: var(--en); font-weight: 400;
  font-size: clamp(44px, 11vw, 96px); line-height: 1.1; letter-spacing: .01em;
}
.catch { font-size: 19px; font-weight: 500; line-height: 1.8; letter-spacing: .08em; }
.section-lead { font-size: 15px; line-height: 2; }
.section-lead.under { margin-top: 20px; } /* 大きな英字の見出しの下に置く文 */
h1, h2, h3 { font-weight: 500; line-height: 1.6; }
section { padding: 96px 20px; }
.section-head { max-width: var(--max); margin: 0 auto 48px; display: grid; gap: 20px; }

/* ---- 見本のしるし ---- */
.mock-tag {
  position: fixed; left: 12px; bottom: 12px; z-index: 100;
  background: var(--text); color: var(--white);
  font-size: 11px; padding: 4px 12px; border-radius: 20px; opacity: .75;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(248, 245, 239, .92);
  backdrop-filter: blur(6px);
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--en); font-size: 26px; letter-spacing: .03em; }
.logo-sub { font-family: var(--en); font-size: 12px; color: var(--text-soft); letter-spacing: .08em; }

.menu-btn {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 8px;
}
.menu-btn span { display: block; height: 1px; background: var(--text); transition: transform .4s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(20deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-20deg); }

.nav {
  position: fixed; inset: 72px 0 auto 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px 28px 36px; background: var(--bg);
  border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .5s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav a { padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.nav-shop { color: var(--green); }

/* ===== 1. ヒーロー ===== */
/* 写真2枚を画面いっぱいに並べる（スマホは上下、PCは左右） */
.hero { padding: 72px 0 0; }
.hero-split { display: grid; grid-template-columns: 1fr; }
.hero-shop { position: relative; display: block; height: 42svh; min-height: 260px; overflow: hidden; }
.hero-shop img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero-shop::after { /* 文字が読めるよう、写真を少しだけ暗く */
  content: ""; position: absolute; inset: 0;
  background: rgba(40, 30, 22, .22); transition: background .6s;
}
.hero-shop:hover img { transform: scale(1.03); }
.hero-shop:hover::after { background: rgba(40, 30, 22, .3); }
.hero-name {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en); font-size: 38px; letter-spacing: .04em;
  color: var(--white); text-shadow: 0 1px 14px rgba(40, 30, 22, .35);
}
.hero-text { padding: 40px 20px 0; text-align: center; }.hero h1 { font-size: 24px; letter-spacing: .1em; }
.hero-lead { margin-top: 16px; color: var(--text-soft); }

/* ---- メニューのインスタの印 ---- */
.nav-insta { display: inline-flex; align-items: center; gap: 10px; }
.nav-insta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; flex-shrink: 0; }

/* ===== 2. こだわり ===== */
.about-body { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.about-photo img { aspect-ratio: 1; object-fit: cover; }
.about-text .catch { margin-bottom: 24px; }
.about-lead p + p { margin-top: 24px; } /* 文章どうしの間を少し広く */

/* ===== 3・4. ベーカリーとカフェ ===== */
.shop.bakery { background: var(--white); }
.cards { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.card h3 { font-size: 17px; }
.card h3 span { display: block; font-size: 12px; color: var(--green); }
.card p { margin-top: 8px; font-size: 14px; color: var(--text-soft); }
.note { max-width: var(--max); margin: 40px auto 0; font-size: 13px; color: var(--text-soft); }

.cafe-photo { max-width: var(--max); margin: 0 auto 64px; }
.cafe-photo img { aspect-ratio: 16 / 9; object-fit: cover; }
.menu-time { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
.time-block .time { font-family: var(--num); font-variant-numeric: lining-nums; font-size: 15px; color: var(--wheat); }
.time-block h3 { font-family: var(--en); font-size: 40px; font-weight: 400; line-height: 1.2; margin-bottom: 16px; }
.time-block img { aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; }
.time-block p:last-child { font-size: 14px; color: var(--text-soft); }

.kakigori {
  max-width: var(--max); margin: 80px auto 0; padding: 40px 24px;
  background: var(--bg-2); display: grid; gap: 32px;
  border-radius: 12px; /* 大きな枠だけ、少し角を丸める */
}
.kakigori-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kakigori-photos img { aspect-ratio: 1; object-fit: cover; }
.en-sub { font-family: var(--en); font-weight: 400; font-size: 48px; line-height: 1.2; }
.catch-s { font-size: 17px; font-weight: 500; margin: 8px 0 12px; }

/* ===== 5. ご予約 ===== */
.reserve { background: var(--white); }
.reserve-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
.reserve-item img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.reserve-item h3 { font-size: 18px; margin-bottom: 8px; }
.reserve-item strong { font-weight: 500; color: var(--green); }
.tel-btn {
  display: flex; width: fit-content; align-items: baseline; gap: 12px; margin: 18px auto 0; /* 写真の左右まん中に置く */
  padding: 6px 28px; border: 1px solid var(--text); border-radius: 40px; line-height: 1.4;
  font-family: var(--en); white-space: nowrap; transition: background .4s, color .4s;
}
.tel-label { font-size: 13px; letter-spacing: .15em; }
.tel-num { font-family: var(--num); font-variant-numeric: lining-nums; font-size: 19px; letter-spacing: .08em; }
.tel-btn:hover { background: var(--text); color: var(--white); }

/* ---- カートのアイコン（線で描く） ---- */
.icon-cart { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nav-shop { display: inline-flex; align-items: center; gap: 8px; }

/* ===== 7. スタッフ紹介 ===== */
.team-body { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.team-photo figcaption { margin-top: 10px; font-size: 12px; color: var(--text-soft); }
.team-text p + p { margin-top: 16px; }

/* ===== 8. 店舗情報 ===== */
.info { background: var(--white); }
.info-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
.info-card img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.info-card h3 { font-family: var(--en); font-weight: 400; font-size: 30px; margin-bottom: 12px; }
.info-card dd { font-family: "Lora", var(--ja); font-variant-numeric: lining-nums; } /* 数字はLora、漢字やかなは和文で表示 */
.info-card dd small { font-family: var(--ja); }
.info-card dl { display: grid; grid-template-columns: 5.5em 1fr; border-top: 1px solid var(--line); }
.info-card dt, .info-card dd { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.info-card dt { color: var(--text-soft); }
.info-card dd a { border-bottom: 1px solid var(--text); }
.map { max-width: var(--max); margin: 48px auto 0; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(.4) sepia(.15); }

/* ===== 9. よくある質問 ===== */
.faq-list { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; color: inherit; font: inherit; font-weight: 500; letter-spacing: inherit;
  padding: 22px 40px 22px 0; position: relative;
}
/* 印：細い線2本の「＋」。開くと縦の線がくるっと寝て「−」になる */
.faq-icon { position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; translate: 0 -50%; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px;
  background: var(--wheat); transition: transform .6s ease, opacity .6s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(180deg); opacity: 0; }
/* 答え：高さ0 → 中身の高さへ、ゆっくり下に開く（.6s を大きくするともっとゆっくり） */
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s ease, opacity .6s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a p { padding: 0 0 22px; font-size: 14px; color: var(--text-soft); }

/* ===== 10. 写真の大きなリンク（通販・インスタ） ===== */
.panels { padding: 0; display: grid; }
.panel { position: relative; display: block; overflow: hidden; color: var(--white); min-height: 360px; }
.panel img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.panel::after { content: ""; position: absolute; inset: 0; background: rgba(40, 32, 26, .38); transition: background .6s; }
.panel:hover img { transform: scale(1.04); }
.panel:hover::after { background: rgba(40, 32, 26, .5); }
.panel-text { position: absolute; left: 28px; right: 90px; bottom: 36px; z-index: 1; }
.panel-title { font-family: var(--en); font-size: 40px; line-height: 1.15; white-space: nowrap; }
.panel-desc { margin-top: 8px; font-size: 13px; line-height: 1.8; opacity: .9; }
.arrow {
  position: absolute; right: 28px; bottom: 40px; z-index: 1;
  width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; transition: background .4s, color .4s;
}
.panel:hover .arrow { background: var(--white); color: var(--text); }

/* ===== フッター（こげ茶） ===== */
.footer { background: #5a4a3d; color: #f3ece2; font-size: 13px; padding: 64px 24px 40px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.footer .logo-main { font-size: 36px; }
.footer-insta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; display: block; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer-head { font-family: var(--en); font-size: 26px; margin-bottom: 14px; }
.footer-cols a { display: block; padding: 3px 0; opacity: .9; }
.footer-cols a:hover, .footer-sub a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 56px; display: grid; gap: 16px; font-size: 12px; }
.footer-sub { display: flex; flex-wrap: wrap; gap: 6px 0; }
.footer-sub a + a::before { content: "|"; margin: 0 14px; opacity: .6; }
.copy { font-family: var(--en); letter-spacing: .06em; opacity: .85; }


/* ===== ふわっと出る動き（控えめ） ===== */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 1.2s ease, transform 1.2s ease; }
.fade.is-show { opacity: 1; transform: none; }
html[style*="--fade-off"] .fade { transition: none; }
html[style*="--fade-off"] .mock-tag { position: absolute; top: 90px; bottom: auto; }
html[style*="--fade-off"] .header { position: absolute; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   パソコン（幅 900px 以上）
   ========================================================= */
@media (min-width: 900px) {
  body { font-size: 16.75px; }
  .pc { display: inline; }
  .sp { display: none; }
  section { padding: 150px 40px; }

  /* 見出し：左に「小さな日本語＋大きな英字」、右に文章 */
  .section-head { grid-template-columns: minmax(0, 1.35fr) 1fr; gap: 48px; align-items: end; margin-bottom: 72px; }
  .section-head .en-title { white-space: nowrap; font-size: clamp(56px, 6.6vw, 92px); }
  .section-head.is-stack { grid-template-columns: 1fr; } /* 文を見出しの下に1行で置くとき */
  .section-lead.under { white-space: nowrap; margin-top: 24px; }
  .sh-right { padding-bottom: 14px; }
  .catch { font-size: 22px; }

  .header { padding: 20px 40px; }
  .menu-btn { display: none; }
  .nav { position: static; flex-direction: row; align-items: center; gap: 26px; padding: 0; background: none; border: 0; opacity: 1; visibility: visible; }
  .nav a { border: 0; padding: 0; font-size: 14px; }
  .nav a:hover { color: var(--wheat); }
  .nav-shop { padding: 9px 26px !important; border: 1px solid var(--text) !important; border-radius: 30px; color: var(--text); transition: background .4s, color .4s; }
  .nav-shop:hover { background: var(--text); color: var(--white) !important; }

  .hero { padding-top: 86px; } /* ヘッダーの高さぶん */
  .hero-split { grid-template-columns: 1fr 1fr; }
  .hero-shop { height: calc(100svh - 86px); min-height: 520px; max-height: 900px; }
  .hero-name { font-size: clamp(44px, 4.6vw, 68px); }
  .hero-text { padding-top: 52px; }  .hero h1 { font-size: 32px; }

  .nav-insta .sp-only { display: none; } /* PCでは印だけ */
  .nav-insta { margin-left: -10px; transition: opacity .4s; }
  .nav-insta:hover { opacity: .6; }

  .about-body { grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch; }
  /* 「おいしさのための、引き算。」を写真の上の端に、最後の文を写真の下の端にそろえる */
  .about-text { display: flex; flex-direction: column; justify-content: space-between; }
  .about-text .catch { margin: -.62em 0 32px; }   /* 行の上のすき間ぶん引き上げる */
  .about-lead { margin-bottom: -.45em; }          /* 行の下のすき間ぶん下げる */
  .cards { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  /* 文のかたまりを右に寄せて、長いほうの行の終わりを「ハード系・バゲット」の写真の右端にそろえる（文そのものは左ぞろえ） */
  .note { width: fit-content; margin-left: auto; margin-right: max(0px, calc((100% - var(--max)) / 2)); text-align: left; }
  .menu-time { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .kakigori { grid-template-columns: 1fr 1fr; align-items: center; padding: 64px; gap: 64px; }
  .en-sub { font-size: 64px; }
  .reserve-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .panels { grid-template-columns: 1fr 1fr; }
  .panel { min-height: 460px; }
  .panel-text { left: 48px; bottom: 56px; }
  .panel-title { font-size: 72px; }
  .arrow { right: 48px; bottom: 60px; width: 64px; height: 64px; }
  .footer { padding: 88px 40px 48px; }
  .footer-cols { grid-template-columns: repeat(4, max-content); gap: 0 90px; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; margin-top: 88px; }
  .team-body { grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .map iframe { height: 400px; }
  .faq-list { max-width: 880px; }
  .mock-tag { font-size: 12px; }
}
