.acbtn-c-wrap {
    margin: 0;
}

/*学習の流れ*/
.flow-section {
  width: 100%;
  max-width: 1200px; 
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.flow-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 15px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.flow-header {
  margin-bottom: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-label {
  display: inline-block;
  background-color: #e3f2fd;
  color: #0071be;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: #0071be;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
}

.flow-title {
  font-weight: bold;
  margin: 0 0 8px 0;
}

.flow-text {
  line-height: 1.5;
  margin: 0;
}

.flow-arrow {
  color: #0071be;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .flow-container {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 5px;
  }

  .flow-card {
    flex: 1;
    max-width: 260px;
    padding: 25px 5px;
  }
  
  .flow-card:hover {
    transform: translateY(-5px);
  }

  .flow-arrow {
    width: auto;
    height: auto;
  }

  .flow-arrow svg {
    transform: rotate(0deg);
    width: 20px;
    height: 20px;
  }
}


/*ルネ高のネット学習が選ばれる理由*/
.merit-section {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 1.4;
}

.sub-title {
  display: block;
  font-size: 16px;
  font-weight: normal;
  margin-top: 10px;
}

.merit-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.merit-card {
  background: #fff;
  border: 1px solid #c2dcf1;
  border-radius: 12px;
  padding: 25px 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}

.merit-header {
  text-align: center;
  margin-bottom: 20px;
}

.point-badge {
  display: inline-block;
  color: #0071be;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid #0071be;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.merit-title {
  font-weight: bold;
  margin: 0;
}

.merit-icon-area {
  text-align: center;
  color: #0071be;
  margin-bottom: 20px;
}
.merit-icon-area svg {
  width: 60px;
  height: 60px;
  opacity: 0.8;
}

.merit-desc {
  margin-bottom: 20px;
}

.merit-list {
  list-style: none;
  padding: 0 10px 0 15px;
  margin: 0;
}

.merit-list li {
  position: relative;
  padding-left: 25px; 
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.merit-list li::before {
  content: ''; 
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 14px;
  border-right: 2px solid #0071be;
  border-bottom: 2px solid #0071be;
  transform: rotate(45deg);
}
.merit-list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .merit-container {
    flex-direction: row; 
    align-items: stretch;
  }

  .merit-card {
    flex: 1;
    padding: 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

/*学習教材について*/
.material-section {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.material-container {
  display: flex;
  flex-direction: column;
  gap: 40px; 
}

.material-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.material-visual {
  width: 100%;
  height: 120px;
  background-color: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
}


.dummy-screen {
  width: 100%;
  height: 100%;
  background: #6c757d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}
.dummy-screen.sapuri-color {
  background: #004098;
}
.dummy-screen span {
  margin-top: 10px;
  letter-spacing: 0.1em;
}

.material-info {
  padding: 25px 10px;
  flex: 1;
}

.badge-area {
  margin-bottom: 10px;
}
.badge-option {
  background-color: #f39c12;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
}

.material-name {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.material-lead {
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
  line-height: 1.5;
  display: inline-block;
}

.highlight-num {
  color: #e74c3c;
}

.material-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.material-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.material-list li {
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .material-card {
    flex-direction: row;
    align-items: stretch;
  }

  .material-visual {
    width: 40%;
    height: auto;
  }
  
  .material-info {
    width: 60%;
    padding: 20px;
  }
}


/*生徒の体験談*/
.user-review-section {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.user-review-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.review-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.reviewer-icon {
  width: 40px;
  height: 40px;
  background-color: #f2f2f2;
  border-radius: 50%;
  margin-right: 15px;
  overflow: hidden;
}

.review-meta {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}



.review-text {
  margin: 0;
}

.review-text strong {
  background: linear-gradient(transparent 70%, #dcebf7 70%);
  font-weight: bold;
}

@media (min-width: 768px) {
  .review-item {
    padding: 30px;
  }
  

  
  .review-date {
    margin-top: 0;
  }
}


/*よくあるご質問*/
.faqbox dl {
    align-items: flex-start;
    display: flex;
    flex: 1;
}

.faqbox dl {
    margin-bottom: calc(30px - .4em - 6px);
}

.faqbox dl dt {
    color: #0071be;
    font-weight: bold;
    line-height: 1.75;
    margin-right: 10px;
}

.faqbox dl dd {
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
.faqbox dl {
    padding: 0 6.66vw;
}
}
