@charset "UTF-8";

/*
-----------------------
カラー変更時の注意事項
-----------------------
下記でカラーコードを編集してください。
もしくは変数を追加して、一括でプロパティを編集してください。
デザインによって変数のカラーコードが同じの場合があります。
個別で対応するところは「カラー個別変更箇所」「パス個別変更箇所」を検索して変更してください。
擬似要素で使用するsvg画像はテンプレートごとのフォルダーに格納の上、同じファイル名にしてください。例：img/contact/select-arrow.svg→img/テンプレート/select-arrow.svg
 */

/* ------color------ */
:root {
    --white: #fff;
    --black: #221815;
    /* 選択項目内グレー */
    --gray-text: #a0a0a0;
    /* 選択項目 disableボタン */
    --gray-arrow: #bebebe;
    --gray-border: #d6d6d6;
    --primary: #a0d232;
    --primary-dark: #4ebf2c;
    --primary-light: #e7f2d0;
    /* ボタンの色　グラデーションの開始と終了の色 グラデーションなしの場合startとendを同じ色に設定してください */
    --submit-start: #f4bd29;
    --submit-end: #ffa546;
    /* 必須ラベル */
    --required: #ffa546;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--black);
    /* カラー個別変更箇所 */
   
    font-size: clamp(13px, 3.467vw, 14px);
}

.wrapper {
    position: relative;
    overflow: hidden;
    min-width: 360px;
    padding: 0;
}

.sp {
    display: block !important;
}

@media (min-width: 768px) {
    .sp {
        display: none !important;
    }
}

.pc {
    display: none !important;
}

@media (min-width: 768px) {
    .pc {
        display: block !important;
    }
}

/* ------header------ */
header {
    position: relative;
    height: 60px;
    min-height: 50px;
    z-index: 2000;
    top: 0;
    background: var(--white);
    width: 100%;
}

header .header-wrapper {
    width: 100%;
    position: absolute;
    height: 100%;
    top: 0;
}

@media (min-width: 1020px) {
    header .header-wrapper {
        width: calc(1000px + (100% - 1000px)/2);
        left: calc((100% - 1000px)/2);
    }
}

header .logo {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 2vw;
    transform: translateY(-50%);
}

header .logo img {
    width: auto;
    max-width: none;
    height: 34px;
}

@media (max-width: 360px) {
    header .logo {
        left: 7px;
    }
}

@media (min-width: 768px) {
    header .logo {
        left: 10px;
    }
}

@media (min-width: 1020px) {
    header .logo {
        left: 0;
    }
}


/* ------footer------ */
.footer {
    /* カラー個別変更箇所 */
    background: var(--white);
    margin-top: 10px;
}

.footer footer {
    max-width: 100%;
    padding: 3vw 0 5vw;
    text-align: center;
    margin: 0 auto;
}

.footer footer .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 12px;
    margin: 7vw auto;
    border-bottom: 1px solid var(--gray-border);
}

.footer footer .logo p {
    margin-top: 6px;
    font-size: 10px;
}

.footer footer .logo img {
    width: 250px;
}


.footer footer .auth {
    margin-bottom: 2em;
}

.footer footer .auth img {
    width: auto;
    height: 50px;
    margin: auto .5em;
}

.footer footer .auth span {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: clamp(12px, 3.2vw, 14px);
    margin-left: 18px;
}

footer small {
    display: block;
    font-size: clamp(12px, 3.2vw, 14px);
}

@media (min-width: 1020px) {
    .wrapper footer .logo {
        margin: 2em auto;
    }
}

@media (min-width: 768px) {
    .footer {
        margin-top: 40px;
    }

    .footer footer {
        padding: 20px 0;
    }

    .footer footer .logo {
        flex-direction: row;
        padding-bottom: 30px;
    }

    .footer footer .logo p {
        margin-left: 32px;
        font-size: 13px;
    }

    .footer footer .logo img {
        width: 348px;
    }

    .footer footer .auth span {
        text-align: left;
        width: 31em;
        margin: auto;
    }
}


