﻿/* 
    各種ページ共通定義
*/

:root {
    --primary-color: #005bac;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --border-color: #dddddd;
}

.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--text-color);
    font-family: sans-serif;
    font-weight: 400;
}

.content-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 80px;
        height: 2px;
        background-color: var(--primary-color);
    }

/* 帯 */
.page-header {
    width: 100%;
    height: 250px;
    background-image: url('../images/h_a.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.page-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    position: relative;
    color: #000000;
    -webkit-text-stroke: 3px #000000;
}

    .page-title::after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: #ffffff; 
        -webkit-text-stroke: 0;
        z-index: 1;
        font-family: 'M PLUS Rounded 1c', sans-serif;
    }



/* ページ内ナビゲーション */
.page-nav {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

    .page-nav ul {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: center;
        list-style: none;
        flex-wrap: wrap;
    }

    .page-nav a {
        display: block;
        padding: 15px 20px;
        color: var(--text-color);
        text-decoration: none;
        font-size: 14px;
        font-weight: bold;
        transition: color 0.3s;
    }

        .page-nav a:hover {
            color: var(--primary-color);
        }
