﻿/* =========================
   CSS Variables（色管理）
   ========================= */




/* =========================
   Reset / Base
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
}

/* =========================
   Layout
   ========================= */
header {
    background-color: var(--bg-header);
    color: var(--text-inverse);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

footer {
    background-color: var(--bg-footer);
    color: var(--text-inverse);
}

main {
    background-color: var(--bg-content);
}

.wrapper {
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
}

.contens {
    flex:1;
    max-width: 980px;
    min-width:980px;
    margin: 0 auto;
    padding: 1em;
    padding-bottom: 0;
}

/* 共通コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}

.sp-disp{display:none;}
.pc-disp {display:block;}

@media (max-width: 768px) {
    .sp-disp{display:block;}
    .pc-disp {display:none;}
}

/* =========================
   Header
   ========================= */
.header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-light);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
}

.header__logo {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

    .header__logo img {
        /*height: 45px;*/
        width: 80%;
        margin-bottom: 4px;
    }

/* ===== メニュー全体 ===== */
.menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* 開いた状態 */
.menu.is-open {
    max-height: 500px; /* 中身より大きければOK */
    opacity: 1;
}

.menu-toggle {
    padding: 13px 13px;
    background: var(--bg-menu);
    border-radius: 2em;
    border: none;
}

/* ===== 矢印アニメーション ===== */
.menu-toggle__icon {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* 開いたら上向き */
.menu.is-open ~ .header__inner .menu-toggle__icon,
.menu.is-open + .header__inner .menu-toggle__icon {
    transform: rotate(-135deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    transform: rotate(-135deg);
}

.menu-toggle[aria-expanded="true"] {
    background: var(--bg-menu-list);
}

/* ===== Menu ===== */
.menu {
    background-color: var(--bg-menu-list);
}

.menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu__item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--text-inverse);
}

.menu__item a {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: white;
}

.menu__icon {
    margin-right: 12px;
}

.menu__text {
    flex: 1;
}


.menu__text {
    color: white;
}

.menu__arrow {
    font-size: 14px;
}


.site-title {
    font-size: 1.25rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-inverse);
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* =========================
   Main Content
   ========================= */
.main-inner {
    padding: 2rem 0;
}

.section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-main);
    border-radius: 8px;
}

/* =========================
   Footer
   ========================= */
footer {
    height: 3em;
    bottom: 0;
    width: 100%;
}

.footer-inner {
    text-align: center;
    font-size: 0.875rem;
}

/* =========================
   Utility
   ========================= */
.bg-accent {
    background-color: var(--bg-accent);
    color: var(--text-inverse);
}
/* =========================
   Responsive（PC）
   ========================= */
@media (min-width: 767px) {
    .validation-summary-errors {
    padding: 2em 4em;
    }

    .flex_container .form_item{
        width: 50%;
    }
    .info_title {
        /*width: 40%; */
        width: 25% !important;
    }
    .info_user {
        padding-left: 16px;
    }
    .info_user .category {
        margin-left: 16px;
    }
    .nested-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 20px;
    }
}
/* =========================
   Responsive（SP）
   ========================= */
@media (max-width: 768px) {
    .contens {
        min-width: auto;
    }

    .header-inner {
        flex-direction: column;
        gap: 0.5rem;
    }

    .content_wrapper {
        width: 100% !important;
        max-width: 500px !important;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-inner {
        padding: 1rem 0;
    }
    .validation-summary-errors {
    padding: 2em;
    }
    .form_item_side {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 8px;
    }
    .wrap_container{
        width: 100%;
    }
    .provisional_registration .flex_container {
        display: block !important;
    }
    .pre_registration_wrapper .flatpickr-wrapper {
        width: 105px;
    }
    .flex_container {
        display: block!important;
    }

    .flex_container .form_item{
        width: 100%;
    }
    .info_title {
       width: 35%; 
    }
    .info_title span {
        display: block;
    }
    .info_user {
        padding-left: 8px;
    }
    .info_user .category {
        margin-left: 8px;
    }
    .nested-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}
}

/* =========================
  検証処理用
   ========================= */
.validation-summary-valid {
    display: none;
}

/* =========================
  エラー表記
   ========================= */
