body {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

p {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    
}

.top-left-title {
  font-size: 15px;
  line-height: 1.4;
  margin: -20px 0 0 15px;
  padding: 0;
  font-weight: 400;
}

/* モバイル用（幅768px以下） */
@media (max-width: 768px) {
  .top-left-title {
    font-size: 14px;
  }
}

/* メインスライド */
.main-visual {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;  /* 推奨：横長に見せたい場合 */
    overflow: hidden;
}

/* スライド */
.main-visual .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: fade 8s infinite;
    opacity: 0;
}

.main-visual .slide:nth-child(1) {
    animation-delay: 0s;
}

.main-visual .slide:nth-child(2) {
    animation-delay: 3s;
}

.main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 画像が枠いっぱいに収まるようにトリミング */
    object-position: center;  /* 画像の中心が表示されるように調整 */
}

/* モバイル版の時にmain-visualに余白を追加 */
@media (max-width: 768px) {
    .main-visual {
        margin-top: 40px;  /* 余白を追加（必要に応じて調整） */
        aspect-ratio: 1 / 1.2;  /* モバイルの場合は縦横比を少し変えて調整 */
    }

    .main-visual .slide img {
        object-fit: cover; /* 画像がスライド枠に収まるように調整 */
        object-position: center;  /* 画像の中央が表示されるように調整 */
    }
}

/* アニメーション */
@keyframes fade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* 審美歯科サイトバナー */
.banner-container {
    display: flex;
    justify-content: center;
    /* 水平方向の中央配置 */
    align-items: center;
    /* 垂直方向の中央配置（必要なら追加） */
    margin: 40px 0;
    /* 上下の余白を適宜調整 */
    text-align: center;
}

.banner-container img {
    max-width: 100%;
    /* バナーの横幅をレスポンシブ対応 */
    height: auto;
}

/* 無料相談バナー */
.banner-container1 {
    display: flex;
    justify-content: center;
    /* 水平方向の中央配置 */
    align-items: center;
    /* 垂直方向の中央配置（必要なら追加） */
    margin: 40px 0;
    /* 上下の余白を適宜調整 */
    text-align: center;
}

.banner-container1 img {
    max-width: 60%;
    /* バナーの横幅をレスポンシブ対応 */
    height: auto;
}

@media screen and (max-width: 768px) {
    .banner-container1 img {
        max-width: 95%;
        /* バナーの横幅をレスポンシブ対応 */
        height: auto;
    }
  }
  

/* 画像のｈ2デザイン */
.section-title--image {
    text-align: center;
    margin: 40px 0;
    /* 上下の余白はお好みで調整可能 */
}

.section-title--image img {
    max-width: 100%;
    height: auto;
}

/* 葛西で選ばれるクレア歯科の治療 */
.treatment-section {
    font-family: 'Noto Serif', serif;
    padding: 50px 20px;
    background-color: #fff;
    color: #333;
}

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

.treatment-feature {
    display: flex;
    text-decoration: none;
    color: inherit;
    border: 1px solid #B7AEA5;
    overflow: hidden;
    margin-bottom: 40px;
    transition: box-shadow 0.3s ease;
}

.treatment-feature:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.treatment-image img {
    width: 100%;
    height: auto;
    display: block;
}

.large-box {
    flex-direction: row;
}

.large-box .treatment-image {
    flex: 1;
}

.large-box .treatment-text {
    flex: 1;
    padding: 30px;
    background-color: #f9f9f9;
}

.treatment-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.column-box {
    flex: 1;
    min-width: 300px;
    flex-direction: column;
    display: flex;
    flex-direction: column;
}

.column-box .treatment-image img {
    height: auto;
    object-fit: cover;
}

.column-box .treatment-text {
    padding: 20px;
    background-color: #fefefe;
}

.treatment-heading-row {
    display: flex;
    align-items: center;
    gap: 20px;
    /* ← 間隔を広めに */
}

.treatment-number {
    font-size: 1.8rem;
    /* ← 大きく */
    color: #908275;
    font-weight: bold;
    font-style: italic;
    /* ← 斜体追加 */
    font-family: 'Noto Serif', serif;
}


.treatment-title {
    font-size: 1.6rem;
    color: #545454;
    margin: 0;
}

