/* 共通 */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --ayame: #7B76A8;
    --white: #ffffff;
    --black: #333333;
}

section {
    margin: 60px 0;
}

h1 {
    font-size: 32px;
    color: #7B76A8;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #7B76A8;
    border-radius: 2px;
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    padding-left: 16px;
    border-left: 4px solid #7B76A8;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px; /* スマホ時の左右余白 */
    position: relative;
    clear: both;
    width: 100%;
    padding: 0;
    min-height: 60vh;
}

/* メイン画像（各ページ冒頭） */
.main-image {
    width: 100%;
    aspect-ratio: 16 / 9;        /* 16:9 の比率に固定 */
    object-fit: cover;           /* はみ出た部分はカット */
    border-radius: 8px;          /* 任意：角を丸める */
    margin-bottom: 24px;         /* 下に余白 */
    display: block;
}

/* ヘッダー全体 */
.site-header {
    background-color: var(--ayame);
    color: var(--white);
    padding: 10px 0;
}

.header-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px; /* ← 左右のマージンを追加 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* ロゴ */
.logo img {
    height: 40px;
}

/* メニュー */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    font-weight: bold;
    position: relative;
    padding: 8px 0;
}

/* ホバー効果 */
.nav-menu a {
    color: var(--white);
    font-weight: bold;
    position: relative;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
}

/* ホバー時：白背景＋アヤメ文字 */
.nav-menu a:hover {
    background-color: var(--white);
    color: var(--ayame);
}

/* アクティブ時：アヤメ色で強調 */
.nav-menu a.active {
    background-color: var(--white);
    color: var(--ayame);
    font-weight: bold;
}

/* 下線効果（任意） */
.nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--ayame);
}


/* キャッチコピー */
.catch-copy {
    text-align: center;
    margin: 40px 0 30px;
}

.catch-copy h1 {
    font-size: 28px;
    color: #7B76A8;
    margin-bottom: 10px;
}

.catch-copy p {
    font-size: 18px;
    color: #333;
}

/* お知らせ */
.news-section {
    margin-bottom: 40px;
}

.news-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #333;
    border-left: 4px solid #7B76A8;
    padding-left: 10px;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

.news-date {
    color: #7B76A8;
    font-weight: bold;
    margin-right: 10px;
}

/* 紹介文 */
.intro-section h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
    border-left: 4px solid #7B76A8;
    padding-left: 10px;
}

.intro-section p {
    font-size: 16px;
    line-height: 1.7;
}

/* フッター */
.site-footer {
    background-color: #7B76A8; /* アヤメ色 */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* メイン */
main {
    padding: 20px;
}



/* キャンペーン欄 */
.campaign-section {
    margin-bottom: 40px;
}

.campaign-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #333;
    border-left: 4px solid #7B76A8;
    padding-left: 10px;
}

.campaign-box {
    background-color: #f4f4f8;
    border-left: 6px solid #7B76A8;
    padding: 20px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.highlight {
    color: #7B76A8;
    font-weight: bold;
}

.campaign-period {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}


.counselor-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}



/* 成婚体験談 */

.story-section {
    margin: 60px 0;
}

.story-section h1 {
    text-align: center;
    font-size: 28px;
    color: #7B76A8;
    margin-bottom: 40px;
}

.story-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.story-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.story-photo {
    width: 240px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.story-info {
    flex: 1;
    min-width: 200px;
}

.story-info h2 {
    color: #333;
    margin-bottom: 10px;
}

.story-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
    .story-card {
        flex-direction: column;
        align-items: center;
    }

    .story-photo {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .story-info {
        text-align: center;
    }
}




/* カード全体 */
.counselor-card {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.counselor-card h2 {
    color: #7B76A8;
    margin-bottom: 16px;
}

/* 横並びの本体 */
.counselor-body {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 画像 */
.counselor-photo {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/* 情報部分 */
.counselor-info {
    flex: 1;
    min-width: 200px;
}

.age {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.intro {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* モバイル対応：縦並び */
@media screen and (max-width: 600px) {
    .counselor-body {
        flex-direction: column;
        align-items: center;
    }

    .counselor-photo {
        width: 100%;
        max-width: 300px;
    }

    .counselor-info {
        text-align: center;
    }
}

/* モバイル対応 */
@media screen and (max-width: 600px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
        width: 100%;
    }

    .nav-menu a {
        background-color: #444;
        width: 80%;
        text-align: center;
        font-size: 18px;
        padding: 12px 0;
        border-radius: 4px;
    }

@media (hover: hover) {
    .nav-menu a:hover {
        background-color: var(--white);
        color: var(--ayame);
    }
}


/* 大画面対応 */
@media screen and (min-width: 1200px) {
    .header-container {
        padding: 0 60px;
    }
}


