/* ====== 基本設定 ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    line-height: 1.7;
    background: linear-gradient(#8c99aa, #cbcfd5);
}

/* ====== ヒーローエリア ====== */
.hero {
    background: url("../images/img_top.jpg") center top/contain no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-btn-item {
    display: inline-block;
    background: #444;
    color: #fff;
    padding: 12px 60px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s;
    margin: 0 auto 70px auto;
}

.cta-btn-item:hover {
    background: #666;
}

.cta-btn {
    display: inline-block;
    background: #8b99aa;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #555;
}

/* ====== セクション ====== */
section {
    padding: 20px 20px;
}

.wide-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.wide-section h2 {
    font-size: 2rem;
    margin: 3rem auto 2rem auto;
}

/* ====== 2カラムセクション ====== */
.two-column {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
    padding: 20px 20px;

}

.two-column .col {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.two-column .col img {
    width: 100%;
    border-radius: 20px;
}

.two-column h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.2rem;
}

/* ====== 2カラムセクション(birthday) ====== */
.two-column-b {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
    padding: 20px 20px;

}

.two-column-b .col {
    flex: 1;
    padding: 20px;
}

.two-column-b .col img {
    width: 100%;
}

.two-column-b h3 {
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 0.8rem;
}

.profile {
    width: 900px;
    margin: 50px auto 50px auto;
}

/* ====== フッター ====== */
footer {
    text-align: center;
    padding: 40px 0;
    background: #8b99aa;
    color: #fff;
    margin-top: 40px;
}

footer .sns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
}

footer .sns img {
    width: 30px;
    height: 30px;
}

footer .copy {
    font-size: 0.85rem;
}

.grd {
    background-image: url(../images/img_grd_bg.png);
    background-repeat: no-repeat;
}

/* ====== profile ====== */
.p-catch {
    font-size: 0.9rem;
    margin: 20px 0 0 0;
}

.p-name {
    font-size: 1.5rem;
}

.p-prof {
    display: flex;
    flex-direction: row;
    margin: 15px 0 0 0;
    font-size: 0.9rem;
}

.p-prof-L {
    color: #fff;
    font-size: 0.8rem;
    margin-right: 10px;
    text-align: left;
}

.p-prof-R {
    color: #fff;
    font-size: 0.8rem;
    text-align: left;
}

.p-text {
    margin: 20px 0 0 0;
    font-size: 0.9rem;
    text-align: left;
}

.p-sns {
    display: flex;
    flex-direction: row;
    margin: 20px auto 0 auto;
}

.p-sns img {
    height: 25px;
}

.p-sns a {
    color: #fff;
    font-size: 0.9rem;
}

.p-sns-space {
    margin-right: 10px;
}

/* ====== ページトップボタン ====== */
#page-top {
    position: fixed;
    right: 2%;
    bottom: 4%;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #888;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 999;
}

#page-top.show {
    opacity: 0.8;
    visibility: visible;
}

/* ====== fade ====== */
.fadein {
    opacity: 0;
    transform: translate(0, 50px);
    transition: all 500ms;
}

.fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

/* ====== スマホレイアウト ====== */
@media (max-width: 768px) {
    .hero {
        background: url("../images/img_sp_top.png") top/cover no-repeat;
        max-width: 100%;
        height: 100vh;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .wide-section {
        margin: 0 auto 50px auto;
    }

    .wide-section img {
        width: 80%;
        max-width: 1000px;
        margin: 30px auto 0 auto;
        text-align: center;
    }

    .wide-section h2 {
        font-size: 1.7rem;
        line-height: 2.5rem;
        margin: 30px auto 20px auto;
    }

    .grd {
        background-image: url(../images/img_grd_bg.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .profile {
        width: 90%;
        margin: 40px auto 30px auto;
        text-align: justify;
    }

    .two-column {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding: 0 10px;
        gap: 0;
    }

    .two-column-b {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        gap: 0;
    }

    #page-top {
        right: 5%;
        bottom: 3%;
    }

    .brsp {
        display: none;
    }

    .cta-btn-item {
        display: inline-block;
        background: #444;
        color: #fff;
        padding: 12px 0;
        border-radius: 30px;
        text-decoration: none;
        transition: background 0.3s;
        margin: 0 auto;
        width:100%;
    }

    .cta-btn-item:hover {
        background: #666;
    }
}