.treatment-underline {
    width: 40px;
    height: 1px;
    background-color: #908275;
    margin: 8px 0 16px;
}

.treatment-text {
    padding: 20px;
    background-color: #fefefe;
}

.treatment-text p {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}


@media screen and (max-width: 768px) {
    .treatment-section {
        padding: 0px 20px;
    }

    .section-title--image {
        text-align: center;
        margin: 20px 0;
        /* 上下の余白はお好みで調整可能 */
    }

    .large-box {
        flex-direction: column;
    }

    .large-box .treatment-image,
    .large-box .treatment-text {
        width: 100%;
        /* ← 両方幅100%で揃える */
    }

    .large-box .treatment-text {
        padding: 20px;
        /* ← 必要に応じて余白調整 */
        box-sizing: border-box;
        /* ← padding含めて幅制御 */
    }

    .large-box .treatment-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .treatment-title {
        font-size: 1.3rem;
        /* ← モバイル時に小さく */
    }
}

/* 世代別ブロック */
.generation-section {
    width: 100%;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.section-title-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* 中央寄せ */
    margin-bottom: 40px;
}

.generation-item {
    background-size: cover;
    background-position: center;
    padding: 40px 20px 20px 20px;
    color: #333;
    margin-bottom: 30px; /* 世代ごとの間隔を確保 */
}

.generation-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.generation-block {
    margin-bottom: 80px;
    /* 下にスペースを追加（お好みで数値調整） */
}

.text-area {
    width: 50%;
}

.image-area {
    width: 50%;
}

.image-area img {
    width: 100%;
    height: auto;
}

/* タイトルスタイル */
.generation-title {
    display: flex;
    font-family: 'Noto Serif', serif;
}

.generation-title h3 {
  font-size: 50px;
  font-weight: bold;
  margin: 0px;
  background: #666666;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.generation-title .en {
    font-size: 40px;
    color: #777;
    font-style: italic;
    margin-left: 30px;
    margin-top: 15px;
}


/* チェックリスト */
.features-list {
    list-style: none;
    padding: 0;
    margin: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 18px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.features-list li img {
    width: 20px;
    margin-right: 10px;
}

.background-block {
    background-image: url("../img/Case\ \(1\).png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 400px;
    /* 必要に応じて高さ指定 */
}


/* 各カラー */
.highlight.kids {
    color: #f293b6;
    font-weight: bold;
}

.highlight.adults {
    color: #4199e1;
    font-weight: bold;
}

.highlight.seniors {
    color: #8fbc8f;
    font-weight: bold;
}

.description {
    padding: 30px;
}    

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .generation-inner {
        flex-direction: column;
        text-align: left;
    }

    .text-area,
    .image-area {
        width: 100%;
    }

    .generation-title h3 {
        font-size: 22px;
    }
}

/* 診療メニュー */
.menu-title-bar {
  background-color: #B7AEA5;
  text-align: center;
  padding: 20px 0;
  margin: 60px auto 40px;
  max-width: 100%;
}

.menu-title-heading {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  font-family: 'Noto Serif JP', serif;
  margin: 0;
}

.menu-section {
  background: #fff;
  padding: 60px 0;
}

/* ▼ コンテナ中央寄せ */
.menu-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* ▼ 見出しとサブタイトル */
.menu-header {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 40px;
}

.menu-header h2 {
  font-size: 35px;
  font-family: 'Noto Serif JP', serif;
  color: #444;
}

.menu-subtitle {
  font-size: 26px;
  font-style: italic;
  color: #9CC714;
}

/* ▼ グリッド全体（段階式） */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ▼ 各段ごとに横並び */
.menu-row {
  display: flex;
  justify-content: flex-start;
  gap: 20px; /* 必要に応じて調整 */
  flex-wrap: nowrap; /* ← 横並びを強制 */
  width: 100%;
}

/* ▼ 個別のメニュー項目 */
.menu-item {
  display: flex;
  align-items: center;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  width: 320px;
  min-width: 280px;
  max-width: 100%;
  transition: box-shadow 0.3s ease;
}

.menu-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ▼ アイコンエリア */
.menu-icon-area img {
  width: 48px;
  height: auto;
}

/* ▼ テキストエリア */
.menu-text-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 16px;
  flex: 1;
}

