/* ================= グローバル ================= */
:root {
    --color-primary-green: #2FB2B9;
    --color-primary-green-rgb: 47, 178, 185;
    --color-primary-pink:#EB688C;
    --color-primary-pink-rgb: 235, 104, 140;
    --color-white: #FFFFFF;
    --color-white-rgb: 255, 255, 255;
    --color-black: #000000; 
    --color-sub-strong: #00828C;
    --color-sub-strong-rgb: 0, 130, 140;
    --color-sub-thin-a: #B9DCDC;
    --color-sub-thin-b: #DDEAE7;
    --color-sub-thin-c: #CBECEE;
    --color-sub-beige: #F6F3F0;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
a[href^="tel"], a[href^="mailto"] {
    text-decoration: none;
    color: inherit;
}
li {
    list-style-type: none;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
img, video {
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-feature-settings: "palt";
    letter-spacing: 0.5px;
}

/* 共通スクロールインアクション */
.fadeup_pc {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    will-change: opacity, transform;
}
.fadeup_sp {
    opacity: 0;
    transform: translateY(80px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: opacity, transform;
}
.fadeup_pc.is_visible,
.fadeup_sp.is_visible {
    opacity: 1;
    transform: translateY(0);
}


/* ================= ナビゲーション ================= */
/* ナビゲーションバー */
nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 100;
}
.nav_inner {
    width: 100%;
    height: 86px;
    border-radius: 43px;
    background-color: rgba(var(--color-white-rgb), 0.85);
    box-shadow: 2px 2px 15px rgba(0,0,0,.3);
    transform: translateY(-140%);
    display: flex;
    justify-content: space-between;
}
.nav_branding {
    margin-left: 40px;
    display: flex;
    align-items: center;
}
.toplink {
    display: flex;
    align-items: center;
}
.logomark {
    height: 56px;
    margin-right: 10px;
}
.logotype {
    height: 20px;
    margin-right: 20px;
}
.certification {
    background-color: var(--color-sub-strong);
    font-size: 0.8rem;
    line-height: 1.2;
    color: var(--color-white);
    padding: 3px 8px 4px;
    border-radius: 5px;
}
.visually_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.nav_certification_sp {
    display: none;
}
.nav_menu {
    display: flex;
    margin-right: 40px;
}
.nav_menu_list {
    display: flex;
    align-items: center;
    margin-right: 22px;
    gap: 15px;
}
.nav_menu_list li {
    font-size: 1rem;
    line-height: 1;
    padding-bottom: 2px;
}
.nav_menu_list li a {
    position: relative;
    display: inline-block;
}
.nav_menu_list li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: rgba(var(--color-primary-green-rgb),.8);
    transition: width 0.3s ease;
}
.nav_menu_list li a:hover::after {
    width: 100%;
}
.nav_toggle {
    display: flex;
    width: 50px;
    border: none;
    background: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
}
.nav_toggle span {
    display: block;
    height: 2px;
    width: 50px;
    background: var(--color-black);
    transition: transform .25s ease, opacity .25s ease;
}
@media (max-width: 1440px) {
    .nav_menu_list {
        display: none;
    }
}
@media (max-width: 1380px) {
    .nav_inner {
        height: 76px;
        border-radius: 38px;
    }
    .logomark {
        height: 50px;
    }
    .logotype {
        height: 18px;
    }
}
@media (max-width: 1080px) {
    nav {
        width: 94%;
    }
    .nav_inner {
        height: 68px;
        border-radius: 34px;
    }
    .nav_branding {
        margin-left: 30px;
    }
    .logomark {
        height: 40px;
        margin-right: 8px;
    }
    .logotype {
        height: 17px;
        margin-right: 16px;
    }
    .nav_menu {
        margin-right: 30px;
    }
    .nav_toggle {
        cursor: auto;
    }
}
@media (max-width: 780px) {
    nav {
        top: 20px;
    }
    .nav_branding {
        margin-left: 22px;
    }
    .logomark {
        height: 32px;
        margin-right: 6px;
    }
    .logotype {
        height: 14px;
        margin-right: 14px;
    }
    .certification {
        font-size: 0.7rem;
        line-height: 1.3;
        padding: 3px 6px 4px;
    }
    .nav_menu {
        margin-right: 22px;
    }
    .nav_toggle {
        width: 40px;
    }
    .nav_toggle span {
        width: 40px;
    }    
}
@media (max-width: 580px) {
    .nav_inner {
        height: 60px;
        border-radius: 30px;
    }
    .nav_branding {
        margin-left: 20px;
    }
    .logomark {
        height: 26px;
    }
    .logotype {
        height: 13px;
        margin-right: 0;
    }
    .certification {
        display: none;
    }
    .nav_menu {
        margin-right: 20px;
    }
    .nav_toggle {
        width: 32px;
        gap: 5px;
    }
    .nav_toggle span {
        width: 32px;
    }
    .nav_certification_sp {
        display: block;
        position: absolute;
        top: 68px;
        right: 4px;
        background-color: var(--color-sub-strong);
        font-size: 0.8rem;
        line-height: 1.3;
        color: var(--color-white);
        padding: 3px 6px 4px;
        border-radius: 5px;
    }
}

/* ドロワー構造 */
.drawer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 110;
}
.drawer_left,
.drawer_right {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    transform: translateX(-100%);
}
.drawer_left {
    background: var(--color-sub-thin-c);
    padding-right: 50px;
    z-index: 130;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.drawer_right {
    background: var(--color-sub-strong);
    padding-left: 50px;
    z-index: 120;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* ドロワーインナー */
.drawer_left .logo {
    width: 220px;
}
.drawer_right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.drawer_right li {
    margin-bottom: 40px;
    color: var(--color-white);
}
.drawer_right li:last-child {
    margin-bottom: 0;
}
.drawer_right li a {
    display: block;
}
.drawer_right li a span,
.drawer_right li a small {
    position: relative;
    display: inline-block;
}
.drawer_right li span {
    display: block;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 15px;
    padding-bottom: 3px;
}
.drawer_right li small {
    display: block;
    font-size: 0.95rem;
}
.drawer_right li .break {
    margin-bottom: 5px;
}
.drawer_right li a span::after,
.drawer_right li a small::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: var(--color-sub-thin-c);
    transition: width 0.3s ease;
}
.drawer_right li a:hover span::after,
.drawer_right li a:hover small::after {
    width: 100%;
}
@media (max-width: 1080px) {
    .drawer_right li a span::after,
    .drawer_right li a small::after {
        display: none;
    }
}
@media (max-width: 940px) and (min-height: 1100px) {
    .drawer_left .logo {
        width: 220px;
    }
    .drawer_left,
    .drawer_right {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        transform: translateY(200%);
    }
    .drawer_left {
        height: 50%;
        padding: 30px 0 0 30px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .drawer_right {
        height: 100%;
        padding: 60px 0 0 30px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .drawer_right li {
        margin-bottom: 38px;
        color: var(--color-white);
    }
    .drawer_right li span {
        font-size: 1.5rem;
        line-height: 1;
        margin-bottom: 12px;
    }
    .drawer_right li small {
        font-size: 1rem;
    }
    .drawer_right li .break {
        margin-bottom: 10px;
    }
}
@media (max-width: 940px) and (max-height: 1100px) {
    .drawer_left .logo {
        width: 180px;
    }
    .drawer_left,
    .drawer_right {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        transform: translateY(200%);
    }
    .drawer_left {
        height: 50%;
        padding: 25px 0 0 25px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .drawer_right {
        height: 100%;
        padding: 50px 0 0 25px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .drawer_right li {
        margin-bottom: 27px;
        color: var(--color-white);
    }
    .drawer_right li span {
        font-size: 1.3rem;
        line-height: 1;
        margin-bottom: 10px;
    }
    .drawer_right li small {
        font-size: 0.9rem;
    }
    .drawer_right li .break {
        margin-bottom: 5px;
    }
}
@media (max-width: 680px) {
    .drawer_left {
        height: 57%;
        padding: 20px 0 0 20px;
    }
    .drawer_left .logo {
        width: 160px;
    }
    .drawer_right {
        padding: 44px 0 0 20px;
    }
    .drawer_right li {
        margin-bottom: 25px;
    }
    .drawer_right li span {
        font-size: 1.2rem;
        margin-bottom: 9px;
    }
}

/* ドロワー×ボタン */
.drawer_close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
}
.drawer_close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 2px;
    background: var(--color-white);
    transform-origin: center;
}
.drawer_close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}
.drawer_close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 940px) {
    .drawer_close {
        top: 18px;
        right: 18px;
    }
}


/* ================= フッター ================= */
.footer_fade {
    width: 100%;
    height: 140px;
    background: linear-gradient(to bottom,
        rgb(255, 255, 255, 0) ,
        rgb(246, 243, 240, 1) 
    );
}
footer {
    background-color: var(--color-sub-beige);
    padding: 40px 0; 
}
.footer_inner {
    max-width: 70%;
    margin: 0 auto;
}
.footer_top {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 50px;
}
.footer_branding {
    flex: 0 0 220px;
}
.footer_logo {
    display: block;
    width: 220px;
    height: auto;
    margin-bottom: 16px;
}
.footer_branding p {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}
.footer_nav_area {
    flex: 1 1 auto;
}
.footer_catch {
    text-align: right;
    margin-bottom: 50px;
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 700;
    color: var(--color-sub-strong);
}
.footer_catch .tb, .footer_catch .sp {
    display: none;
}
.footer_nav_groups {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}
.footer_nav_title {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 13px;
}
.footer_nav_title a,
.footer_nav_list a {
    position: relative;
    display: inline-block;
}
.footer_nav_title a::after,
.footer_nav_list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: rgba(var(--color-primary-green-rgb),.8);
    transition: width 0.3s ease;
}
.footer_nav_title a:hover::after,
.footer_nav_list a:hover::after {
    width: 100%;
}
.footer_nav_list li {
    margin-top: 8px;
    margin-left: 1px;
    line-height: 1.2;
}
.footer_nav_list a {
    font-size: 0.9rem;
}
.footer_nav_list .sp {
    display: none;
}
.footer_middle {
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-black);
}
.footer_tkc_logo {
    display: block;
    height: 30px;
    width: auto;
}
.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.8rem;
    font-weight: 500;
}
.footer_back_to_top_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #000;
    font-size: 0.7rem;
    line-height: 1;
    color: var(--color-white);
    background-color: var(--color-black);
}
@media (max-width: 1080px) {
    .footer_nav_title a::after,
    .footer_nav_list a::after {
        display: none;
    }
}
@media (max-width: 1580px) {
    .footer_inner {
        max-width: 80%;
    }
}
@media (max-width: 1380px) {
    .footer_catch {
        font-size: 2rem;
    }
    .footer_inner {
        max-width: 90%;
    }
}
@media (max-width: 1180px) {
    .footer_branding {
        flex: 0 0 210px;
    }
    .footer_logo {
        width: 210px;
        margin-bottom: 14px;
    } 
    .footer_catch {
        font-size: 1.8rem;
    }
    .footer_nav_groups {
        gap: 20px;
    }
}
@media (max-width: 980px) {
    .footer_catch {
        line-height: 1.3;
    }  
    .footer_catch .tb {
        display: block;
    }
    .footer_nav_groups {
        display: grid; 
        grid-template-columns: repeat(2, auto);
        column-gap: 30px;
        row-gap: 20px;
        margin-left: auto;
        width: max-content;
    }
}
@media (max-width: 780px) {
    .footer_top {
        gap: 35px;
        flex-direction: column;
        margin-bottom: 40px;
    }
    .footer_branding {
        flex: 0 0 220px;
    }
    .footer_logo {
        width: 200px;
        margin-bottom: 14px;
    } 
    .footer_catch {
        text-align: left;
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    .footer_nav_groups {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .footer_nav_title {
        font-size: 1.05rem;
        margin-bottom: 11px;
    }
    .footer_nav_list li {
        line-height: 1.1;
    }
    .footer_nav_list .sp {
        display: block;
    }
    .footer_tkc_logo {
        height: 27px;
    }
}