header {
    background-color: #E1F6FF;
}
/* -------------------パンくずリスト------------------- */
/* パンくず全体 */
.breadcrumb {
  font-size: 14px;
  margin: 20px 0;
  color: #555;
  padding-left: 40px;
}

/* ol（リスト）を横並びにする */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap; /* 折り返しもOK */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各 li */
.breadcrumb li {
  display: flex;
  align-items: center;
  color: #555;
}

/* 区切り記号（›） */
.breadcrumb li:not(:last-child)::after {
  content: "›"; /* ▶ や / に変更可 */
  margin: 0 8px;
  color: #aaa;
  font-weight: bold;
}

/* リンク部分のスタイル */
.breadcrumb a {
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #005b99;
}

/* 最後の要素（現在ページ） */
.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
  pointer-events: none; /* 現在地はクリック不可に */
}


/*------------------- メニュー -------------------*/
/* 最初は通常の位置に */

.nav-under {
    width: 100%;
    background: #fff;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    transition: all 0.3s ease-in-out;
    margin-top: 100px;
    z-index: 10;
}

/* 固定されるときのスタイル */
.nav-under.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); */
    background: #ffffff;
    transition: all 0.3s ease-in-out;
    z-index: 15;
}


/* メニューリスト */
.nav-underlist {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

/* メニュー項目 */
.nav-underitem {
	position: relative;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-weight: bold;

}

/* メニューリンク */
.nav-underitem a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

/* ホバー時のエフェクト（下線アニメーション） */
.nav-underitem a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
}

.nav-underitem a:hover::after {
    width: 100%;
}

.nav-underitem a:hover {
    color: #4A90E2;
}

/* プルダウンメニュー */
.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* プルダウンメニュー項目 */
.dropdown li {
    padding: 12px 20px;
}

.dropdown li a {
    text-decoration: none;
    color: #666;
    display: block;
    font-size: 14px;
    transition: background 0.3s ease, padding-left 0.3s ease;
}

.dropdown li a:hover {
    background: #f4f4f4;
    padding-left: 25px;
}

/* ホバー時にプルダウンを表示 */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    z-index: 5;
}

/* ハンバーガーメニュー（スマホ対応） */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-underitem a.active {
    color: #333333;
    /* テキスト色 */
    background-color: rgba(74, 144, 226, 0.1);
    /* 薄いブルーの背景色 */
    border-radius: 50%;
    /* 円形にする */
    padding: 10px;
    /* 上下左右に均等なパディング */
    display: inline-flex;
    /* flexを使用して中央揃えを容易に */
    justify-content: center;
    /* 横軸中央揃え */
    align-items: center;
    /* 縦軸中央揃え */
    min-width: 30px;
    /* 最小幅を指定 */
    height: 30px;
    /* 高さを指定 */
    transition: background-color 0.3s ease;
    /* 背景色の変化にトランジションを適用 */
    text-align: center;
    /* テキストを中央揃えに */
    white-space: nowrap;
    /* テキストを折り返さない */
}

.nav-underitem a.active:hover {
    background-color: rgba(74, 144, 226, 0.2);
    /* ホバー時に背景色を少し濃くする */
}
.h_webcom_web {
    margin: auto;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .nav-underitem a {
        font-size: 10px;
    }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .nav-under {
        padding: 0;
        background: #E1F6FF;
        margin-top: 0px;
    }

    .nav-underlist {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        /* ← 上部に固定 */
        left: 0;
        width: 100%;
        height: 100vh;
        /* ← 全画面に広がる */
        overflow-y: auto;
        /* ← スクロール可 */
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 9998;
        justify-content: center;
		margin-top:0px;
    }

    .nav-underlist.active {
        display: flex;
    }

    .nav-underitem {
        text-align: center;
		display:block;
    }

    .nav-underitem a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    /* ▼ スマホ用プルダウンメニュー：最初は非表示 */
    .has-dropdown .dropdown {
        display: none;
        background: #fff;
        padding: 0;
        margin: 0;
    }

    /* ▼ JSで.open付与時に表示 */
    .has-dropdown.open .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        position: static;
        /* ← 画面の幅に対して自然に展開 */
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: #e5f2f5;
    }

    /* ハンバーガーボタン左上固定 */
    .menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        right: 15px;
        z-index: 9999;
        background-color: #fff;
        padding: 8px 12px;
        border-radius: 4px;
    }

    .has-dropdown:hover .dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .dropdown li {
        padding: 0px 20px;
    }

    /* .dropdown li a {
  color: #2D5A8E;
} */
}

