
:root{
  --bg-main:#f7f9f7;
  --bg-accent:#6bb6c9;
  --bg-card:#ffffff;
  --bg-red:#F6897A;
  --text-main:#243333;
  --text-sub:#4a6b6b;
  --radius:16px;
}

*{box-sizing:border-box;}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  color:var(--text-main);
  background:var(--bg-main);
  line-height:1.9;
}

section{
  padding:30px 20px;
}

.container{
  max-width:960px;
  margin:0 auto;
}

.hero{
  background:
    linear-gradient(120deg, rgba(238,245,244,0.9), rgba(249,250,247,0.9)),
    url('img/selection-process.png');
  background-size: cover;
  background-position: center;
  text-align:center;
  padding:80px 20px;
}

.hero h1{
  font-size:clamp(24px,5vw,36px);
  font-weight:700;
  margin-bottom:16px;
  line-height:1.5;
}

.hero p{
  color:var(--text-sub);
  font-size:16px;
  margin-bottom:8px;
}

.buttons{
  margin-top:32px;
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}

.button{
  background:#4fa3b8;
  color:#fff;
  padding:12px 24px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  transition:background 0.3s ease;
}

.button:hover{
  background:#3d8a9d;
}

.section-accent{
  background:var(--bg-accent);
  color:#fff;
}

.section-light{
  background:#ffffff;
}

.cards{
  display:grid;
  gap:20px;
  margin-top:32px;
}

.card{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.card h3{
  margin-top:0;
  margin-bottom:12px;
  font-size:18px;
  color:var(--text-main);
}

.card p {
  margin: 12px 0 0;
  font-size:15px;
  line-height:1.8;
  color:#4a6b6b;
}

.card ul {
  margin:16px 0;
  padding-left:24px;
}

.card ul li {
  margin-bottom:8px;
  color:var(--text-sub);
}

.highlight {
  color:#4a6b6b; 
}

.section-title{
  font-size:clamp(26px,4vw,28px);
  font-weight:700;
  margin-bottom:16px;
  text-align:center;
}

.section-subtitle{
  font-size:16px;
  color:var(--text-sub);
  margin-bottom:32px;
}

.quote-box{
  background:#eef5f4;
  border-left:4px solid var(--bg-accent);
  padding:24px;
  border-radius:var(--radius);
  margin:24px 0;
}

.quote-box p{
  margin:0 0 8px 0;
  font-size:16px;
  font-weight:500;
  color:var(--text-main);
}

.quote-box strong{
  display:block;
  margin-top:12px;
  color:var(--text-main);
}

.list-styled{
  list-style:none;
  padding:0;
  margin:24px 0;
}

.list-styled li{
  padding:8px 0 8px 28px;
  position:relative;
  color:var(--text-sub);
}

.list-styled li::before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--bg-accent);
  font-weight:bold;
}

.content-block{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:32px;
  margin-bottom:24px;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
}

.content-block h3{
  font-size:20px;
  margin-bottom:16px;
  color:var(--text-main);
}

.content-block p{
  margin:12px 0;
  color:var(--text-sub);
}

.stage{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:32px;
  margin-bottom:24px;
  border-left:4px solid var(--bg-accent);
  box-shadow:0 4px 16px rgba(0,0,0,.04);
}

.stage-1{
  border-left-color:#4a90e2;
  background:linear-gradient(to right, rgba(74,144,226,0.03) 0%, var(--bg-card) 100%);
}

.stage-2{
  border-left-color:#50c878;
  background:linear-gradient(to right, rgba(80,200,120,0.03) 0%, var(--bg-card) 100%);
}

.stage-3{
  border-left-color:#ff9f43;
  background:linear-gradient(to right, rgba(255,159,67,0.03) 0%, var(--bg-card) 100%);
}

.stage-title{
  font-size:20px;
  font-weight:700;
  color:var(--bg-accent);
  margin-bottom:16px;
}

.stage-1 .stage-title{
  color:#4a90e2;
}

.stage-2 .stage-title{
  color:#50c878;
}

.stage-3 .stage-title{
  color:#ff9f43;
}

.lesson{
  margin-bottom:16px;
  padding:0;
  border:none;
}

.lesson:last-child{
  margin-bottom:0;
}

.lesson-title{
  font-size:16px;
  font-weight:700;
  padding:16px 20px;
  background:#f8fafa;
  border-radius:8px;
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  transition:all 0.2s ease;
  border:1px solid #e8eeee;
}

.lesson-title:hover{
  background:#eef5f4;
  border-color:#d0e0df;
}