.validation-summary-errors {
    color: #e60012;
    font-size: 14px;
    background-color: #FFEFEF;
    margin-bottom: 24px;
    position: relative;
    border-radius: 8px;
}
.validation-summary-errors::before {
    content: "";
    position: absolute;
    background-color: #e60012;
    width: 16px;
    height: 100%;
    left: 0;
    top: 0;
     border-radius: 4px 0 0 4px;
}
.validation-summary-errors span {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    margin-left: 1em;
}
.validation-summary-errors span::before {
    content: url(../img/error_icon.svg);
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
.field-validation-error {
    color: #e60012;
    flex-basis: 100%;
    font-size: 14px;
    display: block;
    font-weight: normal;
}

/* =========================
   見出し用
   ========================= */
.midasi_h1 {
    background: var(--bg-footer);
    color: var(--bg-content);
    padding: 6px 0 6px 16px ;
    text-align: left;
    width: 100%;
    margin: 0 auto 1.5em;
    font-size: 1.25em;
}
.midasi_h1_notice {
    display: flex;
    padding-bottom: 8px;
    color: var(--bg-menu);
    border-bottom: 1px solid var(--bg-menu);
    align-items: center;
    font-size: 1.25em;
    font-weight: bold;
}
.midasi_h1_notice::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    aspect-ratio: calc( 1 / 1 );
    margin-right: 8px;
    background-color: var(--bg-footer);
    color: var(--bg-footer);
    -webkit-mask: url(../img/notice.svg) no-repeat center;
    mask: url(../img/notice.svg) no-repeat center;
    background-size: cover;
    background-repeat: no-repeat;
}
.midasi_h1_prc {
    text-align: center;
    width: 100%;
    margin: 120px auto 16px;
    font-size: 2em;
}
.midasi_h2_notice {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #686868;
}
.h2_inner {
    display: flex;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bg-menu);
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;  
}
.list_h2_inner {
    display: flex;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bg-menu);
    align-items: center;
    justify-content: space-between;
}
.midasi_h2 {
    font-size: 16px;
    font-weight: bold;
    color: var(--bg-menu);
    display: flex;
    margin: 0;
}

.midasi_h3 {
    background: var(--bg-footer);
    color: var(--bg-content);
    padding: 1em 0.5em;
    text-align: center;
    width: 100%;
    margin: 0 0 24px;
}

.midasi_h3 span {
    background: var(--bg-content);
    color: var(--bg-footer);
    margin-left: 1em;
    padding: 0.1em 1em;
    border-radius: 1em;
    font-size: 0.8em;
}

.midasi_h4 {
    color: var(--bg-footer);
    text-align: center;
    width: 100%;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.midasi_h4::before {
    content: "";
    display: block;
    background-color: var(--bg-footer);
    width: 8px;
    height: 8px;
    border-radius: 2px;
    font-size: 1rem;
    margin: 0 8px;
}

/* =========================
   一覧用
   ========================= */

/* 行全体 */
.entry-item {
    border-bottom: 1px solid #e5e5e5;
}

/* リンク */
.entry-link {
    position: relative;
    display: block;
    padding: 0.75em 1em 0.75em 4em;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

    /* ホバー */
    .entry-link:hover {
        background-color: #f9f9f9;
    }

    /* ●丸 */
    .entry-link::before {
        content: "";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        background-color: var(--bg-footer);
        border-radius: 50%;
    }

    /* ▶三角 */
    .entry-link::after {
        content: "";
        position: absolute;
        left: 31px; /* 丸の中央あたり */
        top: 50%;
        transform: translateY(-50%);
        border-style: solid;
        border-width: 6px 0 6px 9px;
        border-color: transparent transparent transparent var(--bg-content);
    }


/* =========================
  Exam info
 ========================= */

.page-title {
    background: #c3265a;
    color: #fff;
    text-align: center;
    padding: 14px;
    font-size: 18px;
    margin-bottom: 30px;
}

/* ---------- 情報 ---------- */

.info-block {
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
}

.label {
    color: var(--bg-menu);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--bg-menu);
}

.date {
    font-size: 15px;
}

/* ---------- セクション ---------- */

.section_info {
    margin-top: 2em;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-menu);
    font-size: 16px;
    border-bottom: 2px solid var(--bg-menu);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.icon {
    width: 20px;
    height: 20px;
}

/* ---------- ダウンロード ---------- */

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: blue;
    transition: opacity 0.3s;
    cursor: pointer;
}

    .download-item:hover {
        opacity: 0.7;
    }

.download-icon {
    width: 20px;
    height: 20px;
    color: var(--bg-menu);
}

/* ---------- Web出願 ---------- */

.web-text {
    margin-bottom: 20px;
}

.apply-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 20em;
    background: var(--bg-menu);
    color: var(--text-inverse);
    padding: 10px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    margin: 0 auto;
    height: 54px;
}

.btn-arrow {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 4px;
}

/* ---------- もどる ---------- */

.back-link {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    color: var(--bg-menu);
    font-size: 14px;
}

    .back-link::before {
        content: "◀ ";
    }

 /*  h3 見出しの下 */
.midashi_small {
    padding: 0 0 0.5em 1em;
    margin: 0;
    color: green;
    font-weight: bold;
    font-size: 0.9em;
}

/****/
.apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--bg-menu);
    color: var(--bg-main);
    padding: 14px 60px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    transition: opacity 0.3s ease;
}
.apply-btn .apply-text {
    margin-right:36px;
 }

.apply-btn:hover {
    opacity: 0.85;
}

