@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #D5ADAD;
    /* R-30 Pink */
    --color-primary-light: #F7EDF0;
    --color-text-main: #4b4b4b;
    --color-text-sub: #707070;
    --color-white: #ffffff;
    --color-accent: #CE3564;
    --color-gold: #c5a059;
    --color-bg-light: #fafafa;

    /* Fonts */
    --font-base: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    --font-en: 'Outfit', sans-serif;

    /* Sizes */
    --header-height: 80px;
    --container-width: 1000px;

    /* Transitions */
    --transition-base: 0.3s ease-in-out;
}

/* ==========================================================================
   Utility Classes (Responsive & Typography)
   ========================================================================== */
.pc-only {
    display: block !important;
}

.sp-only {
    display: none !important;
}


@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }

    /* For inline elements like <br> */
    br.sp-only {
        display: inline !important;
    }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    color: var(--color-text-main);
    line-height: 1.8;
    background-color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
}

main {
    overflow-x: hidden;
    /* Ensure main content clips wide elements */
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    transition: opacity var(--transition-base);
}

a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 500;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text-main);
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.section-title span {
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-about .section-title span {
    margin: 6.5rem 0 0rem;
}

/* ==========================================================================
   Layout Utils
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ==========================================================================
   Header
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 180px;
}

/* Desktop Navigation Only */
.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
    transition: color 0.3s;
    position: relative;
    /* Keep this for the ::after pseudo-element */
}

.nav-list li a:hover {
    color: var(--color-primary);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-list li a:hover::after {
    width: 100%;
}


/* PC Tight Layout (1025px - 1250px) */
@media (max-width: 1250px) and (min-width: 1025px) {
    .nav-list {
        gap: 15px;
    }

    .nav-list li a {
        font-size: 0.9rem;
    }

    .logo {
        width: 160px;
    }
}

/* Mobile Menu Button (Initial Hidden) */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

/* Overlay Base (PCでは非表示) */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* PCでの誤クリック防止 */
    transition: opacity 0.4s ease, visibility 0.4s ease;
}


.menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align content to the left */
    overflow: hidden;
    padding-top: var(--header-height);
    background-color: #fdf5f7;
    /* Fallback for when bg image loads */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center bottom;
    /* Anchor to bottom */
    will-change: transform;
}

.hero-image {
    position: absolute;
    right: max(20px, calc(50% - 530px));
    /* 右端への余白を 20px まで許容して隙間を減らす */
    /* Even closer to center */
    bottom: 0;
    height: 95vh;
    /* Fit within viewport height */
    max-height: 1000px;
    width: auto;
    object-fit: contain;
    /* Ensure no clipping */
    z-index: 1;
    filter: drop-shadow(-20px 0 30px rgba(0, 0, 0, 0.1));
    will-change: transform;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 45vw;
    margin-left: max(12%, calc(50% - 560px));
    /* Even closer to the image */
    max-width: 540px;
    /* Restrict width to keep text clear and balanced */
    padding: 0;
    margin-bottom: 3%;
    will-change: transform;
}

.hero-title-image {
    margin-bottom: 2rem;
    max-width: 540px;
    /* Prevent blurring on small screens */
    width: 100%;
}

/* 短身画面対応 (PC版で縦が狭い場合) */
@media (min-width: 1025px) and (max-height: 750px) {
    .hero-title-image {
        max-width: 420px;
    }

    .hero-image {
        height: 88vh;
        right: max(20px, calc(50% - 480px));
        /* 標準より中央へ寄せる */
    }

    .about-curve-wrapper {
        margin-top: -200px;
    }

    .hero-content {
        margin-left: max(10%, calc(50% - 500px));
        /* 標準より中央へ寄せる */
        margin-bottom: 2%;
    }
}

