:root {
    --glass: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.5);
    --navy: #003366;
    --accent: #FF8BA7;
    --text: #1a2a3a;
    --max-width: 1400px;
}

/* 1. iOS特有の横揺れを根絶する強力なリセット */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    width: 100%;
    position: relative;
}

body { 
    font-family: 'Noto Sans JP', sans-serif; 
    color: var(--text); 
    background: #fdfdfd; 
    line-height: 1.8; 
    overflow-x: hidden; 
    width: 100%;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

/* PCヘッダーナビ */
.pc-header-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: none;
}

.pc-nav-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 12px 40px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
}

.pc-nav-container ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.pc-nav-container a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.pc-nav-container a:hover {
    color: var(--accent);
}

/* 背景コンテナ */
.liquid-bg-container { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    z-index: -2; 
    background: #f8fafc; 
    overflow: hidden; 
    pointer-events: none;
}

.liquid-blob { 
    position: absolute; 
    width: 800px; 
    height: 800px; 
    border-radius: 50%; 
    filter: blur(100px); 
    opacity: 0.4; 
    animation: liquidMove 30s infinite alternate ease-in-out; 
}
.blob-1 { background: #FFB7C5; top: -20%; left: -10%; }
.blob-2 { background: #BEE3F8; bottom: -20%; right: -10%; }
@keyframes liquidMove { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(200px, 100px) scale(1.2); } }

/* 基本レイアウト */
.container-wide { 
    max-width: var(--max-width); 
    margin: 0 auto; 
    padding: 0 40px; 
    width: 100%;
}
.content-wrapper { 
    padding: 40px 0; 
    overflow: hidden; 
}

.glass-section {
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 100px 0;
    margin: 0 40px 60px;
    position: relative;
}

/* ヒーローセクション */
.hero-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 5; }
.name-focus-box { margin-bottom: 25px; } 
.name-sub-en { display: block; font-size: 1.2rem; font-weight: 900; color: var(--accent); letter-spacing: 0.3em; margin-bottom: 5px; }
.main-name { font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -0.02em; display: inline-block; }

.hero-catch { 
    font-size: clamp(1.8rem, 3.5vw, 2.8rem); 
    color: var(--navy); 
    line-height: 1.3; 
    font-weight: 700; 
    margin-bottom: 25px;
}

.hero-sub { 
    font-size: clamp(1.1rem, 1.8vw, 1.4rem); 
    font-weight: 700; 
    color: var(--navy);
    opacity: 1; 
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--accent);
    margin-bottom: 35px;
} 

