:root {
  --navy: #0a1726;
  --blue: #002bb8;
  --deep: #13184e;
  --mid: #134879;
  --gold: #baad2f;
  --orange: #e94a11;
  --ice: #f1f4f8;
  --line: #133164;
  --pale: #e9e9e9;
  --header: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

img { max-width: 100%; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
  transform: translateY(-150%);
}
.skip:focus { transform: none; top: 12px; }

.en,
.en-s,
.en-l,
.gnav,
.entry,
.card-label,
.steps span,
.gold,
.orange {
  font-family: Jost, sans-serif;
}

.gheader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: var(--header);
  color: #fff;
  background-image: linear-gradient(180deg, #134879, #13184e);
}

.gheader-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 28px 0 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.logo img {
  display: block;
  height: 54px;
  width: auto;
}

.gnav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.entry,
.entry-bar,
.contact-bar,
.orange,
.drawer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--orange);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.entry {
  min-height: 40px;
  padding: 0 18px;
}

.menu-btn {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  background: var(--deep);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 29px; }
.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(40deg); }
.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-40deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: auto;
  padding: 110px 32px 96px;
  background: #fff;
  color: var(--blue);
}
.drawer nav { display: flex; flex-direction: column; }
.drawer a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid #d7e0ea;
  font-size: 20px;
  font-weight: 600;
}
.drawer small {
  color: var(--gold);
  font-family: Jost, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.drawer-contact {
  margin-top: 28px;
  min-height: 56px;
  border: 0;
  font-family: Jost, sans-serif;
  letter-spacing: 0.16em;
}

.contact-bar { display: none; }
.is-menu-open { overflow: hidden; }
.is-menu-open .contact-bar { visibility: hidden; }

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}
.hero-bg,
.hero-bg img,
.hero-side,
.hero-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg img { object-position: 42% center; }
.hero-side img { object-position: 78% center; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(19, 24, 78, 0.72), rgba(19, 72, 121, 0.28) 55%, rgba(19, 24, 78, 0.15));
}
.hero-side {
  left: auto;
  width: 48%;
}
.hero-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 24, 78, 0.15), rgba(19, 24, 78, 0.35));
}
.hero-copy {
  position: absolute;
  z-index: 2;
  top: 28%;
  left: 8%;
}
.en-s {
  letter-spacing: 0.22em;
  font-size: 22px;
  font-weight: 500;
}
.en-l {
  margin: 6px 0 14px;
  color: var(--pale);
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0.95;
}
.jp { letter-spacing: 0.22em; font-weight: 500; }
.catch-v {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 18%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.hero-band { display: none; }
.hero-card {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  width: min(920px, calc(100% - 80px));
  padding: 18px 28px 16px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--navy);
  box-shadow: 3px 3px 8px rgba(80, 80, 80, 0.25);
}
.card-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--navy);
  font-size: 18px;
  letter-spacing: 0.18em;
}
.card-label span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.hero-card ul {
  display: flex;
  gap: 28px;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 500;
}
.hero-card li { position: relative; padding-left: 16px; }
.hero-card li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 10px;
}

.entry-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  font-size: 22px;
}

.block { position: relative; scroll-margin-top: var(--header); }
.in { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }

h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.45;
}
h2 .en {
  display: block;
  margin-bottom: 8px;
  color: var(--pale);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
}

.slash {
  position: relative;
  padding: 120px 0 150px;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(19, 72, 121, 1), rgba(19, 24, 78, 1));
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.service-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.para {
  margin: 0;
  min-height: 420px;
}
.para img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}
.block p { font-size: 15px; }
.gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  min-height: 44px;
  padding: 0 48px 0 18px;
  color: #fff;
  background: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}
.gold::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}
.gold::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1080px, calc(100% - 48px));
  margin: -40px auto 0;
  padding-bottom: 100px;
}
.card {
  display: flex;
  flex-direction: column;
}
.card h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}
.card p { flex: 1; }
.card .gold { align-self: flex-start; }
.frame {
  position: relative;
  margin: 0;
  height: 210px;
  overflow: hidden;
  border: 4px solid var(--line);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.frame img.pos-group { object-position: center 34%; }
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  display: block;
}
.frame::before {
  left: 0;
  bottom: 0;
  border-right: 84px solid transparent;
  border-bottom: 26px solid var(--line);
}
.frame::after {
  top: 0;
  right: 0;
  border-bottom: 26px solid transparent;
  border-right: 84px solid var(--line);
}

