/* Marine Sweeper — 写真が語り、文字は静かに */
:root {
  --ink: #172423;      /* 深い海。本文と暗い面 */
  --deep: #1f3231;     /* 暗い面の少し明るい段 */
  --stone: #edeeeb;    /* 背景。冷たい石の色 */
  --paper: #f7f8f6;    /* カードなどの明るい面 */
  --fog: #d3d7d3;      /* 罫線 */
  --slate: #66726f;    /* 補助の文字 */
  --tide: #3e6e6c;     /* リンク。唯一の色味 */
  --mist: #b9c3c0;     /* 暗い面の上の補助文字 */

  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --num: "Jost", "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif JP", serif;
  --wrap: 90rem;       /* PCで使う最大幅（1440px） */
  --text: 46rem;       /* 本文の読みやすい幅 */
  --gutter: 16px;
  --head-h: 106px;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1080px) { :root { --gutter: 48px; } }
@media (min-width: 1440px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.95;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tide); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.5; letter-spacing: 0.08em; font-weight: 300; }
h3 { font-weight: 500; letter-spacing: 0.06em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 48rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }

/* ---- 水深の目印 ---- */
.depth { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; color: var(--slate); }
.depth-num { font-family: var(--num); font-weight: 300; font-size: 1.05rem; letter-spacing: 0.06em; }
.depth-label { font-size: 0.78rem; letter-spacing: 0.14em; }
.depth::before { content: ""; width: 40px; height: 1px; background: currentColor; align-self: center; order: -1; }

/* ---- ボタンとリンク ---- */
.btn { display: inline-block; white-space: nowrap; text-decoration: none; font-size: 0.88rem; letter-spacing: 0.12em; padding: 15px 30px; border: 1px solid var(--ink); background: var(--ink); color: #fff; transition: background .2s, color .2s; }
.btn:hover { background: var(--deep); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--stone); }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.text-link { display: inline-block; color: inherit; font-size: 0.88rem; letter-spacing: 0.1em; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
a:hover .text-link, .text-link:hover { opacity: .7; }

/* ---- ヒーロー（写真） ---- */
.hero { position: relative; min-height: calc(92vh - 106px); min-height: calc(92svh - 106px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-bright::after { content: ""; position: absolute; inset: 0; background: rgba(10,18,18,.38); }
.hero h1, .hero .lead { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hero-meta { position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 20px; }
.hero-caption { margin: 0; font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(255,255,255,.8); }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 28px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.4); transition: background .3s; }
.hero-dots button[aria-current="true"]::after, .hero-dots button:hover::after { background: #fff; }
@media (max-width: 899px) { .hero-meta { left: var(--gutter); bottom: 18px; justify-content: space-between; } .hero-caption { font-size: 0.68rem; } .hero-inner { padding-bottom: 80px; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,18,.82) 0%, rgba(10,18,18,.55) 38%, rgba(10,18,18,0) 68%), linear-gradient(180deg, rgba(10,18,18,0) 55%, rgba(10,18,18,.6) 100%); }
@media (max-width: 899px) { .hero::after { background: linear-gradient(180deg, rgba(10,18,18,.15) 0%, rgba(10,18,18,.35) 40%, rgba(10,18,18,.88) 100%); } }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-bottom: 72px; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 300; letter-spacing: 0.12em; line-height: 1.55; margin-bottom: 24px; }
.hero .lead { max-width: 30em; font-size: 0.98rem; color: rgba(255,255,255,.88); margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide img { transform: scale(1.06); transition: transform 8s ease-out; }
  .hero-slide.is-active img { transform: scale(1); }
  .hero-inner { animation: rise 1.2s .5s ease both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---- セクション共通 ---- */
.section { padding: 96px 0; }
@media (min-width: 900px) { .section { padding: 140px 0; } }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: 0.7em; }
.section-lead { max-width: 36em; color: var(--slate); margin: 0 0 56px; }
.small-title { font-size: 1.1rem; font-weight: 500; }

/* 海底で起きていること */
.evidence { background: var(--paper); }
.evidence-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .evidence-grid { grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; } .evidence-grid figure:last-child { margin-top: 120px; } }
.evidence figure { margin: 0; }
.evidence img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.evidence figure:last-child img { aspect-ratio: 4 / 5; }
.evidence figcaption { margin-top: 14px; font-size: 0.88rem; line-height: 1.8; }
.evidence figcaption span { display: block; color: var(--slate); font-size: 0.8rem; }

/* していること */
.service-list { display: grid; gap: 64px; margin-top: 48px; }
.service { display: grid; gap: 24px; color: inherit; text-decoration: none; }
.service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: opacity .3s; }
.service:hover img { opacity: .88; }
.service h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.service p { color: var(--slate); margin: 0 0 20px; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
  .service:nth-child(even) img { order: 2; }
  .service-body { max-width: 28em; }
}

/* 活動エリア・メディア */
.record { border-top: 1px solid var(--fog); }
.record-grid { display: grid; gap: 80px; }
@media (min-width: 900px) { .record-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }
.areas, .media, .news { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--fog); }
.areas li, .media li { display: grid; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--fog); }
.areas li { grid-template-columns: 6em 1fr; }
.media li { grid-template-columns: 3.4em 1fr; }
.area-pref { color: var(--slate); font-size: 0.84rem; }
.media-year { font-family: var(--num); font-weight: 300; color: var(--slate); }