/*------------------- メイン画像 -------------------*/
.lowerlayer-fv {
    background-color: #E1F6FF;
    padding: 39px 2.9% 83px;
    position: relative;
}

.lowerlayer-fvsp {
    display: none;
}

.lowerlayer-fvpc {
    margin: 0 auto;
    position: relative;
}

.titleunit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 45%);
}

.lowerlayer-title {
    color: #4A90E2;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    line-height: normal;
	font-family: 'Kiwi Maru', serif;
}

.title-icon {
    margin: 0 auto;
    width: 48px;
}

.titlesp {
    display: none;
}

.title-back {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%)translateY(-10%);
    width: 300px;
    height: 150px;
    background-color: #E1F6FF;
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lowerlayer-titleunit {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) translateY(55%);
    text-align: center;
    z-index: 3;
}

.title-iconpc,
.title-iconsp {
    width: 30px;
    display: block;
    margin: 0 auto 8px;
}

.title-iconsp {
    display: none;
}

/* ----------------------------------------------------
メイン画像　タブレット用（768〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .lowerlayer-title {
        font-size: 24px;
    }
}

/* ----------------------------------------------------
メイン画像　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .lowerlayer-fv {
        background-color: #E1F6FF;
        padding: 39px 2.9% 50px;
        position: relative;
        border-radius: 0px 0px 40px 40px;
    }

    .lowerlayer-fvsp {
        display: block;
        margin: 25px auto 0;
        position: relative;
        width: 100%;
    }

    .lowerlayer-fvpc {
        display: none;
    }

    .lowerlayer-titleunit {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 45%);
    }

    .lowerlayer-title {
        color: #4A90E2;
        text-align: center;
        font-size: 24px;
        font-style: normal;
        line-height: normal;
    }

    .title-back {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%)translateY(-30%);
        width: 220px;
        height: 100px;
        background-color: #E1F6FF;
        border-top-left-radius: 150px;
        border-top-right-radius: 150px;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lowerlayer-titleunit {
        position: absolute;
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%) translateY(80%);
        text-align: center;
        z-index: 3;
    }

    .title-icon {
        width: 19px;
        display: block;
        margin: 0 auto;
    }

  
}

/* ----------------------------------------------------
メイン画像　426-768用
---------------------------------------------------- */
@media screen and (min-width: 426px) and (max-width: 768px) {
    .lowerlayer-titleunit {
        transform: translateX(-50%) translateY(100%);
    }
}

/*-------------------小児歯科がなぜ大切なのか-------------------*/
.fx-title {
    font-weight: bold;
    border: 3px solid #4A90E2;
    background-color: #fff;
    padding: 0.5em 1em;
    position: relative;
    margin: 0 auto;
}

.fx-title::after {
    content: '';
    background-color: #4A90E2;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: rotate(-1deg);
    margin: 0 auto;
}

.fx-title h2 {
    text-align: center;
    margin: 10px;
    padding: 0;
    color: #000;
    font-family: "Kiwi Maru";
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
    text-align: center;
}

.about-pediatricdentistry {
    padding: 100px 15.8%;
}

.about-pediatricdentistry-unit {
    margin-top: 50px;
}

.about-pediatricdentistry-img {
    margin: 0 auto;
}

