/*------------------------------------------
設定
------------------------------------------*/

main {
    background: #f3f2f2;
}

/*------------------------------------------
hero
------------------------------------------*/

.hero {
    background: #fff7d5;
}

.hero .content-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    display: inline-block;
    position: relative;
    margin: 0 auto;

    color: #7a4d34;
    font-family: var(--font-mincho);
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 62px;
    letter-spacing: 1.8px;
    text-align: center;
}

.hero h1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc((var(--h2-line-width) + var(--h2-line-margin)) * -1);
    transform: translateY(-50%);
    height: 2px;
    width: var(--h2-line-width);
    background: linear-gradient(91deg, #C78A03 -38.07%, #E5C05E -3.17%, #F4DB8C 14.28%, #EFCA84 42.84%, #C78A03 88.85%);
}

.hero h1::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc((var(--h2-line-width) + var(--h2-line-margin)) * -1);
    transform: translateY(-50%);
    height: 2px;
    width: var(--h2-line-width);
    background: linear-gradient(91deg, #C78A03 -38.07%, #E5C05E -3.17%, #F4DB8C 14.28%, #EFCA84 42.84%, #C78A03 88.85%);
}

@media screen and (max-width: 767px) {
    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: unset;
    }
}

/*------------------------------------------
content
------------------------------------------*/

.content .wrapper {
    max-width: 960px;
}

.content .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.content .card {
    padding: 60px;
    border-radius: 20px;
    background: #fff;
}

.content .card h2 {
    color: #7a4d34;
    font-family: var(--font-mincho);
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 62px;
    letter-spacing: 1.5px;
}

@media screen and (max-width: 767px) {
    .content .wpcf7-form {
        gap: 2rem;
    }

    .content .card {
        padding: 1rem;
    }

    .content .card h2 {
        font-size: 1.2rem;
        line-height: 2rem;
    }
}

/*------------------------------------------
フォーム
------------------------------------------*/

.form ::placeholder {
  color: #ccc;
  opacity: 1; /* Safari対応: デフォルトで薄くなるのを防ぐ */
}

.form {
    margin-top: 40px;
    border-top: 1px solid #dddcdc;
}

.form li {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 40px;
    border-bottom: 1px solid #dddcdc;
}

.form li .title {
    padding-top: 6px;
    padding-left: 100px;
    position: relative;
    color: #444;
    font-family: var(--font-gothic);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 2px;
}

.form li .required::before,
.form li .optional::before {
    position: absolute;
    top: 22px;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 33px;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    padding-bottom: 4px;
}

.form li .required::before {
    content: "必須";
    background: #ef6163;
}

.form li .optional::before {
    content: "任意";
    background: #b8b6b6;
}

.form .name-box p,
.form .email-box p {
    display: inline-grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.form .date {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.form .date p {
    font-family: var(--font-gothic);
    color: #444;
}

.form .small-text {
    font-size: .7rem;
    color: #555;
}

.form select {
    width: 300px;
    padding: 15px 20px;
    padding-right: 28px;
    border: 1px solid #ddd;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    color: #444;
    line-height: 1;
}

.form .select-wrapper .wpcf7-form-control-wrap {
    position: relative;
}

.form .select-wrapper .wpcf7-form-control-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 15.5px;
    height: 9px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform: translateY(-50%);
    background: #7A4D34;
}

.form .wpcf7-text {
    width: 300px;
    height: 45px;
    padding: 15px 20px;
    box-sizing: border-box;
    border: 1px solid #ddd;
}

.form input[name="address"] {
    width: 100%;
}

.form .wpcf7-date {
    width: 160px;
    height: 45px;
    padding: 15px 20px;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid #ddd;
}

.form .wpcf7-radio {
    margin-top: 10px;
}

.form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
}

.form .wpcf7-list-item {
    margin-top: .3rem;
}

@media (max-width: 1024px) {
/* @media screen and (max-width: 767px) { */
    .form li {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .form li .title {
        padding-left: 65px;
        font-size: 1rem;
    }

    .form li .required::before,
    .form li .optional::before {
        font-size: .8rem;
        width: 55px;
        height: 30px;
        padding-bottom: 2px;
    }

    .form .wpcf7-date {
        width: 110px;
        padding: 5px;
    }

    .form li .date .wpcf7-list-item-label {
        font-size: .8rem;
    }
}

.wpcf7-submit,
.wpcf7-previous {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 282px;
    height: 52px;
    border-radius: 30px;
    font-family: var(--font-gothic);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.9px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit {
    color: #fff;
    border: 2px solid #edbf00;
    background: #edbf00;
}

.wpcf7-previous {
    color: #fff;
    border: 2px solid #aaa;
    background: #aaa;
}

.wpcf7-submit::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 35px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
}

.wpcf7-submit:hover,
.wpcf7-previous:hover {
    opacity: .8;
}

/* 入力フォーム→確認へのsubmit()用に、[submit xxxx]は非表示にしておきjsからクリックさせる */
.hidden .wpcf7-submit {
    display: none;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-not-valid-tip,
.form .email-confirm-error-message {
    color: #ef6163;
    font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
    border: none;
}


.wpcf7 form.invalid .wpcf7-response-output {
    border: 2px solid #ef6163;
    background: #fff;
    padding: 20px;
}

.intro {
    color: #444;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.policy-box {
    margin-top: 20px;
    padding: 5px;
    height: 260px;
    overflow-y: scroll;
    border: 1px solid #ddd;
}

.policy-box p {
    margin-bottom: 12px;
    font-family: var(--font-gothic);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

.policy-box .bold {
    font-weight: 700;
}

.policy-box .text-right {
    text-align: right;
}

.agree {
    margin-top: 20px;
    text-align: center;
    color: #444;
    font-family: var(--font-gothic);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

.agree .is-agree-group input {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    position: relative;
    top: 2px;
}

.cta-box p {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

@media screen and (max-width: 767px) {
    .cta-box p {
        flex-direction: column;
        gap: 2rem;
    }
}

.form.confirm .content {
    margin-top: 9px;
    color: #444;
    font-family: var(--font-gothic);
}

.confirm-text {
    margin-top: 40px;
}

.card.thanks {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.thanks .text {
    color: #444;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.thanks .info-address {
    color: #7a4d34;
    font-family: var(--font-mincho);
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 62px;
    letter-spacing: 1.5px;
}

.link {
    margin-top: 60px;
}

.link a {
    margin: 0 auto;
}