/* お問い合わせ帯 */
.contact-band { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.contact-inner { position: relative; display: grid; gap: 72px; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1.2fr 1fr; gap: 96px; align-items: end; } }
.contact-band .depth { color: var(--mist); }
.contact-band p { color: rgba(255,255,255,.85); }
.news-box { border-top: 1px solid rgba(255,255,255,.25); padding-top: 24px; }
.news { border-top: 0; }
.news li a { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.news time { font-family: var(--num); font-weight: 300; color: var(--mist); }
.news li a:hover span { text-decoration: underline; }
.empty { color: var(--slate); }

/* ---- ネットショップ ---- */
.shop-intro { max-width: 46rem; color: var(--slate); }
.shop-intro span[style] { font-size: inherit !important; }
.shop-intro strong { font-weight: 400; }
.shop-section { margin-top: 72px; }
.shop-section h2 { font-size: 1.4rem; padding-bottom: 0.5em; border-bottom: 1px solid var(--fog); margin-bottom: 32px; }
.products { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product { min-height: 260px; }
.shop .note { margin-top: 64px; }

/* ---- 取り込んだページ（旧テーマのブロック） ---- */
.prose .swl-fz[style] { font-size: inherit !important; }
.prose .u-fz-xl { font-size: 1.2em; }
.prose .u-fz-l { font-size: 1.08em; }
.prose .swell-block-columns { max-width: none; }
.prose .swell-block-columns__inner { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.prose .is-style-clmn-shadow .swell-block-column { background: var(--paper); padding: 20px; }
.prose .swl-inline-btn a { display: inline-block; white-space: nowrap; background: var(--ink); color: #fff; text-decoration: none; font-size: 0.88rem; letter-spacing: 0.1em; padding: 12px 24px; margin: 4px 0; }
.prose .swl-inline-btn.green_ a { background: #06c755; }
.prose .swl-inline-btn a:hover { opacity: .85; }
.prose .wp-block-table { overflow-x: auto; margin: 2em 0; max-width: none; }
.prose .wp-block-table table { min-width: 560px; font-size: 0.92rem; }
.prose .wp-block-table td:empty { padding: 0; }
.prose .has-swl-main-background-color, .prose th { background: var(--ink); color: #fff; font-weight: 400; }
.prose .wp-block-media-text { display: grid; gap: 32px; align-items: center; max-width: none; margin: 2em 0; }
@media (min-width: 760px) { .prose .wp-block-media-text { grid-template-columns: 1fr 1fr; } }
.prose .wp-block-media-text__media { margin: 0; }
.prose .rank-math-faq-item { border-top: 1px solid var(--fog); padding: 24px 0; }
.prose .rank-math-question { font-size: 1.1rem; font-weight: 500; margin: 0 0 8px; border: 0; padding: 0; }
.prose .marker-thickYellow { background: linear-gradient(transparent 62%, rgba(62,110,108,.18) 62%); }
.prose .wp-caption { text-align: center; margin: 2.4em auto; }
.prose .wp-caption img { margin: 0 auto; max-height: 220px; width: auto; }
.prose .wp-caption figcaption { color: var(--ink); font-size: 0.9rem; }
.prose .is-style-border img { border: 1px solid var(--fog); }
.prose .ggmap { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; }
.prose .ggmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose .video { position: relative; aspect-ratio: 16 / 9; }
.prose .video iframe { width: 100%; height: 100%; border: 0; }
/* ---- スポンサー ---- */
.sponsor-group { margin-top: 72px; }
.sponsor-group:first-child { margin-top: 24px; }
.sponsor-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; border-bottom: 1px solid var(--fog); padding-bottom: 12px; margin-bottom: 28px; }
.sponsor-head h2 { font-size: 1.4rem; margin: 0; }
.sponsor-head p { margin: 0; color: var(--slate); font-size: 0.88rem; }
.sponsor-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sponsor-grid-small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.sponsor a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--fog); transition: border-color .2s; }
.sponsor a:hover { border-color: var(--ink); }
.sponsor-logo { display: flex; align-items: center; justify-content: center; height: 150px; background: #fff; padding: 20px 28px; border-bottom: 1px solid var(--fog); }
.sponsor-logo img { max-width: 100%; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.sponsor-name { display: block; font-weight: 500; padding: 16px 20px 0; line-height: 1.6; }
.sponsor-role { display: block; padding: 6px 20px 0; font-size: 0.85rem; color: var(--slate); line-height: 1.75; flex: 1; }
.sponsor-link { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; padding: 16px 20px; font-size: 0.82rem; letter-spacing: 0.08em; margin-top: auto; }
.sponsor-link span { min-width: 0; color: var(--slate); font-family: var(--num); font-weight: 300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sponsor-small .sponsor-logo { height: 130px; padding: 16px; }
.sponsor-small .sponsor-logo img { max-height: 96px; }
.sponsor-small .sponsor-name { padding: 12px 14px 14px; font-size: 0.88rem; text-align: center; }
.sponsor-cta { margin-top: 88px; border-top: 1px solid var(--fog); padding-top: 40px; }
.sponsor-cta p { color: var(--slate); }

/* ---- 見出しの書体（明朝） ---- */
.hero h1, .section-title, .page-head h1, .prose h2, .service h3, .small-title,
.shop-section h2, .sponsor-head h2, .link-card h2, .sponsor-name {
  font-family: var(--serif); font-weight: 500;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); letter-spacing: 0.16em; line-height: 1.6; font-feature-settings: "palt" 0; }
.section-title { letter-spacing: 0.14em; }
.page-head h1 { letter-spacing: 0.12em; }
.prose h2 { letter-spacing: 0.1em; }
.service h3 { font-size: 1.35rem; letter-spacing: 0.1em; }
.sponsor-name { font-size: 1.02rem; }

/* ---- クラウドファンディング御礼：支援者のお名前を段組みで ---- */
.page-thank .prose > table, .page-thank .prose > figure, .page-thank .prose > div { max-width: none; }
.page-thank .prose table { width: 100% !important; margin: 2.4em 0; }
.page-thank .prose tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 32px; border-top: 1px solid var(--fog); }
.page-thank .prose tr { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--fog); padding: 9px 2px; }
.page-thank .prose tr:first-child { display: none; }
.page-thank .prose td { border: 0; padding: 0; width: auto !important; height: auto !important; font-size: 0.92rem; line-height: 1.6; }
.page-thank .prose td:first-child { flex: 0 0 2.6em; font-family: var(--num); font-weight: 300; color: var(--slate); text-align: right; }

.page-thank .prose > p, .page-thank .prose > h2, .page-thank .prose > h3 { max-width: 42em; }
@media (max-width: 640px) { .page-thank .prose tbody { column-gap: 16px; } .page-thank .prose td { font-size: 0.85rem; } }

/* ---- 動き ---- */
/* 流れる英字の帯（ロゴのタグライン） */
.marquee { overflow: hidden; padding: 28px 0; background: var(--stone); border-top: 1px solid var(--fog); border-bottom: 1px solid var(--fog); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee span { font-family: var(--num); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: 0.04em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--tide); }
.marquee .mq-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tide); -webkit-text-stroke: 0; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* 画面に入ったら現れる（JSが動く環境のみ） */
.motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.motion .rv.in { opacity: 1; transform: none; }
/* 写真は下から水が満ちるように開く */
.motion .evidence figure.rv, .motion .service.rv img, .motion .prose > figure.rv { transform: none; }
.motion .evidence figure.rv img, .motion .service.rv img {
  clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.65,0,.25,1), opacity .3s;
}
.motion .evidence figure.rv.in img, .motion .service.rv.in img { clip-path: inset(0 0 0 0); }
.motion .service.rv { transform: translateY(40px); }
.motion .service.rv.in { transform: none; }
/* 見出しは少し長めにふわっと */
.motion .section-title.rv, .motion .page-head h1.rv { transform: translateY(34px); transition-duration: 1.2s; }
.motion .section-title.rv.in, .motion .page-head h1.rv.in { transform: none; }

/* ======== ネットショップ ======== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-shop .shop-intro { margin-bottom: 48px; }

/* 絞り込み・並べ替え */
.shop-toolbar { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 14px 0; background: var(--stone); border-bottom: 1px solid var(--fog); }
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 0.88rem; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--fog); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip span { font-family: var(--num); font-weight: 300; color: var(--slate); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: var(--mist); }
.shop-controls { display: flex; align-items: center; gap: 20px; font-size: 0.86rem; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.select select { font: inherit; font-size: 0.86rem; padding: 8px 34px 8px 12px; border: 1px solid var(--fog); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23172423'/%3E%3C/svg%3E") right 12px center no-repeat; appearance: none; color: var(--ink); cursor: pointer; }
.shop-count { margin: 20px 0 16px; font-size: 0.82rem; color: var(--slate); }

/* 商品カード */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard-btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; cursor: pointer; }
.pcard-btn:focus-visible { outline: 2px solid var(--tide); outline-offset: 4px; }
.pcard-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--fog); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.pcard-btn:hover .pcard-img img { transform: scale(1.04); }
.pcard.is-out .pcard-img img { opacity: .45; filter: grayscale(.5); }
.badge { position: absolute; top: 10px; left: 10px; font-size: 0.72rem; letter-spacing: 0.1em; padding: 3px 10px; }
.badge-out { background: var(--ink); color: #fff; }
.badge-sale { background: #fff; color: var(--tide); border: 1px solid var(--tide); font-family: var(--num); }
.pcard-body { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; flex: 1; }
.pcard-top { display: flex; gap: 10px; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--slate); }
.pcard-no { font-family: var(--num); }
.pcard-name { font-weight: 500; line-height: 1.6; font-size: 0.95rem; }
.pcard-btn:hover .pcard-name { text-decoration: underline; text-underline-offset: 0.25em; }
.pcard-opt { font-size: 0.78rem; color: var(--slate); }
.pcard-price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 10px; }
.pcard-price b, .pd-price b, .cart-sub b { font-family: var(--num); font-weight: 400; font-size: 1.2rem; letter-spacing: 0.02em; }
.pcard-price small { font-size: 0.8rem; margin-left: 2px; }
.pcard-price s, .pd-price s { font-family: var(--num); color: var(--slate); font-size: 0.88rem; }
.shop-empty { grid-column: 1 / -1; padding: 48px 0; color: var(--slate); }
.shop-empty .text-link { font: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; margin-left: 8px; color: var(--ink); }
/* 読み込み中 */
.is-skeleton .pcard-img { background: linear-gradient(90deg, #e7e8e4 25%, #f1f2ef 50%, #e7e8e4 75%) 0 0 / 200% 100%; animation: sk 1.4s ease infinite; border: 0; }
.sk { display: block; height: 12px; margin-top: 12px; background: #e3e5e1; }
.sk-1 { width: 80%; } .sk-2 { width: 40%; }
@keyframes sk { to { background-position: -200% 0; } }

/* 商品の詳細 */
.pdialog, .cart { border: 0; padding: 0; background: var(--paper); color: var(--ink); max-height: 100dvh; }
.pdialog::backdrop, .cart::backdrop { background: rgba(10,18,18,.55); backdrop-filter: blur(2px); }
.pdialog { width: min(1040px, 100vw - 32px); max-height: calc(100dvh - 48px); overflow: auto; }
.pd { position: relative; display: grid; gap: 32px; padding: 28px; }
@media (min-width: 820px) { .pd { grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 40px; } }
.pd-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; font-size: 1.5rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); z-index: 2; }
.pd-main { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--fog); }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pd-thumbs button { width: 60px; height: 60px; padding: 0; background: #fff; border: 1px solid var(--fog); cursor: pointer; }
.pd-thumbs button[aria-current="true"] { border-color: var(--ink); outline: 1px solid var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-meta { margin: 0 0 6px; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--slate); font-family: var(--num); }
.pd-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: 0.06em; margin: 0 0 12px; padding-right: 32px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 24px; }
.pd-price b { font-size: 1.7rem; }
.pd-price small { font-size: 0.78rem; color: var(--slate); }
.pd-opt { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.pd-opt legend { font-size: 0.82rem; letter-spacing: 0.08em; color: var(--slate); margin-bottom: 10px; padding: 0; }
.pd-opt legend span { color: var(--ink); margin-left: 12px; }
.pd-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-val { font: inherit; font-size: 0.86rem; padding: 8px 14px; min-width: 52px; border: 1px solid var(--fog); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s; }
.pd-val:hover { border-color: var(--ink); }
.pd-val[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pd-val.is-na { color: #9aa29f; background: repeating-linear-gradient(135deg, #fff 0 6px, #f2f3f0 6px 7px); }
.pd-status { margin: 4px 0 16px; font-size: 0.86rem; color: var(--tide); }
.pd-status.is-out { color: #a03c32; }
.pd-buy { display: flex; gap: 12px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--fog); background: #fff; }
.qty button { width: 44px; height: 100%; min-height: 50px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty button:disabled { color: var(--fog); cursor: default; }
.qty span { min-width: 2.2em; text-align: center; font-family: var(--num); }
.pd-add { flex: 1; text-align: center; font: inherit; letter-spacing: 0.12em; cursor: pointer; }
.pd-add:disabled { background: var(--fog); border-color: var(--fog); color: var(--slate); cursor: default; }
.pd-desc { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fog); font-size: 0.9rem; color: var(--ink); }
.pd-desc img { max-width: 100%; height: auto; }
.pd-desc p { margin: 0 0 1em; }
.pd-link { font-size: 0.84rem; margin-top: 16px; }
@media (max-width: 819px) {
  .pdialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .pd { padding: 20px 16px 120px; }
  .pd-buy { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--fog); z-index: 3; }
}

/* かご */
.cart { margin: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-height: 100dvh; }
.cart[open] { animation: slidein .35s cubic-bezier(.2,.6,.2,1); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-in { display: flex; flex-direction: column; height: 100%; padding: 24px; }
.cart.is-busy .cart-in { opacity: .6; pointer-events: none; }
.cart-head { position: relative; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--fog); padding-bottom: 14px; }
.cart-head h2 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin: 0; }
.cart-head .pd-close { position: static; }
.cart-msg { margin: 14px 0 0; padding: 10px 14px; background: #e3efed; color: var(--tide); font-size: 0.86rem; }
.cart-lines { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--fog); }
.cl-img { width: 72px; height: 72px; background: #fff; border: 1px solid var(--fog); }
.cl-img img { width: 100%; height: 100%; object-fit: contain; }
.cl-body { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; }
.cl-name { font-weight: 500; line-height: 1.5; }
.cl-var { color: var(--slate); font-size: 0.8rem; }
.cl-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cl-price { font-family: var(--num); font-size: 1rem; }
.qty-s button { width: 34px; min-height: 34px; }
.cl-remove { align-self: flex-start; font: inherit; font-size: 0.76rem; color: var(--slate); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.cart-foot { border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; margin: 0; }
.cart-foot .note { margin: 0; }
.cart-checkout { text-align: center; }
.cart-foot .text-link, .cart-in > .text-link { align-self: center; font: inherit; font-size: 0.86rem; background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; color: var(--ink); padding: 0 0 2px; }
.cart-empty { color: var(--slate); margin: 32px 0 16px; }

/* かごボタン（画面右下） */
.cart-fab { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 0.88rem; letter-spacing: 0.08em; padding: 14px 20px; background: var(--ink); color: #fff; border: 0; cursor: pointer; box-shadow: 0 6px 24px rgba(10,18,18,.25); }
.cart-fab span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #fff; color: var(--ink); font-family: var(--num); font-size: 0.85rem; }
.cart-fab[hidden] { display: none; }

/* =====================================================================
   レイアウトの仕組み（PC ≥1080px ／ タブレット 700〜1079px ／ スマホ <700px）
   ===================================================================== */

/* ---- ヘッダー（砂浜の帯・ロゴは原色） ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: #ece8df url(/images/header-shore.svg) center bottom / 100% 100% no-repeat; color: var(--ink); padding-bottom: 30px; transition: padding .35s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; transition: min-height .35s ease; }
.brand { flex: none; }
.brand img { width: 168px; height: auto; transition: width .35s ease; }
@media (min-width: 1080px) { .brand img { width: 210px; } }
.site-header.is-scrolled { padding-bottom: 14px; }
.site-header.is-scrolled .header-inner { min-height: 60px; }
@media (min-width: 1080px) { .site-header.is-scrolled .brand img { width: 170px; } }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-top { font: inherit; font-size: 0.9rem; letter-spacing: 0.1em; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav-sub ul { list-style: none; margin: 0; padding: 0; }
.nav-sub a { display: block; text-decoration: none; color: var(--ink); }
.nav-sub a span { display: block; font-size: 0.92rem; letter-spacing: 0.06em; }
.nav-sub a small { display: block; font-size: 0.74rem; color: var(--slate); letter-spacing: 0.02em; line-height: 1.6; margin-top: 2px; }
.menu-toggle { display: none; }

/* PC：横並び＋ドロップダウン */
@media (min-width: 1081px) {
  .nav-list { display: flex; align-items: center; gap: 30px; }
  .nav-item { position: relative; }
  .has-sub > .nav-top::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .has-sub.is-open > .nav-top::after, .has-sub:hover > .nav-top::after { transform: translateY(1px) rotate(225deg); }
  .nav-top[aria-current="page"], .nav-top.is-current { box-shadow: inset 0 -1px 0 currentColor; }
  .nav-sub { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 6px; min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--fog); box-shadow: 0 18px 40px rgba(10,18,18,.12); opacity: 0; visibility: hidden; transition: opacity .2s, translate .2s, visibility .2s; }
  .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub, .has-sub.is-open .nav-sub { opacity: 1; visibility: visible; translate: -50% 0; }
  .nav-sub a { padding: 12px 14px; }
  .nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--stone); }
  .nav-contact .nav-top { border: 1px solid var(--ink); padding: 9px 20px; }
  .nav-contact .nav-top:hover, .nav-contact .nav-top[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }
}
@media (min-width: 1081px) and (max-width: 1240px) { .nav-list { gap: 20px; } .nav-top { font-size: 0.84rem; } }

/* タブレット・スマホ：全画面メニュー */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: 0.85rem; letter-spacing: 0.1em; padding: 8px 14px; cursor: pointer; position: relative; z-index: 2; }
  .mt-bars { position: relative; width: 16px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: border-color .2s; }
  .mt-bars::before, .mt-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] .mt-bars { border-color: transparent; }
  .menu-toggle[aria-expanded="true"] .mt-bars::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .mt-bars::after { transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 1; background: var(--stone); padding: calc(var(--head-h) + 8px) var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-nav.open { opacity: 1; visibility: visible; }
  .nav-list { display: grid; gap: 0; max-width: 640px; margin: 0 auto; }
  .nav-item { border-bottom: 1px solid var(--fog); }
  .nav-top { width: 100%; justify-content: space-between; padding: 18px 0; font-family: var(--serif); font-size: 1.15rem; pointer-events: none; }
  .nav-item:not(.has-sub) .nav-top { pointer-events: auto; }
  .nav-sub { padding: 0 0 14px; }
  .nav-sub ul { display: grid; gap: 4px; }
  @media (min-width: 700px) { .nav-sub ul { grid-template-columns: 1fr 1fr; gap: 4px 24px; } }
  .nav-sub a { padding: 10px 0; }
  .nav-sub a[aria-current="page"] span { text-decoration: underline; text-underline-offset: 0.3em; }
  .nav-contact { border: 0; margin-top: 24px; }
  .nav-contact .nav-top { justify-content: center; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 0.95rem; }
  html.nav-open { overflow: hidden; }
}

