/* ===========================================================
   みにっちゃ — ミニチュアフード ホームページ
   ミルク × たまごの黄身 × 抹茶 × いちごミルクの、
   ちいさくて可愛い手づくりの雰囲気。
   =========================================================== */

:root {
  --milk: #FCF6EE;        /* ミルクの地色 */
  --cream: #F6ECDD;       /* 一段濃いクリーム */
  --paper: #FFFFFF;
  --ink: #5A4A3B;         /* やわらかいこげ茶 */
  --ink-soft: #8C7E6E;    /* 薄い茶 */
  --yolk: #F0A85B;        /* たまごの黄身（メイン暖色）*/
  --yolk-deep: #E08C3C;
  --matcha: #9CAA7E;      /* やわらかい抹茶（差し色）*/
  --berry: #EC9DA2;       /* いちごミルク（可愛さ要員・少量）*/
  --navy: #42415F;        /* 作品背景・フッターの紺 */
  --line: #EADCCB;
  --shadow: rgba(90, 74, 59, .13);
  --shadow-soft: rgba(90, 74, 59, .08);
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--milk);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  font-weight: 500;
  line-height: 1.95;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1080px, 90vw); margin: 0 auto; }

.sp_only {
  display: none;
  @media (max-width: 768px) {
    display: block;    
  }
}
.pc_only {
  display: block;
  @media (max-width: 768px) {
    display: none;    
  }
}
.bold {
  font-weight: bold;
}
/* 水玉の背景アクセント */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.6px);
  background-size: 26px 26px; opacity: .35;
}

.section { padding: 88px 0; }

/* ===== 見出し共通 ===== */
.section-head { text-align: center; margin-bottom: 50px; }

.section-en,
.eyebrow {
  font-family: "Fredoka", sans-serif; font-weight: 500;
  font-size: .92rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--yolk-deep);
  display: inline-flex; align-items: center; gap: .6em;
}
.section-en::before,
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yolk); display: inline-block; }
.section-head .section-en { justify-content: center; }
.section-head .section-en::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yolk); display: inline-block; }

.section-title {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: clamp(1.6rem, 3.8vw, 2.4rem); letter-spacing: .06em;
  color: var(--ink); margin-top: 10px;
}
.section-desc {  color: var(--ink-soft); margin-top: 12px; font-size: .9rem; }


/* ===== ボタン ===== */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--yolk); color: #fff; box-shadow: 0 12px 26px var(--shadow); }
.btn-primary:hover { background: var(--yolk-deep); transform: translateY(-2px); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--yolk); color: var(--yolk-deep); transform: translateY(-2px); }
.btn-small { padding: 8px 18px; font-size: .85rem; background: var(--navy); color: #fff; }
.btn-small:hover { background: #565578; }

/* ===== ヘッダー ===== */
.vdbanner { display: none!important;}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 246, 238, .9);
  backdrop-filter: blur(8px);
  border-bottom: 2px dotted var(--line);
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 1.5rem; letter-spacing: .02em; color: var(--ink);
  display: inline-flex; align-items: center; gap: .45em; line-height: 1.1;
}
.logo span {
  font-size: .58rem; color: var(--yolk-deep); letter-spacing: .14em;
  font-family: "Fredoka", sans-serif; font-weight: 500;
}
.logo .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 4px rgba(236, 157, 162, .25); }
/* ハンバーガーメニュー（全幅で適用） */
.nav {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 230px; padding: 14px;
  background: var(--milk); border: 2px dotted var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav.open { opacity: 1; visibility: visible; transform: none; }
.nav-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav a {
  display: block;
  font-family: "Fredoka", sans-serif; font-weight: 500;
  font-size: .98rem; letter-spacing: .1em; color: var(--ink-soft);
  padding: 11px 14px; border-radius: 12px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--yolk-deep); background: var(--cream); }
