/* =========================================================
   bakery cafe hocco ｜ カフェ・パン屋向けサンプルHP
   制作: まるっと佐世保
   温かい / クリーム × ブラウン / 丸ゴシック・手書き / 親しみ
   ========================================================= */

:root {
  --cream:    #fbf4e7;
  --cream-2:  #f4e8d3;
  --paper:    #ffffff;
  --brown:    #8a5a2b;
  --brown-dk: #6e451f;
  --tomato:   #cf5a40;
  --text:     #4a3c2c;
  --text-dim: #8a7a64;
  --line:     #e7d8bf;
  --maxw: 1080px;
  --hand: "Caveat", cursive;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--round); font-weight: 500; color: var(--text); background: var(--cream); line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Sample brand bar ---------- */
.sample-bar { position: sticky; top: 0; z-index: 200; display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; background: linear-gradient(90deg, #f5901f, #f7a945); color: #fff; padding: 8px 18px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.sample-bar__tag { background: #fff; color: #d97706; border-radius: 4px; padding: 2px 8px; font-size: 11px; letter-spacing: 1px; }
.sample-bar__text { font-weight: 500; }
.sample-bar__text strong { font-weight: 900; }
.sample-bar__cta { background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.7); border-radius: 999px; padding: 4px 14px; transition: background 0.2s; }
.sample-bar__cta:hover { background: rgba(0,0,0,0.3); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 37px; z-index: 150; background: rgba(251,244,231,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 14px 22px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.brand__name { font-size: 28px; font-weight: 900; letter-spacing: 1px; color: var(--brown); }
.brand__ja { font-size: 10px; letter-spacing: 2px; color: var(--text-dim); }
.gnav { display: flex; gap: 24px; }
.gnav a { font-size: 14px; font-weight: 700; color: var(--text); position: relative; padding: 4px 0; transition: color 0.2s; }
.gnav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--brown); border-radius: 2px; transition: width 0.25s; }
.gnav a:hover { color: var(--brown); }
.gnav a:hover::after { width: 100%; }
.tel-btn { background: var(--brown); color: #fff; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 999px; white-space: nowrap; transition: background 0.2s, transform 0.15s; }
.tel-btn:hover { background: var(--brown-dk); transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 30px; border-radius: 999px; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn--lg { padding: 15px 34px; }
.btn--brown { background: var(--brown); color: #fff; box-shadow: 0 8px 18px rgba(138,90,43,0.28); }
.btn--brown:hover { background: var(--brown-dk); transform: translateY(-2px); }
.btn--cream { background: #fff; color: var(--brown); border: 2px solid var(--brown); }
.btn--cream:hover { background: var(--cream-2); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: 1240px; margin: 0 auto; padding: 40px 22px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.hero__photo { aspect-ratio: 4/3; border-radius: 24px; position: relative; background: radial-gradient(circle at 65% 30%, rgba(255,255,255,0.4), transparent 55%), linear-gradient(150deg, #e3b878 0%, #c98c4c 60%, #a96e34 100%); box-shadow: 0 20px 40px rgba(138,90,43,0.2); }
.hero__photo span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--hand); font-size: 30px; color: rgba(255,255,255,0.9); }
.hero__card { padding: 30px clamp(12px, 4vw, 50px); }
.hero__hand { font-family: var(--hand); font-size: 30px; color: var(--tomato); line-height: 1; margin-bottom: 12px; }
.hero__title { font-size: clamp(30px, 5vw, 46px); font-weight: 900; line-height: 1.5; letter-spacing: 1px; }
.hero__lead { margin-top: 20px; font-size: 15px; color: var(--text-dim); line-height: 2; }
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Tape marquee ---------- */
.tape { background: var(--brown); color: var(--cream); overflow: hidden; padding: 12px 0; }
.tape__track { display: inline-flex; gap: 40px; white-space: nowrap; animation: tape 18s linear infinite; }
.tape__track span { font-size: 15px; font-weight: 700; letter-spacing: 1px; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section headings ---------- */
.sec-hand { font-family: var(--hand); font-size: 30px; color: var(--tomato); line-height: 1; }
.sec-hand.center { text-align: center; }
.sec-ja { font-size: clamp(24px, 4.5vw, 34px); font-weight: 900; letter-spacing: 1px; line-height: 1.5; }
.sec-ja.center { text-align: center; margin-bottom: 44px; }

/* ---------- About ---------- */
.about { max-width: var(--maxw); margin: 0 auto; padding: 90px 22px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.about__photo { aspect-ratio: 4/3; border-radius: 20px; position: relative; background: linear-gradient(150deg, #e7c697, #c98c4c); }
.about__photo::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--hand); font-size: 24px; color: rgba(255,255,255,0.9); }
.about__body .sec-ja { margin: 6px 0 18px; }
.about__body p { font-size: 15px; color: var(--text-dim); line-height: 2.1; }
.about__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about__tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--brown); }

/* ---------- Menu ---------- */
.menu { background: var(--cream-2); padding: 90px 22px; }
.menu-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.item { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 20px rgba(138,90,43,0.08); transition: transform 0.25s, box-shadow 0.25s; }
.item:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(138,90,43,0.16); }
.item__photo { height: 160px; position: relative; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.3), transparent 55%), linear-gradient(135deg, #d99f5e, #b3742f); }
.item__photo::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--hand); font-size: 24px; color: rgba(255,255,255,0.92); }
.item__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 16px 18px 0; }
.item__row h3 { font-size: 17px; font-weight: 900; }
.item__row b { font-size: 16px; color: var(--tomato); white-space: nowrap; }
.item p { padding: 6px 18px 18px; font-size: 13px; color: var(--text-dim); line-height: 1.8; }
.menu__note { text-align: center; margin-top: 34px; font-size: 13px; color: var(--text-dim); }

/* ---------- Gallery ---------- */
.gallery { max-width: var(--maxw); margin: 0 auto; padding: 90px 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.ph { border-radius: 16px; position: relative; background: linear-gradient(150deg, #e7c697, #c98c4c); }
.ph::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--hand); font-size: 22px; color: rgba(255,255,255,0.9); }
.ph--big { grid-column: span 2; grid-row: span 2; }

/* ---------- Access ---------- */
.access { background: var(--cream-2); padding: 90px 22px; }
.access-wrap { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.access-map { position: relative; border-radius: 20px; min-height: 320px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: repeating-linear-gradient(0deg, rgba(138,90,43,0.06) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(138,90,43,0.06) 0 1px, transparent 1px 28px), #fff; }
.access-map__pin { font-size: 40px; }
.access-map__note { font-size: 12px; color: var(--text-dim); }
.access-info dl { display: flex; flex-direction: column; }
.access-info dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.access-info dt { font-weight: 900; color: var(--brown); font-size: 14px; }
.access-info dd { font-size: 14.5px; }
.access-info dd a { color: var(--brown); }
.access-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dk); color: #f3e6d3; text-align: center; padding: 56px 22px 40px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand__name { font-size: 30px; font-weight: 900; display: block; }
.footer-brand__ja { font-family: var(--hand); font-size: 20px; color: #e9caa0; }
.footer-addr { font-size: 13px; color: rgba(243,230,211,0.65); }
.footer-note { margin: 26px auto 0; max-width: 560px; font-size: 12.5px; line-height: 1.9; color: rgba(243,230,211,0.75); background: rgba(245,144,31,0.14); border: 1px dashed rgba(245,144,31,0.55); border-radius: 14px; padding: 16px 20px; }
.footer-note strong { color: #ffb866; }
.footer-note em { font-style: normal; color: #fff; }
.footer-credit { display: inline-block; margin-top: 20px; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, #f7a945, #f5901f); border-radius: 999px; padding: 11px 26px; box-shadow: 0 6px 16px rgba(245,144,31,0.3); transition: transform 0.15s; }
.footer-credit:hover { transform: translateY(-2px); }
.copyright { margin-top: 26px; font-size: 11px; color: rgba(243,230,211,0.5); letter-spacing: 1px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gnav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 30px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ph--big { grid-column: span 2; grid-row: span 1; }
  .access-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { gap: 12px; padding: 12px 16px; }
  .brand__name { font-size: 23px; }
  .tel-btn { padding: 8px 14px; font-size: 13px; }
  .about, .menu, .gallery, .access { padding: 60px 18px; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .site-header { top: 56px; }
}
