/* Base Styles */
:root {
    --primary-color: #D8BFD8;
    /* Light Purple / Thistle */
    --primary-dark: #bca0bc;
    --accent-pop: #FFD700;
    /* Gold/Cheese */
    --accent-green: #98FB98;
    /* Chameleon Green */
    --text-color: #444;
    --bg-color: #ffffff;
    --bg-light: #fafafa;
    --font-heading: 'Zen Maru Gothic', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* ブレンドモードをセクション内に閉じ込める */
}

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

.center-btn {
    text-align: center;
    margin-top: 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: var(--primary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #666;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: 0.4s ease-in-out;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #333;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    /* nav spacing */
}

.hero-profile-img {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 65%;
    height: 100%;
    z-index: 1;
    opacity: 0.9;
    /* マスクをより広範囲かつ滑らかに（左側30%から徐々に表示） */
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 45%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 45%);
    pointer-events: none;
    isolation: auto;
}

.hero-profile-img img {
    width: 110%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    filter: brightness(1.05) contrast(1.1) drop-shadow(-10px 0 30px rgba(216, 191, 216, 0.2));
}

.hero-decor-left {
    position: absolute;
    top: 50%;
    left: -40%;
    /* さらに左に寄せて配置 */
    width: 140%;
    height: auto;
    z-index: 1;
    opacity: 0.06;
    pointer-events: none;
    transform: translateY(-50%) rotate(-15deg);
}

.hero-decor-left img {
    width: 100%;
    mix-blend-mode: multiply;
}

.hero-name {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #333;
    /* 三重のシャドウで視認性を極限まで高める */
    text-shadow:
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px rgba(255, 255, 255, 0.9),
        0 0 60px rgba(216, 191, 216, 0.5);
    font-weight: 700;
}

.hero-name .en {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-top: 10px;
    text-shadow: 0 0 15px #fff, 0 0 30px #fff;
}

.hero-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #444;
    background: linear-gradient(120deg, transparent 60%, var(--primary-color) 60%);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: 0 90%;
    display: inline-block;
    text-shadow: 0 0 15px #fff, 0 0 30px #fff;
    position: relative;
    z-index: 10;
}

.hero-desc {
    margin-bottom: 35px;
    color: #333;
    text-shadow: 0 0 15px #fff, 0 0 30px #fff, 0 0 50px rgba(255, 255, 255, 0.8);
    font-weight: 500;
    max-width: 500px;
    line-height: 1.8;
    position: relative;
    z-index: 10;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    /* アイコンを消したためgapを0に */
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
}

.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(216, 191, 216, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 191, 216, 0.6);
}

.btn-secondary {
    background-color: #333;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-text {
    background: transparent;
    color: var(--primary-dark);
    padding: 10px 20px;
}

.btn-text:hover {
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Button styles */
.title-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-icon {
    width: 85px;
    /* 元の約0.7倍に縮小 (120 * 0.7 = 84) */
    height: 85px;
    object-fit: contain;
    animation: bounce 4s ease-in-out infinite;
}

.text-decor {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(216, 191, 216, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.inline-icon {
    width: 65px;
    /* 元の約0.7倍に縮小 (90 * 0.7 = 63) */
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-wrapper iframe,
.video-wrapper .video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-link {
    display: block;
    position: relative;
}

.video-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-link:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-link:hover .play-overlay {
    background: rgba(0, 0, 0, 0);
}

.video-link:hover .play-overlay i {
    transform: scale(1.2);
}

/* Recommend / Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #eee;
    object-fit: cover;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #333;
}

/* About */
.about-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    /* In case it's on grey */
    padding: 20px;
    /* minimal padding if needed */
}

.about-image {
    flex: 1;
    min-width: 280px;
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
}

.profile-up {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* 確実に頭の上まで表示 */
    /* 顔をアップにするために位置を最上部に設定 */
    transition: transform 0.5s ease;
}

.about-card:hover .profile-up {
    transform: scale(1.1);
}

.about-text {
    flex: 1.5;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

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

/* Schedule */
.schedule-box {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed var(--primary-color);
}

.schedule-box p {
    margin-bottom: 20px;
    font-weight: 500;
}

.link-animate {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    position: relative;
}

.link-animate:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #fafafa;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 1.5rem;
    color: #999;
    margin: 0 15px;
}

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

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

.section-cta {
    text-align: center;
}

.section-cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-cta p {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        text-align: center;
        justify-content: center;
        padding-top: 80px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-name {
        font-size: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-profile-img {
        right: -20px;
        top: 10%;
        opacity: 0.2;
    }

    .hero-decor-left {
        width: 180%;
        /* モバイルではさらに大胆に画面を覆うように */
        left: -40%;
        top: 70%;
        opacity: 0.04;
    }

    .about-card {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        min-width: 200px;
        width: 80%;
    }
}