:root {
    --primary-color: #002855; /* ロゴのネイビー */
    --accent-color: #F2994A; /* ボタンのオレンジ */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f4f4f4; /* 薄いグレー背景 */
    --white: #ffffff;
    --font-base: 'Noto Sans JP', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

ul {
    list-style: none;
}

/* =========================================
   Utility Classes
   ========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.mt-40 {
    margin-top: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--orange {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(242, 153, 74, 0.3);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    min-width: auto;
    width: 100%;
}

/* =========================================
   Page Header (共通デザイン：右寄せ画像＋グラデーション)
   ========================================= */
.page-header {
    position: relative;
    width: 100%;
    height: 330px; /* 高さを330pxに固定 */
    margin-top: var(--header-height);

    background: #ffffff;
    background: linear-gradient(-90deg,rgba(0, 40, 85, 1) 0%, rgba(255, 255, 255, 1) 100%);
    overflow: hidden;
    display: flex;
    align-items: center; /* タイトルボックスを上下中央に配置 */
}

/* 背景画像エリア（右端に800px幅で固定） */
.page-header__bg {
    position: absolute;
    top: 0;
    right: 0; /* 右寄せ */
    width: 90vw; /* 横幅800px固定 */
    max-width: 1200px;
    height: 330px;
    z-index: 0;
}

.page-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 左側のネイビー部分と画像をなじませるグラデーション（画像の上に重ねる） */
.page-header__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 左端（ネイビー）から右（透明）へのグラデーション */
    /* 画像の左端20%くらいを使ってなじませます */
    background: linear-gradient(to right, var(--primary-color) 0%, rgba(0, 40, 85, 0) 30%);
}

/* タイトルボックスエリア */
.page-header__content {
    position: relative;
    z-index: 1; /* 画像より手前に表示 */
    width: 100%;
    max-width: var(--max-width);
    padding: 0 20px;
    /* コンテナ内での配置（必要であれば調整） */
}

.page-header__title {
    background-color: var(--white);
    padding: 20px 60px;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color); /* 文字色をネイビーに */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-bottom: 5px solid var(--primary-color); /* 下線のアクセント */
    min-width: 300px;
    text-align: center;
}

/* =========================================
   PC Design
   ========================================= */
@media (min-width: 769px) {
    .sp{
        display:none;
    }
}
/* =========================================
   Smart-phone Design
   ========================================= */
@media (max-width: 768px) {
    .pc{
    display: none;
    }
    .page-header__bg {
        /* 画面が800pxより狭い場合、画像全体が見えるように幅を100%にするか、
           あるいは右寄せのままトリミングするかを選べます。
           ここでは右寄せのまま、画像がはみ出すスタイルにします。 */
        width: 100%;
        right: 0;
    }

    .page-header__bg::after {
        /* スマホではグラデーションを少し弱める、または全域にかけるなど調整 */
        background: linear-gradient(to right, var(--primary-color) 0%, rgba(0, 40, 85, 0) 60%);
    }

    .page-header__title {
        font-size: 1.5rem;
        padding: 15px 30px;
        min-width: auto;
    }
}