html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

:root {
    --white: #ffffff;
    --bg-navy: #4b6a91;
    --kma-blue: #a6d3e7;
    --water-blue: #5AC0D2;
    --water-lightblue: #82C4DF;
    --water-green: #8FD2CE;
    --zarazara-blue: #C6E5F4;
    --zarazara-green: #C0E9E1;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

ul {
    list-style: none;
}

h2,
h3,
h4 {
    font-family: 'Zen Maru Gothic', sans-serif;
}


.content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}



/* .header {
    display: flex;
    align-items: center; */
/*height: 30px;*/
/* background: #6CBABE; */
/* color: var(--bg-navy); */
/* padding: 1rem 2rem; */
/* position: relative; */
/* } */

/* ロゴ + 福井県 */
.header-left a.header-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    /* 下線消す */
    color: inherit;
    /* テキスト色を親と合わせる */
}

.logo {
    width: 40px;
    height: auto;
}

.pref-name {
    font-size: 1.8rem;
    font-weight: bold;
    white-space: nowrap;
}

/* タイトル（PCでは中央に絶対配置） */
.header-title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-entry-btn {
    background: var(--bg-navy);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    /* ← スマホ/PC共通 */
    text-align: center;
    /* ← 中央揃えも共通 */
    transition: background 0.3s ease;
}

.header-entry-btn:hover,
.header-entry-btn:focus,
.header-entry-btn:active {
    background: var(--bg-navy);
}


footer {
    background: #6CBABE;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

@media (min-width: 1280px) {
    .main-visual {
        padding-top: 630px;
        /* 固定の高さに切り替えたいなら */
    }
}

.page {
    background-color: #fdfaf8;
    overflow: hidden;
    flex-grow: 1;
}

.main-visual {
    text-align: center;
    padding: 2rem 1rem;
    background: #fdfaf8;
}

.main-visual {
    background-image: url('/tenants/fukui/assets/images/top_page.png');
    background-repeat: no-repeat;
    background-size: contain;
    /* ← ポイント：画像を縮小して全体を表示 */
    background-position: center top;
    background-color: #fdfaf8;
    /*width: 100%;*/
    aspect-ratio: 16 / 9;
    /* アスペクト比で高さを自動調整（モダン対応） */
}

.section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.section-title {
    background: #002060;
    color: #fff;
    padding: 0.6rem 1rem;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1rem;
}


.section-title {
    background: #002060;
    color: #fff;
    font-weight: bold;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    display: inline-block;
    font-size: 1.2rem;
    text-align: center;
    margin: 2rem auto;
}

.judge-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 通常（PC）表示 */
.judge-profile {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    gap: 1.5rem;
}

.judge-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.judge-info {
    width: 200px;
}

.judge-name-en {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.judge-name-ja {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.2rem 0;
}

.judge-comment {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

.btn {
    display: inline-block;
    background: var(--bg-navy);
    color: #fff;
    min-width: 180px;
    text-align: center;
    padding: 1.0rem 2.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: #004080;
}

/* 有効なときのホバー */
.btn:hover:not(:disabled) {
    background: var(--bg-navy);
    color: var(--white);
}

/* 無効なときの見た目 */
.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    color: #fff;
    /* 文字色はそのまま白で読みやすく */
    opacity: 1;
    /* デフォルトのopacity制御を打ち消す */
}

.social-icons {
    margin-top: 1rem;
}

.social-icons img {
    width: 24px;
    margin: 0 0.5rem;
}

footer {
    font-size: 0.8rem;
}

/*ここからがログイン用の画面のCSS*/
.login-container {
    max-width: 400px;
    /* margin: 5rem auto; */
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.logo {
    width: 40px;
    height: auto;
}

.logo-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    gap: 0.5rem;
}

.logo-img {
    width: 40px;
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bg-navy);
}

.login-form label {
    display: block;
    margin: 1rem 0 0.3rem;
    font-weight: bold;
    color: var(--bg-navy);
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-row input[name="password"],
.form-row input[name="password_confirmation"] {
    max-width: 100%;
    /* ← お好みで調整（例：300px） */
    margin-left: 1.2rem;
}

.password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.forgot {
    font-size: 0.85rem;
    color: #556080;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.login-form button {
    width: 100%;
    background-color: var(--bg-navy);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.8rem;
    border: none;
    border-radius: 999px;
    margin-top: 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-form button:hover {
    background-color: var(--water-blue);
}

/*ここからがアカウント登録画面のCSS*/
.signup-text {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #556080;
    letter-spacing: 0.5px;
}

.signup-text a {
    color: var(--bg-navy);
    text-decoration: none;
    white-space: nowrap;
}

.signup-text a strong {
    font-weight: bold;
    text-decoration: underline;
    /* または他の装飾 */
}

/*ここからが課題画面のCSS*/
.theme-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
}

.theme-title {
    font-size: 2rem;
    font-weight: bold;
    color: #002060;
    border-left: 5px solid #6CBABE;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.theme-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.theme-nav a {
    background: #eee;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #002060;
    text-decoration: none;
    font-weight: bold;
}

.theme-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.sponsor-logo {
    width: auto;
    max-width: 100px;
    /* 任意の表示サイズ */
    height: auto;
    object-fit: contain;
    display: block;
}

.theme-info {
    flex: 1;
}

.theme-headline {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.company-link {
    font-size: 0.9rem;
    color: #007acc;
    text-decoration: underline;
}

.theme-thumb img {
    width: 120px;
    border: 1px solid #ccc;
}

.caption {
    font-size: 0.75rem;
    color: #666;
}

.theme-description {
    margin-bottom: 4.0rem;
}

.theme-description h4 {
    font-size: 1.1rem;
    color: #002060;
    margin-top: 1.5rem;
}

.theme-description ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.theme-orientation {
    margin-bottom: 4rem;
}

.theme-orientation iframe {
    width: 100%;
    height: 200px;
}

.orientation-block {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.orientation-block div {
    flex: 1;
}

.go-theme-button {
    text-align: center;
    margin: 2rem 0;
}

.entry-form label.entry-label {
    display: inline-block;
    position: relative;
    margin-bottom: 0.2em;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-navy);
    letter-spacing: 0.03em;
    line-height: 1.2;
    padding-left: 18px;
    padding-bottom: 6px;
    padding-right: 8px;
}

/* ペンアイコン（左側） */
.entry-form label.entry-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    background-image: url(/tenants/k-ma/assets/images/about_pen.png);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%);
}

/* 下線 */
.entry-form label.entry-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--kma-blue);
}


