/* ================================================ */
/* 定義 */
/* ================================================ */
:root {
    --basic-text-color: #222;
    --main-green: #4FB8A4;
    --light-green: #E4F3F0;
    --main-blue: #4866B8;
    --light-blue: #E8F6FB;
    --main-red: #DB4747;
    --light-red: #FFF1F1;
}

/* ================================================ */
/* 共通 */
/* ================================================ */
body {
    font-size: 16px;
    font-family: sans-serif;
    color: var(--basic-text-color);
    line-height: 1.8;
    background-color: var(--light-green);
}
img {
    vertical-align: top;
}
pre {
    font-family: sans-serif;
    white-space: pre-wrap;
}

/* コンテンツ */
.contents-width {
    max-width: 1080px;
    margin: 0 auto;
    padding: 64px 80px;
    background-color: #fff;
}
@media (max-width: 599px) {
    .contents-width {
        padding: 64px 40px;
    }
}

/* 文字 */
.text-bold {
    font-weight: bold;
}


/*======================================= */
/* レイアウト */
/*======================================= */
.dentai_acdel .contents-width {
    min-height: 100vh;
}


/*======================================= */
/* タイトル */
/*======================================= */
.dentai_acdel-title-wrapper {
    text-align: center;
}
.dentai_acdel-logo {
    width: 168px;
}
.dentai_acdel-title {
    font-size: 30px;
    margin-top: 40px;
    line-height: 1.5;
}
.dentai_acdel-title br {
    display: none;
}
@media (max-width: 599px) {
    .dentai_acdel-logo {
        width: 120px;
    }
    .dentai_acdel-title br {
        display: inline-block;
    }
}

/*======================================= */
/* サブタイトル */
/*======================================= */
.dentai_acdel-subtitle {
    font-size: 20px;
    color: var(--main-green);
    margin-top: 64px;
    text-align: center;
}

/*======================================= */
/* 前置き */
/*======================================= */
.dentai_acdel-introduction {
    margin-top: 64px;
}


/*======================================= */
/* 注意事項 */
/*======================================= */
.dentai_acdel-notice {
    border-radius: 4px;
    padding: 24px;
    margin-top: 32px;
    border: 2px solid transparent;
}
.dentai_acdel-notice.caution {
    color: var(--main-red);
    border-color: var(--main-red);
    background-color: var(--light-red);
}
.dentai_acdel-notice.info {
    color: var(--main-blue);
    border-color: var(--main-blue);
    background-color: var(--light-blue);
}


/*======================================= */
/* フォーム */
/*======================================= */

.dentai_acdel-form {
    margin-top: 64px;
}

/* 1行 */
.dentai_acdel-form .row {
    margin-top: 40px;
}
.dentai_acdel-form .row.buttons {
    margin-top: 64px;
    text-align: center;
}
.dentai_acdel-form .row.buttons {
    opacity: 1;
}

/* ラベル */
.dentai_acdel-form label {
    display: flex;
    font-weight: bold;
    margin-bottom: 12px;
}
.dentai_acdel-form label a {
    color: var(--basic-text-color);
    transition: 0.2s;
}
.dentai_acdel-form label a:hover {
    color: var(--main-green);
}
@media (max-width: 599px) {
    .dentai_acdel-form label {
        flex-direction: column;
    }
}

/* 必須・任意タグ */
.dentai_acdel-form .tag {
    flex-shrink: 0;
    border-radius: 4px;
    font-weight: bold;
    width: 56px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 16px;
    font-size: 14px;
}
.dentai_acdel-form .tag.require {
    background-color: var(--main-green);
    color: #fff;
}
.dentai_acdel-form .tag.optional {
    background-color: #ddd;
    color: #666;
}
@media (max-width: 599px) {
    .dentai_acdel-form .tag {
        margin-bottom: 12px;
    }
}

/* input */
.dentai_acdel-form input:not([type="checkbox"]) {
    border: 1px solid #aaa;
    border-radius: 4px;
    width: 100%;
    padding: 16px;
    line-height: 1;
}
.dentai_acdel-form input::placeholder {
    color: #aaa;
}