.menu-comment {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.4;
}

.menu-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Noto Serif', serif;

}

.menu-title:hover {
  color: #9CC714;
}

/* ▼ 矢印 */
.menu-arrow span {
  font-size: 24px;
  color: #999;
  transition: transform 0.3s ease;
}

.menu-item:hover .menu-arrow span {
  transform: translateX(5px);
  color: #9CC714;
}

/* ▼ モバイル対応 */
@media (max-width: 768px) {
  .menu-row {
    flex-direction: column;
    gap: 20px;
  }

  .menu-item {
    justify-content: flex-start;
  }

  .menu-header {
    flex-direction: column;
    gap: 6px;
  }

  .menu-header h2 {
    font-size: 28px;
  }

  .menu-subtitle {
    font-size: 20px;
  }
}

/* 当院が選ばれる理由 */
.clinic-features {
    text-align: center;
    padding: 50px 0px;
    background-color: #F6F6F6;
    width: 100%;
    overflow-x: hidden; /* 横スクロール防止 */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* カラムサイズ調整 */
    gap: 20px;
    width: 100%; /* 横幅調整 */
    max-width: 1200px; /* 最大幅制限 */
    margin: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom,#fff 0,#fff 7.6em,#F5F1EC 7.6em,#F5F1EC 15em,#fff 15em,#fff 100%);
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding: 15px;
    width: 95%;
}

.feature-image {
    max-width: 250px;
    flex: none; /* `flex: 1;` を無効化 */
}

.feature-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-content {
    flex: 2;
    padding-left: 15px;
}

.feature-content .read-more {
    display: block;
    text-align: right; /* 右寄せ */
}

.feature-content h3 {
    font-size: 20px;
    color: #333;
    font-family: 'Noto Serif', serif;
}

.feature-content p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.feature-content .read-more {
    display: block;
    text-align: right;
    position: relative;
    padding-bottom: 3px;
}

.read-more {
    display: inline-block;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Noto Serif', serif;
    position: relative;
    transition: all 0.3s ease-in-out;
    font-style: italic;
}

.read-more::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #666;
    position: absolute;
    bottom: 0;
    right: 0; /* Start from right */
    transition: width 0.3s ease-in-out;
}

.read-more:hover::after {
    width: 0%;
    right: 0;
    left: auto;
}

.sp-only,
.pc-only {
  display: none;
}
  
/* 当院が選ばれる理由モバイル */
@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .feature-content h3 {
       text-align: center;
    }
    .feature-image {
        max-width: 100%;
        width: 100%;
    }
    .feature-image img {
        width: 80%;
        display: block;
        margin: 0 auto;
    }
    .feature-content {
        padding-left: 0;
        width: 100%;
    }
    .feature-content .read-more {
        text-align: right;
    }
    .sp-only {
        display: inline;
      }
}
/* デスクトップ表示時 */
@media screen and (min-width: 769px) {
    .pc-only {
      display: inline;
    }
  }

/* 院長ご挨拶 */
.greeting-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 60px 60px 120px;
    background: linear-gradient(to right, #fffdfc, #e0d6cb);
    flex-wrap: wrap;
    gap: 40px;
}

.greeting-image {
    flex: 1;
    max-width: 400px;
}

.greeting-image img {
    width: 100%;
    height: auto;
}

.greeting-content {
    flex: 2;
    color: #333;
    font-family: 'Noto Serif', serif;
}

.greeting-content h2 {
    font-size: 32px;
    color: #666;
    margin-bottom: 10px;
    position: relative;
    font-weight: bold;
}

.greeting-content h2 .en-title {
    font-size: 48px;
    color: #D0C0AF;
    letter-spacing: 4px;
    display: block;
    margin-top: 5px;
    font-weight: normal;
    font-style: italic;
}

.greeting-content h3 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

.greeting-content .name {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #333;
    padding: 5px 10px;
    margin-top: 10px;
}

.greeting-content .sign {
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    margin-top: 5px;
    display: block;
    color: #888;
}

.greeting-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-top: 20px;
}

