﻿@charset "UTF-8";

/* --- 変数定義 --- */
:root {
    --white: #FFFFFF;
    --off-white: #fcfcfc;
    --silver-light: #f5f5f5;
    --silver-mid: #e8e8e8;
    --medium-gray: #888888;
    --dark-text: #4d4d4d;
    --deep-navy: #0D1B2A;
    --turquoise: #0096c8;
    --gold: #D4AF37;
}

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

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    font-family: '游明朝', 'Yu Mincho', serif;
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.8;
}

.container {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- 固定ナビゲーション --- */
.nav-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #f0f0f0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px; 
}

.logo h2 {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 15px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 0.8rem;
}

/* --- ハンバーガーメニュー基本設定（PCでは隠す） --- */
.hamburger {
    display: none; /* PC版では非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--dark-text);
    transition: all 0.3s ease;
}

/* --- ヒーローセクション（FV） --- */
.hero-section {
    padding-top: 60px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 800 / 600;
    background-color: var(--white);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-overlay-text {
    position: absolute;
    top: calc(50% - 0.8rem); 
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
    z-index: 10;
}

.site-title-en {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, #a8c0d8 0%, #b8d8d0 35%, #d0c8d8 70%, #b8c8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- メイン文章エリア --- */
.hero-text {
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    color: var(--turquoise);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: normal;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* --- コンテンツセクション共通 --- */
.content-section {
    padding: 100px 0;
}

#enneagram.content-section {
    background-color: var(--white);
}

.flex-container {
    display: flex;
    gap: 35px;
    align-items: center;
}

.book-image img {
    width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.text-content h2 {
    color: var(--deep-navy) !important;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- リンクバナー --- */
.link-banner-section {
    padding-bottom: 60px;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.banner-card {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.banner-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* --- プロフィール（PC版） --- */
.profile-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.profile-photo {
    width: 300px;
}

.history-list li {
    list-style: none; /* 左の点を消す */
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 1px solid var(--gold);
    font-size: 0.9rem;
}

/* --- メルマガエリア --- */
.newsletter-area {
    margin-top: 50px;
    padding: 100px 40px;
    background: linear-gradient(to bottom, #d8edf1 0%, #FFFFFF 100%);
    text-align: center;
}

.newsletter-title {
    color: var(--deep-navy) !important;
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: #0D1B2A;
    padding: 12px 40px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

/* --- フッター --- */
footer {
    padding: 60px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

/* --- レスポンシブ対応（スマホ・タブレット用 768px以下） --- */
@media screen and (max-width: 768px) {
    .container { width: 96%; }

    /* ハンバーガーを表示し、常に右寄せにする */
    .hamburger {
        display: flex;
        margin-left: auto;
        margin-right: 10px;
    }

    /* メニューをスマホ用に調整 */
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 60%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    /* ハンバーガーのアニメーション */
    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* トップの文字サイズと位置調整 */
    .hero-overlay-text {
        top: 50%; 
    }

    .site-title-en {
        font-size: 1.4rem;
    }

    .hero-text h1 {
        font-size: 1.2rem;
        padding-top: 10px;
    }

    /* プロフィールのセンター寄せ（強化版） */
    .profile-layout, .flex-container { 
        display: block;
        text-align: center;
    }

    .profile-photo {
        margin: 0 auto 30px;
        width: 100%;
        max-width: 300px;
        display: inline-block;
    }

    .profile-photo img {
        display: block;
        margin: 0 auto;
        width: 100%;
        height: auto;
    }

    .banner-grid { 
        grid-template-columns: 1fr; 
        max-width: 300px; 
    }
}