/* ==========================================================================
   Roambuild — corporate website template
   Edit the variables below to change colors and fonts across the site.
   ========================================================================== */
:root {
  --navy: #113758;
  --navy-deep: #0d1c36;
  --navy-mid: #2c4a6e;
  --ink: #113758;
  --pale: #f3f6f9;
  --line: #c9d3dd;
  --accent: #7fd6e8;
  --float: #9cafc0;
  --white: #fff;
  --f-gothic: "Zen Kaku Gothic New", sans-serif;
  --f-en: "Roboto", sans-serif;
  --f-serif: "Cardo", serif;
  --f-mincho: "Shippori Mincho", serif;
  --ease-btn: cubic-bezier(0.3, 1.1, 0.4, 1.1);
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--f-gothic);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s ease, background-color .3s ease, border-color .3s ease; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sp { display: none; }

/* ----- Shared type ----- */
.ttl-en { font-family: var(--f-serif); font-weight: 400; line-height: 1.2; text-transform: uppercase; position: relative; }
.ttl-en--xl { font-size: clamp(64px, 9.7vw, 140px); color: var(--white); }
.ttl-en--lg { font-size: clamp(56px, 6.9vw, 100px); }
.ttl-en--md { font-size: clamp(40px, 4.2vw, 60px); }
.ttl-en--sm { font-size: 44px; text-transform: none; }
@media (max-width: 767px) { .ttl-en--lg { font-size: 9vw; } .ttl-en--md { font-size: clamp(28px, 10vw, 40px); } } /* one long word (e.g. COLLABORATION, INFORMATION) must fit small screens */
.ttl-en::before { /* small accent line above titles */
  content: ""; position: absolute; left: 0; top: -.12em; width: 30px; height: 2px; background: var(--accent);
  clip-path: inset(0 100% 0 0); transition: clip-path .5s ease .5s;
}
.ttl-en--xl::before { background: var(--white); }
.ttl-en.inview::before { clip-path: inset(0 0 0 0); }
.ttl-sub { font-size: 14px; font-weight: 500; margin-top: 18px; letter-spacing: .05em; }
.label { font-family: var(--f-en); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 12px; position: relative; }
.label::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; opacity: .5; transform-origin: left; transform: scaleX(0); transition: transform 1s ease .3s; }
.label.inview::after { transform: scaleX(1); }
.label-sub { font-size: 16px; font-weight: 500; letter-spacing: .05em; margin-top: 12px; }
.statement { font-family: var(--f-mincho); font-weight: 500; font-size: clamp(22px, 1.95vw, 28px); line-height: 1.8; margin-top: 40px; }
.statement--l { font-size: clamp(26px, 2.5vw, 36px); }
.statement--s { font-size: clamp(22px, 1.95vw, 28px); }
.statement-en { font-size: 14px; font-weight: 400; opacity: .8; margin-top: 6px; }
.body-s { font-size: 15px; line-height: 1.8; }

