@charset "utf-8";
/* =========================================================
   合同会社ranch  corporate site  v2
   白基調・写真主体の日本語コーポレートサイト仕様
   ========================================================= */

:root {
  --ink: #1b1e1c;
  --ink-2: #3a403c;
  --gray: #6d7570;
  --line: #e2e6e3;
  --bg: #ffffff;
  --bg-2: #f4f6f4;
  --green: #14603f;
  --green-d: #0d4a30;
  --green-l: #e7f0eb;

  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 40px);
  --sec: clamp(64px, 9vw, 120px);

  --f: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-en: "Jost", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.22, .68, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f); font-size: 16px; line-height: 1.95;
  font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased;
  overflow-wrap:break-word;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; transition: color .2s var(--ease); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.55; letter-spacing: .02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--pad), 880px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------- header ---------------- */
.hd {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.hd-in { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-en {
  font-family: var(--f-en); font-size: 27px; font-weight: 600;
  letter-spacing: .1em; color: var(--ink); line-height: 1;
}
.logo-en::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); margin-right: 9px;
}
.logo-ja { font-size: 11px; color: var(--gray); letter-spacing: .1em; }

.nav ul { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative; display: inline-block; padding: 8px 0; text-decoration: none;
  color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .05em;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px;
  background: var(--green); transition: .3s var(--ease); transform: translateX(-50%);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .nav-cta { display: none; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; padding: 0; position: relative; border-radius: 4px;
}
.burger span {
  position: absolute; left: 13px; width: 20px; height: 1.5px; background: var(--ink);
  transition: .3s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; font-size: 14.5px; font-weight: 700; letter-spacing: .06em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 999px;
  transition: .28s var(--ease);
}
.btn::after { content: "→"; font-family: var(--f-en); transition: transform .28s var(--ease); }
.btn:hover::after { transform: translateX(5px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: var(--green-l); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-w { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-w:hover { background: rgba(255, 255, 255, .14); }
.hd-in .btn { padding: 12px 24px; font-size: 13.5px; }

.more {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.more::after {
  content: "→"; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--green); border-radius: 50%; color: var(--green);
  font-family: var(--f-en); transition: .28s var(--ease);
}
.more:hover::after { background: var(--green); color: #fff; }

/* ---------------- section shell ---------------- */
.sec { padding-block: var(--sec); }
.sec-gray { background: var(--bg-2); }
.sec-green { background: var(--green); color: #fff; }
.sec-green h2, .sec-green h3 { color: #fff; }

.en {
  font-family: var(--f-en); font-size: 12px; font-weight: 500; letter-spacing: .3em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.sec-green .en { color: rgba(255, 255, 255, .82); }
.sec-title { font-size: clamp(25px, 3.4vw, 38px); letter-spacing: .04em; }
.sec-lead { margin-top: 20px; color: var(--gray); font-size: 15.5px; }
.sec-green .sec-lead { color: rgba(255, 255, 255, .85); }
.sec-head { margin-bottom: clamp(38px, 5vw, 64px); }
.sec-head.center { text-align: center; }
.sec-head.center .sec-lead { max-width: 66ch; margin-inline: auto; }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: min(88vh, 780px); display: grid; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 26, 20, .8) 0%, rgba(8, 26, 20, .52) 55%, rgba(8, 26, 20, .3) 100%);
}

/* ---- hero ambient motion: ピロピロした線ではなく、面で動く光と奥行き ---- */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: .58;
}
.hero::before {
  width: min(44vw, 620px);
  aspect-ratio: 1;
  right: -7%;
  top: -20%;
  background: radial-gradient(circle, rgba(126, 226, 197, .34) 0%, rgba(126, 226, 197, .08) 38%, transparent 70%);
  animation: heroGlowA 11s ease-in-out infinite alternate;
}
.hero::after {
  width: min(34vw, 480px);
  aspect-ratio: 1;
  right: 20%;
  bottom: -30%;
  background: radial-gradient(circle, rgba(255, 216, 122, .24) 0%, rgba(255, 216, 122, .06) 38%, transparent 72%);
  animation: heroGlowB 14s ease-in-out infinite alternate;
}
@keyframes heroGlowA {
  from { transform: translate3d(-4%, 0, 0) scale(.92); opacity: .4; }
  to { transform: translate3d(8%, 8%, 0) scale(1.08); opacity: .72; }
}
@keyframes heroGlowB {
  from { transform: translate3d(0, 4%, 0) scale(.94); opacity: .28; }
  to { transform: translate3d(-12%, -7%, 0) scale(1.12); opacity: .56; }
}

/* ---- hero motion: gimmickyなシェーダーは使わず、写真とコピーの穏やかな動きで奥行きを出す ---- */
@keyframes heroCinematic {
  0% { transform: scale(1.015) translate3d(0, 0, 0); }
  100% { transform: scale(1.055) translate3d(-0.6%, -0.25%, 0); }
}
@keyframes heroIntro {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-media img { animation: heroCinematic 18s ease-in-out infinite alternate; will-change: transform; }
.hero-body > * { opacity: 0; animation: heroIntro .78s var(--ease) forwards; }
.hero-body > .en { animation-delay: .10s; }
.hero-body > h1 { animation-delay: .20s; }
.hero-body > .hero-lead { animation-delay: .34s; }
.hero-body > .hero-btns { animation-delay: .46s; }
.hero-body > .hero-tags { animation-delay: .58s; }

.hero-body { position: relative; z-index: 2; color: #fff; padding-block: clamp(70px, 12vw, 120px); }
.hero .en { color: rgba(255, 255, 255, .85); margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(28px, 4.6vw, 50px); line-height: 1.5; letter-spacing: .04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero h1 em { font-style: normal; color: #ffd97a; }

.hero h1 .hero-line { display: block; }
.issue-title span { display: inline; }
.issue-title span + span::before { content: ""; }

.hero-lead { margin-top: 28px; max-width: 44ch; font-size: 15.5px; color: rgba(255, 255, 255, .92); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .25);
}
.hero-tags li {
  font-size: 12.5px; letter-spacing: .06em; color: #fff;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 6px 15px;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--f-en); font-size: 10.5px; letter-spacing: .28em; color: rgba(255, 255, 255, .8);
  display: grid; justify-items: center; gap: 10px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------- page header (下層) ---------------- */
.ph { position: relative; display: grid; align-items: center; min-height: 310px; overflow: hidden; }
.ph-media { position: absolute; inset: 0; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.ph-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 48, 37, .34) 0%, rgba(5, 48, 37, .18) 38%, rgba(5, 48, 37, .04) 66%, transparent 100%);
}
.ph-body { position: relative; z-index: 1; color: #fff; text-align: left; padding-block: 66px; }
.ph .en { color: rgba(255, 255, 255, .84); }
.ph h1 { font-size: clamp(24px, 3.6vw, 38px); letter-spacing: .06em; }
.ph-lead { margin-top: 18px; color: rgba(255, 255, 255, .9); font-size: 15px; max-width: 50ch; margin-inline: 0; }
.crumb { border-bottom: 1px solid var(--line); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 14px; font-size: 12px; color: var(--gray); }
.crumb a { color: var(--gray); text-decoration: none; }
.crumb a:hover { color: var(--green); }

/* ---------------- issue ---------------- */
.issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.issues li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 22px 18px 54px; font-size: 15px; font-weight: 500;
}
.issues li::before {
  content: "✓"; position: absolute; left: 20px; top: 17px;
  color: var(--green); font-weight: 700;
}

/* ---------------- business ---------------- */
.biz { display: grid; gap: clamp(46px, 6vw, 88px); }
.biz-item { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.biz-item:nth-child(even) .biz-media { order: 2; }
.biz-media { overflow: hidden; border-radius: 8px; }
.biz-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.biz-item:hover .biz-media img { transform: scale(1.04); }
.biz-no {
  display: block; font-family: var(--f-en); font-size: 46px; font-weight: 500;
  line-height: 1; color: var(--green); opacity: .32; margin-bottom: 12px;
}
.biz-body h3 { font-size: clamp(21px, 2.6vw, 28px); margin-bottom: 16px; }
.biz-body p { color: var(--gray); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.chips li {
  font-size: 12px; letter-spacing: .04em; color: var(--green);
  background: var(--green-l); border-radius: 999px; padding: 5px 13px;
}

/* ---------------- reason ---------------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reason { background: #fff; border-radius: 8px; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); }
.reason-no {
  font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .2em;
  color: var(--green); display: block; margin-bottom: 14px;
}
.reason h3 { font-size: 20px; margin-bottom: 14px; }
.reason p { color: var(--gray); font-size: 14.5px; }

/* ---------------- message ---------------- */
.msg { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.msg-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.msg-body p { color: var(--ink-2); font-size: 15.5px; }
.msg-body p + p { margin-top: 20px; }
.msg-sign { margin-top: 32px; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.msg-sign small { display: block; font-weight: 400; font-size: 12.5px; color: var(--gray); letter-spacing: .12em; margin-bottom: 4px; }

/* ---------------- flow ---------------- */
.flow { display: grid; gap: 18px; }
.flow > li {
  display: grid; grid-template-columns: 118px 1fr; gap: 26px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px 30px;
}
.flow-no {
  font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .18em;
  color: #fff; background: var(--green); border-radius: 999px; padding: 6px 0;
  text-align: center; margin-top: 5px;
}
.flow h3 { font-size: 19px; margin-bottom: 10px; }
.flow p { color: var(--gray); font-size: 14.5px; }

/* ---------------- table ---------------- */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 20px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.table th { width: 220px; font-weight: 700; }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--line); }

/* ---------------- faq ---------------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 62px 22px 58px;
  font-size: 15.5px; font-weight: 700; position: relative;
  transition: color .2s var(--ease);
}
.faq summary:hover { color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 22px; top: 20px;
  font-family: var(--f-en); font-weight: 600; color: var(--green); font-size: 17px;
}
.faq summary::after {
  content: ""; position: absolute; right: 26px; top: 32px; width: 14px; height: 1.5px;
  background: var(--ink);
}
.faq summary .plus {
  position: absolute; right: 26px; top: 32px; width: 14px; height: 1.5px;
  background: var(--ink); transform: rotate(90deg); transition: .25s var(--ease);
}
.faq details[open] summary .plus { transform: rotate(0deg); opacity: 0; }
.faq .a {
  padding: 0 30px 26px 58px; color: var(--gray); font-size: 14.5px; position: relative;
  animation: faqReveal .35s var(--ease);
}
.faq .a::before {
  content: "A"; position: absolute; left: 22px; top: 0;
  font-family: var(--f-en); font-weight: 600; color: var(--gray); font-size: 17px;
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-group + .faq-group { margin-top: 52px; }
.faq-group h2 { font-size: 21px; margin-bottom: 22px; padding-left: 14px; border-left: 4px solid var(--green); }

/* ---------------- prose ---------------- */
.lede { font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; line-height: 1.9; margin-bottom: 30px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 20px; }
.prose h3 { font-size: 21px; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green); }
.prose ul { display: grid; gap: 10px; margin-top: 16px; }
.prose ul li { position: relative; padding-left: 26px; font-size: 15px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--green-l); border: 2px solid var(--green);
}

.split { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.side { position: sticky; top: 104px; background: var(--bg-2); border-radius: 8px; padding: 30px; }
.side h3 { font-size: 16px; margin-bottom: 16px; letter-spacing: .06em; }
.side ul { display: grid; gap: 10px; margin-bottom: 26px; }
.side ul a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 5px;
  padding: 12px 16px; font-size: 14px; color: var(--ink); text-decoration: none;
}
.side ul a:hover { border-color: var(--green); color: var(--green); }
.side p { font-size: 13.5px; color: var(--gray); margin-bottom: 18px; }
.side .btn { width: 100%; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px 28px; }
.plan-en { font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--green); }
.plan h3 { font-size: 19px; margin: 12px 0 14px; }
.plan p { font-size: 14px; color: var(--gray); }

.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc-card {
  display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.svc-card:hover { box-shadow: 0 14px 40px rgba(20, 96, 63, .12); transform: translateY(-3px); }
.svc-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-card-body { padding: 28px 30px 32px; }
.svc-card h3 { font-size: 21px; margin: 10px 0 14px; }
.svc-card p { font-size: 14.5px; color: var(--gray); }

/* ---------------- form ---------------- */
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 9px; }
.field label { font-size: 14.5px; font-weight: 700; }
.req { font-size: 11px; color: #fff; background: var(--green); padding: 3px 9px; margin-left: 10px; border-radius: 3px; font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15.5px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 190px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.form-note { font-size: 13px; color: var(--gray); }
.contact-info { background: var(--bg-2); border-radius: 8px; padding: 30px; }
.contact-info dt { font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; color: var(--green); }
.contact-info dd { margin: 4px 0 20px; font-size: 15px; }

/* ---------------- cta ---------------- */
.cta { position: relative; overflow: hidden; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 52%; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: rgba(10, 44, 32, .84); }
.cta-body { position: relative; text-align: center; color: #fff; padding-block: clamp(60px, 8vw, 100px); }
.cta-body h2 { font-size: clamp(23px, 3.2vw, 34px); letter-spacing: .04em; }
.cta-body p { margin: 20px auto 0; max-width: 58ch; color: rgba(255, 255, 255, .88); font-size: 15px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

/* ---------------- visual CTA（握手＋物流写真／左側コピー領域） ---------------- */
.cta-home .cta-media img { object-position: 68% 52%; }
.cta-home .cta-media::after {
  background: linear-gradient(90deg,
    #ffffff 0%, rgba(255, 255, 255, .95) 28%,
    rgba(255, 255, 255, .58) 50%, rgba(255, 255, 255, .12) 70%, transparent 100%);
}
.cta-home .cta-body { text-align: left; color: var(--ink); }
.cta-home .cta-body .en { color: var(--green); }
.cta-home .cta-body h2 { color: var(--ink); max-width: 13em; }
.cta-home .cta-body p { margin: 20px 0 0; color: var(--ink-2); max-width: 42ch; }
.cta-home .cta-btns { justify-content: flex-start; }
.cta-home .btn-white { background: var(--green); color: #fff; }
.cta-home .btn-white:hover { background: var(--green-d); }
.cta-home .btn-outline-w { border-color: var(--ink); color: var(--ink); }
.cta-home .btn-outline-w:hover { background: rgba(20, 30, 25, .06); }

@media (max-width: 820px) {
  .cta-home .cta-media img { object-position: 66% 50%; }
  .cta-home .cta-media::after {
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 58%, rgba(255,255,255,.58) 100%);
  }
}


/* ---------------- motion polish ---------------- */
.sec-head.rv .sec-title::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 16px auto 0;
  background: var(--green);
  transition: width .85s var(--ease) .12s;
}
.sec-head.rv.in .sec-title::after { width: 56px; }
.biz-item.rv .biz-media {
  opacity: .15;
  transform: translateX(-30px) scale(.985);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.biz-item:nth-child(even).rv .biz-media { transform: translateX(30px) scale(.985); }
.biz-item.rv .biz-body {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease) .14s, transform .75s var(--ease) .14s;
}
.biz-item.rv.in .biz-media,
.biz-item.rv.in .biz-body { opacity: 1; transform: none; }
.reason { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.reason:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(20, 96, 63, .10); border-color: rgba(20, 96, 63, .24); }
.cta-media img { animation: heroCinematic 22s ease-in-out infinite alternate; }

/* ---- scroll rhythm: セクション内を一斉表示せず、順番に立ち上げる ---- */
.issues.rv li,
.reasons.rv .reason,
.flow.rv > li,
.faq.rv details {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}
.issues.rv.in li,
.reasons.rv.in .reason,
.flow.rv.in > li,
.faq.rv.in details { opacity: 1; transform: none; }
.issues.rv.in li:nth-child(1), .reasons.rv.in .reason:nth-child(1), .flow.rv.in > li:nth-child(1), .faq.rv.in details:nth-child(1) { transition-delay: .05s; }
.issues.rv.in li:nth-child(2), .reasons.rv.in .reason:nth-child(2), .flow.rv.in > li:nth-child(2), .faq.rv.in details:nth-child(2) { transition-delay: .12s; }
.issues.rv.in li:nth-child(3), .reasons.rv.in .reason:nth-child(3), .flow.rv.in > li:nth-child(3), .faq.rv.in details:nth-child(3) { transition-delay: .19s; }
.issues.rv.in li:nth-child(4), .reasons.rv.in .reason:nth-child(4), .flow.rv.in > li:nth-child(4), .faq.rv.in details:nth-child(4) { transition-delay: .26s; }
.issues.rv.in li:nth-child(5), .flow.rv.in > li:nth-child(5), .faq.rv.in details:nth-child(5) { transition-delay: .33s; }
.issues.rv.in li:nth-child(6), .faq.rv.in details:nth-child(6) { transition-delay: .40s; }
.issues.rv.in li:nth-child(7), .faq.rv.in details:nth-child(7) { transition-delay: .47s; }
.issues.rv.in li:nth-child(8), .faq.rv.in details:nth-child(8) { transition-delay: .54s; }

/* Scroll progress + scrolled header */
.scroll-progress {
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 3px;
  z-index: 200;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--green), #78c9ad, #f0c95f);
  box-shadow: 0 0 10px rgba(20, 96, 63, .24);
}
.hd { transition: box-shadow .35s var(--ease), background .35s var(--ease); }
.hd.is-scrolled { box-shadow: 0 10px 30px rgba(20, 30, 25, .08); background: rgba(255,255,255,.985); }

/* Buttons: hover時だけ光が流れる。常時アニメーションにはしない */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; inset: -40% auto -40% -45%; width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.46), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.btn:hover::before { animation: btnSheen .7s ease; }
@keyframes btnSheen {
  0% { left: -45%; opacity: 0; }
  22% { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

/* ---------------- footer ---------------- */
.ft { background: #141816; color: #a9b2ad; padding-block: 66px 28px; font-size: 13.5px; }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; }
.ft .logo-en { color: #fff; }
.ft .logo-ja { color: #a9b2ad; }
.ft-addr { margin-top: 22px; line-height: 2.1; }
.ft-col h4 { font-family: var(--f-en); font-size: 11px; letter-spacing: .22em; color: #7f8a84; margin-bottom: 18px; font-weight: 500; }
.ft-col ul { display: grid; gap: 12px; }
.ft-col a { color: #d6ddd9; text-decoration: none; }
.ft-col a:hover { color: #fff; }
.ft-bottom {
  margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-family: var(--f-en); font-size: 11px; letter-spacing: .12em; color: #7f8a84;
}

/* ---------------- reveal ---------------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
  .biz-item, .msg, .split { grid-template-columns: 1fr; }
  .biz-item:nth-child(even) .biz-media { order: 0; }
  .side { position: static; }
  .plans, .svc-cards { grid-template-columns: 1fr; }
  .hero-media img { object-position: 38% 50%; }
  .msg-media {
    width: min(100%, 420px);
    margin-inline: auto;
  }
  .msg-media img {
    aspect-ratio: 4 / 5;
    object-position: 50% 18%;
  }
}

@media (max-width: 820px) {
  .burger { display: block; order: 3; }
  .hd-in > .btn { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: 78px; background: #fff; display: none;
    border-bottom: 1px solid var(--line); padding: 6px 0 26px;
    max-height: calc(100vh - 78px); overflow: auto;
  }
  body.nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 40px, 1160px); margin-inline: auto; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; padding: 17px 4px; font-size: 15px; }
  .nav a::after { display: none; }
  .nav .nav-cta { display: block; border: 0; margin-top: 20px; }
  .nav .nav-cta a { background: var(--green); color: #fff; text-align: center; border-radius: 999px; font-weight: 700; }
  .issues, .reasons { grid-template-columns: 1fr; }
  .flow > li { grid-template-columns: 1fr; gap: 12px; }
  .flow-no { width: 108px; }
  .table th, .table td { display: block; width: auto; padding-inline: 0; }
  .table th { border-bottom: 0; padding-bottom: 0; }
  .table tr:first-child td { border-top: 0; }
  .ft-grid { grid-template-columns: 1fr; gap: 34px; }

  /* Mobile Hero: 横長画像を無理に切らず、画像とコピーを分離して主役を全部見せる */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #0b3428;
  }
  .hero-media {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    aspect-ratio: 1728 / 879;
    background: #dce7e3;
    overflow: hidden;
  }
  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    animation-duration: 24s;
  }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(8,26,20,.02), rgba(8,26,20,.14));
  }
  .hero-body {
    order: 2;
    width: 100%;
    padding-block: 38px 44px;
  }
  .hero .en { margin-bottom: 16px; font-size: 10.5px; letter-spacing: .24em; }
  .hero h1 {
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.34;
    letter-spacing: .02em;
  }
  .hero h1 .hero-line { white-space: nowrap; }
  .issue-title span { display: block; }
  .issue-title { font-size: clamp(24px, 6.8vw, 30px); line-height: 1.42; }
  .hero::before { width: 74vw; right: -28%; top: 34%; opacity: .42; filter: blur(24px); }
  .hero::after { width: 64vw; right: 30%; bottom: -14%; opacity: .32; filter: blur(26px); }
  .hero-lead { margin-top: 20px; max-width: 34ch; font-size: 14.2px; line-height: 1.85; }
  .hero-btns { margin-top: 28px; gap: 10px; }
  .hero-btns .btn { width: 100%; }
  .hero-tags { margin-top: 28px; padding-top: 18px; gap: 7px; }
  .hero-tags li { font-size: 10.8px; padding: 5px 10px; }
  .scroll-cue { display: none; }

  .ph { min-height: 280px; }
  .ph-media img { object-position: 66% 50%; }
  .ph-media::after { background: linear-gradient(90deg, rgba(5, 48, 37, .66) 0%, rgba(5, 48, 37, .48) 48%, rgba(5, 48, 37, .18) 100%); }
  .ph-body { padding-block: 52px; }
  .ph-lead { max-width: 38ch; }

  .msg-media { width: min(100%, 340px); }
  .msg-media img { aspect-ratio: 4 / 5; object-position: 50% 18%; }

  .biz-item.rv .biz-media,
  .biz-item:nth-child(even).rv .biz-media { transform: translateY(18px) scale(.985); }
  .reason:hover { transform: none; box-shadow: none; }

  .cta-home .cta-media img { object-position: 64% 50%; }
  .cta-home .cta-body h2 { max-width: 11em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print { .hd, .cta, .burger, .scroll-cue { display: none; } }


/* ================================================================
   v4 responsive / motion polish
   - gimmicky shader effects are intentionally not used
   - Hero uses a restrained 3-image crossfade
   - mobile hero separates image and copy so key subjects stay visible
   - subpage header uses a mobile-specific art-directed crop
   ================================================================ */

/* Remove the previous ambient pseudo-light/shader treatment. */
.hero::before,
.hero::after { display: none !important; }

/* Give sections more visual rhythm without decorative gimmicks. */
.biz-item .biz-media { position: relative; }
.biz-item .biz-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 45%, rgba(255,255,255,.18) 52%, transparent 60%);
  transform: translateX(-115%);
  transition: transform 1.15s var(--ease);
  pointer-events: none;
}
.biz-item.rv.in .biz-media::after { transform: translateX(115%); }
.biz-item.rv.in .biz-media img { animation: sectionImageBreath 10s ease-in-out infinite alternate; }
@keyframes sectionImageBreath {
  from { transform: scale(1.005); }
  to { transform: scale(1.035); }
}
.reason:nth-child(odd) { transform-origin: left center; }
.reason:nth-child(even) { transform-origin: right center; }

/* CTA: make the photographic layer feel alive, but never distract from copy. */
.cta-media img { animation: ctaBreath 16s ease-in-out infinite alternate; }
@keyframes ctaBreath {
  from { transform: scale(1.01); }
  to { transform: scale(1.045); }
}

/* Smartphone: subpage header and business-card motion tuning.
   (The pre-v7 hero grid-split layout that used to live in this block was
   removed — .hero-motion below is the only hero layout now in effect.) */
@media (max-width: 820px) {
  /* Subpage header: use a dedicated mobile crop where the glass globe is fully in frame. */
  .ph { min-height: 300px; }
  .ph-media::after {
    background: linear-gradient(90deg, rgba(5,48,37,.78) 0%, rgba(5,48,37,.58) 46%, rgba(5,48,37,.22) 100%);
  }
  .ph-body { padding-block: 52px; }

  /* Keep mobile movement visible but calm. */
  .biz-item.rv .biz-media,
  .biz-item:nth-child(even).rv .biz-media {
    transform: translateY(20px) scale(.99);
  }
  .biz-item.rv.in .biz-media { transform: none; }
  .biz-item.rv.in .biz-media img { animation-duration: 12s; }
  .reason:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-media img,
  .biz-item.rv.in .biz-media img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* v4.1: mobile subpage header art direction (robust background swap) */
@media (max-width: 820px) {
  .ph-media {
    background: url('../img/subpage-header-mobile-v1.jpg') center center / cover no-repeat;
  }
  .ph-media img { display: none; }
}


/* ================================================================
   v5 motion direction — editorial / corporate motion
   One strong hero image + animated typography and graphic accents.
   No WebGL shader. Motion is intentionally readable, not decorative noise.
   ================================================================ */

/* Better Japanese line wrapping */
h1, h2, h3, .sec-lead, .ph-lead, .biz-body p, .msg-body p {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: pretty;
}
.issue-title { text-wrap: balance; }

/* Hero background movement: one coherent key visual. */
.hero-motion { --mx: 0px; --my: 0px; }
.hero-motion .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.035) translate3d(calc(var(--mx) * -.16), calc(var(--my) * -.16), 0);
  animation: heroPhotoDrift 16s ease-in-out infinite alternate;
  transition: transform .7s var(--ease);
  will-change: transform;
}
@keyframes heroPhotoDrift {
  from { transform: scale(1.035) translate3d(calc(var(--mx) * -.16), calc(var(--my) * -.16), 0); }
  to   { transform: scale(1.075) translate3d(calc(var(--mx) * -.16 - 10px), calc(var(--my) * -.16 - 4px), 0); }
}
.hero-motion .hero-media::after {
  background:
    linear-gradient(100deg, rgba(6,28,21,.88) 0%, rgba(6,28,21,.62) 48%, rgba(6,28,21,.24) 76%, rgba(6,28,21,.08) 100%);
}

/* NSK-like editorial accents: lines/crosses move independently from the photo. */
.hero-deco { position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; }
.hero-deco-line { position:absolute; display:block; background:rgba(255,255,255,.52); transform-origin:left center; }
.hero-deco-line-a { width:190px; height:1px; right:7%; top:23%; animation:heroLineDraw 1.25s .85s var(--ease) both; }
.hero-deco-line-b { width:1px; height:118px; right:11%; top:18%; animation:heroLineDrawY 1.15s 1.05s var(--ease) both; }
.hero-deco-cross { position:absolute; color:rgba(255,255,255,.8); font:400 24px/1 var(--f-en); animation:heroCrossFloat 5.6s ease-in-out infinite; }
.hero-deco-cross-a { right:6.6%; top:20.5%; }
.hero-deco-cross-b { right:23%; bottom:18%; animation-delay:1.8s; font-size:17px; opacity:.7; }
.hero-deco-dot { position:absolute; right:18%; top:32%; width:7px; height:7px; border-radius:50%; background:#ffd97a; box-shadow:0 0 0 7px rgba(255,217,122,.12); animation:heroDotPulse 2.8s ease-in-out infinite; }
@keyframes heroLineDraw { from{transform:scaleX(0);opacity:0} to{transform:scaleX(1);opacity:1} }
@keyframes heroLineDrawY { from{transform:scaleY(0);opacity:0} to{transform:scaleY(1);opacity:1} }
@keyframes heroCrossFloat { 0%,100%{transform:translateY(0) rotate(0);opacity:.45} 50%{transform:translateY(-9px) rotate(45deg);opacity:1} }
@keyframes heroDotPulse { 0%,100%{transform:scale(.85);opacity:.55} 50%{transform:scale(1.18);opacity:1} }

/* Hero text: mask reveal rather than forced gimmicky movement. */
.hero-kicker { opacity:0; transform:translateY(12px); animation:heroKickerIn .7s .18s var(--ease) forwards; }
.hero-title-line { display:block; overflow:hidden; padding-bottom:.05em; }
.hero-title-line > span { display:block; transform:translateY(112%); animation:heroTitleIn .9s var(--ease) forwards; }
.hero-title-line:nth-child(1) > span { animation-delay:.38s; }
.hero-title-line:nth-child(2) > span { animation-delay:.58s; }
.hero-lead-motion { opacity:0; transform:translateY(18px); animation:heroTextIn .8s .88s var(--ease) forwards; }
.hero-btns-motion { opacity:0; transform:translateY(18px); animation:heroTextIn .8s 1.05s var(--ease) forwards; }
.hero-tags-motion { opacity:0; transform:translateY(12px); animation:heroTextIn .8s 1.18s var(--ease) forwards; }
@keyframes heroKickerIn { to{opacity:1;transform:none;letter-spacing:.32em} }
@keyframes heroTitleIn { to{transform:none} }
@keyframes heroTextIn { to{opacity:1;transform:none} }

/* Section headings get a drawn rule and staggered reveal. */
.sec-head.rv .en,
.sec-head.rv .sec-title,
.sec-head.rv .sec-lead { opacity:0; transform:translateY(18px); }
.sec-head.rv .sec-title { position:relative; display:inline-block; }
.sec-head.rv .sec-title::after {
  content:""; position:absolute; left:50%; bottom:-13px; width:44px; height:2px;
  background:var(--green); transform:translateX(-50%) scaleX(0); transform-origin:center;
}
.sec-head.rv.in .en { animation:secTextIn .55s .02s var(--ease) forwards; }
.sec-head.rv.in .sec-title { animation:secTextIn .65s .12s var(--ease) forwards; }
.sec-head.rv.in .sec-title::after { animation:secRuleIn .75s .32s var(--ease) forwards; }
.sec-head.rv.in .sec-lead { animation:secTextIn .65s .26s var(--ease) forwards; }
@keyframes secTextIn { to{opacity:1;transform:none} }
@keyframes secRuleIn { to{transform:translateX(-50%) scaleX(1)} }

/* Business section: image wipe + alternating text motion + staggered metadata. */
.biz-item.rv { opacity:1; transform:none; }
.biz-item.rv .biz-media { clip-path:inset(0 100% 0 0); transform:translateX(-22px); transition:clip-path 1.05s var(--ease), transform 1.05s var(--ease); }
.biz-item:nth-child(even).rv .biz-media { clip-path:inset(0 0 0 100%); transform:translateX(22px); }
.biz-item.rv .biz-body > * { opacity:0; transform:translateY(18px); transition:opacity .62s var(--ease), transform .62s var(--ease); }
.biz-item.rv.in .biz-media { clip-path:inset(0); transform:none; }
.biz-item.rv.in .biz-body > * { opacity:1; transform:none; }
.biz-item.rv.in .biz-no { transition-delay:.16s; }
.biz-item.rv.in .biz-body h3 { transition-delay:.24s; }
.biz-item.rv.in .biz-body p { transition-delay:.32s; }
.biz-item.rv.in .chips { transition-delay:.40s; }
.biz-item.rv.in .more { transition-delay:.48s; }
.biz-no { position:relative; }
.biz-no::after { content:""; display:inline-block; width:0; height:1px; margin-left:14px; vertical-align:middle; background:rgba(20,96,63,.45); transition:width .7s .35s var(--ease); }
.biz-item.rv.in .biz-no::after { width:56px; }
.biz-item .chips li { transform:translateY(5px); transition:transform .35s var(--ease), background .25s var(--ease); }
.biz-item.rv.in .chips li { transform:none; }
.biz-item.rv.in .chips li:nth-child(2){transition-delay:.05s}.biz-item.rv.in .chips li:nth-child(3){transition-delay:.1s}.biz-item.rv.in .chips li:nth-child(4){transition-delay:.15s}.biz-item.rv.in .chips li:nth-child(5){transition-delay:.2s}

/* Issues/reasons: stagger instead of all appearing as one block. */
.issues.rv.in li, .reasons.rv.in .reason { animation:cardRise .55s var(--ease) both; }
.issues.rv.in li:nth-child(2),.reasons.rv.in .reason:nth-child(2){animation-delay:.06s}
.issues.rv.in li:nth-child(3),.reasons.rv.in .reason:nth-child(3){animation-delay:.12s}
.issues.rv.in li:nth-child(4),.reasons.rv.in .reason:nth-child(4){animation-delay:.18s}
.issues.rv.in li:nth-child(5){animation-delay:.24s}.issues.rv.in li:nth-child(6){animation-delay:.30s}.issues.rv.in li:nth-child(7){animation-delay:.36s}.issues.rv.in li:nth-child(8){animation-delay:.42s}
@keyframes cardRise { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none} }

/* Mobile subpage art direction: keep the glass globe fully inside the visual. */
@media (max-width:820px) {
  .ph-media {
    background-color:#0e4338;
    background-image:url('../img/subpage-header-mobile-v2.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:auto 100%;
  }
  .ph-media img { display:none !important; }
  .ph-media::after { background:linear-gradient(90deg, rgba(5,48,37,.82) 0%, rgba(5,48,37,.58) 47%, rgba(5,48,37,.16) 100%); }

  .hero-motion { display:grid; grid-template-rows:clamp(225px,61vw,300px) auto; background:#092d23; }
  .hero-motion .hero-media { position:relative; inset:auto; grid-row:1; overflow:hidden; }
  .hero-motion .hero-media img { object-position:39% 50%; animation-duration:18s; }
  .hero-motion .hero-media::after { background:linear-gradient(180deg,rgba(6,28,21,.05),rgba(6,28,21,.16)); }
  .hero-motion .hero-body { grid-row:2; width:100%; margin:0; padding:36px 24px 42px; background:linear-gradient(145deg,#092d23,#0b3a2d); }
  .hero-title-line { display:block; }
  .hero-title-line:nth-child(1) { white-space:nowrap; }
  .hero-title-line:nth-child(2) { white-space:normal; }
  .hero-motion h1 { font-size:clamp(27px,7.6vw,36px); line-height:1.35; }
  .hero-deco { display:none; }

  .sec-head.rv .sec-title { display:block; }
  .sec-head.rv .sec-title::after { left:50%; }
  .biz-item.rv .biz-media,
  .biz-item:nth-child(even).rv .biz-media { clip-path:inset(0 0 100% 0); transform:translateY(18px); }
  .biz-item.rv.in .biz-media { clip-path:inset(0); transform:none; }
}

@media (prefers-reduced-motion:reduce) {
  .hero-motion .hero-media img,
  .hero-kicker,.hero-title-line>span,.hero-lead-motion,.hero-btns-motion,.hero-tags-motion,
  .hero-deco *,.sec-head.rv .en,.sec-head.rv .sec-title,.sec-head.rv .sec-lead,
  .biz-item.rv .biz-media,.biz-item.rv .biz-body>*,.issues.rv.in li,.reasons.rv.in .reason {
    animation:none!important; transition:none!important; transform:none!important; opacity:1!important;
  }
  .biz-item.rv .biz-media { clip-path:inset(0)!important; }
}

/* ================================================================
   v6 final polish — motion hierarchy / responsive typography
   ================================================================ */

.hero-deco { z-index:2; }
.hero-body { z-index:3; }
.hero-deco-word {
  position:absolute; right:-1.5%; bottom:8%;
  font-family:var(--f-en); font-size:clamp(72px, 10vw, 154px); line-height:.8;
  letter-spacing:.13em; color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.12);
  opacity:.72; white-space:nowrap;
  animation:heroWordDrift 12s ease-in-out infinite alternate;
}
@keyframes heroWordDrift {
  from { transform:translate3d(8px,0,0); opacity:.48; }
  to { transform:translate3d(-18px,-7px,0); opacity:.82; }
}

/* More deliberate hero type: no odd Japanese breaks. */
.hero-title { max-width:18em; }
.hero-title-line { white-space:nowrap; }
.hero-title-line:nth-child(2) { margin-top:.08em; }
.hero-title-line em { position:relative; }
.hero-title-line em::after {
  content:""; position:absolute; left:0; right:0; bottom:-.05em; height:2px;
  background:#ffd97a; transform:scaleX(0); transform-origin:left;
  animation:heroEmRule .7s .95s var(--ease) forwards;
}
@keyframes heroEmRule { to { transform:scaleX(1); } }

/* Editorial section rhythm */
.sec-head .en { position:relative; display:inline-flex; align-items:center; gap:11px; }
.sec-head .en::before {
  content:""; width:0; height:1px; background:currentColor; opacity:.65;
  transition:width .65s .1s var(--ease);
}
.sec-head.rv.in .en::before { width:28px; }

/* Business storytelling: text staggers and a fine baseline extends. */
.biz-body h3 { position:relative; display:inline-block; }
.biz-body h3::after {
  content:""; position:absolute; left:0; bottom:-8px; width:0; height:1px;
  background:rgba(20,96,63,.34); transition:width .75s .34s var(--ease);
}
.biz-item.rv.in .biz-body h3::after { width:100%; }
.biz-item .more { opacity:.88; }
.biz-item.rv.in .more { opacity:1; }

/* Calm hover feedback across desktop, without making mobile jump. */
@media (hover:hover) {
  .biz-item:hover .biz-media { transform:translateY(-4px); }
  .biz-item:hover .biz-media img { transform:scale(1.045); }
  .reason { transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
  .reason:hover { transform:translateY(-6px); box-shadow:0 16px 38px rgba(20,96,63,.10); border-color:rgba(20,96,63,.18); }
  .btn { position:relative; overflow:hidden; }
  .btn::before {
    content:""; position:absolute; inset:0; background:rgba(255,255,255,.16);
    transform:translateX(-110%) skewX(-18deg); transition:transform .55s var(--ease);
  }
  .btn:hover::before { transform:translateX(110%) skewX(-18deg); }
}

/* Better text wrapping for Japanese body copy and headings. */
.hero-lead, .sec-lead, .ph-lead, .biz-body p, .msg-body p, .reason p, .flow p, .faq .a {
  line-break:strict; overflow-wrap:break-word; word-break:normal;
}
.sec-title, .biz-body h3, .reason h3, .flow h3, .faq-group h2 { text-wrap:balance; }

/* Tablet art direction */
@media (max-width:1000px) and (min-width:821px) {
  .hero-title { max-width:16em; }
  .hero-title-line { white-space:normal; }
  .hero-motion .hero-media img { object-position:42% 50%; }
  .hero-deco-word { right:-8%; bottom:11%; font-size:clamp(78px,12vw,118px); }
  .ph-media img { object-position:62% 50%; }
}

/* Smartphone: show the key visual cleanly, then copy. */
@media (max-width:820px) {
  .hero-deco { display:none; }
  .hero-title { max-width:none; }
  .hero-title-line { white-space:nowrap !important; }
  .hero-motion h1 { font-size:clamp(24px,6.7vw,31px); line-height:1.42; letter-spacing:.015em; }
  .hero-motion .hero-media img { object-position:36% 50%; transform-origin:center center; }
  .hero-motion .hero-body { padding:32px 22px 40px; }
  .hero .en { letter-spacing:.20em; font-size:10px; }
  .hero-lead { font-size:14px; line-height:1.82; }

  /* mobile subpage header: keep globe fully inside, preserve title legibility */
  .ph { min-height:310px; }
  .ph-media {
    background-size:cover;
    background-position:center center;
  }
  .ph-media::after {
    background:linear-gradient(90deg, rgba(5,48,37,.86) 0%, rgba(5,48,37,.64) 48%, rgba(5,48,37,.22) 100%);
  }
  .ph-body { padding-block:48px; }
  .ph h1 { font-size:clamp(28px,8vw,36px); line-height:1.25; }
  .ph-lead { font-size:14px; line-height:1.85; max-width:24em; }

  .biz-body h3::after { bottom:-7px; }
  .sec-head .en::before { width:20px; }
}

@media (max-width:390px) {
  .hero-motion h1 { font-size:23.5px; }
  .hero-motion .hero-body { padding-inline:20px; }
}

@media (prefers-reduced-motion:reduce) {
  .hero-deco-word, .hero-title-line em::after { animation:none!important; transform:none!important; }
}

/* ================================================================
   v7 final motion system — connected commerce / NSK-inspired rhythm
   ================================================================ */
html, body { max-width: 100%; overflow-x: clip; }

/* Hero: three dedicated key visuals, slow cross-fade, readable motion. */
.hero-motion .hero-media { background:#0a2f24; }
.hero-motion .hero-media .hero-slide {
  display:block !important;
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; opacity:0; transform:scale(1.02);
  transition:opacity 1.35s ease, transform 7.2s ease;
  animation:none !important; will-change:opacity,transform;
}
.hero-motion .hero-media .hero-slide.is-active { opacity:1; transform:scale(1.075); }
.hero-motion .hero-media .hero-slide:nth-child(1) { object-position:50% 50%; }
.hero-motion .hero-media .hero-slide:nth-child(2) { object-position:55% 50%; }
.hero-motion .hero-media .hero-slide:nth-child(3) { object-position:58% 50%; }
.hero-motion .hero-media::after {
  background:linear-gradient(100deg,rgba(5,29,21,.90) 0%,rgba(5,29,21,.66) 44%,rgba(5,29,21,.28) 72%,rgba(5,29,21,.10) 100%);
}
.hero-slide-dots {
  display:flex !important; position:absolute; z-index:6;
  right:max(24px,calc((100vw - 1160px)/2)); bottom:28px;
  align-items:center; gap:8px;
}
.hero-slide-dots button {
  width:9px; height:9px; padding:0; border-radius:999px;
  border:1px solid rgba(255,255,255,.82); background:rgba(255,255,255,.18);
  transition:width .4s var(--ease),background .4s var(--ease); cursor:pointer;
}
.hero-slide-dots button.is-active { width:34px; background:#fff; }

/* Hero typography replays softly on every visual transition. */
.hero-kicker,.hero-scene-label,.hero-title-line>span,.hero-lead-motion,.hero-btns-motion,.hero-tags-motion {
  animation:none !important; opacity:1; transform:none;
}
.hero-scene-label {
  display:flex; align-items:center; gap:12px; margin:0 0 14px;
  font-family:var(--f-en); font-size:11px; letter-spacing:.20em; color:rgba(255,255,255,.78);
}
.hero-scene-label span {
  display:grid; place-items:center; width:30px; height:30px; border:1px solid rgba(255,255,255,.40); border-radius:50%;
  color:#ffd97a; letter-spacing:0; font-size:10px;
}
.hero-cycle .hero-kicker { animation:v7Rise .58s .02s var(--ease) both !important; }
.hero-cycle .hero-scene-label { animation:v7Rise .58s .10s var(--ease) both !important; }
.hero-cycle .hero-title-line:nth-child(1)>span { animation:v7Mask .78s .18s var(--ease) both !important; }
.hero-cycle .hero-title-line:nth-child(2)>span { animation:v7Mask .82s .30s var(--ease) both !important; }
.hero-cycle .hero-lead-motion { animation:v7Rise .70s .44s var(--ease) both !important; }
.hero-cycle .hero-btns-motion { animation:v7Rise .70s .54s var(--ease) both !important; }
.hero-cycle .hero-tags-motion { animation:v7Rise .70s .64s var(--ease) both !important; }
@keyframes v7Rise { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
@keyframes v7Mask { from{opacity:0;transform:translateY(105%)} to{opacity:1;transform:none} }

/* Replace short underlines with cleaner editorial hierarchy. */
.sec-head.rv .sec-title::after,
.biz-no::after,
.biz-body h3::after { display:none !important; }
.sec-head .en::before {
  width:6px !important; height:6px !important; border-radius:50%; background:currentColor !important;
  opacity:.82 !important; transition:none !important;
}
.sec-head.rv.in .en::before { width:6px !important; }
.biz-no { font-size:52px; letter-spacing:-.02em; opacity:.26; }
.biz-body h3 { display:block; }

/* Business: connected flow behind alternating stories. */
.biz { position:relative; }
.biz::before {
  content:""; position:absolute; z-index:0; left:50%; top:22px; bottom:22px; width:1px;
  background:repeating-linear-gradient(to bottom,rgba(20,96,63,.20) 0 7px,transparent 7px 17px);
  animation:bizRoute 9s linear infinite;
}
.biz::after {
  content:""; position:absolute; z-index:0; left:calc(50% - 4px); top:2%; width:9px; height:9px; border-radius:50%;
  background:#78c9ad; box-shadow:0 0 0 7px rgba(120,201,173,.12); animation:bizRouteNode 10s ease-in-out infinite;
}
.biz-item { position:relative; z-index:1; }
@keyframes bizRoute { to { background-position:0 170px; } }
@keyframes bizRouteNode { 0%,100%{top:2%;opacity:.25} 50%{top:96%;opacity:.9} }

/* Keep the image/text storytelling, but remove the flash-line sweep. */
.biz-item .biz-media::after { display:none !important; }
.biz-item.rv .biz-media { box-shadow:0 22px 55px rgba(16,55,41,.08); }
.biz-item.rv.in .biz-media img { animation:sectionImageBreath 12s ease-in-out infinite alternate; }

/* More dimensional section rhythm. */
#business { position:relative; overflow:hidden; }
#business::before {
  content:"CONNECTED WORKFLOW"; position:absolute; right:-.03em; top:3.5%;
  font-family:var(--f-en); font-size:clamp(64px,10vw,150px); letter-spacing:.08em; line-height:1;
  color:transparent; -webkit-text-stroke:1px rgba(20,96,63,.055); white-space:nowrap; pointer-events:none;
}
.issues li,.reason,.flow>li { transition:transform .38s var(--ease),box-shadow .38s var(--ease),border-color .38s var(--ease); }
@media (hover:hover) {
  .issues li:hover,.flow>li:hover { transform:translateY(-4px); box-shadow:0 14px 32px rgba(20,96,63,.08); border-color:rgba(20,96,63,.18); }
}

/* Tablet */
@media (max-width:1000px) and (min-width:821px) {
  .hero-slide-dots { right:24px; }
  .hero-motion .hero-media .hero-slide:nth-child(1){object-position:42% 50%}
  .hero-motion .hero-media .hero-slide:nth-child(2){object-position:58% 50%}
  .hero-motion .hero-media .hero-slide:nth-child(3){object-position:62% 50%}
}

/* Smartphone */
@media (max-width:820px) {
  body { width:100%; overflow-x:clip; }
  .hero-motion { display:grid; grid-template-rows:clamp(230px,61vw,300px) auto; min-height:0; }
  .hero-motion .hero-media { position:relative; inset:auto; grid-row:1; width:100%; height:100%; }
  .hero-motion .hero-media .hero-slide { object-fit:cover; transform:scale(1.01); }
  .hero-motion .hero-media .hero-slide.is-active { transform:scale(1.055); }
  .hero-motion .hero-media .hero-slide:nth-child(1){object-position:36% 50%}
  .hero-motion .hero-media .hero-slide:nth-child(2){object-position:61% 50%}
  .hero-motion .hero-media .hero-slide:nth-child(3){object-position:67% 50%}
  .hero-motion .hero-media::after { background:linear-gradient(180deg,rgba(4,26,19,.04),rgba(4,26,19,.28)); }
  .hero-deco { display:none !important; }
  .hero-slide-dots { right:18px; top:calc(clamp(230px,61vw,300px) - 28px); bottom:auto; }
  .hero-motion .hero-body { grid-row:2; width:100%; padding:30px 20px 40px; background:linear-gradient(145deg,#092d23,#0b3a2d); }
  .hero-title-line { white-space:normal !important; }
  .hero-title-line:nth-child(1)>span { white-space:nowrap; }
  .hero-motion h1 { font-size:clamp(26px,7vw,31px); line-height:1.40; max-width:100%; }
  .hero-scene-label { font-size:9.5px; letter-spacing:.14em; margin-bottom:12px; }
  .hero-scene-label span { width:26px; height:26px; }
  .hero-lead { max-width:none; overflow-wrap:normal; }

  .biz::before,.biz::after { display:none; }
  #business::before { font-size:66px; top:1.2%; right:-38%; }

  /* Keep the complete glass globe inside the mobile header instead of cropping it at the right edge. */
  .ph-media {
    background-image:url('../img/subpage-header-mobile-v2.jpg') !important;
    background-repeat:no-repeat !important;
    background-size:auto 94% !important;
    background-position:56% center !important;
    background-color:#0e4338 !important;
  }
  .ph-media::after { background:linear-gradient(90deg,rgba(5,48,37,.88) 0%,rgba(5,48,37,.60) 46%,rgba(5,48,37,.14) 100%) !important; }
}

@media (max-width:390px) {
  .hero-title-line:nth-child(1)>span { white-space:normal; }
  .hero-motion h1 { font-size:25px; }
}

@media (prefers-reduced-motion:reduce) {
  .hero-motion .hero-media .hero-slide { transition:none; transform:none !important; }
  .biz::after { display:none; }
  .hero-cycle * { animation:none !important; }
}

/* ================================================================
   v8 user-feedback fix — cleaner headings / less stray lines
   (the wave/ribbon decoration introduced in this pass was removed in v10
   per user request; see below)
   ================================================================ */

/* 2) Remove the subtle/pointless extra lines the user disliked. */
.hero-tags {
  border-top:none !important;
  padding-top:18px;
  margin-top:34px;
}
.sec-head .en,
.ph-body .en,
.msg-body > .en,
.cta-body > .en {
  display:none !important;
}
.sec-head.rv .sec-title::after,
.sec-head .en::before,
.biz-no::after,
.biz-body h3::after,
.biz::before,
.biz::after,
#business::before {
  display:none !important;
  content:none !important;
}

/* 3) Restore a cleaner, more premium section hierarchy. */
.sec-head,
.sec-head.center {
  text-align:center !important;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.sec-head .sec-title {
  display:inline-block !important;
  position:relative;
  margin:0 auto 14px !important;
  padding:0 .22em .12em;
  font-size:clamp(31px, 4vw, 46px);
  line-height:1.28;
  letter-spacing:.03em;
}
.sec-head .sec-title::before {
  content:"";
  position:absolute;
  left:50%;
  bottom:.06em;
  width:72%;
  height:.42em;
  transform:translateX(-50%);
  background:linear-gradient(90deg,
    rgba(120,201,173,0),
    rgba(120,201,173,.34),
    rgba(120,201,173,0));
  border-radius:999px;
  z-index:-1;
}
.sec-head .sec-lead {
  max-width:70ch;
  margin-inline:auto;
}

/* 4) Make business cards cleaner without the awkward short rules. */
.biz-item {
  gap:clamp(28px, 5vw, 64px);
}
.biz-no {
  font-size:48px;
  letter-spacing:-.02em;
  color:rgba(20,96,63,.24);
  line-height:1;
  margin-bottom:8px;
}
.biz-body h3 {
  display:block;
  font-size:clamp(24px, 2.8vw, 30px);
  margin-bottom:14px;
}

/* 5) Make the subpage mobile header keep the globe inside the frame. */
@media (max-width:820px) {
  .ph-media {
    background-image:url('../img/subpage-header-mobile-v2.jpg') !important;
    background-repeat:no-repeat !important;
    background-size:contain !important;
    background-position:72% center !important;
    background-color:#0e4338 !important;
  }
  .ph-media::after {
    background:linear-gradient(90deg,
      rgba(5,48,37,.88) 0%,
      rgba(5,48,37,.66) 44%,
      rgba(5,48,37,.20) 76%,
      rgba(5,48,37,.08) 100%) !important;
  }

  .hero-motion .hero-media .hero-slide:nth-child(1){ object-position:42% 50% !important; }
  .hero-motion .hero-media .hero-slide:nth-child(2){ object-position:58% 50% !important; }
  .hero-motion .hero-media .hero-slide:nth-child(3){ object-position:62% 50% !important; }

  .hero-title-line { white-space:normal !important; }
  .hero-title-line:nth-child(1) > span,
  .hero-title-line:nth-child(2) > span { white-space:normal !important; }
  .hero-motion h1 {
    font-size:clamp(25px, 6.8vw, 31px) !important;
    line-height:1.42 !important;
  }

  .sec-head .sec-title {
    font-size:clamp(28px, 7vw, 35px);
  }
}

/* ================================================================
   v9 — remove weak editorial lines
   (the wave/ribbon decoration this pass introduced was removed in v10
   per user request; see below)
   ================================================================ */

/* No vague lines or tiny editorial labels around section headings. */
.sec-head .en,
.sec-head .en::before,
.sec-head .en::after,
.sec-head .sec-title::before,
.sec-head .sec-title::after,
.issue-title::before,
.issue-title::after,
.biz-no::before,
.biz-no::after,
.biz-body h3::before,
.biz-body h3::after,
.biz::before,
.biz::after,
#business::before,
#business::after {
  display:none !important;
  content:none !important;
}

/* Keep section titles simple, centered, and visually strong. */
.sec-head,
.sec-head.center {
  display:block !important;
  text-align:center !important;
}
.sec-head .sec-title {
  display:block !important;
  position:static !important;
  width:100%;
  margin:0 auto 18px !important;
  padding:0 !important;
  font-size:clamp(32px,4.2vw,48px) !important;
  line-height:1.25;
  letter-spacing:.025em;
  text-align:center !important;
}
.sec-head .sec-lead {
  margin:0 auto !important;
  max-width:68ch !important;
  text-align:center !important;
}

/* Business numbers are typographic markers only — no attached line. */
.biz-no {
  display:block;
  font-size:50px;
  line-height:1;
  opacity:.23;
  margin-bottom:10px;
}
.biz-body h3 {
  display:block !important;
  margin-bottom:16px !important;
}

@media (max-width:820px) {
  .sec-head .sec-title {
    font-size:clamp(29px,7.4vw,36px) !important;
    line-height:1.32;
  }

  /* Fix any remaining horizontal clipping. */
  main, section, .wrap, .wrap-narrow { max-width:100%; }
  img, svg { max-width:100%; }
}

/* v11 mobile Safari fix: always show hero copy reliably on smartphones.
   Keep the image cross-fade, but disable the mask/replay animation that can
   leave text hidden in iOS Safari/in-app browsers. */
@media (max-width:820px) {
  .hero-cycle .hero-kicker,
  .hero-cycle .hero-scene-label,
  .hero-cycle .hero-title-line:nth-child(1) > span,
  .hero-cycle .hero-title-line:nth-child(2) > span,
  .hero-cycle .hero-lead-motion,
  .hero-cycle .hero-btns-motion,
  .hero-cycle .hero-tags-motion,
  .hero-motion .hero-kicker,
  .hero-motion .hero-scene-label,
  .hero-motion .hero-title-line > span,
  .hero-motion .hero-lead-motion,
  .hero-motion .hero-btns-motion,
  .hero-motion .hero-tags-motion {
    opacity:1 !important;
    transform:none !important;
    animation:none !important;
    visibility:visible !important;
  }
  .hero-motion .hero-title,
  .hero-motion .hero-title-line {
    opacity:1 !important;
    visibility:visible !important;
  }
}

/* v12: user-requested horizontal flip of the handshake hero.
   Keep the handshake more visible on narrower layouts. */
@media (max-width:1000px) and (min-width:821px) {
  .hero-motion .hero-media .hero-slide:nth-child(1) { object-position:62% 50% !important; }
}
@media (max-width:820px) {
  .hero-motion .hero-media .hero-slide:nth-child(1) { object-position:68% 50% !important; }
}

/* v15/v16 previously tried a CSS-only keyframe cycle (with positive, then
   negative, animation-delay) to rotate the mobile hero independently of JS.
   It fought the JS-driven .is-active crossfade below (both controlled the
   same opacity) and was the source of the "images stop rotating on iPhone
   Safari" reports. Removed — mobile now shares the exact same JS-driven
   cross-fade as desktop; see the "Hero rotation" script in main-v16.js and
   the .hero-motion .hero-media .hero-slide rules above. */

/* ================================================================
   v17 — mobile hero returns to full-background composition
   Same desktop hero image is reused. Mobile only changes crop/layout so
   the right-side handshake stays visible while copy remains readable.
   ================================================================ */
@media (max-width:820px) {
  .hero.hero-motion {
    position:relative !important;
    display:grid !important;
    min-height:max(760px, calc(100svh - 78px)) !important;
    grid-template-rows:1fr !important;
    align-items:center !important;
    background:#0b3428 !important;
    overflow:hidden !important;
  }

  .hero-motion .hero-media {
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    aspect-ratio:auto !important;
    order:initial !important;
    grid-row:auto !important;
    overflow:hidden !important;
    background:#0b3428 !important;
  }

  .hero-motion .hero-media .hero-slide,
  .hero-motion .hero-media .hero-slide.is-active {
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    transform:scale(1.02) !important;
  }

  /* First slide: keep the right-side handshake in frame on tall phones. */
  .hero-motion .hero-media .hero-slide:nth-child(1) {
    object-position:86% 50% !important;
  }
  .hero-motion .hero-media .hero-slide:nth-child(2) {
    object-position:62% 50% !important;
  }
  .hero-motion .hero-media .hero-slide:nth-child(3) {
    object-position:64% 50% !important;
  }

  /* Darker left/centre overlay: readable copy, but handshake remains visible. */
  .hero-motion .hero-media::after {
    background:
      linear-gradient(180deg, rgba(5,29,21,.34) 0%, rgba(5,29,21,.44) 38%, rgba(5,29,21,.62) 100%),
      linear-gradient(90deg, rgba(5,29,21,.66) 0%, rgba(5,29,21,.44) 58%, rgba(5,29,21,.16) 100%) !important;
  }

  .hero-motion .hero-body {
    position:relative !important;
    z-index:4 !important;
    grid-row:1 !important;
    order:initial !important;
    width:100% !important;
    margin:0 !important;
    padding:72px 20px 66px !important;
    background:transparent !important;
    align-self:center !important;
  }

  .hero-motion .hero-kicker {
    margin-bottom:18px !important;
    font-size:10.5px !important;
    letter-spacing:.24em !important;
    color:rgba(255,255,255,.9) !important;
  }
  .hero-motion .hero-scene-label {
    margin-bottom:18px !important;
    color:rgba(255,255,255,.9) !important;
  }
  .hero-motion h1 {
    font-size:clamp(31px, 8.35vw, 39px) !important;
    line-height:1.36 !important;
    letter-spacing:.018em !important;
    text-shadow:0 2px 24px rgba(0,0,0,.34) !important;
  }
  .hero-motion .hero-title-line,
  .hero-motion .hero-title-line > span {
    white-space:normal !important;
  }
  .hero-motion .hero-lead {
    margin-top:24px !important;
    max-width:31em !important;
    font-size:14.5px !important;
    line-height:1.86 !important;
    color:rgba(255,255,255,.96) !important;
    text-shadow:0 1px 12px rgba(0,0,0,.25) !important;
  }
  .hero-motion .hero-btns {
    margin-top:30px !important;
    gap:12px !important;
  }
  .hero-motion .hero-btns .btn {
    width:min(100%, 354px) !important;
  }
  .hero-motion .hero-tags {
    margin-top:28px !important;
    padding-top:0 !important;
    border-top:0 !important;
  }
  .hero-motion .hero-slide-dots {
    z-index:6 !important;
    right:18px !important;
    top:auto !important;
    bottom:20px !important;
  }
  .hero-motion .hero-deco {
    display:none !important;
  }
}

@media (max-width:390px) {
  .hero.hero-motion { min-height:max(760px, calc(100svh - 78px)) !important; }
  .hero-motion .hero-media .hero-slide:nth-child(1) { object-position:88% 50% !important; }
  .hero-motion .hero-body { padding:64px 18px 60px !important; }
  .hero-motion h1 { font-size:30px !important; }
  .hero-motion .hero-lead { font-size:14px !important; }
}

/* ================================================================
   Hero: static image for tablet/smartphone, 3-slide rotation stays
   PC-only. PC (min-width:1025px) is untouched — the slider above
   keeps running exactly as before. At 1024px and below the slider
   is hidden and the pre-existing .hero-static-tablet / .hero-static-mobile
   images (see index.html) are shown instead; main-v16.js pauses the
   rotation timer at the same breakpoint.
   ================================================================ */
.hero-static { display:none; }

@media (max-width:1024px) {
  .hero-motion .hero-slide,
  .hero-motion .hero-slide-dots { display:none !important; }
}

@media (max-width:1024px) and (min-width:821px) {
  .hero-motion .hero-static-tablet {
    display:block;
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover; object-position:38% 50%;
    animation:none !important;
    transform:none !important;
  }
}

@media (max-width:820px) {
  .hero-motion .hero-static-mobile {
    display:block !important;
    position:absolute !important; inset:0 !important;
    width:100% !important; height:100% !important;
    object-fit:cover !important; object-position:86% 50% !important;
    animation:none !important;
    transform:none !important;
  }
}

@media (max-width:390px) {
  .hero-title .hero-tail { display:block; }
}

/* FINAL mobile hero line break */
@media (max-width:480px){
  .hero-motion .hero-title-line:nth-child(2) > span .hero-tail{
    display:block !important;
    white-space:nowrap !important;
  }
}

/* FINAL mobile hero lead no-split */
@media (max-width:480px){
  .hero-lead .nobr{white-space:nowrap !important;}
}


/* FINAL mobile Japanese wrapping QA */
.nobr{white-space:nowrap;}
@media (max-width:480px){
 h1,h2,h3,h4,.sec-title{line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:balance;}
 p,li,summary,.faq .a,.sec-lead,.ph-lead{line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty;}
}