/* 院長挨拶モバイル */
@media screen and (max-width: 768px) {
    .greeting-image {
        order: 2;
      }
      .greeting-content {
        order: 1;
      }
    .greeting-section {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
    }
    .greeting-image,
    .greeting-content {
      max-width: 100%;
      flex: 1 1 100%;
    }
    .greeting-content h2 .en-title {
      font-size: 36px;
    }
    .greeting-content h3 {
      font-size: 22px;
      text-align: left;
    }
    .greeting-content p {
      font-size: 15px;
      text-align: left;
    }
    .greeting-content .name {
      font-size: 18px;
    }
    .greeting-content .sign {
      font-size: 20px;
    }
	.greeting-image img {
    width: 90%;
}
  }
/* 支払い方法 */
.payment-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #F6F6F6;
  }
  
  .payment-inner {
    max-width: 800px;
    margin: auto;
  }
  
  .payment-text {
    margin-bottom: 30px;
  }
  
  .payment-text h2 {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Noto Serif', serif;
    color: #666;
  }
  
  .payment-text .en-title {
    font-size: 24px;
    color: #D0C0AF;
    display: block;
    font-weight: normal;
    font-style: italic;
  }
  .payment-text p {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
} 
  
  .payment-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  .payment-item {
    text-align: center;
  }

  .payment-item p{
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
  }
  
  .payment-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* モバイル対応 */
  @media screen and (max-width: 768px) {
    .payment-icons {
      gap: 20px;
    }
  
    .payment-item img {
      width: 70px;
      height: 70px;
    }
	  
	    .payment-text p {
    text-align: left;
} 
  }

/* アクセス */
.access-section {
    background-color: #f5f1ec;
    padding: 60px 20px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
  }
  
  .access-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .access-info {
    flex: 1;
    min-width: 300px;
  }
  
  .access-title {
    font-size: 72px;
    color: #D0C0AF;
    font-family: 'Noto Serif', serif;
    margin-top: 0px;
    margin-bottom: 20px;
    font-style: italic;
  }
  
  .address {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
  }
  
  .train-access .access-label {
    display: flex;
    align-items: center;
    background-color: #B7AEA5;
    color: white;
    padding: 8px 12px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
  }
  
  .train-access .access-label img {
    width: 20px;
    margin-right: 8px;
  }
  
  .train-access ul {
    padding-left: 1.2em;
    color: #444;
  }
  
  .train-access li {
    margin-bottom: 8px;
    font-size: 15px;
  }
  
  .access-map {
    flex: 1;
    min-width: 300px;
    display: flex;
    margin-top: 100px;
  }
  
  /* モバイル対応 */
  @media screen and (max-width: 768px) {
    .access-inner {
      flex-direction: column;
    }
  
    .access-title {
      font-size: 48px;
      text-align: center;
    }
  
    .access-info,
    .access-map {
      width: 100%;
    }

    .access-map {
        margin-top: 0px;
      }
  
    .train-access .access-label {
      justify-content: center;
    }
  }

/* 画像スライド */
.clinic-slider {
    background-color: #fff;
    padding: 40px 0;
    overflow: hidden;
  }
  
  .clinic-title {
    text-align: center;
    font-size: 72px;
    color: #1a1a1a;
    font-family: 'Noto Serif', serif;
    margin-bottom: 30px;
    letter-spacing: 4px;
    font-weight: normal;
  }
  
  .slider-wrapper {
    overflow: hidden;
    width: 100%;
  }
  
  .slider-track {
    display: flex;
    animation: slide 30s linear infinite;
    width: calc(250px * 10); /* 多めに幅確保 */
  }
  
  .slide {
    flex: 0 0 250px;
    margin: 0 10px;
  }
  
  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  @keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* モバイル対応 */
  @media screen and (max-width: 768px) {
    .clinic-title {
      font-size: 48px;
    }
  
    .slide {
      flex: 0 0 200px;
    }
  }

/* コラムお知らせブロック */
.column-news-section {
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .section-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .column-block,
  .news-block {
    flex: 1 1 500px;
  }
  
  .section-title {
    font-size: 36px;
    font-family: 'Noto Serif', serif;
    color: #244764;
    margin-bottom: 20px;
    font-weight: normal;
  }
  
  .section-title span {
    font-size: 18px;
    color: #888;
    display: block;
    margin-top: 5px;
  }
  
  .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ddd;
  }
  
  .info-list li {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
  }
  
  .date {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
  }