/* 左SVG */
.apply-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* 右の白丸 */
.apply-arrow {
    position: absolute;
    right: 5px;
    width: 44px;
    height: 44px;
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* 三角形（CSSのみ） */
    .apply-arrow::before {
        content: "";
        width: 0;
        height: 0;
        margin-left: 6px;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 16px solid var(--bg-menu);
    }


/* ---------- フォーム項目 ---------- */
/* .intro_wrapper {
    margin: 1.5em auto 4em;
    padding: 0 1em;
    width: 60%;
    max-width: 800px;
    min-width: 300px;
} */

.content_wrapper {
    margin: 1.5em auto 4em;
    padding: 0 1em;
    width: 70%;
    max-width: 800px;
    min-width: 300px;
}
.form_item {
    margin-bottom: 20px;
    align-items: center;
    word-break: break-all; 
    overflow-wrap: break-word;
}

.form_item_side {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.form_item_lab {
    display: flex;
    gap: 24px 8px;
}

.form_item input {
    /* background: #eee;
    transition: background 0.2s ease; */
}

/* 何か入力されたら */
/* .form_item input:not(:placeholder-shown) {
    background: #fff;
} */


.fi_title {
    display: block;
    /*white-space: nowrap;*/
    font-size: 14px;
    margin-bottom: 8px;
    color: #686868;
    font-weight: 500;
}

.fi_sub_title {
    display: block;
    white-space: nowrap;
    font-size: 13px;
    margin: 4px 0;
    color: #686868;
    font-weight: 500;
}
.form_item .mobile {
    margin-top: 16px;
}


/* 必須バッジ */
.required {
    display: inline-block;
    font-size: 12px;
    background: #e60012;
    color: #fff;
    padding: 2px 8px;
    border-radius: 2px;
    margin-left: 8px;
}

/* input */
.fi_input input {
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #C3C3C3;
    font-size: 14px;
    background-color: #F7F7F7;
}

/*.fi_input input[type="text"]:focus {*/
/*.fi_input:focus {
    outline: none;
    border: 2px solid #999;
}
*/

.fi_input input.input-validation-error {
    border: 1px solid #e60012;
}

input[type="checkbox"] {
    /* ブラウザの標準デザインを消す */
    -webkit-appearance: none;
    appearance: none;
    /* チェックボックスの枠線などを設定 */
    border-radius: 4px;
    cursor: pointer;
    /* チェックマークを描くための位置調整 */
    position: relative;
    outline: none;
}

/* チェックが入ったときのデザイン */
input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-size: 16px;
    width: 10px;
    height: 17px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(38deg);
}

input[type="checkbox"]:checked {
    border: 1px solid gray !important;
    background-color: var(--bg-footer);
    border-color: #0078d4;
}

.input-validation-error {
    border: 1px solid #e60012 !important;
}

.fi_input select {
    height: 40px;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: #F7F7F7;
    border: 1px solid #C3C3C3;
    font-size: 14px;
    min-width: 100px;
}

/* tel */
.view_tel {
    display: block!important;
}

.fi_tel {
    width: 100%;
    text-align: justify;
    display: flex;
    gap: 0 8px;
    flex-wrap: wrap;
    align-items: center;
}

.fi_tel input {
    /* width: 30%; */
    /* padding-left: 10px; */
    flex: 1;
    height: 42px;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: #F7F7F7;
    border: 1px solid #C3C3C3;
    font-size: 14px;
    text-align: center;
}

/* プライバシー */
.form_item_kojin {
    text-align: center;
    margin: 25px 0;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid gray;
    padding: 1em;
}

    .form_item_kojin a {
        display: inline-block;
        margin-bottom: 10px;
        color: #3b6db3;
        text-decoration: none;
    }

        .form_item_kojin a:hover {
            text-decoration: underline;
        }

.check {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #727272;
    font-weight: bold;
}

    .check input {
        width: 24px;
        height: 24px;
        accent-color: var(--bg-footer);
        border: 1px solid gray;
    }

/* ボタン */
.return-btn {
    display: block;
    max-width: 320px;
    min-width: 200px;
    width: 80%;
    margin: 0 auto;
    height: 48px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    background: #D7D7D7;
    color: #fff;
    cursor: pointer;
    text-align: center;
    line-height: 48px;
    text-decoration: none;
}
.submit-btn {
    display: block;
    max-width: 320px;
    min-width: 200px;
    width: 80%;
    margin: 0 auto;
    height: 48px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: var(--btn-theme);
}
.addition-btn {
    position: relative;
    max-width: 100px;
    min-width: 80px;
    width: auto;
    height: 32px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    background: var(--btn-gray);
}
.addition-btn::before {
    content: "";
    position: absolute;
    top: 50%; left: 8px;
    width: 10px; 
    height: 2px;
    background: #fff;
    transform: translateY(-50%) rotate(90deg);
}
.addition-btn::after {
    content: "";
    position: absolute;
    top: 50%; left: 8px;
    width: 10px; 
    height: 2px;
    background: #fff;
    transform: translateY(-50%);
}
.delete-btn {
    position: relative;
    max-width: 100px;
    min-width: 80px;
    width: auto;
    height: 32px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    background: var(--btn-lightgray);
}
.delete-btn::before {
    content: "";
    position: absolute;
    top: 50%; left: 8px;
    width: 10px; 
    height: 2px;
    background: #fff;
    transform: translateY(-50%);
}
.confirm-btn {
    display: block;
    max-width: 320px;
    min-width: 200px;
    width: 80%;
    margin: 0 auto;
    height: 48px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: var(--btn-theme);
}
.login-btn {
    display: block;
    max-width: 320px;
    min-width: 200px;
    width: 80%;
    margin: 0 auto 48px;
    height: 48px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: var(--btn-theme);
}
.registration-btn {
    display: block;
    max-width: 327px;
    min-width: 200px;
    width: 100%;
    margin: 0 auto 48px;
    height: 48px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: var(--btn-theme);
    position: relative;
}
.registration-btn::before {
    content: "";
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    right: 4px;
    top: calc( 50% - 20px);
}
.registration-btn::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid var(--btn-theme);
    border-right: 0;
    right: 16px;
    top: calc( 50% - 8px);
}

