

.wrap { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.en { font-family: var(--font-en); font-weight: 400; letter-spacing: .02em; }
img { width: 100%; }


.paper { background: var(--color-paper); color: var(--color-bg); position: relative; isolation: isolate; }
.paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: var(--color-bg); opacity: .07;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -0.4'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -0.4'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.paper .btn-secondary { color: var(--color-bg); }
.paper .btn-secondary:hover { background: var(--color-bg); color: var(--color-paper); }
.main .btn-secondary:hover { background: var(--color-text); color: var(--color-main); }


.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--header-h);
  display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px);
  padding-inline: clamp(16px, 2.2vw, 40px); color: var(--color-text);
  transition: background-color .45s, box-shadow .45s, height .45s;
}
.hd::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--color-bg) 55%, transparent), transparent);
  transition: opacity .45s;
}
.hd.is-solid { background: var(--color-bg); box-shadow: 0 1px 0 var(--color-line); }
.hd.is-solid::before { opacity: 0; }
.logo { display: flex; flex-direction: column; line-height: 1.1; flex: none; }
.logo-ja { font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 1.7vw, 25px); letter-spacing: .14em; }
.logo-en { font-family: var(--font-en); font-size: 14px; letter-spacing: .2em; color: var(--color-accent); margin-top: 4px; }
.gnav { margin-left: auto; }
.gnav-list { display: flex; gap: clamp(12px, 1.25vw, 22px); }
.gnav-list a { font-size: var(--fs-nav); font-weight: 500; letter-spacing: .03em; position: relative; padding: 6px 0; white-space: nowrap; }
.gnav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--color-accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.gnav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.gnav-sp { display: none; }
.hd-cta { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); flex: none; }
.hd-tel { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; white-space: nowrap; }
.hd-tel svg { width: 18px; color: var(--color-accent); }
.btn.hd-btn { width: auto; min-height: 50px; padding: 0 22px; font-size: 16px; }
.menu-btn { display: none; width: 56px; height: 56px; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 20px; } .menu-btn span:nth-child(2) { top: 28px; }
.menu-btn i { position: absolute; left: 0; right: 0; bottom: 6px; font-style: normal; font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; }
html.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(20deg); }
html.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }

@media (max-width: 1399px) {
  .menu-btn { display: block; }
  .hd-cta { margin-left: auto; }
  .gnav {
    position: fixed; inset: 0; z-index: -1; margin: 0; overflow-y: auto;
    background: var(--color-bg); padding: calc(var(--header-h) + 24px) var(--gutter) 96px;
    visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s;
  }
  html.menu-open .gnav { visibility: visible; opacity: 1; }
  .gnav-list { flex-direction: column; gap: 0; max-width: 560px; }
  .gnav-list a { display: block; font-family: var(--font-heading); font-size: 22px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
  .gnav-list a::after { display: none; }
  .gnav-sp { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; max-width: 560px; }
  .gnav-tel { font-size: 26px; font-weight: 700; }
}
@media (max-width: 768px) {
  .hd-cta { display: none; }
  .menu-btn { margin-left: auto; }
}


.fv { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--color-bg); color: var(--color-text); }
.fv-media { position: absolute; inset: 0; }
.fv-slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.fv-slide.is-on { opacity: 1; }
.fv-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 50%; }
.fv-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 80% at 0% 100%, color-mix(in srgb, var(--color-bg) 88%, transparent) 0%, color-mix(in srgb, var(--color-bg) 66%, transparent) 46%, transparent 80%),
    radial-gradient(ellipse 16% 42% at 68% 46%, color-mix(in srgb, var(--color-bg) 34%, transparent), transparent 75%);
}
.fv-name { position: absolute; left: 68%; top: 47%; transform: translate(-50%, -50%); z-index: 2; display: grid; place-items: center; pointer-events: none; }
.fv-enso { position: absolute; left: 50%; top: 50%; width: min(52svh, 44vw); translate: -50% -52%; rotate: -10deg; color: color-mix(in srgb, var(--color-accent) 85%, transparent); filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--color-bg) 40%, transparent)); }
.fv-name-ja {
  writing-mode: vertical-rl; font-family: var(--font-heading); font-weight: 800;
  font-size: min(8vw, 9.6svh); line-height: 1; letter-spacing: .1em; position: relative;
  text-shadow: 0 2px 28px color-mix(in srgb, var(--color-bg) 60%, transparent), 0 1px 4px color-mix(in srgb, var(--color-bg) 45%, transparent);
}
.fv-name-ja span { display: inline-block; }
.fv-name-en { position: absolute; left: calc(100% + 14px); top: 6%; writing-mode: vertical-rl; font-family: var(--font-en); font-size: clamp(14px, 1.2vw, 19px); letter-spacing: .3em; white-space: nowrap; text-shadow: 0 1px 6px color-mix(in srgb, var(--color-bg) 60%, transparent); }
.fv-stroke { position: absolute; right: calc(100% + 10px); bottom: 2%; width: 20px; height: 40%; color: var(--color-text); opacity: .8; }
.fv-copy { position: absolute; left: var(--gutter); bottom: clamp(28px, 5.5svh, 60px); width: min(580px, 40vw); z-index: 3; }
.fv-title { font-size: clamp(22px, 2.2vw, 33px); line-height: 1.6; letter-spacing: .04em; text-shadow: 0 2px 18px color-mix(in srgb, var(--color-bg) 55%, transparent); }
.fv-lead { margin-top: 14px; font-size: 17px; line-height: 1.85; text-shadow: 0 1px 10px color-mix(in srgb, var(--color-bg) 60%, transparent); }
.fv-act { margin-top: 22px; }
.fv-act .btn-note { text-shadow: 0 1px 8px color-mix(in srgb, var(--color-bg) 60%, transparent); }
.fv-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--color-text) 40%, transparent); font-size: 16px; font-weight: 700; }
.fv-line-go { display: inline-flex; align-items: center; gap: 8px; color: var(--color-accent); transition: gap .3s var(--ease-out); }
.fv-line-go svg { width: 16px; }
.fv-line:hover .fv-line-go { gap: 14px; }
.fv-prog { position: absolute; left: 68%; bottom: 30px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fv-cap { font-size: 15px; letter-spacing: .1em; text-shadow: 0 1px 8px color-mix(in srgb, var(--color-bg) 70%, transparent); white-space: nowrap; }
.fv-prog ol { display: flex; gap: 8px; }
.fv-prog li { width: 54px; height: 2px; background: color-mix(in srgb, var(--color-text) 40%, transparent); overflow: hidden; }
.fv-prog i { display: block; height: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
.fv-prog li.is-done i { transform: scaleX(1); }


.chat { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 70; display: flex; align-items: center; gap: 12px; }
.chat-bubble { position: relative; background: var(--color-paper); color: var(--color-bg); font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: var(--radius); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--color-bg) 80%, transparent); transition: transform .4s var(--ease-out); }
.chat-bubble::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: inherit; transform: translateY(-50%) rotate(45deg); }
.chat-icon { width: 66px; height: 66px; border-radius: 50%; background: var(--color-main); color: var(--color-text); border: 2px solid color-mix(in srgb, var(--color-text) 60%, transparent); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 26px; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--color-bg) 90%, transparent); transition: transform .4s var(--ease-out); }
.chat:hover .chat-icon { transform: rotate(-12deg) scale(1.06); }
.chat:hover .chat-bubble { transform: translateX(-4px); }

@media (max-width: 1100px) {
  .fv-name { left: 50%; top: 38%; }
  .fv-name-ja { font-size: min(9vw, 7.6svh); }
  .fv-copy { width: auto; right: var(--gutter); }
  .fv-prog { left: auto; right: var(--gutter); bottom: auto; top: calc(var(--header-h) + 14px); transform: none; align-items: flex-end; }
  .fv-shade { background:
    linear-gradient(to top, color-mix(in srgb, var(--color-bg) 74%, transparent) 0%, color-mix(in srgb, var(--color-bg) 40%, transparent) 38%, transparent 62%),
    radial-gradient(ellipse 22% 34% at 50% 38%, color-mix(in srgb, var(--color-bg) 30%, transparent), transparent 75%); }
}
@media (max-width: 768px) {
  .fv { min-height: 600px; }
  .fv-name { top: 23%; }
  .fv-name-ja { font-size: min(9.5vw, 4.8svh); }
  .fv-name-en { font-size: 12px; }
  .fv-enso { width: 52vw; }
  .fv-copy { bottom: 84px; }
  .fv-title { font-size: 21px; line-height: 1.55; }
  .fv-lead { font-size: 15px; line-height: 1.75; margin-top: 10px; }
  .fv-act { margin-top: 14px; }
  .fv-act .btn-note { margin-top: 6px; }
  .fv-line { font-size: 15px; margin-top: 10px; padding-top: 10px; }
  .fv-prog li { width: 34px; }
  .fv-cap { display: none; }
  .chat { display: none; }
}


