/* msync.jp — サイト全体のスタイル */
/* マウスを乗せたときの見た目は @media (hover: hover) の中だけ（スマホで指を離した後に残らないように） */
:root {
  --ink: #3D3D3D;
  --ink-soft: #666;
  --gray: #9a9a9a;
  --accent: #007D6E;        /* ロゴのティールの濃い方 */
  --accent-light: #00B4A0;
  --pale: #EDF0EB;          /* 淡い地色 */
  --rule: #e3e3e3;
  --foot: #505050;
  --white: #fff;
  --serif: YakuHanMPs, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --logo: "EB Garamond", YakuHanMPs, "Noto Serif JP", serif;
  --hd: 97px;
  --side: clamp(20px, 8.34vw, 120px);
  --ease: cubic-bezier(.22, .94, .44, 1);
}
@media (max-width: 767px) { :root { --hd: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.66; letter-spacing: .06em; padding-top: var(--hd); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; vertical-align: top; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--accent); color: #fff; padding: 8px 14px; text-decoration: none; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* 地がティール・濃い灰の所では白い線にする（同じ色・低いコントラストで見えなくなるため） */
.sm :focus-visible, .ft :focus-visible { outline-color: #fff; }
.ft .ft__btn:focus-visible { outline-color: var(--accent); }

/* ---------- 背景色が切り替わる固定レイヤー（トップ） */
.bg-layer { position: fixed; inset: 0; z-index: -1; background: var(--white); transition: background-color .7s var(--ease); }
.bg-layer.is-green { background: var(--pale); }
html:not(.js) .sec[data-bg="green"], body:not(.is-top) .sec[data-bg="green"] { background: var(--pale); }
.tsvc { background: var(--pale); }

/* ---------- 出現の動き */
html.js .fx { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .fx.is-in { opacity: 1; transform: none; }
.split__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split__c { display: inline-block; }
html.js [data-split].is-ready .split__c { transform: translateY(105%); opacity: 0; transition: transform .6s cubic-bezier(.1, .2, .3, 1), opacity .45s cubic-bezier(.1, .2, .3, 1); transition-delay: calc(var(--i) * 45ms); }
html.js [data-split].is-in .split__c { transform: none; opacity: 1; }

/* ---------- 見出し（英字＋明朝＋短い線） */
.ttl__en { color: var(--accent); font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: .06em; line-height: 1.4; }
.ttl__jp { font-family: var(--serif); font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; margin-top: 14px; }
.ttl--center { text-align: center; }
.ttl--center .ttl__jp::after, .ttl--left .ttl__jp::after { content: ""; display: block; width: 40px; height: 1px; background: #2D0A0A; margin: 22px auto 0; }
.ttl--left .ttl__jp::after { margin-left: 0; }
.tnews .ttl--left .ttl__jp::after { display: none; }
@media (max-width: 767px) {
  .ttl__en { font-size: 15px; }
  .ttl__jp { font-size: 30px; margin-top: 8px; }
}

/* ---------- view more（下線つき） */
.more { position: relative; display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: .04em; text-decoration: none; padding-bottom: 10px; line-height: 1; transition: color .5s; }
/* 下線は ::before。マウスを乗せると色が変わり、下線が右へ引っ込む（行やカード全体がリンクのときは、そのどこに乗せても同じ） */
.more::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--ink); transition: width .5s; }
.more__arrow { width: 7px; height: 12px; transition: transform .3s; }
@media (hover: hover) { a:hover .more__arrow, .more:hover .more__arrow { transform: translateX(4px); } }
@media (hover: hover) { .more:hover, a:hover .more { color: var(--accent); } }
@media (hover: hover) { .more:hover::before, a:hover .more::before { width: 0; left: auto; right: 0; } }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 270px; padding: 18px 28px; border: 1px solid var(--ink); background: transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
@media (hover: hover) { .btn-line:hover { background: var(--ink); color: #fff; } }

/* ---------- ヘッダー（固定・白） */
.hd { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--hd); display: flex; align-items: center; padding: 0 24px; background: var(--white); transition: background .5s; }
.hd__logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: #000; transition: color .75s; }
.logo__mark { font-family: var(--logo); font-weight: 500; font-size: 46px; letter-spacing: .02em; line-height: .9; }
.logo__sub { font-family: var(--logo); font-size: 12.5px; letter-spacing: .01em; margin-top: 6px; white-space: nowrap; }
.hd__nav { margin-left: auto; position: relative; top: -3px; }
.hd__nav ul { display: flex; }
.hd__nav li + li { border-left: 1px solid #b5b5b5; }
.hd__nav a { display: block; padding: 0 10px; font-weight: 700; font-size: 16px; line-height: 23px; color: var(--gray); text-decoration: none; letter-spacing: .02em; transition: color .5s; white-space: nowrap; }
.hd__nav a[aria-current] { color: var(--ink); }
@media (hover: hover) { .hd__nav a:hover { color: var(--ink); } }
.hd__search { position: relative; top: -3px; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 40px 0 10px; color: var(--ink); transition: opacity .5s; }
.hd__burger { position: relative; top: -4px; width: 50px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.hd__burger span { position: absolute; left: 0; width: 50px; height: 2px; background: #000; transition: transform .5s, opacity .5s, background .5s, top .5s; }
.hd__burger span:nth-child(1) { top: 0; }
.hd__burger span:nth-child(2) { top: 21px; }
.hd__burger span:nth-child(3) { top: 42px; }
.is-menu .hd { background: var(--accent); }   /* メニューの中をスクロールしても、文字がロゴの下に透けないようにベタ塗り */
.is-menu .hd__logo { color: #fff; }
.is-menu .hd__nav, .is-menu .hd__search { opacity: 0; visibility: hidden; }
.is-menu .hd__burger span { background: #fff; }
.is-menu .hd__burger span:nth-child(1) { top: 21px; transform: rotate(30deg); }
.is-menu .hd__burger span:nth-child(2) { opacity: 0; }
.is-menu .hd__burger span:nth-child(3) { top: 21px; transform: rotate(-30deg); }
@media (max-width: 1100px) {
  .hd__nav a { font-size: 14.5px; padding: 0 8px; }
  .hd__search { margin-right: 24px; }
  .logo__mark { font-size: 40px; }
}
@media (max-width: 900px) { .hd__nav { display: none; } .hd__search { margin-left: auto; } }
@media (max-width: 767px) {
  .hd { padding: 0 16px; }
  .logo__mark { font-size: 32px; }
  .logo__sub { font-size: 9.5px; margin-top: 4px; }
  .hd__search { display: none; }
  .hd__burger { margin-left: auto; width: 32px; height: 28px; top: -3px; }
  .hd__burger span { width: 32px; }
  .hd__burger span:nth-child(2) { top: 13px; }
  .hd__burger span:nth-child(3) { top: 26px; }
  .is-menu .hd__burger span:nth-child(1), .is-menu .hd__burger span:nth-child(3) { top: 13px; }
}

/* ---------- 全画面サイトマップ */
.sm { position: fixed; z-index: 90; inset: 0; background: var(--accent); color: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.is-menu .sm { opacity: 1; visibility: visible; }
.sm__in { width: min(1200px, calc(100% - 2 * var(--side))); margin: 0 auto; padding: calc(var(--hd) + 60px) 0 80px; }
.sm a { color: #fff; text-decoration: none; }
@media (hover: hover) { .sm a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.sm__top a { font-family: var(--logo); font-size: 28px; letter-spacing: .08em; }
.sm__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin-top: 40px; }
.sm__h { font-weight: 700; font-size: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.45); }
.sm__h::before { content: "●"; font-size: .8em; margin-right: 8px; vertical-align: .08em; }
.sm__group ul { margin-top: 16px; }
.sm__group li { font-size: 15px; line-height: 2.1; }
.sm__search { display: flex; margin-top: 56px; max-width: 480px; border-bottom: 1px solid #fff; }
.sm__search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 16px; padding: 10px 4px; }
.sm__search input::placeholder { color: rgba(255,255,255,.75); }
.sm__search button { background: none; border: 0; color: #fff; cursor: pointer; padding: 0 6px; }
@media (max-width: 900px) { .sm__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .sm__grid { grid-template-columns: 1fr; gap: 28px; } .sm__in { padding-top: calc(var(--hd) + 24px); } }

/* ---------- 検索の画面 */
.srch { position: fixed; z-index: 110; inset: 0; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.is-search .srch { opacity: 1; visibility: visible; }
.srch__in { width: min(820px, calc(100% - 2 * var(--side))); margin: 0 auto; padding: 140px 0 80px; }
.srch__close { position: absolute; right: 24px; top: 26px; width: 50px; height: 44px; border: 0; background: none; cursor: pointer; }
.srch__close span { position: absolute; left: 0; top: 21px; width: 50px; height: 2px; background: #000; transform: rotate(30deg); }
.srch__close span + span { transform: rotate(-30deg); }
.srch__form { display: flex; margin-top: 48px; border-bottom: 2px solid var(--ink); }
.srch__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 20px; padding: 12px 4px; color: var(--ink); }
.srch__form input:focus { outline: none; }
.srch__form:focus-within { border-color: var(--accent); }
.srch__form button { border: 0; background: none; cursor: pointer; padding: 0 8px; color: var(--ink); }
.srch__form--page { margin-top: 0; }
.srch__result { margin-top: 32px; }
.srch__count { font-size: 14px; color: var(--ink-soft); }
.srch__list li { border-bottom: 1px solid var(--rule); }
.srch__list a { display: block; padding: 20px 0; text-decoration: none; }
@media (hover: hover) { .srch__list a:hover .srch__t { color: var(--accent); } }
.srch__t { display: block; font-weight: 700; font-size: 16px; }
.srch__x { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.8; }
.srch__x mark { background: #d8efe9; color: inherit; }
@media (max-width: 767px) { .srch__close { right: 12px; top: 12px; } .srch__in { padding-top: 90px; } }

/* ---------- 左端の縦書き NEWS（トップ） */
.telop { position: fixed; z-index: 10; left: 0; bottom: 0; top: 212px; width: 80px; padding-left: 50px; display: flex; flex-direction: column; align-items: center; transition: opacity .5s, visibility .5s; }
.telop.is-none { opacity: 0; visibility: hidden; }
.telop__label { writing-mode: vertical-rl; font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: .02em; padding: 0 5px; position: relative; margin-bottom: 25px; white-space: nowrap; }
.telop__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 1px; background: #000; }
.telop__list { position: relative; flex: 1; width: 30px; overflow: hidden; text-decoration: none; display: block; }
.telop__track { position: absolute; left: 0; top: 0; writing-mode: vertical-rl; white-space: nowrap; font-size: 14px; line-height: 30px; animation: telop-v 15s linear infinite; }
.telop__t { font-size: 15px; }
.telop__date { font-weight: 700; margin-bottom: 1.6em; }
.telop__list:focus-visible .telop__track { animation-play-state: paused; color: var(--accent); }
@media (hover: hover) { .telop__list:hover .telop__track { animation-play-state: paused; color: var(--accent); } }
@keyframes telop-v { from { transform: translateY(var(--telop-h, 700px)); } to { transform: translateY(-100%); } }
@keyframes telop-h { from { transform: translateX(var(--telop-w, 300px)); } to { transform: translateX(-100%); } }
@media (max-width: 1100px) { .telop { width: 60px; padding-left: 26px; } }
@media (max-width: 767px) {
  .telop { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 36px; padding: 0 0 0 16px; flex-direction: row; background: var(--foot); color: #fff; }
  .telop__label { writing-mode: horizontal-tb; font-size: 14px; padding: 0 14px 0 0; margin: 0 14px 0 0; border-right: 1px solid rgba(255,255,255,.7); }
  .telop__label::after { display: none; }
  .telop__list { height: 36px; width: auto; }
  .telop__track { writing-mode: horizontal-tb; line-height: 36px; font-size: 13.5px; animation-name: telop-h; }
  .telop__t { font-size: inherit; }
  .telop__date { margin: 0 1.2em 0 0; }
}

/* ---------- 右下の TOP ボタン */
.pagetop { -webkit-tap-highlight-color: transparent; position: fixed; z-index: 20; right: 24px; bottom: 40px; width: 72px; height: 72px; display: grid; place-items: center; text-decoration: none; transform: translateY(calc(100% + 60px)); transition: transform .5s; }
.pagetop.is-active { transform: none; }
.pagetop svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pagetop__c { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: fill .4s, stroke .4s; }
.pagetop__r { stroke: var(--ink); stroke-width: 2; }
.pagetop span { position: relative; font-weight: 700; font-size: 16px; letter-spacing: .02em; margin-top: 22px; }
.pagetop.is-light .pagetop__c { fill: #fff; stroke: #fff; }
@media (max-width: 1100px) { .pagetop { right: 16px; } }
@media (max-width: 767px) {
  .pagetop { right: 4.6875vw; bottom: 9.375vw; width: 22.5vw; height: 22.5vw; }
  .pagetop span { font-size: 4.4vw; margin-top: 5.6vw; }
  body.is-top .pagetop { bottom: calc(36px + 3vw); }
}

/* =================================================== トップ */
.hero { padding: 148px 0 200px; }
.hero__in { margin-left: 27.4vw; width: min(720px, calc(100% - 27.4vw - 40px)); }
.hero__ttl { font-family: var(--serif); font-weight: 700; font-size: min(72px, 6.2vw); line-height: 1.375; letter-spacing: .06em; }
.hero__ttl .split__line { white-space: nowrap; }
.hero__ttl-pc, .hero__ttl-sp { display: block; }
.hero__ttl-sp { display: none; }
.hero__story { margin-top: 90px; max-width: 650px; }
.hero__story p { font-size: 16px; line-height: 38px; }
.hero__story p + p { margin-top: 38px; }
/* 行ごとの濃さと位置（--co / --tf は site.js がスクロールに合わせて入れる）。PC は段落のフェードの代わりにこれで見せる */
.hero__story .hero__ln { --co: 1; --tf: 0%; display: inline-block; opacity: calc(var(--co) * 1.5); transform: translateY(var(--tf)); transition: transform 1s var(--ease), opacity .75s var(--ease); }
@media (min-width: 768px) { html.js .hero__story p.fx { opacity: 1; transform: none; } }
@media (max-width: 767px), (prefers-reduced-motion: reduce) { .hero__story .hero__ln { display: inline; opacity: 1; transform: none; transition: none; } }
.hero__more { margin-top: 60px; }
@media (max-width: 767px) {
  .hero { padding: 128px 0 110px; }
  .hero__in { margin: 0 24px; width: auto; }
  /* スマホは改行を増やして字を大きく（改行は top.json の lines_sp） */
  .hero__ttl { font-size: 11.6vw; line-height: 1.4; letter-spacing: .04em; }
  .hero__ttl-pc { display: none; }
  .hero__ttl-sp { display: block; }
  .hero__story { margin-top: 140px; }
  .hero__story p { font-size: 15.5px; line-height: 2.35; }
  .hero__story .br-pc { display: none; }
  /* 語り文の2段落目以降はたたみ、中央の ＋ view more で開く（JS があるときだけ） */
  /* 語り文はスマホでもたたまない（ガイドラインと「クラウドAIへ送らない」の段落を最初から読めるように。レビュー指摘） */
  /* 語り文をたたまなくなったので「会社概要を見る」もスマホで最初から出す */
  .hero__more { text-align: right; }
}
.hero__openwrap { display: none; }
@media (max-width: 767px) {
  html.js .hero__openwrap { display: none; }
  html.js .hero.is-open .hero__openwrap { display: none; }
}
.hero__open { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; border: 0; background: none; padding: 6px 12px; cursor: pointer; font-weight: 700; font-size: 18px; letter-spacing: .04em; line-height: 1; color: var(--ink); }
.hero__plus { position: relative; width: 26px; height: 26px; }
.hero__plus::before, .hero__plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--ink); }
.hero__plus::after { transform: rotate(90deg); }

/* 島 */
.island { padding: 0 0 140px; }
.island__map { position: relative; width: min(1400px, calc(100% - 280px)); margin: 0 auto; }   /* 絵は横幅いっぱいに近く。左の縦の NEWS 帯（幅 130px）とは重ならない幅 */
@media (max-width: 1100px) { .island__map { width: calc(100% - 192px); } }
.island__map img { width: 100%; }
.spot { position: absolute; display: block; border-radius: 4px; transition: background-color .4s; }
.spot:focus-visible { background-color: rgba(0, 180, 160, .08); }
@media (hover: hover) { .spot:hover { background-color: rgba(0, 180, 160, .08); } }
.spot:focus-visible { outline: 2px dashed var(--accent); outline-offset: 2px; }
/* 吹き出し: 枠も影も無い、白いぼかしの雲の中に明朝の見出しと英字が浮かぶ。位置の補正は map-spots.json の tipDx / tipDy → --tdx / --tdy */
.tip { position: absolute; left: calc(50% + var(--tdx, 0%)); bottom: calc(100% - 14px - var(--tdy, 0%)); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 56px 30px; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateX(-50%) scale(.85); transform-origin: 50% 100%; transition: opacity .75s var(--ease), transform .75s var(--ease); }
.tip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, #fff 58%, rgba(255,255,255,.9) 72%, rgba(255,255,255,0)); filter: blur(3px); }
.tip__jp { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: .06em; }
.tip__en { color: var(--accent); font-size: 13px; font-weight: 500; letter-spacing: .1em; line-height: 1; }
.spot:focus-visible .tip { opacity: 1; transform: translateX(-50%) scale(1); }
@media (hover: hover) { .spot:hover .tip { opacity: 1; transform: translateX(-50%) scale(1); } }
@media (max-width: 767px) { .island { padding-bottom: 70px; } .island__map { width: calc(100% - 24px); } .tip { display: none; } }

/* 事業（地色・交互の行） */
.tsvc { padding: 130px 0 160px; }
.svc-rows { margin-top: 0; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 500px; }
.svc-row__txt { justify-self: end; width: min(460px, 100%); margin-right: 40px; padding: 40px 0; }
.svc-row__pill { height: 500px; background: #fff; border-radius: 250px 0 0 250px; display: flex; align-items: center; justify-content: flex-start; padding: 0 0 0 4%; overflow: hidden; }
.svc-row__pill img { width: min(660px, 92%); }
a.svc-row, a.svc-card { color: inherit; text-decoration: none; }
/* 絵が縮む動きは .5s（.fx のふわっと出る 1s より強い指定で上書き） */
.svc-row__pill img, .svc-card__dome img, html.js .svc-row__pill img.fx.is-in { transition: opacity 1s var(--ease), transform .5s var(--ease); }
@media (hover: hover) { a.svc-row:hover .svc-row__pill img, a.svc-card:hover .svc-card__dome img { transform: scale(.85); } }
a.svc-row:focus-visible, a.svc-card:focus-visible { outline: 2px dashed var(--accent); outline-offset: 6px; }
.svc-row--rev .svc-row__txt { order: 2; justify-self: start; margin: 0 0 0 40px; }
.svc-row--rev .svc-row__pill { order: 1; border-radius: 0 250px 250px 0; justify-content: flex-end; padding: 0 4% 0 0; }
/* 見出しの右に英字（PC は全行で横並び。スマホは全行で英字を下の行に） */
.svc-ttl { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 6px 26px; }
.svc-ttl__jp { white-space: nowrap; }
.svc-ttl__jp { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; }
.svc-ttl__en { color: var(--accent); font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.svc-row__txt p, .svc-card__d { font-size: 16px; line-height: 28px; margin-top: 30px; }   /* メディヴァ: 16px・行間 1.75 */
.svc-row__txt .more, .svc-card .more { margin-top: 36px; }

.svc-cards { display: grid; grid-template-columns: repeat(2, 440px); justify-content: center; gap: 0 160px; margin-top: 120px; }
.svc-card__dome { width: 440px; height: 394px; background: #fff; clip-path: circle(220px at 50% 220px); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.svc-card__dome img { width: 100%; margin-bottom: -6px; }
.svc-card { padding: 0 0 40px; }
.svc-card__en { color: var(--accent); font-weight: 500; font-size: 17px; letter-spacing: .06em; margin-top: 36px; padding-left: 20px; }
.svc-card__jp { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: .06em; margin-top: 10px; padding-left: 20px; line-height: 1.4; }
.svc-card__d { padding-left: 20px; font-size: 15px; line-height: 26px; margin-top: 26px; }   /* メディヴァ: 15px */
.svc-card .more { margin-left: 20px; }

.tsec { margin-top: 140px; }
.panel { width: min(1200px, calc(100% - 2 * var(--side))); margin: 60px auto 0; background: #fff; border-radius: 50px; padding: 70px 56px 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.panel__col { display: flex; align-items: stretch; gap: 22px; }
/* 縦書きの見出し＋その真下から列の下端まで伸びる線（線は横書きの箱の ::after で引く。縦書きの要素に付けると左隣の列になるため） */
.panel__head { display: flex; flex-direction: column; align-items: center; flex: 0 0 76px; min-width: 0; }
.panel__head::after { content: ""; width: 1px; flex: 1; min-height: 60px; background: var(--ink); margin-top: 26px; }
.panel__v { writing-mode: vertical-rl; font-family: var(--serif); font-size: 25px; letter-spacing: .1em; line-height: 1.5; }
/* 3列で文の幅・英字・本文の書き出し・view more の高さをそろえる（見出しの幅は縦2列分で固定、絵は高さ固定の枠の下端に置く） */
.panel__body { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.panel__img { height: 150px; width: 100%; display: flex; align-items: flex-end; margin-bottom: 18px; }
.panel__img picture { display: contents; }
.panel__img img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.panel__en { color: var(--accent); font-weight: 500; font-size: 14px; letter-spacing: .06em; line-height: 1.5; min-height: 3em; }
.panel__d { font-size: 16px; line-height: 32px; margin-top: 18px; }   /* メディヴァ: 16px・行間 2 */
.panel__body .more { margin-top: auto; }
.panel__d { margin-bottom: 30px; }
@media (max-width: 1100px) { .panel__head { flex-basis: 64px; } }
@media (max-width: 1100px) {
  .svc-row__txt { margin-right: 24px; } .svc-row--rev .svc-row__txt { margin-left: 24px; }
  .svc-ttl__jp { font-size: clamp(21px, 2.2vw, 25px); }
  .svc-cards { grid-template-columns: repeat(2, 335px); gap: 0 60px; }
  .svc-card__dome { width: 335px; height: 300px; clip-path: circle(167.5px at 50% 167.5px); }   /* 狭い画面では元の大きさ */
  .panel { padding: 56px 36px; gap: 28px; }
  .panel__v { font-size: 21px; }
}
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tsvc { padding: 80px 0 90px; }
  .svc-row { grid-template-columns: 1fr; min-height: 0; margin-top: 48px; }
  .svc-ttl { flex-direction: column; align-items: flex-start; }
  .svc-ttl__jp { white-space: normal; font-size: 25px; }
  .svc-row__pill, .svc-row--rev .svc-row__pill { order: 1; height: 56vw; width: calc(100% - 40px); border-radius: 0 28vw 28vw 0; justify-content: center; padding: 0; }
  .svc-row--rev .svc-row__pill { margin-left: 40px; border-radius: 28vw 0 0 28vw; }
  .svc-row__pill img { width: 74%; }
  .svc-row__txt, .svc-row--rev .svc-row__txt { order: 2; justify-self: stretch; width: auto; margin: 0; padding: 28px 24px 0; }
  .svc-row__txt .more, .svc-card .more { float: right; }
  .svc-row__txt::after, .svc-card::after { content: ""; display: block; clear: both; }
  .svc-cards { grid-template-columns: 1fr; gap: 56px; margin-top: 64px; padding: 0 24px; }
  .svc-card__dome { width: min(335px, 100%); height: 300px; clip-path: circle(167.5px at 50% 167.5px); margin: 0 auto; }
  .svc-card__en, .svc-card__jp, .svc-card__d { padding-left: 0; }
  .svc-card .more { margin-left: 0; }
  .tsec { margin-top: 80px; }
  .panel { width: calc(100% - 32px); border-radius: 28px; padding: 40px 24px; gap: 44px; margin-top: 40px; }
  .panel__col { flex-direction: column; gap: 14px; }   /* スマホは見出しを横書きで上に置き、本文を全幅に（縦書き＋細い本文列は読みにくいというレビュー指摘） */
  .panel__head { flex-basis: auto; align-items: flex-start; }
  .panel__en { min-height: 0; }
  .panel__v { writing-mode: horizontal-tb; font-size: 21px; letter-spacing: .06em; }
  .panel__v br { display: none; }
  .panel__head::after { display: none; }
}

/* コラム／お知らせ（2列） */
.tnews { padding: 100px 0 120px; }
.tnews__in { width: min(1200px, calc(100% - 2 * var(--side))); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tnews__col { padding: 0 50px 0 0; }
.tnews__col + .tnews__col { border-left: 1px solid #aaa; padding: 0 0 0 50px; }
.tnews .ttl__jp { margin-top: 10px; }
.plist--top { margin-top: 70px; }
.plist__i { border-bottom: 1px solid var(--rule); }
.plist__i a { display: block; padding: 24px 0 26px; text-decoration: none; }
.plist__meta { display: block; font-size: 14px; line-height: 1; }
.plist__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag { display: inline-block; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 13px; line-height: 1; padding: 4px 6px; letter-spacing: .04em; }
.new { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; line-height: 1; padding: 5px 6px; letter-spacing: .06em; }
.plist__t { display: block; margin-top: 14px; font-weight: 700; font-size: 15px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .plist__i a:hover .plist__t { color: var(--accent); } }
.plist__d { display: block; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); margin-top: 6px; }
.plist--page .plist__t { white-space: normal; font-size: 16px; }
.plist--page .plist__i:first-child a { padding-top: 0; }
.tnews__more { text-align: right; margin-top: 46px; }
@media (max-width: 767px) {
  .tnews { padding: 70px 0 80px; }
  .tnews__in { grid-template-columns: 1fr; width: calc(100% - 48px); }
  .tnews__col, .tnews__col + .tnews__col { padding: 0; border: 0; }
  .tnews__col + .tnews__col { margin-top: 80px; }
  .plist--top { margin-top: 30px; }
  .plist__t { white-space: normal; }
}

/* 事例の帯 */
.tworks { padding: 120px 0 80px; }
.band { display: block; width: min(1100px, calc(100% - 2 * var(--side))); margin: 0 auto; text-decoration: none; }
/* 大きな面（横:縦 = 3:2。PC 940×627・スマホは画面幅×約 66vw）として見せる。絵（works.svg 1600×500）は下に寄せ、上の空いた所は絵の地色 #E4EFE9 へつながる空にする（絵の高さは面の 47% なので、上の 53% で地色に着く） */
.band__img { display: flex; align-items: flex-end; aspect-ratio: 3 / 2; background: #fff; overflow: hidden; }
.band__img picture { display: contents; }
.band__img img { display: block; width: 100%; transform-origin: 50% 100%; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .band:hover .band__img img { transform: scale(1.03); } }
.band__bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 12px 150px; background: var(--accent); color: #fff; }
.band__cap { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .08em; text-align: center; word-break: auto-phrase; text-wrap: balance; }
.band__more { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; padding-bottom: 6px; border-bottom: 2px solid #fff; line-height: 1; }
.wlist { width: min(940px, calc(100% - 2 * var(--side))); margin: 90px auto 0; }
.wlist__i { border-bottom: 1px solid var(--ink); }
.wlist__i a { display: block; padding: 34px 0 34px; text-decoration: none; }
.wlist__k { font-weight: 700; font-size: 18px; color: var(--gray); letter-spacing: .04em; }
.wlist__t { display: block; margin-top: 18px; font-weight: 700; font-size: 22px; letter-spacing: .04em; line-height: 1.5; }
@media (hover: hover) { .wlist__i a:hover .wlist__t { color: var(--accent); } }
.wlist__note { width: min(940px, calc(100% - 2 * var(--side))); margin: 22px auto 0; font-size: 13px; line-height: 1.9; color: var(--ink-soft); }
.wlist__more { width: min(940px, calc(100% - 2 * var(--side))); margin: 50px auto 0; text-align: right; }
@media (max-width: 767px) {
  .tworks { padding: 70px 0 50px; }
  .band { width: 100%; }
  .band__bar { flex-direction: column; gap: 12px; padding: 18px 20px; }
  .band__cap { font-size: 16px; }
  .band__more { position: static; transform: none; font-size: 15px; }
  .wlist { width: calc(100% - 48px); margin-top: 40px; }
  .wlist__k { font-size: 15px; }
  .wlist__t { font-size: 18px; }
  .wlist__more, .wlist__note { width: calc(100% - 48px); }
}

/* お問い合わせの案内 */
.tcontact { padding: 120px 24px 200px; text-align: center; }
.tcontact__lead { font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.9; letter-spacing: .06em; }
.tcontact .btn-line { margin-top: 64px; }
@media (max-width: 767px) { .tcontact { padding: 70px 24px 110px; } .tcontact__lead { font-size: 16px; } .tcontact__lead br { display: none; } }

/* =================================================== フッター（濃い灰） */
.ft { position: relative; background: var(--foot); color: #fff; padding: 130px 0 70px; overflow: hidden; }
.ft a { color: #fff; text-decoration: none; }
@media (hover: hover) { .ft a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.ft__bigmark { position: absolute; left: 50%; top: -0.12em; transform: translateX(-50%); font-family: var(--logo); font-size: min(330px, 26vw); line-height: 1; letter-spacing: .02em; color: #4C4C4C; pointer-events: none; white-space: nowrap; }
.ft__in { position: relative; width: min(1200px, calc(100% - 2 * var(--side))); margin: 0 auto; }
.ft__h { font-weight: 700; font-size: 20px; line-height: 1.6; }
.ft__h + .ft__h { margin-top: 36px; }
.ft__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 28px; margin-top: 46px; }
.ft__cols--site { margin-top: 110px; }
.ft__dot { font-weight: 700; font-size: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.3); }
.ft__dot::before { content: "●"; margin-right: 8px; }
.ft__col ul { margin-top: 18px; }
.ft__col li { font-size: 14px; line-height: 26px; word-break: auto-phrase; text-wrap: pretty; }
.ft__col li a { color: #B5B5B5; }
.ft__cols--site ul { margin-top: 24px; }
.ft__btns { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ft__btn { display: inline-block; background: #fff; color: var(--ink) !important; font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 2px; }
.ft__info { margin-top: 110px; }
.ft__logo { display: inline-flex; flex-direction: column; color: rgba(255,255,255,.55) !important; line-height: 1; }
.ft__logo .logo__mark { font-size: 46px; }
.ft__addr { margin-top: 36px; font-size: 13px; line-height: 21px; color: rgba(255,255,255,.65); }
.ft__policy { margin-top: 6px; }
.ft__policy li { font-size: 14px; line-height: 26px; }
.ft__copy { margin-top: 46px; font-size: 14px; color: rgba(255,255,255,.55); }
/* スマホの項目一覧（開閉つき）。PC では隠す */
.ftacc { display: none; }
@media (max-width: 900px) { .ft__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .ft { padding: 64px 0 56px; }
  .ft__in { width: calc(100% - 48px); }
  .ft > .ft__in > .ft__h, .ft__cols { display: none; }
  .ftacc { display: block; }
  .ftacc__i { position: relative; border-bottom: 1px solid rgba(255,255,255,.3); }
  .ftacc__i:first-child { border-top: 1px solid rgba(255,255,255,.3); }
  .ftacc__a { display: block; padding: 13px 0; font-weight: 700; font-size: 17px; line-height: 22px; letter-spacing: .04em; }
  .ftacc__i.has-sub > .ftacc__a { padding-right: 70px; }
  .ftacc__s { position: absolute; right: 0; top: 0; width: 60px; height: 48px; list-style: none; cursor: pointer; }
  .ftacc__s::-webkit-details-marker { display: none; }
  .ftacc__s::before { content: ""; position: absolute; left: 0; top: 7px; width: 1px; height: 34px; background: rgba(255,255,255,.3); }
  .ftacc__chev { position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -10px 0 0 -6px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); transition: transform .3s, margin .3s; }
  .ftacc__d[open] .ftacc__chev { transform: rotate(-135deg); margin-top: -3px; }
  .ftacc__s:focus-visible { outline-offset: -3px; }
  .ftacc__sub { padding: 0 0 16px 14px; }
  .ftacc__sub li { font-size: 14px; line-height: 2.2; }
  .ftacc__sub a { color: #B5B5B5; }
  /* ポリシー類は「｜」で区切って横に並べ、下線。その下に線・ロゴ・所在地・© */
  .ft__info { display: flex; flex-direction: column; align-items: flex-start; margin-top: 48px; }
  .ft__policy { order: -1; display: flex; flex-wrap: wrap; margin: 0 0 40px; }
  .ft__policy li { font-size: 14px; line-height: 22px; color: #B5B5B5; }
  .ft__policy li + li::before { content: ""; display: inline-block; width: 1px; height: 14px; margin: 0 8px; background: rgba(255,255,255,.4); vertical-align: -2px; }
  .ft__policy a { color: #B5B5B5; text-decoration: underline; text-underline-offset: 3px; }
  .ft__logo { width: 100%; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.3); }
  .ft__logo .logo__mark { font-size: 40px; }
  .ft__addr { margin-top: 24px; }
  .ft__copy { margin-top: 28px; font-size: 13px; }
  /* トップは下の NEWS 帯の分と TOP ボタンの分だけ、フッターの中で余白を足す（帯はフッターに近づくと消えるので、body ではなくフッターに空ける） */
  body.is-top .ft { padding-bottom: 92px; }
}

/* =================================================== 下層 */
.phead { background: #fff; padding: 72px 0 30px; }
.phead__in { width: min(1200px, calc(100% - 2 * var(--side))); margin: 0 auto; min-height: 180px; }
/* 事業: 島の絵を上に寄せ、パンくずを島の下端と同じ高さに置く */
.phead--img { padding: 22px 0 36px; }
.phead--img .phead__in { display: grid; grid-template-columns: 1fr 1.4fr; align-items: start; gap: 40px; }
.phead--img .ttl { padding-top: 88px; }
.phead--img .crumb { position: relative; margin-top: -46px; }
.phead__img img { width: 100%; }
.crumb { width: min(1200px, calc(100% - 2 * var(--side))); margin: 45px auto 0; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: baseline; font-size: 14px; line-height: 20px; color: var(--gray); }
.crumb li { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* 区切りは細い山形（線2本を45°回したもの） */
.crumb li + li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 20px 0 16px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); vertical-align: 1px; }
.crumb a { text-decoration: none; }
@media (hover: hover) { .crumb a:hover { color: var(--ink); } }
.pbody { background: var(--pale); padding: 30px 0 160px; }
.pbody__in { width: min(1200px, calc(100% - 2 * var(--side))); margin: 0 auto; display: grid; grid-template-columns: 270px 1fr; gap: 65px; align-items: start; }
.snav { background: #fff; position: sticky; top: calc(var(--hd) + 24px); }
.snav__h { background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; }
.snav__h a, .snav__h span { display: block; padding: 17px 20px; color: #fff; text-decoration: none; }
.snav ul { padding: 8px 0 20px; }
.snav li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; font-weight: 700; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.snav li a::after { content: ""; flex: none; width: 5px; height: 5px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
.snav li a[aria-current] { color: var(--accent); }
@media (hover: hover) { .snav li a:hover { color: var(--accent); } }
.pbody__main { min-width: 0; }
.card { background: #fff; padding: 40px 30px 44px; }
.card + .card, .lcards + .card, .card + .lcards { margin-top: 40px; }
.ttl--card .ttl__en { font-size: 14px; }
.ttl--card .ttl__jp { font-size: 30px; margin-top: 18px; padding-bottom: 22px; border-bottom: 1px solid #bdbdbd; position: relative; }
.ttl--card .ttl__jp::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40%; height: 1px; background: var(--accent); }
.ttl--card + * { margin-top: 30px; }
.card__h { font-family: var(--serif); font-size: 26px; line-height: 1.4; padding-bottom: 20px; border-bottom: 1px solid #bdbdbd; position: relative; margin-bottom: 26px; }
.card__h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 1px; background: var(--accent); }
.card__more { text-align: right; margin-top: 32px; }
.lcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 55px; }
.lcard { display: flex; flex-direction: column; background: #fff; padding: 36px 30px 30px; text-decoration: none; transition: box-shadow .4s; }
@media (hover: hover) { .lcard:hover { box-shadow: 0 10px 30px rgba(16,48,59,.08); } }
.lcard__en { color: var(--accent); font-size: 14px; letter-spacing: .06em; }
.lcard__jp { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.4; margin-top: 18px; padding-bottom: 22px; border-bottom: 1px solid #bdbdbd; position: relative; }
.lcard__jp::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40%; height: 1px; background: var(--accent); }
.lcard .more { align-self: flex-end; margin-top: 30px; font-size: 18px; padding-bottom: 4px; }
.lcard--work .lcard__jp { font-size: 22px; margin-top: 0; }
.lcard__d { font-size: 14px; line-height: 1.95; margin-top: 18px; flex: 1; }
.pbody__lead { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 40px; }
.pbody__cta, .pbody__back { margin-top: 60px; text-align: center; }
.pbody__back { text-align: right; margin-top: 40px; }

/* 事業ページ（コンテンツ欄の中の交互の行） */
.svc-item { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; scroll-margin-top: calc(var(--hd) + 24px); }
.svc-item + .svc-item { margin-top: 80px; }
.svc-item__pill { background: #fff; border-radius: 0 999px 999px 0; height: 320px; display: flex; align-items: center; justify-content: center; }
.svc-item__pill img { width: min(420px, 88%); }
.svc-item--rev { grid-template-columns: 1fr 1.15fr; }
.svc-item--rev .svc-item__pill { order: 2; border-radius: 999px 0 0 999px; }
.svc-item--rev .svc-item__txt { order: 1; }
.svc-item__txt > p { font-size: 15px; line-height: 28px; margin-top: 24px; }
.svc-item__list { margin-top: 18px; }
.svc-item__list li { color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.7; padding-left: 1em; text-indent: -1em; margin-top: 6px; }
.svc-item__list li::before { content: "・"; color: var(--accent); }   /* 「#」はSNSのタグや押せるリンクに見えるというレビュー指摘で点に */
.svc-item__txt .more { margin-top: 26px; font-size: 16px; }

/* 本文の組版 */
.prose p, .post p { line-height: 2; margin-top: 1.1em; }
.prose > :first-child, .post > :first-child { margin-top: 0; }
.prose ul, .post ul:not(.checks) { margin-top: 1em; }
.prose ul li, .post .article-body ul li { position: relative; padding-left: 1.2em; line-height: 1.9; margin-top: .4em; }
.prose ul li::before, .post .article-body ul li::before { content: ""; position: absolute; left: .2em; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose ol { margin-top: 1em; padding-left: 1.6em; list-style: decimal; }
.prose ol li { line-height: 1.9; margin-top: .4em; padding-left: .2em; }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose a, .post a { color: var(--accent); text-underline-offset: 3px; }
.prose a.more { color: inherit; }
.note { font-size: 14.5px; line-height: 1.9; color: var(--ink); margin-top: 1.2em; }   /* 測定条件などの但し書きは読ませる大きさで */
.more-wrap { margin-top: 40px !important; }
.table-scroll { overflow-x: auto; margin-top: 1.4em; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { border-bottom: 1px solid #d5d5d5; padding: 16px 14px; text-align: left; vertical-align: top; line-height: 1.8; }
th { font-weight: 700; white-space: nowrap; }
thead th { background: var(--pale); border-bottom: 2px solid var(--accent); }
table.dl th { width: 9em; color: var(--accent); }
.card .prose h2 { font-family: var(--serif); font-size: 24px; margin-top: 2.2em; }
.card .prose h3 { font-size: 18px; margin-top: 1.8em; }

/* 記事（お知らせ・コラム） */
.article { padding: 50px 50px 56px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; }
.article__read, .article__by { color: var(--ink-soft); font-size: 13px; }
.article__update { margin-top: 22px; padding: 14px 18px; background: var(--pale); font-size: 14px; line-height: 1.9; }
.article__ttl { font-family: var(--serif); font-size: 30px; line-height: 1.55; letter-spacing: .05em; margin-top: 22px; padding-bottom: 28px; border-bottom: 1px solid #bdbdbd; position: relative; }
.article__ttl::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 1px; background: var(--accent); }
.article-body, .post { margin-top: 36px; }
.article-body h2, .post .article-body h2 { font-family: var(--serif); font-size: 24px; line-height: 1.5; margin-top: 2.6em; padding-left: 16px; border-left: 3px solid var(--accent); }
.article-body h3 { font-size: 18px; margin-top: 2em; }
.post-summary { background: var(--pale); padding: 26px 30px; }
.post-summary h2 { font-family: var(--serif); font-size: 18px; }
.post-summary .checks { margin-top: 12px; }
.post-summary .checks li { position: relative; padding-left: 1.8em; line-height: 1.8; margin-top: .4em; font-size: 15px; }
.post-summary .checks li::before { content: ""; position: absolute; left: .2em; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.post .article-body { margin-top: 10px; }
.post .table-scroll { margin-top: 1.4em; }
.post td strong { font-weight: 700; }
.callout { margin-top: 1.6em; padding: 20px 24px; background: var(--pale); border-left: 3px solid var(--accent); line-height: 1.9; font-size: 15px; }
.callout.warn { background: #fbf3ec; border-left-color: #c8742f; }
.callout strong { display: block; margin-bottom: 4px; }
.faq { margin-top: 3em; }
.faq h2 { font-family: var(--serif); font-size: 24px; padding-left: 16px; border-left: 3px solid var(--accent); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { margin-top: 20px; border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; line-height: 1.7; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .q { color: var(--accent); margin-right: .5em; font-family: var(--serif); }
.faq details p { margin: 0 0 20px; line-height: 2; }
.article__cta { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--rule); text-align: center; }
.article__cta p { font-size: 15px; }
.article__cta .btn-line { margin-top: 22px; }
.svc-links li { border-bottom: 1px solid var(--rule); }
.svc-links a { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; text-decoration: none; }
@media (hover: hover) { .svc-links a:hover { color: var(--accent); } }
.svc-link__jp { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.svc-link__en { color: var(--accent); font-size: 13px; flex: 1; }

/* お問い合わせ */
.form { margin-top: 36px; }
.form__row { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.form__row:first-of-type { border-top: 1px solid var(--rule); }
.form label { font-weight: 700; font-size: 15px; padding-top: 10px; }
.req { display: inline-block; margin-left: 10px; background: var(--accent); color: #fff; font-size: 11px; padding: 3px 6px; line-height: 1; vertical-align: .15em; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9c9c9; border-radius: 0; background: #fff; color: var(--ink); }
.form textarea { min-height: 200px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form__submit { margin-top: 40px !important; text-align: center; }
.form__sent { margin-top: 24px; padding: 18px 22px; background: var(--pale); border-left: 3px solid var(--accent); font-weight: 700; }

@media (max-width: 1100px) {
  .pbody__in { grid-template-columns: 220px 1fr; gap: 40px; }
  .lcards { gap: 30px; }
  .svc-item, .svc-item--rev { grid-template-columns: 1fr; gap: 28px; }
  .svc-item__pill { height: 280px; width: 92%; }
  .svc-item--rev .svc-item__pill { order: 0; margin-left: auto; }
  .svc-item--rev .svc-item__txt { order: 1; }
}
@media (max-width: 900px) {
  .pbody__in { grid-template-columns: 1fr; }
  .snav { position: static; order: 2; }
  .phead--img .phead__in { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .phead { padding: 48px 0 24px; }
  .phead__in { min-height: 0; }
  .phead--img .ttl { padding: 0; }
  .phead--img .crumb { margin-top: 24px; }
  .crumb { margin-top: 40px; width: calc(100% - 48px); }
  .crumb li + li::before { margin: 0 10px; }
  .pbody { padding: 24px 0 100px; }
  .pbody__in { width: calc(100% - 32px); gap: 28px; }
  .card, .article { padding: 30px 20px 34px; }
  .lcards { grid-template-columns: 1fr; gap: 20px; }
  .lcard { padding: 28px 20px 24px; }
  .lcard .lcard__thumb { margin: -28px -20px 20px; }
  .lcard__jp, .card__h { font-size: 22px; }
  .ttl--card .ttl__jp { font-size: 24px; }
  .article__ttl { font-size: 23px; }
  .article-body h2, .post .article-body h2, .faq h2 { font-size: 20px; }
  .svc-item__pill { height: 220px; }
  .form__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .form label { padding-top: 0; }
  .btn-line { min-width: 0; width: 100%; }
  table { font-size: 14px; }
  th, td { padding: 12px 10px; }
  table.dl th { width: 6.5em; white-space: normal; }
  /* 3列以上の表は縦に積む: 1行目のセルを見出しに、残りのセルの上に列の見出し（data-label）を小さく出す */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid #d5d5d5; padding: 14px 0 16px; }
  table.stack tr:first-child { border-top: 2px solid var(--accent); }
  table.stack td { border: 0; padding: 4px 4px; }
  table.stack td:first-child { font-weight: 700; font-size: 15px; padding-bottom: 8px; }
  table.stack td:not(:first-child)::before { content: attr(data-label); display: block; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
  table.stack td:not(:first-child) + td { margin-top: 8px; }
  /* 「見出し｜値」の2列の表は、見出しを上・値を下に */
  table.kv, table.kv tbody, table.kv tr, table.kv th, table.kv td { display: block; width: 100%; }
  table.kv tr { border-bottom: 1px solid #d5d5d5; padding: 12px 0 14px; }
  table.kv th, table.kv td { border: 0; padding: 2px 4px; white-space: normal; }
  table.kv th { font-size: 13px; color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js .fx { opacity: 1; transform: none; }
  html.js [data-split].is-ready .split__c { opacity: 1; transform: none; }
  .telop__track { position: static; }
  .telop__list { overflow: hidden; }
  /* 流れないときは、入りきらないタイトルを「…」で切る */
  .telop__track { display: flex; max-width: 100%; max-height: 100%; }
  .telop__date { flex: none; }
  .telop__t { min-width: 0; min-height: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
picture { display: contents; }

/* ---- スマホ: 断面の絵を大きく（病院の部分を画面いっぱいに。左右の行政・クリニックは少し切る）と、事業のボタン ---- */
.island__list { display: none; }
@media (max-width: 767px) {
  /* スマホは建物だけの版（map-sp.svg）を出すので、絵の上のリンクは使わない（下の事業ボタンで案内） */
  .more { padding-top: 10px; padding-bottom: 12px; }   /* 指で押しやすい高さ */
  .island__map { width: calc(100% - 16px); }
  .island__spots { display: none; }
  .island__list { display: block; list-style: none; margin: 8px 20px 0; padding: 0; border-top: 1px solid var(--line, #d6ddd9); }
  .island__list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line, #d6ddd9); text-decoration: none; color: inherit; }
  .island__list-jp { font-family: var(--serif); font-weight: 500; font-size: 17px; grid-column: 1; }
  .island__list-en { color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: .08em; grid-column: 1; }
  .island__list svg { grid-column: 2; grid-row: 1 / span 2; width: 8px; height: 14px; }
  /* TOP ボタンを小さく、端へ */
  .pagetop { right: 4px; width: 42px; height: 42px; }   /* スマホは小さくして画面の端へ（本文に重ならないように） */
  .pagetop span { font-size: 10px; margin-top: 11px; }
}
/* スマホ: 右下の TOP ボタンと重ならないよう、view more を左寄せにする */
@media (max-width: 767px) {
  .svc-row__txt .more, .svc-card .more { float: none; }
  .hero__more, .tnews__more, .wlist__more, .card__more, .pbody__back { text-align: left; }
  .lcard .more { align-self: flex-start; }
}
@media (max-width: 767px) {
  /* NEWS 帯（36px）と Safari の下のツールバーにかからないよう、少し上へ */
  body.is-top .pagetop { bottom: calc(52px + 3vw + env(safe-area-inset-bottom, 0px)); }
}

/* 印刷（稟議に添付する前提）: スクロール演出で隠れたままの部分を出し、ヘッダー固定・帯・メニュー・フッターを外す */
@media print {
  .fx, html.js .fx { opacity: 1 !important; transform: none !important; }
  .split__line > * { transform: none !important; }
  .hd { position: static !important; }
  .telop, .pagetop, .snav, .ft, .sm, .srch, .skip, .bg-layer, .hd__burger, .hd__search, .hd__nav, .more, .pbody__back { display: none !important; }
  body { padding-top: 0 !important; background: #fff !important; }
  .pbody { padding-bottom: 20px !important; background: #fff !important; }
  .card, .article, .panel__col, table, tr { break-inside: avoid; }
  a[href^="http"]::after { content: ""; }
}

/* 事業ページ: ご相談から契約までの流れ */
#flow { margin-top: 80px; }
.flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.flow li { border-top: 3px solid var(--accent); padding: 16px 4px 0; }
.flow__no { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.flow__h { font-family: var(--serif); font-size: 18px; line-height: 1.5; margin: 4px 0 8px; }
.flow li p:last-child { font-size: 15px; line-height: 1.8; }
@media (max-width: 1280px) { .flow { grid-template-columns: 1fr 1fr; gap: 24px 20px; } }
@media (max-width: 767px) { .flow { grid-template-columns: 1fr; gap: 20px; } #flow { margin-top: 48px; } }

/* 制作見本のカードの縮小画像（カードの上端いっぱいに、ページの最初の画面を出す） */
.lcard__thumb { display: block; margin: -36px -30px 24px; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid #e6e8e7; background: #f3f5f4; }
.lcard__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
@media (hover: hover) { .lcard--work:hover .lcard__thumb img { transform: scale(1.03); } }
