/* ============================================================
   Okaberry Renewal Stylesheet  (2026-06-12)
   共有CSS：index.html / miyakojima.html
   フォント：Zen Maru Gothic(本文) / Kiwi Maru(見出し)
   ============================================================ */

:root {
  /* ▼ TOP(premium.css)と配色を統一：プラム＋ゴールド＋アイボリー（2026-06-14） */
  --primary: #5b0a52;        /* plum（TOP主色と統一） */
  --primary-2: #8a2f86;      /* plum-2 */
  --primary-soft: #efe5ee;   /* plum tint */
  --accent: #b08a45;         /* gold（旧ピンク→TOPと統一） */
  --accent-2: #d8b877;       /* gold-soft */
  --ink: #2c2330;
  --muted: #8a7d8c;
  --bg: #faf6f1;             /* warm ivory（TOP背景と統一） */
  --bg-soft: #f7efe8;        /* cream */
  --bg-soft2: #f3ebe6;
  --line: #e9dde6;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(60, 5, 56, .08);
  --shadow-lg: 0 18px 50px rgba(60, 5, 56, .14);
  --maxw: 1180px;
  --header-h: 74px;
  /* エレガントモダン：本文=モダンゴシック / 見出し=上品な明朝 / 欧文=Cormorant */
  --font-body: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-head: "Shippori Mincho", "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.45; letter-spacing: .04em; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* soft botanical backdrop */
.bg-soft { background: var(--bg-soft); }
.bg-soft2 {
  background:
    radial-gradient(1200px 400px at 100% 0%, #f3ead9 0%, transparent 60%),
    radial-gradient(900px 380px at 0% 100%, #efe5ee 0%, transparent 55%),
    var(--bg-soft);
}

/* section frame */
.section { padding: 72px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head .en {
  display: inline-block; letter-spacing: .14em; font-size: .82rem;
  color: var(--accent); font-weight: 700; font-family: var(--font-body);
  text-transform: uppercase; margin-bottom: 6px;
}
.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--primary); letter-spacing: .02em;
}
.section-sub { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .82em 1.5em; border-radius: 999px; font-family: var(--font-body);
  font-weight: 700; font-size: .95rem; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1; text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 8px 22px rgba(91, 10, 82, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(91, 10, 82, .38); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 22px rgba(176, 138, 69, .3); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary-soft); }
.btn-ghost:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }

/* ============================ Header ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.brand .name { font-family: var(--font-en); font-size: 1.5rem; color: var(--primary); font-weight: 500; letter-spacing: .02em; }
.main-nav ul { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-size: .92rem; font-weight: 500; color: var(--ink); padding: 6px 2px; position: relative; transition: color .2s; }
.main-nav a:hover { color: var(--primary); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .25s; border-radius: 2px; }
.main-nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.pdf-link { display: inline-flex; align-items: center; gap: .4em; font-size: .82rem; color: var(--primary); font-weight: 700; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--primary-soft); transition: background .2s; }
.pdf-link:hover { background: var(--bg-soft); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: .3s; }

/* ============================ Hero ============================ */
.hero { position: relative; padding: 54px 0 36px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy .hero-en { font-family: var(--font-head); font-style: italic; color: var(--accent); font-size: 1rem; letter-spacing: .06em; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--primary); letter-spacing: .02em; line-height: 1.05; margin: 2px 0 6px; }
.hero-lead { font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.hero-text { color: var(--muted); font-size: .98rem; max-width: 30em; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: #f0e7f3; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .9); color: var(--primary); font-weight: 700; font-size: .8rem; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow); }

/* ============================ Store banners ============================ */
.store-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.store-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 220px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.store-banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.store-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.store-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 6, 45, .05) 0%, rgba(50, 6, 56, .78) 100%); z-index: 1; }
.store-banner .sb-inner { position: relative; z-index: 2; padding: 22px; width: 100%; }
.store-banner .sb-tag { display: inline-block; background: var(--accent); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.store-banner .sb-tag.collab { background: #fff; color: var(--primary); }
.store-banner h3 { font-size: 1.4rem; margin-bottom: 4px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.store-banner p { font-size: .86rem; opacity: .94; margin: 0 0 12px; }

/* ============================ News + Instagram ============================ */
.news-ig-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.block-head .ttl { display: flex; align-items: baseline; gap: 10px; }
.block-head .ttl h2 { font-size: 1.5rem; color: var(--primary); }
.block-head .ttl .en { font-size: .8rem; color: var(--accent); font-weight: 700; font-family: var(--font-body); letter-spacing: .08em; }
.block-head .more { font-size: .84rem; color: var(--muted); font-weight: 700; }
.block-head .more:hover { color: var(--primary); }
.news-card-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 18px; box-shadow: var(--shadow); }
.news-iframe { width: 100%; border: 0; display: block; }
.ig-embed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-embed a { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--bg-soft2); }
.ig-embed img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-embed a:hover img { transform: scale(1.08); }
.ig-cta { margin-top: 14px; text-align: center; }

/* ============================ Summary cards (Journey/Business/Company) ============================ */
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.summary-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 60px; box-shadow: var(--shadow); cursor: pointer; text-align: left;
  transition: transform .25s ease, box-shadow .25s ease; width: 100%; font-family: var(--font-body);
}
.summary-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.summary-card .sc-en { font-size: .78rem; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.summary-card h3 { font-size: 1.3rem; color: var(--primary); margin: 4px 0 10px; }
.summary-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.summary-card .plus {
  position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 1.3rem;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(91, 10, 82, .3); line-height: 1;
}
.feature-highlight {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-top: 22px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--primary), #4d0455); color: #fff;
}
.feature-highlight .fh-text { padding: 34px 32px; align-self: center; }
.feature-highlight .fh-text h3 { font-size: 1.6rem; margin-bottom: 10px; }
.feature-highlight .fh-text p { opacity: .92; font-size: .94rem; margin-bottom: 18px; }
.feature-highlight .fh-img { position: relative; min-height: 220px; }
.feature-highlight .fh-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================ Modal / Bottom sheet ============================ */
.info-modal {
  border: none; border-radius: 22px; padding: 0; width: min(760px, 92vw); max-width: 92vw;
  max-height: 86vh; box-shadow: 0 30px 80px rgba(40, 6, 45, .4); overflow: hidden; background: #fff; color: var(--ink);
}
.info-modal::backdrop { background: rgba(40, 6, 45, .5); backdrop-filter: blur(3px); }
.info-modal .im-head {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; z-index: 2;
}
.info-modal .im-head h3 { font-size: 1.25rem; }
.im-close { background: rgba(255, 255, 255, .2); border: none; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; line-height: 1; transition: background .2s; }
.im-close:hover { background: rgba(255, 255, 255, .35); }
.info-modal .im-body { padding: 26px 28px; overflow-y: auto; max-height: calc(86vh - 70px); }