.mq { overflow: hidden; overflow: clip; padding: clamp(14px, 1.6vw, 24px) 0; border-block: 1px solid var(--color-line); }
.mq-1 { background: var(--color-main); color: var(--color-text); }
.mq-2 { background: var(--color-bg); color: var(--color-text); }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-set { display: flex; align-items: center; flex: none; }
.mq .en { font-size: clamp(44px, 6.4vw, 104px); line-height: 1.15; padding-inline: .32em; white-space: nowrap; }
.mq .ja { font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 3.2vw, 52px); padding-inline: .55em; white-space: nowrap; }
.mq i { width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); flex: none; }
.mq-2 .en { color: transparent; -webkit-text-stroke: 1px var(--color-text); }
.mq-2 .ja { color: var(--color-accent); }


.band { padding: clamp(56px, 7vw, 112px) 0 clamp(36px, 4vw, 64px); overflow: hidden; overflow: clip; }
.band-en { font-family: var(--font-en); font-size: clamp(20px, 2vw, 30px); color: var(--color-main); letter-spacing: .12em; }
.band-h { font-size: min(7.2vw, 118px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; margin-top: 6px; }
.band-line { display: block; overflow: hidden; padding-block: .04em; }
.band-line span { display: inline-block; }
.band-ul { width: 100%; height: 26px; color: var(--color-main); margin-top: 4px; }


.kg { position: relative; padding: clamp(28px, 3.6vw, 56px) 0 var(--sec-pad); background: var(--color-bg); }
.kg-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); grid-auto-flow: dense; }
.c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
.r2 { grid-row: span 2; }
.g-cell { position: relative; display: flex; min-width: 0; }
.g-card {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(22px, 2.2vw, 36px); border: 1px solid var(--color-line); border-radius: var(--radius-card);
  background: var(--color-surface); font-size: var(--fs-card); line-height: 1.9; position: relative;
}
.g-card.paper { background: var(--color-paper); color: var(--color-bg); border-color: transparent; }
.g-card.main { background: var(--color-main); border-color: transparent; }
.g-card .btn { margin-top: auto; align-self: flex-start; }
.g-tag { font-size: var(--fs-small); font-weight: 700; color: var(--color-accent); letter-spacing: .12em; display: inline-flex; align-items: center; gap: 10px; }
.g-tag::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.g-quote { justify-content: space-between; }
.g-quote::after { content: "\201C"; position: absolute; right: 22px; top: 6px; font-family: var(--font-en); font-size: 96px; line-height: 1; color: color-mix(in srgb, var(--color-main-ink) 45%, transparent); }
.g-q { font-family: var(--font-heading); font-size: var(--fs-h4); font-weight: 700; line-height: 1.75; }
.g-big { font-family: var(--font-heading); font-size: clamp(20px, 1.75vw, 26px); font-weight: 700; line-height: 1.85; }
.g-text { justify-content: center; gap: 28px; }
.g-photo { padding: 0; overflow: hidden; gap: 0; }
.g-photo .ph { flex: 1; min-height: 240px; border-radius: 0; }
.g-photo figcaption { padding: 14px 20px; font-size: 16px; }
.ph { overflow: hidden; border-radius: var(--radius-photo); position: relative; transition: transform .6s var(--ease-out); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.g-item .ph { aspect-ratio: 16 / 10; }
.g-item { padding: 0; gap: 0; overflow: hidden; }
.g-item .ph { border-radius: 0; }
.g-body { display: flex; flex-direction: column; gap: 12px; }
.g-item .g-body { padding: clamp(20px, 2vw, 30px); }
.g-side { flex-direction: row; }
.g-side .ph { width: 48%; flex: none; aspect-ratio: auto; min-height: 230px; }
.g-side .g-body { justify-content: center; }
.g-no { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--color-accent); letter-spacing: .1em; }
.g-no span { font-size: 24px; margin-left: 2px; }
.g-h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; padding-left: 18px; border-left: 4px solid var(--color-accent); }
.paper .g-h3 { border-left-color: var(--color-main); }
.g-h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.55; }
.g-en { font-family: var(--font-en); font-size: clamp(30px, 3vw, 50px); line-height: 1; color: var(--color-accent); }
.paper .g-en { color: var(--color-main); }
.g-head { gap: 22px; }
.g-head .g-sub { font-size: 17px; }
.g-service { padding: 0; gap: 0; overflow: hidden; }
.g-service .ph { aspect-ratio: 16 / 7.5; border-radius: 0; }
.g-service .g-body { padding: clamp(22px, 2.2vw, 36px); gap: 16px; }
.g-service .g-body .btn { margin-top: 8px; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chips li { border: 1px solid var(--color-line); padding: 2px 14px; border-radius: var(--radius); font-size: 16px; }
.g-yen { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1.5px dashed color-mix(in srgb, var(--color-bg) 35%, transparent); }
.g-yen-l { font-weight: 700; font-size: 17px; }
.g-yen-n { display: flex; align-items: baseline; gap: 6px; color: var(--color-main); }
.g-yen-n .num { font-size: clamp(60px, 6.4vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.g-yen-n small { font-size: 22px; font-weight: 700; color: var(--color-bg); }
.g-flow { display: grid; grid-template-columns: 1.15fr 1fr .75fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.g-flow-head { display: flex; flex-direction: column; gap: 16px; }
.g-flow-head .btn { margin-top: auto; }
.g-steps { display: flex; flex-direction: column; gap: 24px; counter-reset: s; }
.g-steps li { border-top: 1px solid color-mix(in srgb, var(--color-text) 45%, transparent); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.g-step-no { font-size: 16px; font-weight: 700; color: var(--color-accent); }
.g-flow-ph { min-height: 260px; }
@media (hover: hover) and (min-width: 769px) {
  .g-card:hover .ph, .w-card:hover .ph { transform: rotate(-2deg) scale(1.035); }
  .g-cell:nth-child(even) .g-card:hover .ph, .w-card:nth-child(even):hover .ph { transform: rotate(2deg) scale(1.035); }
  .g-card { transition: border-color .35s; }
  .g-card:hover { border-color: color-mix(in srgb, var(--color-accent) 70%, transparent); }
}


.gather { display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 100vh; z-index: 5; pointer-events: none; }
.gather.on { display: block; }
.gather-ph { position: absolute; inset: 0; }
.gather-ph img { width: 100%; height: 100%; object-fit: cover; }
.gather-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 50% at 0% 100%, color-mix(in srgb, var(--color-bg) 70%, transparent), transparent 75%); }
.gather-cap { position: absolute; left: var(--gutter); bottom: clamp(40px, 7vh, 80px); display: flex; flex-direction: column; gap: 8px; color: var(--color-text); }
.gather-cap .g-en { font-size: clamp(48px, 6vw, 96px); }
.gather-t { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h2); }


.sec { padding-block: var(--sec-pad); position: relative; }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-en { font-family: var(--font-en); font-size: clamp(52px, 7vw, 116px); line-height: .95; color: var(--color-main-ink); }
.paper .sec-en { color: var(--color-main); }
.sec-h2 { font-size: var(--fs-h2); margin-top: 12px; display: flex; align-items: flex-start; gap: 16px; }
.sec-h2::before { content: ""; width: 34px; height: 2px; margin-top: .75em; background: var(--color-accent); flex: none; }
.paper .sec-h2::before { background: var(--color-main); }
.sec-lead { margin-top: 18px; max-width: 42em; }
.sec-act { margin-top: clamp(32px, 4vw, 56px); }


.w-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 2.4vw, 36px) clamp(16px, 1.8vw, 28px); }
.w-main { grid-column: 1 / -1; }
.w-main > a { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: end; }
.w-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-ba .ph { aspect-ratio: 4 / 3.4; }
.w-card .ph { aspect-ratio: 4 / 3; }
.w-ba-tag { position: absolute; left: 12px; top: 12px; background: var(--color-bg); color: var(--color-text); font-size: 15px; font-weight: 700; padding: 2px 12px; border-radius: var(--radius); }
.w-ba-tag.is-after { background: var(--color-accent); color: var(--color-on-accent); }
.w-body { padding-top: 18px; }
.w-meta { display: flex; gap: 14px; font-size: 15px; color: var(--color-main-ink); }
.w-meta span { border: 1px solid currentColor; padding: 0 10px; border-radius: var(--radius); }
.w-h { font-size: var(--fs-h4); margin-top: 8px; }
.w-main .w-h { font-size: var(--fs-h3); }
.w-ex { font-size: var(--fs-card); margin-top: 8px; line-height: 1.85; }


