/* hiro 関係代名詞セミナーページ */
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700;800&family=Open+Sans:wght@400;600;700;800&display=swap");

:root {
  --navy: #10233f;
  --navy-deep: #09182c;
  --blue: #1867d8;
  --blue-dark: #0e52b6;
  --sky: #eaf3ff;
  --ink: #142033;
  --muted: #637087;
  --line: #dbe4ef;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --shadow: 0 30px 80px rgba(16, 35, 63, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(219, 228, 239, 0.8);
  background: rgba(255, 255, 255, 0.94);
}
.site-header__inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 13px;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand__name { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.header-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 112px;
  background: linear-gradient(180deg, #fbfdff 0%, var(--wash) 100%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__glow { position: absolute; border-radius: 999px; pointer-events: none; }
.hero__glow--one {
  width: 420px;
  height: 420px;
  top: -190px;
  left: -160px;
  background: radial-gradient(circle, rgba(91, 164, 255, 0.16), rgba(91, 164, 255, 0));
}
.hero__glow--two {
  width: 560px;
  height: 560px;
  right: -230px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(42, 102, 190, 0.12), rgba(42, 102, 190, 0));
}
h1, h2, p { text-wrap: pretty; }
h1, h2 { font-family: "Fira Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif; }
.eyebrow,
h1 {
  font-family: "Fira Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.eyebrow {
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.32em;
  color: var(--navy);
}
.eyebrow span { color: var(--blue); }
h1 {
  margin: 0;
  color: var(--navy);
}
h1 span { display: block; color: var(--blue); font-size: 1em; letter-spacing: inherit; }
.hero__lead {
  margin: 24px auto 46px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.mobile-break { display: none; }

.video-card {
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
  text-align: left;
  background: var(--paper);
  border: 1px solid rgba(219, 228, 239, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__footer {
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.resource-label, .resource-title { margin: 0; }
.resource-label { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 0.18em; }
.resource-title { color: var(--navy); font-size: 16px; font-weight: 700; }

.button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .footer-nav a:focus-visible, .brand:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}
.button--primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(24, 103, 216, 0.22); }
.button--primary:hover { background: var(--blue-dark); }
.button__arrow { font-size: 18px; line-height: 1; }
.video-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; }

.about { position: relative; padding: 112px 0; color: #fff; background: var(--navy); }
.about::after {
  content: "PRACTICE";
  position: absolute;
  right: 3vw;
  bottom: -0.16em;
  color: rgba(255, 255, 255, 0.035);
  font-family: Arial, sans-serif;
  font-size: clamp(90px, 14vw, 210px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
}
.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 92px;
}
.section-number {
  width: 48px;
  height: 48px;
  margin: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.section-kicker { margin: 0 0 12px; color: #86b7ff; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.about h2 { margin: 0; font-size: clamp(29px, 4vw, 46px); line-height: 1.4; letter-spacing: -0.025em; }
.about__body { padding-top: 70px; }
.about__body p { color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 2; }
.about__body .about__intro {
  margin-top: 0;
  color: #fff;
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 600;
  line-height: 1.9;
}
.about__intro strong { color: #9bc4ff; }
.text-link {
  margin-top: 28px;
  padding: 16px 0;
  display: inline-flex;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 180ms ease, gap 180ms ease;
}
.text-link:hover { gap: 50px; border-color: #fff; }
.text-link__arrow { color: #9bc4ff; font-size: 19px; }

.closing { padding: 104px 0; text-align: center; background: #fff; }
.closing__inner { max-width: 760px; }
.closing__eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; }
.closing h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.45;
  letter-spacing: -0.035em;
}
.closing p:not(.closing__eyebrow) { margin: 22px 0 34px; color: var(--muted); }
.button--light { color: var(--blue); background: var(--sky); }
.button--light:hover { background: #dcecff; }

.site-footer { color: rgba(255, 255, 255, 0.58); background: var(--navy-deep); }
.site-footer__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-footer p { margin: 0; font-size: 12px; }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-size: 12px; text-decoration: none; transition: color 180ms ease; }
.footer-nav a:hover { color: #fff; }

@media (max-width: 760px) {
  .container, .site-header__inner { width: min(100% - 32px, 1120px); }
  .site-header__inner { min-height: 66px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
  .brand__name { max-width: 160px; font-size: 11px; line-height: 1.45; }
  .header-label { display: none; }
  .hero { padding: 60px 0 78px; }
  .eyebrow,
  h1 { font-size: clamp(30px, 10vw, 46px); }
  .mobile-break { display: initial; }
  .hero__lead { margin: 20px auto 34px; font-size: 16px; }
  .video-card { border-radius: 17px; }
  .video-card__footer { padding: 20px; align-items: stretch; flex-direction: column; gap: 16px; }
  .resource-title { font-size: 14px; }
  .button { width: 100%; }
  .about { padding: 78px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 18px; }
  .section-number { margin-bottom: 22px; }
  .about__body { padding-top: 10px; }
  .about__body p { font-size: 15px; }
  .about__body .about__intro { font-size: 18px; }
  .closing { padding: 76px 0; }
  .site-footer__inner { padding: 26px 0; align-items: flex-start; flex-direction: column-reverse; gap: 18px; }
  .footer-nav { flex-wrap: wrap; gap: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