.block-about {
  padding: 40px 0 120px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(19, 24, 78, 0.92), rgba(19, 72, 121, 0.78)),
    url("../assets/about.jpg") center / cover;
}
.about-in {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.block-about .para img { height: 560px; }

.block-works {
  padding: 110px 0 90px;
  color: #fff;
  text-align: center;
  background-image: linear-gradient(180deg, #13184e, #134879);
}
.block-works .lead { margin-top: 18px; }
.note {
  max-width: 46em;
  margin: 22px auto 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  text-align: left;
  font-size: 14px;
}
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}
blockquote {
  margin: 0;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.08);
}
blockquote p { font-size: 18px; font-weight: 500; line-height: 1.7; }
blockquote footer {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
blockquote footer span { color: var(--gold); }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.gallery .para { height: 340px; min-height: 0; }
.gallery .para img { height: 100%; object-position: center 40%; }
.block-flow {
  padding: 110px 0 100px;
  color: #fff;
  text-align: center;
  background: var(--deep);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.steps li {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 18px 12px 16px;
  border: 1px solid #fff;
  text-align: center;
}
.steps span {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.steps h3 { margin: 12px 0 8px; font-size: 16px; line-height: 1.45; }
.steps p { font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.block-flow .orange {
  margin-top: 36px;
  padding: 0.7em 2.8em;
  font-size: 20px;
}

.block-faq {
  padding: 100px 0 80px;
  background: var(--ice);
}
.narrow { width: min(840px, calc(100% - 48px)); }
.block-faq h2 .en { color: #d5dbe3; }
.faq-list { margin-top: 12px; text-align: left; }
.faq-list details { border-bottom: 1px solid var(--navy); }
.faq-list summary {
  position: relative;
  padding: 20px 36px 20px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
}
.faq-list details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq-a { padding: 0 0 22px; color: #3d4a5c; }
.unset-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  color: var(--orange);
  border: 1px solid var(--orange);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.block-contact {
  padding: 100px 0 88px;
  text-align: center;
  background: var(--ice);
}
.block-contact h2 .en { color: #d5dbe3; }
.contact-one { width: min(720px, calc(100% - 48px)); margin: 0 auto; }
.contact-lead p { margin: 18px auto 0; max-width: 36em; }
.contact-lead dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin-top: 28px;
}
.contact-lead div { display: flex; gap: 10px; align-items: baseline; }
.contact-lead dt { color: var(--gold); font-family: Jost, sans-serif; letter-spacing: 0.12em; }
.contact-form { margin-top: 36px; text-align: left; }
.form-note, .privacy-note { color: #5c6b7a; font-size: 13px; }
.field { margin-top: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.field label span, .field-check span span { color: var(--orange); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--navy);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.field-check input { width: auto; margin-top: 6px; }
.contact-form .orange {
  width: 100%;
  margin-top: 22px;
  min-height: 56px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
.form-status { margin-top: 14px; color: var(--blue); font-weight: 600; }

.gfooter {
  padding: 48px 0 28px;
  color: #fff;
  text-align: center;
  background-image: linear-gradient(180deg, #134879, #0a1726);
}
.footer-name { font-weight: 600; letter-spacing: 0.06em; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin-top: 18px;
}
.footer-contact div { display: flex; gap: 10px; align-items: baseline; }
.footer-contact dt { color: var(--gold); font-family: Jost, sans-serif; letter-spacing: 0.12em; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.footer-links a { border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.copy { margin-top: 28px; font-size: 12px; }

.js [data-reveal] { animation: rise 0.7s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .frame img { animation: none; transition: none; }
}

@media (max-width: 980px) {
  .gnav { display: none; }
  .menu-btn { display: block; }
  .logo img { height: 46px; }
  .hero {
    height: auto;
    min-height: 0;
    padding: calc(var(--header) + 28px) 0 0;
  }
  .hero-bg { position: absolute; inset: 0; height: 46%; }
  .hero-side, .catch-v { display: none; }
  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    padding: 12px 20px 8px;
    text-align: center;
  }
  .en-s { font-size: 18px; }
  .en-l {
    font-size: clamp(40px, 11.5vw, 54px);
    letter-spacing: 0.02em;
  }
  .jp { font-size: 13px; letter-spacing: 0.08em; }
  h2 .en {
    font-size: clamp(28px, 8.2vw, 56px);
    letter-spacing: 0.02em;
  }
  .hero-band {
    display: block;
    position: relative;
    margin-top: 18px;
  }
  .hero-band img {
    width: 100%;
    height: 42vh;
    min-height: 240px;
    object-fit: cover;
    object-position: 70% center;
    clip-path: polygon(0 16%, 100% 0, 100% 84%, 0 100%);
  }
  .catch {
    position: absolute;
    left: 8%;
    bottom: 18%;
    font-size: clamp(26px, 7vw, 36px);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }
  .hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: -28px auto 20px;
    transform: none;
  }
  .hero-card ul { flex-direction: column; gap: 6px; }
  .entry-bar { display: none; }
  .slash { clip-path: none; padding: 72px 0 48px; }
  .service-in,
  .about-in,
  .quotes,
  .cards,
  .gallery,
  .steps { grid-template-columns: 1fr; }
  .contact-one { width: min(720px, calc(100% - 32px)); }
  .para img,
  .block-about .para img {
    height: auto;
    aspect-ratio: 16 / 10;
    clip-path: none;
  }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery .para { height: auto; }
  .gallery .para img {
    height: auto;
    aspect-ratio: 16 / 10;
    clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  }
  .cards,
  .in,
  .narrow { width: min(1080px, calc(100% - 32px)); }
  .cards { margin-top: 28px; padding-bottom: 64px; }
  .block-about { padding-top: 64px; }
  .contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    display: flex;
    min-height: 58px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }
  .contact-bar.is-hidden { display: none; }
  .block-contact { padding-bottom: 58px; }
}