.company-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.ph-tall { aspect-ratio: 3 / 4; }
.company-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.tbl { border-top: 2px solid currentColor; }
.tbl th, .tbl td { padding: 18px 8px; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); text-align: left; vertical-align: top; }
.tbl th { width: 9em; font-family: var(--font-heading); font-weight: 700; }
.company .map-dummy { margin-top: 32px; }


.faq-in { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--color-line); }


.cta { padding-bottom: var(--sec-pad); }
.cta-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 3.4vw, 56px); align-items: center; background: var(--color-main); border-radius: var(--radius-card); padding: clamp(32px, 4vw, 64px); position: relative; overflow: hidden; }
.cta-icon { width: clamp(96px, 9vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--color-paper); color: var(--color-bg); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: clamp(40px, 4vw, 60px); }
.cta-bubble { display: inline-block; position: relative; background: var(--color-paper); color: var(--color-bg); font-weight: 700; font-size: 16px; padding: 6px 16px; border-radius: var(--radius); }
.cta-bubble::before { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; background: inherit; transform: translateY(-50%) rotate(45deg); }
.cta-main .sec-h2 { margin-top: 14px; }
.cta-main .sec-h2::before { background: var(--color-accent); }
.cta-main .lead { margin-top: 14px; }
.cta-act { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; max-width: 360px; }
.cta-tel { font-size: 30px; font-weight: 700; margin-top: 6px; }


