/* ==========================================================
   Pink 8ight LP - style.css
   ブランドカラーは下の CSS 変数を書き換えるだけで全体に反映されます
   ========================================================== */
:root {
  --pink: #EC2E7C;          /* ショッキングピンク(車体の色) */
  --pink-deep: #C4165F;
  --turquoise: #2AACC8;     /* ターコイズブルー(ロゴの8の色) */
  --paper: #FFF8EE;         /* 紙コップ色の下地 */
  --ink: #2E2024;           /* 手描き看板の墨色 */
  --sun: #FFD34D;           /* ステッカーの黄色 */
  --font-display: "Mochiy Pop One", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-hand: "Yusei Magic", sans-serif;
  --font-logo: "Pacifico", cursive;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); }

:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; }

.logo-eight { color: var(--turquoise); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0.55em 1.4em;
  border: var(--line);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--paper { background: var(--paper); color: var(--pink-deep); }
.btn--ghost { background: transparent; color: #FFFFFF; border-color: #FFFFFF; box-shadow: 5px 5px 0 rgba(46, 32, 36, 0.35); }
.btn--ghost:hover { box-shadow: 7px 7px 0 rgba(46, 32, 36, 0.35); }
.btn--pink { background: var(--pink); color: #FFFFFF; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: var(--line);
  z-index: 100;
}
.header__inner {
  max-width: 1040px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  color: var(--pink);
  text-decoration: none;
}
.header__nav ul { display: flex; gap: 26px; list-style: none; }
.header__nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.header__nav a:hover { color: var(--pink); }

.header__toggle { display: none; }

@media (max-width: 767px) {
  .header__toggle {
    display: block;
    position: relative;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
  }
  .header__toggle span {
    position: absolute;
    left: 10px;
    width: 24px; height: 3px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s, opacity 0.25s;
  }
  .header__toggle span:nth-child(1) { top: 14px; }
  .header__toggle span:nth-child(2) { top: 21px; }
  .header__toggle span:nth-child(3) { top: 28px; }
  .header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__toggle.is-open span:nth-child(2) { opacity: 0; }
  .header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: var(--line);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .header__nav.is-open { transform: translateY(0); }
  .header__nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .header__nav li { text-align: center; }
  .header__nav a { display: block; padding: 13px 0; }
}

/* ---------- テント地(オーニング)とスカラップ縁 ---------- */
/* ヒーロー最上部:白×濃ピンクのストライプ庇 */
.awning {
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M0 0h40v22a20 20 0 0 1-40 0z' fill='%23FFF8EE'/%3E%3Cpath d='M40 0h40v22a20 20 0 0 1-40 0z' fill='%23C4165F'/%3E%3C/svg%3E");
  background-size: 80px 40px;
  background-repeat: repeat-x;
}
/* セクション境界:前のセクションの色の半円が垂れ下がる */
.scallop { height: 22px; background-size: 44px 22px; background-repeat: repeat-x; }
.scallop--pink {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 0h44a22 22 0 0 1-44 0z' fill='%23EC2E7C'/%3E%3C/svg%3E");
}
.scallop--paper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 0h44a22 22 0 0 1-44 0z' fill='%23FFF8EE'/%3E%3C/svg%3E");
}

/* ---------- スナップ写真(テープ留め) ---------- */
.snapshot {
  background: #FFFFFF;
  border: var(--line);
  box-shadow: var(--shadow);
  padding: 12px 12px 8px;
  position: relative;
}
.snapshot img { border: 2px solid var(--ink); }
.snapshot figcaption {
  font-family: var(--font-hand);
  font-size: 0.9rem;
  text-align: center;
  padding-top: 6px;
  color: var(--ink);
}
.tape {
  position: absolute;
  width: 84px; height: 26px;
  background: rgba(255, 235, 170, 0.85);
  border-left: 2px dashed rgba(46, 32, 36, 0.25);
  border-right: 2px dashed rgba(46, 32, 36, 0.25);
  z-index: 1;
}
.tape--tl { top: -12px; left: -26px; transform: rotate(-40deg); }
.tape--br { bottom: -12px; right: -26px; transform: rotate(-40deg); }
.tape--tc { top: -14px; left: 50%; transform: translateX(-50%) rotate(3deg); }

/* ---------- ヒーロー ---------- */
.hero {
  background: var(--pink);
  color: #FFFFFF;
  padding-top: var(--header-h);
}
.hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px 72px;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero__text { position: relative; }
.hero__flag {
  width: 68px;
  margin-bottom: 20px;
  transform: rotate(-5deg);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 4.6vw, 2.9rem);
  line-height: 1.55;
  text-shadow: 3px 3px 0 var(--pink-deep);
}
.hero__lead {
  margin: 22px 0 30px;
  max-width: 34em;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}
