@charset "UTF-8";

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

:root {
    --main: #00468b;
    --dark: #00215d;
    --sub: #0071bc;
    --accent: #ff5050;
    --syagai: #0096d1;
    --syanai: #00b8c8;
    --bg: #f0f6f6;
    --bg2: #b3d5eb;
    --gd: linear-gradient(to bottom, #f6fbfe, #bff0f9);
}

html {
	font-size: 62.5%;
    color: #333;
}

* {
    box-sizing: border-box;
}

* img {
    vertical-align: middle;
}

* a {
    text-decoration: none;
}

* ul li {
    list-style: none;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "Helvetica Neue", HelveticaNeue, Helvetica, Arial, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    position: relative;
}

body .mincho {
    font-family:
        "Times New Roman",
        "Yu Mincho", YuMincho, "游明朝", "游明朝体",
        "Hiragino Mincho ProN", "Hiragino Mincho Pro",
        "ヒラギノ明朝 ProN W3", "HiraMinProN-W3",
        "MS P明朝", "MS PMincho", "MS 明朝",
        serif;
}

.noto {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    font-optical-sizing: auto;
    font-style: normal;
}

.noto5 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-optical-sizing: auto;
    font-style: normal;
}

.osw {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-optical-sizing: auto;
    font-style: normal;
}

.osw4 {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
}

* img {
    vertical-align: middle;
    image-rendering: -webkit-optimize-contrast;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media all and (max-width: 767px) {
    .pc {
        display: none;
    }
    
    .sp {
        display: block;
    }
}

main {
    line-height: 2;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

#top_btn {
    position: fixed;
    right: -60px;
    bottom: 0;
    display: block;
    height: 60px;
    width: 60px;
    transition: all 0.2s;
}

#top_btn.active {
    right: 0px;
}

.bg_set {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg_right {
    background-color: var(--bg);
}

.sec_pad {
    padding: 6vw 5%;
}

.red {
    color: #c1272d;
}

.h2_box {
    text-align: center;
    font-size: clamp(15px, 1.6vw, 20px);
    line-height: 1;
    font-feature-settings: "palt";
    margin-bottom: 3em;
}

.h2_box .h2_sub {
    color: var(--main);
    letter-spacing: 0.1em;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid var(--main);
}

.h2_box h2 {
    font-size: 160%;
    letter-spacing: 0.1em;
}

.c_ttl {
    text-align: center;
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
}

.c_txt {
    text-align: center;
    font-size: clamp(15px, 1.3vw, 20px);
    line-height: 2;
    margin-bottom: 2em;
}

.c_txt span {
    font-weight: bold;
}

.img_box img {
    width: 80%;
    margin: 0 auto;
}

@media all and (max-width: 1200px) {
    .img_box img {
        width: 100%;
    }
}

@media all and (max-width: 767px) {
    #top_btn {
        right: -50px;
        height: 50px;
        width: 50px;
    }

    .sec_pad {
        padding: 10vw 5%;
    }

    .h2_box {
        font-size: clamp(13px, 2vw, 18px);
        margin-bottom: 3em;
    }

    .h2_box h2 {
        font-size: 140%;
    }
    
    .c_txt {
        text-align: justify;
        font-size: clamp(13px, 2vw, 16px);
    }
}

/*===========================================
       fade設定
===========================================*/
.fade_up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}

.fade_up_on {
    opacity: 1;
    transform: translateY(0);
}

/*===========================================
       header設定
===========================================*/
/* ヘッダー本体は高さを取らせない */
.site_header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: min(90vw, 1200px);
    height: 0;
    margin: 0 auto;
    font-size: clamp(14px, 1.2vw, 16px);
    pointer-events: none;
}

/* 白い角丸ヘッダー */
.h_wrap {
    position: relative;
    top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 18px 28px;
    box-shadow: 0 6px 18px rgba(0, 31, 64, 0.16);
    pointer-events: auto;
}

#logo {
    display: block;
    flex-shrink: 0;
}

#logo img {
    display: block;
    width: clamp(150px, 16vw, 200px);
    height: auto;
}