.ft { border-top: 1px solid var(--color-line); padding: 64px 0 32px; }
.ft-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.ft-brand .logo-ja { font-size: 26px; }
.ft-note { font-size: 15px; opacity: .85; }
.ft-tel { font-size: 26px; font-weight: 700; margin-top: 10px; }
.ft-nav { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 36px; align-content: start; }
.ft-nav a { font-size: 16px; }
.ft-nav a:hover { color: var(--color-accent); }
.ft-copy { margin-top: 48px; font-size: 15px; opacity: .7; }


.sub { padding-top: calc(var(--header-h) + 40px); }
.sub-wrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 4.4vw, 88px); align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; gap: 28px; }
.toc-t { font-family: var(--font-en); font-size: 28px; color: var(--color-main-ink); line-height: 1; }
.toc-t small { display: block; font-family: var(--font-body); font-size: 15px; color: var(--color-text); margin-top: 8px; letter-spacing: .1em; }
.toc ol { margin-top: 14px; border-top: 1px solid var(--color-line); }
.toc a { display: flex; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--color-line); font-size: 16px; line-height: 1.6; transition: color .3s, padding .3s var(--ease-out); }
.toc a::before { content: ""; width: 8px; height: 8px; margin-top: .62em; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transition: background .3s; }
.toc a:hover, .toc a.is-cur { color: var(--color-accent); padding-left: 8px; }
.toc a.is-cur::before { background: currentColor; }
.side-cta { padding: 22px; border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 12px; }
.side-cta-t { font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.5; }
.side-cta .btn { width: 100%; padding: 0 16px; min-height: 56px; font-size: 16px; }
.side-tel { font-size: 24px; font-weight: 700; }
.side-cta p.small { font-size: 15px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; }
.crumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumb a { color: var(--color-main-ink); }
.page-head { margin: 22px 0 32px; }
.page-en { font-family: var(--font-en); font-size: clamp(56px, 8vw, 136px); line-height: .95; color: var(--color-main-ink); }
.page-h1 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.5; margin-top: 18px; }
.page-hero { aspect-ratio: 21 / 9; }
.entry { padding-block: clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--color-line); display: flex; flex-direction: column; gap: 24px; }
.entry:last-child { border-bottom: 0; }
.entry-ph { aspect-ratio: 16 / 8; }
.entry .sec-h2 { margin-top: 0; }
.entry-no { font-family: var(--font-en); font-size: 22px; color: var(--color-accent); letter-spacing: .14em; }
.entry-txt { max-width: 46em; }
.entry h3 { font-size: var(--fs-h3); padding-left: 18px; border-left: 4px solid var(--color-accent); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); }
.checks svg { width: 26px; flex: none; color: var(--color-accent); margin-top: 4px; }
.tbl-box { padding: clamp(20px, 3vw, 44px); border-radius: var(--radius-card); }
.p-tbl { min-width: 520px; }
.p-tbl th, .p-tbl td { padding: 18px 14px; border-bottom: 1px solid color-mix(in srgb, var(--color-bg) 20%, transparent); text-align: left; }
.p-tbl thead th { font-family: var(--font-heading); border-bottom: 2px solid var(--color-bg); font-size: 16px; }
.p-tbl tbody th { font-weight: 500; }
.p-tbl td { text-align: right; font-weight: 700; white-space: nowrap; }
.p-tbl tr.is-free td { color: var(--color-main); }
.tbl-note { margin-top: 18px; font-size: 16px; }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini li { padding: 22px; border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-surface); display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-card); }
.mini.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini b { font-family: var(--font-heading); font-size: var(--fs-h4); }
.mini .big { font-size: 34px; font-weight: 700; color: var(--color-accent); line-height: 1.2; }
.sub-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sub-works .ph { aspect-ratio: 4 / 3; }
.sub-works h4 { font-size: 19px; margin-top: 12px; }
.sub-works p { font-size: 16px; }
.entry-cta { padding: clamp(28px, 3.6vw, 56px); border-radius: var(--radius-card); background: var(--color-main); display: flex; flex-direction: column; gap: 20px; margin-block: clamp(40px, 5vw, 72px); }
.entry-cta .btn-row .btn { width: 380px; }
.entry-cta .btn-secondary:hover { color: var(--color-main); }
.sub-last { padding-bottom: var(--sec-pad); }