/* timeline inside modal */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--primary-soft); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item::before { content: ""; position: absolute; left: -23px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline-item .date { font-family: var(--font-head); color: var(--primary); font-size: 1.1rem; }
.timeline-item h4 { font-size: 1.05rem; margin: 2px 0 4px; }
.timeline-item p { color: var(--muted); font-size: .9rem; margin: 0; }

/* business flow inside modal */
.flow-steps { display: flex; flex-direction: column; gap: 16px; }
.flow-step { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border-radius: 16px; padding: 16px 18px; }
.flow-step .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); }
.flow-step h4 { color: var(--primary); font-size: 1.05rem; margin-bottom: 4px; }
.flow-step p { color: var(--muted); font-size: .9rem; margin: 0; }
.flow-img { border-radius: 16px; overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); }

/* company info inside modal */
.info-list { list-style: none; margin: 0 0 20px; padding: 0; }
.info-list li { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 11px 4px; border-bottom: 1px dashed var(--line); }
.info-list .term { font-weight: 700; color: var(--primary); font-size: .9rem; }
.info-list .desc { color: var(--ink); font-size: .92rem; }
.ceo { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; background: var(--bg-soft); border-radius: 16px; padding: 18px; }
.ceo img { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; }
.ceo .ceo-name { font-size: 1.2rem; color: var(--primary); }
.ceo .ceo-title { color: var(--accent); font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.ceo p { font-size: .88rem; color: var(--muted); margin: 0; }
.modal-actions { margin-top: 20px; text-align: center; }

/* ============================ Products ============================ */
.product-rail-wrap { position: relative; }
.product-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin;
}
.product-rail::-webkit-scrollbar { height: 8px; }
.product-rail::-webkit-scrollbar-thumb { background: var(--primary-soft); border-radius: 8px; }
.product-card {
  scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .p-img { aspect-ratio: 1; background: var(--bg-soft); overflow: hidden; }
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .p-img img { transform: scale(1.06); }
.product-card .p-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { font-size: 1.08rem; color: var(--primary); }
.product-card p { font-size: .85rem; color: var(--muted); margin: 0; flex: 1; }
.product-card .p-unit { font-size: .78rem; color: var(--accent); font-weight: 700; }
.product-card .p-cta { margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: .4em; }
.rail-btn {
  position: absolute; top: 40%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; display: grid;
  place-items: center; color: var(--primary); font-size: 1.2rem; z-index: 3; transition: background .2s;
}
.rail-btn:hover { background: var(--bg-soft); }
.rail-prev { left: -10px; }
.rail-next { right: -10px; }

/* showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 34px; }
.showcase .sh-img { min-height: 280px; position: relative; }
.showcase .sh-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase .sh-body { padding: 38px 36px; align-self: center; }
.showcase .sh-body h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; }
.showcase .sh-body p { color: var(--muted); font-size: .94rem; }
.showcase-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.showcase-features .f { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; }
.showcase-features .f i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .7rem; flex: none; }

/* ============================ Gallery (Swiper) ============================ */
.gallery-section { padding: 64px 0; }
.swiper.okb-gallery { padding: 10px 4px 30px; }
.okb-gallery .swiper-slide { width: 300px; height: 300px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft2); cursor: pointer; }
.okb-gallery .swiper-slide img, .okb-gallery .swiper-slide video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.okb-gallery .swiper-slide:hover img { transform: scale(1.06); }
.gallery-nav { display: flex; justify-content: center; gap: 14px; margin-top: 6px; }
.gallery-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--primary); font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow); transition: background .2s; }
.gallery-nav button:hover { background: var(--bg-soft); }
.gallery-empty { text-align: center; color: var(--muted); padding: 30px; width: 100%; }

