:root {
  --red: #d9342b;
  --red-dark: #b8231b;
  --ink: #101820;
  --navy: #102335;
  --muted: #5e6974;
  --line: #dfe4e8;
  --soft: #f4f6f7;
  --white: #ffffff;
  --content: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .8rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip:focus { top: 1rem; }

.header {
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}

.header__inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 181px;
  height: auto;
  display: block;
}

.header__link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: 0 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.header__link:hover,
.header__link:focus-visible {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.hero {
  min-height: 690px;
  display: flex;
  overflow: hidden;
}

.hero__content {
  flex: 0 0 60%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 64px;
}

.hero__content-inner {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  line-height: 1.14;
  letter-spacing: -.055em;
  word-break: keep-all;
  overflow-wrap: normal;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

h1 br { display: none; }

.hero__lead {
  max-width: 36rem;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 2;
  word-break: keep-all;
  overflow-wrap: normal;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 0 1.7rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(217, 52, 43, .2);
}

.button--primary:hover,
.button--primary:focus-visible { background: var(--red-dark); }

.button--secondary { border: 1px solid var(--line); }

.button--secondary:hover,
.button--secondary:focus-visible { box-shadow: 0 10px 28px rgba(16, 24, 32, .08); }

.external-note {
  margin: 16px 0 0;
  color: #7b858f;
  font-size: .78rem;
}

.hero__visual {
  flex: 0 0 40%;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(217,52,43,.96), rgba(177,31,24,.91)),
    var(--red);
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

.hero__visual::before {
  width: 520px;
  height: 520px;
  top: -170px;
  right: -170px;
}

.hero__visual::after {
  width: 280px;
  height: 280px;
  top: -48px;
  right: -48px;
}

.hero__word {
  position: absolute;
  left: 52px;
  top: 62px;
  margin: 0;
  color: rgba(255,255,255,.11);
  font: 900 clamp(6rem, 11vw, 11rem)/.78 Arial, sans-serif;
  letter-spacing: -.07em;
  writing-mode: vertical-rl;
}

.hero__stamp {
  position: relative;
  z-index: 1;
  max-width: 320px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.55);
}

.hero__stamp strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: .05em;
}

.hero__stamp span {
  font-size: .88rem;
  line-height: 1.8;
  opacity: .86;
}

.identity {
  padding: 112px 24px;
  background: var(--soft);
}

.identity__inner {
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.section-label {
  margin: 0 0 22px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.45;
  letter-spacing: -.025em;
}

.identity__text {
  max-width: 690px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.links {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 104px 0 112px;
}

.links__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 38px;
}

.links__heading p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.link-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.link-card:hover,
.link-card:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.link-card__number {
  color: var(--red);
  font: 700 .75rem/1 Arial, sans-serif;
  letter-spacing: .14em;
}

.link-card strong {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.link-card__arrow { font-size: 1.45rem; font-weight: 400; }

.operator {
  color: var(--white);
  background: var(--navy);
}

.operator__inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 68px 0;
}

.operator__label {
  margin: 0 0 12px;
  color: #9eabb6;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.operator h2 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); }

.operator p {
  margin: 13px 0 0;
  color: #bdc7cf;
  font-size: .9rem;
  line-height: 1.8;
}

.operator__email {
  color: var(--white);
  text-underline-offset: .2em;
}

.operator .button {
  min-width: 230px;
  border-color: rgba(255,255,255,.32);
  color: var(--white);
}

.operator .button:hover,
.operator .button:focus-visible { background: rgba(255,255,255,.08); }

.footer {
  padding: 28px 24px;
  color: #707b84;
  background: #09131d;
  text-align: center;
  font-size: .75rem;
}

:focus-visible { outline: 3px solid #f4b41a; outline-offset: 3px; }

@media (max-width: 1200px) {
  .hero { display: block; min-height: 0; }
  .hero__content { padding: 74px 32px 68px; justify-content: flex-start; }
  .hero__content-inner { max-width: 720px; }
  .hero__visual { min-height: 310px; padding: 34px 32px; }
  .hero__word { left: auto; right: 22px; top: 28px; writing-mode: initial; font-size: clamp(5rem, 23vw, 8rem); }
  .hero__stamp { max-width: 290px; }
  .identity { padding: 86px 24px; }
  .links__heading { display: block; }
  .links__heading p { margin-top: 18px; }
  .link-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 150px; }
  .operator__inner { grid-template-columns: 1fr; }
  .operator .button { width: 100%; }
}

@media (max-width: 540px) {
  .header { height: 70px; }
  .header__inner { width: min(calc(100% - 32px), var(--content)); }
  .logo img { width: 142px; }
  .header__link {
    width: 76px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }
  .header__link::after { content: "公式 ↗"; font-size: .78rem; }
  .hero__content { padding: 60px 20px 56px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .headline-line { white-space: normal; }
  .hero__lead br { display: none; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero__visual { min-height: 280px; padding: 30px 20px; }
  .hero__word { right: 12px; top: 24px; }
  .identity { padding: 72px 20px; }
  .links { width: min(calc(100% - 40px), var(--content)); padding: 76px 0 84px; }
  .operator__inner { width: min(calc(100% - 40px), var(--content)); padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