.nav-cta { margin-top: 4px; background: var(--yolk); color: #fff !important; text-align: center; padding: 11px 14px; border-radius: 12px; letter-spacing: .04em; }
.nav-cta:hover { background: var(--yolk-deep); color: #fff !important; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
  background: none; border: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta {
  font-family: "Fredoka", sans-serif; font-weight: 500; font-size: .9rem; letter-spacing: .08em;
  color: #fff; background: var(--yolk); padding: 9px 18px; border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.header-cta:hover { background: var(--yolk-deep); transform: translateY(-1px); }
@media (max-width: 420px) { .header-cta { padding: 8px 14px; font-size: .82rem; letter-spacing: .04em; } }

/* ===== ヒーロー ===== */
.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(236, 157, 162, .28) 0%, transparent 44%),
    radial-gradient(circle at 8% 82%, rgba(240, 168, 91, .22) 0%, transparent 42%),
    var(--milk);
  padding: 74px 0 64px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-sub { margin-bottom: 18px; }
.hero-title {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 3.3rem); line-height: 1.45; letter-spacing: .03em;
  color: var(--ink);
}
.hero-title .mark { color: var(--yolk-deep); position: relative; white-space: nowrap; }
.hero-title .mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .05em; height: .42em;
  background: rgba(240, 168, 91, .28); border-radius: 6px; z-index: -1;
}
.hero-lead { margin: 24px 0 32px; color: var(--ink-soft); line-height: 2.1; max-width: 30em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* オープン告知バッジ */
.open-badge {
  display: inline-flex; flex-direction: column; gap: 3px; position: relative;
  margin-top: 30px;
  background: linear-gradient(135deg, var(--yolk) 0%, var(--berry) 100%); color: #fff; border-radius: 22px;
  padding: 18px 30px; box-shadow: 0 14px 30px rgba(224, 140, 60, .35);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.open-badge:hover {
  transform: translateY(-10px);
  opacity: 0.6;
}
.open-badge::before {
  content: ""; position: absolute; top: -9px; left: 30px; width: 18px; height: 18px;
  background: #F6D0D3; border-radius: 50%;
  box-shadow: 26px 0 0 #F8D6A8, 52px 0 0 #CCD6BC;
}

.open-badge .ob-label { font-family: "Fredoka", sans-serif; font-weight: 600; letter-spacing: .2em; font-size: .9rem; color: #FFE45C; text-shadow: 0 1px 2px rgba(180, 90, 40, .35); margin-top: 6px; }
.open-badge .ob-date { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 1.55rem; letter-spacing: .04em; }
.open-badge .ob-date .yr { font-family: "Fredoka", sans-serif; }
.open-badge .ob-date .dw { font-size: .62em; font-family: "Fredoka", sans-serif; letter-spacing: .08em; }
.open-badge .ob-place { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: .98rem; letter-spacing: .06em; margin-top: 2px; display: inline-flex; align-items: center; gap: .35em; }
.open-badge .ob-time { font-size: .84rem; letter-spacing: .04em; opacity: .9; }

.hero-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 320px; }
.hero-frame {
  max-width: 100%;
  border-radius: 28px; overflow: hidden; border: 6px solid #fff;
  box-shadow: 0 24px 54px var(--shadow);
}
.hero-frame img { width: 100%; display: block; }

/* ヒーロー写真のクロスフェード・カルーセル */
.hero-carousel { position: relative; }
.hc-track { position: relative; }
.hc-slide { width: 100%; display: block; }
.hc-slide:not(:first-child) { position: absolute; inset: 0; }
.hc-slide { opacity: 0; transition: opacity 1s ease-in-out; }
.hc-slide.is-active { opacity: 1; }

/* 左右の矢印 */
.hc-arrow {
  -webkit-appearance: none; appearance: none;
  position: absolute; top: 50%; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; padding: 0;
  display: grid; place-content: center;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  backdrop-filter: blur(6px) saturate(1.1);
  box-shadow: 0 8px 20px rgba(90, 74, 59, .22);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
  transform: translateY(-50%);
}
.hc-arrow svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.hc-arrow:hover {
  background: var(--yolk-deep); color: #fff;
  border-color: var(--yolk-deep);
  box-shadow: 0 10px 24px rgba(224, 140, 60, .4);
  transform: translateY(-50%) scale(1.08);
}
.hc-arrow:active { transform: translateY(-50%) scale(.96); }
.hc-arrow:focus-visible { outline: 2px solid var(--yolk-deep); outline-offset: 3px; }
.hc-prev { left: 14px; }
.hc-next { right: 14px; }
.hc-prev svg { margin-right: 2px; }
.hc-next svg { margin-left: 2px; }

/* カルーセル下のドット */
.hc-dots {
  display: flex; justify-content: center; gap: 12px;
  margin-top: 20px;
}
.hc-dot {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%; padding: 0;
  border: none; cursor: pointer;
  background: var(--ink-soft); opacity: .45;
  transition: opacity .25s, background .25s, transform .25s;
}
.hc-dot:hover { opacity: .8; }
.hc-dot.is-active { background: var(--yolk-deep); opacity: 1; transform: scale(1.35); }

/* 手づくりスタンプ（ヒーロー写真の角）*/
.hero-stamp {
  position: absolute; right: -14px; bottom: -20px; z-index: 3;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--paper); border: 2.5px dashed var(--matcha);
  box-shadow: 0 10px 24px var(--shadow);
  display: grid; place-content: center; text-align: center;
  transform: rotate(-11deg);
  font-family: "Zen Maru Gothic", sans-serif; color: var(--ink);
}
.hero-stamp .hs-top { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--matcha); }
.hero-stamp .hs-main { font-size: 1.2rem; font-weight: 900; letter-spacing: .04em; line-height: 1.25; }
.hero-stamp .hs-heart { font-size: .82rem; color: var(--berry); margin-top: 1px; }
@media (max-width: 520px) {
  .hero-stamp { width: 88px; height: 88px; right: -6px; bottom: -12px; }
  .hero-stamp .hs-main { font-size: 1rem; }
  .hero-stamp .hs-top { font-size: .64rem; }
}


