:root {
    --color-blue: #426EBA;
    --color-grey: #DBDBDB;
    --font-grey: #5F6368;
}

/* すべての要素の width に padding/border を含める */
*, *::before, *::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    background: #f5f5f5;
    color: #333333;
    margin-top: 72px;
}

/* ヘッダー */
.header {
    background: #fff;
    position: fixed;
    text-align: center;
    width: 100%;
    top: 0;
    height: 72px;
    z-index: 999;

    .header-inner {
        position: relative;
        height: 72px;

        .logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        a {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #fff;
            background-color: #F77408;
            border-radius: 100vw;
            padding: 8px 16px;
            text-decoration: none;

            .arrow-right {
                margin-left: 5px;
                display: inline-block;
                width: 0.6em;
                height: 0.6em;
                border-left: 0.15em solid currentColor;
                border-bottom: 0.15em solid currentColor;
                transform: translateY(-30%) rotate(-45deg);
            }

        }
    }
}

/* フッター */
footer{
    background-color: var(--color-blue);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: .8rem;
}

/* メインコンテナ */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 6px;
}

.wrapper {
    display: flex;
    justify-content: space-between;

    & .column {
        flex-direction: column;
    }

}

/* ===================== */
/*   募集要項セクション   */
/* ===================== */

.job-section {
    background-color: var(--color-blue);
    padding-bottom: 40px;

    h2 {
        text-align: center;
        font-size: 1.5rem;
        color: #FFF;
        margin: 40px;
        padding-top: 40px;
    }

    .container {
        background-color: #fff;
    }

}

.section-title {
    width: 90%;
    color: var(--color-blue);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    padding-bottom: 8px;
    text-align: center;
    border-bottom: solid 1px var(--color-grey);
}

.job-box {
    background: #fff;
    width: 90%;
    margin: 0 auto;
}

.job-box h4 {
    margin-top: 25px;
    margin-bottom: 5px;
    color: var(--font-grey);
}

.job-box p {
    margin: 0;
    font-size: 14px;
}

/* リスト全体 */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin: 10px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.6em;
    /* アイコンと文字の間隔 */
    font-weight: 600;
}

/* 行頭の丸＋チェック（アイコン） */
.check-bullet {
    position: relative;
    width: 1em;
    height: 1em;
    background: #E0E0E0;
    border-radius: 50%;
    flex-shrink: 0;
}

/* チェックライン（CSS のみで描く） */
.check-bullet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 0.45em;
    height: 0.25em;

    border-left: 0.15em solid #fff;
    border-bottom: 0.15em solid #fff;

    transform: translate(-50%, -67%) rotate(-45deg);
}

.example {
    margin: 10px 0;
    padding-inline-start: 1.6em;
}

/* ===================== */
/*   募集フォームセクション   */
/* ===================== */

.form-section {
    .container {
        margin-top: 0;
    }
}

/* タイトル */
.form-title,
.confirm-title {
    text-align: center;
    color: var(--color-blue);
    margin-bottom: 40px;
    padding-top: 40px;
}

.form-title p,
.confirm-title p {
    color: #333;
    margin: .3rem;

    &:nth-child(2) {
        color: var(--color-blue);
        font-size: 1.2rem;
    }
}

/* フォーム共通 */
.form-group {
    margin-bottom: 25px;
}

.form-group label,
.privacy label {
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
}

.required {
    color: red;
    font-size: 12px;
    margin-left: 6px;
}

label {
    width: 100%;
    padding: 10px;
    color: var(--color-blue);
}

/* 入力欄 */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 15px 10px;
    border: 1px solid var(--color-blue);
    border-radius: 4px;
    font-size: 14px;
    appearance: none;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid var(--color-blue);
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
}

input[type="file"]::file-selector-button {
    color: #fff;
    background: var(--color-blue);
    border: 0;
    border-radius: 8px;
    padding: 16px 32px;
    text-align: center;
}

/* 1列 */
.input-1col {
    display: flex;
}

/* 2列 */
.input-2col {
    display: flex;
    gap: 10px;
}

/* 3列 */
.input-3col {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-3col .unit {
    color: #333;
}

/* ラジオ */
.radio-group {
    display: flex;
    justify-content: start;

    label {
        display: flex;
        align-items: center;
        color: #333;
        font-weight: 500;


    }

    input{
        margin: 0;
    }
}

/*  チェックボックスのカスタムデザイン */
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background-color: #fff;
    vertical-align: middle;
}

/* チェック時のスタイル（青背景＋白い✔） */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

/* ✔マークを擬似要素で描画 */
input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 5px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

/* hover時に軽く色を変化 */
input[type="checkbox"]:hover,
input[type="radio"]:hover {
    opacity: 0.6;
}

hr {
    border: solid 1px var(--color-grey);
}

/* プライバシー */
.privacyblock {
    padding: 25px 10px 25px 25px;
    background: #fff;
}

.privacybox {
    background: #fff;
    height: 220px;
    padding: 0 20px 0 0;
    overflow-y: scroll;
}

.privacybox::-webkit-scrollbar {
    width: 7px;
    height: 100%;
    background: #fff;
}

.privacybox::-webkit-scrollbar-thumb {
    background: #aaa;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

.privacytxt {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.025em;
}

.privacytxt .ullist {
    margin-left: 1.5em;
}

.privacytxt .ullist>li {
    list-style: decimal;
    margin-top: 1em;
}

.privacytxt .ollist {
    padding: 0 0 0 2em;
}

.privacytxt .ollist>li {
    list-style: decimal-leading-zero;
    margin-top: 1em;
}

.privacytxt .cirlist>li {
    text-indent: -1em;
    padding-left: 1em;
}

.privacyright {
    text-align: right;
    margin-top: 1em;
}

.privacy label.agree {
    text-align: center;
    color: #333;
    font-weight: 500;
}

/* 送信ボタン */
.submit-area {
    text-align: center;
}

.btn-submit {
    width: 60%;
    background: #F77408;
    color: #fff;
    padding: 24px;
    border: none;
    font-size: 18px;
    border-radius: 100vw;
    cursor: pointer;

    &:disabled {
        background: var(--color-grey);
        cursor: not-allowed;
    }
}

.btn-submit:hover {
    opacity: 0.9;
}


/* =============*/
/*   確認ページ   */
/* ============ */

.confirm-title{
    padding-top: 0;
}
dl.confirm-list {
    padding: 20px;
    border: 1px solid var(--color-grey);
    border-radius: 10px;

    .confirm-item {
        margin-bottom: 10px;
        dt {
            color: var(--color-blue);
        }
    }
}

.confirm-action {
    text-align: center;
    margin-top: 30px;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .container {
        padding: 10px;
        margin: 10px;
    }

    .input-2col{
        flex-direction: column;
    }

    .input-3col{
        gap: 0;
    }

    .btn-submit {
        padding: 16px;
        width: 80%;
    }

    label{
        padding: 5px;
    }

    .forPC{
        display: none;
    }
}