@charset "UTF-8";

/* === 全体の基準設定 === */
*, *::before, *::after {
    box-sizing: border-box;
}

/* --- 基本設定 --- */
:root {
    --c-main: #1a2a3a;
    --c-gold: #c8aa6e;
    --c-bg-light: #f5f7fa;
    --c-text: #333333;
    --f-mincho: 'Shippori Mincho', serif;
    --f-gothic: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--f-gothic);
    color: var(--c-text);
    line-height: 1.8;
    background-color: #fff;
    margin: 0;
    padding-top: 80px; /* PCでのヘッダー固定分の余白 */
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
section { padding: 100px 0; }
.bg-gray { background-color: var(--c-bg-light); }

/* --- アニメーション --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* --- 見出し・ボタン --- */
h2.section-title {
    font-family: var(--f-mincho); font-size: 2.4rem; color: var(--c-main);
    text-align: center; margin-bottom: 60px; letter-spacing: 0.1em;
}
h2.section-title::after {
    content: ""; display: block; width: 60px; height: 3px;
    background: var(--c-gold); margin: 25px auto 0;
}

.btn {
    display: inline-block; padding: 18px 50px; background-color: var(--c-main);
    color: #fff; font-weight: 700; border-radius: 4px; letter-spacing: 0.1em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); transition: all 0.3s; text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); opacity: 0.9; }
.btn-gold { background-color: var(--c-gold); }
.btn-outline { background: transparent; border: 2px solid var(--c-main); color: var(--c-main); }
.btn-outline:hover { background: var(--c-main); color: #fff; }

/* --- ヘッダー --- */
.header {
    padding: 15px 0; position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.98); box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-family: var(--f-mincho); font-size: 1.5rem; font-weight: 700; color: var(--c-main); }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav li { margin-left: 25px; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--c-main); position: relative; padding-bottom: 5px; }
.nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--c-gold); transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }

