@charset "UTF-8";

html {
    height: 100%;
    font-size: 100%;
    color: var(--color-gray-03);
}

/** /////////////////////////////////////////////////// **/
/***** basic tag *****/
/** /////////////////////////////////////////////////// **/
body {
    font-family: YakuHanJP_Narrow, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    width: 100%;
    max-width: 1920px;
    word-break: break-word;
    font-size: clamp(var(--rem14), var(--vw16), var(--rem16));
}

.mincho {
    font-family: "Noto Serif JP", serif;
}

.gothic {
    font-family: YakuHanJP_Narrow, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif !important;
}

/* fade-in */
body {
    animation: loading .9s;
}

@keyframes loading {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#main {
    /* 変数を使って余白を設定。JSが動かない時のフォールバック（例: 80px）も指定可能 */
    padding-top: var(--header-height, 80px);
}

.container-full {
    width: var(--common-main-w-m);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container-full {
        min-width: 90%;
    }
}

@media (min-width: 1280px) {
    .container-full {
        min-width: 1200px;
    }
}

/* 汎用的なテキスト要素にのみ「読みやすい行間」を適用 */
p,
li,
dt,
dd,
th,
td,
blockquote {
    line-height: 1.6;
}

/* 見出しは少し詰め気味（1.2〜1.4）が美しい */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4;
}

/* これを指定しないと flex 時に，なぜか figure の横幅が画像の半分になってしまう */
figure {
    flex-shrink: 0;
}

/****************************************************/
/* sp - tb - pc 表示切替 */
/****************************************************/
/*
  基本的な考え方：
  モバイルファーストのため、デフォルトで.spが適用されます。
  ブレークポイントを超えるごとに、より広い画面向けのクラスが追加で表示されるようにします。
*/

/* スマートフォン (sp): 0px から適用 */
/* スマートフォンでは、.sp と .sp-tb が表示され、.tb-pc と .pc は非表示 */
.sp {
    display: block !important;
    /* スマートフォンで表示 */
}

.sp-tb {
    display: block !important;
    /* スマートフォンで表示 */
}

.tb-pc,
.pc {
    display: none !important;
    /* スマートフォンで非表示 */
}

/* タブレット縦方向 (sp-tb): 768px 以上で適用 */
@media (min-width: 768px) {
    .sp {
        display: none !important;
        /* タブレット以上で非表示 */
    }

    .sp-tb {
        display: block !important;
        /* タブレットで表示 */
    }

    .tb-pc {
        display: block !important;
        /* タブレットで表示 */
    }

    .pc {
        display: none !important;
        /* タブレットで非表示 */
    }
}

/* PC (pc): 1024px 以上で適用 */
@media (min-width: 1024px) {

    /* ここでタブレット横方向〜PCを一本化し、1024px以上をPCとして扱います */
    .sp,
    .sp-tb {
        display: none !important;
        /* PCで非表示 */
    }

    .tb-pc {
        display: block !important;
        /* PCで表示 */
    }

    .pc {
        display: block !important;
        /* PCで表示 */
    }
}

/****************************************************/
/* Flex and Grid */
/****************************************************/
.dp-flex {
    display: flex;
}

.dp-grid {
    display: grid;
}

.dp-block {
    display: block;
}

.dp-inline-block {
    display: inline-block;
}

.dp-flex-sp-tb-col-pc-row,
.dp-flex-sp-tb-col-pc-row-l,
.dp-flex-sp-col-tb-pc-row {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1280px) {
    .dp-flex-sp-tb-col-pc-row-l {
        flex-direction: row;
    }
}

@media (min-width: 960px) {
    .dp-flex-sp-tb-col-pc-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .dp-flex-sp-col-tb-pc-row {
        flex-direction: row;
    }
}

.dp-flex-dir-col,
.dp-flex-dir-col-sp-only {
    flex-direction: column;
}

@media (min-width: 768px) {
    .dp-flex-dir-col-sp-only {
        flex-direction: inherit;
    }
}

.dp-flex-sp-only {
    display: flex;
}

@media (min-width: 768px) {
    .dp-flex-sp-only {
        display: block;
    }
}

.dp-flex-pc-tb-only {
    display: block;
}

@media (min-width: 768px) {
    .dp-flex-pc-tb-only {
        display: flex;
    }
}

.dp-flex-pc-tb-only-l {
    display: block;
}

@media (min-width: 1080px) {
    .dp-flex-pc-tb-only-l {
        display: flex;
    }
}