.hero-sns-banners {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-sns-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-sns-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.hero-sns-btn.insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.hero-sns-btn.x-twitter {
    background: #000;
}

.hero-sns-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.hero-img-box { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    background: #eee url('../img/hero.jpg') center/cover; 
    border-radius: 40px; 
    position: relative; 
    box-shadow: 0 25px 60px rgba(0, 51, 102, 0.15); 
}

.hero-tag { 
    position: absolute; 
    bottom: 25px; 
    right: 25px; 
    background: var(--navy); 
    color: #fff; 
    padding: 10px 24px; 
    border-radius: 14px; 
    font-weight: 700; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-bg-text { 
    position: absolute; 
    top: 50%; 
    left: 40%; 
    transform: translate(-50%, -50%); 
    font-size: 25rem; 
    font-weight: 900; 
    color: var(--navy); 
    opacity: 0.03; 
    z-index: 1; 
    pointer-events: none; 
    white-space: nowrap; 
}

/* 共通スタイル */
.section-title { font-size: 3rem; color: var(--navy); margin-bottom: 60px; display: flex; align-items: center; gap: 20px; font-weight: 900; }
.section-title::after { content: ''; flex: 1; height: 4px; background: linear-gradient(to right, var(--accent), transparent); border-radius: 2px; }

.profile-layout-triple { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.profile-col { background: rgba(255, 255, 255, 0.25); padding: 40px 30px; border-radius: 35px; border: 1px solid rgba(255, 255, 255, 0.4); }
.item-label { font-size: 0.9rem; color: var(--accent); font-weight: 800; margin-bottom: 12px; display: block; letter-spacing: 0.15em; text-transform: uppercase; }
.profile-block { margin-bottom: 35px; }
.item-text { font-size: 1.05rem; color: var(--navy); font-weight: 500; }
.message-style { line-height: 1.9; }

.vision-text-area p { margin-bottom: 2.5rem; font-size: 1.15rem; color: var(--navy); font-weight: 500; line-height: 2.1; text-align: justify; }

/* 画像バナー用スタイル設定 */
.policy-main-img, .policy-mid-banner { 
    width: 100%; 
    max-width: 900px; 
    margin: 0 auto 40px; 
    text-align: center; 
}
.policy-main-img img, .policy-mid-banner img { 
    width: 100%; 
    height: auto; 
    border-radius: 30px; 
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1); 
}
.policy-mid-banner { 
    margin-top: 20px; 
    margin-bottom: 60px; 
}

.policy-concept-box { background: rgba(255, 255, 255, 0.3); border: 1px solid var(--glass-border); border-radius: 40px; padding: 50px; margin-bottom: 60px; color: var(--navy); }
.concept-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.detail-item { background: rgba(255, 255, 255, 0.4); padding: 25px; border-radius: 25px; border: 1px solid rgba(255, 255, 255, 0.5); }
.detail-arrow { display: block; font-weight: 800; color: var(--accent); }

.policy-card-glass { background: rgba(255,255,255,0.4); border-radius: 45px; padding: 70px 60px; margin-bottom: 50px; border: 1px solid var(--glass-border); }
.policy-heading { font-size: 2.8rem; color: var(--navy); font-weight: 900; line-height: 1.2; margin-bottom: 15px; }
.policy-lead { font-size: 1.15rem; font-weight: 500; color: var(--navy); opacity: 0.8; line-height: 1.6; margin-bottom: 30px; }
.policy-separator { height: 1px; background: rgba(0, 51, 102, 0.15); width: 100%; margin-bottom: 50px; }

.policy-detail-flow { max-width: 900px; margin: 0 auto; }
.flow-group { margin-bottom: 60px; }
.sub-group-title { color: var(--navy); font-size: 1.25rem; font-weight: 800; border-bottom: 3px solid var(--accent); display: inline-block; margin-bottom: 25px; padding-bottom: 5px; }
.premium-text-card {
    position: relative;
    background: rgba(255, 255, 255, 0.2); 
    padding: 30px 40px;
    border-radius: 30px;
    margin-bottom: 25px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.premium-text-card .item-head { display: block; font-size: 1.25rem; font-weight: 800; color: var(--accent); margin-bottom: 15px; }
.premium-text-card p { font-size: 1.05rem; line-height: 1.9; color: var(--navy); text-align: justify; }

.sns-banners-wide { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.sns-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 260px; height: 60px; border-radius: 100px; text-decoration: none; color: #fff !important; font-weight: 900; font-size: 1.1rem; transition: transform 0.3s ease, opacity 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.sns-btn img { width: 28px; height: 28px; object-fit: contain; }
.sns-btn.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sns-btn.x-twitter { background: #000; }
.sns-btn:hover { transform: translateY(-3px); opacity: 0.9; }

.glass-footer { padding: 60px 0; text-align: center; border-top: 1px solid var(--glass-border); }

/* モバイルメニュー */
.menu-trigger { position: fixed; top: 40px; right: 40px; width: 70px; height: 70px; background: var(--glass); border-radius: 50%; z-index: 2000; border: 1px solid var(--glass-border); display: none; }
.menu-trigger span, .menu-trigger span::before, .menu-trigger span::after { content: ''; display: block; height: 3px; width: 28px; background: var(--navy); position: absolute; left: 21px; transition: 0.4s; }
.menu-trigger span::before { top: -10px; }
.menu-trigger span::after { bottom: -10px; }
.menu-trigger.is-active span { background: transparent; }
.menu-trigger.is-active span::before { transform: rotate(45deg); top: 0; }
.menu-trigger.is-active span::after { transform: rotate(-45deg); bottom: 0; }
.full-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(255,255,255,0.98); backdrop-filter: blur(30px); z-index: 1500; transition: 0.8s; display: flex; align-items: center; justify-content: center; }
.full-nav.is-active { right: 0; }
.full-nav a { font-size: 3rem; font-weight: 900; color: var(--navy); text-decoration: none; padding: 20px; display: block; }
.overlay-glass { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.1); z-index: 1400; display: none; backdrop-filter: blur(5px); }
.overlay-glass.is-active { display: block; }

/* TOPへ戻るボタン */
.c-back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.c-back-to-top.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.c-back-to-top:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* PCのみ表示 */
@media (min-width: 1001px) {
    .pc-header-nav { display: block; }
    .pc-only { display: block; }
}

/* スマホ表示 */
@media (max-width: 1000px) {
    .menu-trigger { display: block; } 
    .hero-sub { 
        font-size: 0.88rem; 
        line-height: 1.8;
        padding-left: 15px;
        word-break: keep-all; 
        overflow-wrap: anywhere;
        margin-bottom: 25px;
    }
    .hero-sns-banners { justify-content: center; }
    .hero-bg-text { display: none !important; }
    .container-wide { padding: 0 15px; }
    .glass-section { 
        margin: 0 10px 30px; 
        padding: 40px 0; 
        border-radius: 30px; 
        overflow: hidden; 
    }
    .policy-card-glass { padding: 40px 15px; border-radius: 30px; }
    .policy-heading { font-size: 2rem; }
    .policy-detail-flow { width: 100%; }
    .premium-text-card { padding: 20px 15px; border-radius: 20px; }
    .hero-flex, .profile-layout-triple { grid-template-columns: 1fr; }
    .hero-text { text-align: center; }
    .main-name { font-size: 3.5rem; }
    .hero-catch { font-size: 1.6rem; }
    .sns-banners-wide { flex-direction: column; align-items: center; }
    .menu-trigger { top: 20px; right: 20px; width: 60px; height: 60px; }
    .c-back-to-top { right: 20px; bottom: 20px; width: 50px; height: 50px; }
}