/* --- PC用ヒーローエリア（デフォルト） --- */
.hero {
    position: relative; width: 100%; height: 100vh; min-height: 600px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    color: #fff; margin-top: -80px; z-index: 1; text-align: center;
}
.hero-video {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%; width: auto; height: auto;
    object-fit: cover; z-index: -1;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26,42,58,0.4); z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero h1 {
    font-family: var(--f-mincho); font-size: 3.2rem; line-height: 1.4;
    margin-bottom: 30px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); letter-spacing: 0.05em;
}
.hero p {
    font-size: 1.2rem; margin-bottom: 40px; opacity: 0.95; font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* --- その他のセクション（私について等のヘッダー） --- */
.sub-hero {
    height: 40vh;
    min-height: 300px;
    background-color: var(--c-main); /* 画像がない時の保険 */
    background-image: linear-gradient(rgba(26,42,58,0.7), rgba(26,42,58,0.7)), url('images/mainImg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-top: -80px; /* PCではヘッダーの裏に潜り込ませる */
}
.sub-hero h1 {
    font-family: var(--f-mincho);
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    color: #fff;
}

.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.proof-item {
    background: #fff; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center; border-top: 3px solid var(--c-gold);
}
.proof-num { font-size: 4rem; font-weight: 700; color: var(--c-gold); line-height: 1; font-family: var(--f-mincho); }
.proof-item h3 { font-size: 1.4rem; margin: 20px 0; color: var(--c-main); }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.menu-card {
    background: #fff; padding: 40px 30px; display: flex; gap: 25px;
    border: 1px solid #eee; transition: all 0.3s; align-items: flex-start; text-align: left;
}
.menu-card:hover { border-color: var(--c-gold); box-shadow: 0 15px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }
.menu-icon { font-size: 2.5rem; color: var(--c-gold); flex-shrink: 0; margin-top: 5px; }
.menu-content { flex-grow: 1; }
.menu-card h3 { font-family: var(--f-mincho); font-size: 1.4rem; margin: 0 0 15px; color: var(--c-main); }
.menu-price { color: var(--c-main); font-weight: 700; font-size: 1.1rem; margin-top: 15px; text-align: right; }
.menu-list { margin: 10px 0 15px 20px; padding: 0; font-size: 0.95rem; color: #555; }
.menu-list li { margin-bottom: 5px; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.media-card {
    background: #fff; border: 1px solid #eee; padding: 30px;
    transition: all 0.3s; display: flex; flex-direction: column; text-align: left;
}
.media-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: var(--c-gold); }
.media-label { display: inline-block; padding: 5px 15px; background: var(--c-main); color: #fff; font-size: 0.8rem; margin-bottom: 15px; align-self: flex-start; }
.media-card h3 { font-size: 1.3rem; margin: 0 0 15px; font-family: var(--f-mincho); }
.media-link { margin-top: auto; color: var(--c-gold); font-weight: bold; display: flex; align-items: center; }
.media-link i { margin-left: 10px; transition: margin-left 0.3s; }
.media-card:hover .media-link i { margin-left: 15px; }

.media-btn {
    display: inline-block; padding: 12px 25px; background-color: #fff; border: 1px solid #ddd;
    border-radius: 30px; font-size: 0.95rem; color: #555; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.media-btn:hover { border-color: var(--c-gold); color: #fff; background-color: var(--c-gold); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(200, 170, 110, 0.3); }

/* --- 新規追加：よくある質問 (FAQ) --- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.faq-q {
    font-weight: 700;
    color: var(--c-main);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.faq-q::before {
    content: 'Q.';
    color: var(--c-gold);
    font-size: 1.3rem;
    font-family: var(--f-mincho);
    margin-right: 10px;
    line-height: 1;
}
.faq-a {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    padding-left: 35px; /* Qのアイコン分インデント */
}

/* --- 新規追加：キャンセル規定・注意事項 --- */
.attention-box {
    background-color: #fff5f5; /* 薄い赤背景 */
    border: 1px solid #ffcccc;
    padding: 30px;
    margin: 0 auto; /* 中央寄せ */
    max-width: 800px;
    text-align: center;
    border-radius: 4px;
}
.attention-title {
    color: #cc0000;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}
.attention-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
}

.footer { background: #111; color: #999; text-align: center; padding: 60px 0; }
.footer-logo { font-family: var(--f-mincho); font-size: 1.8rem; color: #fff; margin-bottom: 40px; }
.sns-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; }
.sns-links a {
    display: flex; align-items: center; justify-content: center; width: 50px; height: 50px;
    border: 1px solid #555; border-radius: 50%; color: #fff; font-size: 1.4rem; transition: all 0.3s;
}
.sns-links a:hover { border-color: var(--c-gold); background: var(--c-gold); color: var(--c-main); }

/* --- レスポンシブ調整（スマホ対応） --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    /* --- スマホレイアウト調整 --- */
    body {
        /* ヘッダーが高くなる分、コンテンツを下にずらす（約160px～180px） */
        padding-top: 160px;
    }

    /* 💡 修正・追加箇所：ヘッダーの余白を他のページと統一 */
    .header {
        /* ヘッダー全体の上下パディングを縮小 */
        padding: 10px 0; 
    }

    .header-inner { 
        flex-direction: column; 
        gap: 5px; /* ロゴとナビの間の隙間を15pxから5pxに縮小 */
    }
    
    /* ロゴ要素の余白を強制リセットし、上下の余白を詰める */
    .logo a { 
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important; 
    }
    /* h1.logo要素の場合も念のためリセット（HTMLの構造に合わせて適用） */
    h1.logo {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    
    .nav ul { flex-wrap: wrap; justify-content: center; }
    .nav li { margin: 5px 12px; }

    /* スマホではサブヒーローをヘッダーの後ろに潜り込ませない */
    .sub-hero {
        margin-top: 0;
        height: 30vh;
        min-height: 200px;
    }

    /* === スマホ縦画面の動画・テキスト最適化 === */
    .hero {
        display: block;
        height: auto !important;
        min-height: unset !important;
        /* トップページの動画ヒーローはmargin-topのリセットは不要（bodyのpaddingで調整されるため） */
        margin-top: 0;
        padding-bottom: 40px;
        background: var(--c-main);
    }
    .hero-video {
        position: relative; top: auto; left: auto; transform: none;
        width: 100% !important; height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        z-index: 1;
    }
    .hero::before { content: none; }
    
    .hero-content {
        position: relative; top: auto; left: auto; transform: none;
        width: 100%; max-width: 100%;
        padding: 30px 20px 0;
        color: #fff;
    }
    .hero h1 { font-size: 1.8rem; margin-bottom: 15px; text-shadow: none; }
    .hero p { font-size: 0.9rem; margin-bottom: 25px; text-shadow: none; opacity: 0.9; }
    .hero .btn { width: 100%; max-width: 300px; margin: 0 auto; display: block; }

    .proof-grid, .menu-grid { grid-template-columns: 1fr; }
    .menu-card { padding: 30px 20px; }
}

/* === about.html 用の追加スタイル === */
.intro-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
.intro-image {
    flex: 0 0 300px;
    max-width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}
.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.intro-text {
    flex: 1;
}
.intro-text h3 {
    font-family: var(--f-mincho);
    font-size: 1.8rem;
    color: var(--c-main);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--c-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.problem-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
}
.problem-item:hover {
    transform: translateY(-5px);
    border-color: var(--c-gold);
}
.problem-item i {
    font-size: 3rem;
    color: var(--c-gold);
    margin-bottom: 20px;
    display: block;
}
.problem-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--c-main);
    font-family: var(--f-mincho);
}
.problem-item p {
    text-align: left;
    font-size: 0.95rem;
}

.return-home-section {
    padding: 50px 0;
}

/* スマホ用調整（about.html用） */
@media (max-width: 768px) {
    .intro-grid {
        flex-direction: column;
        gap: 30px;
    }
    .intro-image {
        flex: none;
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    .intro-text h3 {
        font-size: 1.5rem;
        text-align: center;
        display: block;
        border-bottom: none;
        position: relative;
    }
    .intro-text h3::after {
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background: var(--c-gold);
        margin: 10px auto 0;
    }
    .intro-text p {
        text-align: left;
    }
}