.info-list .title a {
  color: #6F983C !important;
}

.info-list .title a:hover {
  color: #5a7d32 !important; /* ホバー時（任意） */
}
  .title {
    font-size: 18px;
    font-weight: bold;
    color: #6F983C;
    margin-bottom: 5px;
    font-family: 'Noto Serif', serif;
  }
  
  .excerpt {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    height: 3.2em; /* 2行分くらい（お好みで調整） */
    overflow: hidden;
  }
  
  .excerpt a {
    color: #4a4a88;
    text-decoration: underline;
    font-size: 14px;
  }

.column-more {
  text-align: center !important; /* 中央寄せ */
  margin-top: 20px !important;
}

.column-more a {
  display: inline-block !important;
  padding: 8px 20px !important;
  border: 1px solid #6F983C !important;
  color: #6F983C !important;
  font-size: 14px !important;
  text-decoration: none !important;
  border-radius: 20px !important;
}

.column-more a:hover {
  background: #6F983C !important;
  color: #fff !important;
}

.news-more {
  text-align: center !important; /* 中央寄せ */
  margin-top: 20px !important;
}

.news-more a {
  display: inline-block !important;
  padding: 8px 20px !important;
  border: 1px solid #6F983C !important;
  color: #6F983C !important;
  font-size: 14px !important;
  text-decoration: none !important;
  border-radius: 20px !important;
}

.news-more a:hover {
  background: #6F983C !important;
  color: #fff !important;
}

  
  @media screen and (max-width: 768px) {
    .section-inner {
      flex-direction: column;
    }
  }

  /* 症例 */
  .cases-section {
    padding: 60px 20px;
    background: #f5f2ec;
    font-family: 'Noto Serif JP', serif;
  }
  
  .case-slide {
    display: none; /* 初期状態は非表示、JSで .active のみ表示 */
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
  }
  
  .case-slide.active {
    display: flex;
  }
  
  .case-left {
    flex: 1;
    min-width: 300px;
  }
  
  .case-right {
    flex: 1;
    min-width: 300px;
    position: relative;
  }
  
  .case-num {
    font-size: 64px;
    display: block;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
    font-style: italic;
  }
  
  .case-title {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
  }
  
  .case-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  .case-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
  }
  
  .case-checklist li::before {
    content: "☑";
    margin-right: 10px;
  }
  
  .before-after-container {
    position: relative;
    overflow: hidden;
  }
  
  .before img,
  .after img {
    display: block;
    width: 100%;
  }
  
  .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
  }
  
  .after img {
    position: relative;
    left: 0;
  }
  
  .slider-range {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 2;
  }
  
  .compare-note {
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    color: #555;
  }
  
  /* Swiperのナビ矢印色（使ってない場合は不要） */
  .swiper-button-prev,
  .swiper-button-next {
    color: #c4a977;
  }
  
  /* ===== カラーバリエーション ===== */
  .case-slide.case-color-1 .case-num,
  .case-slide.case-color-1 .case-checklist li::before {
    color: #c4a977; /* ゴールド系 */
  }
  
  .case-slide.case-color-2 .case-num,
  .case-slide.case-color-2 .case-checklist li::before {
    color: #6bb7b7; /* グリーンブルー系 */
  }
  
  .case-slide.case-color-3 .case-num,
  .case-slide.case-color-3 .case-checklist li::before {
    color: #e8a4b3; /* ピンク系 */
  }
  
  /* ===== ナビゲーションボタン ===== */
  .case-controls {
    text-align: center;
    margin-top: 40px;
  }
  
  .case-controls button {
    background: #B7AEA5;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    margin: 0 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .case-controls button:hover {
    background: #D0C0AF;
  }

/* 葛西の皆さまの理想を叶えます */
.dental-box {
  background: #f9f9f9;
  padding: 40px 20px;
  margin-bottom: 40px;
  font-family: 'Noto Serif', serif;
}

.dental-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  overflow: visible;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  position: relative;
}

.dental-images {
  width: 40%;
  padding: 20px;
  box-sizing: border-box;
}

.dental-images .top-img img,
.dental-images .bottom-imgs img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 10px;
}

.dental-images .bottom-imgs {
  display: flex;
  gap: 10px;
}

