@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-doc-section {
    padding: 80px 0;
}

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

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

/* タイトルの左側に細く縦に四角い棒をつける装飾 */
.p-doc-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-doc-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 15px;
    width: 4px;
    background-color: var(--color-main);
    border-radius: 2px;
}

/* PDFダウンロードリストのスタイル */
.p-doc-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background-color: var(--color-bg);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.p-doc-item:hover {
    background-color: #f0f0f0;
    border-color: var(--color-main);
}

.p-doc-item__title {
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--color-text);
}

.p-doc-item__icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #c00; /* PDFらしい赤色バッジ */
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .p-doc-section { padding: 40px 0; }
    .p-doc-intro { text-align: left; margin-bottom: 30px; }
    .p-doc-block { padding: 25px 20px; }
    .p-doc-heading { font-size: 1.15rem; }
    .p-doc-item { padding: 15px; }
    .p-doc-item__title { font-size: 0.95rem; }
}