.registration-btn_link {
    text-decoration:none;
}

.send-btn {
    display: block;
    max-width: 320px;
    min-width: 200px;
    width: 80%;
    margin: 0 auto 24px;
    height: 48px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: var(--btn-theme);
    position: relative;
}
.close-btn {
    display: block;
    max-width: 320px;
    min-width: 200px;
    width: 80%;
    margin: 0 auto 48px;
    height: 48px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: var(--btn-lightgray);
    position: relative;
}
.fi-search-btn {
    max-width: 100px;
    min-width: 80px;
    width: auto;
    height: 32px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    background: var(--btn-gray);
    margin: 0 0 0 auto;
    display: block;
}
.fi-search-btn.-clear {
    background-color: #999;
}
.fi-upload-btn {
    max-width: 100px;
    min-width: 80px;
    width: auto;
    height: 32px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    background: var(--btn-gray);
    margin: 0 0 0 auto;
    display: block;
    text-align: center;
    line-height: 32px;
    
}
.btn_margin {
    margin: 1em 0;
    margin: 0 auto;
    padding: 1em;
}

.btn_margin:last-of-type {
    padding-top: 1em;
}

.btn_margin_side {
    margin: 1em;
    padding-bottom: 2em;
    margin: 0 auto;
    display: flex;
    gap: 0 24px;
}

.btn-search { /* 検索ボタンのクラス */
    background: #334155; /* 深いグレー */
    border-radius: 4px;
    padding: 8px 24px;
    transition: all 0.3s;
    color: white;
    width: 7em;
    text-align: center;
    margin: 1em auto;
    cursor: pointer;
}

.btn-search:hover {
     background: #1e293b;
     transform: translateY(-1px); /* 少し浮く演出 */
}


/* =========================
   ログイン
   ========================= */
.login_wrapper {
    background-color: #F7F7F7;
    padding: 2.5em 2em 1.875em;
    border-radius: 2px;
}

.login_input {
    margin-bottom: 1.5em;
    max-width: 400px;
    margin: 0 auto 1.5em;
}

.login_input:last-of-type{
    margin-bottom: 40px;
}

.login_input input{
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #C3C3C3;
    font-size: 14px;
}

/*
.login_input input[type="text"]:focus {
    outline: none;
    border: 2px solid #999;
}*/

.login_title {
    /* display: block; */
    font-size: 14px;
    margin: 0 0 8px;
    color: #686868;
    font-weight: 500;
}