/* ---- 下層ページの見出し ---- */
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.76rem; color: var(--slate); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--fog); }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head { border-bottom: 1px solid var(--fog); }
.page-head-in { padding-top: 56px; padding-bottom: 44px; }
.page-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); margin: 0 0 0.3em; }
.page-head .lead { color: var(--slate); margin: 0.4em 0 0; max-width: 38em; }
.page-head .post-meta { margin-bottom: 16px; }
.ph-cover { margin: 32px calc(var(--gutter) * -1) -44px; }
.ph-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 700px) { .page-head-in { padding-top: 72px; padding-bottom: 56px; } .ph-cover { margin: 36px 0 0; } }
@media (min-width: 1080px) {
  .page-head.has-cover .page-head-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
  .page-head.has-cover .ph-cover { margin: 0; }
  .page-head.has-cover .ph-cover img { aspect-ratio: 3 / 2; }
  .page-head-in { padding-top: 88px; padding-bottom: 64px; }
}
.page-body { padding-top: 48px; padding-bottom: 112px; }

/* ---- 下層ページの本文：PCは左に目次、右に本文 ---- */
.page-grid { padding-top: 48px; padding-bottom: 104px; }
.side { display: none; }
@media (min-width: 1080px) {
  .page-grid.has-side { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 72px; align-items: start; }
  .side { display: grid; gap: 28px; position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; padding-top: 6px; }
  .page-grid { padding-top: 64px; }
}
@media (min-width: 1440px) { .page-grid.has-side { grid-template-columns: 17rem minmax(0, 1fr); gap: 96px; } }
.side-title { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--slate); }
.side-box ul, .side-box ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--fog); }
.side-box a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink); text-decoration: none; font-size: 0.86rem; line-height: 1.6; }
.side-box a:hover { border-left-color: var(--slate); }
.side-box a[aria-current="page"], .side-box a.is-here { border-left-color: var(--ink); font-weight: 500; }
.side-toc ol { counter-reset: toc; }
.side-toc a { color: var(--slate); }
.side-toc a.is-here { color: var(--ink); }

