﻿@charset "UTF-8";

/* --- 変数定義 --- */
:root {
    --white: #FFFFFF;
    --beige: #e6e6e6;
    --turquoise: #0096c8;
    --gold: #99783a;
    --dark-text: #4d4d4d;
    --soft-gray: #888888;
}

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

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: var(--beige);
    border-bottom: 1px solid #ddd;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 左右の余白を20pxから10pxに減らして、ロゴと三本線を端に寄せる */
    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;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--turquoise);
}

/* --- ヒーローセクション（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;
}

/* タイトル配置：2行目の Official Website を画像の垂直中央に */
.hero-overlay-text {
    position: absolute;
    top: calc(50% - 1.3rem); 
    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;
    font-style: normal;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(
        135deg, 
        #a8c0d8 0%,   
        #b8d8d0 35%,  
        #d0c8d8 70%,  
        #b8c8d8 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.05));
}

.site-title-jp {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--soft-gray);
    font-weight: normal;
}

/* --- メッセージエリア --- */
.hero-text {
    padding: 60px 20px;
    text-align: center;
}

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

.newsletter-area {
    margin-top: 40px;
    background: var(--beige);
    padding: 35px;
}

.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: white;
    padding: 12px 35px;
    text-decoration: none;
    margin-top: 15px;
    transition: opacity 0.3s;
}

.btn-gold:hover {
    opacity: 0.8;
}

/* --- リンクバナーグリッド --- */
.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;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

/* --- プロフィールレイアウト --- */
.profile-layout {
    display: flex;
    gap: 40px;
}

.profile-photo {
    width: 280px;
    height: auto;
    object-fit: cover;
}

.history-list {
    list-style: none;
    margin: 20px 0;
}

.history-list li {
    margin-bottom: 8px;
    padding-left: 15px;
    border-left: 1px solid var(--gold);
    font-size: 0.9rem;
    text-align: left;
}

.sns-links {
    margin-top: 20px;
    text-align: left;
}

.sns-links a {
    margin-right: 15px;
    color: var(--turquoise);
    text-decoration: none;
    font-size: 0.9rem;
}

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

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

.footer-links a {
    margin: 0 10px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.8rem;
}

.copyright {
    font-size: 0.75rem;
    color: #888;
    margin-top: 15px;
}

/* --- seminar.html 用の追加スタイル --- */
.seminar-header {
    padding: 120px 0 60px;
    text-align: center;
}

.seminar-header h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #a8c0d8 0%, #b8d8d0 35%, #d0c8d8 70%, #b8c8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.course-item {
    margin-bottom: 80px;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.course-tag {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}

.course-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: normal;
    border-bottom: 1px solid var(--beige);
    padding-bottom: 15px;
}

.sub-course {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--beige);
}

.sub-course h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: normal;
}

.newsletter-box {
    background-color: var(--beige);
    padding: 60px 20px;
    text-align: center;
    margin-top: 100px;
}

/* --- ハンバーガーメニュー --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px; /* タップ範囲を確保しつつマージンを最小に */
}

.bar {
    width: 22px;
    height: 2px;
    background-color: var(--dark-text);
    margin: 3px 0;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 768px) {
    .container {
        width: 96%; /* スマホでは全体的に少し幅を広げて端に寄せる */
    }

    .nav-content {
        padding: 15px 5px; /* スマホでは左右パディングをさらに5pxに縮小 */
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--beige);
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        border-bottom: 1px solid #ddd;
    }
    
    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        margin-right: -5px; /* 親のパディングを相殺して極限まで右に寄せる */
    }

    /* スマホ版タイトルの微調整 */
    .hero-overlay-text {
        top: calc(50% - 0.7rem);
        right: 5%;
        transform: translateY(-50%);
    }

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

    .site-title-jp {
        font-size: 0.75rem;
    }

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

    .banner-card img {
        height: 140px;
    }
    
    .flex-container, .profile-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.2rem;
    }

    /* 講座ページ用スマホ調整 */
    .course-item {
        padding: 20px;
    }
    .course-title {
        font-size: 1.4rem;
    }
}