.entry-form textarea,
.entry-form input[type="text"] {
    width: 100%;
    margin-bottom: 1em;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.entry-checklist {
    background: #ffecec;
    border: 1px solid #f99;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #b00;
}

.entry-form .entry-checklist .black-label {
    margin: 0;
    font-weight: bold;
    color: #000;
}

.orientation-block img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid #ccc;
}


.review-table {
    /* width: 100%;
    border-collapse: collapse;
    margin-top: 1rem; */
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    table-layout: auto;
}

.review-table td:nth-child(1) {
    max-width: 220px;
}

.review-table td:nth-child(2) {
    max-width: 250px;
}

.review-table td:nth-child(3) {
    max-width: 110px;
}

/*編集画面*/
.review-table th,
.review-table td {
    border: 1px solid #ccc;
    padding: 0.5rem;
    text-align: left;
    vertical-align: middle;
}

.review-table th {
    background-color: var(--zarazara-blue);
    font-weight: bold;
    text-align: center;
}

.td-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    background: #345282;
    color: #fff;
    border: none;
    padding: 0.4rem 0.8rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-delete {
    background: #c94f4f;
}

.theme-steps {
    display: flex;
    justify-content: center;
    /* margin: 2rem 0 1.5rem; */
    margin: 2rem 0 0;
    font-weight: bold;
    position: relative;
}

.step {
    position: relative;
    padding: 1rem 2rem;
    background: #9e9e9e;
    /* 未選択時の背景 */
    color: #fff;
    font-family: 'Zen Maru Gothic', sans-serif;
    text-decoration: none;
    flex: 1;
    text-align: center;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step:first-child {
    border-radius: 15px 0 0 0;
}

.step:last-child {
    border-radius: 0 15px 0 0;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -12px;
    width: 13px;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
}

.step.active {
    background: var(--bg-navy);
    /* 選択時の背景 */
}

.step.active:not(:last-child)::after {
    border-left-color: var(--bg-navy)
}

.step.active::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--bg-navy);
}

/*事前アンケートフォーム（応募エントリ）のスタイル*/
.section-title.center {
    text-align: center;
}

.sub-section-title {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--kma-blue);
    margin: 2rem 0 1rem;
    padding-bottom: 0.3rem;
}

.regulation-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    line-height: 1.8;
}