@media (max-width: 1100px) {
  .c4 { grid-column: span 6; } .c5, .c7, .c8, .c12 { grid-column: span 12; }
  .r2 { grid-row: auto; }
  .g-flow { grid-template-columns: 1fr 1fr; }
  .g-flow-ph { display: none; }
  .w-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-main > a { grid-template-columns: 1fr; }
  .company-in, .faq-in { grid-template-columns: 1fr; }
  .company-photo { position: static; max-width: 480px; }
  .cta-band { grid-template-columns: auto minmax(0, 1fr); }
  .cta-act { grid-column: 1 / -1; max-width: none; }
  .sub-wrap { grid-template-columns: 230px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .sub-wrap { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { border: 1px solid var(--color-line); border-radius: var(--radius); padding: 6px 12px; }
  .toc a:hover, .toc a.is-cur { padding-left: 12px; }
  .toc a::before { display: none; }
  .side-cta { display: none; }
  .checks, .sub-works, .mini { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .c4 { grid-column: span 12; }
  .g-side { flex-direction: column; }
  .g-side .ph { width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
  .g-flow { grid-template-columns: 1fr; }
  .w-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-icon { width: 84px; font-size: 36px; }
  .ft-nav { grid-template-columns: repeat(2, auto); }
  .tbl th { width: 6.5em; }
  .tbl th, .tbl td { padding: 14px 4px; font-size: 16px; }
  .page-hero { aspect-ratio: 16 / 10; }
  .entry-ph { aspect-ratio: 16 / 10; }
  .entry-cta .btn-row .btn { width: 100%; }
  .p-tbl { min-width: 0; }
  .p-tbl th, .p-tbl td { padding: 14px 8px; font-size: 16px; }
}


.fv-copy { padding: 28px 32px 24px; background: color-mix(in srgb, var(--color-bg) 68%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: var(--radius); border-left: 3px solid var(--color-accent); }
.fv-title .t1 { display: block; }
@media (max-width: 768px) { .fv-copy { padding: 18px 18px 16px; } }
@media (max-width: 768px) {
  .fv-name { top: calc(var(--header-h) + 64px); transform: translate(-50%, 0); }
  .fv-name-ja { writing-mode: horizontal-tb; font-size: 8.4vw; letter-spacing: .12em; white-space: nowrap; }
  .fv-enso { width: 34vw; }
  .fv-name-en, .fv-stroke { display: none; }
  .fv-copy { bottom: 76px; }
}