/* lightbox modal for gallery */
#gallery-modal { position: fixed; inset: 0; background: rgba(40, 6, 45, .85); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
#gallery-modal.open { display: flex; }
#gallery-modal .gm-content { max-width: 90vw; max-height: 86vh; }
#gallery-modal img, #gallery-modal video { max-width: 90vw; max-height: 86vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
#gallery-modal .gm-close { position: absolute; top: 22px; right: 26px; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; background: none; border: none; }

/* ============================ Footer ============================ */
.site-footer { background: linear-gradient(135deg, #4d0455, var(--primary)); color: rgba(255, 255, 255, .9); padding: 56px 0 26px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-brand img { height: 54px; width: 54px; border-radius: 50%; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; opacity: .85; max-width: 26em; }
.footer-sns { display: flex; gap: 12px; margin-top: 14px; }
.footer-sns a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; transition: background .2s; }
.footer-sns a:hover { background: rgba(255, 255, 255, .28); }
.footer-col h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 14px; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a, .footer-col li { font-size: .86rem; opacity: .85; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .78rem; opacity: .7; }

/* ============================ Miyakojima page ============================ */
.page-hero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero img.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 6, 45, .15), rgba(40, 6, 45, .72)); z-index: 1; }
.page-hero .ph-inner { position: relative; z-index: 2; padding: 50px 0; width: 100%; }
.page-hero .ph-tag { display: inline-block; background: var(--accent); font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-shadow: 0 3px 18px rgba(0, 0, 0, .4); }
.page-hero p { font-size: 1rem; opacity: .95; margin-top: 10px; max-width: 34em; }

.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 38px; align-items: center; }
.about-split .as-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-split .as-img img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 14px; }
.about-split p { color: var(--muted); font-size: .96rem; }

.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-card .fc-img { aspect-ratio: 4/3; overflow: hidden; }
.feature-card .fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feature-card:hover .fc-img img { transform: scale(1.07); }
.feature-card .fc-body { padding: 16px 18px; }
.feature-card .fc-ico { font-size: 1.5rem; }
.feature-card h3 { font-size: 1.08rem; color: var(--primary); margin: 4px 0 6px; }
.feature-card p { font-size: .84rem; color: var(--muted); margin: 0; }

.menu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.menu-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.menu-card .mc-img { aspect-ratio: 1; overflow: hidden; }
.menu-card .mc-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card .mc-body { padding: 16px 18px; }
.menu-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 4px; }
.menu-card p { font-size: .85rem; color: var(--muted); margin: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); cursor: pointer; background: var(--bg-soft2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.07); }

