@import url(destyle.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* ------------------------
基本設定
------------------------ */
.pc {
    display: block;
}

.sp {
    display: none;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
}

/* ------------------------
ヘッダー
------------------------ */
:root {
    --header-h: 64px;
    /* JSが上書きする */
    --ham-gutter: 96px;
    /* JSが上書きする */
    --overlay-w-pc: 45vw;
    --z-header: 1100;
    --z-overlay: 1200;
    --z-button: 2000;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    z-index: var(--z-header);
    padding: env(safe-area-inset-top) 16px 0 16px;
}

.header-logo .img_co_logo {
    width: clamp(160px, 20vw, 360px);
    display: block;
}

/* ボタンを最前面に固定 */
.hamburger_menu {
    position: fixed;
    top: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding-right: max(16px, env(safe-area-inset-right));
    z-index: var(--z-button);
}

.hamburger_overlay {
    position: relative;
    width: 52px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger_overlay__line {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: #06B7E7;
    border-radius: 2px;
    transition: transform .35s, opacity .25s, top .35s, background .25s;
}

.hamburger_overlay__line:nth-child(1) {
    top: 12px;
}

.hamburger_overlay__line:nth-child(2) {
    top: 22px;
}

.hamburger_overlay__line:nth-child(3) {
    top: 32px;
}

.hamburger_overlay.active .hamburger_overlay__line:nth-child(1) {
    top: 22px;
    transform: rotate(-45deg);
}

.hamburger_overlay.active .hamburger_overlay__line:nth-child(2) {
    opacity: 0;
}

.hamburger_overlay.active .hamburger_overlay__line:nth-child(3) {
    top: 22px;
    transform: rotate(45deg);
}

/* ------------------------
オーバーレイ
------------------------ */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s, visibility .25s;
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* 背景（タップで閉じる） */
.nav-overlay__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
}

/* 右から出てくるパネル */
.nav-overlay__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(100%, var(--overlay-w-pc));
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s ease;
    padding-top: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-overlay.active .nav-overlay__panel {
    transform: translateX(0);
}

/* ×ボタン */
.nav-close {
    position: absolute;
    top: calc(var(--header-h, 64px) * 0.2);
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #06B7E7;
}

.nav-overlay__content {
    width: 100%;
    text-align: center;
}

.nav-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* リストのフェードイン */
.nav-overlay__item {
    opacity: 0;
    transform: translateY(12px);
    transition: .60s;
}

.nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) {
    transition-delay: .1s;
}

.nav-overlay.active .nav-overlay__item:nth-child(2) {
    transition-delay: .2s;
}

.nav-overlay.active .nav-overlay__item:nth-child(3) {
    transition-delay: .3s;
}

.nav-overlay.active .nav-overlay__item:nth-child(4) {
    transition-delay: .4s;
}

.nav-overlay.active .nav-overlay__item:nth-child(5) {
    transition-delay: .5s;
}

.nav-overlay.active .nav-overlay__item:nth-child(6) {
    transition-delay: .6s;
}

.nav-overlay.active .nav-overlay__item:nth-child(7) {
    transition-delay: .7s;
}

.nav-overlay__link {
    display: inline-block;
    padding: 14px 20px;
    color: #06B7E7;
    font-weight: 600;
    font-size: clamp(.8rem, 1.5vw, 3rem);
    text-decoration: none;
}

.nav-overlay__link:hover {
    color: #4a90e2;
}

/* メニュー下部のロゴ＋リンク */
.ham_footer {
    margin: 3vw;
}

.ham_footer .ham_logo {
    width: clamp(140px, 18vw, 280px);
    margin: 12px auto;
    display: block;
}

.ham_footer .link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2vw;
}

.ham_footer .link a {
    color: #146C94;
    text-decoration: none;
    border-bottom: 1px solid #e6f2fb;
    padding-bottom: 4px;
    font-size: clamp(.8rem, 1.5vw, 3rem);
}

