@charset "UTF-8";

:root {
    /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
    --nav-color: #000;
    --bg-color: #007763;
}

@media screen and (max-width: 480px) {
    .h3_sp {
        font-size: 12px;
        padding: 0;
    }

    .p_sp {
        text-align: left;
        width: auto;
        padding: 0 15px;
    }

    .p0 {
        padding: 0;
    }

}


/*　SP/PC表示分け--------------*/

@media screen and (min-width: 768px), print {
    .onlypc {}
}

@media screen and (max-width: 767px) {
    .onlypc {
        display: none;
    }
}


@media screen and (min-width: 768px), print {
    .onlysp {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .onlysp {}
}

@media screen and (min-width: 769px), print {
    .onlytub {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .onlytub {}
}


/*ヘッダー
-------------------------------------*/


/*　SP/PC表示分け--------------*/

@media screen and (min-width: 1020px), print {
    .onlyheadpc {}
}

@media screen and (max-width: 1019px) {
    .onlyheadpc {
        display: none;
    }
}


@media screen and (min-width: 1020px), print {
    .onlyheadsp {
        display: none;
    }
}

@media screen and (max-width: 1019px) {
    .onlyheadsp {}
}



/*　固定ヘッダ分のずれ回避　*/
a.headhaight {
    display: block;
    margin-top: -126px;
    padding-top: 126px;
}

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

    a.headhaight {
        display: block;
        margin-top: -57px;
        padding-top: 57px;
    }
}

@media screen and (min-width: 861px), print {
    .fv-pc {
        display: block;
    }

    .fv-sp {
        display: none;
    }
}

@media screen and (max-width: 860px) {
    .fv-pc {
        display: none;
    }

    .fv-sp {
        display: block;
    }
}



/* マウスホバーで画像を拡大 未使用
-------------------------------------*/
.hoverbox {
    max-height: 250px;
    overflow: hidden;
}

.hoverbox-img {
    transition-duration: 0.3s;
}

.hoverbox-img:hover {
    transform: scale(1.3);
    transition-duration: 0.3s;
}

/*フッター
-------------------------------------*/

footer {
    background-color: #404040;
}

@media screen and (min-width: 768px) {
    a[href*="tel:"] {
        /* PC時は電話番号無効 */
        pointer-events: none;
        cursor: default;
    }
}

.footer__logo-mail-img {
    display: block;
}

.footer__logo-mail:hover .footer__logo-mail-img {
    content: url('../images/bnr_mail_hover.svg');
    /* ホバー時に切り替え */
}

.footer__logo-line-img {
    display: block;
}

.footer__logo-line:hover .footer__logo-line-img {
    content: url('../images/bnr_line_hover.svg');
    /* ホバー時に切り替え */
}

.footer__navi {
    li {
        margin-bottom: 16px;
    }
}

@media screen and (min-width: 768px) {
    .footer__navi a {
        position: relative;

        &::after {
            background-image: url(../img/right-arrow.svg);
            background-size: cover;
            content: "";
            position: absolute;
            top: 5px;
            right: 0;
            width: 6px;
            height: 11px;
            /* transform: translateY(-50%); */
            transition: .2s;
        }

        &:hover {
            &::after {
                right: -2px;
                transition: .2s;
            }
        }

        &.footer__link__company {
            &::after {
                background-image: url(../img/link-icon.svg);
                right: -1px;
                width: 12px;
                height: 12px;
            }
        }
    }
}


.footer__privacy {
    position: absolute;
}

@media screen and (max-width: 767px) {
    .footer__navi {
        li {
            margin-bottom: 0;

        }
    }
}


/*コピーライト
-------------------------------------*/
footer {
    text-align: center;
    color: var(--white-color);
    padding: 2em 0 7em;

}

.copyright a {
    color: var(--white-color);
    text-decoration: none;
    display: inline;
}

.footer_copyright {
    /* border-top: solid 1px #fff; */
    font-size: 12px;
    padding: 25px 25px 0 0;
    margin-top: 40px;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#page-top {}

#pagetop::after {}

#pagetop:hover {}

.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.pagetop a {
    display: block;
    text-decoration: none;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.7;
}

.pagetop img {}

.pagetop a:hover {
    display: block;
    text-decoration: none;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
}

@media screen and (max-width: 480px) {
    .pagetop {
        display: none;
    }

    .pagetop a {
        display: none;
    }
}




/* 記事一覧を見る */

a.submit_btn {
    margin: 55px auto;
    padding: 10px;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    background-image: url(../images/form_arrow_on.png);
    background-repeat: no-repeat;
    background-size: 8px;
    background-position: right 16px center;
    width: 430px;
    background-color: #fff;
    color: #026AD2;
    cursor: pointer;
    border: 1px solid #026AD2;
    display: block;

}

a.submit_btn:hover {
    border: 1px solid #026AD2;
    background-color: #026AD2;
    color: #ffffff;
    background-image: url(../images/form_arrow_hover.png);
    background-position: right 10px center;
    background-size: 8px;
}

@media screen and (max-width: 480px) {
    a.submit_btn {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        font-size: 14px;
        font-weight: bold;
        background-image: url(../images/form_arrow_on.png);
        background-repeat: no-repeat;
        background-size: 8px;
        background-position: right 16px center;
        width: 90%;
        background-color: #fff;
        color: #026AD2;
        cursor: pointer;
        border: 1px solid #026AD2;
        margin: 0 20px;

    }

    a.submit_btn:hover {
        border: 1px solid #026AD2;
        background-color: #026AD2;
        color: #ffffff;
        background-image: url(../images/form_arrow_hover.png);
        background-position: right 10px center;
        background-size: 8px;
    }

}


/* footer */

.parent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    font-size: 14px;
}

.div1 {
    grid-area: 1 / 1 / 3 / 2;
}

.div2 {
    grid-area: 1 / 2 / 2 / 3;
}

.div3 {
    grid-area: 1 / 3 / 2 / 4;
}

.div4 {
    grid-area: 2 / 2 / 3 / 4;
}

.div2 li, .div3 li {
    list-style: none;
}

.div2 a, .div3 a {
    text-decoration: none;
    /* リンクの下線を消す */
    position: relative;
    /* 擬似要素の基準位置 */
    color: #fff;
}

.div2 a::before, .div3 a::before {
    content: "";
    position: absolute;
    left: 0;
    /* 左から開始 */
    bottom: 0;
    /* リンクテキストの下に表示 */
    width: 0;
    height: 1px;
    /* 下線の太さ */
    background-color: #fff;
    /* 下線の色 */
    transition: all 0.4s ease;
    /* アニメーション効果 */
}

.div2 a:hover::before, .div3 a:hover::before {
    width: 100%;
    /* 下線を全体に広げる */
}

.div2 a::after, .div3 a::after {}

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

    .fotter__list li {
        list-style: none;
        border-top: solid 1px #fff;
        padding: 12px;
        color: #fff;
        margin-bottom: 0;
        font-size: 14px;
    }

    .fotter__list li:last-child {
        border-top: solid 1px #fff;
        border-bottom: solid 1px #fff;
    }

    .fotter__list a {
        color: #fff;
        font-size: 14px;
        padding: 4px;
    }

    .fotter__list a::after {
        content: '';
        width: 7px;
        height: 7px;
        margin-top: 4px;
        border-top: solid 1px #fff;
        border-right: solid 1px #fff;
        transform: rotate(45deg);
        position: absolute;
        right: 30px;
    }

    ul a {
        /* display: block; */
    }

    /* リスト内を範囲リンクに */

    .parent2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .div2-1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .div2-2 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .div2-3 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .div2-4 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .parent2 {
        text-align: left;
        color: #fff;
        font-size: 11px;

    }

    .parent2 a {
        color: #fff;
        line-height: 1.2;

    }

    .div2-1, .div2-2, .div2-3, .div2-4 {
        padding: 12px;
        margin-bottom: 0;
        border-top: solid 1px #fff;
        color: #fff;
        display: table;
    }

    .div2-3, .div2-4 {
        padding: 12px;
        margin-bottom: 0;
        border-bottom: solid 1px #fff;
        color: #fff;
    }

    .div2-1 p, .div2-2 p, .div2-3 p, .div2-4 p {
        display: table-cell;
        vertical-align: middle;
    }

    .div2-1::after, .div2-2::after, .div2-3::after {
        content: '';
        width: 7px;
        height: 7px;
        border-top: solid 1px #fff;
        border-right: solid 1px #fff;
        transform: rotate(45deg);
        position: absolute;
        margin-top: 7px;
        margin-right: 5px;
    }

    .footer-nav-sp {
        text-align: left;
        margin-top: 50px;
    }

    .footer-nav-title {
        border-top: 1px solid #fff;
        padding: 14px 0;
        padding-left: 10px;
        padding-right: 10px;
        position: relative;
        font-size: 14px;

        &:after {
            background-image: url(../img/top-arrow.svg);
            background-size: cover;
            content: "";
            position: absolute;
            top: 18px;
            right: 15px;
            height: 6px;
            width: 11px;
            -webkit-transition: 0.2s;
            transition: 0.2s;
            transform: rotate(180deg);
        }
    }

    .footer-nav-wrap:last-child .footer-nav-title {
        border-bottom: 1px solid #fff;

    }

    .footer-link-list {
        margin-bottom: 4px;
    }

    .footer-link {
        color: #fff;
        padding-left: 20px;
        font-size: 14px;
    }

    .footer-nav-title.active {
        border-bottom: 1px solid #fff;
    }

    .footer-nav-title.active::after {
        transform: rotate(0);
    }

    .js-toggle-list {
        display: none;
    }


}


