@charset "UTF-8";

/* =========================
   Reset / Base
========================= */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #1f2b46;
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f5fa 100%);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

/* =========================
   Layout
========================= */
.site-header,
.page-main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 170px;
  height: auto;
}

.section {
  background: #ffffff;
  border-radius: 24px;
  padding: 64px 56px;
  margin-bottom: 28px;
  box-shadow:
    0 10px 30px rgba(20, 50, 90, 0.06),
    0 2px 8px rgba(20, 50, 90, 0.04);
  overflow: hidden;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, #f5f7fb 0%, #eef3f9 100%);
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.3;
  font-weight: 800;
  color: #1d2640;
  margin-bottom: 42px;
  letter-spacing: 0.01em;
}

/* =========================
   Hero
========================= */
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  min-height: 420px;
}

.hero-content {
  max-width: 530px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #142c63;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.18rem;
  color: #2f3d58;
  margin-bottom: 14px;
}

.hero-subtext {
  font-size: 0.98rem;
  color: #5f6f89;
  margin-bottom: 28px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2f88df 0%, #1767c8 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow:
    0 10px 22px rgba(32, 111, 206, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(32, 111, 206, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(40, 90, 150, 0.08));
}

/* =========================
   Cards
========================= */
.card-grid {
  display: grid;
  gap: 22px;
}

.card {
  background: #ffffff;
  border: 1px solid #e8eef7;
  border-radius: 18px;
  box-shadow:
    0 8px 20px rgba(31, 56, 94, 0.06),
    0 2px 6px rgba(31, 56, 94, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 28px rgba(31, 56, 94, 0.1),
    0 4px 12px rgba(31, 56, 94, 0.06);
}

.card-icon {
  margin: 0 auto;
}

/* =========================
   Problem Section
========================= */
.problem-grid {
  grid-template-columns: repeat(5, 1fr);
}

.problem-card {
  min-height: 190px;
  padding: 28px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.problem-card .card-icon {
  width: 68px;
  margin-bottom: 18px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
  color: #1f2b46;
}

/* =========================
   Diagnosis Section
========================= */
.diagnosis-section {
  text-align: center;
}

.diagnosis-image-wrap {
  display: flex;
  justify-content: center;
}

.diagnosis-image {
  width: min(100%, 700px);
  filter: drop-shadow(0 8px 18px rgba(31, 56, 94, 0.05));
}

/* =========================
   Service Section
========================= */
.service-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 56px;
}

.service-card {
  padding: 34px 24px 30px;
  text-align: center;
}

.service-icon {
  width: 84px;
  margin-bottom: 18px;
}

.service-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.4;
  color: #152a57;
  margin-bottom: 10px;
}

.service-detail {
  font-size: 1rem;
  color: #51627f;
  line-height: 1.8;
}

/* =========================
   Flow Section
========================= */
.flow-section {
  margin-top: 12px;
}

.flow-block-container {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  gap: 10px;
  align-items: center;
}

.flow-block {
  text-align: center;
  padding: 18px 12px;
}

.flow-icon {
  width: 76px;
  margin: 0 auto 16px;
}

.flow-title {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 800;
  color: #1d2640;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-arrow::before {
  content: "›";
  font-size: 3rem;
  line-height: 1;
  color: #2e79cf;
  font-weight: 300;
  transform: translateY(-2px);
}

/* =========================
   Check Section
========================= */
.check-block {
  display: flex;
  justify-content: center;
}

.check-list {
  list-style: none;
  padding: 0;
  max-width: 620px;
  width: 100%;
}

.check-list li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 18px;
  font-size: 1.18rem;
  font-weight: 700;
  color: #22314f;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #2f88df 0%, #1767c8 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(32, 111, 206, 0.22);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  .section {
    padding: 56px 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-button {
    margin: 0 auto;
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .flow-block-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .flow-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header,
  .page-main {
    width: min(100%, calc(100% - 20px));
  }

  .site-header {
    padding: 20px 0 14px;
  }

  .site-logo {
    width: 140px;
  }

  .section {
    padding: 42px 20px;
    border-radius: 18px;
    margin-bottom: 18px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-card {
    min-height: 160px;
    padding: 22px 14px 18px;
  }

  .problem-card .card-icon {
    width: 56px;
    margin-bottom: 14px;
  }

  .service-title {
    font-size: 1.45rem;
  }

  .flow-block-container {
    grid-template-columns: 1fr;
  }

  .flow-block {
    padding: 12px 0;
  }

  .flow-title {
    font-size: 1rem;
  }

  .check-list li {
    font-size: 1rem;
    padding-left: 38px;
  }
}

@media (max-width: 480px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-button {
    width: 100%;
    min-width: auto;
  }
}