.global_nav {
    flex: 1;
}

.pnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2vw, 32px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.pnav a {
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.pnav a:hover {
    color: var(--sub);
}

.h_contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 999px;
    padding: 0.75em 1.5em;
    color: white!important;
    transition: all 0.2s;
}

.h_contact:hover {
    background: var(--main);
}

/* PCではハンバーガー非表示 */
.menu_btn {
    display: none;
}

@media (max-width: 900px) {
    .h_line {
        font-size: 13px;
        padding: 0.9em 1em 1em;
    }

    .h_line p {
        letter-spacing: 0.12em;
    }

    .site_header {
        width: calc(100% - 32px);
    }

    .h_wrap {
        top: 12px;
        padding: 12px 16px;
        border-radius: 14px;
        gap: 16px;
    }

    #logo img {
        width: 150px;
    }

    .menu_btn {
        position: relative;
        z-index: 1003;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .menu_btn span {
        display: block;
        width: 28px;
        height: 2px;
        background: var(--dark);
        border-radius: 999px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .global_nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1002;
        width: min(82vw, 360px);
        height: 100dvh;
        background: #fff;
        padding: 96px 28px 32px;

        /* 閉じている時はシャドウなし */
        box-shadow: none;

        /* シャドウ分も含めて右へ格納 */
        transform: translateX(calc(100% + 32px));

        transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;

        pointer-events: auto;
        overflow-y: auto;
    }

    body.is-menu-open .global_nav {
        transform: translateX(0);

        /* 開いた時だけシャドウを付ける */
        box-shadow: -8px 0 24px rgba(0, 31, 64, 0.18);
    }

    .pnav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .pnav li {
        border-bottom: 1px solid rgba(0, 31, 64, 0.12);
    }

    .pnav a {
        display: block;
        padding: 18px 0;
        font-size: 16px;
        line-height: 1.5;
    }

    .nav_contact {
        margin-top: 24px;
        border-bottom: none;
    }

    .h_contact {
        width: 100%;
        padding: 1em;
        text-align: center;
    }

    body.is-menu-open {
        overflow: hidden;
    }

    body.is-menu-open .global_nav {
        transform: translateX(0);
    }

    body.is-menu-open .menu_btn span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.is-menu-open .menu_btn span:nth-child(2) {
        opacity: 0;
    }

    body.is-menu-open .menu_btn span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .site_header {
        width: calc(100% - 24px);
    }

    .h_wrap {
        top: 10px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    #logo img {
        width: 135px;
    }

    .menu_btn {
        width: 40px;
        height: 40px;
        gap: 5px;
    }

    .menu_btn span {
        width: 26px;
    }

    .global_nav {
        width: 86vw;
        padding: 86px 24px 32px;
        transform: translateX(calc(100% + 32px));
    }

    body.is-menu-open .global_nav {
        transform: translateX(0);
    }

    .pnav a {
        padding: 16px 0;
        font-size: 15px;
    }

    .nav_contact {
        margin-top: 20px;
    }
}

/*===========================================
       footer設定
===========================================*/
footer {
    background-color: var(--main);
    padding: 4vw 5% 2vw;
    display: flex;
    flex-wrap: wrap;
    font-size: clamp(13px,1.5vw,16px);
    color: white;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.f_left {
    flex: 1;
}

#f_logo {
    width: 200px;
    display: block;
    margin-bottom: 2em;
}

#f_logo img {
    width: 100%;
}

.f_left .ttl {
    font-weight: bold;
    font-size: 110%;
    margin-bottom: 0.5em;
}

.f_left .txt {
    font-size: 90%;
}

#f_nav {
    width: 20em;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 1em 0;
}

#f_nav li {
    width: 10em;
}

#f_nav li a {
    transition: all 0.2s;
}

#f_nav li a:hover {
    color: var(--c1);
}

#copyright {
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin-top: 2em;
}