.trouble_container {
    border-top: 1px solid #D7D7D7;
    padding: 1em 0 0 ;
}
.trouble_title {
    margin: 0 auto 0.5em;
    font-size: 1em;
    font-weight: bold;
    color: #707070;
}
.trouble_text {
    margin: 0 auto 1em;
    font-size: 0.875em;
    color: #707070;
}
.inquiry_container {
    border-radius: 2px;
    background-color:#fff;
    padding: 2em 1em;
}
.inquiry_container div {
    width: fit-content;
    margin: 0 auto;
}
.inquiry_container a {
    text-decoration: none;
    font-size: 0.875em;
    color: #686868;
    display: flex;
}
.mail {
    display: block;
    margin-bottom: 0.5em;
}
.mail::before{
    content: "";
    display: block;
    background: url(./image/mail.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.625em;
    aspect-ratio: 1 / 1;
}
.tel {
    display: block;
}
.tel::before {
    content: "";
    display: block;
    background: url(./image/tel.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.625em;
    aspect-ratio: 1 / 1;
}
/* ---------- 事前相談登録 ---------- */
.pre_registration_wrapper {
    min-width: 95%;
}
.fi_user {
    font-size: 14px;
    white-space: nowrap;
    color: #686868;
    font-weight: bold;
    margin-bottom: 24px;
}

.fi_koumoku{
    font-size:16px;
}

.input_text {
    font-size: 12px;
    color: #686868;
}

.input_tema {
    max-width: 100%;
    flex-basis: 100%;
}

.flex_container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}
.comment_box {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 4px;
    background-color: #F7F7F7;
    border: 1px solid #C3C3C3;
    font-size: 12px;
}
/*
.comment_box:focus {
    outline: none;
    border: 2px solid #999;
}*/

select:focus,
input:focus,
textarea:focus {
    outline: none;
    border: 2px solid #999;
}

/* 各小項目毎 */
.small_koumoku {
    padding: 0px 1em 1.25em 1em;
    border-bottom:solid 1px #c1c1c1;
}
.last_koumoku {
    border: none;
}
/* =========================
   登録内容確認
   ========================= */
.new_notice {
    font-size: 0.875em;
    color: #fff;
    display: flex;
    align-items: center;
    background-color: var(--bg-notice);
    width: 100vw;
    padding: 8px 16px;
    font-weight: bold;
    justify-content: center;
    margin: 0 calc(50% - 50vw) 16px;
}
.new_notice::before {
    content: "";
    display: block;
    width: 24px; 
    height: 24px;
    color: var(--bg-footer);
    -webkit-mask: url(../img/new_notice_icon.svg) no-repeat center;
    mask: url(../img/new_notice_icon.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;

    aspect-ratio: calc( 1 / 1);
    margin-right: 16px;
    background-size: contain;
}

.info_h2::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: var(--bg-footer);
    color: var(--bg-footer);
    -webkit-mask: url(../img/info.svg) no-repeat center;
    mask: url(../img/info.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    aspect-ratio: calc( 1 / 1 );
    margin-right: 16px;
    background-size: contain;
}

.download_h2::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: var(--bg-footer);
    color: var(--bg-footer);
    -webkit-mask: url(../img/download.svg) no-repeat center;
    mask: url(../img/download.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    aspect-ratio: calc( 1 / 1 );
    margin-right: 16px;
    background-size: contain;
}
.notice_h2::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: var(--bg-footer);
    color: var(--bg-footer);
    -webkit-mask: url(../img/notice.svg) no-repeat center;
    mask: url(../img/notice.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    aspect-ratio: calc( 1 / 1 );
    margin-right: 16px;
}

.information_container {
    margin-bottom: 60px;
}
.information_container table{
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-bottom: 1px solid #D7D7D7;
}
.information_container table tr td{
    border-top: 1px solid #D7D7D7;
}

.info_user .form_item {
    margin-bottom: 5px;
}

.pad_top_15 {
    padding-top: 15px !important
}

.information_container table tr .info_title {
    max-width: 120px;
    width: 30%;
    padding: 12px 16px;
    background-color: #F7F7F7;
    font-size: 12px;
    font-weight: bold;
    color: #686868;
}
.information_container table tr td.info_user {
    padding: 0px 16px 0 16px;
    font-size: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}
.information_container table tr .info_user .category {
    font-size: 12px;
    font-weight: bold;
    color: #C3C3C3;
}
.download_container {
    margin-bottom: 60px;
}
.download_list{
    padding: 0;
    margin: 0;
}
.download_list li{
    padding: 16px;
    list-style: none;
    margin: 0;
    border-bottom: 1px solid #D7D7D7;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: bold;
}
.download_list li:last-of-type {
    border-bottom: none;
}
.download_list li.red {
    color: #e60012;
}
.download_list li a {
    display: block;
    width: 20px;
    height: 20px;
    background: url(image/download_icon.svg);
    aspect-ratio: calc( 1 / 1 );
    margin-right: 16px;
}
.notice_container {
    margin-bottom: 60px;
}
.notice_list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}
.notice_list li {
    border-bottom: 1px solid #D7D7D7;
}
.notice_list li a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
}
.notice_list li:last-of-type {
    border-bottom: none;
}
.unread {
    border-radius: 10px;
    background-color: red;
    padding: 0 8px;
    height: 20px;
/*    width: 40px;*/
    width: 4em;
    text-align: center;

    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-right: 16px;
}
.read {
    border-radius: 10px;
    background-color: #C3C3C3;
    padding: 0 8px;
    height: 20px;
    /*    width: 40px;*/
    width: 4em;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-right: 16px;
}
.notice_list li div .notice_day {
    color: #C3C3C3;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}
.notice_list li div .notice_title {
    margin: 0;
}
a.notice_all_link {
    font-size: 14px;
    display: flex;
    justify-content: end;
    align-items: center;
    text-decoration: none;
}
a.notice_all_link::before {
    content: "";
    margin-right: 8px;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--bg-menu);
    border-right: 0;
}


/* =========================
   hidden-wrapper 表示非表示
   ========================= */
.content-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    background-color: #fff;
    border: none;
    margin-right: 8px;
}