/* grid patterns */
[class*="dp-grid-"] {
    display: grid;
}

[class*="dp-grid-sp-2-"],
[class*="dp-grid-sp-tb-2-"] {
    grid-template-columns: repeat(2, 1fr);
}

[class*="dp-grid-sp-1-"],
[class*="dp-grid-sp-tb-1-"] {
    grid-template-columns: repeat(1, 1fr);
}

.dp-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (min-width: 480px) {

    /* sp */
    .dp-grid-sp-1-tb-2-pc-4,
    .dp-grid-sp-1-tb-2-pc-3,
    .dp-grid-sp-1-tb-pc-2 {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 600px) {

    /* sp - tablet */
    .dp-grid-sp-1-tb-pc-3,
    .dp-grid-sp-1-tb-3-pc-4 {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (min-width: 768px) {

    /* tablet */
    .dp-grid-sp-2-tb-3-pc-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .dp-grid-sp-2-tb-pc-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {

    /* PC */
    .dp-grid-sp-2-tb-pc-4,
    .dp-grid-sp-tb-2-pc-4,
    .dp-grid-sp-1-tb-3-pc-4,
    .dp-grid-sp-1-tb-2-pc-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .dp-grid-sp-tb-1-pc-3,
    .dp-grid-sp-tb-2-pc-3,
    .dp-grid-sp-1-tb-pc-3,
    .dp-grid-sp-1-tb-2-pc-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .dp-grid-sp-tb-1-pc-2,
    .dp-grid-sp-1-tb-pc-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MIX : Grid and Flex patterns */
.dp-sp-flex-tb-pc-grid,
.dp-sp-tb-flex-pc-grid {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1025px) {

    /* PC */
    .dp-grid-sp-2-tb-3-pc-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 600px) {

    /* sp - tablet */
    .dp-sp-flex-tb-pc-grid {
        display: grid;
    }
}

@media (min-width: 1024px) {

    /* PC */
    .dp-sp-flex-tb-pc-grid {
        display: grid;
    }
}

/* flex grid option */
.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-sa {
    justify-content: space-around;
}

.justify-content-sb {
    justify-content: space-between;
}

.justify-content-c {
    justify-content: center;
}

.align-items-c {
    align-items: center;
}

.align-items-base {
    align-items: baseline;
}

.align-items-end {
    align-items: end;
}

.align-items-st {
    align-items: stretch;
}

.flex-dir-c {
    flex-direction: column;
}

.place-items-c {
    place-items: center;
}

.dp-flex-sp-1-col-tb-pc-2-col>* {
    width: 100%;
}

@media (min-width: 1200px) {
    .dp-flex-sp-1-col-tb-pc-2-col>* {
        width: 49.5%;
    }
}

/****************************************************/
/* width */
/****************************************************/
.fit-content {
    width: fit-content;
}

/****************************************************/
/* scroll-margin-top */
/****************************************************/
h1,
h2,
h3,
h4,
h5,
h6,
section,
div,
[id] {
    scroll-margin-top: 200px !important;
}

/****************************************************/
/* margin */
/****************************************************/
.common-padding-vertical {
    padding: var(--common-padding-vertical) 0 var(--common-padding-vertical);
}

.m-top-m-0-0 {
    margin: min(var(--vw40), 60px) 0 0;
}

.m-top-m-a-0 {
    margin: min(var(--vw40), 60px) auto 0;
}

.m-a {
    margin: auto;
}

.m-0-a {
    margin: 0 auto;
}

.m-1-a-0 {
    margin: 10px auto 0;
}

.m-2-a-0 {
    margin: 20px auto 0;
}

.m-3-a-0 {
    margin: 30px auto 0;
}

.m-4-a-0 {
    margin: 40px auto 0;
}

.m-5-a-0 {
    margin: 50px auto 0;
}

.m-1-0-0 {
    margin: 10px 0 0;
}

.m-2-0-0 {
    margin: 20px 0 0;
}

.m-3-0-0 {
    margin: 30px 0 0;
}

.m-4-0-0 {
    margin: 40px 0 0;
}

.m-5-0-0 {
    margin: 50px 0 0;
}

/* ******************************************************** */
/* background */
/****************************************************/
.bg-gradient-navy {
    background: var(--bg-gradient-navy);
}

.bg-gradient-navy-light {
    background: var(--bg-gradient-navy-light);
}

.bg-gradient-gray-08 {
    background: var(--color-gray-08);
}

/****************************************************/
/* img */
/****************************************************/
.img-fit img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/****************************************************/
/* text-align */
/****************************************************/
.align-j {
    text-align: justify;
}

.align-r {
    text-align: right;
}

.align-c {
    text-align: center;
}

.align-l {
    text-align: left;
}

.align-sp-c-pc-r {
    text-align: center;
}

.align-sp-l-pc-c {
    text-align: left;
}

.align-sp-c-pc-l {
    text-align: center;
}

@media (min-width: 768px) {
    .align-sp-c-pc-r {
        text-align: right;
    }

    .align-sp-l-pc-c {
        text-align: center;
    }

    .align-sp-c-pc-l {
        text-align: left;
    }
}

/****************************************************/
/* text font */
/****************************************************/
.letter-spacing-0 {
    letter-spacing: 0;
}

.tx-deco-underline {
    text-decoration: underline;
}

.bold {
    font-weight: bold;
}

.semi-bold {
    font-weight: 600;
}

.medium {
    font-weight: 500;
}

.regular {
    font-weight: 400;
}

.light {
    font-weight: 300;
}

.extra-light {
    font-weight: 200;
}

.navy {
    color: var(--color-navy);
}

.navy-light {
    color: var(--color-navy-light);
}

.navy-dark {
    color: var(--color-navy-dark);
}

.gray-03 {
    color: var(--color-gray-03);
}

.gray-06 {
    color: var(--color-gray-06);
}

.gray-08 {
    color: var(--color-gray-08);
}

.red {
    color: var(--color-red);
}

.blue {
    color: var(--color-blue);
}

.fff {
    color: #fff;
}

/****************************************************/
/* others */
/****************************************************/
.pointer-events-none {
    pointer-events: none;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

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

/****************************************************/
/* common-breadcrumbs */
/****************************************************/
#breadcrumbs {
    font-size: clamp(var(--rem12), var(--vw14), var(--rem14));
}

.common-breadcrumbs {
    padding: min(var(--vw10), 20px) 0 min(var(--vw20), 30px);
}

.common-breadcrumbs a {
    text-decoration: underline;
    color: var(--color-navy);
}

.common-breadcrumbs :is(a:first-child, span:first-child) {
    padding: 0 5px 0 0;
}

.common-breadcrumbs :is(a:not(:first-child), span:not(:first-child)) {
    padding: 0 5px 0;
}

.common-breadcrumbs .breadcrumb_last {
    padding: 0 0 0 5px;
}

/****************************************************/
/* common-heading */
/****************************************************/
[class*="common-heading-"],
.lower-page-heading,
.common-editor-content :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--mincho);
    font-weight: bold;
}

[class*="common-heading-"],
.common-editor-content :is(h1, h2, h3, h4, h5, h6) {
    color: var(--color-navy);
}

.common-heading-h1,
.lower-page-heading {
    padding: min(var(--vw25), 30px) min(var(--vw60), 60px);
    font-size: clamp(var(--rem22), var(--vw24), var(--rem44));
}

.common-heading-h2-strong {
    display: grid;
    justify-items: center;
    width: max-content;
    margin: 0 auto;
}

.common-heading-h2-strong .main {
    white-space: nowrap;
    font-size: clamp(var(--rem24), var(--vw28), var(--rem45));
}


.common-heading-h2-strong .sub {
    font-size: clamp(var(--rem12), var(--vw15), var(--rem16));
}

.common-heading-h2 {}

/* common-editor-content */
.common-editor-content h2,
.common-heading-h2 {
    border-top: 2px solid var(--color-navy);
    border-bottom: 2px solid var(--color-navy);
    padding: min(var(--vw15), 20px) min(var(--vw16), 20px);
    font-size: clamp(var(--rem20), var(--vw24), var(--rem26));
}

.common-editor-content h3,
.common-heading-h3,
.form-notice-sentence label,
.form-confirm label {
    border-left: 5px solid var(--color-navy);
    background: var(--bg-gradient-navy-light);
    padding: 10px min(var(--vw20), 20px);
    font-size: clamp(var(--rem18), var(--vw20), var(--rem22));
}

.common-editor-content h4,
.common-heading-h4 {
    background-image: linear-gradient(90deg, var(--color-navy) 0 50px, var(--color-gray-06) 50px);
    background-repeat: no-repeat;
    background-size: 100% 4px;
    background-position: bottom;
    padding: 0 0 10px;
    font-size: clamp(var(--rem16), var(--vw18), var(--rem18));
}

.common-editor-content h5,
.common-heading-h5 {
    font-size: clamp(var(--rem15), var(--vw16), var(--rem16));
}

.common-editor-content h5::before,
.common-heading-h5::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    background: var(--color-navy);
}

.common-editor-content h6,
.common-heading-h6 {
    font-size: clamp(var(--rem15), var(--vw15), var(--rem15));
}

.text-side-line {
    display: flex;
    align-items: center;
    width: 100%;
}

.text-side-line::before,
.text-side-line::after {
    content: "";
    flex-grow: 1;
    min-width: 10px;
    height: 0;
    border-top: 2px dotted var(--color-navy);
}

.text-side-line::before {
    margin-right: 15px;
}

.text-side-line::after {
    margin-left: 15px;
}

/* common single */
.common-heading-single {
    border-bottom: 1px solid #3E3E3E;
    padding: min(var(--vw15), 20px) 0;
    font-size: clamp(var(--rem20), var(--vw24), var(--rem26));
    color: #3E3E3E;
}

.single .common-editor-content {
    margin: min(var(--vw40), 40px) 0 0;
}

/* common-editor-content */
.common-editor-content :is(h2, h3, h4, h5, h6) {
    margin: min(var(--vw40), 50px) 0 0;
}

.common-editor-content> :first-child {
    margin: 0;
}

.wp-block-group {
    margin: min(var(--vw40), 50px) 0 0;
}

.wp-block-group> :first-child {
    margin: 0;
}

/* .common-editor-content p {
    margin: min(var(--vw20), 30px) 0 0;
} */
/* 2番目以降の要素にだけ上マージンを付与する（＝1番目には付かない） */
.common-editor-content>*+*,
.wp-block-group__inner-container>*+* {
    margin-top: min(var(--vw20), 30px);
}

/* 横並びになる要素の中では、このルールを打ち消す */
.wp-block-column>*+*,
/* カラムの中身 */
.is-layout-flex>*+*,
.is-layout-flow>*+* {
    /* Flexレイアウトのグループ */
    margin-top: 0;
}

/* ul ol */
.common-editor-content ul.wp-block-list {
    padding: 0 0 0 18px;
    text-indent: -18px;
}

.common-editor-content :is(ol, ul) li>ul {
    margin: 5px 0 0;
}

.common-editor-content ol,
.common-editor-content ul li>ul {
    padding: 0 0 0 15px;
}

.common-editor-content ul li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100px;
    margin: 0 8px 0 0;
    background: var(--color-navy);
}

.common-editor-content :is(ul, ol) li:not(:first-of-type) {
    margin: 5px 0 0;
}

/* a (link) */
.common-editor-content a {
    text-decoration: underline;
    color: var(--color-navy);
}

/* common-editor-content list-RESET */
.common-editor-content .list-reset li:not(:first-of-type) {
    margin: 0;
}

.common-editor-content .list-reset li::before {
    content: none;
}

.common-editor-content .list-reset a {
    text-decoration: none;
}

/****************************************************/
/* common-table, flexible-table */
/****************************************************/
.common-table-01 th,
.wp-block-flexible-table-block-table th {
    background: var(--bg-gradient-navy-light) !important;
}

.common-table-01 :is(th, td),
.wp-block-flexible-table-block-table :is(th, td) {
    border-color: #bbbbbb !important;
    padding: 20px !important;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.is-scroll-on-mobile table {
    width: 150%;
}

@media (min-width: 768px) {

    .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.is-scroll-on-mobile table,
    .common-editor-content table {
        width: 100%;
    }
}

/****************************************************/
/* common-child-page-list */
/****************************************************/
.common-child-page-list {
    gap: 20px;
}

.common-child-page-list>* {
    width: 100%;
}

.common-child-page-list .common-btn-basic-white-arrow-right a {
    width: 100%;
    height: 100%;
}

/****************************************************/
/* target-blank */
/****************************************************/
a[target="_blank"]:not(:has(img))::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: min(var(--vw16), 16px);
    height: min(var(--vw16), 16px);
    margin: 0 5px;
    background: url("../img/icon-target-blank-navy.svg") no-repeat center center / contain;
    transform: translate(0, -2px);
}

.wp-block-buttons a[target="_blank"]::after {
    width: min(var(--vw24), 24px);
    height: min(var(--vw24), 24px);
    margin: 0;
    transform: none;
}

/****************************************************/
/* common-btn */
/****************************************************/
/* --- btn text-right icon-left --- */
.common-btn-icon-tx-01 a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-navy);
    border-radius: 100px;
    background: #fff;
    padding: 15px 25px;
    font-weight: bold;
    color: var(--color-gray-03);
}

