/*
Theme Name: ROKUNECT
Theme URI: https://rokunect.reica-design.com/
Author: REICA Design Works
Description: ROKUNECT専用のオリジナルWordPressテーマ
Version: 0.3.10
Text Domain: rokunect
*/

:root {
  --navy: #101a2d;
  --navy-2: #18263d;
  --ivory: #f4efe3;
  --paper: #fbeed9;
  --gold: #d8bf72;
  --gold-deep: #b79552;
  --ink: #18263d;
  --body: #4c5666;
  --content: 1200px;
  --side: clamp(24px, 5vw, 120px);
  --serif: "Shippori Mincho", "Yu Mincho", YuMincho, serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 104px; }
body { margin: 0; color: var(--body); font-family: var(--sans); background: var(--navy); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-main { overflow: clip; }
.container { width: min(calc(100% - (var(--side) * 2)), var(--content)); margin-inline: auto; position: relative; z-index: 2; }

.site-header { position: sticky; top: 0; z-index: 50; height: 88px; background: var(--navy); color: var(--ivory); }
.site-header__inner { width: min(calc(100% - 64px), 1178px); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; color: var(--ivory); }
.brand__lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand__symbol { width: 42px; height: 46px; object-fit: contain; }
.brand__word { color: var(--ivory); font: 400 22px/1 "Noto Serif JP", var(--serif); letter-spacing: .12em; white-space: nowrap; }
.brand--footer .brand__symbol { width: 58px; height: 63px; }
.brand--footer .brand__word { font-size: 24px; }
.global-nav { display: flex; align-items: center; gap: 33px; font: 600 15px/1.6 var(--serif); letter-spacing: .04em; }
.global-nav__links { display: contents; }
.global-nav a { transition: color .25s ease; }
.global-nav a:hover, .global-nav a:focus-visible { color: var(--gold); }
.header-contact { min-width: 202px; height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid var(--gold); font: 600 17px var(--serif); }
.arrow { font-family: serif; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; position: relative; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; width: 28px; height: 1px; left: 10px; background: var(--ivory); transition: transform .25s, top .25s, opacity .25s; }
.menu-toggle::before { top: 15px; }.menu-toggle span { top: 23px; }.menu-toggle::after { top: 31px; }
.menu-toggle[aria-expanded="true"]::before { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { top: 23px; transform: rotate(-45deg); }
.sp-only, .sp-menu-brand, .sp-menu-contact, .sp-menu-meta, .sp-menu-close { display: none; }

.hero { min-height: 903px; position: relative; overflow: hidden; isolation: isolate; color: var(--ivory); background: var(--navy); }
.hero__media { width: 100%; height: 100%; display: block; position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__inner { min-height: 903px; display: flex; align-items: flex-start; padding-top: 95px; }
.hero__content { width: min(574px, 100%); }
.hero__eyebrow { margin: 0 0 10px; color: var(--gold-deep); font: 700 16px/1.8 var(--serif); letter-spacing: .05em; }
.hero h1 { margin: 0; color: var(--ivory); font: 700 clamp(48px, 4.25vw, 61px)/1.55 var(--serif); letter-spacing: .05em; }
.hero__lead { margin: 25px 0 0; color: #d6d0c4; font: 600 21px/1.75 var(--serif); letter-spacing: .04em; }
.button-row { display: flex; align-items: center; gap: 20px; margin-top: 44px; }
.hero__eyebrow, .hero h1, .hero__lead, .hero .button-row { opacity: 0; animation: rokunect-hero-rise 1.15s cubic-bezier(.22,.7,.24,1) both; }
.hero__eyebrow { animation-delay: .2s; }
.hero h1 { animation-delay: .55s; }
.hero__lead { animation-delay: .9s; }
.hero .button-row { animation-delay: 1.25s; }
@keyframes rokunect-hero-rise {
  from { opacity: 0; transform: translate3d(0,18px,0); filter: blur(3px); }
  to { opacity: 1; transform: translate3d(0,0,0); filter: blur(0); }
}
.button, .header-contact { box-shadow: 0 0 16px rgba(216,191,114,.26), 0 7px 18px rgba(6,10,28,.2); transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; }
.button { min-height: 53px; padding: 12px 30px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid var(--gold); font: 600 17px/1.5 var(--serif); letter-spacing: .04em; }
.button:hover, .button:focus-visible, .header-contact:hover, .header-contact:focus-visible { transform: translateY(-2px); box-shadow: 0 0 23px rgba(216,191,114,.42), 0 10px 22px rgba(6,10,28,.28); }
.button--primary { min-width: 273px; color: var(--navy-2); background: var(--gold); }
.button--gold { min-width: 273px; color: var(--navy-2); background: var(--gold); }
.button--outline { min-width: 197px; min-height: 47px; color: var(--ivory); background: rgba(1,3,42,.7); font-size: 14px; }

.art-section { position: relative; isolation: isolate; background-color: var(--paper); background-position: center; background-size: cover; }
.art-section--ivory { background-image: url("assets/images/river-ivory-pc.webp"); }
.art-section--navy { color: var(--ivory); background-color: var(--navy); background-image: url("assets/images/service-bg-river-pc.webp"); }
.art-section--navy-flow { color: var(--ivory); background-color: var(--navy); background-image: url("assets/images/river-navy-pc.webp"); }
.section-label { position: absolute; top: 50%; right: 18px; z-index: 3; writing-mode: vertical-rl; color: var(--gold-deep); font: 400 14px var(--serif); letter-spacing: .08em; transform: translateY(-50%); }
.art-section--navy .section-label, .art-section--navy-flow .section-label { color: var(--gold); }
.section-heading { margin: 0; color: var(--ink); font: 700 24px/1.65 var(--serif); letter-spacing: .04em; }
.art-section--navy .section-heading, .art-section--navy-flow .section-heading { color: var(--ivory); }
.section-copy { font-size: 16px; line-height: 1.7; letter-spacing: .02em; }
.copy-sp { display: none; }

/* Crisp gold glints: decorative only, isolated from layout and page content. */
.quiet-glow { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; contain: layout paint; }
.quiet-glow__line { display: none; }
.quiet-glow__point { position: absolute; width: 6px; height: 6px; border-radius: 50%; opacity: 0; background: #fff8ce; box-shadow: 0 0 6px 2px rgba(255,244,177,.95), 0 0 18px 7px rgba(242,217,120,.62); animation: rokunect-point-glint 5.1s linear infinite; }
.quiet-glow__point::before, .quiet-glow__point::after { content: ""; position: absolute; left: 50%; top: 50%; background: linear-gradient(90deg, transparent, #fff8ce, transparent); transform: translate(-50%, -50%); }
.quiet-glow__point::before { width: 38px; height: 1px; }
.quiet-glow__point::after { width: 1px; height: 38px; }
.quiet-glow__point:nth-child(2) { animation-duration: 4.6s; animation-delay: .4s; }
.quiet-glow__point:nth-child(3) { width: 5px; height: 5px; animation-duration: 6.2s; animation-delay: 2.1s; }
.quiet-glow__point:nth-child(4) { width: 7px; height: 7px; animation-duration: 7.8s; animation-delay: 3.7s; }
.quiet-glow--hero { --line-x: 69%; --line-y: 29%; --line-r: -26deg; --line-delay: 2.2s; }
.quiet-glow--hero .quiet-glow__point { box-shadow: 0 0 7px 3px rgba(255,248,206,1), 0 0 24px 10px rgba(242,217,120,.75); }
.quiet-glow--hero .quiet-glow__point:nth-child(2) { left: 71.1%; top: 5.5%; }
.quiet-glow--hero .quiet-glow__point:nth-child(3) { left: 78.2%; top: 38.5%; }
.quiet-glow--hero .quiet-glow__point:nth-child(4) { left: 64.8%; top: 70.2%; }
.quiet-glow--services .quiet-glow__point:nth-child(2) { left: 42.8%; top: 22.4%; }
.quiet-glow--services .quiet-glow__point:nth-child(3) { left: 53.6%; top: 52.5%; }
.quiet-glow--services .quiet-glow__point:nth-child(4) { left: 65.8%; top: 75.2%; }
.quiet-glow--partners .quiet-glow__point:nth-child(2) { left: 74.9%; top: 48.4%; }
.quiet-glow--partners .quiet-glow__point:nth-child(3) { left: 61.9%; top: 37.8%; }
.quiet-glow--partners .quiet-glow__point:nth-child(4) { left: 39.9%; top: 20.2%; }
.quiet-glow--profile .quiet-glow__point:nth-child(2) { left: 24.7%; top: 20.1%; }
.quiet-glow--profile .quiet-glow__point:nth-child(3) { left: 38.1%; top: 37.8%; }
.quiet-glow--profile .quiet-glow__point:nth-child(4) { left: 70.4%; top: 61.7%; }
.quiet-glow--faq .quiet-glow__point:nth-child(2) { left: 82.6%; top: 51.5%; }
.quiet-glow--faq .quiet-glow__point:nth-child(3) { left: 75%; top: 61.7%; }
.quiet-glow--faq .quiet-glow__point:nth-child(4) { left: 69.9%; top: 77.1%; }
.quiet-glow--final .quiet-glow__point:nth-child(2) { left: 74.7%; top: 33.8%; }
.quiet-glow--final .quiet-glow__point:nth-child(3) { left: 80.2%; top: 54.6%; }
.quiet-glow--final .quiet-glow__point:nth-child(4) { left: 90.1%; top: 75.8%; }
@keyframes rokunect-point-glint {
  0%, 54%, 66%, 100% { opacity: 0; transform: scale(.35) rotate(0deg); }
  57% { opacity: .45; transform: scale(.85) rotate(8deg); }
  60% { opacity: 1; transform: scale(1.55) rotate(18deg); }
  63% { opacity: .22; transform: scale(.7) rotate(25deg); }
}

.philosophy { min-height: 760px; display: grid; align-items: center; background-image: none; }
.philosophy::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper) url("assets/images/river-ivory-pc.webp") left top/100% 126.15% no-repeat; }
.philosophy__body { width: min(700px, 65%); margin-left: auto; margin-right: 7%; }
.philosophy__body .section-copy { margin-top: 28px; }

.services { min-height: 1294px; padding: 196px 0 98px; text-align: left; }
.services .section-heading { width: 1032px; max-width: 100%; margin-left: auto; text-align: right; }
.services__intro { width: 1032px; max-width: 100%; margin: 17px 0 55px auto; padding: 14px 0; position: relative; text-align: right; background: rgba(7,11,30,.62); box-shadow: 0 0 26px 22px rgba(7,11,30,.56); }
.cards { display: grid; grid-template-columns: repeat(2, 359px); justify-content: center; gap: 24px 50px; }
.service-card { min-height: 340px; padding: 34px 54px; display: flex; flex-direction: column; align-items: center; text-align: left; border: 1px solid rgba(216,191,114,.7); border-radius: 12px; background: #132137; }
.sprite-icon { width: 200px; height: 127px; overflow: hidden; position: relative; }
.sprite-icon img { width: 800px; max-width: none; height: 180px; position: absolute; top: -18px; left: 0; }
.sprite-icon--2 img { left: -200px; }.sprite-icon--3 img { left: -400px; }.sprite-icon--4 img { left: -600px; }
.service-card h3 { width: 100%; margin: 9px 0 20px; text-align: center; font: 600 21px/1.5 var(--serif); }
.service-card p { margin: 0; font-size: 14px; line-height: 1.55; }

.values { min-height: 920px; padding: 114px 0 0; background-image: none; }
.values::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper) url("assets/images/river-ivory-pc.webp") center/cover no-repeat; transform: scaleX(-1); }
.values__body { width: 858px; max-width: calc(100% - 102px); margin-left: 102px; }
.values__grid { width: 858px; max-width: 100%; margin-top: 44px; display: grid; grid-template-columns: repeat(3, 260px); gap: 0 39px; }
.value-card { width: 260px; min-height: 270px; padding: 24px 18px 22px; border-right: 1px solid rgba(183,149,82,.5); border-bottom: 1px solid rgba(183,149,82,.5); }
.value-card:nth-child(3) { border-right: 0; }.value-card:nth-child(4) { border-right: 0; }
.value-card small { display: block; color: var(--gold-deep); font: 400 44px/1 "Cormorant Garamond", var(--serif); letter-spacing: .12em; }
.value-card__icon { width: 135px; height: 86px; margin: -44px auto 0; overflow: hidden; position: relative; background-image: url("assets/images/icon-values.svg"); background-repeat: no-repeat; background-size: 540px 122px; background-position: 0 -16px; }
.value-card__icon img { display: none; }
.value-card:nth-child(2) .value-card__icon { background-position: -135px -16px; }.value-card:nth-child(3) .value-card__icon { background-position: -270px -16px; }.value-card:nth-child(4) .value-card__icon { background-position: -405px -16px; }
.value-card h3 { margin: 18px 0 12px; color: var(--ink); font: 600 18px/1.6 var(--serif); }
.value-card p { margin: 0; font-size: 16px; line-height: 1.45; }

.partners { min-height: 900px; padding: 242px 0 0; background-image: none; }
.partners::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--navy) url("assets/images/river-navy-pc.webp") center/cover no-repeat; transform: scaleY(-1); }
.partners .section-label { top: 54px; right: 24px; transform: none; }
.partners__heading { max-width: 640px; margin: 0 0 42px 68px; }
.partner-grid { width: 1090px; max-width: calc(100% - 68px); margin-left: 68px; display: grid; grid-template-columns: repeat(2, 535px); gap: 20px; }
.partner-card { width: 535px; min-height: 400px; padding: 0; position: relative; overflow: hidden; border: 1px solid rgba(183,149,82,.85); border-radius: 12px; background: rgba(23,19,41,.85); }
.partner-card__art { position: absolute; right: -1px; top: 68px; width: 352px; height: 264px; object-fit: cover; opacity: 1; }
.partner-card h3, .partner-card p, .partner-card .button { position: relative; z-index: 1; }
.partner-card h3 { position: absolute; left: 0; right: 0; top: 30px; margin: 0; text-align: center; font: 600 23px/1.4 var(--serif); }
.partner-card p { position: absolute; left: 41px; top: 99px; width: 287px; min-height: 0; margin: 0; font-size: 16px; line-height: 1.5; }
.partner-card .button { position: absolute; left: 42px; top: 278px; width: 273px; margin: 0; }

.design-support { min-height: 720px; padding: 128px 0 90px; background-image: none; }
.design-support::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper) url("assets/images/river-ivory-pc.webp") center top/110.35% 144.52% no-repeat; transform: scaleX(-1); }
.design-support__intro { max-width: 980px; }
.design-support__layout { width: min(980px, 100%); margin-top: 42px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: center; }
.design-support__list { line-height: 1.8; }
.design-support__list .button { width: 320px; font-size: 16px; white-space: nowrap; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.thumbs figure { margin: 0; }.thumbs img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: 6px; }
.thumbs figcaption { margin-bottom: 8px; font-size: 11px; }
.scroll-hint { display: none; }