.content-toggle::before {
    content: "";
    position: absolute;
    top: 50%; 
    width: 12px; 
    height: 4px;
    background: var(--bg-menu);
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.content-toggle::after {
    content: "";
    position: absolute;
    top: 50%; 
    width: 12px; 
    height: 4px;
    background: var(--bg-menu);
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.content-toggle.is-active::before{
    transform: translateY(-50%) rotate(90deg);
}
.hidden-wrapper {
/*    max-height: 500px; */
    overflow: hidden;
    visibility: visible;

    transition: 
        max-height 0.4s ease-in-out, 
        opacity 0.3s ease, 
        visibility 0.3s ease;
}
.hidden-wrapper.is-close {
    max-height: 0 !important;
    opacity: 0; 
    visibility: hidden;
}
.content-toggle.is-active .content-toggle__icon {
    transform: rotate(180deg);
}

/* =========================
   お知らせ詳細
   ========================= */
   .notice_detail_container {
    padding: 24px;
    background-color: #FAFAFA;
    border-radius: 2px;
    margin-bottom: 40px;

   }
   .notice_detail_container dl {

   }
   .notice_detail_container dl dt {
    color: var(--bg-footer);
    text-align: center;
    width: 100%;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: bold;
   }
   .notice_detail_container dl dt::before {
    content: "";
    display: block;
    background-color: var(--bg-footer);
    width: 8px;
    height: 8px;
    border-radius: 2px;
    font-size: 1rem;
    margin: 0 8px;
   }
   .notice_detail_container dl dd{
    margin-bottom: 16px;
    word-break: break-all;
   }
   .notice_detail_container dl dd a{
    word-break: break-all;
   }
.notice_detail_container dl dd.main_text{
    margin-bottom: 40px;
   }
.reply_container textarea{
    width: 100%;
    height: 200px;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: #F7F7F7;
    border: 1px solid #C3C3C3;
    font-size: 14px;
    margin-bottom: 40px;
}
/*
.reply_container textarea:focus {
    outline: none;
    border: 2px solid #999;
}*/

.tenp_file{
    text-align:left!important;
}

@media (max-width: 768px) {
    .tenp_file_dd {
        margin-left: 1em;
    }
}

    /* =========================
   　　　　仮登録完了
   ========================= */
.p_r_completed {
    padding: 40px 24px 80px;
    background-color: #FAFAFA;
    border-radius: 2px;
    margin-bottom: 40px;
    position: relative;
}
.p_r_completed::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--bg-menu);
    margin: 0 auto;
    top: 60px;
    left: calc( 50% - 40px );
}
.p_r_completed::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 25px;
    border-left: 8px solid var(--bg-menu);
    border-bottom: 8px solid var(--bg-menu);
    transform: rotate(-45deg);
    top: 85px;
    left: calc( 50% - 20px );
    margin: 0 auto;
}
.p_r_completed div {
text-align: center;
margin-bottom: 50px;
}

/** スペーサー **/
.m_t_05{
    margin-top:0.5em;
}

   /* =========================
   本登録画面
   ========================= */
   /* tel */
.fi_post_code {
    width: 100%;
    text-align: justify;
    display: flex;
    gap: 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.fi_post_code input {
    /* width: 30%; */
    /* padding-left: 10px; */
    flex: 1;
    height: 42px;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: #F7F7F7;
    border: 1px solid #C3C3C3;
    font-size: 14px;
    text-align: center;
}

.fi_input_completed {
    font-weight: 400;
    margin-left: 16px;
    white-space: normal;
}
.fi_i_c_container {
    display: flex;
    align-items: center;
}
.fi_i_c_container .fi_sub_title {
    margin-left: 16px;
}
.form_small_container {
    margin-left: 16px;
}
.upload_input {
    margin-bottom: 20px;
}

.book_registration_wrapper .fi_input select {
    width: 100%;
}
.book_registration_wrapper input[type="file"] {
    padding: 4px 8px;
}
input[type="file"]::file-selector-button {
  background-color: #666;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 8px;
}
input[type="file"]::file-selector-button:hover {
  background-color: #999;
}
.book_registration_wrapper .flatpickr-wrapper {
    display: block;
}
.nested-grid img{
    width: 100%;
}
.exp {
    padding: 16px 24px;
    background-color: #f8f8f8;
    margin-bottom: 16px;
}
.exp p{
    font-weight: 600;
}
.exp ul {
    padding-left: 0;
}
.exp li {
    font-size: 14px;
    list-style: none;
    text-indent: -1rem;
    margin-left: 1rem;
    
}

/* カレンダー修正 */
.flatpickr-monthDropdown-months {
    width: auto!important;
}

/* 検索結果修正 */
#id_zip_1, #id_zip_2 {
    margin-bottom: 1em;
}

@media (max-width: 768px) {
    #id_zip_1 table, #id_zip_2 table {
        width: auto !important;
    }
}

#id_zip_1 table a, #id_zip_2 table a {
    text-decoration: none;
    font-size: 13px;
    background: var(--btn-gray);
    height: 32px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    padding: 0.25em;
}

.input_date{
    width:auto;
}

.fi_date {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

@media (max-width: 768px) {
    .fi_date {
        display: flex;
        gap: 10px;
        flex-direction: column;
        align-items: normal;
    }
}

.fi-search-btn{
    margin: 5px 0 10px auto;
}

/* 科目検索結果修正 */
.serch_list_result {
    margin-bottom: 1em;
}

@media (max-width: 768px) {
    .serch_list_result table{
        width: auto !important;
    }
}

.serch_list_result table a{
    text-decoration: none;
    font-size: 13px;
    background: var(--btn-gray);
    height: 32px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    padding: 0.25em;
}

.input_select{
    width:100%;
}

.clera_btn {
    background: #ffffff;
    color: #2d2d2d;
    border: 1px solid gray;
    border-radius: 5px;
}

.kojin_title {
    color: #065777;
    font-size: 16px;
    font-weight:bold;
}

.kojin_txt {
    text-align: left;
}

#id_list table{
    background: lightblue;
    border: white solid 1px;
    width: 100%;
    text-align: center;
}

.kibou_date {
    display: flex;
}

.kibou_date select{
    width:5em;
    min-width: auto;
}

.kibou_date .kara{
    margin: 5px;
}

.kojin_title {
    color: #065777;
    font-size: 16px;
    font-weight: bold;
}

.kojin_txt {
    text-align: left;
}