.dental-images .bottom-imgs img {
  width: 48%;
  z-index: 2;
}

.dental-text {
  width: 60%;
  padding: 20px 30px;
  box-sizing: border-box;
  position: relative;
}

.dental-title {
  font-size: 30px;
  margin-bottom: 10px;
  margin-left: 20px;
  font-weight: bold;
  color: #666;
  font-family: 'Noto Serif', serif;
  text-shadow: 1px 1px 3px rgba(80, 80, 80, 0.932);
}

.dental-catch {
  font-size: 35px;
  font-weight: 600;
  color: #0074bb;
  margin-bottom: 16px;
  font-weight: bold;
  font-family: 'Noto Serif', serif;
}

.dental-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.dental-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ffc107;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
}

.dental-highlight-box {
  background: #e8f5e9;
  border-left: 6px solid #4caf50;
  padding: 15px 20px;
  border-radius: 0px 8px 8px 0px;
}

.highlight-title {
  position: relative;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 10px;
  font-size: 20px;
  z-index: 1;
}

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

.dental-list li {
  margin-bottom: 8px;
  padding-left: 1.2em;
  position: relative;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.dental-list li::before {
  content: "●";
  color: #4caf50;
  position: absolute;
  left: 0;
}

.dental-badge-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  background-color: #81c784; /* 緑系。色はお好みで！ */
  color: white;
  width: 150px;  /* ← 丸を大きくしたい場合ここを変更 */
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  z-index: 10;
}

.dental-badge-circle::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 2px solid white;
  border-radius: 50%;
  box-sizing: border-box;
}

.section-ceramic {
  background: linear-gradient(
  to right,
  transparent,
  #d6e6df81 30%,
  #d6e6df81 70%,
  transparent
);
border: 1px solid #c0d3cb; /* やさしいグリーングレー系 */
}

@media (max-width: 767px) {
	.dental-catch {
  font-size: 24px;
}
	}

/* ▼ 再生療法 */
.section-regeneration {
  background: linear-gradient(
    to right,
    transparent,
    #f0e2d29f 30%,
    #f0e2d29f 70%,
    transparent
  );
  border: 1px solid #d6c7b3; /* 落ち着いたベージュグレー */
}

/* ▼ 矯正歯科（やさしいラベンダーホワイト基調） */
.section-ortho {
  background: linear-gradient(
    to right,
    transparent,
    #f9f5f9 30%,
    #f9f5f9 70%,
    transparent
  );
  border: 1px solid #e4dce6; /* ほんのりラベンダーがかった薄グレー */
}

/* ▼ インプラント */
.section-implant {
  background: linear-gradient(
    to right,
    transparent,
    #d6dfe69f 30%,
    #d6dfe69f 70%,
    transparent
  );
  border: 1px solid #c7d2da; /* 上品なグレーブルー */
}