.survey-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/*事前アンケート回答完了ページ*/
.complete-wrapper {
    max-width: 400px;
    margin: 5rem auto;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.complete-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.complete-icon img {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
}

.complete-message {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: #333;
}

.complete-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contract-wrapper {
    max-width: 400px
}

.contract-wrapper h1{
    display: block;
    margin: 0 auto;
    width: fit-content;
}

.survey-box h2 {
    display: block;
    margin: 0 auto 1em;
}
.survey-box form {
     margin: 1em 0;
     line-height: 1.5;
 }

.survey-box .u-text-center {
    display: block;
    margin: 1em auto;
    width: fit-content;
}

.survey-box input{
    border-style: solid;
}

.complete-wrapper .btn {
    color: var(--white);
}

/* アカウント登録確認画面 */
.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: #ccc;
    color: #333;
    font-weight: bold;
    padding: 1.0rem 2.4rem;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #bbb;
}

/*バリデーションエラーのCSS*/
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

.alert-danger {
    background-color: #ffecec;
    border: 1px solid #f5c2c7;
    color: #842029;
}

.alert-danger ul {
    padding-left: 1.2rem;
    margin: 0;
}


/*ヘッダーのユーザー情報*/
.header-my-menu-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-my-menu {
    /* margin-right: 15px; */
    cursor: pointer;
}

.header-my-menu span {
    display: inline-block;
    max-width: 170px;
    /* margin: 0 0.5em 0 0; */
    margin: 0 0.5em 4px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.header-mymenu-content {
    display: none;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(10px, -50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e6eced;
    width: 270px;
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 1em;

}

/* 吹き出しの三角形（左向き） */
.header-mymenu-content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    /* 吹き出しの左外側 */
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid #fff;
    /* 背景色 */
    z-index: 11;
}

.header-mymenu-content::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -17px;
    transform: translateY(-50%);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 17px solid #e6eced;
    /* 枠線色 */
    z-index: 10;
}

/* 表示制御例：is-activeクラスで表示 */
.header-mymenu-content.is-active {
    display: block;
}

.header-status-header {
    padding: 6px 0;
    border-bottom: 3px solid #e6eced;
    font-size: 14px;
}

.header-status-header b {
    font-weight: 700;
}

.header-status-num {
    font-size: 160%;
    position: relative;
    top: 2px;
}

.header-status-item a {
    color: var(--bg-navy);
    position: relative;
    padding-left: 15px;
    display: block;
    line-height: 1.3;
    font-size: 14px;
}

.header-status-item+.header-status-item {
    margin-top: 10px;
}

.header-status-item-icon {
    color: #002060;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 2px;
}

.header-status-list-base {
    margin: 0 15px ;
    overflow: hidden;
}

.header-status-list {
    /* width: calc(100% + 18px); */
    padding: 20px 5px;
    max-height: 200px;
    box-sizing: border-box;
    overflow-y: auto;
    /*border-bottom: 1px solid #e6eced;*/
    position: relative;
}

.header-status-note {
    margin: 0 20px 15px;
    color: #6c7071;
    font-size: 13px;
    line-height: 1.3;
    position: relative;
}

.header-status-note:before {
    content: "";
    display: block;
    width: calc(100% + 30px);
    height: 20px;
    position: absolute;
    top: -36px;
    left: -15px;
    background-image: linear-gradient(hsla(0, 0%, 100%, 0), #fff);
}

.header-mymenu-navitem a {
    padding: 10px 20px;
    display: block;
    color: var(--bg-navy);
    text-decoration: none;
    border-top: 1px solid #e6eced;
    font-size: 15px;
}

.header-mymenu-nav-icon {
    color: #002060;
    font-size: 140%;
    display: inline-block;
    margin-right: 10px;
    opacity: 0.8;
    position: relative;
    top: 2px;
}

.form-description {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #556080;
    line-height: 1.6;
}


/*アカウント登録確認画面*/

.login-container h2 {
    display: block;
    margin: 0 auto;
}

.login-container dl {
    margin: 1rem 0;
}



.login-container dt {
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.3em;
    color: var(--bg-navy);
}

.login-container dd {
    margin-left: 0;
    padding-left: 0.5rem;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.5rem;
}

.btn-secondary {
    background: #ccc;
    color: #333;
}

.btn-secondary:hover {
    background-color: #999 !important;
    color: #fff;
}

.login-container .btn {
    color: var(--white);
}

.form-button-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    /* 真ん中寄せ */
    margin-top: 2rem;
    flex-wrap: wrap;
    /* 狭い画面で折り返し可能に */
}

