/* 子供の成長に合わせた矯正セクション */
.child-orthodontics-section {
  padding: 60px 0;
  background-color: #fff;
}

.child-orthodontics-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.child-orthodontics-section .section-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.child-orthodontics-section .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #d6c49b;
}

.child-orthodontics-section .title-icon {
  display: inline-block;
  margin-right: 10px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.child-orthodontics-section .intro-text {
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.8;
  color: #555;
}

.child-orthodontics-section .intro-text p {
  margin-bottom: 15px;
}

.child-orthodontics-section .consultation-timing {
  margin-bottom: 40px;
}

.child-orthodontics-section .subsection-title {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.child-orthodontics-section .consultation-intro {
  text-align: center;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 症状カードグリッド */
.child-orthodontics-section .symptoms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.child-orthodontics-section .symptom-card {
  background-color: #fff;
  border: 2px solid #d6c49b;
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.child-orthodontics-section .symptom-card:hover {
  transform: translateY(-5px);
}

.child-orthodontics-section .symptom-icon {
  font-size: 36px;
  margin-bottom: 15px;
  text-align: center;
}

.child-orthodontics-section .symptom-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

.child-orthodontics-section .symptom-desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.child-orthodontics-section .treatment-info {
  background-color: #f8f5f0;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.child-orthodontics-section .treatment-info p {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}

/* 情報ボックス */
.child-orthodontics-section .info-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.child-orthodontics-section .info-box {
  background-color: #f8f5f0;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #d6c49b;
}

.child-orthodontics-section .info-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.child-orthodontics-section .info-box p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.child-orthodontics-section .consultation-note {
  color: #d6c49b;
  font-weight: bold;
}

.child-orthodontics-section .insurance-note {
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  border-left: 3px solid #d6c49b;
  margin-bottom: 20px;
}

.child-orthodontics-section .price-list {
  margin-top: 20px;
}

.child-orthodontics-section .price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
}

.child-orthodontics-section .price-item:last-child {
  border-bottom: none;
}

.child-orthodontics-section .price-label {
  color: #666;
  font-size: 16px;
}

.child-orthodontics-section .price-value {
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

/* タブレット対応 (1024px以下) */
@media screen and (max-width: 1024px) {
  .child-orthodontics-section .symptoms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .child-orthodontics-section .info-boxes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .child-orthodontics-section .section-title {
    font-size: 24px;
  }
}

/* スマートフォン対応 (599px以下) */
@media screen and (max-width: 599px) {
  .child-orthodontics-section {
    padding: 40px 0;
  }
  
  .child-orthodontics-section .container {
    padding: 0 15px;
  }
  
  .child-orthodontics-section .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .child-orthodontics-section .subsection-title {
    font-size: 18px;
  }
  
  .child-orthodontics-section .symptom-card {
    padding: 20px;
  }
  
  .child-orthodontics-section .symptom-icon {
    font-size: 28px;
  }
  
  .child-orthodontics-section .symptom-title {
    font-size: 18px;
  }
  
  .child-orthodontics-section .info-box {
    padding: 20px;
  }
  
  .child-orthodontics-section .info-title {
    font-size: 16px;
  }
  
  .child-orthodontics-section .price-label,
  .child-orthodontics-section .price-value {
    font-size: 14px;
  }
}

.child-orthodontics-section .mb-50{
  margin-bottom: 50px;
}

.child-orthodontics-section .mx-auto{
  margin-left: auto;
  margin-right: auto;
}

.child-orthodontics-section .w-80{
  width: 80%;
}


@media screen and (max-width:599px) {
.child-orthodontics-section .w-80{
  width: 96%;
}
}

/* 小児歯科症例 */

/* 症例セクション */
.case-study-section {
  padding: 60px 0;
  background-color: #f8f5f0;
  margin-left: -9999px;
  margin-right: -9999px;
  margin-bottom: 50px;
  padding-left: 9999px;
  padding-right: 9999px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.case-study-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.case-study-section .section-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.case-study-section .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #d6c49b;
}

.case-study-section .title-icon {
  display: inline-block;
  margin-right: 10px;
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* 画像エリア */
.case-image-area {
  position: sticky;
  top: 20px;
}

.case-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background-color: white;
  padding: 10px;
  margin-bottom: 20px;
}

.case-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.image-labels {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.label-after {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d6c49b;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.label-before-left {
  position: absolute;
  bottom: 30%;
  left: 25px;
  background-color: #666;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.label-before-right {
  position: absolute;
  bottom: 30%;
  right: 25px;
  background-color: #666;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 基本情報 */
.case-basic-info {
  display: flex;
  gap: 15px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.basic-info-item {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background-color: #f8f5f0;
}

.basic-info-item .info-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.basic-info-item .info-value {
  display: block;
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

/* リスク情報エリア */
.case-risks {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.risks-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #d6c49b;
}

.risk-item {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f8f5f0;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.risk-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 152, 0, 0.15);
}

.risk-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.risk-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #d6c49b;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.risk-subtitle {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin: 0;
}

.risk-details {
  margin: 0;
  list-style: none;
}

.risk-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

.risk-details li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #d6c49b;
  font-weight: bold;
}

.case-note {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 15px;
  background-color: #f0f0f0;
  border-radius: 8px;
  border-left: 3px solid #d6c49b;
}

.case-note p {
  color: #666;
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

/* タブレット対応 (1024px以下) */
@media screen and (max-width: 1024px) {
  
.case-study-section{
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
} 

  .case-study-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .case-image-area {
    position: static;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .case-basic-info {
    margin-bottom: 30px;
  }
}

/* スマートフォン対応 (599px以下) */
@media screen and (max-width: 599px) {
  .case-study-section {
    padding: 40px 0;
  }
  
  .case-study-section .container {
    padding: 0 15px;
  }
  
  .case-study-section .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .case-image-wrapper {
    padding: 8px;
  }
  
  .label-after {
    top: 20px;
    font-size: 11px;
    padding: 4px 12px;
  }
  
  .label-before-left,
  .label-before-right {
    font-size: 10px;
    padding: 4px 10px;
  }
  
  .label-before-left {
    left: 15px;
    bottom: 35%;
  }
  
  .label-before-right {
    right: 15px;
    bottom: 35%;
  }
  
  .case-basic-info {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  
  .basic-info-item .info-value {
    font-size: 16px;
  }
  
  .case-risks {
    padding: 20px;
  }
  
  .risks-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .risk-item {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .risk-number {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  
  .risk-subtitle {
    font-size: 14px;
  }
  
  .risk-details {
    padding-left: 0px;
  }
  
  .risk-details li {
    font-size: 13px;
    padding-left: 18px;
  }
}

.side-effect .ttl{
  color: #333;
}

.side-effect .detail{
  color: #666;
  font-size: 14px;
}

@media screen and (max-width:599px) {
.kidspage .sp-w100{
  width: 100%;
}

.my45-spimg img{
  margin-top: 45px !Important;
  margin-bottom: 45px !Important;
}

.reme-4 .sp-mb30{
  margin-bottom: 30px;
}
}