/* さらに極端に縦が狭い場合 (640px以下) */
@media (min-width: 1025px) and (max-height: 640px) {
    .hero-title-image {
        max-width: 360px;
    }

    .about-curve-wrapper {
        margin-top: -120px;
    }

    .hero-image {
        height: 85vh;
        right: max(20px, calc(50% - 440px));
        /* さらに中央へ寄せる */
    }

    .hero-content {
        margin-left: max(10%, calc(50% - 460px));
        /* さらに中央へ寄せる */
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
/* ==========================================================================
   About Section (Pro Wrapper Strategy - Corrected Layering)
   ========================================================================== */
.about-curve-wrapper {
    position: relative;
    overflow: hidden;
    /* Clips the huge circle */
    margin-top: -280px;
    /* Pull the arc and title deep into the First View */
    z-index: 10;
}

/* This is the white background circle that forms the arc */
.about-curve-wrapper::before {
    content: '';
    position: absolute;
    top: 50px;
    /* Peak height of the circle within the wrapper */
    left: 50%;
    transform: translateX(-50%);
    width: 300vw;
    height: 300vw;
    background-color: var(--color-white);
    border-radius: 50%;
    z-index: 1;
}

.section-about {
    background-color: transparent;
    /* Transparent so the wrapper's circle background shows */
    position: relative;
    z-index: 2;
    /* Sit on top of the circle */
    padding-top: 30px;
    /* Move title closer to the curve top */
    padding-bottom: 80px;
}

.section-about .section-title {
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
}




.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-text {
    font-size: 0.95rem;
    /* support-text p などと同じサイズに揃えました */
    line-height: 1.8;
    /* 行間も少し詰めてシャープに */
    color: var(--color-text-sub);
}

.about-text h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-weight: bold;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text .about-text-list-intro {
    margin-bottom: 10px;
}

.pink-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    margin-top: -3px;
    /* テキストの中心に合わせる微調整 */
}


.model-profile {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.model-profile .profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary-light);
    margin: 0 auto;
}

/* 黒木さんの画像位置・拡大調整（枠は固定） */
.model-profile .profile-image.kuroki-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--color-primary-light);
    margin: 0 auto;
    overflow: hidden;

    /* 中心の画像を好きなサイズにしてずらすための設定 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-profile .profile-image.kuroki-wrapper img {
    /* 画像自体のサイズを枠（100%）より大きくする（120%など）ことで、
       見えない余白ができ、左右上下に自由に動かせるようになります */
    max-width: none;
    width: 130%;
    /* 全体の拡大率: 100%より大きくする */
    height: auto;

    border: none;
    border-radius: 0;
    margin: 0;
    object-fit: unset;

    /* 左右上下に位置を調整
       translateX: マイナスで左へ、プラスで右へ
       translateY: マイナスで上へ、プラスで下へ */
    transform: translateX(-11%) translateY(13%);
}

.profile-info h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--color-text-main);
    text-align: center;
}

.profile-info p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text-sub);
}


/* ==========================================================================
   Support & Reskilling (Grid Layouts)
   ========================================================================== */
.section-support {
    position: relative;
    z-index: 11;
    /* Ensure this sits above About's large pseudo-element */
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* リスキリング支援のPC用3カラムは少し広めに取る */
.reskilling-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    /* 1000pxの制約を抜けて最大1400px幅まで広げ、画面中央に配置する安全な方法 */
    width: 100vw;
    max-width: 1400px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
}

.support-item,
.reskilling-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-image img,
.reskilling-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid var(--color-bg-light);
}

/* SUMIRE先生の画像位置・拡大調整（枠は固定） */
.reskilling-image.sumire-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--color-bg-light);
    margin-bottom: 25px;
    overflow: hidden;
}

.reskilling-image.sumire-wrapper img {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    margin-bottom: 0;

    /* 画像のトリミング位置（上下）を調整して頭が切れないようにします
       上下: 0%が一番上、100%が一番下です */
    object-position: center -10%;

    /* 拡大率と左右の位置（translateX）
       -5% で少し左に、5% で右に寄ります */
    transform: scale(1.35) translateX(-5%);
}

.support-text h3,
.reskilling-text h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text-main);
    text-align: center;
}

.org-title {
    font-size: 0.9rem;
    line-height: 1.6;
    display: inline-block;
    margin-bottom: 5px;
}

.org-title a {
    text-decoration: underline;
    font-weight: bold;
    font-family: none;
    color: var(--color-accent);
}

.support-text p,
.reskilling-text p {
    font-size: 0.95rem;
    color: var(--color-text-sub);
}

.message-title {
    color: var(--color-accent);
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

/* 文字の■の代わりに、CSSで小さく綺麗な四角を描画 */
.message-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    margin-right: 6px;
    vertical-align: middle;
    margin-top: -2px;
    /* テキストの中心に合わせる微調整 */
}

/* ==========================================================================
   Media (Himeyomi)
   ========================================================================== */
.section-media {
    position: relative;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

.section-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.media-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
}

.media-logo {
    max-width: 200px;
    margin: 0 auto 30px;
}

.media-list-container {
    width: 100%;
    overflow: hidden;
    padding: 60px 0 40px;
}

.media-list {
    display: flex;
    width: max-content;
}

.media-list ul {
    display: flex;
    gap: 40px;
    padding: 0 20px;
    animation: ticker 80s linear infinite;
}


.media-list li {
    position: relative;
    display: flex;
    align-items: center;
}