.common-btn-icon-tx-01 .icon {
    display: inline-block;
    margin: 0 10px 0 0;
}


/* --- btn text-left icon-right --- */
[class*="common-btn-basic-"] a {
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 90vw;
    width: max-content;
    border-radius: 50px;
    padding: 16px 66px 16px 60px;
    text-align: left;
    text-decoration: none;
    line-height: 1.3;
    font-weight: bold;
    transition: 0.3s;
    position: relative;
}

[class*="common-btn-basic-white"] a {
    border: 1px solid var(--color-navy);
    background: #fff;
}

[class*="common-btn-basic-colored"] a {
    border: 1px solid var(--color-navy);
    background: var(--bg-gradient-navy);
    color: #fff;
}

[class*="common-btn-basic-white-"] a::after,
[class*="common-btn-basic-colored-"] a::after {
    content: "";
    display: inline-block;
    width: min(var(--vw30), 36px);
    height: min(var(--vw30), 36px);
}

[class*="common-btn-basic-white-arrow-right"] a::after {
    background: url("../img/icon-arrow-right-circle-navy.svg") no-repeat center center / contain;
}

[class*="common-btn-basic-white-arrow-right"] a[target="_blank"]::after {
    width: min(var(--vw24), 24px);
    height: min(var(--vw24), 24px);
    background: url("../img/icon-target-blank-navy.svg") no-repeat center center / contain;
}