.about-pediatricdentistry-text {
    text-align: center;
    color: var(--black, #363636);
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}


.about-pediatricdentistry .spbr {
    display: none;
}

/* ----------------------------------------------------
小児歯科がなぜ大切なのか　タブレット用（768〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .fx-title h2 {
        font-size: 32px;
    }

    .about-pediatricdentistry {
        padding: 100px 8.8%;
    }

    .about-pediatricdentistry-unit {
        margin-top: 50px;
    }

    .about-pediatricdentistry-img {
        margin: 0 auto;
    }

    .about-pediatricdentistry-text {
        font-size: 16px;
        line-height: 24px;
    }


    .about-pediatricdentistry .spbr {
        display: none;
    }
}

/* ----------------------------------------------------
小児歯科がなぜ大切なのか　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .fx-title h2 {
        font-size: 24px;
    }

    .fx-title::after {
        transform: rotate(-2deg);
    }

    .about-pediatricdentistry {
        padding: 40px 5.3%;
    }

    .about-pediatricdentistry-unit {
        margin-top: 30px;
    }

    .about-pediatricdentistry-img {
        margin: 0 auto;
    }

    .about-pediatricdentistry-text {
        text-align: start;
        font-size: 16px;
    }


    .about-pediatricdentistry .spbr {
        display: block;
    }

    .pcbr {
        display: none;
    }

}

/*-------------------苦手意識をなくすための取り組み-------------------*/

.attempt-pediatricdentistry {
    background-image: url('../images/pediatricdentistry-back-pc.png');
    background-size: cover;
    /* 背景画像を要素全体にフィットさせます */
    background-position: center;
    /* 背景画像の位置を中央にします */
    background-repeat: no-repeat;
    /* 背景画像の繰り返しを防ぎます */
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 130px 15.4%;
}

.attempt-pediatricdentistryy::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    background-size: cover;
    background-position: center;
    z-index: -10;
    /* 背景画像をコンテンツの後ろに配置 */
}

.attempt-pediatricdentistry .spbr {
    display: none;
}

.attempt-pediatricdentistry-unit {
    padding: 50px 1.5%;
}