/* 丸バッジの色別 */
.badge-green {
  background: linear-gradient(to bottom, #a8c0b7, #8ba99f);
  border: 1px solid #b2c7bf;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ▼ badge-blue：ベース色 #9F856C（シックなブラウン系） */
.badge-blue {
  background: linear-gradient(to bottom, #bca48a, #9f856c);
  border: 1px solid #c9b39e;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ▼ badge-purple：ベース色 #DF4B7C（鮮やかな赤みピンク） */
.badge-purple {
  background: linear-gradient(to bottom, #e5bdd1, #d5a5bc);
  border: 1px solid #eac8d8;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ▼ badge-orange：ベース色 #1D6A94（深いブルー系） */
.badge-orange {
  background: linear-gradient(to bottom, #3a87b2, #1d6a94);
  border: 1px solid #5a9fc2;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* 中の二重丸線は共通のままでOK */

/* リストボックス背景色 */
.highlight-green { background: #f6faf6; border-left: 6px solid #7EAEA5; }
.highlight-blue { background: #f7f4f1; border-left: 6px solid #CE9A6E; }
.highlight-purple { background: #f8ecf4; border-left: 6px solid #BE929F; }
.highlight-orange { background: #f5f8fa; border-left: 6px solid #1D6A94; }

/* ▼ セラミック */
.highlight-green .highlight-title {
  color: #7EAEA5;
}

.highlight-green .highlight-title::after {
  content: "CERAMIC";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: rgba(76, 175, 80, 0.08); /* 緑×透明感 */
  font-weight: bold;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 0;
  font-family: 'Noto Serif JP', serif;
}
.highlight-green .dental-list li::before {
  color: #7EAEA5;
}
.section-ceramic .dental-catch {
  color: #257429;
}

/* ▼ 再生療法 */
.highlight-blue .highlight-title {
  color: #CE9A6E;
}
.highlight-blue .highlight-title::after {
  content: "REGENERATION";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: rgba(175, 135, 76, 0.08); /* 緑×透明感 */
  font-weight: bold;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 0;
  font-family: 'Noto Serif JP', serif;
}
.highlight-blue .dental-list li::before {
  color: #CE9A6E;
}
.section-regeneration .dental-catch {
  color: #b6925d;
}

/* ▼ 矯正歯科 */
.highlight-purple .highlight-title {
  color: #d4859d;
}
.highlight-purple .highlight-title::after {
  content: "ORTHODONTICS";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: rgba(175, 76, 158, 0.08); /* 緑×透明感 */
  font-weight: bold;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 0;
  font-family: 'Noto Serif JP', serif;
}
.highlight-purple .dental-list li::before {
  color: #BE929F;
}
.section-ortho .dental-catch {
  color: #e296c5;
}

/* ▼ インプラント */
.highlight-orange .highlight-title {
  color: #1D6A94;
}
.highlight-orange .highlight-title::after {
  content: "IMPLANT";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: rgba(76, 160, 175, 0.08);
  font-weight: bold;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 0;
  font-family: 'Noto Serif JP', serif;
}
.highlight-orange .dental-list li::before {
  color: #1D6A94;
}
.section-implant .dental-catch {
  color: #4f7e99;
}

@media (max-width: 767px) {
  .dental-inner {
    display: block;
  }

  .dental-badge-circle {
    position: relative;
    margin: 0 auto 20px;
    top: 0;
    right: 0;
  }

  .dental-text {
    width: 100%;
    padding: 0 10px 10px;
    box-sizing: border-box;
  }

  .dental-title,
  .dental-catch {
    text-align: center;
    margin-bottom: 10px;
  }

  .dental-description {
    font-size: 15px;
    text-align: left;
    margin-bottom: 20px;
  }

  .dental-images {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .dental-images .top-img {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .dental-images .top-img img {
    width: 100%;
    max-width: 250px;
  }

  .dental-images .bottom-imgs {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .dental-images .bottom-imgs img {
    width: 45%;
    max-width: 140px;
    height: auto;
  }

  .dental-highlight-box {
    margin-top: 30px;
  }
}

/* 見出しデザイン */
.heading-design {
  text-align: center;
  font-family: 'Noto Serif', serif;
  line-height: 1.6;
  margin-top: 50px;
  margin-bottom: 30px;
  color: #666;
}

/* サイズクラス */
.text-s {
  font-size: 25px;
}

.text-l {
  font-size: 50px;
}

.mfs27 {
  font-size: 35px;
}

.text-accent-green {
  background: linear-gradient(to right, #6BA23E, #A9D76E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  font-style: italic;
}

@media (max-width: 767px) {
	.text-s {
  font-size: 25px;
}

.text-l {
  font-size: 28px;
}

.mfs27 {
  font-size: 24px;
}
	}

/* 症例ブロック見出し */
.case-header {
  text-align: center;
  margin: 40px 0;
  font-family: 'Noto Serif JP', serif;
}

/* タイトル（h2） */
.case-title {
  font-size: 32px;
  font-weight: 500;
  color: #666;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.case-title span {
  font-size: 36px;
  font-weight: bold;
}

/* ラベル（背景付きp） */
.case-label {
  display: block;
  width: 100%;
  background-color: #B7AEA5; /* 上品なブラウン */
  color: #fff;
  padding: 12px 0;
  font-size: 20px;
  line-height: 1.6;
  border-radius: 0;
  text-align: center;
}

/* どのようなお悩み */
.problem-heading-section {
  background-image: url('../img/problem1.png'); /* 背景画像パス */
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: #4b3621;
  position: relative;
  margin-bottom: 50px;
  /* 三角形の切り取りを下部に適用 */
  clip-path: polygon(0 0, 100% 0, 55% 98.5%, 50% 100%, 45% 98.5%, 0 0);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.problem-heading-section h2{
  font-family: 'Noto Serif', serif;
  font-size: 45px;
  color: #535353;
}

.highlight-word {
  color: #8dbb7b;
  font-size: 150%;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* カード配置 */
.problem-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* 各カード */
.problem-box {
  display: flex;
  flex-direction: column;
  width: 300px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.problem-box:hover {
  transform: translateY(-5px);
}

.problem-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* コンテンツ全体 */
.problem-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 15px 15px;
  align-items: center; /* 中央揃え！ */
  text-align: center;
}

/* タイトル（高さを固定） */
.problem-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #5e3e30;
  line-height: 1.5;
  min-height: 3.3em; /* 1行：1.5em → 2行分程度で固定 */
  margin-bottom: 10px;
  font-family: 'Noto Serif', serif;
}

/* 本文 */
.problem-content p {
  font-size: 0.9rem;
  color: #666;
  flex-grow: 1;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

/* View More 部分 */
.problem-link {
  margin-top: auto;
  font-family: 'Noto Serif', serif;
}

.problem-link a {
  color: #b97c50;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}

.problem-link a:hover {
  text-decoration: underline;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .highlight-word {
    font-size: 105%;
  }

  .problem-heading-section h2{
    font-size: 35px;
  }

  .problem-box {
    width: 100%;
    max-width: 90%;
  }

  .sp-only {
    display: inline;
  }
}

@media screen and (min-width: 769px) {
  .sp-only {
    display: none;
  }
}

/* menu */
/* --- ヘッダー全体を画面幅いっぱいに固定 --- */
.sticky-header {
  background: white;
  width: 100vw; /* ビューポート幅に固定 */
  position: fixed;
  left: 0;
  top: 0;
  background: white;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* 表示時にスライドダウン */
.sticky-header.visible {
  transform: translateY(0);
}

/* --- 中のナビを中央寄せ＆左右揃え --- */
.sticky-header .nav {
  margin: 0 auto;
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- メニュー部分 --- */
.menu {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
  margin-left: 30px;
  max-width: 1047px;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  font-family: Noto Serif JP;
}

.menu li a:hover {
  border-bottom: 1px solid #8DBB7B;
}

/* --- 右側の予約ブロック --- */
.reservation-box {
  display: flex;
  align-items: stretch;
}

.tel-box {
  background-color: #8DAD65;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 160px;
}

.tel-box .label {
  font-size: 15px;
  color: #fff;
  margin: 0;
  text-align: center;
}

.tel-box .phone {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Noto Serif JP;
}

.phone .icon {
  color: #003366 !important;
  font-size: 20px;
}

.phone .number {
  color: #fff;
}

.web-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #B8AEA5;
  padding: 20px 15px;
  min-width: 160px;
}

.web-btn .label {
  font-size: 15px;
  color: #fff;
  margin: 0;
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  width: 100%;
}

.web-btn .web {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-family: Noto Serif JP;
}

/* ▼ ドロップダウンベース ▼ */
.menu li.dropdown {
  position: relative;
}

.menu li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #F6F2EE;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  width: 480px;
}

/* ▼ ホバーで表示 ▼ */
.menu li.dropdown:hover .dropdown-menu {
  display: block;
}

/* ▼ ドロップダウンリスト ▼ */
.dropdown-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ▼ 個別メニュー項目 ▼ */
.dropdown-list li a {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 12px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.2s;
}

.dropdown-list li a:hover {
  background: #f0f0f0;
}

.dropdown-list li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
/* 独自のクラス名を使用して表示幅を指定 */
.custom-treatment-description {
    max-width: 800px; /* 最大幅を指定 */
    margin: 0 auto; /* 中央寄せ */
    padding: 20px; /* 余白を追加 */
    font-size: 16px; /* フォントサイズ */
    line-height: 1.6; /* 行間 */
    color: #333; /* 文字色 */
    text-align: justify; /* 両端揃え */
	margin-bottom: 40px;
}
@media (max-width: 767px) {
    .custom-treatment-description {
        padding: 0px 10px; /* 余白を追加 */
        font-size: 14px; /* フォントサイズ */
		margin-bottom: 20px;
    }
}