[class*="common-btn-basic-colored-arrow-right"] a::after {
    background: url("../img/icon-arrow-right-circle-white.svg") no-repeat center center / contain;
}

[class*="common-btn-basic-"] a::after {
    transition: 0.1s;
    position: absolute;
    right: 12px;
}

[class*="common-btn-basic-"] a:hover::after {
    transform: translateX(5px);
    transition: 0.3s;
}

/* icon-arrow-right-only-triangle */
[class*="icon-arrow-right-only-triangle-"] a {
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 90vw;
    width: max-content;
    border-radius: 50px;
    padding: 16px 66px 16px 60px;
    text-decoration: none;
    line-height: 1.3;
    font-weight: bold;
    transition: 0.3s;
    position: relative;
}

[class*="icon-arrow-right-only-triangle-"] a::after {
    content: "";
    display: inline-block;
    width: min(var(--vw12), 18px);
    height: min(var(--vw6), 9px);
}

[class*="icon-arrow-right-only-triangle-navy"] a::after {
    background: url("../img/icon-arrow-right-only-triangle-navy.svg") no-repeat center center / contain;
}


/*  */
#wpadminbar {
    top: unset !important;
    bottom: 0 !important;
}

/****************************************************/
/* splide */
/****************************************************/
/* splide */
.button {
    background-color: transparent;
    height: min(var(--vw30), 40px);
    transition: .2s;
    width: min(var(--vw30), 40px);
}

