/* 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-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 16px; }
.shop-bar .shop-count { margin: 0; }
.shop-count { margin: 20px 0 16px; font-size: 0.82rem; color: var(--slate); }
.view-switch { display: flex; border: 1px solid var(--fog); background: var(--paper); }
.view-switch button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 0.78rem; color: var(--slate); cursor: pointer; }
.view-switch button + button { border-left: 1px solid var(--fog); }
.view-switch button:focus-visible { outline: 2px solid var(--tide); outline-offset: -2px; }
.view-switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .view-switch span { display: none; } .view-switch button { padding: 8px 11px; } }
.pcard-desc { display: none; }
/* 大きく：スマホ1列・PC2列 */
.pgrid[data-view="large"] { grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 760px) { .pgrid[data-view="large"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 36px; } }
.pgrid[data-view="large"] .pcard-name { font-size: 1.05rem; }
/* リスト：写真を左、文字を右に段で並べる */
.pgrid[data-view="list"] { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--fog); }
.pgrid[data-view="list"] .pcard { border-bottom: 1px solid var(--fog); }
.pgrid[data-view="list"] .pcard-btn { flex-direction: row; align-items: flex-start; gap: 16px; padding: 16px 0; }
.pgrid[data-view="list"] .pcard-img { flex: 0 0 104px; width: 104px; }
.pgrid[data-view="list"] .badge { top: 6px; left: 6px; font-size: 0.64rem; padding: 2px 6px; }
.pgrid[data-view="list"] .pcard-body { padding-top: 0; min-width: 0; }
.pgrid[data-view="list"] .pcard-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.8rem; line-height: 1.7; color: var(--slate); }
@media (min-width: 760px) { .pgrid[data-view="list"] .pcard-img { flex-basis: 160px; width: 160px; } .pgrid[data-view="list"] .pcard-btn { gap: 28px; padding: 22px 0; } }
.pgrid[data-view="list"] .is-skeleton { display: none; }

/* 商品カード */
.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-img.is-gen { --gen: #1d3433; display: block; min-height: 132px; color: #fff; background: radial-gradient(120% 90% at 85% 0%, rgba(98,150,145,.45), transparent 60%), linear-gradient(160deg, var(--gen), #0f1c1c); isolation: isolate; }
.lc-grid .lc-img.is-gen, .media-item .lc-img.is-gen { aspect-ratio: 1.91 / 1; }
.gen-waves { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; z-index: -1; fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.2; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.lc:hover .gen-waves { transform: translateX(-14px); }
.gen-icon { position: absolute; top: 11%; right: 8%; width: 18%; max-width: 76px; aspect-ratio: 1; fill: none; stroke: rgba(255,255,255,.82); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gen-type { position: absolute; top: 12%; left: 8%; font-family: var(--num); font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,.72); padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.35); }
.gen-outlet { position: absolute; left: 8%; right: 8%; bottom: 13%; font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: 0.08em; line-height: 1.4; text-shadow: 0 1px 12px rgba(0,0,0,.25); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.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; } }

/* ===== 2026-10 デザイン調整（英字の見出し・写真タイル） ===== */
/* メニュー：日本語の下に小さな英字 */
.nt-ja { display: block; }
.nt-en { display: block; font-family: var(--num); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--slate); line-height: 1; margin-top: 4px; font-weight: 400; }
@media (min-width: 1081px) {
  .nav-top .nt-ja { line-height: 1.3; }
  .nav-top { display: inline-grid; grid-template-columns: auto auto; column-gap: 6px; align-items: center; }
  .nav-top .nt-ja { grid-column: 1; grid-row: 1; }
  .nav-top .nt-en { grid-column: 1; grid-row: 2; }
  .has-sub > .nav-top::after { grid-column: 2; grid-row: 1 / span 2; }
  .nav-contact .nt-en { color: inherit; opacity: .6; }
}
@media (max-width: 1080px) {
  .nav-top { align-items: baseline; }
  .nav-top .nt-en { margin: 0 0 0 auto; padding-right: 4px; font-size: 0.7rem; }
  .nav-contact .nt-en { display: none; }
}

/* 英字の大見出し（セクション・下層ページ） */
.section-en, .ph-en { margin: 0; font-family: var(--num); font-weight: 300; line-height: 1; letter-spacing: 0.04em; color: var(--tide); }
.section-en { font-size: clamp(2.6rem, 7vw, 5.6rem); margin: 0 0 18px -0.04em; opacity: .9; }
.ph-en { font-size: clamp(2.2rem, 5.6vw, 4.4rem); margin: 0 0 16px -0.04em; }
.contact-band .section-en { color: var(--mist); }
.page-head h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.page-head.has-cover .ph-en { font-size: clamp(2.2rem, 4.4vw, 4rem); }

