@charset "UTF-8";

/* CSS Document */
:root {
    --text-color: #333;
    --main-color: #b13838;
    /*メイン色*/
    --sub-color: #375986;
    /*サブ色*/
    --sub-color2: #426ea7;
    --bg-color: #faeeda;
    /*サイドメニュー・レイアウト類の背景色*/
    --border-color: #214a78;
    /*境界線色*/
    --btn-color: #214a78;
    /*ボタンなどの色*/
    --font-type: "Noto Sans JP", sans-serif;
    /*見出し用フォント（角のあるフォント）*/
    /*--font-type: "fot-tsukuardgothic-std", sans-serif; 見出し用フォント（丸みのあるフォント）*/
    /*--font-type: "hiragino-mincho-pron", sans-serif; 見出し用フォント（細めのフォント）*/
    --font-weight: 700;
    /*見出し用weight（角のあるフォント&丸みのあるフォント）*/
    /*--font-weight: 300; 見出し用weight（細めのフォント）*/
    --font-type-en: "nexa-rust-sans-black-2", sans-serif;
    --font-type-num: "geographica-script", sans-serif;
    ;
    ;
}

*,
::before,
::after {
    box-sizing: border-box;
}

@media print,
screen and (min-width: 641px) {

    body,
    .header,
    .mainvisual,
    .footer {
        min-width: 1240px;
    }
}

@media only screen and (min-width: 641px) and (max-width: 1024px) {

    body,
    .header,
    .mainvisual,
    .footer {
        min-width: 1300px;
    }
}

body {
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 2.1;
    letter-spacing: 0.12em;
    text-align: justify;
    background: var(--bg-color);
}