/* ハンバーガー開いてる時に背後をスクロールさせない */
body.is-locked {
    overflow: hidden;
}

/* ------------------------
メイン
------------------------ */
.act-main {
    width: min(90vw, 80rem);
    margin: calc(var(--header-h) + 1.5rem) auto 4rem;
    line-height: 1.8;
}

.act-main h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.6rem);
    color: #146C94;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.act-main h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.8rem);
    color: #146C94;
    margin: 2.8rem 0 1rem;
    font-weight: 500;
}

.act-main p {
    font-size: clamp(.9rem, 1.2vw, 1.6rem);
    margin-bottom: 1rem;
}

/* テーブル１ */
.company_info {
    margin: 2rem 0;
}

.company_table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(.9rem, 1.2vw, 1.1rem);
}

.company_table th,
.company_table td {
    border: 1px solid #fff;
    padding: 1rem 1.5rem;
    text-align: left;
    padding: 1.8vw 3vw;
    font-weight: 400;
    font-size: clamp(.9rem, 1.2vw, 1.6rem);
}

.company_table th {
    background-color: #146C94;
    color: #fff;
    width: 30%;
}

.company_table td {
    background-color: #D3F1FF;
    color: #333;
    line-height: 1.6;
}

/* テーブル２ */
.company_info2 {
    margin: 2rem 0;
}

.company_table2 {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(.9rem, 1.2vw, 1.1rem);
}


.company_table2 th {
    background-color: #146C94;
    color: #fff;
    width: 30%;
}

.company_table2 td {
    background-color: #D3F1FF;
    color: #333;
    line-height: 1.6;
}

.company_info2 .company_table2 th,
.company_info2 .company_table2 td {
    border: 1px solid #fff;
    padding: 1rem 1.5rem;
    text-align: left;
    padding: 1.8vw 1vw;
    font-weight: 400;
    font-size: clamp(.9rem, 1.2vw, 1.6rem);
}

.back-btn {
    margin-top: 3rem;
    text-align: center;
}

.back-btn a {
    display: inline-block;
    background-image: linear-gradient(180deg, #146C94, #024B6C);
    color: white;
    padding: .7rem 3.5rem;
    text-align: center;
    border-radius: 9999px;
    text-decoration: none;
    font-size: .95rem;
    font-size: clamp(.9rem, 1.2vw, 1.6rem);
    width: clamp(15vw, calc(30vw - 5vw), 23vw);
}


/* ------------------------
フッター
------------------------ */
.pc_footer {
    display: flex;
}

footer {
    background-color: #146C94;
    color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 2vw;
    font-size: clamp(.8rem, 1.2vw, 2rem);
}

footer img {
    width: 18vw;
}

footer .link {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

footer .link a {
    border-bottom: 1px solid white;
}

/* ------------------------
スマホ
------------------------ */
@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    :root {
        --overlay-w-pc: 100vw;
    }

    .header-logo .img_co_logo {
        width: clamp(140px, 40vw, 280px);
    }

    .hamburger_overlay {
        width: 48px;
        height: 44px;
    }

    .nav-overlay__link {
        font-size: clamp(4vw, 4.5vw, 5vw);
    }

    /*  */
    .act-main {
        width: min(95vw, 48rem);
    }

    .act-main p {
        font-size: clamp(1rem, 1.2vw, 1.6rem);
        margin-bottom: 0;
    }

    .act-main h3 {
        font-size: clamp(1.3rem, 1.2vw, 1.7rem);
        font-weight: 600;
        margin: 1.5rem 0 .2rem;
    }

    .back-btn a {
        width: 42vw;
    }



    .company_table th,
    .company_table td {}

    /*  */
    footer {
        flex-direction: column;
        gap: 1rem;
    }

    footer img {
        width: 42vw;
        margin: 0 0 3vw 0;
    }

    footer .link {
        flex-direction: row;
        gap: 4vw;
        margin: 2vw;
        justify-content: center;
    }

    .sp_footer {
        margin: auto;
        text-align: center;
        padding: 4vw 0;
    }
}