.header-inner-sp-js {
    position: fixed;
    background-color: #fff;
    padding: 10px;
    width: 100%;

}

.header-inner_box_js {
    max-width: 1080px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 10px 10px;
    padding: 10px 10px 0 10px;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    z-index: 999999;
}

@media (min-width: 768px) {

    .header-inner_box_js {
        padding: 10px 0 0 0;
    }
}

/* 初期状態のヘッダー */
.fixed-header {
    position: fixed;
    top: -100px;
    /* 初期位置で画面外に隠す */
    visibility: hidden;
    transition: top 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

/* スクロール後に表示されるヘッダー */
.fixed-header.is-show {
    top: 0;
    /* 表示位置 */
    visibility: visible;
    z-index: 999999;
}

/* SPフッタバナーの初期非表示設定 */
.float-button__wrap {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
}

/* PC表示時にSPフッターバナーを非表示に設定 */
@media (min-width: 768px) {
    .float-button__wrap {
        display: none;
    }
}

/* SPフッタにスクロール後に表示されるクラス */
.float-button__wrap.is-visible {
    opacity: 1;
    visibility: visible;
}

/*SPメニュー*/

.header__inner_js {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.logo {}

/* ハンバーガーボタンのデザイン */
.drawer__button {
    position: fixed;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 999999;
    right: 5px;
    top: 7px;
}

/* ハンバーガーボタン内の線 */
.drawer__button>span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: black;
    transform: translateX(-50%);
}

.drawer__button>span:first-child {
    transform: translate(-50%, calc(-50% - 7px));
    transition: transform 0.3s ease;
}

.drawer__button>span:nth-child(2) {
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.drawer__button>span:last-child {
    transform: translate(-50%, calc(-50% + 7px));
    transition: transform 0.3s ease;
}

/* 展開時のデザイン */
.drawer__button.activesp>span:first-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer__button.activesp>span:nth-child(2) {
    opacity: 0;
}

.drawer__button.activesp>span:last-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* メニューのデザイン */
/* ハンバーガーボタンのスタイル */
.drawer__button {
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 4px;

}

.drawer__button span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    /* 線の色を白 */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.drawer__button.activesp span {
    background-color: white;
}

/* ハンバーガーを×に変化 */
.drawer__button.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.drawer__button.open span:nth-child(2) {
    opacity: 0;
    /* 中央の線を非表示に */
}

.drawer__button.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ナビゲーションメニュー */
.drawer__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /*background-color: rgba(0, 0, 0, 0.5);  背景の暗いオーバーレイ */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
}

.drawer__nav.activesp {
    opacity: 1;
    visibility: visible;
}

.drawer__nav__inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(64, 64, 64, 0.95);
    padding: 0;
    margin: 0 0 0 auto;
    overflow-y: none;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.drawer__nav.activesp .drawer__nav__inner {
    transform: translateX(0);
    /* メニューを画面にスライドイン */
}

.drawer__nav__menu {
    list-style: none;
    padding: 60px 15px 0 15px
}

.drawer__nav__link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 2px 0;
    margin: 0;
    font-size: 14px;
    text-align: left;
}