#id_list {
    width: 100%;
    overflow-x: auto; /* 横方向に溢れたらスクロールさせる */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#id_list table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px; /* 全体に角丸を */
    overflow: hidden;
}

#id_list table  th{
    background-color: #f1f5f9 !important; /* 薄いグレーブルー */
    color: #475569;
    font-weight: 600;
    padding: 15px !important;
    border-bottom: 2px solid #e2e8f0;
}

/* 番号 */
#id_list table th:nth-child(1){
   width:2em;
}
/* 試験方式 */
#id_list table th:nth-child(2){
   width:13em;
}
/* 氏名 */
#id_list table th:nth-child(3){
   width:10em;
}
/* 本登録許可 */
#id_list table th:nth-child(4){
   width:5em;
}
/* おしらせ */
#id_list table th:nth-child(5){
   width:5em;
}




#id_list table td {
    padding: 12px 15px !important;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

    /* 試験方式 */
    #id_list table td:nth-child(2) {
        text-align:left;
    }
    /* 氏名 */
    #id_list table td:nth-child(3) {
        text-align: left;
    }


.list_table {
    width: 100%;
    min-width: 600px; /* 重要：スマホでもこの幅を維持してスライドさせる */
    border-collapse: collapse;
    background-color: white;
    font-size: 14px;
}

.search_conditions .fi_koumoku {
    width: 7em;
}

.search_area {
    border: 1px solid gray;
    padding: 1em;
    border-radius: 0.5em;
}

.search_area .form_item{
    margin-bottom: 5px;
}

.area_title {
    font-weight: bold;
    border: 1px solid #334155;
    width: 5em;
    text-align: center;
    border-radius: 0.25em;
    color: #334155;
}

.search_input{
    width:60%
}

.user_login_other {
    max-width: 320px;
    min-width: 200px;
    /* display: inline-block;*/
    text-align: center;
    border: 2px solid #85b789;
    background-color: #d0ffd4;
    line-height: 54px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: normal;
    outline: medium none;
    border-radius: 6px;
    vertical-align: middle;
    width: 100%;
    margin: 2rem auto;
}
    .user_login_other a {
        color: #FFF;
        /*color: #F24100;*/
        color: #007109;
        font-weight: bold;
        letter-spacing: 0.05rem;
        text-decoration: none;
    }



/* =========================
  インフォメーション表記
   ========================= */
.summary-info {
    color: #012f78;
    font-size: 14px;
    margin-bottom: 24px;
    position: relative;
    background-color: #e3f4ff;
    padding: 2em 4em;
}

.summary-info::before {
    content: "";
    position: absolute;
    background-color: #0097d0;
    width: 16px;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 4px 0 0 4px;
}

.summary-info span {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    margin-left: 1em;
    margin-bottom: 5px;
    margin-top: 5px;
}


.summary-info span::before {
    content: url(../img/info_icon.svg);
    display: block;
/*    width: 30px;*/
    min-width: 30px;
    height: 30px;
    margin-right: 8px;
}

.cont_disp {
    margin: 0px;
    font-size: 0.8em;
    text-align: right;
    width: 100%;
}


@media (max-width: 768px) {
    .summary-info {
        padding: 2em 1em;
    }

    .summary-info span {
        font-size: 16px;
    }

    .summary-info span::before {
        /*width: 40px;*/
        height: 40px;
        margin-right: 5px;
    }
}

.no-link {
    background: #D7D7D7;
    cursor: default;
}

.no-link.registration-btn::after {
    border-left: 10px solid #D7D7D7;
}

/* =========================
  高校検索用
   ========================= */
.toggler {
    /* white-space: nowrap;
    font-size: 14px;
    color: #686868;
    font-weight: 500;
    padding: 2px 8px;
    display: inline-block;
    min-width: 100px; */
    display: inline-block;
    width: 100%;
    font-size: 14px;
    color: #686868;
    background-color: white;
    border: 1px solid #C0C0C0;
    width: 100%;
    display: inline-block;   
    padding: 4px 8px;
    text-decoration: none;
    border-bottom: none;
}
.toggler:last-of-type {
    border-bottom:  1px solid #C0C0C0;
}
.toggler-opened {
    border-bottom:  1px solid #C0C0C0;
    background-color: #686868;
    color: white;
    font-weight: bold;
    /* background-color: white;
    border: 1px solid #C0C0C0;
    width: 100%;
    display: inline-block;   
    padding: 4px 8px;
    text-decoration: none; */
}
.toggler-c {
}

.toggler-c-closed {
    margin: -10px 0px 10px 0px;
}

.toggler-c-opened {
    margin: 0px 0px 10px 0px;
    width: 100%;
    display: inline-block;
    background-color: white;
    font-size: 14px;
}
table.tl-toggler {
    width: 100%;
    border: 0px;
    border-collapse: collapse;
}
.tl-toggler th {
    padding: 5px;
    font-weight: normal;
    background-color: #F2F2F2;
    border: 1px solid #C0C0C0;
}
.tl-toggler td {
    width: 50%;
    padding: 5px;
    margin: 5px;
    border: 1px solid #C0C0C0;
    text-align: left;
}
.tl-toggler td a {
    color: #686868;
}
.search_results {
    /* padding: 16px 24px;
    background-color: #f8f8f8;
    border: 1px solid #C3C3C3;
    border-radius: 4px; */
    margin-bottom: 20px;
}

