:root {
    --primary-color: rgba(5, 94, 146, 1);
    --background-color: rgba(233, 233, 233, 1);
    --text-color: rgba(64, 64, 64, 1);
    --label-color: rgba(113, 113, 113, 1);
    --placeholder-color: rgba(170, 170, 170, 1);
    --white: rgba(255, 255, 255, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Yu Gothic Pr6N", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-container {
    width: 100%;
    max-width: 390px;
    padding: 10px 16px;
    margin: 0 auto;
}

.registration-wrapper {
    width: 100%;
    max-width: 358px;
    margin: 0 auto;
}

.registration-title {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.32px;
    text-align: center;
    margin-bottom: 50px;
}

.form-container {
    width: 100%;
    max-width: 334px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 17px;
}

.input-label {
    display: block;
    color: var(--label-color);
    font-size: 12px;
    line-height: 2;
    letter-spacing: -0.41px;
    text-align: center;
    margin-bottom: 6px;
}

.input-field {
    width: 100%;
    padding: 7px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: var(--white);
    color: var(--text-color);
    font-size: 12px;
    line-height: 2;
}

.input-field::placeholder {
    color: var(--placeholder-color);
}

.input-field:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -1px;
}

.file-input-wrapper {
    position: relative;
}

.file-input {
    width: 100%;
    height: 36px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.file-input-label {
    width: 100%;
    padding: 7px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: var(--white);
    color: var(--placeholder-color);
    font-size: 12px;
    line-height: 2;
    text-align: left;
}

.submit-button {
    width: 100%;
    padding: 11px 19px;
    margin-top: 33px;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.38px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
    background-color: rgba(4, 83, 129, 1);
}

.submit-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


.submit-button:disabled {
    background-color: rgba(170, 170, 170, 1); /* グレー */
    color: rgba(255, 255, 255, 0.7); /* 薄い白 */
    cursor: not-allowed; /* ポインター変更 */
}



/* 控えめなリンクデザイン */
.styled-link {
    display: inline-block;
    padding: 8px 16px; /* 少し控えめなパディング */
    border: 1px solid var(--label-color); /* ラベルカラーの薄い枠線 */
    border-radius: 4px;
    background-color: var(--background-color); /* 背景に溶け込む色 */
    color: var(--text-color); /* 落ち着いた文字色 */
    font-size: 13px;
    font-weight: normal; /* 太字を解除 */
    text-decoration: none;
    text-align: center;
    margin-top: 20px; /* 十分な間隔を確保 */
    transition: all 0.2s ease;
}

/* ホバー時のスタイル */
.styled-link:hover {
    background-color: rgba(240, 240, 240, 1); /* 少し濃い背景色 */
    color: var(--primary-color); /* ホバー時にリンクが強調される */
    border-color: var(--primary-color); /* 枠線を青に */
}

/* フォーカス時のスタイル */
.styled-link:focus {
    outline: 2px solid rgba(5, 94, 146, 0.5); /* 控えめなフォーカス効果 */
    outline-offset: 2px;
}

/* リンクとボタンのコンテナを右寄せ */
.link-container {
    display: flex; /* フレックスボックスを利用 */
    justify-content: flex-end; /* 右寄せに配置 */
    margin-top: 20px; /* 上部に余白を確保 */
}


@media (prefers-reduced-motion: reduce) {
    .submit-button {
        transition: none;
    }
}






.modal-unique-logo-container {
    display: flex;
    justify-content: center; /* 横方向で中央揃え */
    align-items: center; /* 縦方向で中央揃え */
    width: 100%; /* 親要素の幅に合わせる */
    height: 150px; /* 高さは内容に応じて調整 */
    margin: 0 auto; /* 横方向で中央揃え */
    padding: 10px 0 30px 0; /* 上: 10px, 左右: 0, 下: 30px */
}

.modal-unique-logo {
    aspect-ratio: 0.52; /* ロゴのアスペクト比を維持 */
    object-fit: contain; /* ロゴを枠内に収める */
    width: 120px; /* ロゴの幅 */
    height: auto; /* 高さは自動調整 */
}

