/* --- Contact privacy-poliy thanks Section --- */
.contact {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}
.contact-form__group {
    padding-bottom: 0px;
}
.contact-form__radio-options {
    text-align: left;
}
.contact__title {
    font-family: var(--font-heading, 'Playwrite AU QLD', cursive);
    color: var(--color-text, #333);
    font-size: 65px;
    font-weight: 400;
    text-align: center;
    padding-top: 100px;
}
.confirm__title,.privacy__title {
    font-family: var(--font-body);
    color: var(--color-text, #333);
    font-size: 42px;
    font-weight: 600;
    text-align: center;
}
.thanks__title {
    font-family: var(--font-body);
    color: var(--color-text, #333);
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-top: 150px;
}
.br-sp430 {
    display: none;
}
.contact__form-wrapper,.confirm__form-wrapper,.thanks__form-wrapper, .privacy-policy__form-wrapper {
    background-color: #FFFFFF;
    padding-bottom: 150px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact__form-wrapper {
    margin-top: 150px;
}
.confirm__form-wrapper,.thanks__form-wrapper {
    margin: 150px auto;
    padding: 0 15px;
}
.privacy-policy__form-wrapper {
    background-color: #FFFFFF;
    padding: 150px 30px;
    position: relative;
    max-width: 970px;
    margin: 0 auto;
}
hr {
    border: none; /* デフォルトの線をリセット */
    border-top: 1px solid #004958; /* 1pxのグレーの実線 */
    margin: 53px 20vw; /* 線と上下の要素との余白を調整 */
}

.contact__description,.confirm__description {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    padding: 70px 15px 40px;
}
.thanks__description,.privacy-policy__description {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
}
.thanks__description {
    margin-bottom: 70px;
}
.privacy-policy__description {
    margin-bottom: 0;
}
.thanks__description__01 {
    display: block;
    margin-bottom: 43px;
}
.contact__field,.contact-form__group {
    margin-bottom: 35px;
}

.contact__label {
    display: block;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact__required {
    background-color: #378D8D;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
}

.contact__input,
.contact__textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #707070;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
}

.contact__input:focus,
.contact__textarea:focus {
    outline: none;
    border-color: #378D8D;
    box-shadow: 0 0 0 2px rgba(55, 141, 141, 0.2);
    background-color: #fff;
}
.contact-form__checkbox-item h4 {
    font-size: 18px;
    font-weight: 600;;
    margin-bottom: 5px;
}
.check-box {
    font: 16px;
    margin-right: 5px;
    margin-left: 5px;
}
.to-privacy-page {
    text-decoration: underline;
}
.contact__submit-wrapper {
    text-align: center;
    margin-top: 40px;
}

.contact__submit {
    display: inline-block;
    background-color: #004a4e;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    padding: 19px 40px 18px;
    width: 200px;
    height: 70px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
.contact__submit:hover {
    background-color: #378D8D; /* 背景色を黒に */
    color: #ffffff;      /* 文字色を白に */
}
.back-button {
    display: inline-block;
    background-color: #ffffff;
    color: #004a4e;
    border: 1px solid #004958;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    padding: 16px 20px 18px;
    width: 200px;
    height: 70px;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.3s;
    cursor: pointer;
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
.back-button:hover {
    background-color: #378D8D;
}
.btn-icon {
    width: 11px;
    height: 12px;
}
.contact__submit:hover {
    opacity: 0.8;
}
form,.confirm-list {
    max-width: 35rem;
    margin: 0 auto;
    text-align: left;
    padding: 0 15px;
}
.confirm-buttons {
    width: 200px;
    margin: 0 auto;
    text-align: center;
}

/* --- Responsive for Contact --- */
@media (max-width: 921px) {
 .contact__title {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
    .contact {
        margin-bottom: 80px;
    }
    .contact__title {
        position: static;
        text-align: center;
        font-size: 2.5rem;
        padding-top: 2rem;
        margin-bottom: 10px;
    }
    .contact__description {
        margin-bottom: 40px;
        padding-top: 40px;
    }
    .contact__form-wrapper {
        padding: 40px 15px 140px;
    }
    .confirm__title,.privacy__title,.thanks__title {
    font-size: 24px;
}
}
@media (max-width: 510px) {
    .confirm__title {
        margin-top: 55px;
    }
}
@media (max-width: 430px) {
    .confirm__description {
    padding: 40px 0 40px;
    }
    .br-sp430 {
        display: block;
    }
}
/* 個人情報の取り扱いについて */
.privacy-policy__description__01 {
  margin-bottom: 50px;
}
.privacy-policy__list li {
    margin-bottom: 44px;
}
.purpose-list li, .providing-list li, .privacy-policy__list p {
    margin-bottom: 0;
    padding-left: 20px;
}