.lesson[open] .lesson-title{
  background:#eef5f4;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
  border-bottom-color:transparent;
}

.lesson-title::-webkit-details-marker{
  display:none;
}

.lesson-title::before{
  content:'▶';
  display:inline-block;
  margin-right:12px;
  color:var(--bg-accent);
  transition:transform 0.2s ease;
  font-size:12px;
}

.lesson[open] .lesson-title::before{
  transform:rotate(90deg);
}

.lesson-number{
  display:inline-block;
  background:var(--bg-accent);
  color:white;
  padding:4px 12px;
  border-radius:16px;
  font-size:13px;
  margin-right:12px;
  font-weight:600;
}

.stage-1 .lesson-number{
  background:#4a90e2;
}

.stage-2 .lesson-number{
  background:#50c878;
}

.stage-3 .lesson-number{
  background:#ff9f43;
}

.lesson-content{
  padding:20px;
  background:white;
  border:1px solid #e8eeee;
  border-top:none;
  border-bottom-left-radius:8px;
  border-bottom-right-radius:8px;
}

.lesson-content p{
  font-size:15px;
  color:var(--text-sub);
  margin:0;
}

.price-card{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:48px 32px;
  text-align:center;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  max-width:600px;
  margin:0 auto;
}

.price{
  font-size:clamp(32px,6vw,48px);
  font-weight:700;
  color:var(--bg-accent);
  margin:24px 0;
}

.price-details{
  font-size:16px;
  color:var(--text-sub);
  margin-bottom:24px;
}

.target-grid{
  display:grid;
  gap:20px;
  margin-top:32px;
}

.target-card{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.target-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.target-card::before{
  content:'✓';
  display:inline-block;
  width:32px;
  height:32px;
  background:var(--bg-accent);
  color:#fff;
  border-radius:50%;
  text-align:center;
  line-height:32px;
  margin-bottom:12px;
  font-weight:bold;
}

.target-card p{
  margin:0;
  font-size:15px;
  color:var(--text-sub);
}

.target-card-single{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  margin-top:32px;
}

.target-list{
  list-style:none;
  padding:0;
  margin:0;
}

.target-list li{
  padding:12px 0 12px 48px;
  position:relative;
  font-size:15px;
  color:var(--text-sub);
  border-bottom:1px solid #e8eeee;
}

.target-list li:last-child{
  border-bottom:none;
}

.target-list li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:8px;
  width:32px;
  height:32px;
  background:var(--bg-red);
  color:#fff;
  border-radius:50%;
  text-align:center;
  line-height:32px;
  font-weight:bold;
}

/* 診断ブロック */
.section-diagnosis {
  padding: 64px 20px;
}

.diagnosis-wrap {
  display: grid;
  gap: 24px;
  align-items: center;
}

.diagnosis-media img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px; /* 丸抜き */
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: block;
}

.diagnosis-lead {
  margin-top: 10px;
  line-height: 1.8;
}

.diagnosis-sub {
  margin-top: 18px;
  font-weight: 700;
}

.diagnosis-list {
  margin-top: 10px;
  padding-left: 18px;
  line-height: 1.9;
}

.diagnosis-cta {
  display: inline-block;
  margin-top: 18px;
}

.diagnosis-note {
  margin-top: 12px;
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.7;
}

.message-detail {
  background: #f6f8fb;
  padding: 16px;
  border-radius: 8px;
}



/* PCで左右配置 */
@media (min-width: 768px) {
  .diagnosis-wrap {
    grid-template-columns: 340px 1fr;
    gap: 36px;
  }

  .diagnosis-media img {
    max-width: 340px;
  }
}


.curriculum-info{
  background:#eef5f4;
  border-radius:var(--radius);
  padding:24px;
  margin-bottom:24px;
}

.curriculum-info h4{
  font-size:18px;
  font-weight:700;
  margin-bottom:16px;
  color:var(--text-main);
}

.curriculum-info ul{
  list-style:none;
  padding:0;
  margin:0;
}

.curriculum-info ul li{
  padding:6px 0 6px 24px;
  position:relative;
  color:var(--text-sub);
  font-size:15px;
}

.curriculum-info ul li::before{
  content:'▸';
  position:absolute;
  left:0;
  color:var(--bg-accent);
}

.curriculum-timeline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:800px;
  margin:0 auto 48px;
  position:relative;
  padding:0 20px;
}

.curriculum-timeline::before{
  content:'';
  position:absolute;
  top:30px;
  left:20%;
  right:20%;
  height:2px;
  background:linear-gradient(to right, #4a90e2, #50c878, #ff9f43);
  z-index:0;
}

.timeline-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  position:relative;
  z-index:1;
}