.toggler-opened nobr {
    color: white!important;
}

/* ヘッダーログイン・年度表示*/
#login_nendo {
    display: flex;
    flex-wrap: wrap;
}

.login_disp {
    border: solid 1px var(--bg-footer);
    border-radius: 7px;
    /*display: inline;*/
    color: var(--bg-footer);
    line-height: 1;
    padding: 0.25em;
    margin: 10px 0 0 10px;
    width: fit-content;
}

.nendo_disp {
    color: #6e6e6e;
    padding: 0em 0.5em;
    position: absolute;
    right: 0;
    text-align: right;
    font-size: 1em;
    z-index: -999;
    margin-top:2px;
}

/* 古いSafariやChrome用 */
input[type="file"]::-webkit-file-upload-button {
    margin-right: 2em;
}

/* 現在の標準（主要ブラウザはほぼこれ一本で対応しています） */
input[type="file"]::file-selector-button {
    margin-right: 2em;
}



/* 全体を横並びにする親要素 */
.file-uploader-wrapper {
    display: inline-flex;
    align-items: center;
}

/* 「ファイルを選択」ボタンの見た目（cursor: pointerを追加） */
.btn-text {
    display: inline-block;
    padding: 4px 8px;
    background-color: #666666;
    color: #ffffff;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #555555;
    cursor: pointer; /* マウスを乗せたときに指マークにする */
}

/* 右側の文字（隙間を確保） */
.info-text {
    margin-left: 15px;
    font-size: 13px;
    color: #333333;
}

/*#Mail_2_File_1{
    display:none;
}*/

/* 注釈用  */
.zizen_sub {
    font-weight: normal;
    font-size: 14px;
    padding-left: 1em;
}

/* 注釈が改行ありの場合は以下を使ってください。  */
.zizen_sub_indent {
    font-weight: normal;
    font-size: 14px;
    text-indent: 1em;
    margin-left: -1em;
    position: relative;
    left: 1em;
}

/* 合格発表 */
.pass_title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin: 1em;
}

/* 先生のみ  */
#conslution .menu.is-open {
    margin-top: -35px;
    z-index: 10000;
    position: relative;
}


@media (max-width: 768px) {
    #conslution .menu.is-open {
        margin-top: -51px;
    }
}


/* ファイル選択のCSS */
/* 本来のファイル入力を非表示にする */
.fi_input .upload_input {
    display: none;
}

/* カスタムファイル選択エリア全体の枠組み */
.custom-file-area {
    display: inline-flex;
    align-items: center; /* 上下の中央揃え */
    gap: 20px; /* ★「ファイルを選択」と「選択されていません」の間の距離（自由に変更してください） */
    padding: 6px 12px;
    border: 1px solid #C0C0C0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    margin-bottom: 10px;
    width:100%;
    background-color: #F7F7F7;
    border: 1px solid #C3C3C3;
    font-size: 14px;
}

/* カスタムの「ファイルを選択」ボタン部分 */
.custom-file-btn {
    background-color: #666; /* 元の画像に合わせたグレー */
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 14px;
}

/* 「選択されていません」のテキスト部分（ここも個別に色や位置を微調整できます） */
.custom-file-text {
    color: #333;
    /* 必要に応じて padding-left や font-size などでさらに微調整可能 */
}

/* アップロードボタンを右寄せにするためのコンテナ（画像の位置に合わせる場合） */
.upload-btn-container {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    margin-top: 10px; /* ファイル選択エリアとの上下の隙間 */
}
/* ファイル選択のCSS */

/* 入学手続きボタン */
.admission-btn {
    /* レイアウト・サイズ */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    min-width: 320px;
    /* 文字デザイン */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.05em;
    /* 背景・形（合格画面に合わせたピンクのグラデーション） */
    background: linear-gradient(135deg,var(--bg-menu) 0%, var(--bg-menu) 100%);
    border-radius: 50px;
    /* 立体感を出すシャドウ */
    box-shadow: 0 4px 10px var(--bg-menu);
    /* アニメーションのスムーズさ設定 */
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    margin: 30px auto;
    max-width: 400px;
}

    /* 右側の矢印アイコン */
    .admission-btn .arrow {
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    /* 🔥 ホバー時（マウスを乗せたとき）のエフェクト */
    .admission-btn:hover {
        /* 少し上に浮き上がり、影を強くしてクリック感を出す */
        transform: translateY(-3px);
        box-shadow: 0 10px 25px var(--bg-menu);
        /* 背景を少し明るく */
        filter: brightness(1.05);
    }

        /* ホバー時に矢印だけが少し右に動く演出 */
        .admission-btn:hover .arrow {
            transform: translateX(5px);
        }

/* 📱 スマホ用の調整（画面幅が狭いとき） */
@media (max-width: 480px) {
    .admission-btn {
        width: 100%; /* 横幅いっぱいにする */
        font-size: 16px;
        padding: 16px 24px;
    }
}