/* 写真タイル（サービス） */
.services .tiles { display: grid; gap: 2px; margin-top: 40px; background: var(--ink); }
@media (min-width: 900px) { .services .tiles { grid-template-columns: repeat(3, 1fr); margin-top: 56px; } }
.tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 3; isolation: isolate; }
@media (min-width: 900px) { .tile { aspect-ratio: 3 / 4; } }
@media (min-width: 1440px) { .tile { aspect-ratio: 4 / 5; } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.6,.2,1), filter .6s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,24,24,0) 30%, rgba(14,24,24,.55) 62%, rgba(14,24,24,.88)); transition: background .6s; }
.tile:hover img { transform: scale(1.05); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px clamp(20px, 3vw, 44px) clamp(26px, 3vw, 44px); display: grid; gap: 6px; }
.tile-no { font-family: var(--num); font-size: 0.78rem; letter-spacing: 0.2em; color: rgba(255,255,255,.7); }
.tile-en { font-family: var(--num); font-weight: 300; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: 0.02em; }
.tile h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.12em; margin: 0 0 6px; color: #fff; }
.tile-text { font-size: 0.86rem; line-height: 1.8; color: rgba(255,255,255,.86); max-width: 26em; }
.tile-more { margin-top: 12px; font-size: 0.82rem; letter-spacing: 0.1em; display: inline-flex; align-items: center; gap: 12px; }
.tile-more::after { content: ""; width: 36px; height: 1px; background: currentColor; transition: width .4s; }
.tile:hover .tile-more::after { width: 60px; }
@media (min-width: 900px) and (hover: hover) {
  .tile-text { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s ease, opacity .5s ease; }
  .tile:hover .tile-text, .tile:focus-visible .tile-text { max-height: 8em; opacity: 1; }
}

/* 活動エリア：横に広く */
@media (min-width: 900px) { .record .areas { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; } }
@media (min-width: 1440px) { .record .areas { grid-template-columns: repeat(3, 1fr); } }