.timeline-marker{
  width:60px;
  height:60px;
  border-radius:50%;
  border:4px solid white;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
  margin-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:white;
  font-size:18px;
}

.stage-1-marker{
  background:#4a90e2;
}

.stage-2-marker{
  background:#50c878;
}

.stage-3-marker{
  background:#ff9f43;
}

.timeline-label{
  font-size:15px;
  font-weight:600;
  color:var(--text-main);
  line-height:1.4;
}

.timeline-label span{
  font-size:13px;
  color:var(--text-sub);
  font-weight:400;
}

@media (max-width:768px){
  .curriculum-timeline{
    padding:0 10px;
    margin-bottom:40px;
  }

  .curriculum-timeline::before{
    left:15%;
    right:15%;
  }

  .timeline-marker{
    width:50px;
    height:50px;
    font-size:14px;
  }

  .timeline-label{
    font-size:13px;
  }

  .timeline-label span{
    font-size:11px;
  }
}

.message-card{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:48px 32px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.message-card h2{
  font-size:clamp(22px,4vw,28px);
  margin-bottom:24px;
}

.message-card p{
  font-size:16px;
  line-height:2;
  color:var(--text-sub);
  margin:16px 0;
}

.cta-button{
  display:block;
  padding:24px 72px;
  background:#ff6b35;
  color:#fff;
  text-decoration:none;
  text-align:center;
  border-radius:999px;
  font-weight:700;
  font-size:20px;
  margin:40px auto 0;
  transition:background 0.3s ease, transform 0.3s ease;
  box-shadow:0 8px 24px rgba(255,107,53,0.3);
  max-width:400px;
}

.cta-button:hover{
  background:#e85a28;
  transform:translateY(-2px);
  box-shadow:0 12px 32px rgba(255,107,53,0.4);
}

footer{
  background:var(--text-main);
  color:#fff;
  text-align:center;
  padding:48px 20px;
}

footer p{
  margin:0;
  opacity:0.8;
  font-size:14px;
}

.difference-section{
  display:flex;
  flex-direction:column;
  gap:24px;
  margin-bottom:24px;
}

.difference-image{
  width:100%;
  border-radius:var(--radius);
  box-shadow:0 4px 16px rgba(0,0,0,.06);
}

.difference-content{
  flex:1;
}

.selection-process-section{
  display:flex;
  flex-direction:column;
  gap:32px;
  margin-bottom:24px;
}

.selection-process-image{
  width:100%;
}

.selection-process-image img{
  width:100%;
  border-radius:var(--radius);
  box-shadow:0 4px 16px rgba(0,0,0,.06);
}

.selection-process-content h3{
  font-size:clamp(20px,4vw,24px);
  font-weight:700;
  margin-bottom:24px;
  color:var(--text-main);
  line-height:1.6;
}

.process-steps{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin:24px 0;
}

.process-step{
  display:flex;
  align-items:flex-start;
  gap:16px;
  background:#f0f7f9;
  padding:20px;
  border-radius:12px;
}

.step-icon{
  flex-shrink:0;
}

.step-content h4{
  font-size:16px;
  font-weight:700;
  margin:0 0 8px 0;
  color:var(--text-main);
}

.step-content p{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:var(--text-sub);
}

.quote-box-blue{
  background:#d4e8ed;
  border-radius:var(--radius);
  padding:24px;
  margin:24px 0;
}

.quote-box-red{
  background:var(--bg-red);
  border-radius:var(--radius);
  padding:24px;
  margin:24px 0;
}

.quote-box-blue p{
  margin:0;
  font-size:15px;
  line-height:1.9;
  color:var(--text-main);
}

.quote-box-blue strong{
  font-weight:700;
}

.selection-process-content > p{
  margin:16px 0 0;
  font-size:15px;
  line-height:1.9;
  color:var(--text-sub);
}

@media(min-width:768px){
  .cards{
    grid-template-columns:repeat(3,1fr);
  }
  .target-grid{
    grid-template-columns:repeat(2,1fr);
  }
  section{
    padding:96px 32px;
  }
  .hero{
    padding:120px 32px;
  }
  .difference-section{
    flex-direction:row;
    align-items:flex-start;
  }
  .difference-image{
    width:40%;
    min-width:300px;
    flex-shrink:0;
  }
  .selection-process-section{
    flex-direction:row;
    align-items:flex-start;
    gap:48px;
  }
  .selection-process-image{
    width:40%;
    min-width:350px;
    flex-shrink:0;
  }
  .selection-process-content{
    flex:1;
  }
}
