:root {
  --navy: #12304a;
  --blue: #1f6fb2;
  --blue-soft: #e9f4fb;
  --green: #dff3ec;
  --green-deep: #2d8a73;
  --text: #1d2a34;
  --muted: #5d6f7c;
  --line: #d9e5ec;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 48, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 229, 236, 0.8);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(18, 48, 74, 0.08);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 39%, var(--white) 39%, var(--white) 61%, transparent 61%),
    linear-gradient(0deg, transparent 39%, var(--white) 39%, var(--white) 61%, transparent 61%),
    linear-gradient(135deg, var(--blue), var(--green-deep));
  box-shadow: 0 10px 22px rgba(31, 111, 178, 0.22);
}

.header-lines {
  display: grid;
  gap: 6px;
  width: 140px;
}

.header-lines span {
  height: 6px;
  border-radius: 999px;
  background: var(--blue-soft);
}

.header-lines span:nth-child(2) {
  width: 78%;
  justify-self: end;
  background: var(--green);
}

.header-lines span:nth-child(3) {
  width: 55%;
  justify-self: end;
}

.section {
  padding: 86px 0;
}

.section-tint {
  background: linear-gradient(180deg, #f7fbfd 0%, #f1f8f5 100%);
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(223, 243, 236, 0.9), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4fafc 55%, #edf8f3 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: center;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 4.5rem;
  line-height: 1.18;
  font-weight: 800;
}

h2 {
  margin-bottom: 32px;
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1.35;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.55;
}

h4 {
  margin: 24px 0 8px;
  color: var(--blue);
  font-size: 0.98rem;
}

p {
  margin-bottom: 14px;
  color: var(--muted);
}

.lead {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(31, 111, 178, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:nth-child(even) {
  background: var(--green-deep);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18, 48, 74, 0.18);
}

.hero-panel {
  position: relative;
  min-height: 420px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 250, 252, 0.82)),
    radial-gradient(circle at 26% 24%, rgba(223, 243, 236, 0.8), transparent 34%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(31, 111, 178, 0.12);
  border-radius: 8px;
}

.hero-panel::after {
  inset: 74px 66px;
  border-color: rgba(45, 138, 115, 0.18);
}

.hero-visual {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(18, 48, 74, 0.12);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(31, 111, 178, 0.16), rgba(223, 243, 236, 0.95));
}

.hero-visual-center {
  width: 148px;
  height: 148px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #f4fbf8);
}

.hero-visual-center::before {
  inset: 34px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 39%, var(--white) 39%, var(--white) 61%, transparent 61%),
    linear-gradient(0deg, transparent 39%, var(--white) 39%, var(--white) 61%, transparent 61%),
    linear-gradient(135deg, var(--blue), var(--green-deep));
}

.hero-visual-top,
.hero-visual-right,
.hero-visual-bottom {
  width: 112px;
  height: 82px;
}

.hero-visual-top {
  top: 58px;
  left: 68px;
}

.hero-visual-right {
  top: 130px;
  right: 54px;
}

.hero-visual-bottom {
  left: 72px;
  bottom: 58px;
}

.hero-flow {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(31, 111, 178, 0.2), rgba(45, 138, 115, 0.7));
  transform-origin: left center;
}

.hero-flow::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-deep);
}

.hero-flow-a {
  width: 150px;
  top: 151px;
  left: 176px;
  transform: rotate(28deg);
}

.hero-flow-b {
  width: 124px;
  top: 210px;
  left: 254px;
  transform: rotate(-5deg);
}

.hero-flow-c {
  width: 155px;
  left: 178px;
  bottom: 142px;
  transform: rotate(-29deg);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.flow-card,
.faq-item {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(18, 48, 74, 0.06);
}

.services-grid,
.reasons-grid,
.themes-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-list {
  display: grid;
  gap: 28px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.case-reverse .case-media {
  order: 2;
}

.case-media {
  min-height: 100%;
  background: var(--blue-soft);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7fbfd;
}

.case-body {
  padding: 32px;
}

.case-body h4:first-of-type {
  margin-top: 18px;
}

.flow-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.flow-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 42px;
  align-items: center;
}

.profile-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--blue-soft);
  box-shadow: var(--shadow);
}

.profile-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile-copy {
  padding: 18px 0;
}

.final-cta {
  background: linear-gradient(135deg, var(--navy), #1b6f88);
}

.final-inner {
  max-width: 860px;
  text-align: center;
}

.final-inner h2,
.final-inner p {
  color: var(--white);
}

.final-inner p {
  color: rgba(255, 255, 255, 0.86);
}

.final-inner .button-row {
  justify-content: center;
}

.site-footer {
  padding: 28px 0;
  background: var(--navy);
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.footer-inner span {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
}

@media (max-width: 900px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .case-card,
  .case-reverse,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .case-reverse .case-media {
    order: 0;
  }

  .card-grid,
  .services-grid,
  .reasons-grid,
  .themes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    min-height: 300px;
  }

  .hero-visual-center {
    width: 126px;
    height: 126px;
  }

  .hero-visual-top,
  .hero-visual-right,
  .hero-visual-bottom {
    width: 96px;
    height: 72px;
  }

  .hero-visual-top {
    top: 42px;
    left: 52px;
  }

  .hero-visual-right {
    top: 112px;
    right: 42px;
  }

  .hero-visual-bottom {
    left: 56px;
    bottom: 42px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 58px;
  }

  .header-lines {
    width: 86px;
  }

  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    margin-bottom: 24px;
    font-size: 1.72rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .card-grid,
  .services-grid,
  .reasons-grid,
  .themes-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .flow-card,
  .faq-item,
  .case-body {
    padding: 22px;
  }

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

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 230px;
  }

  .hero-panel::before {
    inset: 20px;
  }

  .hero-panel::after {
    inset: 48px 36px;
  }

  .hero-visual-center {
    width: 96px;
    height: 96px;
  }

  .hero-visual-center::before {
    inset: 23px;
  }

  .hero-visual-top,
  .hero-visual-right,
  .hero-visual-bottom {
    width: 76px;
    height: 56px;
  }

  .hero-visual-top {
    top: 30px;
    left: 30px;
  }

  .hero-visual-right {
    top: 86px;
    right: 28px;
  }

  .hero-visual-bottom {
    left: 34px;
    bottom: 30px;
  }

  .hero-flow {
    opacity: 0.6;
  }

  .hero-flow-a {
    width: 92px;
    top: 93px;
    left: 100px;
  }

  .hero-flow-b {
    width: 70px;
    top: 116px;
    left: 160px;
  }

  .hero-flow-c {
    width: 92px;
    left: 102px;
    bottom: 82px;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  html {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .site-header {
    position: static;
  }
}
