@charset "UTF-8";

/* =========================================================
   下層ページ メインビジュアル (Sub Hero)
========================================================= */
.p-sub-hero {
    position: relative;
    width: 100%;
    height: 395px; /* お好みで高さを調整してください（例: 320px + ヘッダー分など） */
    padding-top: 75px; /* 固定ヘッダーの高さ分、中の文字を下げる */
    background-color: var(--color-main);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 0; /* ★上部のマージンをなくして画面最上部にくっつける */
}

.p-sub-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.p-sub-hero__inner {
    position: relative;
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    100% { transform: translateY(0); opacity: 1; }
}

.p-sub-hero__title {
    font-family: var(--font-english);
    font-size: 2.8rem;
    font-weight: normal;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.p-sub-hero__en {
    display: block;
    font-family: var(--font-english);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media screen and (max-width: 768px) {
    .p-sub-hero { 
        height: 280px; /* スマホ版の高さ */
        padding-top: 60px; /* スマホ版ヘッダーの高さ */
    }
    .p-sub-hero__title { font-size: 1.8rem; }
    .p-sub-hero__en { font-size: 0.9rem; }
}
/* =========================================================
   料金について ページ固有スタイル
========================================================= */
.p-fee-section {
    padding: 80px 0;
}

.p-fee-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: center;
}

/* 各セクションブロック（薄いグレーの枠線） */
.p-fee-block {
    margin-bottom: 50px;
    border: 1px solid #eaeaea;
    background-color: #fff;
    padding: 40px;
    border-radius: 6px;
}
.p-fee-block:last-child {
    margin-bottom: 0;
}

/* ★タイトルの左側に細く縦に四角い棒をつける装飾 */
.p-fee-heading {
    position: relative;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-main);
    padding-left: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--color-main);
    padding-bottom: 12px;
}
.p-fee-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 15px;
    width: 4px; /* 四角い棒の太さ */
    background-color: var(--color-main);
    border-radius: 2px;
}

.p-fee-body {
    font-size: 0.95rem;
    line-height: 1.8;
}

.p-fee-body p {
    margin-bottom: 15px;
}
.p-fee-body p:last-child {
    margin-bottom: 0;
}

/* 料金表などのテーブル用 */
.p-fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.p-fee-table th,
.p-fee-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.95rem;
}
.p-fee-table th {
    background-color: var(--color-bg);
    width: 35%;
    font-weight: bold;
}

/* 決済画像2枚のレイアウト（PC横並び、SP縦並び） */
.p-flow-images {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}
.p-flow-images img {
    width: 48%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 768px) {
    .p-fee-section { padding: 40px 0; }
    .p-fee-intro { text-align: left; margin-bottom: 30px; }
    .p-fee-block { padding: 25px 20px; }
    .p-fee-heading { font-size: 1.15rem; }
    .p-fee-table th, .p-fee-table td { padding: 10px; font-size: 0.9rem; }
    .p-flow-images { flex-direction: column; gap: 20px; }
    .p-flow-images img { width: 100%; }
}