.hero__buttons { display: flex; gap: 18px; flex-wrap: wrap; }

.hero__photo { transform: rotate(2deg); max-width: 420px; justify-self: center; }

@media (min-width: 820px) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; padding-top: 56px; }
  .hero__photo { justify-self: end; }
}

/* ---------- セクション共通 ---------- */
.section__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 20px 80px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  margin-bottom: 36px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.section__note {
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--pink-deep);
  transform: rotate(-2deg);
}
.section__title--white { color: #FFFFFF; }
.section__note--white { color: var(--sun); }
.section__disclaimer { margin-top: 18px; font-size: 0.85rem; opacity: 0.75; }

/* ---------- お店のこと ---------- */
.about__grid { display: grid; gap: 48px; align-items: start; }
.about__catch {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: var(--pink);
  margin-bottom: 18px;
  line-height: 1.6;
}
.about__text p + p { margin-top: 12px; }
.about__facts { margin-top: 28px; border-top: 2px dashed var(--ink); }
.about__facts > div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 2px dashed var(--ink);
  font-size: 0.95rem;
}
.about__facts dt { font-weight: 900; color: var(--pink-deep); }
.about__photo { transform: rotate(-2deg); max-width: 380px; justify-self: center; margin-top: 10px; }

@media (min-width: 820px) {
  .about__grid { grid-template-columns: 1.25fr 1fr; }
  .about__photo { justify-self: end; }
}

/* ---------- メニュー(手書き看板) ---------- */
.board {
  background: #FFFFFF;
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px clamp(18px, 4vw, 44px) 24px;
  max-width: 720px;
}
.board__head {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  text-align: center;
  border-bottom: var(--line);
  padding-bottom: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.15em;
}
.board__list { list-style: none; }
.board__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  position: relative;
}
.board__item + .board__item { border-top: 2px dotted rgba(46, 32, 36, 0.35); }
.syrup {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--syrup, var(--pink));
}
.syrup--duo { background: linear-gradient(90deg, var(--pink) 50%, var(--turquoise) 50%); }
.board__name {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.board__name small {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 0.82rem;
  color: rgba(46, 32, 36, 0.7);
}
.board__price {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--pink-deep);
  white-space: nowrap;
}
.board__price small { font-size: 0.8rem; margin-left: 2px; }
.board__foot {
  font-family: var(--font-hand);
  font-size: 0.88rem;
  text-align: center;
  border-top: var(--line);
  padding-top: 12px;
  margin-top: 8px;
}
.badge {
  position: absolute;
  right: 5rem; top: -6px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--sun);
  border: var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.7rem;
  line-height: 1.3;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(8deg);
  z-index: 1;
}
@media (min-width: 600px) {
  .badge { right: 8rem; top: -10px; width: 66px; height: 66px; font-size: 0.72rem; }
}

/* ---------- 出店予定 ---------- */
.week { list-style: none; max-width: 720px; }
.week__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 2px dashed rgba(46, 32, 36, 0.4);
}
.week__row:first-child { border-top: 2px dashed rgba(46, 32, 36, 0.4); }
.week__day {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: var(--line);
  background: #FFFFFF;
  color: var(--pink-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}
.week__place { font-weight: 700; }
.week__time { margin-left: auto; font-family: var(--font-hand); font-size: 0.95rem; white-space: nowrap; }
.week__row--closed .week__day { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.week__row--closed .week__place { font-family: var(--font-hand); font-weight: 400; opacity: 0.65; }
.week__note { margin-top: 22px; max-width: 720px; font-size: 0.92rem; }
.week__note a { font-weight: 700; }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--turquoise); color: #FFFFFF; }
.contact .section__inner { padding-bottom: 88px; }
.contact__grid { display: grid; gap: 28px; max-width: 880px; }
.contact__card {
  background: var(--paper);
  color: var(--ink);
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px 26px 30px;
}
.contact__card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.contact__card p { font-size: 0.95rem; margin-bottom: 20px; }

@media (min-width: 700px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 44px 20px 30px; text-align: center; }
.footer__logo { font-family: var(--font-logo); font-size: 1.8rem; color: var(--pink); margin-bottom: 16px; }
.footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 22px; }
.footer__nav a { color: var(--paper); text-decoration: none; font-size: 0.9rem; font-weight: 700; }
.footer__nav a:hover { text-decoration: underline; }
.footer__copy { font-size: 0.8rem; opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