.media-list img {
    height: 220px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   Anthem
   ========================================================================== */
.section-anthem {
    text-align: center;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-player {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}

.lyrics {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-sub);
    line-height: 1.8;
    font-style: italic;

}

.lyrics h3 {
    font-size: 1.8rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   FAQ (Q&A)
   ========================================================================== */
.section-faq {
    background-color: var(--color-bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color var(--transition-base);
}


.faq-q-icon {
    color: var(--color-primary);
    font-family: var(--font-en);
    font-weight: bold;
    font-size: 1.4rem;
    margin-right: 15px;
    line-height: 1;
    padding-top: 5px;
}

.faq-q-text {
    flex-grow: 1;
    font-weight: bold;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-main);
}

.faq-toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 15px;
    margin-top: 6px;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: var(--color-primary);
    transform: translate(-50%, -50%);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* 縦線を作成して十字 (＋) にする */
.faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いた状態 (ー) */
.faq-item.is-open .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 25px;
    display: flex;
    align-items: flex-start;
    background-color: #fdfdfd;
    position: relative;
}

/* QとAの区切り線（テキスト幅に合わせるため左右に25pxの余白） */
.faq-answer-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 1px;
    background-color: #f0f0f0;
}

.faq-a-icon {
    color: var(--color-text-sub);
    font-family: var(--font-en);
    font-weight: bold;
    font-size: 1.4rem;
    margin-right: 15px;
    line-height: 1;
    padding-top: 5px;
}

.faq-answer-inner p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-sub);
    margin: 0;
}

/* スマホ用の微調整 */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
    }

    .faq-answer-inner {
        padding: 20px;
    }

    .faq-answer-inner::before {
        left: 20px;
        right: 20px;
    }

    .faq-q-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .faq-q-icon,
    .faq-a-icon {
        padding-top: 2px;
    }

    .faq-toggle-icon {
        margin-top: 4px;
    }
}

/* ==========================================================================
   Footer & Links
   ========================================================================== */
.section-links {
    padding-bottom: 50px;
}

.link-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    min-width: 300px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(213, 173, 173, 0.4);
}

.btn-primary:hover {
    background-color: #c49b9b;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(213, 173, 173, 0.5);
    opacity: 1;
}

.btn-secondary {
    background-color: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
    opacity: 1;
}

.sns-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sns-icon:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(213, 173, 173, 0.3);
    opacity: 1;
}

footer {
    background-color: #f5f5f5;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links li a {
    font-size: 0.9rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.footer-links li a:hover {
    color: var(--color-primary);
}

.copyright {
    font-size: 0.8rem;
    color: #999;
}

/* ==========================================================================
   Sticky CTA
   ========================================================================== */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: 90%;
    max-width: 400px;
    z-index: 1000;
    background-color: var(--color-accent);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    box-shadow: 0 10px 30px rgba(206, 53, 100, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.sticky-cta.hidden {
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
    pointer-events: none;
}

/* Hide Sticky CTA when mobile nav is open */
header.nav-open~#sticky-cta {
    display: none !important;
}

.sticky-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0 20px;
    text-align: center;
}

.sticky-cta-button:hover {
    opacity: 0.9;
}

.sticky-cta-button .arrow {
    margin-left: 15px;
    width: 30px;
    height: 1px;
    background-color: #fff;
    position: relative;
}

.sticky-cta-button .arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet (Large)
   ========================================================================== */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    section {
        padding: 80px 0;
    }

    .container {
        padding: 0 30px;
    }

    /* Header Tablet/Mobile Switch */
    .logo {
        width: 150px;
    }

    .menu-btn {
        display: flex;
    }

    .nav-list {
        display: none;
        /* PC用ナビを隠す */
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        height: 100vh;
        background-color: #fff;
        z-index: 1050;
        display: block;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        visibility: hidden;
        opacity: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 0;
        /* paddingをリセット */
        overflow-y: auto;
    }

    .nav-open nav {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .nav-header {
        background-color: #f8f8f8;
        padding: 20px;
        text-align: center;
        font-size: 1.2rem;
        font-weight: 600;
        color: #666;
        border-bottom: 1px solid #eee;
        font-family: var(--font-en);
        letter-spacing: 0.1em;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #eee;
        opacity: 1;
        /* アニメーションは一旦シンプルに */
        transform: none;
    }

    .nav-list li a {
        display: flex;
        align-items: center;
        padding: 18px 20px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-text-main);
        text-decoration: none;
        transition: none;
        /* ホバー遷移を無効化 */
    }

    .nav-list li a:hover {
        color: var(--color-text-main);
        /* 色の変化を無効化 */
        opacity: 1;
        /* 不透明度の変化を無効化 */
    }

    .nav-list li a::after {
        display: none;
        /* アンダーラインを非表示 */
    }

    /* タブレットでもSP用の要素を表示 */
    nav .sp-only {
        display: block !important;
    }

    nav i.sp-only {
        display: inline-block !important;
    }

    .nav-list li a i:first-child {
        width: 25px;
        margin-right: 15px;
        font-size: 1.2rem;
        color: var(--color-primary);
        text-align: center;
    }

    .nav-list li a i:last-child {
        margin-left: auto;
        font-size: 0.9rem;
        color: #ccc;
    }

    /* Hamburger Animation (1024px以下共通) */
    .nav-open .menu-btn span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-open .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .menu-btn span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-overlay {
        /* ベーススタイルを継承、ここでは変更なし */
    }

    .nav-open .nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        /* メニューが開いている時だけクリック可能に */
    }

    .about-curve-wrapper {
        margin-top: -200px;
    }

    .reskilling-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: none;
        position: static;
        left: auto;
        transform: none;
        padding: 0 40px;
        gap: 30px;
    }
}