/* 本文：文章は読みやすい幅、写真・表・カードは広く */
.prose { min-width: 0; }
.prose > * { max-width: var(--text); }
.prose > figure, .prose > .wp-block-image, .prose > .wp-block-table, .prose > table, .prose > .swell-block-columns,
.prose > .wp-block-media-text, .prose > .video, .prose > .lc-grid, .prose > .lc-one, .prose > .ggmap, .prose > div { max-width: none; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 2.4em 0 0.8em; padding-bottom: 0.5em; border-bottom: 1px solid var(--fog); scroll-margin-top: 110px; }
.prose h3 { font-size: 1.15rem; margin: 2.2em 0 0.6em; scroll-margin-top: 110px; }
.prose > h2:first-child, .prose > h3:first-child, .prose > :first-child { margin-top: 0; }
.prose strong { font-weight: 500; }
.prose p { margin: 0 0 1.2em; }
.prose figure { margin: 2em 0; }
.prose img { margin: 0; }
.prose figcaption { font-size: 0.82rem; color: var(--slate); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 1px solid var(--ink); color: var(--slate); }
.prose iframe { max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--fog); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose ul, .prose ol { padding-left: 1.4em; }
@media (min-width: 1080px) { .prose .wp-block-image img { max-height: 70vh; width: auto; } }