/* ===== 実店舗オープン告知 ===== */
.openinfo {
  position: relative; overflow: hidden;
  background: var(--milk); color: var(--ink); text-align: center;
  padding: 84px 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(240, 168, 91, .16) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 18%, rgba(236, 157, 162, .18) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 76%, rgba(156, 170, 126, .18) 0 2px, transparent 3px),
    radial-gradient(rgba(255, 255, 255, .05) 1.2px, transparent 1.4px);
  background-size: auto, auto, auto, 28px 28px;
}
.openinfo::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--yolk) 0 18px, var(--berry) 18px 36px, var(--matcha) 36px 54px);
}
.openinfo .container { position: relative; z-index: 1; }
.oi-eyebrow {
  font-family: "Fredoka", sans-serif; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; font-size: .95rem; color: var(--yolk-deep);
  display: inline-flex; align-items: center; gap: .7em;
}
.oi-eyebrow::before, .oi-eyebrow::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yolk); display: inline-block; }
.oi-title {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: clamp(1.7rem, 4.6vw, 2.8rem); letter-spacing: .05em; line-height: 1.5;
  color: var(--berry); margin: 16px 0 6px;
}
.oi-title .hl { color: var(--yolk-deep); position: relative; white-space: nowrap; }
.oi-sub { font-size: 1rem; letter-spacing: .04em; opacity: .9; margin-top: 4px; }
.oi-date {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: .04em; color: var(--berry); margin: 18px 0 6px;
}
.oi-date .yr { font-family: "Fredoka", sans-serif; font-weight: 600; }
.oi-date .dw { font-size: .42em; font-family: "Fredoka", sans-serif; letter-spacing: .12em; color: #f6d4ad; vertical-align: middle; }
.oi-facts { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 24px 0 22px; }
.oi-fact {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 22px; text-align: left;
}
.oi-fact .lbl { display: block; font-family: "Fredoka", sans-serif; letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; color: var(--yolk-deep); margin-bottom: 2px; }
.oi-fact .val { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--berry); }
.oi-address { font-style: normal; font-size: .95rem; line-height: 1.9; opacity: .92; margin-bottom: 4px; }
.oi-map { display: inline-block; margin: 4px 0 26px; font-family: "Fredoka", sans-serif; font-weight: 500; letter-spacing: .04em; font-size: .9rem; color: var(--matcha); border-bottom: 2px dotted rgba(156, 170, 126, .6); padding-bottom: 2px; }
.oi-map:hover { color: #b9c79a; }
.oi-mapframe {
  max-width: 660px; margin: 6px auto 26px; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden; border: 5px solid #fff;
  box-shadow: 0 16px 40px var(--shadow);
}
.oi-mapframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.openinfo .btn-primary { box-shadow: 0 12px 28px var(--shadow); }

/* ===== こだわり ===== */
.about { background: var(--cream); border-top: 2px dotted var(--line); border-bottom: 2px dotted var(--line); text-align: center; }
.about-statement {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: clamp(1.15rem, 2.8vw, 1.6rem); letter-spacing: .05em; line-height: 2.3;
  color: var(--ink); max-width: 32em; margin: 0 auto;
}
.about-statement .em { color: var(--matcha); }
.about-statement .em2 { color: var(--berry); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--paper); border-radius: var(--radius); padding: 36px 28px;
  text-align: center; border: 1px solid #fff;
  box-shadow: 0 12px 30px var(--shadow-soft);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease;
}
.feature-card:hover { transform: translateY(-7px) rotate(-.6deg); box-shadow: 0 24px 46px var(--shadow); }
.feature-icon { font-size: 2.6rem; margin-bottom: 16px; }
.feature-card h3 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; color: var(--ink); margin-bottom: 10px; font-size: 1.18rem; letter-spacing: .03em; }
.feature-card p { color: var(--ink-soft); font-size: .9rem; }