/* ------input------ */

input[type="text"],
input[type="tel"],
input[type="email"] {
    background: var(--white);
    height: 46px;
    border: 1px solid var(--gray-border);
    border-radius: 5px;
    width: calc(50% - 10px);
    padding: 0 2% 0 4%;
    margin-top: .25em;
    font-size: 16px;
    -webkit-appearance: none;
}

input[type="text"]::-moz-placeholder,
input[type="tel"]::-moz-placeholder,
input[type="email"]::-moz-placeholder {
    color: var(--gray-text);
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder {
    color: var(--gray-text);
}

@media (min-width: 768px) {

    input[type="text"],
    input[type="tel"],
    input[type="email"] {
        padding: 0 2%;
    }
}

/* ------checkbox------ */
.checkbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.contact-checkbox-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: var(--white);
    padding: 4px 16px;
    font-size: 14px;
    width: calc(50% - 1vw);
    height: 46px;
    border: 1px solid var(--gray-border);
    border-radius: 5px;
    margin-top: 2vw;
    margin-bottom: 1px;
    position: relative;
    opacity: 1;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    line-height: 1.25;
}

.contact-checkbox-menu:hover {
    opacity: .8;
}

.contact-checkbox-menu:nth-of-type(-n+2) {
    margin-top: 0;
}

.checkbox input:checked+.contact-checkbox-menu {
    /* カラー個別変更箇所 */
    background: var(--primary);
    color: var(--white);
}

@media (min-width: 768px) {
    .contact-checkbox-menu {
        margin-top: 10px;
        font-size: 16px;
        align-items: center;
        width: calc(50% - 10px);
        height: 56px;
    }

    .contact-checkbox-menu:nth-of-type(-n+2) {
        margin-top: 10px;
    }
}

.contact-checkbox-menu .small {
    font-size: 12px;
}

@media (min-width: 768px) {
    .contact-checkbox-menu .small {
        font-size: 14px;
    }
}


/* ------radiobox------ */
.radio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.radio input[type="radio"] {
    display: none;
}

.parts-radio-menu {
    background: var(--white);
    padding: 0 .5em 0 40px;
    font-size: 14px;
    width: calc(50% - 1vw);
    height: 46px;
    border: 1px solid var(--gray-border);
    border-radius: 5px;
    margin-top: 2vw;
    position: relative;
    opacity: 1;
    transition: opacity 0.5s;
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    margin-bottom: 1px;
}

.parts-radio-menu:hover {
    opacity: 0.8;
}

.parts-radio-menu::before {
    content: "";
    width: 22px;
    height: 22px;
    background: url(../../img/contact/radio-no.svg) no-repeat;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    position: absolute;
    left: 8px;
    margin: auto;
}

.radio input:checked+.parts-radio-menu {
    /* カラー個別変更箇所 */
    background: var(--primary);
    color: var(--white);
}

.radio input:checked+.parts-radio-menu::before {
    /* パス個別変更箇所 */
    background: url(../../img/contact/radio.svg) no-repeat;
}

@media (min-width: 768px) {
    .parts-radio-menu {
        width: calc(50% - 10px);
        height: 56px;
        margin-top: 10px;
        font-size: 16px;
    }
}


/* select */
.select {
    text-align: center;
}

