@charset "UTF-8";

/* 変数定義 */
:root {
    --primary-color: #1a4a76;
    --secondary-color: #e74c3c;
    --text-main: #333333;
    --text-light: #666666;
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-color: #e2e8f0;
}

/* 全体リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: url('images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* コンテナ設定 */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.pc-only { display: block; }
.center { text-align: center; }

/* 背景オーバーレイ */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(240, 245, 250, 0.85);
    z-index: -1;
}

/* ================================
   ヘッダー（上部ナビ）
================================ */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* ---------------------------------
   ロゴエリア（head.jpg 上にテキスト重ね）
--------------------------------- */
.logo-area {
    flex-shrink: 0;
}

.logo-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.head-bg-img {
    height: 65px;
    width: auto;
    display: block;
    padding-left: 120px; /* 文字とロゴマークの間隔調整 */
}

.logo-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 12px;
}

.title-jp {
    font-size: 17px;
    font-weight: bold;
    color: #444444;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.title-en {
    font-size: 11px;
    font-weight: bold;
    color: #555555;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* ---------------------------------
   ナビゲーションバー (横一列固定)
--------------------------------- */
.global-nav {
    flex-shrink: 0;
}

.global-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.global-nav li {
    white-space: nowrap;
}

.global-nav a {
    color: var(--text-main);
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 8px;
    display: block;
    white-space: nowrap;
    transition: color 0.2s;
}

.global-nav a:hover,
.global-nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* ================================
   メインコンテンツ・カード
================================ */
.main-content {
    flex: 1;
    padding: 40px 20px;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.section-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.hero-section .section-title {
    border-bottom: none;
    font-size: 24px;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.desc {
    margin-bottom: 30px;
}

/* アラートボックス（枠は中央配置・内容は左寄せ） */
.alert-box {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-left: 5px solid var(--secondary-color); /* 左赤線を復活 */
    padding: 18px 22px;
    border-radius: 6px;
    max-width: 780px;      /* 枠の幅を適度に絞る */
    margin: 0 auto;        /* 枠自体を中央に配置 */
    text-align: left;      /* 文章自体は左寄せで読みやすく */
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.05);
}

.badge {
    background: var(--secondary-color);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 6px;
    margin-right: 10px;
}

/* グリッドレイアウト */
.grid-2col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

/* ニュースリスト */
.news-list {
    list-style: none;
}

.news-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: flex-start;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list time {
    color: var(--text-light);
    font-size: 14px;
    min-width: 90px;
    margin-right: 15px;
    font-family: Verdana, sans-serif;
}

/* バナー群・天候カード */
.banner-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.weather-card-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.weather-card-link:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 74, 118, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.weather-banner {
    width: 110px;
    height: auto;
    border-radius: 4px;
    flex-shrink: 0;
}

.weather-card-text {
    display: flex;
    flex-direction: column;
}

.weather-card-text strong {
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1.3;
}

.weather-card-text span {
    color: var(--text-light);
    font-size: 11px;
    margin-top: 2px;
}

/* ================================
   フッター（下部メニュー）
================================ */
.footer {
    background: #1a2a3a;
    color: #cbd5e1;
    padding: 50px 0 0 0;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-info h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

.office-box {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.office-title {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.link-group h5 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
    font-size: 14px;
}

.link-group a {
    color: #cbd5e1;
}

.link-group a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    background: #0f172a;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
}

/* ================================
   レスポンシブ (スマホ表示)
================================ */
@media (max-width: 960px) {
    .pc-only { display: none; }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .head-bg-img {
        height: 50px;
        padding-left: 90px;
    }

    .title-jp {
        font-size: 13px;
    }

    .title-en {
        font-size: 9px;
    }
    
    .global-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }
    
    .grid-2col {
        grid-template-columns: 1fr;
    }
    
    .news-list li {
        flex-direction: column;
    }
    
    .news-list time {
        margin-bottom: 5px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* ================================
   お知らせ・イベント専用スタイル
================================ */
.events-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.event-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.event-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.event-date {
    font-family: Verdana, sans-serif;
    font-size: 14px;
    color: var(--text-light);
    font-weight: bold;
}

.status-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.status-badge.ended {
    background: #e2e8f0;
    color: #475569;
}

.event-title {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0;
    width: 100%;
}

.event-body {
    padding: 20px;
}

/* 定義リスト（日時・場所等） */
.event-details {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.event-details dt {
    font-weight: bold;
    color: var(--primary-color);
    background: #edf2f7;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    align-self: start;
}

.event-details dd {
    margin: 0;
    line-height: 1.6;
    align-self: center;
}

/* 終了イベントの挨拶メッセージ */
.event-message {
    background: #f1f5f9;
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

/* プログラム・講演録エリア */
.program-box {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.program-heading {
    font-size: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 6px;
    margin-bottom: 15px;
}

.program-item {
    margin-bottom: 18px;
}

.program-item:last-child {
    margin-bottom: 0;
}

.program-item h5 {
    font-size: 14px;
    background: #1a4a76;
    color: #ffffff;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.program-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.speaker {
    font-size: 13px;
    color: var(--text-light);
    margin-left: 10px;
}

.program-list {
    padding-left: 20px;
    margin-top: 8px;
    font-size: 13px;
}

.program-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* リンクボタン */
.event-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .event-details {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .event-details dt {
        display: inline-block;
        width: auto;
        text-align: left;
    }
}
/* ================================
   学会発表・論文等 専用スタイル
================================ */
.conf-notice {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: bold;
    color: var(--primary-color);
    border-radius: 4px;
    margin-bottom: 30px;
}

.section-sub-header h3 {
    font-size: 18px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.conf-year-block {
    margin-bottom: 30px;
}

.year-heading {
    background: #f1f5f9;
    color: var(--primary-color);
    font-size: 15px;
    padding: 6px 14px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
    margin-bottom: 14px;
}

.conf-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.conf-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px 18px;
    transition: all 0.2s ease;
}

.conf-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(26, 74, 118, 0.08);
}

.conf-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.conf-date {
    font-weight: bold;
    color: var(--text-main);
    font-family: Verdana, sans-serif;
}

.location-badge {
    background: #e2e8f0;
    color: #334155;
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.conf-event-name {
    font-weight: bold;
    color: var(--primary-color);
}

.conf-presenter {
    font-size: 12.5px;
    color: var(--text-light);
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid #edf2f7;
}

.conf-title-text {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

/* 論文等リスト */
.pub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pub-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.6;
}

.pub-num {
    font-weight: bold;
    color: var(--primary-color);
    font-family: Verdana, sans-serif;
    min-width: 28px;
}

.pub-content {
    color: var(--text-main);
}
/* ================================
   お問い合わせ専用スタイル
================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    margin-top: 20px;
}

.contact-lead {
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.required-note {
    color: var(--text-light);
}

.req {
    color: var(--secondary-color);
    font-weight: bold;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 74, 118, 0.15);
}

.form-submit {
    margin-top: 10px;
}

.submit-btn {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #123354;
}

.submit-btn:active {
    transform: scale(0.99);
}

/* 連絡先情報エリア */
.contact-info-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.contact-info-card h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 6px;
}

.info-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.direct-contact-box h4 {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.office-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-detail-list {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    font-size: 13.5px;
}

.contact-detail-list dt {
    font-weight: bold;
    color: var(--primary-color);
}

.contact-detail-list dd {
    margin: 0;
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================
   天候による可否判断 専用スタイル
================================ */
.weather-intro-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.8;
}

.weather-table-wrapper {
    overflow-x: auto;
    margin-bottom: 25px;
}

.weather-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.weather-table th {
    background: var(--primary-color);
    color: #ffffff;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.weather-table th:last-child {
    border-right: none;
}

.weather-table td {
    padding: 16px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.weather-table tbody tr:last-child td {
    border-bottom: none;
}

.weather-table tbody tr:nth-child(even) {
    background: #fdfdfd;
}

.cell-request {
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    width: 25%;
}

.cell-arrow {
    text-align: center;
    color: var(--text-light);
    font-weight: bold;
    width: 40px;
}

.cell-timing {
    font-weight: bold;
    color: var(--text-main);
    text-align: center;
    width: 35%;
}

.cell-remarks {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 注記ボックス */
.weather-alert-note {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: bold;
}

/* ================================
   レスポンシブ (スマホ表示)
================================ */
@media (max-width: 768px) {
    /* (上部の共通ヘッダー・フッター用設定はそのまま) */
    .pc-only { display: none; }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .head-bg-img {
        height: 50px;
        padding-left: 90px;
    }

    .title-jp { font-size: 13px; }
    .title-en { font-size: 9px; }
    
    .global-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }
    
    .grid-2col { grid-template-columns: 1fr; }
    .news-list li { flex-direction: column; }
    .news-list time { margin-bottom: 5px; }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* ---------------------------------
       天候可否判断テーブル（スマホ時：縦並び＆「↓」切り替え）
    --------------------------------- */
    .weather-table thead {
        display: none; /* 表の見出し行を隠す */
    }

    .weather-table, 
    .weather-table tbody, 
    .weather-table tr, 
    .weather-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .weather-table tr {
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 14px 12px;
        background: #ffffff;
    }

    .weather-table td {
        border-bottom: 1px dashed var(--border-color);
        padding: 10px 8px;
        text-align: left;
    }

    .weather-table td:last-child {
        border-bottom: none;
    }

    /* ★ 矢印の制御：文字が入っているセルだけ「↓」に置換して表示 ★ */
    .cell-arrow {
        display: none; /* 空の矢印セルは隠す */
    }

    .cell-arrow:not(:empty) {
        display: block;
        text-align: center;
        padding: 4px 0;
        font-size: 0; /* 元の「→」テキストを非表示にする */
        border-bottom: none;
    }

    .cell-arrow:not(:empty)::before {
        content: "↓";
        font-size: 18px;
        font-weight: bold;
        color: var(--primary-color);
        display: block;
    }

    /* 項目ラベルの設定 */
    .cell-request::before {
        content: "要請・希望日：";
        font-size: 12px;
        color: var(--text-light);
        display: block;
    }

    .cell-timing::before {
        content: "運航判断時期：";
        font-size: 12px;
        color: var(--text-light);
        display: block;
    }

    .cell-remarks::before {
        content: "備考：";
        font-size: 12px;
        color: var(--text-light);
        display: block;
    }

    .cell-request, .cell-timing {
        text-align: left;
    }
}
/* ================================
   報告書ダウンロード 専用スタイル
================================ */
.dl-notice-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.7;
}

.dl-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 職種ラジオボタン 3列グリッド */
.radio-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 6px;
}

.radio-group-inline {
    display: flex;
    gap: 20px;
}

.radio-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: auto;
    cursor: pointer;
}

/* 報告書選択リスト */
.report-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    background: #ffffff;
}

.report-option {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid #edf2f7;
    background: #fdfdfd;
    cursor: pointer;
    transition: all 0.15s ease;
}

.report-option:hover {
    background: #f0f7ff;
    border-color: #bae6fd;
}

.report-option input[type="radio"] {
    width: auto;
    margin-right: 12px;
}

.report-name {
    font-weight: bold;
    font-size: 14px;
    color: var(--primary-color);
}

.file-size {
    font-size: 12px;
    color: var(--text-light);
    margin-left: 8px;
}

/* ボタン配置 */
.form-submit-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.reset-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid var(--border-color);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.reset-btn:hover {
    background: #e2e8f0;
}

/* スマホ表示対応 */
@media (max-width: 768px) {
    .radio-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-submit-row {
        flex-direction: column;
    }
    
    .reset-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .radio-grid-3col {
        grid-template-columns: 1fr;
    }
}
/* ================================
   事業のご案内 (medicalwings2.html) 専用スタイル
================================ */
.mw-hero-img-box {
    text-align: center;
    margin-bottom: 25px;
}

.mw-hero-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    box-shadow: none;    /* ★ 影を削除 */
    border-radius: 0;     /* ★ 角丸を解除（フラット表示） */
}

.mw-intro-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 35px;
}

.mw-intro-text p {
    margin-bottom: 1.2em;
}

.sub-card-title {
    font-size: 17px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 6px;
    margin-bottom: 20px;
}

/* 書類ダウンロードエリア */
.download-doc-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 35px;
}

.download-doc-box.margin-top {
    margin-top: 35px;
    margin-bottom: 0;
}

.doc-button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.doc-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.doc-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 74, 118, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.doc-type {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.doc-btn.pdf .doc-type,
.doc-btn-sm.pdf {
    background: #fee2e2;
    color: #dc2626;
}

.doc-btn-sm.excel {
    background: #dcfce7;
    color: #16a34a;
}

.doc-btn-group {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.group-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-pair {
    display: flex;
    gap: 8px;
}

.doc-btn-sm {
    flex: 1;
    text-align: center;
    padding: 4px 0;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
}

/* 運航スペックリスト */
.mw-spec-list {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 15px 20px;
    font-size: 14px;
}

.mw-spec-list dt {
    font-weight: bold;
    color: var(--primary-color);
    background: #edf2f7;
    padding: 8px 12px;
    border-radius: 4px;
    align-self: start;
}

.mw-spec-list dd {
    margin: 0;
    align-self: center;
    line-height: 1.6;
}

.mw-spec-list dt.highlight {
    background: #dbeafe;
    color: #1e40af;
}

.mw-spec-list dd.highlight {
    color: #1e40af;
    font-size: 15px;
}

.target-patient-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 6px;
}

.target-patient-card.margin-top {
    margin-top: 12px;
}

.target-patient-card h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.target-patient-card ul {
    margin-top: 8px;
    padding-left: 20px;
    font-size: 13px;
}

.mw-spec-list dt.urgent {
    background: #fee2e2;
    color: #991b1b;
}

.request-center-card {
    background: #fff5f5;
    border: 1px solid #fca5a5;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone-fax-row {
    display: flex;
    gap: 20px;
    font-weight: bold;
    font-size: 16px;
    color: #b91c1c;
    flex-wrap: wrap;
}

.notice-red {
    color: #dc2626;
    font-size: 12px;
}

/* 要請フロー画像 */
.flow-images-box {
    margin-top: 35px;
}

.flow-img-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.flow-img {
    width: 100%;
    max-width: 850px;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* 事後調査票グリッド */
.survey-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.survey-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.survey-card:hover {
    border-color: #16a34a;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12);
}

.survey-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--text-main);
}

.excel-badge {
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
}

/* スマホ表示対応 */
@media (max-width: 768px) {
    .mw-spec-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .mw-spec-list dt {
        margin-top: 10px;
    }

    .phone-fax-row {
        flex-direction: column;
        gap: 4px;
    }
}
/* ================================
   イベント詳細（写真閲覧）専用スタイル
================================ */
.event-photo-wrapper {
    margin-top: 20px;
    margin-bottom: 30px;
}

.event-sub-heading {
    font-size: 16px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.photo-box {
    text-align: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
}

.event-img {
    width: 100%;
    max-width: 750px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.back-link-box {
    margin-top: 25px;
}