/* ===== ギャラリー ===== */
/* 大きく見せるフィーチャー作品 */
.gallery-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; margin-bottom: 50px; }
.gallery-feature .ph { border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 54px var(--shadow); transform: rotate(-1.2deg); }
.gallery-feature .ph img { width: 100%; display: block; }
.gallery-feature .cap h3 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 1.25rem; letter-spacing: .04em; color: var(--ink); margin-bottom: 12px; }
.gallery-feature .cap p { color: var(--ink-soft); font-size: .98rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid #fff; box-shadow: 0 12px 30px var(--shadow-soft);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease;
}
.gallery-item:hover { transform: translateY(-7px) rotate(-.6deg); box-shadow: 0 24px 46px var(--shadow); }
.gallery-item .ph { aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: 4rem; overflow: hidden; }
.gallery-item .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery-item:hover .ph img { transform: scale(1.06); }
.gallery-item figcaption {
  padding: 16px 14px 20px; text-align: center;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: 1rem; letter-spacing: .03em; color: var(--ink);
}

/* プレースホルダー用の背景色（写真に差し替えたら不要） */
.ph-1 { background: linear-gradient(135deg, #fbe7c6, #f6d9a8); }
.ph-2 { background: linear-gradient(135deg, #f7d9d2, #f3c3b7); }
.ph-3 { background: linear-gradient(135deg, #d7ece0, #b9ddca); }
.ph-4 { background: linear-gradient(135deg, #e7ddf3, #d4c2ea); }
.ph-5 { background: linear-gradient(135deg, #fde2ea, #f9c5d5); }
.ph-6 { background: linear-gradient(135deg, #e2f0d7, #c8e3b0); }

/* ===== ショップ ===== */
.shop { background: var(--cream); border-top: 2px dotted var(--line); border-bottom: 2px dotted var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid #fff; box-shadow: 0 12px 30px var(--shadow-soft);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease;
}
.product-card:hover { transform: translateY(-7px) rotate(-.6deg); box-shadow: 0 24px 46px var(--shadow); }
.product-thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 3.4rem; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-body { padding: 22px; }
.product-body h3 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; color: var(--ink); font-size: 1.15rem; letter-spacing: .03em; }
.product-note { color: var(--ink-soft); font-size: .85rem; margin: 6px 0 16px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.3rem; color: var(--yolk-deep); }
/* 価格・受講料の取り消し線は二重線で目立たせる */
.product-meta s, .course-list s, s.section-desc {
  text-decoration: line-through solid var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0;
}
.shop-link { text-align: center; margin-top: 44px; }

/* ===== お知らせ / 更新情報 ===== */
.news { background: var(--paper); }
.news-list { max-width: 760px; margin: 0 auto; }
.news-item {
  display: grid; grid-template-columns: 102px 86px 1fr; gap: 18px; align-items: baseline;
  padding: 22px 6px; border-bottom: 2px dotted var(--line);
}
.news-item:last-child { border-bottom: none; }
.news-date { font-family: "Fredoka", sans-serif; font-weight: 500; color: var(--ink-soft); font-size: .92rem; letter-spacing: .04em; white-space: nowrap; }
.news-tag {
  justify-self: start; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .04em; color: #fff;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.news-tag.t-info { background: var(--yolk); }
.news-tag.t-new { background: var(--berry); }
.news-tag.t-course { background: var(--matcha); }
.news-tag.t-event { background: var(--navy); }
.news-body h3 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 1.04rem; letter-spacing: .02em; color: var(--ink); }
.news-body h3 a { color: inherit; transition: color .2s; }
.news-body h3 a:hover { color: var(--yolk-deep); }
.news-body p { font-size: .88rem; color: var(--ink-soft); margin-top: 5px; }
.news-body p .news-link { color: var(--yolk-deep); font-weight: 700; border-bottom: 2px dotted var(--line); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.news-body p .news-link:hover { color: var(--yolk); border-color: var(--yolk); }
.news-more { text-align: center; margin-top: 40px; }
@media (max-width: 560px) {
  .news-item { grid-template-columns: auto auto; gap: 10px 14px; }
  .news-body { grid-column: 1 / -1; margin-top: 2px; }
}

/* ===== プロフィール ===== */
.profile { background: var(--milk); }
.profile-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.profile-photo {
  font-size: 20px; line-height: 1.5; text-align: center;
  aspect-ratio: 1 / 1; border-radius: var(--radius);
  display: grid; place-items: center;
  border: 6px solid #fff; box-shadow: 0 24px 54px var(--shadow);
  transform: rotate(-1.4deg);
}
.profile-text .section-en, .profile-text .section-title { text-align: left; }
.profile-name {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: 1.5rem; letter-spacing: .08em; color: var(--ink); margin: 6px 0 4px;
}
.profile-name small { display: block; font-family: "Fredoka", sans-serif; font-size: .82rem; letter-spacing: .14em; color: var(--ink-soft); font-weight: 400; margin-top: 6px; }
.profile-text p { color: var(--ink-soft); margin: 16px 0 24px; line-height: 2.1; }
.profile-sig { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; color: var(--matcha); letter-spacing: .06em; margin: 0 0 24px; }
.sns-list { display: flex; gap: 20px; list-style: none; }
.sns-list a {
  font-family: "Fredoka", sans-serif; font-weight: 500;
  color: var(--yolk-deep); border-bottom: 2px dotted var(--line); padding-bottom: 2px; letter-spacing: .04em;
}
.sns-list a:hover { color: var(--yolk); border-color: var(--yolk); }

/* ===== ミニチュア講座 ===== */
.workshop { background: var(--cream); border-top: 2px dotted var(--line); border-bottom: 2px dotted var(--line); }
.workshop-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.workshop-photo { border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 54px var(--shadow); transform: rotate(1.2deg); }
.workshop-photo img { width: 100%; display: block; }
.workshop-text .section-en, .workshop-text .section-title { text-align: left; }
.workshop-text > p { color: var(--ink-soft); margin: 14px 0 24px; line-height: 2.1; }
.course-list { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.course-list li {
  background: var(--paper); border-radius: 16px; padding: 16px 20px;
  border: 1px solid #fff; box-shadow: 0 10px 24px var(--shadow-soft);
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline;
}
.course-list .course-name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; color: var(--ink); letter-spacing: .03em; }
.course-list .course-name small { display: block; font-weight: 500; font-size: .82rem; color: var(--ink-soft); letter-spacing: 0; margin-top: 2px; }
.course-list .course-fee { font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--yolk-deep); white-space: nowrap; }
.workshop-note { font-size: .82rem; color: var(--ink-soft); margin-top: 16px; }

/* ===== お問い合わせ ===== */
.contact { background: var(--milk); border-top: 2px dotted var(--line); }
.contact-form { width: min(620px, 100%); margin: 0 auto; display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 8px; font-size: .9rem; color: var(--ink); font-weight: 700; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: .95rem; padding: 14px 16px;
  border: 2px solid var(--line); border-radius: 14px;
  background: var(--paper); color: var(--ink); transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--yolk); }
.contact-form button { justify-self: center; margin-top: 8px; }

/* ===== フッター ===== */
.site-footer { background: var(--cream); color: var(--ink); padding: 48px 0 42px; margin-top: 0; position: relative; text-align: center; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--yolk) 0 18px, var(--berry) 18px 36px, var(--matcha) 36px 54px);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.logo-foot { font-family: "Mochiy Pop One", sans-serif; font-size: 1.7rem; letter-spacing: .03em; color: var(--ink); }
.footer-tag { font-family: "Fredoka", sans-serif; letter-spacing: .16em; font-size: .85rem; color: #f0c89a; }
.copyright { font-family: "Fredoka", sans-serif; letter-spacing: .08em; font-size: .74rem; opacity: .6; margin-top: 14px; }
.center {
  text-align: center; margin-top: 50px;
  max-width: 100%; overflow-x: hidden;
}
/* 外部広告バナー（468px等）を画面幅に収める */
.center img { max-width: 100%; height: auto; }

/* ===== スクロール演出 ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; border-radius: 6px; }

/* ===== レスポンシブ ===== */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .ruler { right: 8px; }
  .features, .gallery-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery-feature { grid-template-columns: 1fr; gap: 24px; }
  .gallery-feature .ph { transform: none; }
  .profile-inner { grid-template-columns: 1fr; text-align: center; }
  .profile-text .section-en, .profile-text .section-title { text-align: center; }
  .profile-text .section-en { justify-content: center; }
  .sns-list { justify-content: center; }
  .workshop-inner { grid-template-columns: 1fr; gap: 28px; }
  .workshop-photo { order: -1; transform: none; }
  .workshop-text .section-en, .workshop-text .section-title { text-align: center; }
  .workshop-text .section-en { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .features, .product-grid { grid-template-columns: 1fr; }
  /* ギャラリーは2列、ショップは1列 */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .logo { font-size: 1.4rem; }
  /* ヘッダーの横幅不足対策：ハンバーガー内にもお問い合わせがあるためCTAは非表示 */
  .header-cta { display: none; }
  /* 商品カードは横並び（サムネ左・本文右） */
  .product-card { display: flex; align-items: stretch; }
  .product-thumb { flex: 0 0 38%; aspect-ratio: 1 / 1; }
  .product-body { flex: 1; min-width: 0; padding: 16px 16px; }
  /* 金額とボタンは横並び（金額左・ボタン右）。狭い本文に収まるよう小さめに */
  .product-meta { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; }
  .product-meta .price { font-size: 1.05rem; }
  .product-meta .btn-small { padding: 6px 10px; font-size: .65rem; white-space: nowrap; }
  .gallery-item figcaption { font-size: 0.75rem; }
  .product-body h3 { font-size: 1rem; }
  .product-note { font-size: 0.75rem; }
  /* ヒーローのボタンは左右paddingを抑える */
  .hero-actions .btn { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 360px) {
  /* さらに狭い幅ではロゴのサブタイトルを省略 */
  .logo span:not(.dot) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hc-slide { transition: none; }
}

/* ===== お問い合わせ 確認/完了ページ (contact.php) ===== */
.contact-page { padding: 120px 0 96px; }
.contact-page .container { width: min(640px, 90vw); }

.contact-page .form-errors {
  background: #fff;
  border: 2px solid var(--berry);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 auto 28px;
  width: min(620px, 100%);
  color: #b85560;
  font-size: .9rem;
}
.contact-page .form-errors ul { margin: 0; padding-left: 1.2em; }
.contact-page .form-errors li { margin: 4px 0; }

.contact-page .confirm-list {
  width: min(620px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-page .confirm-list dt {
  font-weight: 700;
  font-size: .82rem;
  color: var(--yolk-deep);
  padding: 18px 22px 4px;
}
.contact-page .confirm-list dd {
  margin: 0;
  padding: 0 22px 18px;
  border-bottom: 1px dotted var(--line);
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.contact-page .confirm-list dd:last-child { border-bottom: none; }

.contact-page .confirm-actions {
  width: min(620px, 100%);
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.contact-page .confirm-actions form { margin: 0; }

.contact-page .lead {
  text-align: center;
  color: var(--ink-soft);
  font-size: .92rem;
  margin: 0 auto 36px;
  width: min(620px, 100%);
  line-height: 1.9;
}
.contact-page .complete-icon { text-align: center; font-size: 2.6rem; margin-bottom: 8px; }
.contact-page .back-home { text-align: center; margin-top: 36px; }

/* 完了ページの注意書き（迷惑メール案内など） */
.contact-page .notice {
  width: min(620px, 100%);
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.95;
  text-align: center;
}
.contact-page .notice strong { color: var(--yolk-deep); }

/* お問い合わせフォームの補足（迷惑メール案内など） */
.contact-form .form-hint {
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.8;
  margin-top: -4px;
}