/* select */
.dentai_acdel-form .select-wrapper {
    position: relative;
}
.dentai_acdel-form .select-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    right: 12px;
    top: 40px;
    width: 24px;
    height: 24px;
    background-image: url("../img/dentai/icon-arrow-down.svg");
    background-position: center;
    background-size: 36px;
    background-repeat: no-repeat;
    pointer-events: none;
}
.dentai_acdel-form .select-wrapper label {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-bottom: 4px;
}
.dentai_acdel-form select {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 16px;
    line-height: 1;
    width: 100%;
}
@media (max-width: 599px) {
    .dentai_acdel-form .select-wrapper::after {
        background-size: 24px;
        right: 6px;
    }
}

/* textarea */
.dentai_acdel-form textarea {
    border: 1px solid #aaa;
    border-radius: 4px;
    width: 100%;
    padding: 16px;
    line-height: 1.5;
    height: 200px;
}
.dentai_acdel-form textarea::placeholder {
    color: #aaa;
}

/* チェックボックス */
.dentai_acdel-form input[type="checkbox"] {
    display: none;
}
.dentai_acdel-form input[type="checkbox"] + span {
    display: flex;
}
.dentai_acdel-form input[type="checkbox"] + span::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #aaa;
    margin-right: 16px;
    flex-shrink: 0;
}
.dentai_acdel-form input[type="checkbox"]:checked + span::before {
    background-image: url("../img/dentai/icon-check.svg");
    background-repeat: no-repeat;
    background-position: -1px;
}

/* 生年月日 */
.dentai_acdel-bd-wrapper {
    display: flex;
}
.dentai_acdel-bd-wrapper .select-wrapper:not(:last-child) {
    margin-right: 16px;
}
.select-size-year {
    width: 112px;
}
.select-size-month, .select-size-day {
    width: 92px;
}
@media (max-width: 599px) {
    .dentai_acdel-bd-wrapper .select-wrapper:not(:last-child) {
        margin-right: 8px;
    }
}

/* ボタン */
.dentai_acdel-form .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dentai_acdel-form .buttons input[type="submit"],
.dentai_acdel-form .buttons input[type="button"]{
    margin-bottom: 16px;
}
.dentai_acdel-form input[type="submit"],
.dentai_acdel-form input[type="button"],
.dentai_acdel-button {
    font-size: 20px;
    width: 100%;
    max-width: 360px;
    padding: 16px 0;
    text-align: center;
    border-radius: 4px;
    transition: 0.2s;
    line-height: 1.6;
    border: 1px solid transparent;
}
.dentai_acdel-form input[type="submit"]:hover,
.dentai_acdel-form input[type="button"]:hover,
.dentai_acdel-button:hover {
    opacity: 0.7;
}
.dentai_acdel-form input[type="submit"],
.dentai_acdel-button.primary {
    background-color: var(--main-green);
    border-color: var(--main-green);
    color: #fff;
}
.dentai_acdel-form input[type="button"] {
    border-color: #666;
    color: #666;
}
.dentai_acdel-form input[type="submit"]:disabled {
    opacity: 0.5;
}

/*======================================= */
/* ContactForm7 スタイル上書き */
/*======================================= */
.wpcf7-list-item label {
    font-weight: normal;
    margin-bottom: 0;
}
.wpcf7-list-item {
    margin: 0 !important;
}
.wpcf7-not-valid-tip {
    color: var(--main-red);
}
.wpcf7 form .wpcf7-response-output {
    padding: 16px !important;
    margin: 0 !important;
    border-radius: 4px;
}

/*======================================= */
/* 確認画面 */
/*======================================= */
.dentai_acdel-form .row .output {
    word-wrap:break-word;
}

/*======================================= */
/* 完了画面 */
/*======================================= */
.dentai_acdel-button-wrapper {
    margin-top: 64px;
}
.dentai_acdel-button {
    display: block;
    text-decoration: none;
    margin: 0 auto;
}