.parts-select-menu {
    background: var(--white);
    margin-top: 5px;
    padding: 1% 30px 1% 4%;
    width: 100%;
    height: 46px;
    outline: none;
    /* パス個別変更箇所 */
    background-image: url(../../img/contact/select-arrow.svg);
    background-repeat: no-repeat;
    background-position: calc(100% + 1px);
    background-size: auto 100%;
    border: 1px solid var(--gray-border);
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.parts-select-menu.disabled {
    opacity: 0.7;
    cursor: default !important;
}

.parts-select-menu:disabled {
    cursor: default !important;
}

.parts-select-menu:required {
    color: var(--gray-text);
}

.parts-select-menu:valid {
    color: var(--black);
}

.parts-select-menu option,
.parts-select-menu optgroup {
    color: var(--black);
}

@media (min-width: 768px) {
    .parts-select-menu {
        width: calc(50% - 10px);
        max-width: none;
        padding: 0 30px 0 2%;
    }
}


/* ------mv------ */
.contact-mv {
    /* カラー個別変更箇所 */
    position: relative;
    height: auto;
}

.mv {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.mv img {
    max-width: 100%;
}

/* ------step------ */
.step {
    /* カラー個別変更箇所 */
    background: var(--primary-light);
    position: relative;
    bottom: auto;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

@media (min-width: 768px) {
    .step {
        height: 56px;
    }
}

.step-ttl {
    display: inline-block;
    /* カラー個別変更箇所 */
    color: var(--primary);
    font-size: 20px;
    vertical-align: middle;
    margin-right: 2vw;
    margin-left: 10px;
}


@media (min-width: 768px) {
    .step-ttl {
        font-size: 30px;
        line-height: 37px;
        margin-right: 1em;
    }
}

.step-ul {
    display: inline-flex;
    vertical-align: middle;
}

.step-item {
    background: var(--white);
    color: var(--gray-border);
    width: 7vw;
    max-width: 36px;
    min-width: 25px;
    height: 28px;
    font-size: 12px;
    margin-right: 2vw;
    line-height: 28px;
    border-radius: 3px;
}

.step-item.active {
    background: var(--primary);
    color: var(--white);
}

@media (min-width: 768px) {
    .step-item {
        max-width: 56px;
        height: 38px;
        font-size: 16px;
        line-height: 37px;
        margin-right: 1em;
    }
}

.step-right {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    vertical-align: middle;
    line-height: 37px;
    font-size: 14px;
    width: calc(100% - 226px);
}

@media screen and (min-width: 576px) {
    .step-right {
        width: 176px;
    }
}

@media (min-width: 768px) {
    .step-right {
        font-size: 19px;
        line-height: 55px;
    }
}

.step-right span {
    font-size: 18px;
    font-weight: bold;
}

@media (min-width: 768px) {
    .step-right span {
        font-size: 25px;
        line-height: 37px;
    }
}

/* ------main------ */
.main {
    max-width: 800px;
    margin: 15px 10px 2em;
}

@media (min-width: 768px) {
    .main {
        margin: 3em auto 2em;
    }
}

.main section {
    position: absolute;
    max-width: 800px;
    margin: auto;
    top: 15px;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .main section {
        top: 40px;
    }
}

@media (min-width: 1020px) {
    .main section {
        padding: 0;
    }
}

.main .dummy {
    position: relative;
    visibility: hidden;
}

.title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .title {
        margin-bottom: 5px;
        font-size: 20px;
    }
}

.title span {
    color: var(--gray-text);
    font-size: 12px;
}

@media (min-width: 768px) {
    .title span {
        font-size: 16px;
        font-weight: normal;
    }
}

section .title:not(:first-child) {
    margin-top: 24px;
}

@media (min-width: 768px) {
    section .title:not(:first-child) {
        margin-top: 48px;
    }
}

.label-item {
    font-size: 14px;
}

@media (min-width: 768px) {
    .label-item {
        font-size: 16px;
    }
}

.optional {
    font-size: 14px;
    background: var(--gray-border);
    color: var(--white);
    padding: 1px 8px;
    border-radius: 3px;
    margin-left: 1em;
    display: inline-block;
}

.required {
    font-size: 14px;
    background: var(--required);
    color: var(--white);
    padding: 1px 8px;
    border-radius: 3px;
    margin-left: 1em;
    display: inline-block;
}

.error {
    display: inline-block;
    color: #FF4646;
    font-size: 14px;
    margin-top: 4px;
}

.memo {
    font-size: 14px;
}

/* STEP1で他のフォームへの誘導ボタン */
.btn-to {
    margin-top: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .btn-to {
        margin-top: 30px;
    }
}

.btn-to a {
    display: block;
    width: 100%;
    /* カラー個別変更箇所 */
    color: #FC77B0;
    border: 1px solid #FFB0D2;
    border-radius: 5px;
    background-color: var(--white);
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

@media (min-width: 768px) {
    .btn-to a {
        padding: 16px;
        font-size: 16px;
    }
}

/* 郵便番号 */
.zipcode-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.zipcode-wrapper .left {
    width: calc(100% - 178px);
}

.zipcode-wrapper .left input[name="zip"] {
    width: 100%;
}

.zipcode-wrapper .right {
    margin-top: 32px;
    margin-left: 10px;
    line-height: 1.25;
    font-size: 14px;
    width: 168px;
}

.zipcode-wrapper .memo {
    width: 100%;
    margin-top: 5px;
}

.zipcode-wrapper .error {
    margin-top: 0;
}

@media (min-width: 768px) {
    .zipcode-wrapper {
        margin-bottom: 30px;
    }

    .zipcode-wrapper .left {
        width: auto;
    }

    .zipcode-wrapper .left input[name="zip"] {
        width: 350px;
    }
}

/* 住所 */
.prefectures-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.prefectures-wrapper select {
    width: 100%;
}

.prefectures-wrapper .parts-select-menu:first-child {
    margin-bottom: 1em;
}

.prefectures-wrapper .left,
.prefectures-wrapper .right {
    margin-bottom: 0;
}

input[type="text"].addr-detail {
    width: 100%;
}

@media (min-width: 768px) {
    .prefectures-wrapper {
        flex-direction: row;
    }

    .prefectures-wrapper select {
        width: 350px;
    }

    .prefectures-wrapper .left,
    .prefectures-wrapper .right {
        margin-bottom: 14px;
    }
}

/* 名前 */
.chara,
.kana {
    display: flex;
}

.chara-inner,
.kana-inner {
    width: calc(50% - 1em);
}

.chara-inner:last-child,
.kana-inner:last-child {
    margin-left: 2em;
}

.chara-inner span,
.kana-inner span {
    width: 3em;
    display: inline-block;
}

.chara-inner span.error,
.kana-inner span.error {
    width: 100%;
}

.chara-inner input[type="text"],
.kana-inner input[type="text"] {
    width: calc(100% - 3em);
}

.name-birth .label-item {
    margin-top: 16px;
}

@media (min-width: 768px) {

    .chara-inner:last-child,
    .kana-inner:last-child {
        margin-left: 3em;
    }

    .chara-inner span.error,
    .kana-inner span.error {
        margin-left: 3em;
    }
}

/* 生年月日 */
.birth {
    display: flex;
    justify-content: space-between;
}

.year {
    width: 40%;
}

.month,
.day {
    width: 25%;
}

/* 連絡先 */
.contact-info input[type="text"],
.contact-info input[type="email"],
.contact-info input[type="tel"] {
    width: 100%;
}

@media (min-width: 768px) {

    .contact-info input[type="text"],
    .contact-info input[type="email"],
    .contact-info input[type="tel"] {
        width: 350px;
    }
}

.contact-info .memo {
    margin-top: 5px;
}

.contact-info .error {
    display: block;
}

.tel-wrapper,
.mail-wrapper {
    margin-bottom: 16px;
}

.tel-wrapper .error {
    margin-top: 0;
}

@media (min-width: 768px) {

    .tel-wrapper,
    .mail-wrapper {
        margin-bottom: 30px;
    }
}

.contact-info textarea {
    resize: none;
    width: 100%;
    height: 138px;
    background: var(--white);
    border-radius: 5px;
    border: 1px solid var(--gray-border);
    margin-top: .5em;
    padding: 2% 4%;
    font-size: 16px;
}

.contact-info textarea::-moz-placeholder {
    color: var(--gray-text);
}

.contact-info textarea::placeholder {
    color: var(--gray-text);
}

@media (min-width: 768px) {
    .contact-info textarea {
        padding: 2%;
    }
}

.contact-info .notice {
    text-align: center;
    margin-top: 30px;
}

.contact-info a {
    color: var(--primary-dark);
}

@media (min-width: 768px) {
    .contact-info .notice {
        margin-top: 60px;
    }
}

/* 残りnSTEP */
.submit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3em;
}

.submit__back {
    display: table;
    font-size: 16px;
    color: var(--primary-dark);
    vertical-align: middle;
    cursor: pointer;
    margin-right: 2em;
    padding-left: 1.5em;
    position: relative;
}

.submit__back::before {
    content: "";
    display: inline-block;
    position: absolute;
    /* パス個別変更箇所 */
    background: url(../../img/contact/back.svg) center center no-repeat;
    width: 14px;
    height: 14px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.submit__back.disabled {
    display: none;
}

@media (min-width: 768px) {
    .submit__back {
        margin-right: 4em;
    }
}

.submit__back>span {
    display: table-cell;
    vertical-align: middle;
}

.submit__send {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 65vw;
    max-width: 320px;
    min-width: 245px;
    height: 60px;
    font-size: 18px;
    position: relative;
    cursor: pointer;
    padding: 4vw 0;
    background: linear-gradient(var(--submit-start), var(--submit-end));
    color: var(--white);
    font-size: 4vw;
    border-radius: 10px;
    box-shadow: 4px 5px 5px 0 #e2e2e2;
    transition: opacity 0.3s ease-in-out;
}

.submit__send:hover {
    opacity: .8;
}

.submit__send.disabled {
    background: var(--gray-border);
    cursor: default;
}

.submit__send.disabled:hover {
    opacity: 1;
}

.submit__send::after {
    content: "";
    display: inline-block;
    position: absolute;
    width: 16vw;
    height: 14vw;
    max-width: 80px;
    max-height: 73px;
    min-width: 55px;
    min-height: 51px;
    right: -3%;
}

.submit__send .step-num {
    font-size: 28px;
    margin: -5px 4px 0;
}

.submit__send span {
    font-size: 16px;
}

.submit__send .free-icon {
    border: 1px solid var(--white);
    padding: .5% 3%;
    border-radius: 5px;
    margin-right: 0.5em;
    font-size: 12px;
}

@media (min-width: 768px) {
    .submit__send {
        max-width: 350px;
        height: 66px;
        padding: 18px;
        font-size: 20px;
        vertical-align: top;
    }

    .submit__send span {
        font-size: 18px;
    }

    .submit__send .free-icon {
        font-size: 14px;
    }
}


/* ------thanksページ------ */
.finish {
    text-align: center;
    width: 100%;
    /* カラー個別変更箇所 */
    background: #F8F5F0;
    padding: 2em;
}

@media (min-width: 768px) {
    .finish {
        padding-top: 36px;
    }
}

.finish p {
    font-size: 14px;
}

@media (min-width: 768px) {
    .finish p {
        font-size: 16px;
    }
}

.finish-img {
    margin: 20px auto 30px auto;
    max-width: 100%;
}

.finish-text {
    font-weight: bold;
    font-size: 20px;
}

.finish .free-call {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    line-height: 70px;
    height: 70px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .finish .free-call {
        font-size: 35px;
    }
}

.finish .free-call img {
    margin-right: 5px;
}

.finish .top-back {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* カラー個別変更箇所 */
    background: linear-gradient(var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0;
    margin: 0;
    width: 90%;
    font-size: 4vw;
    border-radius: 10px;
    box-shadow: 4px 5px 5px 0 #e2e2e2;
    transition: opacity 0.3s ease-in-out;
}

.finish .top-back-btn {
    color: var(--white);
    display: block;
    width: 100%;
    padding: 18px;
}

.finish .top-back:hover {
    opacity: .8;
}

@media (min-width: 768px) {
    .finish .top-back {
        width: 420px;
        font-size: 20px;
    }

}

