/* MV and sections of the ② page mv/a2 */

:root { --gl: 58%; --earth1: #14336a; --earth2: #0b1d41; --earth3: #07142f; }

/* header: no background over the photo, white pill after scrolling */
.hd { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; height: 84px; padding: 0 var(--gut); color: #fff; transition: top .5s ease, left .5s ease, right .5s ease, height .5s ease, background-color .5s ease, color .5s ease, border-radius .5s ease; }
.hd::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(180deg, rgba(5, 18, 44, .5), rgba(5, 18, 44, 0)); transition: opacity .5s ease; pointer-events: none; }
.hd__logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.hd__logo img { width: 46px; height: 46px; }
.hd__name { display: grid; font: 900 22px/1.1 var(--jp); letter-spacing: .08em; }
.hd__name small { font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.hd__nav { display: flex; gap: clamp(18px, 2vw, 34px); margin-left: auto; font: 700 14.5px/1 var(--jp); letter-spacing: .1em; white-space: nowrap; }
.hd__btns { display: flex; gap: 10px; }
.hd__btn { display: grid; place-items: center; height: 46px; padding: 0 22px; border-radius: 999px; font: 700 14px/1 var(--jp); letter-spacing: .1em; white-space: nowrap; }
.hd__btn--line { border: 1.5px solid currentColor; }
.hd__btn--cta { background: var(--orange); color: #fff; }
.hd__menu { display: none; place-items: center; width: 48px; height: 48px; margin-left: auto; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: inherit; }
.hd__menu i { display: block; width: 18px; height: 1.5px; margin: 3px auto; background: currentColor; }
.is-scrolled .hd { top: 12px; left: 16px; right: 16px; height: 68px; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: 0 6px 24px rgba(13, 42, 94, .1); }
.is-scrolled .hd::before { opacity: 0; }

/* MV: photo above the ground line (GL), copy and contact "underground" */
.mv { position: relative; height: 100svh; min-height: 700px; max-height: 980px; overflow: hidden; background: var(--earth2); color: #fff; }
.mv__ph { position: absolute; inset: 0 0 calc(100% - var(--gl)) 0; }
.mv__gl { position: absolute; z-index: 3; left: 0; right: 0; top: var(--gl); height: 1px; background: rgba(255, 255, 255, .8); }
.mv__gl::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 7px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .4) 0 1px, transparent 1px 48px); }
.mv__gl b { position: absolute; left: var(--gut); bottom: 8px; display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--en); letter-spacing: .2em; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.mv__gl b::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid #fff; }
.mv__under { position: absolute; z-index: 2; left: 0; right: 0; top: var(--gl); bottom: 0; overflow: hidden; background: linear-gradient(180deg, var(--earth1) 0%, var(--earth2) 55%, var(--earth3) 100%); }
.mv__strata { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mv__in { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: clamp(32px, 4vw, 72px); height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.mv__copy { position: relative; padding-left: clamp(22px, 2vw, 32px); border-left: 3px solid var(--orange); }
.mv__copy::before { content: ""; position: absolute; left: -2px; bottom: 100%; width: 1px; height: 400px; background: linear-gradient(0deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); }
.mv__catch { font: 900 clamp(32px, 3.5vw, 54px)/1.36 var(--jp); letter-spacing: .06em; }
.mv__en { margin-top: 12px; color: rgba(255, 255, 255, .7); font: 600 clamp(13px, 1vw, 15px)/1.3 var(--en); letter-spacing: .2em; }
.mv__lead { margin-top: 18px; font: 500 15px/1.9 var(--jp); letter-spacing: .08em; opacity: .9; }
.mv__contact { flex: none; display: grid; gap: 14px; width: min(400px, 34vw); padding: 26px 28px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px; background: rgba(255, 255, 255, .06); }
.mv__contact p { font: 700 13.5px/1.5 var(--jp); letter-spacing: .1em; opacity: .85; }
.mv__tel { display: flex; align-items: center; gap: 12px; font: 700 clamp(30px, 2.8vw, 40px)/1 var(--en); letter-spacing: .04em; white-space: nowrap; }
.mv__tel svg { flex: none; width: 26px; height: 26px; }
.mv__mail { display: flex; align-items: center; justify-content: center; gap: 14px; height: 56px; border-radius: 4px; background: var(--orange); font: 700 15px/1 var(--jp); letter-spacing: .12em; }
.mv__mail::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* bottom bar (phone) */
.bar { display: none; }

/* about */
.ab { padding: clamp(96px, 10vw, 150px) var(--gut); }
.ab__in { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 5vw, 80px); align-items: center; max-width: 1180px; margin: 0 auto; }
.sec-en { display: flex; align-items: center; gap: 10px; color: var(--blue); font: 700 14px/1 var(--en); letter-spacing: .2em; }
.sec-en::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--blue); }
.sec-ttl { margin-top: 18px; font: 900 clamp(24px, 2.5vw, 34px)/1.55 var(--jp); letter-spacing: .05em; color: var(--navy); }
.ab__txt { margin-top: 26px; color: #2c3546; text-align: justify; }
.ab__pts { margin-top: 26px; border-left: 1px solid var(--line); }
.ab__pts li { position: relative; padding: 12px 0 12px 26px; font-size: 15px; line-height: 1.8; text-align: justify; }
.ab__pts li::before { content: ""; position: absolute; left: -5px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 240px; height: 60px; margin-top: 36px; padding: 0 26px; border-radius: 4px; background: var(--navy); color: #fff; font: 700 15px/1 var(--jp); letter-spacing: .12em; }
.btn::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.ab__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

@media (max-width: 1180px) { .hd__nav { display: none; } }
@media (max-width: 1100px) and (min-width: 901px) { .mv__contact { width: 330px; padding: 22px; } }
@media (max-width: 900px) {
  .hd { height: 72px; gap: 12px; }
  .hd__btns { display: none; }
  .hd__menu { display: grid; }
  .hd__logo img { width: 40px; height: 40px; }
  .hd__name { font-size: 19px; }
  .is-scrolled .hd { top: 10px; left: 10px; right: 10px; height: 60px; padding: 0 8px 0 16px; }
  .is-scrolled .hd__menu { width: 44px; height: 44px; }
  .mv { height: auto; min-height: 0; max-height: none; }
  .mv__ph { position: relative; inset: auto; height: clamp(320px, 62vw, 520px); }
  .mv__gl { top: clamp(320px, 62vw, 520px); }
  .mv__under { position: relative; inset: auto; }
  .mv__in { flex-direction: column; align-items: stretch; gap: 34px; padding: 52px var(--gut) 56px; }
  .mv__copy::before { height: 52px; }
  .mv__catch { font-size: clamp(27px, 7.4vw, 44px); }
  .mv__lead { font-size: 14px; }
  .mv__contact { width: auto; padding: 22px 20px; }
  .mv__tel { font-size: clamp(28px, 8.4vw, 38px); }
  .bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.2fr 1fr; height: 62px; }
  .bar a { display: grid; place-items: center; align-content: center; gap: 3px; background: var(--navy); color: #fff; font: 700 12px/1.2 var(--jp); letter-spacing: .06em; }
  .bar a + a { border-left: 1px solid rgba(255, 255, 255, .18); }
  .bar a.is-cta { background: var(--orange); }
  .bar svg { width: 20px; height: 20px; }
  .ab__in { grid-template-columns: 1fr; }
  .ab__tx { display: grid; justify-items: center; }
  .sec-ttl { text-align: center; }
  .ab__pts { width: 100%; }
  .ab__ph { order: -1; }
}
@media (max-width: 640px) {
  .ab { padding: 72px 20px 88px; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
}
@media (max-width: 640px) { .mv__lead { letter-spacing: .04em; } }
@media (max-width: 360px) {
  .mv__lead { font-size: 13px; letter-spacing: .02em; }
  .hd__name { font-size: 17px; }
  .hd__name small { font-size: 10px; }
}