li.drawer__nav__item {
    padding: 10px 15px;
    margin: 0;
}

.drawer__nav__item {
    border-top: solid 1px #fff;
}

.drawer__nav__item:last-child {
    border-bottom: solid 1px #fff;
}

.drawer__nav__link::after {
    content: '';
    width: 7px;
    height: 7px;
    margin-top: 3px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    position: absolute;
    right: 30px;
}

/* ハンバーガーメニュー展開時、背景を固定 */
body.activesp {
    overflow-y: hidden;
}


/*メニュー----------	-*/

nav {
    width: 1020px;
    margin: 0 auto;
}

nav ul.navi {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 0;
}

nav li.navi {
    flex: 1 0 auto;
    margin-bottom: 0
}

nav li a.navi {
    text-decoration: none;
    text-align: center;
    width: 100%;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

nav li {
    margin-bottom: 0;
    line-height: 1;
}

.navi_link_color {
    color: #fff;
}

nav a:hover {
    background-color: #026AD2;
    color: #fff;
}

nav a {
    padding: 10px;
    margin-top: 10px;
    color: #fff;
    display: block;
}

@media screen and (max-width: 1000px) {
    nav a {
        padding: 0;
        margin-top: 0;
        display: contents;
    }
}

/* SPタブ切り替え */

.tabBox .tabArea {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

.tabBox .tabArea .one_tab {
    width: 32%;
    /* 3つ並ぶように幅を調整 */
    display: block;
    text-decoration: none;
    transition-duration: 0.3s;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
    /* 行の間隔を少しあける */
}

.tabBox .tabArea .one_tab .tab_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0.3s;

    border-radius: 8px;
    background-color: #fff;
    border-bottom: 5px solid #E3E3E3;
    min-height: 4em;
    font-weight: bold;
    color: #026AD2;
    line-height: 1.1;

}

.tabBox .tabArea .one_tab:nth-child(1) .tab_inner {}

.tabBox .tabArea .one_tab:nth-child(2) .tab_inner {}

.tabBox .tabArea .one_tab:nth-child(3) .tab_inner {}

.tabBox .tabArea .one_tab:nth-child(4) .tab_inner {}

.tabBox .tabArea .one_tab:nth-child(5) .tab_inner {}

.tabBox .tabArea .one_tab:nth-child(6) .tab_inner {}

.tabBox .tabArea .one_tab.select .tab_inner {
    background-color: #007763;
    border-bottom: 5px solid #026AD2;
    color: #FFF;

}

.tabBox .tabArea.bottom {
    align-items: flex-start;
}

.contents .tab_main {
    display: none;
    min-height: 300px;
    transition-duration: 0.3s;
}

.tab_main.is_show {
    display: block;
}

.tab_main:nth-child(1).is_show {}

.tab_main:nth-child(2).is_show {}

.tab_main:nth-child(3).is_show {}

.tab_main:nth-child(4).is_show {}

.tab_main:nth-child(5).is_show {}

.tab_main:nth-child(6).is_show {}




/* SP版Newsのリンク＞箇所*/

.news_link::after {
    content: '';
    width: 7px;
    height: 7px;
    border-top: solid 1px #026AD2;
    border-right: solid 1px #026AD2;
    transform: rotate(45deg);
    position: absolute;
    right: 40px;
}

/* graph 数値の割合箇所 */
.graph {
    display: flex;
    flex-wrap: wrap;
    /* 子要素を折り返す */
    gap: 35px;
    /* 各要素間のスペース */
    max-width: 1000px;
    margin: 0 auto;
    color: #000;
}

/* PC表示で横に3つ並ぶ設定 */
.graph-inner {
    flex: 1 1 calc(33.33% - 35px);
    /* 横に3つ並べる */
    box-sizing: border-box;

}

/* SP表示で縦に3つ並ぶ設定 */
@media only screen and (max-width: 768px) {
    .graph-inner {
        flex: 1 1 100%;
        /* 縦に並べる */
        padding: 0 15px;
        font-size: 14px;
        text-align: center;
    }

    .graph-inner img {
        width: 70%;
    }

    .graph-inner p {
        text-align: left;
    }
}



/* モーダル全体(背景＋本体) */

/* .nodisplay {
    display: none;
} */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;

}

