@charset "utf-8";

/* 共通 */
html {
    background-color: #FDFAFF;
}

/* 本文用フォント*/
body {
    font-family: "BIZ UDPGothic", sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #503B2F;
}

/* ナビゲーション展開時にbodyに付与するクラス */
body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main {
    width: 100%;
    margin: 0 auto;
}

h1 {
    font-family: "Potta One", system-ui;
}

.header,
.footer {
    width: 100%;
}

.bg-video,
.pc_left_content,
.pc_side_nav_wrapper {
    display: none;
}

/* ------------------
ヘッダー の設定
------------------*/
.header {
    width: 100%;
    background-color: #91AE7E;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header_inner {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin: 0 auto;
}

.header_left {
    display: flex;
    gap: 2px;
    align-items: center;
}

.header_right {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ロゴ */
.logo {
    width: auto;
    height: auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 42px;
    width: auto;
}

.logo_text {
    font-size: 18px;
    color: #fff;
}


/* お問い合わせボタン */
.contact_btn {
    display: inline-block;
    font-size: 16px;
    text-align: center;
    padding: 8px 20px;
    min-width: 136px;
    height: 32px;
    background-color: #BFB9A1;
    border-radius: 30px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    line-height: 1;
    color: #503B2F;
    text-decoration: none;
}

.contact_btn:hover {
    opacity: 0.8;
}

/* ハンバーガーメニューの設定(3→×) */
.openbtn {
    position: relative;
    background: #503B2F;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    z-index: 30;
}

.openbtn span {
    position: absolute;
    display: inline-block;
    transition: all .4s;
    left: 10px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    width: 50%;
}

.openbtn span:nth-of-type(1) {
    top: 12px;
}

.openbtn span:nth-of-type(2) {
    top: 19px;
}

.openbtn span:nth-of-type(3) {
    top: 26px;
}

.openbtn.active span:nth-of-type(1) {
    top: 19px;
    left: 10px;
    transform: translateY(0) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 19px;
    left: 10px;
    transform: translateY(0) rotate(45deg);
}

/* ハンバーガーメニュー内ナビゲーションの設定 */
#header .navi {
    width: 80%;
    height: 80vh;
    background-color: rgba(191, 185, 161, 0.9);
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 20;
    transition: all 0.6s;
}

#header .navi.active {
    right: 0;
}

#header .navi .menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 132px 20px;
    overflow: auto;
    align-items: center;
    gap: 14px;
}

#header .navi .menu li {
    width: 80%;
    text-align: center;
    padding-bottom: 8px;
    position: relative;
}

#header .navi .menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 212.5px;
    max-width: 100%;
    height: 1px;
    background-image: repeating-linear-gradient(to right,
            #FDFAFF 0px,
            #FDFAFF 4px,
            transparent 4px,
            transparent 8px);
}

#header .navi .menu li:last-child {
    padding-bottom: 0;
}

#header .navi .menu li:last-child::after {
    content: none;
}

#header .navi .menu a {
    color: #503B2F;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

#header .navi .menu a:hover {
    opacity: 0.8;
}

/* --------------------------
aboutの設定 
--------------------------*/
.about {
    display: flex;
    flex-direction: column;
    padding: 60px 24px 48px;
    gap: 32px;

}

.main_title {
    margin: 0 auto;
    padding-bottom: 10px;
    text-align: center;
    gap: 10px;
}

.text_area {
    gap: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
}

.text_area .jp {
    font-size: 25px;
    font-family: "Shippori Mincho";
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    display: block;
}

.text_area .en {
    font-size: 12px;
    font-family: "BIZ UDPGothic";
    letter-spacing: 4.8px;
    display: block;
}

.text_area::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: #91AE7E;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.bodytext {
    font-size: 20px;
    line-height: 1.7;
}

/*  --------------------------
サポートリストの設定 
-------------------------- */
.support_list {
    background-color: rgba(145, 174, 126, 0.2);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
}

