/* reform.html専用 カード詳細セクション・カード用スタイル＋全体レイアウト・ヒーロー・フロー等 */

.reform-title-section { text-align:center; margin: 2em 0 1.5em 0; padding-top: 90px; }
.reform-title-section h1 { color: #25629c; font-size: 2.2rem; font-weight: bold; letter-spacing: 0.05em; }
.reform-flow-section { background: #f4f8fb; border-radius: 16px; margin: 2em 0; padding: 2em 1em; }
.reform-step-list { display: flex; flex-direction: column; align-items: center; gap: 1.2em; margin: 2em 0 1em 0; }
.reform-step { display: flex; align-items: center; gap: 1em; }
.reform-step-circle { width: 60px; height: 60px; border-radius: 50%; background: #f6ad55; border: 2px solid #e2a03f; color: #fff; font-size: 1.5rem; font-weight: bold; display: flex; align-items: center; justify-content: center; }
.reform-step-label { color: #25629c; font-size: 1rem; margin: 0; text-align: left; min-width: 6em; }
.reform-problem-section h2,
.reform-solution-section h2,
.reform-flow-section h2 { color: #25629c; background: #eaf3fa; border-radius: 15px; border: 2px solid #25629c; display: inline-block; padding: 0.5em 2em; font-size: 1.3rem; font-weight: bold; margin-bottom: 1em; }
.reform-problem-list, .reform-solution-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5em; margin: 2em 0; }
.reform-problem, .reform-solution { background: #f4f8fb; border-radius: 12px; box-shadow: 0 2px 8px rgba(44,82,130,0.06); padding: 1.2em 1em; min-width: 220px; max-width: 260px; text-align: center; border: 2px solid #25629c; color: #25629c; }
.reform-problem { border-left: 8px solid #f6ad55; }
.reform-solution { border-left: 8px solid #7bc47f; }
.reform-goal-section { background: #f4f8fb; border-radius: 16px; text-align: center; margin: 2.5em 0 1.5em 0; padding: 2em 1em; border: 2px solid #25629c; color: #25629c; }
.reform-goal-section h2 { color: #25629c; font-size: 2rem; font-weight: bold; margin-bottom: 0.5em; }
.reform-current-section h2 { color: #25629c; font-size: 1.2rem; font-weight: bold; margin-bottom: 0.3em; }
@media (max-width: 700px) {
  .reform-problem-list, .reform-solution-list, .reform-step-list { flex-direction: column; gap: 1em; }
  .reform-problem, .reform-solution { min-width: 0; max-width: 100%; }
}
.hero-section {
  margin: 2em 0 2em 0;
  position: relative;
  text-align: center;
}
.hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 10em;
  margin-bottom: 1.5em;
  box-shadow: 0 4px 24px rgba(44,82,130,0.10);
}
.hero-text {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(37,98,156,0.75);
  padding: 1.5em 2em;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44,82,130,0.10);
  max-width: 90vw;
}
@media (max-width: 700px) {
  .hero-img {
    max-height: none;
    height: auto;
    border-radius: 10px;
  }
  .hero-text {
    position: static;
    transform: none;
    background: #25629c;
    color: #fff;
    margin-top: -2em;
    margin-bottom: 1em;
    padding: 1em 0.5em;
    border-radius: 10px;
    width: 95vw;
    max-width: 100%;
  }
  .hero-section {
    margin: 1em 0 1em 0;
  }
}
.flow-section {
  width: 100vw;
  max-width: 1400px;
  margin: 4em auto;
}
.flow-list-vertical {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin: 0;
  padding: 0;
  align-items: center;
}
.flow-step-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(44,82,130,0.08);
  padding: 2em 1.5em 2.2em 1.5em;
  margin: 0 0 1em 0;
  min-width: 0;
  width: 100%;
  max-width: 520px;
}
.flow-badge {
  margin-bottom: 0.5em;
  width: 2.5em;
  height: 2.5em;
  min-width: 2.5em;
  max-width: 2.5em;
  font-size: 1.2em;
  border-radius: 50%;
  background: #fbbf24;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px #f59e0b33;
}
.flow-title {
  width: 100%;
  margin: 0 0 0.3em 0;
  font-weight: bold;
  color: #25629c;
  font-size: 1.15em;
  text-align: center;
}
.flow-desc {
  width: 100%;
  margin: 0;
  color: #25629c;
  font-size: 1em;
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 600px) {
  body {
    font-size: 0.9em;
  }
  .hero-section {
    margin: 0.2em 0 0.2em 0;
  }
  .hero-img {
    margin-top: 1em;
    margin-bottom: 0.2em;
    border-radius: 6px;
  }
  .hero-text {
    position: static !important;
    top: unset !important;
    left: unset !important;
    transform: none !important;
    width: 95vw;
    max-width: 100%;
    padding: 1em 0.5em;
    font-size: 0.98em;
    line-height: 1.5;
    margin: 0.5em auto 0.5em auto;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .reform-title-section h1 {
    font-size: 1.05rem;
    line-height: 1.1;
    margin-bottom: 0.3em;
  }
  .reform-lead-section {
    font-size: 0.98em;
    margin: 0.5em 0;
  }
  .reform-lead-text {
    font-size: 0.95em;
    line-height: 1.3;
    margin: 0 0.1em;
  }
  .problem-section, .solution-section {
    display: block !important;
    padding: 0.2em 0.2em;
    margin: 0.5em 0 0.5em 0;
  }
  .problem-img, .solution-img {
    display: block;
    width: 80vw;
    max-width: 320px;
    margin: 0.2em auto 1em auto;
    border-radius: 10px;
  }
  .problem-section > div, .solution-section > div {
    width: 100%;
    margin: 0 auto;
  }
  .problem-section ul, .solution-section ul {
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0.2em 0 0 1.2em;
    padding: 0;
  }
  .problem-section li, .solution-section li {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 0.3em;
  }
  .problem-section p, .solution-section p {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 0.3em;
  }
  h2 {
    font-size: 1em !important;
    padding: 0.2em 0.4em !important;
    border-radius: 6px !important;
    margin-bottom: 0.5em !important;
  }
  .flow-section {
    padding: 0.5em 0.5em;
    background: #f4f8fb;
  }
  .flow-list-vertical {
    gap: 1em;
  }
  .flow-step-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,82,130,0.08);
    padding: 1em 0.7em 1.2em 0.7em;
    margin: 0 0 1em 0;
    min-width: 0;
  }
  .flow-badge {
    margin-bottom: 0.5em;
    width: 2em;
    height: 2em;
    min-width: 2em;
    max-width: 2em;
    font-size: 1.1em;
    border-radius: 50%;
    background: #fbbf24;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px #f59e0b33;
  }
  .flow-title {
    width: 100%;
    margin: 0 0 0.3em 0;
    font-weight: bold;
    color: #25629c;
    font-size: 1.08em;
    text-align: center;
  }
  .flow-desc {
    width: 100%;
    margin: 0;
    color: #25629c;
    font-size: 0.97em;
    text-align: center;
    line-height: 1.6;
  }
}
.reform-lead-section { text-align:center; margin:2.5em 0; font-size:1em; }
.reform-lead-text { font-size:1.2em; color:#25629c; line-height:1.8; margin:0 auto; }
.problem-section { display:flex; align-items:center; gap:3vw; margin:4em 0; font-size:1.1em; }
.problem-img { width:40vw; max-width:420px; border-radius:16px; }
.solution-section {
  background: #f7fbff;
  padding: 4em 1em;
  border-radius: 16px;
  margin: 4em 0;
  display: block;
}
.solution-header {
  display: flex;
  align-items: center;
  gap: 3em;
  margin-bottom: 2.5em;
  justify-content: center;
}
.solution-header .solution-img-bg {
  background: #f7fbff;
  padding: 2em;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-header .solution-img {
  width: 340px;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,82,130,0.10);
  background: none;
  display: block;
}
.solution-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
  color: #25629c;
}
.solution-lead {
  color: #25629c;
  font-size: 1.2rem;
  margin-bottom: 0;
}
.solution-cards {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.solution-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2em 1.5em;
  transition: box-shadow 0.2s;
  border: 2px solid #25629c;
  color: #25629c;
}
.solution-card:hover {
  box-shadow: 0 6px 24px rgba(37,98,156,0.12);
}
.solution-card-title {
  color: #25629c;
  font-size: 1.15em;
  margin-bottom: 0.7em;
}
.solution-card-list {
  margin-top: 0.7em;
  padding-left: 1.5em;
}
@media (max-width: 900px) {
  .solution-header {
    flex-direction: column;
    gap: 1.5em;
    text-align: center;
  }
  .solution-header .solution-img-bg {
    padding: 1em;
    margin: 0 auto 1em auto;
  }
  .solution-header .solution-img {
    width: 100%;
    max-width: 320px;
  }
}
@media (max-width: 700px) {
  .solution-section {
    padding: 2em 0.5em;
    margin: 2em 0;
  }
  .solution-cards {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  .solution-card {
    padding: 1em 0.5em;
  }
}
