@charset "UTF-8";

/* CSS Document */
#contact-form {
    padding: 0px 0 100px;
}

.section__topic__contact-form {
    position: relative;
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 700;
    padding: 135px 0 91px;
    background-image: url(../images/contactpage-backgroundImage.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section__topicEN__contact-form {
    position: absolute;
    top: 52%;
    left: 33%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.20);
    font-family: "Noto Sans Gothic";
    font-size: 6rem;
    font-weight: 400;
}

.pcbr {
    display: none;
}

.contact-largeText {
    color: var(--primaryblack);
    font-size: 2rem;
    font-weight: 500;
    line-height: 160%;
    /* 32px */
    text-align: left;
    padding: 0 5.8%;
    margin-top: 40px;
}

.contact-smallText {
    color: var(--primaryblack);
    line-height: 170%;
    /* 27.2px */
    text-align: left;
    padding: 0 5.8%;
    margin-top: 20px;
}

.contact-step {
    margin: 50px auto;
    text-align: center;
}

.contact-step__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    /* 丸同士の間隔 */
    padding: 0 5.8%;
    position: relative;
}

.contact-step__item {
    position: relative;
    text-align: center;
    color: var(--lightgray);
}

.contact-step__item .circle {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    background-color: var(--lightgray);
}

.contact-step__item .label {
    display: block;
    margin-top: 5px;
}

/* 現在地だけ色変更 */
.contact-step__item.is-current .circle {
    background-color: var(--blue);
    /* お好みのテーマカラー */
}

.contact-step__item.is-current .label {
    color: var(--blue);
}

/* 線のデザイン */
.contact-step__item::after {
    content: '';
    position: absolute;
    top: 12px;
    /* 丸の真ん中あたりに線 */
    right: -80px;
    width: 100px;
    height: 2px;
    background-color: var(--lightgray);
}

/* 最後のステップのあとに線はいらない */
.contact-step__item:last-child::after {
    display: none;
}

/* お問い合わせ種別 */
.custom-select {
    position: relative;
    width: 100%;
    background-color: var(--waterblue);
    /* 薄い水色 */
    cursor: pointer;
    font-size: 1.6rem;
}

.custom-select .selected {
    position: relative;
    padding: 12px 16px;
    background-color: var(--waterblue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* ← テキストとアイコンを左右に分ける */
}

/* アイコンサイズ調整 */
.custom-select .selected svg {
    width: 18px;
    height: 14px;
    margin-left: 10px;
    flex-shrink: 0;
}

.custom-select .select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--waterblue);
    /* ←ここを水色に */
    border-top: none;
    z-index: 10;
    display: none;
    /* 初期は非表示 */
}

/* アニメーションつけておく */
.select-arrow {
    transition: transform 0.3s ease;
}

.custom-select.open .select-options {
    display: block;
}

/* 開いてるときに矢印を180度回転させる */
.custom-select .selected.open .select-arrow {
    transform: rotate(180deg);
}

.custom-select .select-options li {
    padding: 12px 16px;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
}

.custom-select .select-options li:hover {
    background-color: var(--lightblue);
    /* ←ちょっと濃い水色に変えてもOK */
}

.form-item {
    padding: 0 5.8%;
}

.form-label {
    color: var(--primaryblack);
    font-weight: 500;
    padding: 15px 30px 15px 0;
    text-align: left;
}

.required {
    color: var(--white);
    background: var(--blue);
    font-size: 1.3rem;
    width: 48px;
    padding: 0px 9px;
    border-radius: 6px;
    margin-left: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--waterblue);
    /* ← 薄い水色にしたい場合はここ */
    font-size: 1.6rem;
    color: var(--primaryblack);
    outline: none;
    text-align: left;
}

/* フォーカス時 */
input:focus,
textarea:focus {
    background-color: var(--waterblue);
    /* フォーカスしても水色のまま */
}

.form-agree {
    margin-top: 100px;
    padding: 0 12.8%;
    text-align: left;
}

.form-agree__label {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--grayblack);
    font-weight: 600;
}

.form-agree__label a {
    color: var(--blue);
    font-weight: 600;
    margin-left: 15px;
}

input[type="checkbox"] {
    width: 25px;
    height: 25px;
    border-radius: 0;
}

.wpcf7-submit {
    margin-top: 50px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    width: 240px;
    padding: 16px 0 21px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.wpcf7-select {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
}

.wpcf7-spinner {
    display: none !important;
}

.form-agree p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-agree p a {
    color: var(--blue);
    text-decoration: underline;
}

/* contact-form sp */

/* contact-form pc */
@media screen and (min-width:768px) {
    #contact-form {
        padding: 90px 0 100px;
    }

    .section__topic__contact-form {
        padding: 170px 0 170px;
    }

    .section__topicEN__contact-form {
        top: 35%;
        right: 51%;
        left: auto;
        transform: translate(0, -50%);
        font-size: 14rem;
    }

    .contact-largeText {
        padding: 0 18.1%;
        margin-top: 100px;
    }

    .pcbr {
        display: block;
    }

    .contact-smallText {
        padding: 0 18.1%;
        margin-top: 20px;
    }

    .contact-step {
        margin: 80px auto;
        text-align: center;
    }

    .contact-step__item {
        position: relative;
        text-align: center;
        color: var(--lightgray);
    }

    .contact-step__item .circle {
        width: 27px;
        height: 27px;
        line-height: 27px;
    }

    .contact-step__item .label {
        margin-top: 15px;
    }

    /* 線のデザイン */
    .contact-step__item::after {
        top: 12px;
        /* 丸の真ん中あたりに線 */
        right: -81px;
    }

    .custom-select {
        width: 627px;
    }

    .form-item {
        padding: 0 18.1%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .form-label {
        display: flex;
        align-items: center;
        padding: 30px 30px 30px 0;
        font-size: 1.6rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        width: 627px;
    }

    .form-agree {
        margin-top: 100px;
        padding: 0 40.2%;
    }
}