/* モーダル背景 */
.modal-bg {
    position: absolute;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);

}

/* モーダル本体 */
.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    /* ウィンドウの内側に余白 */

}

.modal-content_box {
    color: #fff;
    font-size: 50px;
    text-align: right;
    clip-path: inset(0 round 10px);
    /* 角丸を保つためのクリップパス */
    z-index: 99999999;
    width: 100%;
    max-width: 1000px;
    max-height: 77vh;
    /* ウィンドウ高さの90%に制限 */
    box-sizing: border-box;

    .floating-form__lead {
        font-size: 1.4rem;
    }

    .modal-content-inner-sp {
        text-align: left;
        padding: 10px;
        border-radius: 5px;
    }

    .floating-form__body {
        padding: 10px;
    }
}


.modal-content-inner {
    background-color: white;
    border-radius: 10px;

    width: 100%;
    max-height: 100%;
    /* modal-content_boxの高さに合わせる */
    box-sizing: border-box;
    /* overflow-y: auto; */
    /* modal-content-inner内でスクロールを許可 */

}

/* iframeの基本スタイル */
.modal-content-iframe {
    width: 100%;
    max-height: 70vh;
    border: none;
    height: 100%;
}


/*モーダルを閉じるボタンの指定*/
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    cursor: pointer;
}

.modal-content-inner-sp {
    background: #fff;
    color: #000;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;

    img {
        width: 100%;
    }
}

#modal_freedial {
    .modal-content-inner-sp {
        overflow-y: hidden;

    }
}


.modal-content-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 4px;
    font-weight: normal;
    text-align: center;
}

.modal-tel-num {
    display: block;
    margin-bottom: 18px;
}

.modal-content-text {
    margin-top: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    text-align: center;
}

.modal_btn-con {
    display: flex;
    gap: 10px;

    a {
        width: 50%;
    }
}