.pediatricdentistry-attempt-txt {
    color: var(--black, #363636);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    /* 175% */
    margin: 60px 0 40px;
}

.pediatricdentistry-attempt-txt span {
    color: var(--blue, #4A90E2);
    font-family: "Kiwi Maru";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 35px;
}

.pediatricdentistry-attempt-summary {
    display: flex;
    padding: 20px;
    align-items: center;
    background: var(--white, #FFF);
    justify-content: center;
}

.attempt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.attempt-img {
    display: block;
    /* ブロック化して */
    margin: 0 auto;
    /* 画像を中央寄せ */
    max-width: 100%;
    /* はみ出し防止 */
    height: auto;
}

.fx-subtitle {
    color: var(--darkblue, #2D5A8E);
    font-family: "Kiwi Maru";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 12%;
    /* 4.8px */
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-align: start;
}

.attempt p {
    color: var(--black, #363636);
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 150% */
    text-align: start;
    margin-top: 30px;
}

/* ----------------------------------------------------
苦手意識をなくすための取り組み　タブレット用（768〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .fx-title h2 {
        font-size: 32px;
    }

    .attempt-pediatricdentistry {
        padding: 40px 8.8%;
    }


.attempt-pediatricdentistry .spbr {
    display: none;
}

.attempt-pediatricdentistry-unit {
    padding: 80px 5%;
}

.pediatricdentistry-attempt-txt {
    font-size: 16px;
    line-height: 24px;
    margin: 40px 0 40px;
}

.pediatricdentistry-attempt-txt span {
    font-size: 18px;
    line-height: 24px;
}

.pediatricdentistry-attempt-summary {
    display: block;
    padding: 20px;
    align-items: center;
    background: var(--white, #FFF);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.attempt {
    display: block;
    text-align: center;
}

.fx-subtitle {
    font-size: 30px;
    text-align: center;
}

.attempt p {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin-top: 30px;
}
}


/* ----------------------------------------------------
苦手意識をなくすための取り組み　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .attempt-pediatricdentistry {
        background-image: url('../images/pediatricdentistry-back-sp.png');
        /* 画像のパスを正しいものに変更 */
        padding: 50px 3.5%;

    }


    .attempt-pediatricdentistry .spbr {
        display: block;
    }

    .attempt-pediatricdentistry-unit {
        padding: 40px 5.5%;
    }

    .pediatricdentistry-attempt-txt {
        font-size: 16px;
        line-height: 25px;
        margin: 40px auto;
    }

    .pediatricdentistry-attempt-txt span {
        font-size: 16px;
        line-height: 25px;
    }

    .pediatricdentistry-attempt-summary {
        padding: 20px;
        align-items: center;
        background: var(--white, #FFF);
    }

    .attempt {
        display: block;
        align-items: center;
        justify-content: center;
        gap: 60px;
    }

    .fx-subtitle {
        font-size: 20px;
        text-align: center;
        margin-top: 20px;
    }

    .attempt p {
        font-size: 15px;
        line-height: 20px;
        text-align: start;
        margin-top: 12px;
    }
}

/*-------------------かまくらデンタルクリニック深沢の小児歯科-------------------*/

.explanation-pediatricdentistry {
    padding: 100px 9.9%;

}

.explanation-pediatricdentistry .spbr {
    display: none;
}

.pediatricdentistry-explanation-txt {
    margin: 60px auto 40px;
    text-align: center;
    color: var(--black, #363636);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    /* 175% */
}

.pediatricdentistry-explanation-txt span {
    color: var(--blue, #4A90E2);
    font-family: "Kiwi Maru";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 35px;
}

.explanation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    align-self: stretch;
}

.pediatricdentistry-explanation-summary {
    border-radius: 30px;
    border: 5px dashed rgba(255, 164, 165, 0.50);
    background: rgba(255, 225, 225, 0.35);
    display: flex;
    width: 100%;
    max-width: 538px;
    height: 877px;
    padding: 0 30px 10px 30px;
    flex-direction: column;
    align-items: center;
}

.pediatricdentistry-explanation-summary:nth-child(2) {
    border: 5px dashed rgba(255, 223, 93, 0.50);
    background: #FFF9E1;
}

.pediatricdentistry-explanation-summary .fx-subtitle {
    color: var(--blue, #4A90E2);
    text-align: center;
    font-family: "Kiwi Maru";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 12%;
    /* 4.8px */
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.pediatricdentistry-explanation-summary p {
    color: var(--black, #363636);
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 150% */
    margin-top: 30px;
}

/* ----------------------------------------------------
かまくらデンタルクリニック深沢の小児歯科　タブレット用（768〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .fx-title h2 {
        font-size: 32px;
    }

    .explanation-pediatricdentistry {
        padding: 100px 8.8%;

    }

    .explanation-pediatricdentistry .spbr {
        display: block;
    }

    .pediatricdentistry-explanation-txt {
        margin: 60px auto 60px;
        font-size: 16px;
        line-height: 24px;
    }

    .pediatricdentistry-explanation-txt span {
        font-size: 20px;
        line-height: 35px;
    }

    .pediatricdentistry-explanation-summary {
        border-radius: 30px;
        border: 5px dashed rgba(255, 164, 165, 0.50);
        background: rgba(255, 225, 225, 0.35);
        display: flex;
        width: 100%;
        max-width: 538px;
        height: auto;
        padding: 0 30px 10px 30px;
        flex-direction: column;
        align-items: center;
    }

    .pediatricdentistry-explanation-summary:nth-child(2) {
        border: 5px dashed rgba(255, 223, 93, 0.50);
        background: #FFF9E1;
    }

    .explanation {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
        align-self: stretch;
    }

    .pediatricdentistry-explanation-summary {
        margin: 0 auto;
        /* ★ 念のため明示 */
    }

    .pediatricdentistry-explanation-summary .fx-subtitle {
        font-size: 28px;
    }

    .pediatricdentistry-explanation-summary p {
        font-size: 16px;
        line-height: 24px;
    }

}

/* ----------------------------------------------------
かまくらデンタルクリニック深沢の小児歯科　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .explanation-pediatricdentistry {
        padding: 40px 1.9%;

    }

    .explanation-pediatricdentistry .spbr {
        display: block;
    }

    .explanation-pediatricdentistry .fx-title span {
        font-size: 18px;
    }

    .pediatricdentistry-explanation-txt {
        margin: 40px auto;
        text-align: center;
        font-size: 16px;
        line-height: 24px;
        max-width: 295px;
    }

    .pediatricdentistry-explanation-txt span {
        font-size: 20px;
        line-height: 24px;
    }

    .explanation {
        display: block;
    }

    .pediatricdentistry-explanation-summary {
        border-radius: 20px;
        border: 5px dashed rgba(255, 164, 165, 0.50);
        background: rgba(255, 225, 225, 0.35);
        display: flex;
        width: 100%;
        max-width: 361px;
        height: 606px;
        padding: 0 28px 10px 28px;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .pediatricdentistry-explanation-summary:nth-child(2) {
        border: 5px dashed rgba(255, 223, 93, 0.50);
        background: #FFF9E1;
        margin-top: 50px;
    }

    .pediatricdentistry-explanation-summary .fx-subtitle {
        font-size: 22px;
        margin-top: 0;
    }

    .pediatricdentistry-explanation-summary p {
        font-size: 15px;
        line-height: 20px;
        margin-top: 15px;
    }
}