/* ----- Reveal on scroll (JS adds .show / .inview) ----- */
.js-show { opacity: 0; transform: translateY(1.8rem); transition: opacity 1s ease, transform 1s ease; }
.js-show.show { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d5 { transition-delay: .5s; } .d7 { transition-delay: .7s; }

/* ----- Buttons ----- */
.btn-line { display: inline-flex; align-items: center; justify-content: space-between; width: 300px; padding: 0 10px 14px; margin-top: 56px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.btn-line__arrow { width: 22px; height: 10px; border-radius: 10px; background: var(--navy); position: relative; transition: width .8s var(--ease-btn); }
.btn-line__arrow::after { content: ""; position: absolute; right: 5px; top: 4px; width: 8px; height: 1px; background: #fff; box-shadow: 0 0 0 0 #fff; }
.btn-line:hover .btn-line__arrow { width: 34px; }
.btn-dot { display: inline-flex; align-items: center; justify-content: space-between; width: 170px; padding: 0 6px 10px; border-bottom: 1px solid var(--navy); font-size: 13px; font-weight: 500; margin-top: 26px; }
.btn-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); transition: transform .8s var(--ease-btn); }
.btn-dot:hover::after { transform: scale(1.6); }

/* ==========================================================================
   Loading
   ========================================================================== */
.loading { position: fixed; inset: 0; z-index: 100; background: var(--white); display: grid; place-content: center; gap: 22px; transition: opacity 1s ease, visibility 0s linear 1s; }
.loading__logo { font-family: var(--f-en); font-weight: 900; font-size: 44px; letter-spacing: -.04em; color: var(--navy); animation: logoSlide .4s linear both; }
.loading__bar { width: 220px; height: 2px; background: var(--pale); overflow: hidden; }
.loading__bar span { display: block; height: 100%; background: var(--navy); animation: barSlide 1.1s linear both .2s; }
body.is-loaded .loading { opacity: 0; visibility: hidden; }
@keyframes logoSlide { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes barSlide { from { transform: translateX(-100%); } to { transform: none; } }

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--header-h); display: flex; align-items: center; padding-left: 24px; background: var(--white); transition: background-color .3s ease, transform .5s ease; }
body.is-loaded .header { animation: opacityOn 2s linear both; }
.header__logo { font-family: var(--f-en); font-weight: 900; font-size: 30px; letter-spacing: -.045em; color: var(--navy); }
.header__nav { display: flex; gap: 24px; margin-left: auto; font-family: var(--f-en); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.header__nav a:hover { color: var(--navy-mid); opacity: .7; }
.has-sub::after { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 0 3px 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.header__tools { display: flex; align-items: center; gap: 18px; margin: 0 24px 0 32px; font-family: var(--f-en); font-size: 13px; }
.header__tools svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; vertical-align: -3px; margin-right: 4px; }
.header__sns svg { margin: 0; }
.header__contact { align-self: stretch; display: grid; place-items: center; width: 200px; margin: 8px 8px 8px 0; background: var(--navy); color: var(--white); font-family: var(--f-en); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.header__contact:hover { background: var(--navy-mid); }
.header__menu { display: none; }
body.is-scrolled .header { transform: translateY(-100%); }
body.is-scrolled.is-up .header { transform: none; }

/* ==========================================================================
   Hero (fixed; content scrolls over it)
   ========================================================================== */
.hero { position: fixed; z-index: 0; inset: 0; padding-top: calc(var(--header-h) + 50px); background: var(--white); }
.hero__cp { padding: 0 44px; font-family: var(--f-en); font-weight: 700; font-size: clamp(40px, 7.3vw, 112px); letter-spacing: -.015em; line-height: 1.1; color: var(--navy); white-space: nowrap; }
.hero__cp span { display: inline-block; animation: homeMainCp 1s linear both; }
.hero__cp span:nth-child(2) { animation-delay: .1s; } .hero__cp span:nth-child(3) { animation-delay: .2s; } .hero__cp span:nth-child(4) { animation-delay: .3s; } .hero__cp span:nth-child(5) { animation-delay: .4s; }
.hero__brand { font-weight: 900; letter-spacing: -.045em; }
.hero__sub { padding: 0 48px; margin-top: 18px; font-size: 14px; font-weight: 700; animation: opacityOn 1s linear both .5s; }
.hero__imgs { position: absolute; left: 6px; right: 6px; bottom: 0; top: calc(var(--header-h) + 252px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero__imgs figure { overflow: hidden; position: relative; animation: homeMain 2s ease both .6s; }
.hero__imgs figure:nth-child(2) { animation-delay: .8s; } .hero__imgs figure:nth-child(3) { animation-delay: 1s; }
.hero__imgs img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero__imgs figure::after { content: ""; position: absolute; inset: 0; background: #3a78b8; mix-blend-mode: screen; opacity: .7; }
.hero__imgs figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #123a66; mix-blend-mode: multiply; opacity: .5; }
@keyframes homeMainCp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes homeMain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes opacityOn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Fixed background (dark → light)
   ========================================================================== */
.bg { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.bg > div { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.bg__dark { background: linear-gradient(180deg, var(--navy-deep) 0%, #1b365a 55%, #2f5378 100%); }
.bg__light { background: linear-gradient(180deg, #9eabbb 0%, #c4ccd6 45%, #e9ecf0 100%); }
/* The light layer stays opaque under every section after the hero, so the fixed hero
   never shows through while the dark layer fades in or out on top of it. */
body[data-bg="dark"] .bg__light, body[data-bg="light"] .bg__light, body[data-bg="white"] .bg__light, body[data-bg="pale"] .bg__light { opacity: 1; }
body[data-bg="dark"] .bg__dark { opacity: 1; }
.bg__dark { z-index: 1; } /* dark always paints above the light layer */

.wrap { position: relative; z-index: 2; margin-top: 100vh; }

/* ==========================================================================
   About
   ========================================================================== */
.about { color: var(--white); position: relative; }
/* The first screen of About is opaque (same gradient as the fixed layer), so it covers the hero
   as it scrolls up instead of waiting for the background fade. */
.about::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 100vh; background: linear-gradient(180deg, var(--navy-deep) 0%, #1b365a 55%, #2f5378 100%) fixed; }
.about__grid { display: grid; grid-template-columns: 1fr 40vw; }
.about__box { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 0 4vw 0 8.3vw; }
.about__box--first { padding-left: 8.3vw; gap: 0; position: relative; z-index: 1; margin-right: -12vw; }
.about__txt { font-family: var(--f-mincho); font-weight: 400; font-size: 18px; line-height: 2.9; letter-spacing: .03em; }
.about__imgs { position: relative; }
.about__stick { position: sticky; top: 12vh; height: 76vh; margin-right: 2vw; }
.about__stick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.about__stick img.is-active { opacity: 1; }

/* ==========================================================================
   Vision / Mission (light background)
   ========================================================================== */
.vision, .mission { position: relative; }
.vision__inner, .mission__inner { position: relative; max-width: 1440px; margin: 0 auto; }
.vision { height: 63.5vw; }
.vision__head { position: absolute; left: 8.3vw; top: 6.3vw; width: 42vw; }
.vision__head .statement { margin-top: 3.4vw; }
.vision__head .body-s { margin-top: 1.4vw; }
.vision__img { position: absolute; overflow: hidden; }
.vision__img img { width: 100%; height: 100%; object-fit: cover; }
.vision__img--a { left: 58.8vw; top: -7.7vw; width: 38.2vw; height: 48.9vw; }
.vision__img--b { left: 51.3vw; top: 23vw; width: 16.8vw; height: 22vw; }
.mission { height: 76.4vw; }
.mission__head { position: absolute; left: 8.3vw; top: 26.3vw; width: 46.7vw; }
.mission__head .statement { margin-top: 3.4vw; }
.mission__head .body-s { margin-top: 2.4vw; }
.mission__img { position: absolute; overflow: hidden; }
.mission__img img { width: 100%; height: 100%; object-fit: cover; }
.mission__img--a { left: 49.7vw; top: 4.1vw; width: 28.3vw; height: 34.4vw; }
.mission__img--b { left: 60.9vw; top: 24.4vw; width: 36vw; height: 44.9vw; }
.vision__head .label, .mission__head .label { width: 46.7vw; }

/* ==========================================================================
   Value
   ========================================================================== */
.value { background: var(--white); padding: 80px 0 160px; }
.value__head { padding: 0 8.6vw; }
.value__head .label { width: 83%; }
.value__grid { display: grid; grid-template-columns: 34.7vw 1fr; gap: 0 3.5vw; margin-top: 110px; }
.value__stick { position: sticky; top: 100.8px; height: 300px; }
.value__stick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.value__stick img.is-active { opacity: 1; }
.value__list { display: grid; gap: 130px; padding-right: 8.6vw; }
.value__item { display: grid; grid-template-columns: 170px 1fr; }
.value__tag { font-family: var(--f-en); font-size: 12px; padding-top: 14px; }
.value__ttl { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; line-height: 1.8; margin-bottom: 24px; }

/* ==========================================================================
   Visual identity
   ========================================================================== */
.vi { position: relative; background: var(--white); min-height: 70.4vw; padding-top: 15.7vw; }
.vi__text { position: relative; z-index: 1; padding-left: 8.3vw; width: calc(8.3vw + 33.3vw); }
.vi__text .ttl-en { letter-spacing: .25em; }
.vi__text .statement { margin-top: 60px; }
.vi__text .body-s { margin-top: 40px; }
.vi__logo { position: absolute; right: 0; top: 0; width: 58.2vw; height: 48.9vw; background: var(--pale); display: grid; place-items: center; }
.vi__logo span { font-family: var(--f-en); font-weight: 900; font-size: clamp(56px, 7.6vw, 110px); letter-spacing: -.05em; color: var(--navy); }

/* ==========================================================================
   Product
   ========================================================================== */
.product { background: var(--white); padding: 150px 0 150px; }
.product__head { padding: 0 8.3vw; }
.tag-line { display: inline-block; font-family: var(--f-mincho); font-size: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--navy); margin-top: 60px; }
.product__head .statement { margin-top: 26px; }
.product__head .body-s { margin-top: 40px; }
.product__head .btn-line { width: 380px; padding: 30px 10px; margin-top: 30px; }
.product__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 100px; }
.product__card { text-align: center; }
.product__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.product__name { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--f-en); font-size: 18px; font-weight: 700; }
.mark { font-size: 11px; line-height: .95; border-left: 1px solid; border-bottom: 1px solid; padding: 0 3px; text-align: left; font-weight: 900; }
.product__txt { font-size: 14px; line-height: 1.8; margin-top: 18px; padding: 0 14px; }
.product__card .btn-dot { width: 180px; padding: 18px 10px; }

/* ==========================================================================
   Collaboration
   ========================================================================== */
.collabo { background: var(--white); padding: 150px 8.3vw 150px; }
.collabo .statement { margin-top: 60px; }
.collabo__card { display: grid; grid-template-columns: 1fr 460px; gap: 40px; align-items: center; background: var(--pale); padding: 90px 7.9vw; margin-top: 60px; }
.collabo__logos { font-family: var(--f-en); font-weight: 900; font-size: 28px; letter-spacing: -.03em; display: flex; align-items: center; gap: 12px; }
.collabo__partner { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #111; color: #fff; font-size: 11px; letter-spacing: 0; }
.collabo__ttl { font-size: 20px; font-weight: 500; margin: 20px 0 20px; }
.collabo__body .btn-dot { width: 180px; padding: 18px 10px; }
.collabo__card img { width: 100%; aspect-ratio: 460 / 306; object-fit: cover; }

/* ==========================================================================
   Information
   ========================================================================== */
.info { background: var(--pale); padding: 150px 0 120px; }
.info__inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.info__table { margin-top: 56px; border-top: 1px solid var(--line); }
.info__table > div { display: grid; grid-template-columns: 180px 1fr; padding: 28px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.info__table dt { font-weight: 500; }
.info__sub { font-size: 20px; font-weight: 500; margin: 110px 0 36px; letter-spacing: .1em; }
.info__office { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.info__office img { width: 100%; aspect-ratio: 460 / 305; object-fit: cover; }
.info__people { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.person img { width: 100%; aspect-ratio: 460 / 480; object-fit: cover; }
.person__name { font-family: var(--f-serif); font-size: 44px; text-align: center; margin-top: 14px; }
.person__role { font-size: 14px; text-align: center; line-height: 1.6; margin-top: 8px; }
.person__hist { margin-top: 44px; font-size: 14px; line-height: 1.6; }
.person__hist > div { display: grid; grid-template-columns: 60px 1fr; margin-bottom: 10px; }
.team { background: var(--white); max-width: 1000px; margin: 90px auto 0; padding: 70px 24px 80px; text-align: center; }
.team .ttl-en::before { left: 50%; margin-left: -15px; }
.team__list { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.team__list > div { width: 240px; }
.team__list img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.team .person__name { font-size: 32px; }

/* ==========================================================================
   News / Event
   ========================================================================== */
.posts { background: var(--pale); padding: 0 0 140px; }
.posts__box { display: grid; grid-template-columns: 234px 1fr; width: min(1320px, 100%); margin: 0 auto; padding: 165px 120px 0; }
.posts__box + .posts__box { padding-top: 100px; }
.posts__head .ttl-sub { margin-top: 20px; }
.posts__list li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 40px 0; border-bottom: 1px solid var(--line); font-size: 17.5px; line-height: 1.5; }
.posts__list time { font-family: var(--f-en); font-weight: 500; font-size: 15px; padding-top: 2px; }
.posts__list a:hover { opacity: .6; }
.btn-dot--right { justify-self: end; grid-column: 2; width: 180px; padding: 18px 10px; margin-top: 30px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--white); padding: 200px 0 100px; }
.contact__inner { max-width: 1048px; margin: 0 auto; padding: 0 24px; }
.contact__tag { display: inline-block; background: #a2b9c5; color: var(--white); font-size: 14px; font-weight: 700; padding: 5px 14px; margin: 60px 0 40px; }
.contact__inner > .body-s { font-size: 14px; }
.contact__req { margin-top: 20px; font-size: 14px; }
.form { margin-top: 40px; display: grid; gap: 40px; }
.form > label { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; font-size: 15px; font-weight: 500; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: var(--pale); border: 0; padding: 0 20px; height: 60px; width: 100%; }
.form select { width: 380px; }
.form textarea { height: 207px; padding: 18px 20px; resize: vertical; }
.form ::placeholder { color: #b8c3ce; }
.form__ta { align-items: start !important; }
.form__ta > span { padding-top: 90px; }
.form__check { border: 0; padding: 0; margin: 0; font-size: 15px; }
.form__check legend { font-weight: 500; margin-bottom: 30px; padding: 0; }
.form__check label { display: inline-flex; align-items: center; gap: 14px; height: 40px; margin-right: 34px; }
.form input[type=checkbox] { appearance: none; width: 40px; height: 40px; background: var(--pale); margin: 0; cursor: pointer; position: relative; flex: none; }
.form input[type=checkbox]:checked::after { content: ""; position: absolute; left: 15px; top: 8px; width: 9px; height: 18px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.form__note { text-align: center; font-size: 14px; line-height: 1.8; margin-top: 40px; }
.form__note a { text-decoration: underline; }
.form__agree { justify-self: center; display: inline-flex !important; align-items: center; justify-content: center; gap: 16px; width: 466px; height: 56px; border: 1px solid var(--line); font-weight: 500 !important; }
.form__agree input[type=checkbox] { width: 26px; height: 26px; }
.form__agree input[type=checkbox]:checked::after { left: 9px; top: 4px; width: 7px; height: 13px; }
.form__submit { justify-self: center; width: 468px; height: 72px; border: 0; background: var(--navy); color: var(--white); font: inherit; font-size: 15px; cursor: pointer; transition: background-color .3s ease; margin-top: 60px; }
.form__submit:hover { background: var(--navy-mid); }

/* ==========================================================================
   Bottom catch & footer
   ========================================================================== */
.btm { background: var(--white); height: 70vh; }
.btm__cp { position: sticky; top: 30vh; padding-left: 44px; font-family: var(--f-en); font-weight: 700; font-size: clamp(34px, 6.6vw, 100px); letter-spacing: -.015em; color: var(--navy); white-space: nowrap; }
.footer { background: var(--white); padding: 196px 108px 40px 80px; }
.footer__main { display: flex; justify-content: space-between; }
.footer__logo { font-family: var(--f-en); font-weight: 900; font-size: clamp(56px, 8.4vw, 124px); letter-spacing: -.05em; line-height: 1; color: var(--navy); }
.footer__co { font-size: 16px; margin-top: 16px; }
.footer__contact { display: grid; place-items: center; width: 300px; height: 66px; margin-top: 40px; background: var(--navy); color: var(--white); font-family: var(--f-en); font-size: 18px; font-weight: 500; text-transform: uppercase; }
.footer__contact:hover { background: var(--navy-mid); }
.footer__banner { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 4px 14px; width: 300px; padding: 18px 20px; margin-top: 24px; border: 1px solid var(--line); }
.footer__banner-icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.footer__banner-icon svg { width: 28px; fill: none; stroke: var(--navy); stroke-width: 1.4; }
.footer__banner-ttl { font-size: 22px; font-weight: 500; align-self: end; }
.footer__banner-sub { font-size: 12px; justify-self: end; }
.footer__nav { display: grid; gap: 30px; align-content: start; width: 149px; font-family: var(--f-en); font-size: 18px; font-weight: 500; text-transform: uppercase; }
.footer__sns { display: flex; gap: 20px; margin-top: 30px; text-transform: none; font-weight: 700; font-size: 14px; align-items: center; }
.footer__sns svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.footer__btm { display: flex; gap: 20px; align-items: center; margin-top: 200px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__btm small { margin-left: auto; font-size: 12px; }

/* ==========================================================================
   Floating banner & page top
   ========================================================================== */
.float { position: fixed; z-index: 40; right: 16px; bottom: 26px; width: 200px; box-shadow: 0 2px 10px rgba(17, 55, 88, .12); animation: opacityOn 1s linear both 2s; }
.float.is-closed { display: none; }
.float__close { position: absolute; right: -8px; top: -10px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--navy); background: var(--white); color: var(--navy); font-size: 12px; line-height: 1; padding: 0; cursor: pointer; }
.float__item { display: grid; grid-template-columns: 26px 1fr 6px; align-items: center; gap: 8px; padding: 10px 12px; background: var(--white); font-size: 12px; line-height: 1.5; font-weight: 700; }
.float__item--main { background: var(--float); font-size: 13px; padding: 14px 12px; }
.float__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }
.float__item svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); fill: none; stroke: var(--navy); stroke-width: 1.3; }
.float__item:hover { opacity: .85; }
.pagetop { position: fixed; z-index: 39; right: 24px; bottom: 170px; width: 1px; height: 36px; overflow: hidden; }
.pagetop span { display: block; width: 1px; height: 100%; background: var(--navy); animation: pageTopLine 2s linear infinite; }
body.is-dark .pagetop span { background: var(--white); }
@keyframes pageTopLine { 0% { transform: translateY(100%); } 50% { transform: none; } 100% { transform: translateY(-100%); } }

/* ==========================================================================
   Tablet & mobile
   ========================================================================== */
@media (max-width: 1080px) {
  .header__nav, .header__tools { display: none; }
  .header__contact { width: 120px; margin-left: auto; }
  .header__menu { display: grid; gap: 6px; align-content: center; width: 56px; height: 100%; background: none; border: 0; padding: 0 16px; cursor: pointer; }
  .header__menu span { display: block; height: 1px; background: currentColor; }
  .header__menu span { transition: transform .3s ease; }
  body.is-menu .header { transform: none; }
  body.is-menu .header__menu span:first-child { transform: translateY(3.5px) rotate(20deg); }
  body.is-menu .header__menu span:last-child { transform: translateY(-3.5px) rotate(-20deg); }
  body.is-menu { overflow: hidden; }
  body.is-menu .header__nav { display: flex; flex-direction: column; gap: 0; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; margin: 0; padding: 24px 16px 40px; overflow-y: auto; background: var(--navy-deep); color: var(--white); font-size: 18px; }
  body.is-menu .header__nav a { padding: 18px 8px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  body.is-menu .header__nav a:hover { color: var(--white); }
  .product__list { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
}
@media (max-width: 767px) {
  :root { --header-h: 56px; }
  .sp { display: inline; }
  .header { padding-left: 16px; }
  .header__logo { font-size: 24px; }
  .header__contact { width: 104px; margin: 6px 0 6px auto; font-size: 12px; }
  .hero { padding-top: 33vh; }
  .hero__cp { padding: 0 16px; font-size: 9.4vw; white-space: normal; line-height: 1.15; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .25em; }
  .hero__cp::before { content: ""; order: 1; flex-basis: 100%; }
  .hero__cp span:nth-child(4), .hero__cp .hero__brand { order: 2; font-size: 1.75em; line-height: 1.1; }
  .hero__sub { padding: 0 16px; margin-top: 22px; font-size: 12px; }
  .hero__imgs { top: 88vh; left: 0; right: 0; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__imgs figure:nth-child(3) { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about { overflow: clip; } /* keep the sticky, dimmed photo inside About (it must not overlap Vision) */
  .about__box--first { padding-left: 16px; margin-right: 0; }
  .about__imgs { order: -1; position: sticky; top: 0; height: 0; z-index: 0; }
  .about__stick { position: sticky; top: 0; height: 100vh; width: auto; margin: 0; opacity: .3; } /* full screen behind the text: no photo edge may cut through words */
  .about__box { padding: 0 16px; position: relative; z-index: 1; gap: 32px; }
  .about__txt br, .body-s br, .statement br { display: none; }
  .vision, .mission { height: auto; padding: 120px 16px; }
  .vision__head, .mission__head, .vision__img, .mission__img { position: static; width: auto; height: auto; }
  .vision__head .label, .mission__head .label { width: 100%; }
  .vision__img, .mission__img { margin-top: 32px; }
  .vision__img--a, .mission__img--b { width: 78%; margin-left: auto; }
  .vision__img--b, .mission__img--a { width: 56%; }
  .value { padding: 80px 16px 100px; }
  .value__head { padding: 0; }
  .value__grid { grid-template-columns: 1fr; margin-top: 50px; }
  .value__imgs { display: none; }
  .value__list { padding: 0; gap: 70px; }
  .value__item { grid-template-columns: 1fr; gap: 10px; }
  .vi { padding: 100px 16px 100px; min-height: 0; }
  .vi__text { padding: 0; width: auto; }
  .vi__logo { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; margin-top: 40px; }
  .product { padding: 0 16px 100px; }
  .product__head { padding: 0; }
  .product__head .btn-line { width: 100%; }
  .product__list { grid-template-columns: 1fr; gap: 60px; padding: 0; margin-top: 70px; }
  .collabo { padding: 100px 16px; }
  .collabo__card { grid-template-columns: 1fr; padding: 40px 20px; }
  .info { padding: 100px 0 80px; }
  .info__inner { padding: 0 16px; }
  .info__table > div { grid-template-columns: 1fr; padding: 20px 0; }
  .info__office, .info__people { grid-template-columns: 1fr; gap: 40px; }
  .team__list { flex-direction: column; align-items: center; }
  .posts__box { grid-template-columns: 1fr; width: auto; padding: 80px 16px 0; }
  .posts__box + .posts__box { padding-top: 80px; }
  .posts__list li { grid-template-columns: 1fr; padding: 24px 0; gap: 6px; }
  .btn-dot--right { grid-column: 1; }
  .contact { padding: 100px 0 80px; }
  .contact__inner { padding: 0 16px; }
  .form { gap: 24px; }
  .form > label { grid-template-columns: 1fr; gap: 10px; }
  .form__ta > span { padding-top: 0; }
  .form__agree, .form__submit { width: 100%; }
  .form select { width: 100%; }
  .form__check label { margin: 0 20px 14px 0; }
  .form__agree { padding: 14px 24px; }
  .btm { height: 40vh; }
  .btm__cp { font-size: 7.4vw; padding-left: 16px; }
  .footer { padding: 80px 16px 110px; }
  .footer__btm { margin-top: 60px; }
  .footer__main { flex-direction: column; gap: 50px; }
  .footer__btm { flex-wrap: wrap; }
  .float { right: 50%; transform: translateX(50%); bottom: 12px; width: 80vw; }
  .float__item { grid-template-columns: 30px 1fr 8px; font-size: 12px; padding: 12px 14px; }
  .float__item--main { font-size: 13px; padding: 16px 14px; }
  .float__item svg { width: 30px; height: 30px; padding: 6px; }
  .float__close { width: 28px; height: 28px; font-size: 18px; top: -14px; right: -10px; }
  .footer__nav { font-size: 18px; gap: 30px; }
  .pagetop { display: none; }
}
/* =========================================================
   Sub pages (roam, product-*, collaboration, news, articles, recruit, policies)
   ========================================================= */
.wrap--sub { margin-top: var(--header-h); }
.sub-head { padding: 110px 8.3vw 90px; color: var(--navy); }
.crumbs { font-size: 13px; margin-bottom: 56px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { opacity: .6; }
.sub-body { background: var(--white); padding: 120px 8.3vw; }
.sub-body--pale { background: var(--pale); }
.sub-body .label { max-width: 1200px; }
.sub-lead { max-width: 720px; }
.sub-lead .statement { margin-top: 24px; }
.sub-lead .body-s { margin-top: 32px; }
.sub-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.sub-figure { margin: 0; }
.sub-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sub-lead + .sub-figure { margin-top: 80px; }
.sub-figure--wide { margin-top: 80px; }
.sub-figure--wide img { aspect-ratio: 16 / 7; }
.sub-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; }
.sub-points dt { font-family: var(--f-en); font-weight: 700; font-size: 14px; color: var(--navy); }
.sub-points dd { margin: 12px 0 0; font-size: 15px; line-height: 1.8; }
.sub-points b { display: block; font-size: 18px; margin-bottom: 8px; }
.sub-feats { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sub-feats__no { font-family: var(--f-en); font-weight: 700; font-size: 14px; color: var(--navy); }
.sub-feats h3 { font-size: 20px; font-weight: 500; margin: 12px 0; }
.sub-note { margin-top: 18px; opacity: .7; }
.sub-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.sub-pair figure { margin: 0; }
.sub-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sub-pair figcaption { font-size: 14px; line-height: 1.8; margin-top: 14px; }
.product--sub { padding-top: 120px; }
.posts--sub .posts__box:first-child { padding-top: 40px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; background: var(--white); padding: 60px 8.3vw 120px; border-top: 1px solid var(--line); font-size: 15px; }
.pager span { display: block; font-family: var(--f-en); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; margin-bottom: 6px; }
.pager__next { text-align: right; }
.pager__list { padding: 12px 24px; border: 1px solid var(--navy); }
.pager a:hover { opacity: .6; }
.article { background: var(--white); padding: 100px 8.3vw 80px; }
.article > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.article__meta { display: flex; gap: 16px; font-family: var(--f-en); font-size: 14px; font-weight: 500; }
.article__meta span { padding: 0 10px; border: 1px solid var(--navy); }
.article__ttl { font-family: var(--f-mincho); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.7; margin-top: 24px; }
.article__img { margin-top: 48px; margin-bottom: 0; }
.article__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__body { margin-top: 48px; }
.article__body .body-s + .body-s { margin-top: 1.4em; }
.article__body .info__table { margin-top: 40px; }
.jobs { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.jobs li { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.jobs h3 { font-size: 20px; font-weight: 500; margin: 0; }
.jobs__type { font-size: 13px; margin-top: 8px; opacity: .7; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.steps b { font-family: var(--f-en); color: var(--navy); }
.policy { max-width: 860px; margin: 0 auto; }
.policy h2 { font-size: 18px; font-weight: 500; margin: 48px 0 12px; }
.policy__date { margin-top: 56px; opacity: .7; }
@media (max-width: 1080px) {
  .sub-feats, .sub-points { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .sub-head { padding: 64px 16px 56px; }
  .crumbs { margin-bottom: 36px; }
  .sub-body { padding: 80px 16px; }
  .sub-split, .sub-pair { grid-template-columns: 1fr; gap: 40px; }
  .sub-lead + .sub-figure, .sub-figure--wide, .sub-points { margin-top: 48px; }
  .sub-figure--wide img { aspect-ratio: 4 / 3; }
  .product--sub { padding-top: 80px; }
  .pager { grid-template-columns: 1fr 1fr; padding: 40px 16px 80px; }
  .pager__list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .article { padding: 64px 16px; }
  .jobs li { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