/* トップのメディア掲載カード */
.home-media { background: var(--paper); }
.hm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0 32px; }
.hm-link { margin: 0 0 1.4em; }
.home-media .lc-grid { margin-top: 24px; }
@media (min-width: 900px) { .home-media .lc-grid { grid-template-columns: repeat(3, 1fr); } }
.home-media .lc-grid .lc-title { -webkit-line-clamp: 3; }
@media (max-width: 899px) {
  .tile { aspect-ratio: auto; min-height: 460px; }
  .tile::after { background: linear-gradient(180deg, rgba(14,24,24,0) 18%, rgba(14,24,24,.6) 50%, rgba(14,24,24,.9)); }
}
.site-header.is-scrolled .nt-en { display: none; }
@media (min-width: 1080px) { .pro-media .lc-grid { grid-template-columns: repeat(3, 1fr); } }
/* ヒーローの英字 */
.hero-en { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-family: var(--num); font-size: clamp(0.72rem, 1.1vw, 0.9rem); letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,.85); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-en::before { content: ""; width: 48px; height: 1px; background: currentColor; }
/* フッター：リンクに細い区切り線 */
.fcol ul { gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.fcol li a { display: block; padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: padding .25s, background .25s; }
.fcol li a:hover { padding-left: 10px; background: rgba(255,255,255,.06); }
@media (max-width: 699px) { .hero-en { letter-spacing: 0.18em; font-size: 0.66rem; gap: 10px; } .hero-en::before { width: 24px; } }
.fcol li a { font-size: 0.86rem; }
@media (max-width: 420px) { .hero h1 { font-size: 1.85rem; letter-spacing: 0.1em; } }
.nw { display: inline-block; }
/* お知らせ一覧：自動作成の表紙 */
.post-thumb-wrap .lc-img.is-gen { aspect-ratio: 3 / 2; min-height: 0; }
.post-thumb-wrap .gen-outlet { font-size: clamp(0.95rem, 1.4vw, 1.2rem); }
.post-thumb-wrap img.post-thumb[src$='.png'], .post-thumb-wrap img.post-thumb[src$='.gif'] { object-fit: contain; padding: 10%; background: #fff; }

/* トップの写真：スマホ・タブレットでは写真を切らずに縮小し、文字は写真の下に */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero-slides { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .hero-slide img { object-position: 50% 50% !important; }
  .hero-slide.is-bright::after { display: none; }
  .hero-meta { position: static; padding: 14px var(--gutter) 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .hero-caption { color: rgba(255,255,255,.62); }
  .hero-inner { padding-top: 36px; padding-bottom: 64px; translate: none !important; opacity: 1 !important; }
  .hero h1, .hero .lead { text-shadow: none; }
}

/* スマホ・タブレット：写真を不自然に切らない */
@media (max-width: 899px) {
  /* 下層ページの見出し写真は、写真の元の縦横比で */
  .ph-cover img { aspect-ratio: auto !important; height: auto; }
  /* 「海岸からは、見えない。」の2枚目（カニ）も元の比率で */
  .evidence figure:last-child img { aspect-ratio: 4 / 3; }
  /* サービスの写真タイル：写真を上、文字を下に分ける */
  .services .tiles { gap: 0; }
  .tile { min-height: 0; aspect-ratio: auto; display: grid; background: var(--ink); }
  .tile::after { display: none; }
  .tile img { position: static; aspect-ratio: auto; height: auto; z-index: 0; }
  .tile-body { position: static; padding: 24px var(--gutter) 40px; }
}

/* SNS */
.home-sns { border-top: 1px solid var(--fog); }
.sns-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .sns-wrap { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } .home-sns .section-lead { margin-bottom: 0; } }
.sns-cards { display: grid; gap: 16px; margin: 1.6em 0; }
.sns-card { position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; column-gap: 20px; row-gap: 2px; align-items: center; padding: 24px 28px; background: #fff; border: 1px solid var(--fog); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.sns-card:hover { border-color: var(--ink); box-shadow: 0 10px 28px rgba(10,18,18,.08); }
.sns-icon { grid-row: 1 / span 3; width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; }
.sns-icon svg { width: 24px; height: 24px; fill: currentColor; }
.sns-name { font-family: var(--num); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--slate); }
.sns-handle { font-family: var(--num); font-size: 1.35rem; letter-spacing: 0.02em; }
.sns-note { font-size: 0.82rem; color: var(--slate); }
.sns-follow { grid-column: 2; margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.1em; display: inline-flex; align-items: center; gap: 12px; }
.sns-follow::after { content: ""; width: 32px; height: 1px; background: currentColor; transition: width .3s; }
.sns-card:hover .sns-follow::after { width: 52px; }
.prose .sns-cards { max-width: 46rem; }
/* 埋め込み投稿 */
.embed { margin: 2em 0; display: flex; justify-content: center; }
.embed .twitter-tweet, .embed .instagram-media { margin: 0 auto !important; max-width: 560px !important; width: 100% !important; }
.embed blockquote:not(.twitter-tweet-rendered) { padding: 20px 24px; border: 1px solid var(--fog); background: #fff; }
.home-sns .section-lead { margin-bottom: 0; } .sns-wrap .sns-cards { margin: 0; } @media (max-width: 899px) { .sns-wrap { gap: 28px; } }

/* 全ページ共通：フッター上のSNS */
.sns-band { padding: 88px 0 96px; background: var(--paper); border-top: 1px solid var(--fog); }
@media (min-width: 900px) { .sns-band { padding: 120px 0 128px; } }
.sb-cols { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 900px) { .sb-cols.is-two { grid-template-columns: 1fr 1fr; gap: 48px; } .sb-cols:not(.is-two) { max-width: 640px; } }
.sb-col { min-width: 0; }
.sb-head { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--fog); color: var(--ink); text-decoration: none; }
.sb-head .sns-icon { grid-row: auto; width: 48px; height: 48px; }
.sb-name { display: grid; line-height: 1.3; }
.sb-name span { font-family: var(--num); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--slate); }
.sb-name strong { font-family: var(--num); font-weight: 400; font-size: 1.2rem; }
.sb-follow { font-size: 0.8rem; letter-spacing: 0.1em; padding: 9px 16px; border: 1px solid var(--ink); transition: background .2s, color .2s; white-space: nowrap; }
.sb-head:hover .sb-follow { background: var(--ink); color: #fff; }
.sb-frame { background: #fff; border: 1px solid var(--fog); height: 560px; overflow: hidden; }
.sb-x { overflow-y: auto; }
.sb-frame .twitter-timeline:not(iframe) { display: grid; place-items: center; height: 100%; color: var(--slate); font-size: 0.9rem; text-decoration: none; }
.sb-ig iframe { width: 100%; height: 100%; border: 0; display: block; }
.sb-note { margin: 10px 0 0; font-size: 0.76rem; color: var(--slate); }
.sb-note a { color: inherit; }
@media (max-width: 699px) { .sb-frame { height: 480px; } .sb-follow { padding: 7px 12px; } }
.sb-lead { color: var(--slate); margin: 0; }
@media (min-width: 900px) {
  .sns-band.is-one .sb-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
  .sns-band.is-one .sb-cols { margin-top: 0; max-width: none; }
}

/* トップ：ネットショップへの導線 */
.hero-actions { display: inline-grid; gap: 12px; margin-top: 36px; max-width: 100%; }
.hero-actions .actions { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-actions .actions .btn { text-align: center; justify-content: center; }
.hero-shop { display: flex; align-items: center; gap: 16px; padding: 16px 22px; color: #fff; text-decoration: none; background: rgba(62,110,108,.88); border: 1px solid rgba(255,255,255,.25); transition: background .25s; }
.hero-shop:hover { background: var(--tide); }
.hs-en { font-family: var(--num); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.7); white-space: nowrap; }
.hs-ja { font-size: 0.95rem; letter-spacing: 0.1em; }
.hs-arrow { margin-left: auto; width: 36px; height: 1px; background: currentColor; position: relative; transition: width .3s; }
.hs-arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.hero-shop:hover .hs-arrow { width: 52px; }
@media (max-width: 699px) {
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .actions { grid-template-columns: 1fr; }
  .hero-shop { padding: 16px 18px; }
}
@media (max-width: 699px) { .hs-en { display: none; } }
.sb-x { padding: 8px 16px; overflow-y: auto; }
.sb-x .twitter-tweet { margin: 8px auto !important; }
.sb-x blockquote.twitter-tweet:not(.twitter-tweet-rendered) { padding: 18px; border: 1px solid var(--fog); }
.sb-x-empty { display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.sb-frame.sb-x { height: auto; min-height: 240px; max-height: 640px; }

/* トップ：よくある質問 */
.home-faq { border-top: 1px solid var(--fog); }
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; } .faq-intro { position: sticky; top: 120px; } }
.faq-list { border-top: 1px solid var(--fog); }
.faq-item { border-bottom: 1px solid var(--fog); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 32px 1fr 16px; gap: 14px; align-items: baseline; padding: 22px 0; cursor: pointer; font-size: 1rem; line-height: 1.7; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s; justify-self: end; }
.faq-item[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq-q { font-family: var(--num); font-size: 1.15rem; color: var(--tide); }
.faq-a { padding: 0 32px 24px 46px; color: var(--slate); }
.faq-a p { margin: 0 0 12px; }
@media (max-width: 699px) { .faq-a { padding: 0 0 22px 46px; } }

/* 依頼ページなど：要点・料金表 */
.prose .lead-text { font-size: 1.05rem; line-height: 2; }
.prose ul.points { list-style: none; padding: 0; margin: 2em 0; display: grid; gap: 12px; max-width: none; }
@media (min-width: 900px) { .prose ul.points { grid-template-columns: repeat(3, 1fr); } }
.prose ul.points li { margin: 0; padding: 22px 22px 24px; background: #fff; border: 1px solid var(--fog); border-top: 2px solid var(--tide); }
.prose ul.points strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; margin-bottom: 8px; }
.prose ul.points span { display: block; font-size: 0.88rem; color: var(--slate); line-height: 1.8; }
.prose table.price-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose table.price-table th, .prose table.price-table td { padding: 16px 12px; border-bottom: 1px solid var(--fog); text-align: left; vertical-align: top; }
.prose table.price-table th { font-weight: 400; }
.prose table.price-table td { text-align: right; white-space: nowrap; }
.prose table.price-table td strong { font-family: var(--num); font-weight: 400; font-size: 1.15rem; }
.prose table.price-table small { display: block; font-size: 0.74rem; color: var(--slate); margin-top: 2px; }
@media (max-width: 699px) { .prose table.price-table th, .prose table.price-table td { display: block; padding: 0; border: 0; text-align: left; } .prose table.price-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--fog); } .prose table.price-table td { margin-top: 4px; white-space: normal; } }
.prose ul.notes { font-size: 0.84rem; color: var(--slate); padding-left: 1.2em; }
.prose .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0; }
.prose .cta-row .btn { text-decoration: none; }
.prose .cta-row .btn-line { color: var(--ink); }
.prose table.price-table { max-width: 46rem; background: #fff; border: 1px solid var(--fog); }
.prose table.price-table th { background: none !important; color: var(--ink) !important; padding-left: 20px; }
.prose table.price-table td { background: none !important; padding-right: 20px; }
@media (max-width: 699px) { .prose table.price-table tr { padding: 14px 16px; } .prose table.price-table th, .prose table.price-table td { padding: 0 !important; } }
/* 1日の流れ */
.prose ol.day-flow { list-style: none; padding: 0; margin: 1.4em 0; max-width: 46rem; border-left: 1px solid var(--fog); }
.prose ol.day-flow li { position: relative; display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; padding: 10px 0 10px 24px; margin: 0; }
.prose ol.day-flow li::before { content: ""; position: absolute; left: -5px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--tide); }
.prose ol.day-flow time { font-family: var(--num); color: var(--tide); }