.button::before {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: min(var(--vw30), 40px);
    margin: auto;
    position: absolute;
    width: min(var(--vw30), 40px);
}

.prev::before {
    background-image: url("../img/icon-arrow-right-circle-white.svg");
    /* transform: rotate(180deg); */
}

.next::before {
    background-image: url("../img/icon-arrow-right-circle-white.svg");
}

.button:disabled::before {
    opacity: .5;
}

.splide__slide img {
    height: auto;
    width: 100%;
}

/* 表示速度改善用 */
.splide__track {
    transform: translate3d(0, 0, 0);
}

.splide__slide {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ==========================================
   Splide 初期化前・Safari Flexboxレイアウト崩れ対策（汎用）
   ========================================== */

/* 1. トラックとリストの基本挙動および高さの固定 */
.splide__track {
    overflow: hidden;
    align-items: flex-start;
    /* Safariでコンテナが縦に引き伸ばされるのを防止 */
}

.splide__list {
    display: flex;
    align-items: flex-start;
    /* トラック同様に高さを子要素依存に固定 */
}

/* 2. スライドの伸縮制御および高さの最適化 */
.splide__slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    /* 不要な高さを抱え込まず子要素の高さに合わせる */
    min-height: 0;
    /* Flex子要素における高さ算出バグを回避 */
}

/* 3. 横幅計算崩れ対策（Safari・Flexbox環境） */
.splide,
.splide__track,
.splide__list,
.splide__slide {
    min-width: 0;
}

