:root {
  --red: #e31f2f;
  --ink: #30343a;
  --muted: #727780;
  --line: #e6e2e0;
  --paper: #f4f4f4;
  --white: #ffffff;
  --dark: #090909;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 7vw, 150px);
  color: var(--white);
}

.logo {
  display: inline-grid;
  gap: 3px;
  min-width: 188px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.logo span {
  display: inline-block;
  border-bottom: 2px solid currentColor;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.logo small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.global-nav {
  display: flex;
  gap: clamp(20px, 4vw, 62px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 56, 82, 0.18), rgba(0, 0, 0, 0.34)),
    url("assets/hero-nikko.png"),
    linear-gradient(135deg, #14a6db 0%, #005b9f 48%, #f17428 100%);
  background-position: center;
  background-size: cover;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(90deg, rgba(0, 67, 105, 0.2), rgba(105, 39, 18, 0.16));
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(860px, calc(100% - 44px));
  margin-top: 20px;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.36);
}

.hero-kicker {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(39px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 span,
.intro-panel h2 span,
.message-heading h2 span {
  display: block;
}

.hero p {
  margin-inline: auto;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.6vw, 18px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  text-shadow: none;
}

.button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.button.white {
  color: var(--red);
  background: var(--white);
  border-color: var(--white);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section-pad {
  padding: clamp(72px, 9vw, 138px) clamp(22px, 8vw, 176px);
}

.section-label {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 0;
  align-items: stretch;
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
}

.intro::before {
  content: "";
  position: absolute;
  left: -96px;
  bottom: -96px;
  width: 192px;
  height: 192px;
  background: var(--red);
  transform: rotate(45deg);
}

.intro-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: clamp(72px, 9vw, 130px) clamp(34px, 8vw, 150px);
  color: var(--white);
  background: var(--red);
}

.intro-panel .section-label,
.intro-panel p {
  color: var(--white);
}

.intro-panel h2 {
  max-width: 560px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
}

.intro-panel p {
  max-width: 520px;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

.news-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 130px) clamp(34px, 8vw, 150px);
  background: var(--white);
}

.news-panel dl {
  margin: 0;
}

.news-panel div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.news-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.photo-band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  margin-top: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.band-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
    url("assets/service-bridge.webp"),
    linear-gradient(135deg, #19a6d7 0%, #1169a8 50%, #ee732c 100%);
  background-position: center 52%;
  background-size: cover;
}

.photo-band h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.services {
  position: relative;
  display: grid;
  gap: clamp(60px, 7vw, 100px);
  background: var(--white);
}

.services::after {
  content: "";
  position: absolute;
  right: -82px;
  top: 48%;
  width: 164px;
  height: 164px;
  background: var(--red);
  transform: rotate(45deg);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-image {
  min-height: 245px;
  background: var(--paper);
  border: 1px solid var(--line);
  background-position: center;
  background-size: cover;
}

.image-stock {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(227, 31, 47, 0.04)),
    url("assets/service-office.png");
  background-position: center, 58% center;
  background-size: cover, cover;
}

.image-season {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(227, 31, 47, 0.08)),
    url("assets/service-autumn.webp"),
    linear-gradient(135deg, #17a2d1, #f08231);
  background-position: center, center, center;
  background-size: cover, cover, cover;
}

.image-shelf {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(227, 31, 47, 0.04)),
    url("assets/service-delivery.png");
  background-position: center, center;
  background-size: cover, cover;
}

.service-text {
  max-width: 620px;
}

.outline-button {
  margin-top: 18px;
  color: var(--red);
  background: transparent;
}

.message {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(36px, 7vw, 98px);
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.message-heading h2 {
  max-width: 560px;
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.55;
}

.message-heading {
  text-align: center;
}

.message-heading h2 span {
  white-space: nowrap;
}

.message-portrait {
  margin: 28px auto 0;
  max-width: 190px;
}

.message-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.message-body {
  padding: clamp(28px, 4vw, 46px) 0 clamp(28px, 4vw, 46px) clamp(28px, 5vw, 72px);
  border-left: 1px solid var(--line);
}

.message-body p {
  max-width: 720px;
  margin-bottom: 20px;
  color: #4d535b;
  font-size: 15px;
  line-height: 2.05;
}

.message-body .signature {
  margin-top: 34px;
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.flow {
  text-align: center;
  background: #f5f5f5;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 46px auto 0;
  padding: 0;
  list-style: none;
}

.flow-grid li {
  position: relative;
  min-height: 230px;
  padding: 54px 30px 34px;
  background: var(--white);
  border: 1px solid var(--line);
}

.flow-grid span {
  position: absolute;
  left: 50%;
  top: -26px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: transparent;
  background: var(--red);
  transform: translateX(-50%) rotate(45deg);
  font-size: 12px;
  font-weight: 800;
}

.flow-grid li span::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  transform: rotate(-45deg);
}

.flow-grid li:nth-child(1) span::after {
  content: "01";
}

.flow-grid li:nth-child(2) span::after {
  content: "02";
}

.flow-grid li:nth-child(3) span::after {
  content: "03";
}

.flow-grid h3 {
  font-size: 19px;
}

.flow-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.company {
  text-align: center;
  background: var(--white);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 28px;
  max-width: 1120px;
  margin: 42px auto 0;
  text-align: left;
}

.company dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company dt {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.company dd {
  margin: 0;
}

.company iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.2);
}

.cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 22px;
  overflow: hidden;
  background: #f7f7f7;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: var(--red);
  transform: rotate(45deg);
}

.cta::before {
  left: -190px;
  top: 18px;
}

.cta::after {
  right: -165px;
  bottom: -120px;
}

.cta-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 38px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
}

.cta-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cta-card h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.5vw, 44px);
}

.footer {
  padding: 30px 22px;
  color: var(--white);
  text-align: center;
  background: var(--dark);
}

.footer p,
.footer small {
  margin: 0;
  color: var(--white);
}

.footer p {
  font-size: 13px;
  letter-spacing: 0.1em;
}

.footer small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    padding: 20px 22px;
  }

  .global-nav {
    gap: 16px;
    overflow-x: auto;
    max-width: 62vw;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 680px;
  }

  .intro,
  .service-row,
  .message,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .intro-panel {
    width: 100%;
    max-width: none;
    padding: 72px 48px;
  }

  .news-panel {
    padding: 64px 48px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .message-body {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .logo span {
    font-size: 19px;
  }

  .global-nav {
    display: none;
  }

  .hero {
    min-height: 620px;
    place-items: end center;
    padding-bottom: 86px;
    background-position: center top;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.22;
  }

  .hero h1 span,
  .intro-panel h2 span,
  .message-heading h2 span {
    display: inline;
  }

  .hero h1 span::after,
  .intro-panel h2 span::after,
  .message-heading h2 span::after {
    content: "";
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .button,
  .outline-button {
    width: 100%;
  }

  .section-pad {
    padding: 70px 22px;
  }

  .intro.section-pad {
    min-height: 0;
    padding: 0;
  }

  .intro-panel {
    padding: 62px 22px;
    max-width: none;
  }

  .news-panel {
    padding: 54px 22px;
  }

  .news-panel div,
  .company dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service-image {
    min-height: 210px;
  }

  .services::after {
    width: 104px;
    height: 104px;
    right: -70px;
  }

  .company iframe {
    min-height: 300px;
  }

  .cta-card {
    padding: 42px 22px;
  }
}
