/* ==========================================================================
   RICIUS corporate site — v3
   ========================================================================== */
:root {
  --ink: #14171c;
  --ink-2: #1f232b;
  --paper: #f5f3ef;
  --white: #fff;
  --red: #c14129;
  --red-d: #a3341f;
  --red-soft: #f6e4df;
  --line: #e2ded7;
  --line-ink: rgba(255, 255, 255, .14);
  --sub: #686868;
  --sub-ink: rgba(255, 255, 255, .62);
  --en: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --jp: 'hi_400', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --jp-b: 'hi_600', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --gutter: 40px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 700px) {
  :root { --gutter: 20px; --header-h: 64px; }
}

html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { background: var(--white); color: var(--ink); font-family: var(--jp); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, strong, b, th, dt { font-family: var(--jp-b); font-weight: normal; }
a { color: inherit; transition: color .3s var(--ease); }
img { max-width: 100%; }
main { display: block; overflow: clip; }
body:not(.home) main { padding-top: var(--header-h); }
::selection { background: var(--red); color: var(--white); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 2000; background: var(--white); padding: 8px 16px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { width: min(1240px, calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.container--narrow { width: min(880px, calc(100% - var(--gutter) * 2)); }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
@media (max-width: 835px) { .u-pc { display: none; } }

/* Reveal animation ------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 0 32px; font-family: var(--jp-b); font-size: 15px; letter-spacing: .06em;
  border: 1px solid transparent; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--arrow::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .4s var(--ease-out); }
.btn--arrow:hover::after { width: 34px; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red::before { background: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--white); }
.btn--line-light { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--line-light::before { background: var(--white); }
.btn--line-light:hover { color: var(--ink); }
/* 旧クラス互換 */
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary::before { background: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--white); }
.btn--white { background: var(--white); color: var(--red); }

.text-arrow { display: inline-flex; align-items: center; gap: 16px; font-family: var(--jp-b); font-size: 15px; padding: 6px 0; }
.text-arrow::after { content: ""; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='%23c14129' stroke-width='1.4'/%3E%3C/svg%3E") center no-repeat; transition: transform .4s var(--ease-out), background-color .4s, border-color .4s; flex-shrink: 0; }
.text-arrow:hover::after { transform: translateX(6px); border-color: var(--red); }
.text-arrow--light { color: var(--white); }
.text-arrow--light::after { border-color: var(--line-ink); }
.text-link { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.more-link { margin-top: 48px; text-align: right; }

/* Header ----------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.is-menu-open .site-header { z-index: 1100; } /* メニューを開いたときも閉じるボタン（×）が見えるよう、ヘッダーをメニューより前面に出す */
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 40px; padding: 0 0 0 var(--gutter); }
.site-header__logo { display: flex; width: 132px; flex-shrink: 0; }
.site-header__logo img { width: 100%; height: auto; }
.site-header__nav { margin-left: auto; }
.site-header__nav ul { display: flex; gap: 32px; }
.site-header__nav a { position: relative; font-family: var(--jp-b); font-size: 14px; letter-spacing: .06em; white-space: nowrap; padding: 6px 0; }
.site-header__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.site-header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__cta { display: flex; align-items: stretch; height: 100%; }
.site-header__dl, .site-header__contact { display: flex; align-items: center; padding: 0 28px; font-family: var(--jp-b); font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
.site-header__dl { border-left: 1px solid var(--line); }
.site-header__dl:hover { color: var(--red); }
.site-header__contact { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.site-header__contact::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.site-header__contact:hover::before { transform: none; }
.site-header__contact span { position: relative; color: inherit; }
.site-header__toggle { display: none; position: relative; width: var(--header-h); height: var(--header-h); margin-left: auto; border: 0; background: var(--ink); z-index: 1101; }
.site-header__toggle span { position: absolute; left: 50%; width: 24px; height: 2px; margin-left: -12px; background: var(--white); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.site-header__toggle span:first-child { top: calc(50% - 4px); }
.site-header__toggle span:last-child { top: calc(50% + 4px); }
.is-menu-open .site-header__toggle span:first-child { top: 50%; transform: rotate(45deg); }
.is-menu-open .site-header__toggle span:last-child { top: 50%; transform: rotate(-45deg); }
@media (max-width: 1200px) {
  .site-header__nav, .site-header__cta { display: none; }
  .site-header__toggle { display: block; }
  .site-header__inner { gap: 0; }
}
@media (max-width: 700px) { .site-header__logo { width: 112px; } }

.drawer { position: fixed; inset: 0; z-index: 1050; background: var(--ink); clip-path: circle(0% at calc(100% - 42px) 42px); transition: clip-path .7s var(--ease-out); overflow-y: auto; visibility: hidden; }
.is-menu-open .drawer { clip-path: circle(150% at calc(100% - 42px) 42px); visibility: visible; }
.drawer__inner { width: min(560px, calc(100% - 48px)); margin: 0 auto; padding: calc(var(--header-h) + 32px) 0 48px; }
.drawer__nav li { border-bottom: 1px solid var(--line-ink); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease-out); }
.is-menu-open .drawer__nav li { opacity: 1; transform: none; }
.is-menu-open .drawer__nav li:nth-child(n) { transition-delay: calc(.15s + var(--i, 0) * .04s); }
.drawer__nav a { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; color: var(--white); font-family: var(--jp-b); font-size: 17px; }
.drawer__en { width: 88px; font-family: var(--en); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.drawer__cta { display: grid; gap: 12px; margin-top: 40px; }
.is-menu-open { overflow: hidden; }

/* Breadcrumbs ------------------------------------------------------------ */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li, .breadcrumbs a, .breadcrumbs span { font-size: 12px; color: var(--sub); letter-spacing: .04em; }
.breadcrumbs li + li::before { content: ""; display: inline-block; width: 12px; height: 1px; background: #bbb; margin: 0 10px; vertical-align: middle; }
.breadcrumbs a:hover { color: var(--red); }

/* Page hero -------------------------------------------------------------- */
.page-hero { position: relative; padding: 40px 0 88px; background: var(--paper); overflow: hidden; }
.page-hero__bg { position: absolute; right: -0.04em; bottom: -0.22em; font-family: var(--en); font-weight: 800; font-size: clamp(90px, 15vw, 230px); line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(20, 23, 28, .09); white-space: nowrap; pointer-events: none; animation: slideBg 1.6s var(--ease-out) both; }
@keyframes slideBg { from { transform: translateX(8%); opacity: 0; } to { transform: none; opacity: 1; } }
.page-hero__body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-top: 64px; position: relative; }
.page-hero__en { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
.page-hero__en::before { content: ""; width: 32px; height: 1px; background: var(--red); }
.page-hero__title { font-size: clamp(28px, 4vw, 48px); line-height: 1.45; letter-spacing: .06em; }
.page-hero__catch { font-family: var(--jp-b); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.7; margin-bottom: 16px; }
.page-hero__lead { font-size: 15px; line-height: 2.1; color: #3d3d3d; }
.page-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 835px) {
  .page-hero { padding: 24px 0 56px; }
  .page-hero__body { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
}

/* service hero */
.svc-hero { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; margin-top: 56px; position: relative; }
.svc-hero .page-hero__catch { margin: 24px 0 16px; color: var(--red); }
.svc-hero__card { background: var(--white); padding: 36px 32px; border-top: 3px solid var(--red); }
.svc-hero__card-label { font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sub); }
.svc-hero__card-price { font-family: var(--jp-b); font-size: 30px; margin: 6px 0 4px; }
.svc-hero__card-note { font-size: 13px; color: var(--sub); line-height: 1.8; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.svc-hero__card-list li { position: relative; padding: 10px 0 10px 20px; font-size: 14px; line-height: 1.6; border-bottom: 1px dashed var(--line); }
.svc-hero__card-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 2px; background: var(--red); }
@media (max-width: 1000px) { .svc-hero { grid-template-columns: 1fr; gap: 40px; } }

/* Section ---------------------------------------------------------------- */
.section { position: relative; padding: 140px 0; }
.section--paper, .section--white { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink * { color: inherit; }
@media (max-width: 700px) { .section { padding: 80px 0; } }

.sec-head { margin-bottom: 64px; }
.sec-head__label { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
.sec-head__label::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
.sec-head__num { font-family: var(--en); color: var(--ink); opacity: .35; letter-spacing: .1em; }
.section--ink .sec-head__num, .mission .sec-head__num { color: var(--white); }
.sec-head__title { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.5; letter-spacing: .06em; }
.sec-head__lead { margin-top: 20px; font-size: 15px; line-height: 2.1; color: var(--sub); }
.section--ink .sec-head__lead { color: var(--sub-ink); }
.sec-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.sec-head--split .sec-head__lead { margin: 0; padding-bottom: 8px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__label { justify-content: center; }
@media (max-width: 835px) { .sec-head { margin-bottom: 40px; } .sec-head--split { grid-template-columns: 1fr; gap: 0; } .sec-head--split .sec-head__lead { margin-top: 20px; } }

.split { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.split__side { position: sticky; top: calc(var(--header-h) + 40px); }
.split__side .sec-head { margin-bottom: 32px; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; gap: 0; } .split__side { position: static; margin-bottom: 40px; } }

/* Hero (front) ----------------------------------------------------------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 80px; background: var(--paper); overflow: hidden; display: flex; align-items: center; }
.hero__inner { position: relative; z-index: 2; width: min(1320px, calc(100% - var(--gutter) * 2)); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 32px; opacity: 0; animation: fadeUp 1s .1s var(--ease-out) forwards; }
.hero__eyebrow span { width: 40px; height: 1px; background: var(--red); }
.hero__title { display: block; }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line > span { display: block; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.6; letter-spacing: .08em; transform: translateY(110%); animation: lineUp 1.1s var(--ease-out) forwards; }
.hero__line--lg > span { font-size: clamp(32px, 4.3vw, 64px); line-height: 1.34; letter-spacing: .02em; white-space: nowrap; }
.hero__line:nth-child(1) > span { animation-delay: .25s; }
.hero__line:nth-child(2) > span { animation-delay: .4s; }
.hero__line:nth-child(3) > span { animation-delay: .55s; color: var(--red); }
.hero__lead { margin-top: 32px; font-size: 16px; line-height: 2.1; color: #3b3b3b; opacity: 0; animation: fadeUp 1s .9s var(--ease-out) forwards; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; opacity: 0; animation: fadeUp 1s 1.05s var(--ease-out) forwards; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__visual { position: relative; aspect-ratio: 1; width: min(100%, 480px); justify-self: end; }
.hero__photo { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; clip-path: circle(0% at 50% 50%); animation: photoIn 1.6s .5s var(--ease-out) forwards; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05) brightness(1.02); transform: scale(1.15); animation: photoZoom 2.4s .5s var(--ease-out) forwards; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(193, 65, 41, 0) 40%, rgba(193, 65, 41, .28)); mix-blend-mode: multiply; }
@keyframes photoIn { to { clip-path: circle(50% at 50% 50%); } }
@keyframes photoZoom { to { transform: scale(1); } }
.hero__ring, .hero__orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__ring circle { fill: none; stroke: var(--red); stroke-width: 10; stroke-dasharray: 1483; stroke-dashoffset: 1483; transform: rotate(-90deg); transform-origin: center; animation: draw 2s .6s var(--ease-out) forwards; }
.hero__orbit { animation: spin 40s linear infinite; }
.hero__orbit circle { fill: none; stroke: var(--ink); stroke-opacity: .25; stroke-width: 1; stroke-dasharray: 2 10; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__dot { position: absolute; border-radius: 50%; background: var(--red); animation: float 6s ease-in-out infinite; }
.hero__dot--1 { width: 22px; height: 22px; left: 4%; top: 18%; }
.hero__dot--2 { width: 12px; height: 12px; right: 2%; top: 62%; animation-delay: -2s; background: var(--ink); }
.hero__dot--3 { width: 40px; height: 40px; left: 14%; bottom: 0; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__badge { position: absolute; right: -2%; bottom: 10%; background: var(--white); padding: 18px 22px; font-size: 12px; line-height: 1.6; box-shadow: 0 18px 40px -20px rgba(20, 23, 28, .35); opacity: 0; animation: fadeUp 1s 1.6s var(--ease-out) forwards; }
.hero__badge strong { display: block; font-family: var(--en); font-weight: 800; font-size: 40px; line-height: 1; color: var(--red); }
.hero__badge small { font-size: 20px; }
.hero__wave { position: absolute; left: -2%; right: -2%; bottom: 0; width: 104%; height: 18%; z-index: 1; pointer-events: none; }
.hero__wave path { fill: none; stroke: var(--red); stroke-width: 3; stroke-opacity: .4; vector-effect: non-scaling-stroke; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3s 1s var(--ease-out) forwards; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--en); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; width: 1px; height: 72px; background: linear-gradient(var(--ink) 50%, transparent 50%); background-size: 1px 200%; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + 32px) 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { width: min(84%, 420px); justify-self: center; }
  .hero__scroll { display: none; }
}

/* Marquee ---------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--ink); padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 48px; padding-right: 48px; font-family: var(--en); font-weight: 800; font-size: clamp(28px, 4vw, 56px); line-height: 1; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); white-space: nowrap; }
.marquee span:nth-child(3n+1) { color: var(--white); -webkit-text-stroke: 0; }
.marquee span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Issues ----------------------------------------------------------------- */
.issue-list { border-top: 1px solid var(--ink); }
.issue-list li { display: grid; grid-template-columns: 56px 140px 1fr; gap: 16px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.issue-list__num { font-family: var(--en); font-weight: 700; font-size: 14px; color: var(--red); }
.issue-list__tag { font-size: 12px; color: var(--sub); letter-spacing: .1em; }
.issue-list__text { font-family: var(--jp-b); font-size: 17px; line-height: 1.7; }
.issue-answer { margin-top: 56px; font-family: var(--jp-b); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.7; }
.issue-answer em { font-style: normal; color: var(--red); background: linear-gradient(transparent 70%, var(--red-soft) 70%); }
@media (max-width: 700px) { .issue-list li { grid-template-columns: 40px 1fr; } .issue-list__tag { display: none; } .issue-list__text { font-size: 15px; } }

/* Mission ---------------------------------------------------------------- */
.mission { position: relative; background: var(--ink); color: var(--white); padding: 160px 0; overflow: hidden; }
.mission * { color: inherit; }
.mission__bg { position: absolute; left: -0.05em; top: 50%; transform: translateY(-50%); font-family: var(--en); font-weight: 800; font-size: clamp(120px, 22vw, 340px); line-height: 1; color: transparent !important; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); white-space: nowrap; pointer-events: none; }
.mission__inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px 72px; }
.mission__label { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--red) !important; }
.mission__label::after { content: ""; width: 40px; height: 1px; background: var(--red); }
.mission__title { font-size: clamp(24px, 3.1vw, 44px); line-height: 1.6; letter-spacing: .06em; }
.mission__title em { font-style: normal; color: var(--red) !important; }
.mission__text p { color: var(--sub-ink) !important; font-size: 15px; line-height: 2.2; }
.mission__text p + p { margin-top: 1.4em; }
.mission__text .text-arrow { margin-top: 40px; }
@media (max-width: 835px) { .mission { padding: 96px 0; } .mission__inner { grid-template-columns: 1fr; } }

/* Service list ----------------------------------------------------------- */
.svc-group { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--ink); }
.svc-group + .svc-group { margin-top: 24px; }
.svc-group__label { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.svc-group__en { font-family: var(--en); font-weight: 800; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.svc-group__title { font-size: 15px; margin-top: 8px; color: var(--sub); }
.svc-group__price { display: inline-block; margin-top: 20px; font-family: var(--jp-b); font-size: 14px; color: var(--red); padding: 6px 14px; border: 1px solid var(--red); }
@media (max-width: 1200px) { .svc-group { grid-template-columns: 1fr; gap: 16px; } .svc-group__label { position: static; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; } .svc-group__title { margin: 0; } .svc-group__price { margin: 0 0 0 auto; } }

.svc-list { border-top: 1px solid var(--line); }
.svc-group .svc-list { border-top: 0; }
.svc-item a { position: relative; display: grid; grid-template-columns: 48px 1fr 1.3fr 120px 48px; gap: 24px; align-items: center; padding: 30px 24px 30px 8px; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .4s var(--ease); }
.svc-item a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.svc-item a:hover::before { transform: scaleY(1); transform-origin: top; }
.svc-item a:hover, .svc-item a:hover * { color: var(--white); }
.svc-item__num { font-family: var(--en); font-weight: 700; font-size: 13px; color: var(--red) !important; padding-left: 16px; }
.svc-item__tag { display: block; font-family: var(--en); font-weight: 700; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--sub); margin-bottom: 4px; transition: color .4s; }
.svc-item__title { font-size: 19px; line-height: 1.5; }
.svc-item__text { font-size: 14px; line-height: 1.9; color: var(--sub); transition: color .4s; }
.svc-item__price { font-family: var(--jp-b); font-size: 13px; text-align: right; }
.svc-item__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='%23c14129' stroke-width='1.4'/%3E%3C/svg%3E") center no-repeat; transition: transform .4s var(--ease-out), border-color .4s, background-color .4s; }
.svc-item a:hover .svc-item__arrow { transform: translateX(6px); border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E"); }
@media (max-width: 1000px) {
  .svc-item a { grid-template-columns: 40px 1fr 44px; gap: 8px 16px; padding: 24px 8px 24px 0; }
  .svc-item__num { padding-left: 4px; grid-row: 1 / 3; align-self: start; padding-top: 4px; }
  .svc-item__text { grid-column: 2; font-size: 13px; }
  .svc-item__price { grid-column: 2; text-align: left; color: var(--red); }
  .svc-item__arrow { grid-column: 3; grid-row: 1 / 4; align-self: center; }
}

/* Stats ------------------------------------------------------------------ */
.stats { background: var(--red); color: var(--white); padding: 0; }
.stats * { color: inherit; }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__list li { padding: 56px 32px; border-left: 1px solid rgba(255, 255, 255, .25); }
.stats__list li:last-child { border-right: 1px solid rgba(255, 255, 255, .25); }
.stats__label { font-size: 13px; letter-spacing: .08em; opacity: .85; }
.stats__num { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.stats__num span { font-family: var(--en); font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; }
.stats__num small { font-family: var(--jp-b); font-size: 16px; }
@media (max-width: 835px) { .stats__list { grid-template-columns: 1fr 1fr; } .stats__list li { padding: 36px 20px; border-bottom: 1px solid rgba(255, 255, 255, .25); } .stats__list li:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, .25); } }

/* Reasons ---------------------------------------------------------------- */
.reasons { counter-reset: r; }
.reasons__item { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); }
.reasons__item:last-child { border-bottom: 1px solid var(--line); }
.reasons__num { font-family: var(--en); font-weight: 800; font-size: 72px; line-height: .9; color: transparent; -webkit-text-stroke: 1.2px var(--red); letter-spacing: -.03em; }
.reasons__title { font-size: 21px; line-height: 1.6; margin-bottom: 16px; }
.reasons__text { font-size: 15px; line-height: 2.1; color: #444; }
@media (max-width: 700px) { .reasons__item { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; } .reasons__num { font-size: 52px; } }

/* Case cards ------------------------------------------------------------- */
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.case-card { border-bottom: 1px solid var(--line); }
.case-card + .case-card a { border-left: 1px solid var(--line); }
.case-card a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 36px 32px; box-sizing: border-box; transition: background-color .4s var(--ease); }
.case-card a:hover { background: var(--paper); }
.case-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--sub); letter-spacing: .06em; }
.case-card__meta i { width: 12px; height: 1px; background: #bbb; }
.case-card__title { font-family: var(--jp-b); font-size: 18px; line-height: 1.7; margin: 16px 0 24px; flex: 1; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-card__tags span { font-size: 11px; padding: 4px 10px; border: 1px solid var(--line); background: var(--white); }
.case-card__more { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.case-card__arrow { width: 28px; height: 1px; background: var(--red); transition: width .4s var(--ease-out); }
.case-card a:hover .case-card__arrow { width: 48px; }
@media (max-width: 900px) { .case-cards { grid-template-columns: 1fr; } .case-card + .case-card a { border-left: 0; } }
.empty-note { font-size: 15px; color: var(--sub); line-height: 2; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }

/* Industry grid ---------------------------------------------------------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-ink); }
.industry-grid li + li a { border-left: 1px solid var(--line-ink); }
.industry-grid a { position: relative; display: flex; flex-direction: column; min-height: 240px; padding: 36px 28px; border-bottom: 1px solid var(--line-ink); overflow: hidden; isolation: isolate; }
.industry-grid a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateY(101%); transition: transform .55s var(--ease-out); }
.industry-grid a:hover::before { transform: none; }
.industry-grid__en { font-family: var(--en); font-weight: 800; font-size: 24px; line-height: 1.2; }
.industry-grid__name { margin-top: 12px; font-size: 14px; opacity: .75; }
.industry-grid__arrow { margin-top: auto; width: 40px; height: 1px; background: var(--white); position: relative; transition: width .4s var(--ease-out); }
.industry-grid__arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--white); border-right: 1px solid var(--white); transform: rotate(45deg); }
.industry-grid a:hover .industry-grid__arrow { width: 64px; }
@media (max-width: 1100px) { .industry-grid { grid-template-columns: 1fr 1fr; } .industry-grid li:nth-child(3) a { border-left: 0; } .industry-grid a { min-height: 180px; padding: 28px 20px; } .industry-grid__en { font-size: 18px; } }
@media (max-width: 600px) { .industry-grid { grid-template-columns: 1fr; } .industry-grid li + li a { border-left: 0; } .industry-grid a { min-height: 0; padding: 24px 4px; } .industry-grid__arrow { margin-top: 20px; } }

/* industry list page / generic cards */
.industry-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.industry-cards li { border-bottom: 1px solid var(--line); }
.industry-cards li:nth-child(2n) a { border-left: 1px solid var(--line); }
.industry-cards a { display: block; height: 100%; padding: 40px 32px; transition: background-color .4s; }
.industry-cards a:hover { background: var(--paper); }
.industry-cards h2, .industry-cards h3 { font-size: 21px; margin-bottom: 12px; }
.industry-cards p { font-size: 14px; line-height: 1.9; color: var(--sub); }
.industry-cards .service-card__more { display: inline-block; margin-top: 20px; font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
@media (max-width: 700px) { .industry-cards { grid-template-columns: 1fr; } .industry-cards li:nth-child(2n) a { border-left: 0; } }

/* Price ------------------------------------------------------------------ */
.price-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-plan { position: relative; padding: 48px 44px; background: var(--paper); border-top: 3px solid var(--ink); }
.price-plan--dark, .price-plan--main { background: var(--ink); color: var(--white); border-top-color: var(--red); }
.price-plan--dark *, .price-plan--main * { color: inherit; }
.price-plan__en, .price-plan__tag { font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red) !important; }
.price-plan__name { font-family: var(--jp-b); font-size: 20px; margin: 10px 0 20px; }
.price-plan__price { display: flex; align-items: baseline; gap: 6px; font-family: var(--jp-b); }
.price-plan__price span { font-family: var(--en); font-weight: 800; font-size: 88px; line-height: 1; letter-spacing: -.04em; }
.price-plan__price small { font-size: 18px; }
.price-plan__price--text { font-size: 34px; line-height: 88px; }
.price-plan__note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.9; opacity: .8; }
.price-plan--dark .price-plan__note, .price-plan--main .price-plan__note { border-color: var(--line-ink); }
.price-plan .check-list { margin-top: 20px; }
.price-plan .check-list a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 835px) { .price-plans { grid-template-columns: 1fr; } .price-plan { padding: 36px 24px; } .price-plan__price span { font-size: 64px; } .price-plan__price--text { line-height: 64px; font-size: 28px; } }

.price-box { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: 48px; background: var(--ink); color: var(--white); border-top: 3px solid var(--red); }
.price-box * { color: inherit; }
.price-box__name { font-size: 13px; opacity: .7; }
.price-box__price { font-family: var(--jp-b); font-size: clamp(30px, 4vw, 44px); margin: 4px 0 8px; }
.price-box__note { font-size: 13px; opacity: .7; grid-column: 1; }
.price-box .btn { grid-column: 2; grid-row: 1 / 4; }
@media (max-width: 835px) { .price-box { grid-template-columns: 1fr; padding: 32px 24px; } .price-box .btn { grid-column: 1; grid-row: auto; } }

/* Flow ------------------------------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 84px; height: 1px; background: var(--ink); opacity: .2; }
.flow__item { position: relative; padding: 0 20px 0 0; }
.flow__num { display: flex; flex-direction: column; font-family: var(--en); font-weight: 800; font-size: 36px; line-height: 1; color: var(--ink); padding-bottom: 28px; margin: 20px 0 24px; position: relative; }
.flow__num span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 0; position: absolute; top: -20px; }
.flow__num::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px var(--paper); }
.section:not(.section--paper):not(.section--white) .flow__num::after { box-shadow: 0 0 0 6px var(--white); }
.flow__title { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.flow__text { font-size: 13px; line-height: 1.9; color: var(--sub); }
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; padding-left: 28px; }
  .flow::before { left: 5px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .flow__item { padding: 0 0 40px; }
  .flow__num { flex-direction: row; align-items: baseline; gap: 12px; font-size: 28px; padding: 0; margin: 0 0 8px; }
  .flow__num span { position: static; }
  .flow__num::after { left: -28px; top: 10px; bottom: auto; }
}

/* FAQ -------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 28px; gap: 12px; align-items: center; padding: 28px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q, .faq-item__a > span { font-family: var(--en); font-weight: 800; font-size: 20px; color: var(--red); }
.faq-item__question { font-family: var(--jp-b); font-size: 16px; line-height: 1.7; transition: color .3s; }
.faq-item summary:hover .faq-item__question { color: var(--red); }
.faq-item__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; margin: 0 0 0 -5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0); }
.faq-item__a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 0 40px 32px 0; }
.faq-item[open] .faq-item__a { animation: fadeUp .5s var(--ease-out); }
.faq-item__a p { font-size: 15px; line-height: 2; color: #444; }
.faq-group-title { display: flex; align-items: center; gap: 16px; font-size: 20px; margin: 72px 0 20px; }
.faq-group-title::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.faq-group-title:first-child { margin-top: 0; }

/* Post cards ------------------------------------------------------------- */
.post-cards--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.post-card a { display: block; }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card a:hover .post-card__thumb img, .post-card a:hover .post-card__ph { transform: scale(1.05); }
.post-card__ph { position: relative; display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 20px; box-sizing: border-box; background: var(--ink); transition: transform .8s var(--ease-out); overflow: hidden; }
.post-card__ph::before { content: ""; position: absolute; right: -18%; top: -30%; width: 75%; aspect-ratio: 1; border-radius: 50%; border: 10px solid var(--red); }
.post-card__ph::after { content: ""; position: absolute; right: 8%; bottom: 14%; width: 14px; height: 14px; border-radius: 50%; background: var(--red); }
.post-card:nth-child(3n+2) .post-card__ph { background: var(--red); }
.post-card:nth-child(3n+2) .post-card__ph::before { border-color: var(--ink); left: -20%; right: auto; top: 30%; }
.post-card:nth-child(3n) .post-card__ph { background: #2a2f38; }
.post-card:nth-child(3n) .post-card__ph::before { border-color: rgba(255, 255, 255, .25); border-width: 1px; width: 120%; right: -60%; top: -10%; }
.post-card__ph span { position: relative; font-family: var(--en); font-weight: 800; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--white); }
.post-card__body { display: block; padding-top: 20px; }
.post-card__body time { font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--sub); }
.post-card__title { display: block; font-family: var(--jp-b); font-size: 16px; line-height: 1.75; margin-top: 8px; transition: color .3s; }
.post-card a:hover .post-card__title { color: var(--red); }
.post-card__arrow { display: none; }
@media (max-width: 900px) { .post-cards--grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; } }
@media (max-width: 600px) { .post-cards--grid { grid-template-columns: 1fr; } }

/* Generic lists / boxes (下層) -------------------------------------------- */
.check-list { border-top: 1px solid var(--ink); }
.check-list li { position: relative; padding: 22px 0 22px 36px; border-bottom: 1px solid var(--line); font-family: var(--jp-b); font-size: 16px; line-height: 1.7; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 32px; width: 14px; height: 2px; background: var(--red); }
.check-list--sm { border-top: 0; }
.check-list--sm li { padding: 12px 0 12px 26px; font-family: var(--jp); font-size: 14px; }
.check-list--sm li::before { top: 24px; width: 10px; }
.check-list--grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.section--ink .check-list li, .price-plan--dark .check-list li { border-color: var(--line-ink); }
.answer-box { margin-top: 48px; padding: 32px 36px; background: var(--ink); color: var(--white); font-family: var(--jp-b); font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.answer-box strong { color: var(--red); }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.feature-list li { padding: 40px 32px 40px 0; border-bottom: 1px solid var(--line); }
.feature-list li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.feature-list li:nth-child(4) { padding-left: 0; border-left: 0; }
.feature-list__num { font-family: var(--en); font-weight: 800; font-size: 12px; letter-spacing: .2em; color: var(--red); }
.feature-list h3 { font-size: 19px; line-height: 1.6; margin: 16px 0 14px; }
.feature-list p:not(.feature-list__num) { font-size: 14px; line-height: 2; color: #444; }
@media (max-width: 900px) { .feature-list { grid-template-columns: 1fr; } .feature-list li, .feature-list li + li { padding: 32px 0; border-left: 0; } }

.card-list { border-top: 1px solid var(--ink); }
.card-list li { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.card-list h3 { font-size: 18px; line-height: 1.6; }
.card-list p { font-size: 15px; line-height: 2; color: #444; }
@media (max-width: 700px) { .card-list li { grid-template-columns: 1fr; gap: 8px; } }

.scope-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: sc; }
.scope-list li { counter-increment: sc; background: var(--white); padding: 28px 24px; font-family: var(--jp-b); font-size: 15px; line-height: 1.6; }
.scope-list li::before { content: counter(sc, decimal-leading-zero); display: block; font-family: var(--en); font-weight: 800; font-size: 12px; color: var(--red); margin-bottom: 10px; letter-spacing: .1em; }
@media (max-width: 900px) { .scope-list { grid-template-columns: 1fr 1fr; } }
.scope-list--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .scope-list--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .scope-list { grid-template-columns: 1fr; } .scope-list li { padding: 20px 20px; } }

.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.link-cards li { border-bottom: 1px solid var(--line); }
.link-cards li + li a { border-left: 1px solid var(--line); }
.link-cards a { display: flex; justify-content: space-between; align-items: center; padding: 28px 24px; font-family: var(--jp-b); transition: background-color .3s; }
.link-cards a::after { content: ""; width: 24px; height: 1px; background: var(--red); transition: width .4s var(--ease-out); }
.link-cards a:hover { background: var(--paper); }
.link-cards a:hover::after { width: 40px; }
.section--paper .link-cards a:hover, .section--white .link-cards a:hover { background: var(--white); }
@media (max-width: 700px) { .link-cards { grid-template-columns: 1fr; } .link-cards li + li a { border-left: 0; } }

.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter-tags a { display: block; padding: 8px 20px; border: 1px solid var(--line); font-size: 13px; transition: .3s; }
.filter-tags a:hover { border-color: var(--ink); }
.filter-tags a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Prose ------------------------------------------------------------------ */
.prose p, .prose li, .prose td, .prose th { font-size: 16px; line-height: 2.1; }
.prose p + p { margin-top: 1.3em; }
.prose h2 { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.55; margin: 80px 0 28px; padding-top: 24px; border-top: 1px solid var(--ink); position: relative; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 72px; height: 3px; background: var(--red); }
.prose h3 { font-size: 19px; line-height: 1.6; margin: 48px 0 16px; display: flex; gap: 12px; }
.prose h3::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: .7em; background: var(--red); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 1.4em 0; padding: 24px 28px 24px 48px; background: var(--paper); }
.prose ul li { list-style: square; }
.prose ul li::marker { color: var(--red); }
.prose ol li { list-style: decimal; }
.prose ol li::marker { color: var(--red); font-family: var(--en); font-weight: 700; }
.prose li + li { margin-top: .4em; }
.prose strong { background: linear-gradient(transparent 62%, var(--red-soft) 62%); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 2em 0; display: block; overflow-x: auto; border-top: 2px solid var(--ink); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 14px 16px; font-size: 14px; line-height: 1.8; vertical-align: top; min-width: 110px; text-align: left; }
.prose th { background: var(--paper); }
.prose blockquote { border-left: 3px solid var(--red); padding: 16px 24px; background: var(--paper); margin: 1.6em 0; }
.prose blockquote p { font-size: 15px; }

/* CTA -------------------------------------------------------------------- */
.cta { padding: 140px 0; background: var(--paper); }
.cta__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px; align-items: end; margin-bottom: 56px; }
.cta__en { grid-column: 1 / -1; font-family: var(--en); font-weight: 800; font-size: clamp(56px, 9vw, 128px); line-height: .9; letter-spacing: -.03em; color: var(--ink); }
.cta__title { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.6; }
.cta__text { font-size: 14px; line-height: 2; color: var(--sub); }
.cta__panels { display: grid; grid-template-columns: 1fr 1fr; }
.cta-panel { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 48px 48px 44px; overflow: hidden; isolation: isolate; color: var(--white); }
.cta-panel * { color: inherit; }
.cta-panel--contact { background: var(--red); }
.cta-panel--download { background: var(--ink); }
.cta-panel::before { content: ""; position: absolute; right: -90px; bottom: -90px; z-index: -1; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); transition: transform .9s var(--ease-out); }
.cta-panel:hover::before { transform: scale(2.6); }
.cta-panel__en { font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.cta-panel__title { font-family: var(--jp-b); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.5; margin: 14px 0 10px; }
.cta-panel__text { font-size: 13px; opacity: .75; }
.cta-panel__arrow { margin-top: auto; align-self: flex-end; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") center no-repeat; transition: transform .5s var(--ease-out), background-color .4s; }
.cta-panel:hover .cta-panel__arrow { transform: translateX(8px); background-color: rgba(255, 255, 255, .12); }
@media (max-width: 835px) {
  .cta { padding: 88px 0; }
  .cta__head { grid-template-columns: 1fr; margin-bottom: 36px; }
  .cta__panels { grid-template-columns: 1fr; }
  .cta-panel { min-height: 220px; padding: 32px 28px; }
}

/* Company / message / member ---------------------------------------------- */
.company-table { border-top: 1px solid var(--ink); }
.company-table > div { display: grid; grid-template-columns: 200px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.company-table dt { font-size: 14px; color: var(--sub); }
.company-table dd { font-size: 15px; line-height: 1.9; }
@media (max-width: 700px) { .company-table > div { grid-template-columns: 1fr; gap: 4px; } }
.map iframe { display: block; filter: grayscale(1); }
.map__note { font-size: 13px; margin-top: 12px; color: var(--sub); }

.photo-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: var(--paper) repeating-linear-gradient(135deg, transparent 0 14px, rgba(20, 23, 28, .04) 14px 15px); color: #9a9a9a; font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .3em; border: 1px solid var(--line); }
.message { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.message__photo { position: sticky; top: calc(var(--header-h) + 32px); }
.message__photo img, .message__photo .photo-placeholder { width: 100%; height: auto; }
.message__photo figcaption { margin-top: 18px; font-family: var(--jp-b); font-size: 20px; }
.message__photo figcaption span { display: block; font-family: var(--jp); font-size: 12px; color: var(--sub); margin-bottom: 6px; }
.message__body h2 { border: 0; padding: 0; font-size: clamp(22px, 2.6vw, 30px); }
.message__body h2::before { display: none; }
.message__sign { text-align: right; margin-top: 40px; font-family: var(--jp-b); }
@media (max-width: 900px) { .message { grid-template-columns: 1fr; gap: 40px; } .message__photo { position: static; max-width: 260px; } }

.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 64px 48px; max-width: 1000px; }
.member__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.2); }
.member__role { margin-top: 24px; font-size: 12px; letter-spacing: .1em; color: var(--red); }
.member__name { font-size: 24px; margin-top: 6px; }
.member__name span { display: block; font-family: var(--en); font-weight: 700; font-size: 11px; color: var(--sub); margin-top: 6px; letter-spacing: .2em; text-transform: uppercase; }
.member__bio { font-size: 14px; line-height: 2; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Contact / CF7 ---------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-aside h2 { font-size: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.contact-aside__points { margin: 28px 0; padding: 24px; background: var(--ink); }
.contact-aside__points li { position: relative; padding-left: 20px; font-size: 14px; line-height: 2.1; color: var(--white); }
.contact-aside__points li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--red); }
.contact-aside__dl { font-size: 14px; line-height: 2; }
.contact-form { padding: 56px; background: var(--paper); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } .contact-aside { position: static; order: 2; } .contact-form { padding: 32px 20px; } }

.wpcf7-form { display: flex; flex-direction: column; gap: 32px; }
.wpcf7-form > p { font-family: var(--jp-b); font-size: 15px; line-height: 1.6; }
.wpcf7-form .must, .wpcf7-form .free { display: inline-block; font-family: var(--jp); font-size: 11px; line-height: 1; padding: 5px 8px; margin-left: 10px; vertical-align: 2px; color: var(--white); }
.wpcf7-form .must { background: var(--red); }
.wpcf7-form .free { background: #9a9a9a; }
.wpcf7-form input.wpcf7-text, .wpcf7-form input.wpcf7-email, .wpcf7-form input.wpcf7-tel, .wpcf7-form textarea, .wpcf7-form select {
  width: 100%; margin-top: 12px; padding: 16px 18px; border: 0; border-bottom: 1px solid #c9c4bb; border-radius: 0; background: var(--white); font-family: var(--jp); font-size: 16px; box-sizing: border-box; transition: border-color .3s, box-shadow .3s;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus { outline: none; border-color: var(--red); box-shadow: 0 2px 0 var(--red); }
.wpcf7-form textarea { height: 200px; resize: vertical; }
.wpcf7-form .wpcf7-acceptance { font-family: var(--jp); font-size: 14px; }
.wpcf7-form .wpcf7-acceptance input { accent-color: var(--red); width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.wpcf7-form .wpcf7-acceptance a { color: var(--red); text-decoration: underline; }
.wpcf7-form input.wpcf7-submit { display: block; width: 100%; max-width: 440px; margin: 8px auto 0; padding: 24px; border: 0; border-radius: 0; background: var(--red); color: var(--white); font-family: var(--jp-b); font-size: 16px; letter-spacing: .1em; transition: background-color .4s; cursor: pointer; }
.wpcf7-form input.wpcf7-submit:hover { background: var(--ink); }
.wpcf7-form input.wpcf7-submit:disabled { opacity: .45; }
.wpcf7-spinner { display: block; margin: 12px auto 0; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 8px; color: #d0021b; }
.wpcf7-response-output { border: 0 !important; text-align: center; font-size: 14px; }

/* Article ---------------------------------------------------------------- */
.read-progress { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 999; height: 3px; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; }
.article { padding: 32px 0 120px; }
.article__header { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.article__header .breadcrumbs { margin-bottom: 48px; }
.article__cat { display: inline-block; font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; background: var(--ink); color: var(--white); }
.article__title { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.55; margin: 24px 0 20px; letter-spacing: .04em; }
.article__date { display: flex; gap: 20px; }
.article__date time { font-family: var(--en); font-size: 13px; color: var(--sub); letter-spacing: .06em; }
.article__thumb { width: 100%; height: auto; margin-top: 32px; }
.toc { padding: 32px 36px; margin-bottom: 56px; background: var(--paper); border-left: 3px solid var(--red); }
.toc__title { font-family: var(--en); font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; border-top: 1px solid var(--line); }
.toc a { display: flex; gap: 14px; padding: 12px 0; font-size: 14px; line-height: 1.7; }
.toc a::before { flex-shrink: 0; content: counter(toc, decimal-leading-zero); font-family: var(--en); font-weight: 700; color: var(--red); }
.toc a:hover { color: var(--red); }
.author-box { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; margin-top: 72px; padding: 32px; border: 1px solid var(--line); }
.author-box img { width: 120px; height: auto; }
.author-box__name { font-family: var(--jp-b); font-size: 15px; margin-bottom: 6px; }
.author-box p:not(.author-box__name) { font-size: 13px; line-height: 1.9; color: #444; }
.author-box a { color: var(--red); text-decoration: underline; }
@media (max-width: 700px) { .author-box { grid-template-columns: 1fr; } }
.related-services { margin-top: 72px; }
.related-services__title { font-family: var(--jp-b); font-size: 18px; margin-bottom: 8px; }
.case-summary { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-top: 1px solid var(--ink); }
.case-summary div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.case-summary dt { color: var(--sub); }
@media (max-width: 700px) { .case-summary { grid-template-columns: 1fr; } }

/* Pagination ------------------------------------------------------------- */
.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border: 1px solid var(--line); font-family: var(--en); font-weight: 700; font-size: 14px; box-sizing: border-box; transition: .3s; }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Sitemap ---------------------------------------------------------------- */
.sitemap-list > ul > li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.sitemap-list a { font-family: var(--jp-b); font-size: 16px; }
.sitemap-list a:hover { color: var(--red); }
.sitemap-list ul ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 12px; padding-left: 20px; }
.sitemap-list ul ul a { font-family: var(--jp); font-size: 14px; color: var(--sub); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); }
.site-footer * { color: inherit; }
.site-footer__inner { width: min(1240px, calc(100% - var(--gutter) * 2)); margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 64px; padding: 96px 0 72px; }
.site-footer__logo { display: inline-block; width: 150px; padding: 12px 16px; background: var(--white); }
.site-footer__logo img { width: 100%; height: auto; display: block; }
.site-footer__name { margin-top: 24px; font-family: var(--jp-b); font-size: 15px; }
.site-footer address { font-style: normal; font-size: 13px; line-height: 2; margin-top: 12px; color: var(--sub-ink) !important; }
.site-footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.site-footer__heading { font-family: var(--en); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer__heading--sub { margin: 28px 0 0; }
.site-footer__links li { padding: 5px 0; }
.site-footer__links ul a { font-size: 13px; color: var(--sub-ink) !important; line-height: 1.6; transition: color .3s; }
.site-footer a:hover { color: var(--white) !important; }
.site-footer__links ul a:hover { color: var(--white) !important; }
.site-footer__bottom { width: min(1240px, calc(100% - var(--gutter) * 2)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 24px 0 32px; border-top: 1px solid var(--line-ink); }
.site-footer__bottom ul { display: flex; gap: 28px; }
.site-footer__bottom a, .site-footer__bottom small { font-size: 12px; color: var(--sub-ink) !important; }
.site-footer__bottom small { font-family: var(--en); letter-spacing: .1em; }
@media (max-width: 1200px) { .site-footer__inner { grid-template-columns: 1fr; gap: 48px; padding: 72px 0 48px; } }
@media (max-width: 700px) { .site-footer__links { grid-template-columns: 1fr 1fr; } .site-footer__bottom { flex-direction: column; gap: 12px; padding-bottom: 96px; } }

/* SP CTA ----------------------------------------------------------------- */
.sp-cta { display: none; }
@media (max-width: 700px) {
  .sp-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1.4fr; transform: translateY(100%); transition: transform .5s var(--ease-out); }
  .sp-cta.is-show { transform: none; }
  .sp-cta a { display: grid; place-items: center; height: 60px; font-family: var(--jp-b); font-size: 14px; letter-spacing: .06em; }
  .sp-cta__dl { background: var(--ink); color: var(--white); }
  .sp-cta__contact { background: var(--red); color: var(--white); }
}

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* 調整 */
.svc-group .svc-item__tag { display: none; }
@media (max-width: 700px) { .svc-group__price { margin-left: 0; } }

/* 見出しは文節単位で改行（<wbr> の位置でのみ折り返す） */
/* overflow-wrap は anywhere だと最小幅が1文字になり、flex の中で番号などが縦に折れるため break-word にする */
.sec-head__title, .page-hero__title, .cta__title, [data-phrase] { word-break: keep-all; overflow-wrap: break-word; }
.site-footer__links a, .cta-panel__text { text-wrap: balance; }
@media (min-width: 901px) { .prose table { display: table; } }
h1, h2, h3, h4, .cta__title { text-wrap: balance; }
body { line-break: strict; }
.prose :is(th, td)[data-phrase] { overflow-wrap: normal; } /* 表は横スクロールできるので、語の途中で折らずにセルを広げる */
.nowrap { white-space: nowrap; }
@media (max-width: 900px) { .prose table:has(tr > :nth-child(3)) :is(th, td) { min-width: 11em; } }
@media (max-width: 700px) {
  .svc-item__title { font-size: 17px; }
  .breadcrumbs ol { flex-wrap: nowrap; }
  .breadcrumbs li { flex-shrink: 0; }
  .breadcrumbs li:last-child { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* --- 表示崩れの修正 --- */
.link-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
@media (max-width: 700px) { .link-cards { grid-auto-flow: row; } }
.feature-list:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.feature-list:has(> li:nth-child(4):last-child) > li:nth-child(3) { padding-left: 0; border-left: 0; }
.feature-list:has(> li:nth-child(4):last-child) > li:nth-child(4) { padding-left: 32px; border-left: 1px solid var(--line); }
@media (min-width: 901px) {
  .case-cards:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
  .case-cards:has(> :nth-child(4)) > .case-card:nth-child(odd) a { border-left: 0; }
  .case-cards:not(:has(> :nth-child(3))) { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .feature-list:has(> li:nth-child(4):last-child) { grid-template-columns: 1fr; }
  .feature-list:has(> li:nth-child(4):last-child) > li:nth-child(4) { padding-left: 0; border-left: 0; }
}
.members { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; margin-inline: auto; }
.case-card__title, .post-card__title { text-wrap: balance; }
.prose .sec-head__title { margin: 0; padding-top: 0; border-top: 0; }
.prose .sec-head__title::before { display: none; }
.contact-aside .check-list + .contact-aside__dl, .contact-aside__dl { margin-top: 28px; }
.wpcf7-form .wpcf7-list-item { margin: 0; }
@media (max-width: 700px) { .sitemap-list ul ul { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .prose ul, .prose ol { padding: 20px 18px 20px 34px; } }
.hero .btn--line { background: var(--paper); }