.support_title {
    font-size: 25px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.support_card {
    background-color: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 20px;
    text-align: center;
    width: 290px;
    height: auto;
}

.support_card .card_title {
    font-size: 24px;
    position: relative;
    padding-bottom: 8px;
}

.support_card .card_title::after {
    content: "";
    position: absolute;
    background: url(../img/titleline.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 217.55px;
    height: 8px;
}

.detail {
    font-size: 16px;
}

.number {
    font-size: 24px;
    font-weight: 700;
    color: #91AE7E;
}

.support_list:nth-child(3) {
    background-color: #FDFBF8;
}

.support_list:nth-child(4) {
    background-color: #FCF6FF;
}

.support_list:nth-child(5) {
    background-color: rgba(251, 161, 25, 0.2);
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 96px 32px 80px;
    align-items: center;
}

.contact_title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
}

/*  --------------------------
footerの設定
 -------------------------- */
.footer {
    background-color: #FDFAFF;
    background-image: url(../../Common/image/footer.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    text-align: center;
    padding: 80px 0 350px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer_nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer_nav li {
    position: relative;
    padding-bottom: 8px;
}

.footer_nav li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 212.5px;
    max-width: 100%;
    height: 1px;
    background-image: repeating-linear-gradient(to right,
            #FDFAFF 0px,
            #FDFAFF 4px,
            transparent 4px,
            transparent 8px);
}

.footer_nav li:last-child {
    padding-bottom: 0;
}

.footer_nav li:last-child::after {
    content: none;
}

.footer_nav a {
    text-decoration: none;

}

.footer_nav a:hover {
    opacity: 0.8;
}

.footer_logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.footer_logo img {
    height: 40px;
    width: auto;
}

.logo_text {
    font-size: 20px;
    color: #fff;
    font-family: "Potta One";
}

.footer_sns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer_sns img {
    width: auto;
    height: 40px;
}

.footer_address {
    line-height: 1.5;
}

.footer-copyright {
    font-family: "Shippori Mincho";
}

/* ==========================
PC版 
==========================*/
@media (min-width: 770px) {
    body {
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        background-color: transparent;
    }

    /* 🌟htmlの背景色を透明にして、固定背景動画が見えるようにする */
    html {
        background-color: transparent;
    }

    /* 🌟 PC版でPC要素を表示 */
    .bg-video,
    .pc_left_content,
    .pc_side_nav_wrapper {
        display: block;
    }

    /* 全画面動画背景 */
    .bg-video {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        overflow: hidden;
    }

    .bg-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .main {
        width: 400px;
        margin: 0 auto;
        position: relative;
        z-index: 5;
        background-color: #FDFAFF;
        min-height: 100vh;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .header {
        width: 100%;
        margin: 0;
        position: sticky;
        top: 0;
        z-index: 100;
        background-color: #91AE7E;
    }

    .header_inner {
        max-width: 100%;
        padding: 14px 40px;
        justify-content: space-between;
    }

    /* pcで非表示 */
    .openbtn {
        display: none !important;
    }

    #header .navi {
        display: none !important;
    }

    /* 左側: ロゴとキャッチコピーエリア */
    .pc_left_content {
        display: flex;
        flex-direction: column;
        gap: 96px;
        position: fixed;
        top: 50%;
        left: calc((100vw - 400px) / 4 - 158.5px);
        transform: translateY(-50%);
        width: 317px;
        z-index: 2;
        text-align: center;
    }

    .pc_left_logo {
        margin-bottom: 32px;
    }

    .pc_left_logo img {
        width: 136px;
        height: auto;
    }

    .pc_left_logo .logo_text {
        display: block;
        font-size: 32px;
        color: #fff;
        margin-top: 16px;
        font-family: "Potta One", system-ui;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .pc_catchcopy {
        color: #503B2F;
        font-size: 22px;
        font-family: "Shippori Mincho";
        text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    /* 右側: ナビゲーションエリア */
    .pc_side_nav_wrapper {
        position: fixed;
        top: 50%;
        right: calc((100vw - 400px) / 4 - 158.5px);
        transform: translateY(-50%);
        z-index: 2;
    }

    .pc_side_nav {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 14px;
        width: 317px;
        height: auto;
        background-color: rgba(191, 185, 161, 0.9);
        padding: 80px 0;
    }

    .pc_side_nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .pc_side_nav li {
        position: relative;
        padding-bottom: 10px;
    }

    .pc_side_nav li::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 212.5px;
        max-width: 100%;
        height: 1px;
        background-image: repeating-linear-gradient(to right,
                #FDFAFF 0px,
                #FDFAFF 4px,
                transparent 4px,
                transparent 8px);
    }

    .pc_side_nav li:last-child {
        padding-bottom: 0;
    }

    .pc_side_nav li:last-child::after {
        content: none;
    }

    .pc_side_nav a {
        color: #503B2F;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        display: inline-block;
    }

    .pc_side_nav a:hover {
        opacity: 0.8;
    }

    .contact {
        padding-bottom: 160px;
    }

    /*  フッターの背景色を透明に設定し、動画を透かして見せる */
    .footer {
        background-color: transparent;
        background-image: url(../../Common/image/footer_pc.png);
        width: 100%;
        margin: 0;
        background-size: cover;
        background-position: top center;
        min-height: 700px;
        position: relative;
        align-items: center;
        z-index: 10;
        padding: 176px 40px 350px;
        margin-top: -96px;
    }

    .footer_nav {
        margin-bottom: 80px;
        width: 1277px;
    }

    .footer_nav ul {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer_nav li::after {
        content: none;
    }

}

/* ========================================
   アニメーション用CSS
   ======================================== */
/* 5. カードのフェードインアニメーション */
.support_card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.support_card.fade-in {
    opacity: 1;
    transform: translateY(0);
}