/* 4. スライド内画像の基本表示（オプション: 必要に応じて） */
.splide__slide img {
    display: block;
    width: 100%;
    height: auto;
}

/****************************************************/
/* pagination */
/****************************************************/
.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: min(var(--vw10), 20px);
}

.page-numbers :is(a, .current, .dots) {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* 100pxより50%が直感的 */
    border: 1px solid #BBBBBB;
}

.page-numbers .current {
    font-weight: bold;
}

.page-numbers :is(.prev, .next) {
    border: none;
    background: url(../img/icon-arrow-right-circle-navy.svg) no-repeat center center / contain;
}

.page-numbers .prev {
    transform: rotate(180deg);
}

/****************************************************/
/* google map & iframe */
/****************************************************/
.iframe-wrapper-solo-movie {
    width: min(96%, 720px);
}

.google-map,
.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.google-map iframe,
.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/****************************************************/
/* page-top-btn */
/****************************************************/
.page-top-btn {
    width: min(var(--vw40), 80px);
    height: min(var(--vw40), 80px);
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: min(var(--vw6), 8px);
    background-color: #fff;
    border: 1px solid var(--color-navy);
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
    font-size: clamp(var(--rem8), var(--vw8), var(--rem14));
}

.page-top-btn.is-show {
    opacity: 1;
    visibility: visible;
}



/****************************************************/
/* custom radio & checkbox */
/****************************************************/
/* 共通設定：ラベルのコンテナ */
.custom-radio label,
.custom-checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}

/* 1. 標準の挙動をリセットし、外枠（白背景・丸）を作る */
.custom-radio input[type="radio"],
.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: grid;
    place-content: center;
    position: relative;
    transition: border-color 0.2s ease;
}

/* 2. 選択時の中の丸（赤）を作る（擬似要素） */
.custom-radio input[type="radio"]::before,
.custom-checkbox input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff0000;
    /* 選択時の赤丸 */
    transform: scale(0);
    transition: transform 0.15s cubic-bezier(0.12, 0, 0, 1);
}

.custom-checkbox input[type="checkbox"] {
    border-radius: 4px;
}

.custom-checkbox input[type="checkbox"]::before {
    border-radius: 4px;
}

/* 3. 選択（checked）時の挙動 */
.custom-radio input[type="radio"]:checked,
.custom-checkbox input[type="checkbox"]:checked {
    border-color: #ff0000;
    /* 選択時は外枠も赤にする場合。グレーのままなら削除してください */
}

.custom-radio input[type="radio"]:checked::before,
.custom-checkbox input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* 4. テキストの位置調整 */
.label-text {
    margin-left: 8px;
    font-size: 14px;
    line-height: 1;
}

/* 5. フォーカス時のアクセシビリティ対応（キーボード操作用） */
.custom-radio input[type="radio"]:focus-visible,
.custom-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}


/****************************************************/
/* modal */
/****************************************************/
/* モーダル本体の基本スタイル */
.common-modal {
    display: grid;
    place-items: center;
    width: min(90%, 560px);
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    opacity: 0;
    z-index: -1;
    transform: translate(-50%, -50%) scale(0.9);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        display 0.3s allow-discrete;
    /* displayの切り替えをアニメーションに同期 */
}

/* モーダルが開いている時の状態 */
.common-modal[open] {
    z-index: 9999;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 表示が開始される直前の状態を定義（これが必要！）
   display: none から現れる瞬間のスタイルを指定します
*/
@starting-style {
    .common-modal[open] {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* 背景（バックドロップ）のふわっと表示 */
.common-modal::backdrop {
    background-color: rgba(0, 0, 0, 0);
    transition:
        display 0.3s allow-discrete,
        overlay 0.3s allow-discrete,
        background-color 0.3s ease;
}

.common-modal[open]::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

@starting-style {
    .common-modal[open]::backdrop {
        background-color: rgba(0, 0, 0, 0);
    }
}

.common-modal-inner {
    padding: min(var(--vw15), 20px);
}

.common-modal-content {
    margin: min(var(--vw20), 30px) 0 0;
}

.common-modal-close {
    margin: min(var(--vw20), 30px) auto 0;
    border-radius: 100px;
    padding: min(var(--vw10), 15px) min(var(--vw20), 25px);
}


/****************************************************/
/* math */
/****************************************************/
math {
    font-size: clamp(var(--rem18), var(--vw20), var(--rem24));
}