/* 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: 76rem;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

*, *::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; } }

/* ---- ヘッダー（白地・ロゴは原色） ---- */
.site-header { background: #ece8df url(/images/header-shore.svg) center bottom / 100% 100% no-repeat; color: var(--ink); position: relative; z-index: 10; padding-bottom: 30px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { width: 176px; height: auto; }
@media (min-width: 900px) { .brand img { width: 210px; } }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.86rem; letter-spacing: 0.1em; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-contact a { border: 1px solid var(--ink); padding: 8px 18px; }
.nav-contact a:hover, .nav-contact a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-toggle { display: none; }
@media (max-width: 1000px) {
  .menu-toggle { display: inline-block; background: none; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: 0.85rem; letter-spacing: 0.1em; padding: 6px 16px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 106px; background: #fff; border-bottom: 1px solid var(--fog); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--fog); font-size: 0.95rem; }
  .nav-contact a { margin-top: 16px; text-align: center; border: 1px solid var(--ink); }
}

/* ---- 水深の目印 ---- */
.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); }

/* ---- 下層ページ ---- */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--fog); }
@media (min-width: 900px) { .page-head { padding: 112px 0 56px; } }
.page-head h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin-bottom: 0.2em; }
.page-head .lead { color: var(--slate); margin: 0.6em 0 0; }
.page-head .post-meta { margin-bottom: 14px; }
.page-body { padding-top: 48px; padding-bottom: 120px; }

.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px 32px; }
@media (min-width: 640px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-item a { display: block; text-decoration: none; color: inherit; }
.post-thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--fog); margin-bottom: 16px; }
.post-thumb-empty { display: block; height: 0; padding-top: 66.666%; aspect-ratio: auto; background: var(--fog); }
.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; }
.post-title { display: block; font-weight: 500; margin-top: 6px; line-height: 1.7; }
.post-item a:hover .post-title { text-decoration: underline; }
.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); color: var(--ink); padding: 4px 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); }

/* 本文 */
.prose { padding-top: 56px; padding-bottom: 120px; }
.prose > * { max-width: 42em; }
.prose h2 { font-size: 1.55rem; font-weight: 300; margin-top: 2.6em; padding-bottom: 0.5em; border-bottom: 1px solid var(--fog); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 2.2em; }
.prose strong { font-weight: 500; }
.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; }

.post-nav { display: grid; gap: 16px; padding-bottom: 96px; }
@media (min-width: 640px) { .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); }

.link-cards { display: grid; gap: 24px; margin: 8px 0 40px; max-width: none !important; }
@media (min-width: 720px) { .link-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .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); }

/* ---- ネットショップ ---- */
.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; }
.prose .linkcard { margin: 1em 0; }
.prose .linkcard a { display: block; border: 1px solid var(--fog); background: var(--paper); padding: 16px 20px; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.prose .linkcard a:hover { border-color: var(--ink); }
.linkcard-title { display: block; font-weight: 500; line-height: 1.7; word-break: break-all; }
.linkcard-site { display: block; font-size: 0.8rem; color: var(--slate); margin-top: 2px; }

/* ---- フッター ---- */
.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: 48px; }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.1fr 2fr auto; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
.footer-logo { margin: 0 0 20px; }
.footer-logo img { width: 132px; background: #fff; border-radius: 50%; padding: 8px; box-sizing: content-box; }
.footer-inner p { margin: 0 0 6px; }
.footer-links, .footer-sns { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.copyright { margin-top: 64px; font-family: var(--num); font-weight: 300; font-size: 0.78rem; letter-spacing: 0.08em; }
.nw { display: inline-block; }
@media (max-width: 640px) { .prose h2 { font-size: 1.3rem; } .page-head h1 { font-size: 1.6rem; } }

/* ---- スポンサー ---- */
.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; } }

/* ヘッダー：スクロールすると細く・上に固定 */
.site-header { position: sticky; top: 0; transition: padding .35s ease; }
.site-header .header-inner { transition: min-height .35s ease; }
.site-header .brand img { transition: width .35s ease; }
.site-header.is-scrolled { padding-bottom: 14px; }
.site-header.is-scrolled .header-inner { min-height: 58px; }
@media (min-width: 900px) { .site-header.is-scrolled .brand img { width: 170px; } }
@media (max-width: 1000px) { .site-header.is-scrolled .site-nav { top: 72px; } }

/* 画面に入ったら現れる（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; }