/* Mobile & Tablet (Small)
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    /* Header Mobile */
    .logo {
        width: 140px;
    }

    .menu-btn {
        display: flex;
    }

    /* nav 関連の設定は (max-width: 1024px) に統合したため削除可能ですが、
       スマホ特有の微調整が必要な場合のみ残します。 
       ここでは共通化したのでシンプルにします。 */

    /* Hamburger Animation (1024px以下共通) */
    .nav-open .menu-btn span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-open .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .menu-btn span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        min-height: auto;
        /* 100vhをやめてコンテンツに合わせる */
        padding-top: 80px;
        padding-bottom: 150px;
        /* 次のセクションの曲線が重なるための余白を確保 */
        overflow: visible;
        /* 曲線との重なりを許容するためにvisibleに */
    }

    .hero-bg {
        background-position: center center;
        background-size: cover;
        /* 背景画像が常に全体を覆うように強制 */
    }

    .hero-content {
        order: 1;
        /* ロゴ群を上に */
        width: 100%;
        max-width: none;
        /* PC版の制限をリセット */
        margin-left: 0;
        /* PC版の左マージンをリセット */
        padding: 0 40px;
        text-align: center;
        margin-top: 0;
        margin-bottom: -15px;
        /* ネガティブマージンで下の画像と少し重ねる */
        position: relative;
        z-index: 2;
    }

    .hero-title-image {
        max-width: 450px;
        /* タブレットサイズで大きくなりすぎないよう制限（500px -> 450px） */
        margin: 0 auto;
    }

    .hero-title-image img {
        margin: 0 auto;
        /* 画像自体を中央に寄せる */
    }

    .hero picture {
        order: 2;
        /* 人物画像（pictureタグ）を下に */
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 65%;
        max-width: 280px;
        height: auto;
        opacity: 1;
        margin: 0 auto;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    }

    .section-about .container {
        margin-top: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .model-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .model-profile .profile-image img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .support-grid,
    .reskilling-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reskilling-grid {
        width: 100%;
        max-width: none;
        position: static;
        left: auto;
        transform: none;
        margin-left: 0;
        padding: 0;
    }

    .support-item,
    .reskilling-item {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-title::after {
        width: 40px;
    }

    .section-title span {
        margin-top: 1rem;
        /* 2remから削減 */
        font-size: 0.85rem;
    }

    .section-about .section-title span {
        margin-top: 1.5rem;
        /* 3remから削減 */
    }

    .section-about {
        padding-top: 80px;
        /* Introductionのみ上部余白を個別に広げる */
    }

    section {
        padding: 40px 0;
        /* 60pxから削減 */
    }

    .media-list ul {
        gap: 20px;
        padding-right: 20px;
    }

    .reskilling-item {
        padding: 30px 20px;
    }

    .reskilling-text h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .media-logo {
        max-width: 180px;
    }

    .media-desc {
        font-size: 0.9rem;
        line-height: 1.7;
        padding: 0 10px;
        margin-bottom: 0;
    }

    .media-list-container {
        padding: 15px 0 20px;
    }

    .media-list img {
        height: 160px;
    }

    .lyrics {
        padding: 0 10px;
    }

    .lyrics h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    /* Footer Optimized for Mobile */
    footer {
        padding: 60px 0 40px;
        text-align: left;
        /* 左寄せに変更 */
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px 10px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .footer-links li a {
        font-size: 0.85rem;
        border-left: none;
        /* 縦棒を削除 */
        padding-left: 0;
        display: block;
        text-align: left;
        /* 左寄せに変更 */
    }

    .copyright {
        text-align: center;
        border-top: 1px solid #e0e0e0;
        padding-top: 20px;
        margin: 0 20px;
    }
}