/* style.css - Stella Chic & Stylish Theme */

/* :root 変数定義 */
:root {
    --primary-bg-color: #ffffff;
    --secondary-bg-color: #f8f9fa;
    --dark-bg-color: #1a2333; /* 濃いネイビーブルー */
    --text-color-dark: #2c3e50; /* 濃いテキスト色 */
    --text-color-light: #f8f9fa; /* 明るいテキスト色 */
    --accent-color: #d4af37; /* ゴールドのアクセント */
    --border-color: #e9ecef; /* 境界線 */

    --font-heading: 'Shippori Mincho', serif; /* 見出し用フォント */
    --font-body: 'Noto Sans JP', sans-serif; /* 本文用フォント */
}

/* 基本設定とリセット */
body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-color-dark);
    background-color: var(--primary-bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-color-dark);
    font-weight: 700;
}

h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 50px;
    padding-bottom: 15px;
    position: relative;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2::after { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}


.icon-style {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 0.9em;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* ヘッダー */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

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

header .logo a {
    font-family: var(--font-heading);
    font-size: 2em;
    font-weight: 700;
    color: var(--text-color-dark);
    text-decoration: none;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color-dark);
    font-weight: 700;
    font-size: 1em;
    position: relative;
    padding-bottom: 5px;
}
header nav ul li a::after { /* ホバー時の下線アニメーション */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--text-color-dark);
    cursor: pointer;
}

/* メインコンテンツ */
main {
    padding-top: 90px;
}

#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('stella-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    color: var(--text-color-light);
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

#hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

#hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}


.content-section {
    padding: 80px 0;
}

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

/* プログラム内容グリッド */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.program-item {
    background-color: var(--primary-bg-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.program-item h3 {
    color: var(--text-color-dark);
    margin-top: 0;
    font-size: 1.6em;
}

/* ご利用の流れリスト */
.flow-list {
    list-style: none;
    padding-left: 0;
    counter-reset: flow-counter;
}
.flow-list li {
    background: none;
    border: none;
    box-shadow: none;
    border-left: 3px solid var(--accent-color);
    padding: 15px 25px;
    margin-bottom: 30px;
    position: relative;
}
.flow-list h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: var(--text-color-dark);
}

/* アクセス */
.access-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.access-details {
    flex: 1;
    min-width: 300px;
}

.access-map {
    flex: 1;
    min-width: 300px;
}
.access-map a {
    display: block;
    line-height: 0;
}
.map-image {
    width: 100%;
    height: auto;
    border: none;
    border-radius: 5px;
    margin: 0;
    transition: opacity 0.3s ease;
}
.map-image:hover {
    opacity: 0.85;
}

/* よくあるご質問 */
.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
}
.faq-item h3 {
    font-size: 1.4em;
    color: var(--text-color-dark);
    margin-bottom: 10px;
}

/* お問い合わせ */
.contact-details {
    text-align: center;
    margin-top: 40px;
}

.contact-details p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details strong {
    font-size: 1.2em;
    font-family: var(--font-heading);
    color: var(--text-color-dark);
}

.contact-details a {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-color-dark);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
    color: var(--accent-color);
    opacity: 1;
}

.contact-details small {
    font-size: 0.9em;
    color: #6c757d;
}


/* フッター */
footer {
    background-color: var(--dark-bg-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}
footer .container p {
    opacity: 0.8;
}

/* レスポンシブ対応 (スマートフォン向け) */
@media (max-width: 768px) {
    h2 { font-size: 1.8em; }

    header { padding: 15px 0; }
    header .container { flex-direction: row; }
    header .logo a { font-size: 1.6em; }
    main { padding-top: 73px; }

    header nav {
        position: fixed;
        top: 73px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px 0;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    header nav ul.active { display: block; }
    header nav ul li { margin: 15px 0; }

    .mobile-menu-button { display: block; }

    #hero { 
        padding: 80px 15px;
        background-attachment: scroll; /* スマホでは背景固定を解除 */
     }
    #hero h1 { font-size: 2.2em; }

    .program-grid { grid-template-columns: 1fr; }
    .access-grid { flex-direction: column; }
}