/* --- Base Settings --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.sp {
    display: none;
}

/* --- Common Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #b71c1c;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.section-header h2 span {
    color: #F9A825;
}

/* --- Animation --- */
.js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Main Visual (MV) --- */
.hero {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 550px;
    background-image: url('./img/landscape.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner {
    width: 1200px;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.hero-inner img{
    width: 100%;
}

.hero-jimin-logo {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 160px;
    z-index: 10;
}

.hero-jimin-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-white-wrapper {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(50% - 20px);
    background-color: #fff;
    padding: 40px;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.person-image {
    position: absolute;
    bottom: 0px;
    right: 20px;
    width: calc(50% - 20px);
    height: 80%;
    background-image: url('./img/main.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    z-index: 4;
}

.hero-label {
    display: inline-block;
    background-color: #fdd835;
    color: #333;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 4rem;
    color: #b71c1c;
    line-height: 1.2;
    margin-bottom: 10px;
}

rt {
    font-size: 0.35em;
    color: #666;
}

.hero-sub {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

/* --- Profile Section --- */
.profile-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.profile-img {
    flex: 1;
    max-width: 400px;
}

.profile-img img {
    width: 100%;
}

.profile-info {
    flex: 2;
    position: relative;
    padding: 30px;
    background-image: url('./img/bear.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 300px;
    background-blend-mode: soft-light;
    background-color: rgba(255, 255, 255, 0.95);
}

.profile-title {
    font-size: 1.8rem;
    color: #b71c1c;
    margin-bottom: 20px;
}

.profile-group h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-left: 4px solid #b71c1c;
    padding-left: 10px;
}

.profile-group p {
    font-size: 1rem;
    line-height: 2;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* --- Achievements --- */
.achievement-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement-card {
    position: relative;
    background-color: #fff;
    padding: 10px 30px;
}

.card-1 {
    border: 1px solid #1976d2;
    border-left: 10px solid #1976d2;
}

.card-2 {
    border: 1px solid #b71c1c;
    border-left: 10px solid #b71c1c;
}

.card-3 {
    border: 1px solid #388e3c;
    border-left: 10px solid #388e3c;
}

.achievement-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #b71c1c;
}

.achievement-content p {
    font-size: 1rem;
    font-weight: bold;
}

.highlight-red {
    color: #b71c1c;
    font-weight: bold;
}

/* --- Policies --- */
.policy-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.policy-row {
    position: relative;
    background-color: #fff;
    border: 1px solid #777;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.policy-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.policy-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.policy-bg-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-right: 10px;
}

.policy-content h3 {
    font-size: 1.1em;
    margin: 10px 0;
    border-bottom: 3px solid;
    display: inline-block;
}

.policy-1 { color: #F9A825; border-color: #F9A825; }
.policy-2 { color: #388e3c; border-color: #388e3c; }
.policy-3 { color: #1976d2; border-color: #1976d2; }
.policy-4 { color: #ff69b4; border-color: #ff69b4; }
.policy-5 { color: #8b008b; border-color: #8b008b; }
.policy-6 { color: #d2691e; border-color: #d2691e; }

.policy-content p {
    margin-top: 10px;
    font-size: 1em;
    color: #000;
}

/* --- YouTube Swiper --- */
.social-section {
    padding-top: 60px;
    background-color: #f9f9f9;
}

.youtube-swiper,
.insta-swiper {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.youtubeplay {
    position: relative;
    width: 100%;
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.youtubeplay img {
    width: 100%;
    height: auto;
}

.insta-swiper .insta_img{
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    margin-bottom: 15px;
    overflow: hidden;
}

.sns-icon img {
    max-width: 100%;
    height: auto;
}

.sns-icon:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.sns-icon.yt { border-top: 4px solid #ff0000; }
.sns-icon.tt { border-top: 4px solid #000000; }
.sns-icon.ig { border-top: 4px solid #e1306c; }
.sns-icon.x { border-top: 4px solid #000000; }

/* --- Footer --- */
.footer {
    background-color: #b71c1c;
    color: #fff;
    margin-top: 40px;
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 10px;
}

.copyright {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 0.8rem;
}

/* --- Back to Top --- */
#backToTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop img {
    width: 60px;
}

#backToTop::after {
    content: 'トップに戻る';
    font-size: 12px;
    color: #333;
    font-weight: bold;
    display: block;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    border-radius: 4px;
}
.swiper-pagination{
    position: static !important;
    margin-top: 15px;
}

/* --- Responsive --- */
@media (max-width: 990px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .sp {
        display: block;
    }
    .pc{
        display: none;
    }

    section {
        padding: 20px 0;
    }

    .social-section {
        padding-top: 40px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .hero {
        height: auto;
        min-height: auto;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
    }

    .hero-jimin-logo {
        position: relative;
        width: 90px;
        margin: 15px auto;
        top: auto;
        left: auto;
    }

    .hero-white-wrapper {
        position: relative;
        width: auto;
        margin: 0 15px 15px 15px;
        padding: 20px 15px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        bottom: auto;
        left: auto;
        border-radius: 8px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .person-image {
        position: relative;
        width: auto;
        height: 280px;
        margin: 0 15px;
        bottom: auto;
        right: auto;
    }

    .profile-flex {
        flex-direction: column;
        gap: 15px;
    }

    .profile-info {
        padding: 10px;
    }

    .achievement-card {
        padding: 15px;
        border-left-width: 5px;
    }

    .achievement-content h3 {
        font-size: 1rem;
    }

    .policy-stack {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .policy-row {
        padding: 15px;
        min-height: auto;
        height: auto;
    }

    .policy-bg-num {
        font-size: 1.8rem;
    }

    .sns-links {
        gap: 15px;
    }

    .sns-icon {
        width: 50px;
        height: 50px;
    }

    .footer {
        padding: 30px 0 60px;
    }
}