.store-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.store-info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow); }
.store-info-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 16px; }
.store-info-card .info-list li { grid-template-columns: 96px 1fr; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 280px; position: relative; display: flex; align-items: center; justify-content: center; background: var(--bg-soft2); text-align: center; padding: 24px; }
.map-card .map-inner { position: relative; z-index: 1; }
.store-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.collab-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 240px; box-shadow: var(--shadow-lg); }
.collab-banner .cb-img { position: relative; min-height: 200px; }
.collab-banner .cb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collab-banner .cb-body { background: linear-gradient(135deg, var(--primary), #4d0455); padding: 34px 32px; align-self: center; }
.collab-banner .cb-tag { display: inline-block; background: #fff; color: var(--primary); font-size: .74rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.collab-banner h3 { font-size: 1.5rem; margin-bottom: 8px; }
.collab-banner p { font-size: .88rem; opacity: .92; margin-bottom: 16px; }

/* ============================ Responsive ============================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16/10; }
  .news-ig-grid { grid-template-columns: 1fr; }
  .feature-highlight { grid-template-columns: 1fr; }
  .feature-highlight .fh-img { min-height: 200px; }
  .showcase { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .menu-cards { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .store-info-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .collab-banner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow-lg); }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav a { display: block; padding: 14px 22px; border-bottom: 1px solid var(--bg-soft2); }
  .main-nav a::after { display: none; }
  .menu-toggle { display: flex; }
  .pdf-link { display: none; }
  .store-banners { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 30px 0 20px; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .menu-cards { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .ceo { grid-template-columns: 1fr; }
  .ceo img { width: 100%; height: auto; aspect-ratio: 1; }
  .info-list li { grid-template-columns: 100px 1fr; }
  .showcase-features { grid-template-columns: 1fr; }

  /* Bottom-sheet style for modals on SP */
  .info-modal {
    width: 100vw; max-width: 100vw; margin: 0; position: fixed; bottom: 0; left: 0; top: auto;
    border-radius: 22px 22px 0 0; max-height: 90vh; animation: sheet-up .3s ease;
  }
  .info-modal .im-body { max-height: calc(90vh - 70px); }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .okb-gallery .swiper-slide { width: 230px; height: 230px; }
}

@media (max-width: 430px) {
  .feature-cards { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   2026-06-14 ナビバー折返し是正（宮古島ページ）
   - 中間幅(981–1240px)で1行に収め、≤980pxはハンバーガーに
   ============================================================ */
.header-inner, .main-nav ul { flex-wrap: nowrap; }
.brand, .header-cta { flex-shrink: 0; }
.main-nav a { white-space: nowrap; }

/* 中間幅：詰めて1行に収める */
@media (min-width: 981px) and (max-width: 1240px) {
  .header-inner { gap: 12px; }
  .main-nav ul { gap: 11px; }
  .main-nav a { font-size: .82rem; padding: 6px 1px; }
  .header-cta { gap: 8px; }
  .pdf-link { padding: 6px 10px; font-size: .76rem; }
}

/* ≤980px：ナビをハンバーガー収納（崩れ防止） */
@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .pdf-link { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow-lg); z-index: 99; }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; flex-wrap: nowrap; }
  .main-nav a { display: block; padding: 14px 22px; border-bottom: 1px solid var(--bg-soft2); white-space: normal; font-size: 1rem; }
  .main-nav a::after { display: none; }
}

/* ============================================================
   2026-06-14 ナビ：世界水準モーション ＋ 現在地(クリック不可)表示
   - ホバー：プラム→ゴールドのグラデ下線を中央から展開＋微浮上
   - 現在地：流れるゴールド下線＋脈動ドット（色反転を廃止）
   - ページ遷移：View Transitions でクロスフェード
   ============================================================ */

.main-nav a { transition: color .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1); }
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 0; height: 2px;
  transform: translateX(-50%); border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .45s cubic-bezier(.22,1,.36,1);
}
.main-nav a:hover { color: var(--primary); transform: translateY(-1px); }
.main-nav a:hover::after { width: 100%; }

/* 現在地：クリック不可・常時インジケータ */
.main-nav a.nav-current {
  color: var(--primary); font-weight: 700; cursor: default; pointer-events: none;
}
.main-nav a.nav-current::after {
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 220% 100%; animation: navFlow 2.8s linear infinite;
}
.nav-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 0 rgba(176, 138, 69, .55);
  animation: navPulse 2s ease-out infinite;
}
@keyframes navFlow { to { background-position: 220% 0; } }
@keyframes navPulse {
  0%   { box-shadow: 0 0 0 0 rgba(176, 138, 69, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(176, 138, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 138, 69, 0); }
}

/* ナビ入場（控えめなスタッガー） */
.main-nav ul > li { animation: navIn .55s cubic-bezier(.22,1,.36,1) both; }
.main-nav ul > li:nth-child(1){animation-delay:.04s}
.main-nav ul > li:nth-child(2){animation-delay:.09s}
.main-nav ul > li:nth-child(3){animation-delay:.14s}
.main-nav ul > li:nth-child(4){animation-delay:.19s}
.main-nav ul > li:nth-child(5){animation-delay:.24s}
.main-nav ul > li:nth-child(6){animation-delay:.29s}
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* 現在地：モバイル(ハンバーガー)では下線でなく左ゴールドバー＋淡色背景で示す */
@media (max-width: 980px) {
  .main-nav a.nav-current { background: var(--bg-soft); box-shadow: inset 4px 0 0 var(--accent); }
  .main-nav a.nav-current::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dot, .main-nav a.nav-current::after, .main-nav ul > li { animation: none !important; }
}