.profile { min-height: 960px; padding: 457px 0 0; background-image: none; }
.profile::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--navy) url("assets/images/river-navy-pc.webp") center/cover no-repeat; transform: rotate(180deg); }
.profile__body { width: 859px; max-width: calc(100% - 299px); margin-left: 299px; padding: 0; position: relative; background: none; }
.profile__photo-placeholder { position: absolute; left: 430px; top: -285px; width: 316px; height: 285px; display: block; object-fit: cover; object-position: center 42%; }
.profile__name { font: 600 20px var(--serif); letter-spacing: .06em; }
.profile__role { font-size: 12px; }.profile__quote { margin: 44px 0; color: var(--gold); font: 600 21px/1.7 var(--serif); }
.profile__text { line-height: 1.85; }

.news { height: 457px; min-height: 457px; padding: 0; display: grid; align-items: center; background-image: none; }
.news::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper) url("assets/images/river-ivory-pc.webp") right top/122.71% 257.77% no-repeat; transform: none; }
.news__inner { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.news-content { min-width: 0; }
.news-list { border-top: 1px solid rgba(183,149,82,.5); }
.news-item { display: grid; grid-template-columns: 130px 1fr 20px; gap: 25px; padding: 20px 0; border-bottom: 1px solid rgba(183,149,82,.5); font-size: 14px; }
.news-more { margin: 28px 0 0; text-align: center; font: 600 14px/1.6 var(--serif); }
.news-more a { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: color .25s ease, border-color .25s ease; }
.news-more a:hover, .news-more a:focus-visible { color: var(--gold-deep); }

.faq { min-height: 900px; padding: 110px 0 120px; }
.faq__inner { width: min(850px, 100%); }
.faq .section-heading { padding-right: 8px; text-align: right; }
.faq__inner > div.reveal { margin-top: 48px; }
.faq details { border-bottom: 1px solid rgba(216,191,114,.5); }
.faq summary { min-height: 84px; padding: 24px 58px 24px 92px; position: relative; display: flex; align-items: center; cursor: pointer; list-style: none; font: 600 17px/1.7 var(--serif); }
.faq summary::before { content: "Q"; position: absolute; left: 30px; color: #c5a15d; font: 400 26px/1 "Cormorant Garamond", var(--serif); letter-spacing: .12em; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 22px; color: var(--gold); font-size: 24px; }
.faq details[open] summary::before { content: "A"; color: #82a9a1; }
.faq details[open] summary::after { content: "−"; color: #82a9a1; }.faq details p { margin: 0; padding: 0 58px 24px 92px; color: #d7d1c8; font-size: 14px; line-height: 1.8; }

.final-cta { min-height: 640px; position: relative; isolation: isolate; display: grid; align-items: center; color: var(--ink); background: var(--paper) url("assets/images/rokunect-final-cta-special.webp") center/cover no-repeat; }
.final-cta__body { width: min(533px, 100%); margin-left: 8%; }
.final-cta h2 { margin: 0; font: 700 24px/1.65 var(--serif); }.final-cta p { margin: 24px 0 0; line-height: 1.8; }
.final-cta .button { margin-top: 20px; }

.site-footer { min-height: 320px; padding: 74px 0 45px; color: var(--ivory); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 100px; align-items: center; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 140px); gap: 12px 36px; font-size: 11px; }
.footer-nav__group { display: grid; gap: 14px; align-content: start; }
.footer-nav__group strong { font: 600 14px var(--serif); letter-spacing: .04em; }
.footer-meta { display: grid; gap: 14px; font-size: 12px; }.copyright { margin-top: 60px; text-align: center; font: 11px var(--serif); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --side: 20px; }
  [id] { scroll-margin-top: 76px; }
  html, body { max-width: 100%; overflow-x: clip; }
  body { font-size: 14px; }
  .container { width: min(calc(100% - 40px), 350px); }
  .site-header { height: 64px; }
  .site-header__inner { width: calc(100% - 26px); }
  .site-header .brand__lockup { gap: 8px; }
  .site-header .brand__symbol { width: 33px; height: 36px; }
  .site-header .brand__word { font-size: 17px; letter-spacing: .1em; }
  .menu-toggle { display: block; width: 44px; height: 44px; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { width: 30px; left: 7px; }
  .global-nav, .header-contact { display: none; }
  .global-nav.is-open { display: flex; position: fixed; inset: 64px 0 0; z-index: 60; padding: 54px 20px 34px; flex-direction: column; align-items: center; gap: 24px; overflow-y: auto; color: var(--ivory); background: var(--navy); }
  .sp-menu-close { width: 44px; height: 44px; padding: 0; display: block; position: absolute; top: 12px; right: 14px; border: 0; background: transparent; cursor: pointer; }
  .sp-menu-close::before, .sp-menu-close::after { content: ""; width: 28px; height: 1px; position: absolute; left: 8px; top: 21px; background: var(--ivory); }
  .sp-menu-close::before { transform: rotate(45deg); }.sp-menu-close::after { transform: rotate(-45deg); }
  body.menu-open .menu-toggle { opacity: 0; pointer-events: none; }
  .sp-menu-brand { display: flex; width: 215px; padding-bottom: 10px; flex-direction: column; align-items: center; gap: 8px; border-bottom: 1px solid rgba(183,149,82,.55); font: 400 20px/1.3 "Noto Serif JP", var(--serif); }
  .sp-menu-brand .brand__lockup { gap: 10px; }
  .sp-menu-brand .brand__symbol { width: 50px; height: 54px; }
  .sp-menu-brand .brand__word { font-size: 21px; }
  .sp-menu-brand small { font: 600 11px/1.5 var(--serif); }
  .global-nav__links { width: min(286px, 100%); display: grid; grid-template-columns: 1fr; gap: 0; }
  .global-nav.is-open .global-nav__links a { min-width: 0; padding: 12px 2px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid rgba(183,149,82,.5); font: 600 13px/1.5 var(--serif); }
  .global-nav.is-open .global-nav__links .header-news { display: none; }
  .sp-only { display: initial; }
  .sp-menu-contact { width: 190px; min-height: 40px; padding: 8px 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--gold-deep); font: 600 13px/1.5 var(--serif); }
  .sp-menu-meta { display: grid; gap: 10px; justify-items: center; font-size: 11px; }
  .hero { min-height: 585px; }
  .hero__inner { min-height: 585px; padding-top: 72px; }
  .hero__content { width: 100%; }
  .hero__eyebrow { margin-bottom: 16px; font-size: 10px; line-height: 1.5; }
  .hero h1 { font-size: 30px; line-height: 1.65; letter-spacing: .05em; }
  .hero__lead { margin-top: 16px; font-size: 12px; line-height: 1.8; }
  .button-row { margin-top: 16px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .button { width: 200px; min-width: 0; min-height: 40px; padding: 8px 16px; gap: 12px; font-size: 12px; white-space: nowrap; }
  .button--outline { width: 171px; min-height: 29px; padding: 5px 16px; font-size: 10px; }
  .art-section { overflow: clip; }
  .art-section--ivory { background-image: url("assets/images/river-ivory-sp.webp"); }
  .art-section--navy, .art-section--navy-flow { background-image: url("assets/images/river-navy-sp.webp"); }
  .section-label { top: 24px; right: 8px; font-size: 11px; transform: none; }
  .section-heading { font-size: 22px; line-height: 1.75; }
  .section-copy { font-size: 14px; line-height: 1.65; }
  .copy-pc { display: none; }.copy-sp { display: inline; }

  .philosophy { min-height: 638px; padding-top: 104px; align-items: start; }
  .philosophy::before { background-image: url("assets/images/river-ivory-sp.webp"); background-position: center; background-size: cover; transform: scaleX(-1); }
  .philosophy__body { width: min(299px, calc(100% - 36px)); margin: 0 auto; padding: 34px 7px; background: rgba(251,238,217,.8); backdrop-filter: none; }
  .philosophy .section-label { top: 360px; }
  .philosophy__body .section-heading { font-size: 19px; text-align: center; white-space: nowrap; }
  .philosophy__body .section-copy { margin-top: 35px; font-size: 14px; line-height: 1.65; }
  .philosophy__body .section-copy br { display: none; }

  .services { min-height: 1088px; padding: 118px 0 86px; background-image: url("assets/images/river-navy1-sp.webp"); background-position: center; background-size: cover; }
  .services .section-label { top: 350px; }
  .services .section-heading { width: 297px; margin-left: auto; padding-right: 0; font-size: 20px; text-align: right; white-space: nowrap; }
  .services__intro { width: 297px; margin: 15px 0 21px auto; padding: 0; text-align: left; font-size: 11px; line-height: 2.05; background: none; box-shadow: none; }
  .cards { width: 100%; grid-template-columns: 1fr; gap: 14px; }
  .service-card { width: 100%; min-height: 136px; padding: 22px 14px; display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; border-color: var(--gold-deep); }
  .sprite-icon { grid-row: 1 / 3; width: 88px; height: 90px; border-right: 1px solid rgba(216,191,114,.65); transform: none; }
  .sprite-icon img { width: 320px; height: 72px; top: 9px; left: 4px; }
  .sprite-icon--2 img { left: -76px; }.sprite-icon--3 img { left: -156px; }.sprite-icon--4 img { left: -236px; }
  .service-card h3 { margin: 0 0 10px; text-align: left; font-size: 12px; line-height: 1.5; white-space: nowrap; }
  .service-card p { margin: 0; font-size: 12px; line-height: 1.45; }

  .values { min-height: 800px; padding: 86px 0 60px; }
  .values::before { background-image: url("assets/images/river-ivory-sp.webp"); background-position: center; background-size: cover; transform: scaleY(-1); }
  .values__body { width: 100%; max-width: none; min-height: 0; margin: -40px 0 0; padding: 40px 0 0; background: rgba(250,237,209,.84); }
  .values .section-label { top: 18px; right: 8px; }
  .values .section-heading { padding: 0 12px; font-size: 20px; text-align: center; white-space: nowrap; }
  .values__grid { width: 100%; max-width: none; margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .value-card { width: auto; min-width: 0; min-height: 260px; padding: 8px 15px 18px; overflow: hidden; position: relative; }
  .value-card:nth-child(1), .value-card:nth-child(3) { border-right: 1px solid rgba(183,149,82,.5); }
  .value-card:nth-child(2), .value-card:nth-child(4) { border-right: 0; }
  .value-card:nth-child(3), .value-card:nth-child(4) { border-top: 1px solid rgba(183,149,82,.5); border-bottom: 0; }
  .value-card small { position: absolute; left: 15px; top: 5px; font-size: 30px; }
  .value-card__icon { width: 104px; height: 67px; margin: 28px auto 0; background-size: 416px 94px; background-position: 0 -12px; }
  .value-card:nth-child(2) .value-card__icon { background-position: -104px -12px; }.value-card:nth-child(3) .value-card__icon { background-position: -208px -12px; }.value-card:nth-child(4) .value-card__icon { background-position: -312px -12px; }
  .value-card h3 { margin: 34px 0 14px; text-align: left; font-size: 13px; line-height: 1.55; white-space: nowrap; }
  .value-card p { font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }

  .partners { min-height: 980px; padding: 88px 0 160px; }
  .partners::before { background-image: url("assets/images/river-navy-sp.webp"); background-position: right bottom; background-size: 220% auto; transform: none; }
  .partners .container { height: auto; padding-top: 0; }
  .partners .section-label { top: auto; right: 8px; bottom: 22px; }
  .partners__heading { max-width: 100%; margin: 0 0 34px; font-size: 18px; line-height: 1.8; white-space: nowrap; }
  .partner-grid { width: 100%; max-width: none; margin: 0; grid-template-columns: 1fr; gap: 20px; }
  .partner-card { width: 100%; min-height: 330px; border-radius: 8px; }
  .partner-card__art, .partner-card:nth-child(2) .partner-card__art { right: -10px; top: auto; bottom: 36px; width: 250px; height: 188px; opacity: .68; }
  .partner-card h3 { top: 24px; font-size: 16px; }
  .partner-card p { left: 24px; top: 76px; width: calc(100% - 48px); transform: none; font-size: 12px; line-height: 1.65; }
  .partner-card .button, .partner-card:nth-child(2) .button { left: 24px; top: 238px; width: 210px; min-height: 40px; padding: 8px 16px; transform: none; font-size: 12px; white-space: nowrap; }

  .design-support { min-height: 900px; padding: 92px 0 70px; }
  .design-support::before { background-image: url("assets/images/river-ivory-sp.webp"); background-position: 60% center; background-size: cover; transform: scaleX(-1); }
  .design-support .section-label { top: 18px; right: 8px; }
  .design-support__intro { width: calc(100% - 18px); }
  .design-support__intro .section-heading { font-size: 19px; line-height: 1.8; white-space: nowrap; }
  .design-support__intro .section-copy { font-size: 12px; line-height: 1.7; }
  .design-support__layout { width: 100%; margin-top: 28px; grid-template-columns: 1fr; gap: 18px; }
  .design-support__list { font-size: 14px; line-height: 1.7; }
  .design-support__list .button { width: 230px; margin: 22px auto 0; display: flex; font-size: 12px; white-space: nowrap; }
  .thumbs { width: 100%; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs figure { flex: 0 0 82%; scroll-snap-align: start; }
  .thumbs figcaption { font-size: 11px; }
  .scroll-hint { margin: 0; display: flex; justify-content: center; gap: 14px; color: var(--gold-deep); font: 500 11px/1.5 var(--serif); letter-spacing: .08em; }

  .profile { min-height: 900px; padding: 380px 0 60px; }
  .profile::before { background-image: url("assets/images/river-navy1-sp.webp"); background-position: center; background-size: cover; transform: none; }
  .profile .section-label { top: 18px; }
  .profile__body { width: 100%; max-width: none; margin: 0; padding: 0; background: none; }
  .profile__photo-placeholder { left: 50%; top: -300px; width: 280px; height: 280px; transform: translateX(-50%); }
  .profile__name { font-size: 16px; }.profile__role { font-size: 10px; white-space: nowrap; }
  .profile__quote { margin: 26px 0; font-size: 16px; line-height: 1.9; white-space: nowrap; }
  .profile__text { font-size: 12px; line-height: 1.75; }

  .news { height: auto; min-height: 500px; padding: 92px 0 66px; display: block; }
  .news::before { background-image: url("assets/images/river-ivory-sp.webp"); background-position: right top; background-size: cover; transform: scaleY(-1); }
  .news .section-label { top: 18px; }
  .news__inner { grid-template-columns: 1fr; gap: 28px; }
  .news-item { grid-template-columns: 82px minmax(0, 1fr) 14px; gap: 10px; padding: 17px 0; font-size: 12px; }
  .news-more { margin-top: 24px; font-size: 12px; }

  .faq { min-height: 930px; padding: 104px 0 90px; background-image: none; }
  .faq::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--navy) url("assets/images/river-navy-sp.webp") center/cover no-repeat; transform: scaleX(-1); }
  .faq .section-label { top: 18px; left: 8px; right: auto; }

  /* SP: keep every vertical English section index aligned to the section top. */
  .philosophy .section-label,
  .services .section-label,
  .values .section-label,
  .partners .section-label,
  .design-support .section-label,
  .profile .section-label,
  .news .section-label,
  .faq .section-label,
  .final-cta .section-label {
    top: 18px;
    bottom: auto;
    transform: none;
  }
  .faq__inner { width: 100%; margin-inline: auto; }
  .faq .section-heading { width: 100%; margin-inline: auto; padding: 0; display: block; font-size: 22px; text-align: center !important; }
  .faq__inner > div.reveal { margin-top: 40px; background: rgba(0,10,48,.8); }
  .faq summary { min-height: 74px; padding: 20px 50px; font-size: 14px; line-height: 1.55; }
  .faq summary::before { left: 9px; font-size: 20px; }.faq summary::after { right: 16px; top: 25px; font-size: 14px; }
  .faq details p { padding: 0 50px 20px; font-size: 11px; line-height: 1.6; }

  .final-cta { min-height: 750px; position: relative; isolation: isolate; background-image: none; }
  .final-cta::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper) url("assets/images/rokunect-final-cta-special-sp.webp") center/cover no-repeat; transform: none; }
  .final-cta__body { width: 100%; margin: 0; padding-top: 100px; }
  .final-cta h2 { font-size: 20px; line-height: 1.8; white-space: nowrap; }.final-cta p { font-size: 12px; line-height: 1.7; }
  .final-cta .button { width: 210px; font-size: 12px; }

  /* SP glints follow the gold dots in each mobile background crop. */
  .quiet-glow--hero .quiet-glow__point:nth-child(2) { left: 74.5%; top: 23.2%; }
  .quiet-glow--hero .quiet-glow__point:nth-child(3) { left: 83%; top: 38%; }
  .quiet-glow--hero .quiet-glow__point:nth-child(4) { left: 74.8%; top: 70.2%; }
  .quiet-glow--services .quiet-glow__point:nth-child(2) { left: 33%; top: 7%; }
  .quiet-glow--services .quiet-glow__point:nth-child(3) { left: 91%; top: 66%; }
  .quiet-glow--services .quiet-glow__point:nth-child(4) { left: 75%; top: 82%; }
  .quiet-glow--partners .quiet-glow__point:nth-child(2) { left: 81%; top: 46%; }
  .quiet-glow--partners .quiet-glow__point:nth-child(3) { left: 68%; top: 56%; }
  .quiet-glow--partners .quiet-glow__point:nth-child(4) { left: 33%; top: 75%; }
  .quiet-glow--profile .quiet-glow__point:nth-child(2) { left: 80%; top: 19%; }
  .quiet-glow--profile .quiet-glow__point:nth-child(3) { left: 89%; top: 34%; }
  .quiet-glow--profile .quiet-glow__point:nth-child(4) { left: 39%; top: 93%; }
  .quiet-glow--faq .quiet-glow__point:nth-child(2) { left: 62%; top: 7%; }
  .quiet-glow--faq .quiet-glow__point:nth-child(3) { left: 19%; top: 81%; }
  .quiet-glow--faq .quiet-glow__point:nth-child(4) { left: 31%; top: 91%; }
  .quiet-glow--final .quiet-glow__point:nth-child(2) { left: 95%; top: 57%; }
  .quiet-glow--final .quiet-glow__point:nth-child(3) { left: 66%; top: 73%; }
  .quiet-glow--final .quiet-glow__point:nth-child(4) { left: 7%; top: 86%; }

  /* SP alignment: section headings and primary actions */
  .philosophy__body .section-copy { text-align: left; }
  .services .section-heading { margin-left: auto; margin-right: auto; text-align: center; }
  .services__intro { margin-left: auto; margin-right: auto; text-align: left; }
  .partners__heading { margin-left: auto; margin-right: auto; text-align: center; }
  .design-support__intro { margin-left: auto; margin-right: auto; }
  .design-support__intro .section-heading { text-align: center; }
  .design-support__intro .section-copy { text-align: left; }
  .profile__name, .profile__role, .profile__quote { text-align: center; }
  .news .section-heading { text-align: center; }
  .final-cta__body { text-align: left; }
  .final-cta h2 { text-align: center; }
  .final-cta .button { margin-left: auto; margin-right: auto; display: flex; }
  .partner-card .button, .partner-card:nth-child(2) .button { left: 50%; transform: translateX(-50%); }

  .site-footer { min-height: 659px; padding: 79px 0 38px; }
  .footer-grid { display: flex; flex-direction: column; gap: 0; text-align: center; }
  .site-footer .brand { width: 215px; justify-content: center; padding-bottom: 14px; position: relative; flex-direction: column; border-bottom: 0; }
  .site-footer .brand__lockup { gap: 10px; }
  .site-footer .brand__symbol { width: 44px; height: 48px; }
  .site-footer .brand__word { font-size: 20px; }
  .site-footer .brand::after { content: "通信販促イベント事業"; width: 215px; max-width: 100%; position: static; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(183,149,82,.72); font: 600 11px/1.5 var(--serif); }
  .footer-nav { width: 335px; max-width: 100%; margin-top: 42px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 19px; text-align: left; font-size: 14px; }
  .footer-nav__group { display: contents; }
  .footer-nav strong { display: none; }
  .footer-nav a { min-width: 0; padding-bottom: 7px; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(183,149,82,.5); white-space: nowrap; }
  .footer-nav .footer-business-client, .footer-nav .footer-faq { display: none; }
  .footer-sp-philosophy { display: flex; grid-column: 1; grid-row: 1; }
  .footer-services { grid-column: 2; grid-row: 1; }.footer-values { grid-column: 1; grid-row: 2; }.footer-partners { grid-column: 2; grid-row: 2; }.footer-design { grid-column: 1; grid-row: 3; }.footer-profile { grid-column: 2; grid-row: 3; }
  .footer-contact { grid-column: 1 / -1; grid-row: 4; justify-self: center; width: 190px; min-height: 40px; margin-top: 30px; padding: 8px 18px !important; align-items: center; border: 1px solid var(--gold-deep) !important; font-size: 13px; }
  .footer-meta { margin-top: 60px; gap: 12px; justify-items: center; font-size: 11px; }
  .copyright { margin-top: 72px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__eyebrow, .hero h1, .hero__lead, .hero .button-row { opacity: 1; transform: none; filter: none; }
  .quiet-glow { display: none; }
}

/* Lower pages */
.subpage { min-height: 900px; padding: 92px 0 130px; color: var(--ink); background: var(--paper) url("assets/images/subpage-bg.webp") center top/cover fixed; }
.page-hero { margin-bottom: 68px; text-align: center; }
.page-hero__en { margin: 0; font: 400 clamp(36px, 4vw, 54px)/1.3 "Noto Serif JP", var(--serif); letter-spacing: .14em; }
.page-hero__ja { margin: 8px 0 0; font: 600 14px var(--serif); letter-spacing: .08em; }
.content-panel { width: min(850px, 100%); margin-inline: auto; }.content-panel--wide { width: min(980px, 100%); }
.contact-intro { margin-bottom: 50px; line-height: 1.85; }.contact-guide { margin: 28px 0 0; padding-left: 1.4em; font-size: 14px; line-height: 1.8; }
.status-message { margin: 0 0 30px; padding: 18px 22px; border: 1px solid var(--gold-deep); background: rgba(255,255,255,.72); font-weight: 600; }.status-message--error { border-color: #9c4b4b; color: #7b2929; }
.contact-form { display: grid; gap: 24px; }.form-field { display: grid; gap: 9px; }.form-field label { font: 600 14px var(--serif); }.required { color: #9d3d34; font-size: 14px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(183,149,82,.7); border-radius: 7px; padding: 14px 16px; color: var(--ink); background: rgba(255,255,255,.9); font: 16px/1.6 var(--sans); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea { cursor: text; }
.contact-form select, .contact-form input[type="checkbox"], .consent { cursor: pointer; }
.contact-form textarea { min-height: 180px; resize: vertical; }.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(216,191,114,.32); border-color: var(--gold-deep); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; justify-content: center; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: 13px; }.consent input { margin-top: 4px; }.turnstile-wrap { display: flex; justify-content: center; min-height: 65px; }.form-submit { justify-self: center; border: 0; cursor: pointer; }.contact-notes { margin-top: 52px; text-align: center; font-size: 12px; line-height: 1.8; }
.news-archive { display: grid; border-top: 1px solid rgba(183,149,82,.5); }.archive-row { display: grid; grid-template-columns: 140px 110px 1fr 20px; gap: 24px; padding: 24px 0; align-items: center; border-bottom: 1px solid rgba(183,149,82,.5); }.archive-row time, .post-category { font-size: 12px; }.post-category { text-align: center; }.pagination { margin-top: 55px; text-align: center; }.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 36px; height: 36px; margin: 0 3px; border: 1px solid var(--gold-deep); color: var(--navy-2); background: transparent; }.pagination .page-numbers.current, .pagination a.page-numbers:hover, .pagination a.page-numbers:focus-visible { color: var(--navy-2); background: var(--gold); }
.single-article { width: min(850px, 100%); margin-inline: auto; }.single-article__header { padding-bottom: 30px; border-bottom: 1px solid rgba(183,149,82,.55); }.single-article__meta { display: flex; gap: 24px; font-size: 12px; }.single-article h1 { margin: 20px 0 0; font: 700 30px/1.6 var(--serif); }.entry-content { padding: 45px 0; font-size: 16px; line-height: 2; }.entry-content > * + * { margin-top: 1.5em; }.back-link { margin-top: 35px; }
.privacy-content { line-height: 1.9; }.privacy-content section + section { margin-top: 48px; }.privacy-content h2 { padding-bottom: 12px; border-bottom: 1px solid rgba(183,149,82,.55); font: 700 22px var(--serif); }.privacy-content ul { padding-left: 1.5em; }
.error-page__content { text-align: center; }.error-page__content .button { margin-top: 32px; }
.subpage .button { width: fit-content; margin-left: auto; margin-right: auto; display: flex; }
.back-link { text-align: center; }

@media (max-width: 900px) {
  .subpage { min-height: 700px; padding: 62px 0 90px; background-attachment: scroll; }.page-hero { margin-bottom: 46px; }.page-hero__en { font-size: 30px; }
  .contact-intro { font-size: 14px; }.contact-form { gap: 21px; }.contact-form textarea { min-height: 150px; }
  .archive-row { grid-template-columns: 88px 1fr 14px; gap: 10px; padding: 20px 0; }.archive-row .post-category { display: none; }.archive-row__title { font-size: 14px; }
  .single-article h1 { font-size: 21px; }.entry-content { font-size: 14px; }.privacy-content { font-size: 14px; }.privacy-content h2 { font-size: 18px; }
}
