@charset "utf-8";

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

/* ----------------------------------------------------
メイン画像　スマホ用（〜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%);
    }
}

/*------------------- 当院の料金について -------------------*/
.about-pricelist {
    padding: 100px 15.7%;
    background-color: #F6FDFF;
    position: relative;
    z-index: -10;
}

.spbr {
    display: none;
}

.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-pricelist-img {
    margin: 62px 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;
}
.insurance {
	margin-top:60px;
}
.insurance p {
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 150% */
    margin: 28px 0;
}

.ownexpense p {
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 150% */
    margin: 28px 0;
}

.ownexpense-unit h4 {
    display: flex;
    width: 245px;
    height: 58px;
    padding: 7px 13.461px 8px 13.539px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid #4A90E2;
    background: var(--white, #FFF);
    color: var(--blue, #4A90E2);
    text-align: center;
    font-family: "Kiwi Maru";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 44px 0 40px 0;
}

.table_design08 {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    text-align: center;
    background-color: white;
    margin: 0 auto;
}

.table_design08 th,
.table_design08 td {
    border: 2px solid #666;
    padding: 0.5em;
}



.table_design08 thead th {
    background-color: #4A90E2;
    color: #fff;
    border: 2px solid #666;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    color: var(--white, #FFF);
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    /* 150% */
    letter-spacing: 1px;
}

.table_design08 thead th:last-of-type {
    border-right: 2px solid #4A90E2;
}

.table_design08 tbody th {
    color: #4A90E2;
    font-weight: bold;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    /* 150% */
    letter-spacing: 1px;
}

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

td[data-label="品目"] {
    color: #4A90E2;
}

/* ----------------------------------------------------
当院の料金について　タブレット用（768〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .about-dentures {
        padding: 100px 12.5%;
    }

    .fx-title h2 {
        font-size: 24px;
    }

    .fx-subtitle {
        font-size: 24px;
    }

    .ownexpense-unit h4 {
        font-size: 20px;
        padding: 5px;
        margin: 20px 0;
        max-width: 155px;
        height: auto;
    }

    .insurance p {
        font-size: 16px;
    }

    .ownexpense p {
        font-size: 16px;
    }

    .table_design08 tbody th {
        font-size: 16px;
    }

    .table_design08 td {
        font-size: 16px;
    }
}

/* ----------------------------------------------------
当院の料金について　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {

    .about-pricelist {
        padding: 40px 7.3%;
    }


    .fx-title {
        font-weight: bold;
        border: 3px solid #4A90E2;
        background-color: #fff;
        padding: 0 0 0 0;
        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(-2deg);
        margin: 0 auto;
    }

    .fx-title h2 {
        font-size: 24px;
    }

    .fx-subtitle {
        font-size: 24px;
    }

    .insurance p {
        font-size: 16px;
        line-height: 30px;
    }

    .ownexpense p {
        font-size: 16px;
        line-height: 30px;
    }

    .ownexpense-unit h4 {
        font-size: 20px;
        padding: 5px;
        margin: 20px 0;
        max-width: 155px;
        height: auto;
    }

    /* ヘッダーは非表示にしてカード化 */
    .table_design08 thead {
        display: none;
    }

    .table_design08,
    .table_design08 tbody,
    .table_design08 tr,
    .table_design08 td {
        display: block;
        width: 100%;
        border: 0;

    }

    /* 行（カード） */
    .table_design08 tr {
        background: #fff;
        margin: 16px auto;
    }

    /* 上段：品目（青い帯） */
    .table_design08 td[data-label="品目"] {
        background: #4A90E2;
        /* 青 */
        color: #fff;
        text-align: center;
        font-weight: 700;
        margin-bottom: 10px;
        /* 価格との間隔 */
        font-size: 14px;
    }

    /* 価格行：横並び＆中央寄せ */
    .table_design08 td[data-label="税込み価格 (10%)"] {
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap: 15%;
        padding: 0;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        box-sizing: border-box;
    }

    /* ラベル部分（疑似要素） */
    .table_design08 td[data-label="税込み価格 (10%)"]::before {
        content: "税込み価格 (10%)";
        display: inline;
        font-size: 14px;
        color: #4098ff;
        font-weight: 600;
        margin: 0;
    }

    /* 左の余白対策（念のためのリセット） */
    .table_design08 td {
        padding-left: 10px;
    }

    .table_design08 td[data-label="税込み価格 (10%)"] {
        padding-left: 0;
        /* 価格行は左パディングなし */
    }

    /* 行カード自体の左右ズレ対策（行コンテナの左右中央寄せ） */
    .table_design08 tr {
        margin: 16px auto;
        /* カードを中央に */
    }

    .table_design08 th,
    .table_design08 td {
        padding: 0;
    }

    .table_design08 th:nth-child(2),
    .table_design08 td:nth-child(2),
    .table_design08 th:nth-child(3),
    .table_design08 td:nth-child(3) {
        width: initial;
    }

    .table_design08 {
        background-color: transparent;
    }
}