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: 13%;
    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;
}

.opalescence-logo {
    margin: 0 auto;
    width: 80px;
}

/* ----------------------------------------------------
メイン画像　タブレット用（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-whitening {
    padding: 100px 6.3%;
}

.about-whitening-summary {
    display: flex;
    flex-direction: row-reverse;
    max-width: 1140px;
    padding: 20px 10px;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: var(--lightblue, #E1F6FF);
    margin: 70px auto;
}

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

.about-whitening-text .spbr {
    display: none;
}

.kinds-whitening-summary1 {
    display: flex;
    max-width: 1140px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: var(--white, #FFF);
    box-shadow: 0 4px 4px 0 #D9D9D9;
    margin: 40px auto 0;
}

.kinds-whitening-summary2 {
    display: flex;
    max-width: 1140px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px auto 0;
}

.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;
}

.kinds-whitening p {
    color: var(--black, #363636);
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    /* 175% */
    padding: 10px;
}

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

.kinds-whitening .spbr {
    display: none;
}

.office {
    max-width: 1140px;
    padding: 10px;
    background: var(--white, #FFF);
    box-shadow: 0 4px 4px 0 #D9D9D9;
    margin: 40px auto 0;
}

.opalescence {
    display: flex;
    max-width: 962px;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background: rgba(225, 246, 255, 0.60);
    margin: 40px auto;
}

.opalescence h4 {
    color: #6FC6EB;
    text-align: center;
    font-family: "Kiwi Maru";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

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

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

/* ----------------------------------------------------
当院のホワイトニングの種類　タブレット用（768〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .fx-title h2 {
        font-size: 32px;
    }

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

    .about-whitening-summary {
        display: block;
        padding: 5%;
    }

    .about-whitening-summary img {
        margin: 0 auto;
    }

    .about-whitening-text {
        font-size: 16px;
        line-height: 30px;
        margin-top: 20px;
    }

    .about-whitening-text .spbr {
        display: none;
    }

    .kinds-whitening-summary1 {
        display: block;
        padding: 5%;
    }

    .kinds-whitening-summary2 {
        display: block;
        padding: 5%;
    }

    .kinds-whitening-summary1 img {
        margin: 0 auto;
    }

    .kinds-whitening-summary2 img {
        margin: 0 auto;
    }

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

    .kinds-whitening p {
        font-size: 15px;
        line-height: 25px;
        padding: 5%;
    }

    .kinds-whitening p span {
        font-size: 16px;
        line-height: 25px;
    }

    .kinds-whitening .spbr {
        display: none;
    }

    .opalescence {
        padding: 5%;
    }

    .opalescence h4 {
        font-size: 24px;
    }

    .opalescence p {
        font-size: 15px;
        line-height: 24px;
        padding: 5%;
    }

    .opalescence p span {
        font-size: 16px;
        line-height: 24px;
    }

}

/* ----------------------------------------------------
当院のホワイトニングの種類　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .fx-title h2 {
        font-size: 24px;
    }

    .about-whitening {
        padding: 40px 3.5%;
    }

    .about-whitening-summary {
        display: block;
        padding: 20px;
        margin: 30px auto;
        text-align: center;
    }

    .about-whitening-summary .about-whitening-img {
        margin: 0 auto;
    }

    .about-whitening-text {
        font-size: 16px;
        text-align: start;
        margin: 23px auto 10px;
    }

    .about-whitening-text .spbr {
        display: block;
    }

    .about-whitening-text br {
        display: none;
    }

    .kinds-whitening-summary1 {
        display: block;
        max-width: 1140px;
        padding: 20px 22px;
        margin: 30px auto 0;
    }

    .kinds-whitening-summary2 {
        display: block;
        max-width: 1140px;
        padding: 20px 22px;
        margin: 30px auto 0;
    }

    .kinds-whitening-summary2 br {
        display: none;
    }

    .kinds-whitening-summary1 img {
        margin: 0 auto;
    }

    .kinds-whitening-summary2 img {
        margin: 0 auto;
    }

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

    .kinds-whitening p {
        font-size: 15px;
        line-height: 20px;
        margin-top: 10px;
    }

    .kinds-whitening p span {
        font-size: 16px;
        line-height: 20px;
    }

    .kinds-whitening .spbr {
        display: block;
    }

    .opalescence {
        padding: 5px 10px;
        margin: 20px auto;
    }

    .opalescence h4 {
        font-size: 20px;
    }

    .opalescence p {
        font-size: 15px;
        line-height: 20px;
    }

    .opalescence p span {
        font-size: 16px;
        line-height: 20px;
    }
}

/*-------------------ホワイトニング料金について-------------------*/
.cost-whitening {
    padding: 100px 16.2%;
}

.price-table table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    /* 重要：border-collapseをseparateにして隙間を開ける */
    border-spacing: 0 40px;
    /* 上下に40pxの隙間 */
    margin-top: 70px;
}


.price-table tr th {
    border: 2px solid var(--gray, #666);
    background: var(--lightblue, #E1F6FF);
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 10px;
}

.price-table tr th:nth-child(2) {
    background: var(--white, #FFF);
    width: 40%;
}

.price-table th:nth-child(1) {
    width: 60%;
    /* 1つ目の列（品目）の幅を80%に設定 */
}

.cost-whitening {
    background-image: url('../images/whitening-background-pc.jpg');
    /* 画像のパスを正しいものに変更 */
    background-size: cover;
    /* 背景画像を要素全体にフィットさせます */
    background-position: center;
    /* 背景画像の位置を中央にします */
    background-repeat: no-repeat;
    /* 背景画像の繰り返しを防ぎます */
    text-align: center;
    position: relative;
    z-index: 1;
}

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

/* ----------------------------------------------------
ホワイトニング料金について　タブレット用（768〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .fx-title h2 {
        font-size: 32px;
    }

    .cost-whitening {
        padding: 100px 8.8%;
    }

    .price-table table {
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
        /* 重要：border-collapseをseparateにして隙間を開ける */
        border-spacing: 0 40px;
        /* 上下に40pxの隙間 */
        margin-top: 30px;
    }


    .price-table tr th {
        font-size: 16px;
    }

    .price-table tr th:nth-child(2) {
        background: var(--white, #FFF);
        width: 40%;
    }

    .price-table th:nth-child(1) {
        width: 60%;
        /* 1つ目の列（品目）の幅を80%に設定 */
    }

}

/* ----------------------------------------------------
ホワイトニング料金について　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .cost-whitening {
        padding: 40px 1.9%;
    }

    .price-table table {
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
        /* 重要：border-collapseをseparateにして隙間を開ける */
        border-spacing: 0 40px;
        /* 上下に40pxの隙間 */
        margin-top: 0px;
    }

    .price-table tr th {
        font-size: 14px;
        padding: 5px 0px;
    }

    .price-table tr th:nth-child(2) {
        background: var(--white, #FFF);
    }

    .cost-whitening {
        background-image: url('../images/whitening-background-sp.jpg');
        /* 画像のパスを正しいものに変更 */
        background-size: cover;
        /* 背景画像を要素全体にフィットさせます */
        background-position: center;
        /* 背景画像の位置を中央にします */
        background-repeat: no-repeat;
        /* 背景画像の繰り返しを防ぎます */
        text-align: center;
        position: relative;
        z-index: 1;
    }

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