@charset "UTF-8";

/* =========================================
   ベース設定
   ========================================= */

img {
    vertical-align: middle;
}

a {
    color: #004080;
}

.bold {
    font-weight: bold
}

.ilb {
    display: inline-block;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

:root {
    --primary-blue: #004080;
    --primary-red: #B22222;
}

/* デフォルト（PC）ではリンクの挙動を無効化する */
.tel-link {
    pointer-events: none;
    /* クリック・タップに反応しない */
    cursor: default;
    /* カーソルを指マークにしない */
    text-decoration: none;
}

/* スマホ（画面幅768px以下）の時だけ有効化する */
@media screen and (max-width: 768px) {
    .tel-link {
        pointer-events: auto;
        /* タップを有効にする */
        cursor: pointer;
        /* カーソルを指マークにする（一応） */
    }
}

/* =========================================
   ヘッダー（高さ100px）
   ========================================= */
.site-header {
    background: #fff;
    position: relative;
    height: 100px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    display: flex;
}

.logo-area div {
    margin-right: 10px;
}

.logo-area div:last-child {
    margin-right: 0;
}

.logo-area img {
    height: 100px;
    width: auto;
}

@media screen and (max-width: 1140px) {
    .site-header {
        height: 60px;
    }

    .header-inner {
        padding: 0 15px;
    }

    .logo-area img {
        height: 60px;
    }
}

/* ヘッダーのお問い合わせボタン（ホバー効果を統一） */
.btn-header-contact {
    display: flex;
    gap: 10px;
    background: var(--primary-blue);
    color: #fff;
    text-decoration: none;

    width: 180px;
    height: 50px;
    border-radius: 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 15px;
    font-weight: bold;
    /* transitionをallに変更して統一 */
    transition: all 0.3s;
}

@media screen and (min-width: 1141px) {

    /* ホバー効果を確認ボタンと統一 */
    .btn-header-contact:hover {
        background-color: #002a55;
        /* 少し濃い青へ */
        transform: translateY(-2px);
        /* 少し浮き上がる */
        box-shadow: 0 4px 10px rgba(0, 64, 128, 0.3);
        /* 青系の影 */
        opacity: 1;
        /* 以前のopacityはリセット */
    }
}

@media screen and (max-width: 1140px) {
    .btn-header-contact {
        width: 140px;
        height: 40px;
        font-size: 13px;
        gap: 8px;
    }

    .btn-header-contact div img {
        width: 20px;
        height: auto;
    }
}


/* =========================================
   タイトルエリア（高さ400px・グラデーション背景・青シャドウの箱）
   ========================================= */
.page-title-area {
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, #E5ECF6, #FFFFFF);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 新しく追加した、タイトルを囲む白い箱 */
.page-title-box {
    background: #fff;
    padding: 80px 20px;
    width: calc(100% - 120px);
    border-radius: 10px;
    box-shadow: 0px 0px 20px #0040801A;
    text-align: center;
}

.page-title {
    color: var(--primary-blue);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin: 0;
    /* 以前のpadding-bottomは箱の方で調整したので削除 */
}

@media screen and (max-width: 1140px) {
    .page-title-area {
        height: 200px;
    }

    .page-title-box {
        padding: 40px 20px;
        width: calc(100% - 40px);
        border-radius: 5px;
    }

    .page-title {
        font-size: 24px;
    }
}

.show-768 {
    display: none;
}

@media screen and (max-width: 768px) {
    .show-768 {
        display: block;
    }

    .page-title {
        line-height: 1.5;
    }

    .page-title-box {
        padding: 30px 15px;
    }
}

@media screen and (max-width: 500px) {
    .page-title {
        font-size: 5vw;
    }

    .page-title-box {
        padding: 30px 0;
    }
}

/* =========================================
   メインコンテンツエリア（1000px）
   ========================================= */
.form-container {
    width: 1000px;
    margin: 0 auto;
    padding: 0;
}

@media screen and (max-width: 1020px) {
    .form-container {
        width: 100%;
        padding: 0 20px;
    }
}

.intro-text {
    font-size: 16px;
    margin-bottom: 60px;
    line-height: 1.8;
    text-align: center;
}

.error-notice {
    color: var(--primary-red);
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}

@media screen and (max-width: 1140px) {
    .intro-text {
        font-size: 14px;
        margin-bottom: 30px;
    }
}


/* =========================================
   フォーム外観（指定：背景F1F1F1）
   ========================================= */
.form-wrapper {
    background: #F1F1F1;
    border: none;

    padding: 60px 50px;
    margin-bottom: 60px;
}

/* フォーム各項目 */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.required {
    color: var(--primary-red);
    margin-left: 5px;
}

/* 入力欄のデザイン */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    height: 50px;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 0 15px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: auto;
    padding: 15px;
    min-height: 200px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.link-note {
    display: block;
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.example {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.separator-line {
    border-bottom: 1px dashed #ccc;
    margin: 30px 0;
}

@media screen and (max-width: 1140px) {
    .form-wrapper {
        padding: 30px 20px 40px;
        margin-bottom: 30px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"],
    .form-group textarea {
        height: 40px;
        font-size: 14px;
    }

    .link-note {
        font-size: 12px;
    }

    .example {
        font-size: 12px;
    }

    .separator-line {
        margin: 20px 0;
    }

}

/* プライバシーポリシー */
.privacy-area {
    text-align: center;
    margin: 40px 0;
    font-size: 15px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: bold;
}

input[type="checkbox"] {
    transform: scale(1.2);
}


/* Turnstile */
.turnstile-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.form-kakunin {
    padding-top: 80px
}

.txc {
    text-align: center
}

.mb40 {
    margin-bottom: 40px;
}

.flex-jcc {
    display: flex;
    justify-content: center;
}

.form-kakuninbtnwrap {
    margin: 60px 0 80px;
    gap: 20px;
}

.form-thanksblock {
    max-width: 700px;
    width: calc(100% - 40px);
    margin: 0 auto 40px;
    background: #f1f1f1;
    padding: 10px 20px 30px;
    font-size: 14px;
}

@media screen and (max-width: 1140px) {
    .privacy-area {
        margin-bottom: 30px;
    }

}

/* =========================================
   送信ボタン（ホバー効果はヘッダーと統一）
   ========================================= */
.submit-area {
    text-align: center;
    margin-bottom: 60px;
}

.btn-submit {
    background: var(--primary-blue);
    text-decoration: none;
    color: #fff;
    border: none;

    width: 200px;
    height: 60px;
    border-radius: 30px;

    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "Noto Sans JP", sans-serif;

    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-submit.back {
    background: #ccc;
    color: #000;
}

@media screen and (min-width: 1141px) {
    .btn-submit:hover {
        background-color: #002a55;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 64, 128, 0.3);
    }

    .btn-submit.back:hover {
        background: #f1f1f1;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

/* =========================================
   フッター
   ========================================= */
.site-footer {
    margin-top: 80px;
}

.contact-info-section {
    background: var(--primary-blue);
    padding: 50px 0 80px;
    text-align: center;
}

.contact-info-ttl {
    font-size: 24px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px
}

.contact-info-box {
    background: #fff;
    width: calc(100% - 40px);
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.inner600 {
    max-width: 600px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.contact-title {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #004080;
    padding-bottom: 10px;
}

.tel-number {
    margin: 25px 0 20px;
}

.tel-number a {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.tel-number a div:last-child {
    font-weight: bold;
    color: var(--primary-blue);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1;
    position: relative;
    bottom: -12px;
}

.reception-hours {
    background: #eef4fa;
    color: var(--primary-blue);
    padding: 8px 30px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-note {
    font-size: 14px;
    line-height: 1.6;
}

.flex-aic {
    display: flex;
    align-items: center
}

.footttl {
    line-height: 1;
    letter-spacing: 0.05em;
    margin-left: 10px;
}

.footttl,
.footlink {
    font-size: 14px;
    font-weight: bold
}

.show-1140 {
    display: none;
}

@media screen and (max-width: 1140px) {
    .show-1140 {
        display: block;
    }

    .site-footer {
        margin-top: 40px;
    }

    .contact-info-section {
        padding: 30px 0 40px;
    }

    .contact-info-ttl {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-info-box {
        padding: 20px 0;
    }

    .contact-title {
        font-size: 16px;
    }

    .tel-number {
        margin: 20px 0;
    }

    .tel-number a {
        flex-direction: column;
        align-items: center;
    }

    .tel-number a div:last-child {
        bottom: 0;
        margin-top: 10px;
    }

    .reception-hours {
        font-size: 12px;
        padding: 6px 20px;
    }

    .contact-note {
        font-size: 12px;
    }

    .footttl {
        margin-left: 0;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .footttl,
    .footlink {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .tel-number img {
        width: 320px;
        height: auto;
    }

    .footer-bottom {
        padding-bottom: 10px;
    }

    .footer-bottom .header-inner {
        flex-direction: column-reverse;
    }

    .footer-bottom .header-inner .flex-aic {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footlink {
        padding: 15px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .tel-number img {
        width: 250px;
        height: auto;
    }
}


/* =========================================
   バリデーションエラー用スタイル
   ========================================= */
.is-error {
    border: 2px solid var(--primary-red) !important;
    background-color: #fff0f0 !important;
}

.error-message {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

/* =========================================
   トップページ専用スタイル (index.php)
   ========================================= */

/* メインコンテナ（共通設定のform-containerと同じ幅） */
.main-container {
    width: 1000px;
    margin: 0 auto 80px;
    padding: 0;
}

/* セクション共通 */
.top-section {
    margin-bottom: 120px;
}

/* 見出し（指定：24px bold 背景#E5ECF6） */
.section-title {
    background-color: #E5ECF6;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding: 20px;
    margin: 0 0 40px 0;
    border-bottom: 2px solid #004080;
    /* 画像に合わせて薄い線を追加 */
    text-align: center;
    /* 画像に合わせて中央寄せ */
}

/* 見出し後の文章（指定：18px） */
.section-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 0 20px;
    text-indent: 1em;
}


@media screen and (max-width: 1140px) {
    .main-container {
        width: calc(100% - 40px);
        padding: 0;
    }

    .top-section {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 20px;
        padding: 15px;
        margin-bottom: 30px;
    }

    .section-intro {
        font-size: 16px;
        padding: 0 15px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 500px) {
    .section-title {
        font-size: 18px;
    }

    .section-intro {
        font-size: 15px;
    }
}

/* --- テーブルスタイル --- */
.overview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border: 2px solid #F1F1F1;
}

.overview-table th,
.overview-table td {
    padding: 20px;
    vertical-align: top;
}

.overview-table th {
    background-color: #F1F1F1;
    border-bottom: 2px solid #fff;
    width: 25%;
    font-weight: bold;
    text-align: left;
}

.overview-table tr:last-child th {
    border: none
}

.overview-table td {
    border-bottom: 2px solid #F1F1F1;
}

@media screen and (max-width: 1140px) {

    .overview-table th,
    .overview-table td {
        padding: 15px;
        font-size: 14px;
    }

    .overview-table tr:last-child td {
        border: none;
    }
}

@media screen and (max-width: 768px) {

    .overview-table th,
    .overview-table td {
        display: block;
        width: 100%;
    }
}


/* 表の中の注釈（指定：※の文章は14px） */
.note-text {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.5;
}

.mt-20 {
    margin-top: 20px;
}

/* 支給までの流れ（ステップ） */
.flow-step {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.flow-step.last {
    border-bottom: none;
    margin-bottom: 0;
}

.flow-step strong {
    display: block;
    margin-bottom: 5px;
    color: #000;
}

.flow-step p {
    margin: 0;
    padding-left: 1em;
    text-indent: -1em;
}

/* --- 申請期限エリア（灰色ボックス） --- */
.application-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    border-bottom: 1px dashed #ccc;
}

.application-box:first-child {
    padding-top: 0
}

/* アイコンエリア */
.app-icon-area {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon-area div {
    width: 60px;
}

/* テキストエリア */
.app-content-area {
    flex: 1;
    padding: 0 30px;
}

.app-deadline {
    font-weight: bold;
    font-size: 18px;
    color: #B22222;
    /* 赤文字 */
    margin-bottom: 5px;
}

.text-red {
    color: #B22222;
}

/* ボタンエリア */
.app-btn-area {
    width: 220px;
    text-align: right;
}

.btn-application {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    background-color: #004080;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: opacity 0.3s;
}

.btn-application:hover {
    opacity: 0.8;
}

@media screen and (max-width: 1140px) {
    .application-box {
        height: auto;
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .app-icon-area {
        width: 100px;
        height: 100px;
        margin-bottom: -10px;
    }

    .app-icon-area div {
        width: 50px;
    }

    .app-content-area {
        padding: 0 20px;
    }

    .app-btn-area {
        width: 200px;
        text-align: center;
    }

    .btn-application {
        width: 180px;
        height: 45px;
    }
}




/* 受付状況確認 */
.status-check-text {
    text-align: center;
    font-size: 18px;
}

.text-link {
    color: #004080;
    text-decoration: underline;
    font-weight: bold;
}

/* --- 支給までの流れ：リスト整形 --- */

/* 1行ごとの箱（Flexboxで横並びにする） */
.list-row {
    display: flex;
    /* 横並びにする */
    align-items: baseline;
    /* 文字のベースラインで揃える */
    margin-bottom: 5px;
    /* 行ごとの間隔 */
    text-indent: 0;
    /* 不要なインデントをリセット */
    padding-left: 0;
    /* 左余白なし（見出しと揃える） */
}

/* 丸ポチ（●）の設定 */
.bullet-mark {
    color: #004080;
    /* 青色 */
    font-size: 0.75em;
    /* 少し小さく */
    margin-right: 8px;
    /* テキストとの距離 */
    flex-shrink: 0;
    /* 画面が狭くても●が潰れないようにする */
}

/* テキスト部分の設定 */
.list-text {
    color: #333;
    /* 黒色 */
    line-height: 1.5;
}





/* =========================================
   ポリシーページ専用スタイル
   ========================================= */

/* ポリシーセクション全体 */
.policy-section {
    margin-bottom: 80px;
}

/* ポリシーコンテンツ枠 */
.policy-content {
    padding: 0 20px;
}

/* 各項目（1. 著作権について 等） */
.policy-item {
    border-bottom: 1px dashed #ccc;
    /* 点線区切り */
    padding-bottom: 30px;
    margin-bottom: 30px;
}

/* 最後の項目は線なし */
.policy-item.last {
    border-bottom: none;
    margin-bottom: 0;
}

/* 小見出し（1. 著作権について） */
.policy-head {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

/* 本文テキスト */
.policy-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding-left: 0.5em;
    /* 少しインデント */
}

/* リンクテキスト */
.text-link {
    color: #004080;
    text-decoration: underline;
    word-break: break-all;
    /* URLが長い場合に折り返す */
}

.text-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

@media screen and (max-width: 1140px) {
    .policy-section {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 768px) {
    .policy-content {
        padding: 0;
    }

    .policy-head {
        font-size: 16px;
    }

    .policy-text {
        font-size: 14px;
    }
}