/* ---- リンクカード（ブログカード） ---- */
.lc-grid { display: grid; gap: 16px; margin: 1.6em 0; }
@media (min-width: 700px) { .lc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1440px) { .lc-grid { grid-template-columns: repeat(3, 1fr); } }
.lc-one { margin: 1.6em 0; max-width: 46rem !important; }
.lc { display: grid; grid-template-columns: 38% 1fr; min-height: 132px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--fog); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.lc:hover { border-color: var(--ink); box-shadow: 0 10px 28px rgba(10,18,18,.08); }
.lc-grid .lc { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.lc-img { position: relative; display: block; background: var(--stone); overflow: hidden; }
.lc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.lc-grid .lc-img { aspect-ratio: 1.91 / 1; }
.lc:hover .lc-img img { transform: scale(1.04); }
.lc-img.is-empty { display: grid; place-items: center; background: linear-gradient(135deg, #e3e7e4, #d4dcd9); }
.lc-img.is-empty span { font-family: var(--num); font-size: 0.85rem; letter-spacing: 0.06em; color: var(--tide); padding: 0 12px; text-align: center; word-break: break-all; }
.lc-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; min-width: 0; }
.lc-title { font-weight: 500; line-height: 1.6; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-desc { font-size: 0.8rem; color: var(--slate); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-site { margin-top: auto; font-family: var(--num); font-size: 0.78rem; color: var(--slate); letter-spacing: 0.04em; }
.lc-site::before { content: "↗ "; }
@media (max-width: 699px) { .lc { grid-template-columns: 1fr; } .lc-img { aspect-ratio: 1.91 / 1; } }

/* ---- ページ末尾：ほかのページとお問い合わせ ---- */
.next-band { background: var(--paper); border-top: 1px solid var(--fog); padding: 72px 0 88px; }
.next-title { margin: 0 0 18px; font-size: 0.82rem; letter-spacing: 0.12em; color: var(--slate); }
.next-grid { list-style: none; margin: 0 0 64px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .next-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .next-grid { grid-template-columns: repeat(4, 1fr); } }
.next-grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; background: #fff; border: 1px solid var(--fog); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.next-grid a:hover { border-color: var(--ink); }
.ng-label { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; }
.ng-label::after { content: " →"; font-family: var(--num); color: var(--slate); }
.ng-note { font-size: 0.8rem; color: var(--slate); line-height: 1.7; }
.next-cta { display: grid; gap: 24px; padding-top: 48px; border-top: 1px solid var(--fog); }
.next-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: 0.1em; margin: 0 0 8px; }
.next-cta p { margin: 0; color: var(--slate); }
.next-cta .actions { margin: 0; }
@media (min-width: 1080px) { .next-cta { grid-template-columns: 1fr auto; align-items: center; gap: 48px; } }

/* ---- お知らせ・活動報告 ---- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px 32px; }
@media (min-width: 700px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-item a { display: block; text-decoration: none; color: inherit; height: 100%; }
.post-thumb-wrap { display: block; overflow: hidden; margin-bottom: 16px; }
.post-thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--fog); transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.post-item a:hover .post-thumb { transform: scale(1.04); }
.post-thumb-empty { display: block; height: 0; padding-top: 66.666%; aspect-ratio: auto; background: linear-gradient(135deg, #dfe4e1, #cdd6d3); }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 0.8rem; color: var(--slate); }
.post-meta time { font-family: var(--num); font-weight: 300; font-size: 0.95rem; }
.cat { border: 1px solid var(--fog); padding: 0 10px; font-size: 0.75rem; color: var(--slate); text-decoration: none; }
a.cat:hover { border-color: var(--ink); color: var(--ink); }
.post-title { display: block; font-weight: 500; margin-top: 6px; line-height: 1.7; }
.post-item a:hover .post-title { text-decoration: underline; text-underline-offset: 0.25em; }
.post-excerpt { display: block; margin-top: 10px; color: var(--slate); font-size: 0.9rem; }
@media (min-width: 700px) {
  .post-item-lg { grid-column: 1 / -1; }
  .post-item-lg a { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
  .post-item-lg .post-thumb-wrap { margin: 0; }
  .post-item-lg .post-title { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: 0.06em; }
}
.cats { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.cats a { display: inline-flex; gap: 8px; text-decoration: none; border: 1px solid var(--fog); background: var(--paper); color: var(--ink); padding: 6px 16px; font-size: 0.85rem; }
.cats a span { font-family: var(--num); color: var(--slate); }
.cats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; font-size: 0.9rem; }
.pager span:nth-child(2) { font-family: var(--num); }
.post-cover { margin: 0 0 2.4em !important; }
.post-cover img { width: 100%; }
.post-nav { display: grid; gap: 16px; margin-top: 72px; max-width: var(--text); }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav a:last-child { text-align: right; } }
.post-nav a { display: block; text-decoration: none; color: var(--ink); border-top: 1px solid var(--ink); padding-top: 14px; }
.post-nav a span { display: block; font-size: 0.78rem; color: var(--slate); }
.related { padding-bottom: 88px; }
.related-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.1em; margin: 0 0 28px; padding-top: 48px; border-top: 1px solid var(--fog); }
@media (min-width: 1080px) { .post-list-sm { grid-template-columns: repeat(4, 1fr); } }

/* ---- お問い合わせカードなど ---- */
.link-cards { display: grid; gap: 24px; margin: 8px 0 40px; max-width: none !important; }
@media (min-width: 700px) { .link-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .link-cards-3 { grid-template-columns: repeat(3, 1fr); } }
.link-card { background: var(--paper); border-top: 1px solid var(--ink); padding: 28px; }
.link-card h2 { font-size: 1.15rem; font-weight: 500; border: 0; padding: 0; margin-top: 0; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 0.85rem; color: var(--slate); }

/* ---- 事業者情報 ---- */
.pro-person { padding: 64px 0 0; }
.pro-person-in { display: grid; gap: 40px; }
.pro-photo { margin: 0 calc(var(--gutter) * -1); }
.pro-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 35%; }
.pro-role { margin: 0 0 8px; font-size: 0.82rem; letter-spacing: 0.12em; color: var(--slate); }
.pro-name { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: 0.16em; margin: 0 0 28px; line-height: 1.3; }
.pro-name span { display: block; font-family: var(--num); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.2em; color: var(--slate); margin-top: 10px; }
.pro-person-text p { max-width: 34em; }
.pro-quals { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pro-quals li { font-size: 0.82rem; padding: 6px 14px; border: 1px solid var(--ink); }
@media (min-width: 700px) { .pro-photo { margin: 0; } }
@media (min-width: 1080px) {
  .pro-person { padding-top: 96px; }
  .pro-person-in { grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
  .pro-photo img { aspect-ratio: 4 / 5; }
}
.pro-figures { margin-top: 88px; background: var(--ink); color: #fff; }
.pro-figures ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); padding-top: 8px; padding-bottom: 8px; }
.pro-figures li { display: flex; flex-direction: column; gap: 6px; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pro-figures li:nth-child(odd) { padding-right: 16px; }
.fig-num { font-family: var(--num); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: 0.02em; }
.fig-num small { font-family: var(--sans); font-size: 0.9rem; margin-left: 6px; letter-spacing: 0.08em; color: var(--mist); }
.fig-label { font-size: 0.82rem; color: var(--mist); letter-spacing: 0.08em; }
@media (min-width: 1080px) { .pro-figures ul { grid-template-columns: repeat(4, 1fr); } .pro-figures li { border-bottom: 0; padding: 48px 0; } .pro-figures li + li { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.12); } }
.biz-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 1px; background: var(--fog); border: 1px solid var(--fog); }
@media (min-width: 700px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .biz-grid { grid-template-columns: repeat(3, 1fr); } }
.biz-grid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 32px 28px 36px; background: var(--stone); color: var(--ink); text-decoration: none; transition: background .2s; }
.biz-grid a:hover { background: #fff; }
.biz-no { font-family: var(--num); font-weight: 300; color: var(--slate); }
.biz-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.1em; }
.biz-text { font-size: 0.88rem; color: var(--slate); line-height: 1.8; }
.pro-history { background: var(--paper); }
.pro-history-in { display: grid; gap: 32px; }
@media (min-width: 1080px) { .pro-history-in { grid-template-columns: 1fr 2fr; gap: 80px; } }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--fog); }
.timeline li { position: relative; display: grid; grid-template-columns: 4.2em 1fr; gap: 20px; padding: 0 0 32px 28px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.7em; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.timeline li:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--num); font-size: 1.3rem; font-weight: 300; line-height: 1.5; }
.tl-text { line-height: 1.9; }
.pro-media .lc-grid { margin-top: 32px; }
.pro-outline-in { display: grid; gap: 24px; }
@media (min-width: 1080px) { .pro-outline-in { grid-template-columns: 1fr 2fr; gap: 80px; } }
.outline { margin: 0; border-top: 1px solid var(--ink); }
.outline > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--fog); }
.outline dt { color: var(--slate); font-size: 0.88rem; }
.outline dd { margin: 0; }
@media (max-width: 699px) { .outline > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---- フッター ---- */
.site-footer { background: #172423 url(/images/footer-shore.svg) center top / 100% auto no-repeat; color: var(--mist); padding: 150px 0 32px; font-size: 0.86rem; }
@media (max-width: 760px) { .site-footer { background-size: 1000px auto; padding-top: 120px; } }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { display: grid; gap: 56px; }
.footer-logo { margin: 0 0 20px; }
.footer-logo img { width: 116px; background: #fff; border-radius: 50%; padding: 8px; box-sizing: content-box; }
.footer-brand p { margin: 0 0 8px; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px !important; }
.footer-actions .btn { padding: 12px 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
.fcol-title { margin: 0 0 12px; color: var(--mist); font-size: 0.78rem; letter-spacing: 0.12em; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 1080px) { .footer-inner { grid-template-columns: 1fr 2.4fr; gap: 80px; } .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.copyright { margin-top: 64px; font-family: var(--num); font-weight: 300; font-size: 0.78rem; letter-spacing: 0.08em; }

/* ---- 見つからないページ ---- */
.nf { padding-top: 88px; padding-bottom: 112px; }
.nf h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.nf .lead { color: var(--slate); margin-bottom: 40px; }
.nf .next-grid { margin-bottom: 40px; }

/* ---- トップページ：PCで横幅を活かす ---- */
@media (min-width: 1440px) {
  .service { grid-template-columns: 1.35fr 1fr; gap: 96px; }
  .evidence-grid { gap: 72px; }
}
.prose a, .prose td { overflow-wrap: anywhere; }
.page-thank .prose td:last-child { min-width: 0; }
.page-thank .prose tr { min-width: 0; }
.site-footer .btn-light { color: var(--ink); }
.site-footer .btn-light:hover { text-decoration: none; }
.page-pro .section { padding: 88px 0; }
@media (min-width: 1080px) { .page-pro .section { padding: 112px 0; } }
.page-pro .pro-media + .pro-outline { padding-top: 0; }
@media (max-width: 1080px) { .brand { position: relative; z-index: 2; } }
.prose h3.sec { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: 0.1em; margin: 2.6em 0 0.9em; padding-bottom: 0.5em; border-bottom: 1px solid var(--fog); }
.prose > h3.sec:first-child { margin-top: 0; }
.prose h3.sec .swl-fz { font-size: inherit !important; }

.lc-img img[src$='.gif'], .lc-img img[src$='.png'] { object-fit: contain; padding: 12%; background: #fff; }

/* ---- メディア・受賞 ---- */
.media-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; position: sticky; top: 72px; z-index: 5; background: var(--stone); padding: 12px 0; border-bottom: 1px solid var(--fog); }
.media-year { display: grid; gap: 16px; padding: 40px 0; border-bottom: 1px solid var(--fog); }
.media-year[hidden] { display: none; }
.media-year-title { font-family: var(--num); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; margin: 0; letter-spacing: 0.02em; }
.media-year-title span { font-family: var(--sans); font-size: 0.9rem; margin-left: 6px; color: var(--slate); }
.media-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 700px) { .media-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .media-year { grid-template-columns: 9rem 1fr; gap: 48px; padding: 56px 0; } .media-year-title { position: sticky; top: 140px; } }
@media (min-width: 1440px) { .media-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.media-item { display: flex; flex-direction: column; gap: 10px; }
.media-item[hidden] { display: none; }
.mi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.78rem; color: var(--slate); }
.mi-type { background: var(--ink); color: #fff; padding: 1px 10px; letter-spacing: 0.08em; }
.mi-meta time { font-family: var(--num); }
.media-item .lc-one { margin: 0; max-width: none !important; flex: 1; display: flex; }
.media-item .lc { grid-template-columns: 1fr; grid-template-rows: auto 1fr; width: 100%; }
.media-item .lc-img { aspect-ratio: 1.91 / 1; }
.media-item .lc-title { -webkit-line-clamp: 3; }
.media-archive { padding-top: 72px; }
.media-archive .lc-one { max-width: 46rem !important; }
.media-year-title { white-space: nowrap; }
@media (min-width: 1080px) { .media-year { grid-template-columns: 11rem 1fr; } }
