/* 下線 */
.modTxtBlock02 .marker {
  display: inline;
  background: linear-gradient(transparent 65%, #FFF3B0 65%);
  padding: 0 2px;

  /* 改行しても線を維持 */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* スマホ微調整 */
@media screen and (max-width: 480px) {
  .modTxtBlock02 .marker {
    background: linear-gradient(transparent 70%, #FFF3B0 70%);
  }
}

.modTxtBlock02 {
   margin-bottom: 30px;
  font-size: 18px;
  line-height: 28px;
  font-family: "A1明朝", "游明朝体", "Yu Mincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "メイリオ", Meiryo, serif;
}

@media screen and (max-width: 480px) {
  .modTxtBlock02 {
    font-size: 14px;
    line-height: 26px;
  }
}

/* タイトル */
.box-title {
  border: 1px solid #ddd;
  border-left: 5px solid #c9a24d;
  padding: 14px 18px;
  margin: 32px 0 20px;
  background-color: #fff;
  font-size: 18px;
  font-weight: 600;
}

@media screen and (max-width: 480px) {
  .box-title {
    font-size: 15px;
    padding: 12px 14px;
  }
}

#anchor2 .detail {
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
  box-sizing: border-box;
}

/* スマホ対応 */
@media only screen and (max-width: 480px) {
  #anchor2 .detail {
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }
}

#anchor2 dt {
    background-image: url("../img/sanka/satogaeri/line.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    color: #38aea3;
    font-family: "A1明朝","游明朝体","Yu Mincho","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","メイリオ",Meiryo,serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    padding: 0 0 8px;
    text-align: center;
}
@media only screen and (max-width: 480px) {
#anchor2 dt {
    font-size: 1.6rem;
}
}
#anchor2 dd {
    color: #665352;
    font-size: 1.8rem;
    margin-bottom: 50px;
    padding: 0 15px;
}
@media only screen and (max-width: 480px) {
  #anchor2 dt {
    font-size: 1.4rem;
  }

  #anchor2 dd {
    font-size: 1.3rem;
    padding: 0;
  }
}

/* 写真セクション */
.photo-section {
  padding: 0px 30px 40px ;
}

.photo-inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 縦2枚 × 横スクロール */
.photo-image {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 160px;   /* スマホ基準 */
  gap: 18px;
}

/* 画像サイズ */
.photo-image img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* PCでは少し大きく */
@media (min-width: 480px) {
  .photo-image {
    grid-auto-columns: 150px;
  }
  .photo-image img {
    width: 150px;
  }
}



/* スマホでスクロールしやすく */
.photo-inner {
  -webkit-overflow-scrolling: touch;
}

/* スクロールバーを目立たなく（任意） */
.photo-inner::-webkit-scrollbar {
  height: 6px;
}
.photo-inner::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.photo-inner::after {
  content: "→ 横にスクロールできます";
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

/* 予約フロー */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.flow-item {
  background: #f7a1b8;
  color: #fff;
  border-radius: 30px;
  padding: 12px 20px;
  text-align: center;
  min-width: 160px;
}

/* 胎児スクリーニング用 */
.flow-item.wide {
  min-width: 220px;
}

.flow-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.flow-text {
  font-size: 14px;
}

.flow-arrow {
  font-size: 20px;
  color: #f7a1b8;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg); /* → を ↓ に */
  }
}

/*　文字と画像横並び　*/
.equipment-block {
  max-width: 1000px;
  margin: 0 auto;
}

.box-title {
  text-align: center;     /* 左右感を消す */
  margin-bottom: 24px;
}

.equipment-wrap {
  display: flex;
  gap: 30px;
  align-items: center;
}

.equipment-text,
.equipment-image {
  flex: 1.8;
}

.equipment-image {
  flex: 1;
  text-align: right;  /* 右寄せ */
}

.equipment-image img {
  max-width: 340px;
  width: 100%;
  height: auto;
}

/* スマホでは自然に縦並び */
@media screen and (max-width: 768px) {
  .equipment-wrap {
    flex-direction: column;
  }

  .equipment-image {
    text-align: center;
  }
}

.small-text {
  font-size: 1.2rem;
}

/*　追加　*/

.photo-image {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.photo-image img {
  flex: 0 0 auto;   /* 横幅固定 */
  width: 200px;     /* 表示サイズ（縮小表示） */
  height: auto;     /* 元が正方形なのでOK */
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.photo-image img:hover {
  transform: scale(1.05);
}

/* スマホ */
@media screen and (max-width: 768px) {
  .photo-image img {
    width: 150px;
  }
}