@media all and (max-width: 767px) {
    footer {
        background-color: var(--main);
        padding: 8vw 5% 3vw;
        font-size: clamp(12px, 1.5vw, 15px);
    }

    .f_left {
        flex: 1;
    }

    #f_logo {
        width: 150px;
        margin: 0 auto 2em;
    }

    #f_logo img {
        width: 100%;
    }

    .f_left .ttl {
        text-align: center;
    }

    .f_left .txt {
        text-align: center;
    }

    #f_nav {
        display: none;
    }

    #copyright {
        font-size: 10px;
    }
}

/*===========================================
       cta設定
===========================================*/
.cta_box {
    background-color: white;
    font-size: clamp(15px, 1.5vw, 18px);
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
    padding: 3em 5%;
    box-shadow: 0 -0.3em 0.5em 0 rgba(0, 0, 0, 0.05);
}

.cta_box .cta_wrap {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta_box .cta_wrap .txt {
    letter-spacing: 0.2em;
    font-size: 110%;
}

.cta_box .cta_wrap img {
    width: 70vw;
    margin: 1em 0 2em;
}

.cta_box .cta_wrap .btn_box {
    display: flex;
    justify-content: center;
    gap: 2em;
}

.cta_box .cta_wrap .btn_box a {
    display: block;
    width: 15em;
    background-color: var(--accent);
    border: 2px solid var(--accent);
    text-align: center;
    line-height: 1;
    color: white;
    padding: 0.3em 1em 0.4em;
    border-radius: 1.5em;
    transition: all 0.2s;
}

.cta_box .cta_wrap .btn_box a:hover {
    background-color: var(--main);
    border: 2px solid var(--main);
}

.cta_box .cta_wrap .btn_box a:nth-child(2) {
    background-color: white;
    border: 2px solid var(--main);
    color: var(--main);;
}

.cta_box .cta_wrap .btn_box a:hover {
    color: white;
    background-color: var(--main);
}

@media all and (max-width: 767px) {
    .cta_box {
        font-size: clamp(13px, 2vw, 16px);
        padding: 3em 5%;
    }

    .cta_box .cta_wrap .txt {
        letter-spacing: 0.1em;
        font-size: 100%;
        text-align: center;
        line-height: 1.5;
    }
    
    .cta_box .cta_wrap img {
        width: 70vw;
        margin: 1.5em 0 2.5em;
    }
    
    .cta_box .cta_wrap .btn_box {
        flex-direction: column;
        gap: 1em;
    }
    
    .cta_box .cta_wrap .btn_box a {
        width: 18em;
        border: 1px solid var(--accent);
    }
    
    .cta_box .cta_wrap .btn_box a:hover {
        border: 1px solid var(--main);
    }
    
    .cta_box .cta_wrap .btn_box a:nth-child(2) {
        border: 1px solid var(--main);
    }
}

/*===========================================
       下層ページfv
===========================================*/
#common_fv {
    height: 500px;
    background-image: url(../img/fv_back.webp);
}

#common_fv .fv_wrap {
    padding-top: 100px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

#common_fv .fv_wrap img {
    height: 400px;
    width: auto;
}

#common_fv .h1_box {
    width: 100%;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

#common_fv .h1_box .h1_sub {
    font-size: 70px;
    line-height: 1;
    letter-spacing: .2em;
    color: white;
    position: relative;
    margin-bottom: 0.5em;
}

#common_fv .h1_box .h1_sub:after {
    content: "";
    display: block;
    width: 3em;
    height: 1px;
    background-color: white;
    position: absolute;
    bottom: -0.3em;
    left: 50%;
    transform: translateX(-50%);
}

#common_fv .h1_box h1 {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.1em;
    color: white;
}

@media screen and (max-width: 767px) {
    #common_fv {
        height: 350px;
    }

    #common_fv .fv_wrap {
        padding-top: 70px;
    }

    #common_fv .fv_wrap img {
        height: 280px;
    }

    #common_fv .h1_box {
        bottom: 50px;
    }

    #common_fv .h1_box .h1_sub {
        font-size: 38px;
    }

    #common_fv .h1_box h1 {
        font-size: 20px;
    }
}