@media only screen and (max-width: 640px) {
    body {
        line-height: 2;
    }

    /* ナビ展開時スクロール禁止処理 */
    body body.nav-open {
        overflow: hidden !important;
    }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

iframe {
    max-width: 100%;
    vertical-align: top;
}

a,
a:hover {
    color: var(--btn-color);
    text-decoration: none;
}

/*tel*/
[href^=tel]:hover {
    cursor: default;
}

a[href="tel:準備中"] {
    pointer-events: none;
}

main {
    display: block;
}

::selection,
::-moz-selection {
    background-color: #bfbfbf;
}

@media print {
    html {
        -webkit-print-color-adjust: exact;
    }

    body {
        zoom: 80%;
    }
}

.nav_overlay {
    display: none;
}

/*============================================================================

  common

============================================================================*/
.mt00 {
    margin-top: 0 !important
}

.mt30 {
    margin-top: 30px !important
}

.mt40 {
    margin-top: 40px !important
}

.mt50 {
    margin-top: 50px !important
}

.mt60 {
    margin-top: 60px !important
}

.mt70 {
    margin-top: 70px !important
}

.mt80 {
    margin-top: 80px !important
}

.mt90 {
    margin-top: 90px !important
}

.mt100 {
    margin-top: 100px !important
}

.mt110 {
    margin-top: 110px !important
}

.mt120 {
    margin-top: 120px !important
}

.mr00 {
    margin-right: 0 !important
}

.mb00 {
    margin-bottom: 0 !important
}

.mb05 {
    margin-bottom: 5px !important
}

.mb10 {
    margin-bottom: 10px !important
}

.mb20 {
    margin-bottom: 20px !important
}

.mb30 {
    margin-bottom: 30px !important
}

.mb40 {
    margin-bottom: 40px !important
}

.mb50 {
    margin-bottom: 50px !important
}

.mb60 {
    margin-bottom: 60px !important
}

.mb70 {
    margin-bottom: 70px !important
}

.mb80 {
    margin-bottom: 80px !important
}

.mb90 {
    margin-bottom: 90px !important
}

.mb100 {
    margin-bottom: 100px !important
}

.mb110 {
    margin-bottom: 110px !important
}

.mb120 {
    margin-bottom: 120px !important
}

.ml00 {
    margin-left: 0 !important
}

.ma_auto {
    margin-left: auto !important;
    margin-right: auto !important
}

.pt00 {
    padding-top: 0 !important
}

.pt05 {
    padding-top: 5px !important
}

.pt10 {
    padding-top: 10px !important
}

.pt20 {
    padding-top: 20px !important
}

.pt30 {
    padding-top: 30px !important
}

.pt40 {
    padding-top: 40px !important
}

.pt50 {
    padding-top: 50px !important
}

.pt60 {
    padding-top: 60px !important
}

.pt70 {
    padding-top: 70px !important
}

.pt80 {
    padding-top: 80px !important
}

.pt90 {
    padding-top: 90px !important
}

.pt100 {
    padding-top: 100px !important
}

.pt110 {
    padding-top: 110px !important
}

.pt120 {
    padding-top: 120px !important
}

.pr00 {
    padding-right: 0 !important
}

.pb00 {
    padding-bottom: 0 !important
}

.pb05 {
    padding-bottom: 5px !important
}

.pb10 {
    padding-bottom: 10px !important
}

.pb20 {
    padding-bottom: 20px !important
}

.pb30 {
    padding-bottom: 30px !important
}

.pb40 {
    padding-bottom: 40px !important
}

.pb50 {
    padding-bottom: 50px !important
}

.pb60 {
    padding-bottom: 60px !important
}

.pb70 {
    padding-bottom: 70px !important
}

.pb80 {
    padding-bottom: 80px !important
}

.pb90 {
    padding-bottom: 90px !important
}

.pb100 {
    padding-bottom: 100px !important
}

.pb110 {
    padding-bottom: 110px !important
}

.pb120 {
    padding-bottom: 120px !important
}

.pl00 {
    padding-left: 0 !important
}

.pa05 {
    padding: 5px !important
}

.pa10 {
    padding: 10px !important
}

.pa20 {
    padding: 20px !important
}

.txt18 {
    font-size: 18px !important
}

.txt20 {
    font-size: 20px !important
}

.txt24 {
    font-size: 24px !important
}

.txt26 {
    font-size: 26px !important
}

.txt28 {
    font-size: 28px !important
}

.txt30 {
    font-size: 30px !important
}

.txt32 {
    font-size: 32px !important
}

.txt34 {
    font-size: 34px !important
}

.txt36 {
    font-size: 36px !important
}

.txt38 {
    font-size: 38px !important
}

.txt40 {
    font-size: 40px !important
}

.bold {
    font-weight: 700 !important
}

.left {
    text-align: left !important
}

.center {
    text-align: center !important
}

.right {
    text-align: right !important
}

.v_top {
    vertical-align: top !important
}

.v_mid {
    vertical-align: middle !important
}

.v_btm {
    vertical-align: bottom !important
}

.color_red {
    color: #f33 !important
}

.color_pink {
    color: #ed8c96 !important
}

.color_blue {
    color: #00408f !important
}

.color_green {
    color: #479f9d !important
}

.color_ora {
    color: #ff8327 !important
}

.color_yellow {
    color: #ffeb8b !important
}

.color_beige {
    color: #dac58b !important
}

.color_brown {
    color: #9b8052 !important
}

.color_navy {
    color: #1f2774 !important
}

.color_black {
    color: #000 !important
}

.ls_0 {
    letter-spacing: 0 !important
}

.ls_100 {
    letter-spacing: 0.1em !important
}

.indent {
    margin-left: 1em !important;
    text-indent: -1em !important
}

@media print,
screen and (min-width: 641px) {
    .sp {
        display: none !important
    }

    .sp_inline {
        display: none !important
    }

    .sp_table {
        display: none !important
    }
}

@media only screen and (max-width: 640px) {
    .pc {
        display: none !important
    }

    .pc_inline {
        display: none !important
    }

    .sp_table {
        display: table !important
    }

    .sp_mb00 {
        margin-bottom: 0 !important
    }

    .sp_mr00 {
        margin-right: 0 !important
    }

    .sp_ml00 {
        margin-left: 0 !important
    }

    .sp_mt00 {
        margin-top: 0 !important
    }

    .sp_pb00 {
        padding-bottom: 0 !important
    }

    .sp_pr00 {
        padding-right: 0 !important
    }

    .sp_pl00 {
        padding-left: 0 !important
    }

    .sp_pt00 {
        padding-top: 0 !important
    }

    .sp_center {
        text-align: center !important
    }
}

/*==================================================================

  エディタ & 共通パーツ（.cmn_●●●）

==================================================================*/
/* ---------------リンクボタン-------------------- */
.cmn_btn a {
    position: relative;
    display: inline-block;
    color: #fff;
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 18px;
    letter-spacing: 0.12em;
    line-height: 1.75;
    background: var(--btn-color) url(images/icon_arrow.svg) left 40px center/8px auto no-repeat;
    border-radius: 16px;
    padding: 12px 35px 13px 65px;
    transition: opacity 0.2s ease, background-position 0.2s ease;
}

@media only screen and (max-width: 640px) {
    .cmn_btn a {
        display: block;
        background-position: left 20px center;
        padding: 12px 25px 13px 45px;
    }
}

@media (hover: hover) {
    .cmn_btn a:hover {
        opacity: 0.8;
        background-position: left 45px center;
    }
}

/* ---------------リスト-------------------- */
.cmn_list>li {
    position: relative;
    padding-left: 28px;
}

.cmn_list>li:not(:last-child) {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 3px;
    margin-bottom: 3px;
}

.cmn_list>li::before {
    content: "";
    position: absolute;
    top: calc((2.1em - 9px) / 2);
    left: 6px;
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background: var(--sub-color);
}

/*==================================================================

  エディタ用（.cmn_editor）

==================================================================*/
.cmn_editor br.sp_inline+br,
.cmn_editor br.pc_inline+br,
.cmn_editor br.sp+br,
.cmn_editor br.pc+br {
    display: none;
}

/*==================================================================

  共通パーツ・レイアウト（.cmn_●●●）

==================================================================*/
/* ---------------inner-------------------- */
.cmn_inner {
    position: relative;
}

@media print,
screen and (min-width: 641px) {
    .cmn_inner {
        width: 1200px;
        margin-inline: auto;
    }
}

@media only screen and (max-width: 640px) {
    .cmn_inner {
        padding-left: 3%;
        padding-right: 3%;
    }
}

/* ---------------cmn_tit（主にh2）-------------------- */
.cmn_tit {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    max-width: 1200px;
    width: -moz-fit-content;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 75px;
    min-height: 59px;
    text-align: center;
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 40px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    padding: 70px 60px 0;
    position: relative;
    color: var(--sub-color);
    background: url(images/tit_right.svg) no-repeat right bottom 13px / 30px auto, url(images/tit_right.svg) no-repeat left bottom 13px / 30px auto;
}

@media only screen and (max-width: 640px) {
    .cmn_tit {
        max-width: 89.3%;
        min-height: 55px;
        font-size: 22px;
        padding: 75px 55px 10px;
        margin-bottom: 25px;
    }
}

.cmn_tit::before {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    width: 120px;
    height: 54px;
    background: url(images/hat.svg) no-repeat center / cover;
    transform: translateX(-50%);
}

/* ---------------cmn_tit2（主にh3）-------------------- */
.cmn_tit2 {
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 28px;
    line-height: 1.6;
    letter-spacing: 0.12em;
    padding-bottom: 16px;
    padding-left: 4px;
    position: relative;
    color: var(--sub-color);
    border-bottom: 3px solid var(--sub-color);
}

@media only screen and (max-width: 640px) {
    .cmn_tit2 {
        font-size: 20px;
    }
}

/* .cmn_tit2::before,
.cmn_tit2::after {
    content: "";
    height: 4px;
    border-radius: 3px;
    position: absolute;
    bottom: 0;
}

.cmn_tit2::before {
    width: 50px;
    background: var(--main-color);
    left: 0;
}

.cmn_tit2::after {
    width: calc(100% - 55px);
    background: var(--border-color);
    left: 55px;
} */

/*============================================================================

  PC header & nav

============================================================================*/
@media print,
screen and (min-width: 641px) {

    /*============================================================================

    PC header

  ============================================================================*/
    .header {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    /* ロゴ */
    .header_logo {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 40px;
        position: relative;
    }

    .header_logo a {
        display: block;
        width: 246px;
        text-align: center;
        position: absolute;
        top: 61px;
        z-index: 11;
    }

    .header_logo_pc {
        width: 210px;
    }

    .header_logo_sp {
        display: none;
    }

    .header_logo_text {
        font-family: var(--font-type);
        font-weight: var(--font-weight);
        font-size: 15px;
        letter-spacing: 0.12em;
        line-height: 1.4;
        text-align: center;
        display: block;
        color: var(--sub-color);
        border: 1px solid var(--sub-color);
        border-radius: 40px;
        margin-top: 20px;
        padding: 7px 15px;
    }

    /*============================================================================

    PC nav

  ============================================================================*/
    /* ハンバーガーボタン */
    .nav_open {
        border: none;
        padding: 0;
        width: 100px;
        height: 100px;
        text-align: center;
        cursor: pointer;
        background: #fff;
        position: fixed;
        top: 60px;
        right: 40px;
        z-index: 15;
    }

    .nav_open_line,
    .nav_open_line::before,
    .nav_open_line::after {
        display: block;
        width: 55px;
        height: 3px;
        background-color: var(--main-color);
        transition: transform ease 0.5s, background-color ease 0.5s;
        position: absolute;
        left: 0;
        right: 0;
    }

    .nav_open_line {
        margin-left: auto;
        margin-right: auto;
        top: 38px;
    }

    .nav_open_line::before,
    .nav_open_line::after {
        content: "";
        margin: auto;
    }

    .nav_open_line::before {
        top: -16px;
    }

    .nav_open_line::after {
        bottom: -16px;
    }

    .nav_open_tit {
        color: var(--main-color);
        font-family: var(--font-type);
        font-weight: var(--font-weight);
        font-size: 16px;
        letter-spacing: 0.12em;
        line-height: 1;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 17px;
        margin-top: auto;
    }

    .nav_open.open .nav_open_line {
        background-color: transparent;
    }

    .nav_open.open .nav_open_line::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav_open.open .nav_open_line::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    /* メニュー */
    .nav_menuWrap {
        max-width: 700px;
        width: 40%;
        height: 100%;
        padding: 210px 50px 120px;
        opacity: 0;
        transition: right 1s ease, opacity 1s ease;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 14;
        overflow-y: scroll;
    }

    .nav_menuWrap.js-open {
        opacity: 1;
        right: 0;
    }

    .nav_menu_item {
        line-height: 1.4;
    }

    .nav_menu_item a {
        display: block;
        color: var(--text-color);
        font-family: var(--font-type);
        font-weight: var(--font-weight);
        font-size: 18px;
        letter-spacing: 0.08em;
        padding: 20px 10px;
        position: relative;
    }

    .nav_menu_item a::after {
        display: block;
        content: "";
        width: 100%;
        height: 3px;
        border-radius: 100vh;
        background-color: var(--border-color);
        position: absolute;
        left: 0;
        bottom: 0;
    }
}

@media print and (hover: hover),
screen and (min-width: 641px) and (hover: hover) {
    .nav_menu_item a::before {
        display: block;
        content: "";
        width: 100%;
        height: 100%;
        background-color: var(--main-color);
        opacity: 0;
        position: absolute;
        left: 0;
        top: 0;
        transition: opacity 0.3s;
    }

    .nav_menu_item a:hover::before {
        opacity: 0.05;
    }
}

/*============================================================================

  SP header & nav

============================================================================*/
@media only screen and (max-width: 640px) {

    /*============================================================================

    SP header

  ============================================================================*/
    .header {
        width: 100%;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
    }

    .header_logo {
        width: calc(100% - 55px);
        text-align: center;
    }

    .header_logo a {
        display: block;
        width: 100%;
        height: 100%;
        padding: 15px 15px 5px;
    }

    .header_logo img {
        width: auto;
        max-height: 100%;
    }

    .header_logo_pc,
    .header_logo_text {
        display: none;
    }

    /*============================================================================

    SP nav

  ============================================================================*/
    .nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .nav>* {
        height: 55px;
    }

    /* ハンバーガーボタン */
    .nav_open {
        border: none;
        padding: 0;
        margin: 0;
        width: 55px;
        text-align: center;
        color: #fff;
        background: var(--main-color);
        transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        position: relative;
        right: 0;
    }

    .nav_open_line,
    .nav_open_line::before,
    .nav_open_line::after {
        display: block;
        width: 34px;
        height: 2px;
        background-color: #fff;
        transition: transform ease 0.5s, background-color ease 0.5s;
        position: absolute;
        left: 0;
        right: 0;
    }

    .nav_open_line {
        margin-left: auto;
        margin-right: auto;
        top: 19px;
    }

    .nav_open_line::before,
    .nav_open_line::after {
        content: "";
        margin: auto;
    }

    .nav_open_line::before {
        top: -10px;
    }

    .nav_open_line::after {
        bottom: -10px;
    }

    .nav_open_tit {
        color: #fff;
        font-family: var(--font-type);
        font-weight: var(--font-weight);
        font-size: 12px;
        letter-spacing: 0.12em;
        line-height: 1;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 7px;
        margin-top: auto;
    }

    .nav_open.active {
        right: 16.25rem;
    }

    .nav_open.active .nav_open_line {
        background-color: transparent;
    }

    .nav_open.active .nav_open_line::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav_open.active .nav_open_line::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    /* ドロップダウンメニュー */
    .nav_menuWrap {
        width: 16.25rem;
        height: 100%;
        transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        background: var(--main-color);
        font-size: 14px;
        font-family: var(--font-type);
        font-weight: var(--font-weight);
        line-height: 1.4;
        padding: 15px;
        position: fixed;
        top: 0;
        right: -16.25rem;
        z-index: 2;
        overflow: hidden;
    }

    .nav_menuWrap,
    .nav_menuWrap a {
        color: #fff;
    }

    .nav_menuWrap a {
        display: block;
    }

    .nav_menu_item {
        border-bottom: 1px solid #fff;
    }

    .nav_menu_item:first-child {
        border-top: 1px solid #fff;
    }

    .nav_menu_item a {
        padding: 15px 10px;
    }

    body.nav-open .nav_menuWrap {
        overflow-y: scroll;
        overscroll-behavior-y: none;
        right: 0;
    }

    /* ナビ展開時の後ろの背景 */
    .nav_overlay {
        display: none;
        opacity: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        visibility: hidden;
    }

    body.nav-open .nav_overlay {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/*============================================================================

  PC 画面固定ボタン

============================================================================*/
.fixedBtnPc {
    display: flex;
    gap: 0 10px;
    position: fixed;
    bottom: 0;
    right: 10px;
    z-index: 10000;
}

.fixedBtnPc_item {
    background: #fff;
    border-radius: 20px 20px 0 0;
}

.fixedBtnPc_item a,
.fixedBtnPc_item>span {
    display: block;
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 22px;
    line-height: 1.4;
    color: #fff;
    letter-spacing: 0.12em;
    text-align: center;
    padding: 24px 20px 20px;
    min-width: 210px;
    border-radius: 20px 20px 0 0;
    transition: opacity 0.2s ease;
}

@media (hover: hover) {
    .fixedBtnPc_item a:hover {
        opacity: 0.8;
    }
}

.fixedBtnPc_fsS {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.fixedBtnPc_item i {
    margin-right: 9px;
}

.fixedBtnPc_item.fixedBtnPc_item-color1 a,
.fixedBtnPc_item.fixedBtnPc_item-color1>span {
    background: var(--main-color);
}

.fixedBtnPc_item.fixedBtnPc_item-color2 a,
.fixedBtnPc_item.fixedBtnPc_item-color2>span {
    background: var(--sub-color);
}

.fixedBtnPc_item.fixedBtnPc_item-color3 a,
.fixedBtnPc_item.fixedBtnPc_item-color3>span {
    background: var(--btn-color);
}

/*============================================================================

  SP 画面固定ボタン

============================================================================*/
.fixedBtnSp {
    width: 100%;
    background-color: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10000;
}

.fixedBtnSp_list {
    display: flex;
    background: #fff;
    padding: 5px 2.5px;
}

.fixedBtnSp_item {
    width: 100%;
    margin-inline: 2.5px;
}

.fixedBtnSp_item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    padding: 10px 2%;
    border-radius: 5px;
    position: relative;
}

.fixedBtnSp_item.fixedBtnSp_item-color1 a {
    background: var(--main-color);
}

.fixedBtnSp_item.fixedBtnSp_item-color2 a {
    background: var(--sub-color);
}

.fixedBtnSp_item.fixedBtnSp_item-color3 a {
    background: var(--sub-color);
}

.fixedBtnSp_item.fixedBtnSp_item-color4 a {
    background: var(--sub-color2);
}

.fixedBtnSp_item i {
    width: 15px;
    margin-right: 3px;
}

/* 準備中用のクラス */
.fixedBtnSp_item a[href="tel:準備中"],
.fixedBtnSp_item.fixedBtnSp_item-coming a {
    pointer-events: none;
    padding: 2px 2% 18px;
    background: #aaa;
}

.fixedBtnSp_item a[href="tel:準備中"]::after,
.fixedBtnSp_item.fixedBtnSp_item-coming a::before {
    content: "（準備中）";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-size: 90%;
}

/*============================================================================

  mainvisual

============================================================================*/
.mainvisual {
    position: relative;
    overflow: hidden;
}

.mainvisual::before,
.mainvisual::after {
    position: absolute;
    content: '';
    z-index: 1;
}

@media only screen and (max-width: 640px) {
    .mainvisual {
        margin-top: 55px;
    }
}

.mainvisual_wrap,
.mainvisual_img {
    height: 1000px;
}

@media only screen and (max-width: 640px) {

    .mainvisual_wrap,
    .mainvisual_img {
        height: 700px;
    }
}

.mainvisual_img {
    max-width: 1920px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 0;
}

.mainvisual_img picture source,
.mainvisual_img picture img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.mainvisual_inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

@media print,
screen and (min-width: 641px) {
    .mainvisual_inner {
        width: 1200px;
        height: inherit;
    }
}

@media only screen and (max-width: 640px) {
    .mainvisual_inner {
        position: relative;
        width: calc(100% - 20px);
        height: 100%;
    }
}

.mainvisual_tit {
    position: relative;
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    text-align: center;
    position: absolute;
    left: 40px;
    width: 580px;
    height: 480px;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
}

.mainvisual_tit::before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    width: 580px;
    height: 480px;
    background: url(images/mv_tit_pop_bg.svg) no-repeat center / cover;
}


@media print,
screen and (min-width: 641px) {
    .mainvisual_tit {
        top: 57%;
    }
}

@media only screen and (max-width: 640px) {
    .mainvisual_tit {
        position: relative;
        top: 75%;
        left: 0;
        right: 0;
        margin: auto;
        width: 350px;
        height: 290px;
    }

    .mainvisual_tit::before {
        width: 350px;
        height: 290px;
    }
}

.mainvisual_tit_pop {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 22px;
    margin: 0 auto 24px;
    letter-spacing: 0.12em;
    line-height: 1.5;
    padding-left: 75px;
    padding-right: 75px;
    position: relative;
}

@media only screen and (max-width: 640px) {
    .mainvisual_tit_pop {
        font-size: 16px;
        margin: 0 auto 12px;
        padding-left: 45px;
        padding-right: 45px;
        text-shadow: #fff 2px 0px 0px, #fff 2px 1px 0px, #fff 1px 2px 0px, #fff 0.1px 2px 0px, #fff -1px 2px 0px, #fff -2px 1px 0px, #fff -2px 0.3px 0px, #fff -2px -1px 0px, #fff -1px -2px 0px, #fff -0.4px -2px 0px, #fff 0.6px -2px 0px, #fff 1.4px -1.4px 0px, #fff 2px -0.6px 0px;
    }
}

.mainvisual_tit_radius {
    display: block;
    max-width: 322px;
    width: 100%;
    font-size: 26px;
    margin: 0 auto 30px;
    letter-spacing: 0.12em;
    line-height: 1.4;
    border-radius: 36px;
    color: #fff;
    border: 3px solid #fff;
    background: var(--sub-color);
    padding: 10px;
}

@media only screen and (max-width: 640px) {
    .mainvisual_tit_radius {
        font-size: 18px;
        margin: 0 auto 20px;
        border-radius: 100px;
    }
}

.mainvisual_tit_blur {
    position: relative;
    color: #ffffff;
    font-size: 52px;
    line-height: 1.2;
    letter-spacing: 0.12em;
    background: var(--sub-color);
    width: calc(100% + 60px);
    z-index: 1;
    padding: 30px 0;
}

.mainvisual_tit_blur::before,
.mainvisual_tit_blur::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffffff;
}

.mainvisual_tit_blur::before {
    left: 30px;
}

.mainvisual_tit_blur::after {
    right: 30px;
}

@media only screen and (max-width: 640px) {
    .mainvisual_tit_blur {
        font-size: 27px;
        margin-bottom: 20px;
        padding: 20px 0;
    }
}

@media only screen and (max-width: 640px) {
    .mainvisual_banner {
        max-width: 300px;
        margin-inline: auto;
    }
}

/*============================================================================

  h1

============================================================================*/
h1 {
    color: #666;
    font-size: 13px;
    letter-spacing: 0.12em;
    line-height: 1.75;
}

@media print,
screen and (min-width: 641px) {
    h1 {
        max-width: 1920px;
        padding-left: 40px;
        position: absolute;
        width: 100%;
        top: 10px;
        right: 0;
        left: 0;
        margin: auto;
    }
}

@media only screen and (max-width: 640px) {
    h1 {
        font-size: 12px;
        padding: 5px 5.3%;
        text-align: center;
        background: var(--bg-color);
    }
}

/*==================================================================

  trouble

==================================================================*/
.trouble {
    position: relative;
    padding-top: 150px;
    padding-bottom: 170px;
    background: url(images/bg_trouble.jpg) no-repeat center/cover;
    z-index: 0;
}

.trouble::before,
.trouble::after {
    position: absolute;
    content: "";
    left: 0;
    width: 100%;
    height: 50px;
    background: url(images/starline.png) repeat-x;
    z-index: -1;
}

.trouble::before {
    top: 0;
}

.trouble::after {
    bottom: 0;
}

@media only screen and (max-width: 640px) {
    .trouble {
        padding: 110px 0 90px;
    }
}

.trouble_check {
    padding-top: 42px;
    padding-bottom: 42px;
    background: url(images/trouble_check_bg.jpg) no-repeat left top;
    margin-bottom: 45px;
}

@media only screen and (max-width: 640px) {
    .trouble_check {
        padding: 120px 3.3% 0;
        background-size: 100% auto;
        margin-bottom: 25px;
    }
}

.trouble_check_listWrap {
    background: #fff;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: calc((100% - 1200px) / 2);
    padding: 70px;
    outline: solid 3px var(--sub-color);
    outline-offset: -15px;
}

@media only screen and (max-width: 640px) {
    .trouble_check_listWrap {
        padding: 30px 6%;
        margin-right: auto;
        background: rgba(255, 255, 255, 0.6);
        outline: solid 2px var(--sub-color);
        outline-offset: -5px;
    }
}

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

@media only screen and (max-width: 640px) {
    .trouble_check_list {
        gap: 10px 20px;
    }
}

.trouble_check_list_item {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.12em;
    padding: 18px 20px 18px 78px;
    border-radius: 60px;
    background: var(--bg-color) url(images/icon_check.svg) no-repeat left 30px center/30px auto;
}

@media print,
screen and (min-width: 641px) {
    .trouble_check_list_item {
        max-width: 420px;
    }
}

@media only screen and (max-width: 640px) {
    .trouble_check_list_item {
        font-size: 16px;
        background-size: auto 15px;
        background-position: left 15px center;
        padding: 18px 20px 18px 50px;
    }
}

.trouble_answer {
    text-align: center;
}

@media print,
screen and (min-width: 641px) {
    .trouble_answer {
        max-width: 1200px;
        margin-inline: auto;
    }
}

@media only screen and (max-width: 640px) {
    .trouble_answer {
        padding-left: 5.3%;
        padding-right: 5.3%;
    }
}

.trouble_answer_arrow {
    margin-bottom: 35px;
}

@media only screen and (max-width: 640px) {
    .trouble_answer_arrow {
        max-width: 50px;
        margin-inline: auto;
    }
}

.trouble_answer_text {
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 24px;
    color: #fff;
    line-height: 1.75;
    letter-spacing: 0.12em;
}

@media only screen and (max-width: 640px) {
    .trouble_answer_text {
        padding: 20px 15px;
        background: var(--main-color);
        border-radius: 20px;
        font-size: 18px;
        line-height: 1.5;
    }
}

.trouble_answer_text>span {
    display: block;
}

@media print,
screen and (min-width: 641px) {
    .trouble_answer_text>span {
        width: -moz-fit-content;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        background: var(--main-color);
        padding: 10px 36px;
        border-radius: 60px;
    }

    .trouble_answer_text>span:not(:first-child) {
        margin-top: -12px;
    }
}

/*==================================================================

  about

==================================================================*/
.about {
    position: relative;
    background: #fff;
    padding-top: 120px;
}

.about_inner {
    padding-bottom: 45px;
    position: relative;
    z-index: 0;
}

@media only screen and (max-width: 640px) {
    .about {
        padding-top: 70px;
    }

    .about_inner {
        padding-left: 5.3%;
        padding-right: 5.3%;
        padding-bottom: 50px;
    }
}

.about_inner::after {
    content: "";
    width: calc(888px + (100% - 1200px) / 2);
    height: calc(100% - 46px);
    background: var(--sub-color);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    outline: solid 1px #ffffff;
    outline-offset: -5px;
}

@media only screen and (max-width: 640px) {
    .about_inner::after {
        width: 100%;
    }
}

@media print,
screen and (min-width: 641px) {
    .about_flex {
        max-width: 1200px;
        display: flex;
        flex-flow: row-reverse nowrap;
        gap: 0 78px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media print,
screen and (min-width: 641px) {
    .about_img {
        width: 530px;
        height: 450px;
    }

    .about_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media only screen and (max-width: 640px) {
    .about_img {
        text-align: center;
        margin-bottom: 20px;
    }
}

.about_textArea {
    flex: 1;
    color: #ffffff;
}

@media print,
screen and (min-width: 641px) {
    .about_textArea {
        padding-top: 95px;
    }
}

.about_textArea .cmn_tit2 {
    margin-bottom: 36px;
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
}

@media print,
screen and (min-width: 641px) {
    .about_text {
        line-height: 2.5;
        font-weight: 500;
    }
}

.about_text p:not(:last-child) {
    margin-bottom: 1em;
}

/*==================================================================

  reason

==================================================================*/
.reason {
    background: #fff;
    padding-top: 130px;
}

@media only screen and (max-width: 640px) {
    .reason {
        padding-top: 70px;
    }
}

@media print,
screen and (min-width: 641px) {
    .reason_list {
        max-width: 1920px;
        margin-inline: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .reason_list.reason_list-col4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.reason_item {
    position: relative;
    color: #fff;
    z-index: 0;
}

.reason_item::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 1px solid #fff;
    box-shadow: 0 0 1px #fff,
        inset 0 0 1px #fff,
        0 0 10px #0061c0,
        inset 0 0 10px #0061c0,
        0 0 20px #0061c0,
        inset 0 0 10px #0061c0;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    z-index: 1;

}

@media only screen and (max-width: 640px) {
    .reason_item::before {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }
}

.reason_item_img {
    width: 100%;
    height: 480px;
    position: relative;
    z-index: 0;
}

@media only screen and (max-width: 640px) {
    .reason_item_img {
        height: 390px;
    }
}

.reason_item_img::before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.reason_item_img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.reason_item_textArea {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding-left: 10.9%;
    padding-right: 10.9%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 1;
    overflow: hidden;
}

@media only screen and (max-width: 640px) {
    .reason_item_textArea {
        padding-left: 5.3%;
        padding-right: 5.3%;
    }
}

.reason_item_titWrap {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
    padding-top: 40px;
}

.reason_item_titWrap::before {
    position: absolute;
    content: "";
    top: 0;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    margin: auto;
    background: var(--main-color);
    -webkit-mask-image: url(images/tit_right.svg);
    mask-image: url(images/tit_right.svg);
    transform: translateX(-50%);
}


@media only screen and (max-width: 640px) {
    .reason_item_titWrap {
        margin-bottom: 15px;
    }
}

.reason_item_num {
    display: block;
    color: var(--main-color);
    font-family: var(--font-type-en);
    font-size: 55px;
    line-height: 1;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 0 1px #fff,
        0 0 10px #eb9d5f,
        0 0 10px #eb9d5f,
        0 0 10px #0061c0,
        0 0 0 #0061c0,
        0 7px 3px #000;
}

.reason_item_tit {
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    position: relative;
    text-shadow: 0 7px 3px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 640px) {
    .reason_item_tit {
        font-size: 20px;
    }
}

.reason_item_text {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    font-weight: 600;
    color: #ffffff;
}

@media only screen and (max-width: 640px) {
    .reason_item_text {
        font-size: 14px;
    }
}

.reason_item_text p:not(:last-child) {
    margin-bottom: 1em;
}

/*==================================================================

  feature

==================================================================*/
.feature {
    position: relative;
    padding-top: 180px;
    padding-bottom: 180px;
    background: url(images/bg_feature.jpg) no-repeat center/cover;
    z-index: 0;
}

.feature::before,
.feature::after {
    position: absolute;
    content: "";
    left: 0;
    width: 100%;
    height: 50px;
    background: url(images/starline.png) repeat-x;
    z-index: -1;
}

.feature::before {
    top: 0;
}

.feature::after {
    bottom: 0;
}

@media only screen and (max-width: 640px) {
    .feature {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

@media print,
screen and (min-width: 641px) {
    .feature_item {
        display: flex;
        padding-top: 90px;
    }
}

.feature_item:not(:last-child) {
    margin-bottom: 35px;
}

@media print,
screen and (min-width: 641px) {
    .feature_item_img {
        margin-top: -90px;
    }
}

@media only screen and (max-width: 640px) {
    .feature_item_img {
        margin-bottom: 0;
        text-align: center;
    }
}

.feature_item_textArea {
    background: var(--sub-color);
    padding: 70px 75px 75px;
    position: relative;
    outline: solid 1px #ffffff;
    outline-offset: -5px;
}

@media print,
screen and (min-width: 641px) {
    .feature_item_textArea {
        width: 720px;
        margin-left: -60px;
    }
}

@media only screen and (max-width: 640px) {
    .feature_item_textArea {
        padding: 50px 6%;
    }
}

.feature_item_num {
    color: var(--main-color);
    font-family: var(--font-type-en);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    position: absolute;
    top: -94px;
}

.feature_item:nth-of-type(odd) .feature_item_num {
    left: 0;
}

.feature_item:nth-of-type(even) .feature_item_num {
    right: 0;
}

.feature_item_num strong {
    color: var(--main-color);
    font-size: 80px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-left: 0.1em;
}

@media only screen and (max-width: 640px) {
    .feature_item_num {
        font-size: 20px;
    }

    .feature_item:nth-of-type(odd) .feature_item_num {
        left: 20px;
        top: -77px;
    }

    .feature_item:nth-of-type(even) .feature_item_num {
        right: 20px;
        top: -77px;
    }

    .feature_item_num strong {
        font-size: 60px;
    }
}

.feature_item_textArea .cmn_tit2 {
    margin-bottom: 36px;
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
}

@media print,
screen and (min-width: 641px) {
    .feature_item_text {
        line-height: 2.5;
    }
}

.feature_item_text p:not(:last-child) {
    margin-bottom: 1em;
}

.feature_item_text p {
    line-height: 1.8;
    font-weight: 600;
    color: #ffffff;
}

.feature_item_btnArea {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

@media only screen and (max-width: 640px) {
    .feature_item_btnArea {
        gap: 10px 15px;
    }
}

/* PC時のみ */
@media print,
screen and (min-width: 641px) {
    .feature_item:nth-of-type(odd) {
        flex-direction: row-reverse;
    }

    .feature_item:nth-of-type(odd) .feature_item_textArea {
        margin-right: -60px;
        margin-left: 0;
    }
}

/*==================================================================

  flow

==================================================================*/
.flowBg {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(55, 89, 134, 0.7)), url(images/bg_flow.jpg) no-repeat top center;
    position: fixed;
    top: 0;
    z-index: -1;
}

.flow {
    padding-bottom: 130px;
    margin-top: 530px;
    position: relative;
    z-index: 0;
}

@media only screen and (max-width: 640px) {
    .flow {
        padding-bottom: 90px;
        margin-top: 250px;
    }
}

.flow::before {
    content: "";
    width: 100%;
    height: calc(100% - 75px);
    background-color: #5073a0;
    background-image:
        repeating-conic-gradient(rgba(55, 89, 134, 1) 0% 25%, transparent 0% 50%);
    background-size: 60px 60px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.flow_catch {
    color: #fff;
    font-family: var(--font-type-en);
    font-size: 80px;
    line-height: 1;
    position: absolute;
    top: -500px;
    left: 30px;
    /* transform: rotate(-15deg); */
    text-shadow: 0 0 1px #fff,
        0 0 10px #eb9d5f,
        0 0 10px #eb9d5f,
        0 0 10px #0061c0,
        0 0 0 #0061c0,
        0 7px 3px #000;
}

@media only screen and (max-width: 640px) {
    .flow_catch {
        font-size: 40px;
        top: -235px;
        left: 10px;
    }
}

.flow_main {
    position: relative;
    padding: 150px 70px;
    background: url(images/bg_feature.jpg) no-repeat center/cover;
    margin-bottom: 50px;
    z-index: 0;
}

.flow_main::before,
.flow_main::after {
    position: absolute;
    content: "";
    left: 0;
    width: 100%;
    height: 50px;
    background: url(images/check_pattern.png) repeat-x;
    -webkit-mask-image: url(images/bg_mask.png);
    mask-image: url(images/bg_mask.png);
    z-index: -1;
}

.flow_main::before {
    top: 0;
}

.flow_main::after {
    bottom: 0;
}

@media only screen and (max-width: 640px) {
    .flow_main {
        padding: 90px 6% 100px;
    }
}

.flow_main .cmn_tit {
    margin-bottom: 60px;
}

@media only screen and (max-width: 640px) {
    .flow_main .cmn_tit {
        max-width: none;
        margin-bottom: 30px;
    }
}

.flow_main .cmn_tit2 {
    margin-bottom: 30px;
}

.flow_main_head {
    margin-bottom: 45px;
    background: #fff;
    padding: 40px;
    font-weight: 500;
}

.flow_main_head_text p:not(:last-child) {
    margin-bottom: 1em;
}

.flow_tree_head {
    margin-bottom: 25px;
    background: #fff;
    padding: 40px;
    font-weight: 500;
}

@media only screen and (max-width: 640px) {

    .flow_main_head,
    .flow_tree_head {
        padding: 30px 8%;
        font-size: 15px;
    }

    .flow_main_head_text {
        font-size: 15px;
    }
}

@media print,
screen and (min-width: 641px) {
    .flow_step_item {
        padding-left: 140px;
        padding-top: 40px;
        padding-bottom: 20px;
        position: relative;
    }
}

@media only screen and (max-width: 640px) {
    .flow_step_item:not(:last-child) {
        margin-bottom: 40px;
    }
}

/* PC時のみ */
@media print,
screen and (min-width: 641px) {
    .flow_step_item:not(.flow_step_item-noImg) {
        display: flex;
        flex-direction: row-reverse;
    }

    .flow_step_item:not(.flow_step_item-noImg) .flow_step_textArea {
        width: 525px;
        margin-right: 55px;
        font-weight: 500;
    }
}

.flow_step_img {
    max-width: 340px;
}

@media print,
screen and (min-width: 641px) {
    .flow_step_img {
        width: 340px;
        padding-top: 8px;
    }
}

@media only screen and (max-width: 640px) {
    .flow_step_img {
        margin-inline: auto;
        margin-bottom: 20px;
    }
}

.flow_step_img img {
    border-radius: 10px;
}

@media only screen and (max-width: 640px) {
    .flow_step_textArea {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
}

.flow_step_num {
    width: 115px;
    position: relative;
}

@media print,
screen and (min-width: 641px) {
    .flow_step_num {
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

    .flow_step_num::after {
        content: "";
        width: 9px;
        height: calc(100% - 133px);
        background: url(images/flow_num_dots.svg) repeat-y center top/100% auto;
        position: absolute;
        top: 133px;
        left: 0;
        right: 0;
        margin: auto;
    }
}

@media only screen and (max-width: 640px) {
    .flow_step_num {
        min-width: 65px;
        width: 65px;
    }
}

@media print,
screen and (min-width: 641px) {
    .flow_step_item:last-of-type .flow_step_num::after {
        display: none;
    }
}

.flow_step_num_circle {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--main-color);
    border-radius: 100%;
    color: #fff;
    font-family: var(--font-type-en);
    font-weight: var(--font-weight);
    font-size: 18px;
    letter-spacing: 0.12em;
    line-height: 1;
}

@media only screen and (max-width: 640px) {
    .flow_step_num_circle {
        font-size: 15px;
    }
}

.flow_step_num_circle strong {
    display: block;
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: 0.12em;
}

@media only screen and (max-width: 640px) {
    .flow_step_num_circle strong {
        font-size: 20px;
    }
}

.flow_step_tit {
    color: var(--sub-color);
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 22px;
    letter-spacing: 0.12em;
    line-height: 1.5;
}

@media print,
screen and (min-width: 641px) {
    .flow_step_tit {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 640px) {
    .flow_step_tit {
        width: calc(100% - 75px);
        font-size: 20px;
    }
}

@media only screen and (max-width: 640px) {
    .flow_step_text {
        width: 100%;
        margin-top: 20px;
        font-size: 15px;
    }
}

.flow_step_text p:not(:last-child) {
    margin-bottom: 1em;
}

.flow_end {
    padding: 60px 70px;
    background: #fff;
}

@media only screen and (max-width: 640px) {
    .flow_end {
        padding: 30px 8%;
        font-size: 15px;
    }
}

.flow_end_tit,
.flow_end_text {
    padding-left: 28px;
    padding-right: 28px;
}

@media only screen and (max-width: 640px) {

    .flow_end_tit,
    .flow_end_text {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.flow_end_tit {
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 28px;
    line-height: 1.6;
    letter-spacing: 0.12em;
    padding-bottom: 12px;
    margin-bottom: 25px;
    position: relative;
    color: var(--sub-color);
}

.flow_end_tit::after {
    content: "";
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--border-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.flow_end_text p:not(:last-child) {
    margin-bottom: 1em;
}

/*==================================================================

  fee

==================================================================*/
.fee {
    padding-top: 90px;
    padding-bottom: 130px;
    background: #fff;
}

@media only screen and (max-width: 640px) {
    .fee {
        padding-bottom: 90px;
    }
}

.fee_notes {
    text-align: right;
    margin-top: 10px;
}

@media print,
screen and (min-width: 641px) {
    .fee_notes {
        padding-right: 25px;
    }
}

/* table pattern1 */
.fee_pattern1:not(:last-child) {
    margin-bottom: 65px;
}

.fee_pattern1_table {
    min-width: 100%;
    border-spacing: 1px;
    border-collapse: separate;
    background: var(--border-color);
}

.fee_pattern1_table th,
.fee_pattern1_table td {
    padding: 25px;
    text-align: center;
}

.fee_pattern1_table th {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.3;
    background: var(--bg-color);
}

.fee_pattern1_table thead th {
    color: #fff;
    background: var(--main-color);
    width: 320px;
    min-width: 320px;
}

.fee_pattern1_table thead th:first-of-type {
    width: 235px;
    min-width: 235px;
}

.fee_pattern1_table td {
    background: #fff;
    vertical-align: baseline;
}

.fee_pattern1_table td img {
    max-width: 270px;
    width: 100%;
}

.fee_pattern1_table_note td {
    text-align: left;
    line-height: 1.75;
}

.fee_pattern1_table_fee {
    padding-top: 22px;
    padding-bottom: 22px;
}

.fee_pattern1_table_fee_text {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.fee_pattern1_table_fee_text strong {
    color: var(--main-color);
    font-size: 40px;
    font-weight: 600;
}

/* table pattern2 */
.fee_pattern2:not(:last-child) {
    margin-bottom: 65px;
}

.fee_pattern2_table {
    width: 100%;
    border-spacing: 1px;
    border-collapse: separate;
    background: var(--border-color);
}

.fee_pattern2_table th,
.fee_pattern2_table td {
    text-align: center;
    padding: 22px 25px;
}

@media only screen and (max-width: 640px) {

    .fee_pattern2_table th,
    .fee_pattern2_table td {
        display: block;
        width: 100%;
    }
}

.fee_pattern2_table th {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.3;
    background: var(--bg-color);
}

@media print,
screen and (min-width: 641px) {
    .fee_pattern2_table th {
        width: 56%;
    }
}

@media only screen and (max-width: 640px) {
    .fee_pattern2_table th {
        padding: 15px;
    }
}

.fee_pattern2_table td {
    background: #fff;
    vertical-align: baseline;
}

@media only screen and (max-width: 640px) {
    .fee_pattern2_table td {
        padding: 10px 15px;
    }
}

.fee_pattern2_table_fee {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.fee_pattern2_table_fee strong {
    color: var(--main-color);
    font-size: 40px;
    font-weight: 600;
}

.fee_end {
    padding: 60px 70px;
    background: #fff;
    box-shadow: 0 0 15px var(--bg-color);
}

@media only screen and (max-width: 640px) {
    .fee_end {
        padding: 30px 6%;
    }
}

.fee_end_tit,
.fee_end_text {
    padding-left: 28px;
    padding-right: 28px;
}

@media only screen and (max-width: 640px) {

    .fee_end_tit,
    .fee_end_text {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.fee_end_tit {
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    padding-bottom: 12px;
    margin-bottom: 25px;
    position: relative;
}

.fee_end_tit::after {
    content: "";
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--border-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.fee_end_text p:not(:last-child) {
    margin-bottom: 1em;
}

/*============================================================================

  $faq 追加

============================================================================*/
.faq {
    position: relative;
    padding-top: 150px;
    padding-bottom: 170px;
    z-index: 0;
    background: var(--bg-color);
}

.faq::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 50px;
    background: url(images/starline.png) repeat-x;
    z-index: -1;
}

.faq_list {
    margin-top: 50px;
}

.faq_item {
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.faq_question {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    cursor: pointer;
    font-size: 25px;
    line-height: 1.6;
    letter-spacing: 0.12em;
    font-family: var(--font-type);
    font-weight: var(--font-weight);
    color: var(--sub-color);
}

/* ＋アイコン */
.faq_question::before,
.faq_question::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #333;
    transition: .3s;
}

.faq_question::before {
    transform: translateY(-50%);
}

.faq_question::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq_item.is-open .faq_question::after {
    opacity: 0;
}

/* Q・A共通 */
.faq_mark {
    flex-shrink: 0;
    width: 40px;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--main-color);
    font-family: var(--font-type-en);
}

/* 回答 */
.faq_answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s ease, margin-top .4s ease;
    margin-top: 0;
}

.faq_item.is-open .faq_answer {
    grid-template-rows: 1fr;
    margin-top: 30px;
}

.faq_answer_inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    overflow: hidden;
}

.faq_answer_text {
    flex: 1;
    line-height: 2;
}

.faq_answer_text p:first-child {
    margin-top: 0;
}

.faq_answer_text p:last-child {
    margin-bottom: 0;
}

/* ======================================
SP
====================================== */
@media screen and (max-width:640px) {
    .faq {
        padding: 70px 0;
    }

    .faq_list {
        margin-top: 30px;
    }

    .faq_question {
        gap: 12px;
        font-size: 17px;
    }

    .faq_mark {
        width: 28px;
        font-size: 1.8rem;
    }

    .faq_question::before,
    .faq_question::after {
        width: 14px;
        right: 0;
    }

    .faq_answer_inner {
        gap: 12px;
    }

    .faq_item.is-open .faq_answer {
        margin-top: 20px;
    }

}

/*============================================================================

  $footer

============================================================================*/
.pagetop {
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 10;
    display: block;
}

@media only screen and (max-width: 640px) {
    .pagetop {
        right: 10px;
        bottom: 70px;
    }
}

.pagetop p {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    padding: 5px;
    background: #d8ceb4;
    border: 1px solid #d8ceb4;
    color: var(--main-color);
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: var(--font-en);
    font-weight: 600;
    border-radius: 50%;
}

@media only screen and (max-width: 640px) {
    .pagetop p {
        width: 80px;
        height: 80px;
    }
}

.pagetop p:hover {
    background: #ffffff;
    color: var(--sub-color);
    border: 1px solid var(--sub-color);
}

.pagetop span {
    font-size: 16px;
}

@media only screen and (max-width: 640px) {
    .pagetop span {
        font-size: 12px;
    }
}

.pagetop span::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background: var(--main-color);
    -webkit-mask: url(images/tit_left.svg) no-repeat center / cover;
    mask: url(images/tit_left.svg) no-repeat center / cover;
    margin-bottom: 7px;
    transform: translateX(-50%);
    left: 50%;
    position: relative;
}

.pagetop p:hover:hover span::before {
    background: var(--sub-color);
    -webkit-mask: url(images/tit_left.svg) no-repeat center / cover;
    mask: url(images/tit_left.svg) no-repeat center / cover;
}

footer {
    position: relative;
    background: #4d3f3f url(images/bg_footer.jpg) no-repeat center top/cover;
    background-blend-mode: multiply;
    padding-top: 150px;
}

footer::before,
footer::after {
    position: absolute;
    content: "";
    left: 0;
    width: 100%;
    height: 50px;
    background: url(images/light.png) repeat-x;
    z-index: 0;
}

footer::before {
    top: 0;
}

footer::after {
    bottom: 70px;
}

@media only screen and (max-width: 640px) {
    footer::after {
        display: none;
    }
}

.footer_homeBtn {
    text-align: center;
}

.footer_logo {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 37px;
}

/* 医院情報 */
.footer_info {
    margin-top: 75px;
    margin-bottom: 150px;
}

@media print,
screen and (min-width: 641px) {
    .footer_info {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

@media only screen and (max-width: 640px) {
    .footer_info {
        margin-top: 40px;
        margin-bottom: 90px;
    }
}

@media print,
screen and (min-width: 641px) {

    .footer_info_left,
    .footer_info_right {
        width: 570px;
    }
}

@media only screen and (max-width: 640px) {
    .footer_info_left {
        margin-bottom: 40px;
    }
}

/* 医院概要 */
.footer_info_detail_item {
    padding: 0 10px 20px 43px;
}

@media print,
screen and (min-width: 641px) {
    .footer_info_detail_item {
        display: flex;
        gap: 0 20px;
    }
}

@media only screen and (max-width: 640px) {
    .footer_info_detail_item {
        padding: 0 15px 15px;
    }
}

.footer_info_detail_item:not(:last-child) {
    margin-bottom: 20px;
}

.footer_info_detail_item,
.footer_info_detail_item a {
    color: #fff;
}

.footer_info_detail_item {
    line-height: 1.5;
}

@media only screen and (max-width: 640px) {
    .footer_info_detail_item .footer_info_detail_item {
        padding: 15px;
    }
}

.footer_info_detail_item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.footer_info_detail_tit {
    font-weight: bold;
}

@media print,
screen and (min-width: 641px) {
    .footer_info_detail_tit {
        min-width: 115px;
        width: 115px;
    }
}

@media only screen and (max-width: 640px) {
    .footer_info_detail_tit {
        margin-bottom: 10px;
    }
}

@media print,
screen and (min-width: 641px) {
    .footer_info_detail_text {
        flex: 1;
    }
}

/* 診療時間 */
.footer_schedule:not(:last-child) {
    margin-bottom: 20px;
}

.footer_schedule_table {
    width: 100%;
    margin-bottom: 10px;
    border-spacing: 0;
    border-collapse: collapse;
    color: var(--text-color);
    line-height: 1.3;
}

@media only screen and (max-width: 640px) {
    .footer_schedule_table {
        font-size: 14px;
    }
}

.footer_schedule_table td,
.footer_schedule_table th {
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    background: #fff;
    letter-spacing: 0.1em;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer_schedule_table th {
    width: 37%;
    height: 45px;
}

@media only screen and (max-width: 640px) {
    .footer_schedule_table th {
        width: 30%;
    }
}

.footer_schedule_table td {
    width: 9%;
}

@media only screen and (max-width: 640px) {
    .footer_schedule_table td {
        width: 10%;
    }
}

.footer_schedule_table tr:first-of-type th,
.footer_schedule_table tr:first-of-type td {
    color: #fff;
    background: var(--main-color);
}

.footer_schedule_table tr:last-of-type th,
.footer_schedule_table tr:last-of-type td {
    border-bottom: none;
}

.footer_schedule_table tr:not(:first-child) td {
    font-family: var(--font-type);
    font-weight: var(--font-weight);
}

.footer_schedule_note {
    display: flex;
    flex-wrap: wrap;
    gap: 0 17px;
}

/* アクセスマップ */
.footer_info_access_map {
    text-align: center;
}

.footer_info_access_map iframe {
    width: 100%;
    height: 450px;
}

@media only screen and (max-width: 640px) {
    .footer_info_access_map iframe {
        height: 300px;
    }
}

.footer_info_access_free {
    padding: 15px 40px;
    border: 1px solid var(--border-color);
    background: #fff;
    margin-top: 20px;
}

@media only screen and (max-width: 640px) {
    .footer_info_access_free {
        padding: 10px 15px;
    }
}

/* コピーライト */
.copy {
    background: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    .copy {
        padding-top: 10px;
        padding-bottom: 68px;
    }
}

.copy small {
    color: var(--main-color);
    line-height: 1;
    font-size: 13px;
}

/*============================================================================

  404

============================================================================*/
.nonePage {
    text-align: center;
    padding: 120px 0 90px;
}

.nonePage_tit {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.nonePage .cmn_btn {
    margin-top: 20px;
}

@media screen and (max-width: 640px) {
    .nonePage {
        padding: 80px 0;
    }
}