.form-button-row form {
    margin: 0;
}


/* アンケート画面のCSS */
.form-required {
    color: #e60013;
}

.questionnaire_error {
    color: #e60013;
    font-size: 13px;
    margin-top: 5px;
}

.u-text-center {
    text-align: center;
    margin-top: 20px;
}

.required-badge {
    display: inline-block;
    background-color: #fce8e6;
    color: #e60013;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    vertical-align: middle;
}

.form-label-inline {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    color: #002060;
    margin: 1rem 0 0.3rem;
}

.entry-form,
.theme-review {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px 3%;
}

.form-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-bottom: 1.4rem;
}

.form-label {
    width: 100%;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    color: var(--bg-navy);
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    min-width: 0;
}

.form-row input {
    width: 100%;
    flex: none;
}


.form-row input[name="password"],
.form-row input[name="password_confirmation"] {
    margin-left: 0;
    /* ← スマホ時はmarginをなくす */
    width: 100%;
    /* ← 横幅を100%に固定 */
}

.form-col-2 {
    display: flex;
    gap: 1rem;
    flex: 1;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.form-col-2 input {
    width: 100%;
}

.form-col-3 {
    flex: 1;
    flex-direction: column;
    display: block;
    gap: 0;
}

.form-col-3 select {
    width: 100%;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.form-row input[type="checkbox"] {
    width: auto;
    flex: 0 0 auto;
}

.form-note {
    margin-left: 0;
}

.optional-badge {
    display: inline-block;
    background-color: #eef2f7;
    color: #666;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* 個人情報取り扱い箇所 */
.privacy-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy-text {
    max-height: 160px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    line-height: 1.6;
    margin: 0.5em 0;
}

.privacy-text b {
    font-weight: bold;
    line-height: 3;
}

.privacy-text dl dt {
    font-weight: bold !important;
    margin-top: 1em !important;
}

.privacy-check {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #002060;
    font-size: 0.95rem;
    justify-content: center;
}

.privacy-check label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-weight: bold;
    color: var(--bg-navy);
    font-size: 0.95rem;
}

.privacy-check input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.form-col-3 select {
    width: 100%;
    max-height: 120px;
    overflow-y: auto;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1.2rem;
}

.signup-container {
    max-width: 800px;
    /* margin: 5rem auto; */
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}


.signup-container .logo-area {
    margin-bottom: 2em;
}

.signup-container h2 {
    display: block;
    margin: 0 auto;
}

.signup-container .entry-form {
    background-color: transparent;
}

.signup-container .btn {
    margin: 0 auto;
    color: var(--white);
}

.form-input-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-input-wrap input {
    margin-top: 0.3rem;
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
}

/* アクティベーションメールのアラート表示 */
.activation-alert {
    padding: 2rem;
    border-radius: 12px;
    margin: 1rem auto;
    text-align: center;
    max-width: 600px;
    font-weight: bold;
}

.alert-danger {
    background-color: #fdd;
    border: 2px solid #f99;
    color: #a00;
}

.alert-success {
    background-color: #ccffcc;
    border: 2px solid #8f8;
    color: #060;
}

@media screen and (max-width: 1024px) {
    .alert-danger{
        margin-top: 80px;
    }
}

@media screen and (max-width: 1024px) {
    .alert-success{
        margin-top: 80px;
    }
}

.activation-alert button {
    background: #fff;
    border: 1px solid #ccc;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: bold;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activation-alert button:hover {
    background-color: #eee;
}


.h-under-line {
    margin-bottom: 2.5rem;
    border-bottom: solid;
    border-color: #6CBABE;
    border-width: 5px;
    /*5ピクセルの太さにする*/
}


.page-sub-title {
    font-size: 18px;
    font-weight: 700;
    padding: 3px 0 5px 8px;
    border-bottom: 3px solid #e6eced;
    position: relative;
    margin: 30px 0 15px;
}

.page-sub-title:before {
    content: "";
    display: block;
    width: 160px;
    height: 3px;
    background: #6CBABE;
    position: absolute;
    left: 0;
    bottom: -3px;
}

/* 完了ボタン */
.btn-success {
    background: #7FBA89;
    color: #fff;
    border: none;
    padding: 0.4rem 0.8rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-success:disabled {
    background-color: #d3d3d3;
    cursor: not-allowed;
    opacity: 0.7;
}
