@charset "UTF-8";

body {
    font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "游ゴシック体", 'Yu Gothic', YuGothic, sans-serif;
    padding: 0 0 40px;
}

p {
    line-height: inherit;
}

.label-required {
    margin-left: 10px;
}

textarea {
    resize: none;
}

input[type=radio],
input[type=checkbox] {
    display: none;
}

.form-title {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ラベル枠 */
.radio,
.checkbox,
.mwform-radio-field span,
.wpcf7-list-item-label {
    box-sizing: border-box;
    -webkit-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
    position: relative;
    display: inline-block;
    margin: 0 10px 8px 0;
    padding: 12px 12px 12px 42px;
    border-radius: 8px;
    background-color: #f6f7f8;
    vertical-align: middle;
    cursor: pointer;
    font-weight: bold;
}

.radio:hover,
.checkbox:hover,
.mwform-radio-field span:hover,
.wpcf7-list-item-label:hover {
    background-color: #e2edd7;
}

input[disabled]+.wpcf7-list-item-label,
input[disabled]+input+.wpcf7-list-item-label {
    pointer-events: none;
}

/* ラジオ外枠 16px */
.radio:after,
.checkbox:after,
.mwform-radio-field span::after,
.wpcf7-list-item-label::after {
    display: block;
    -webkit-transition: border-color 0.2s linear;
    transition: border-color 0.2s linear;
    position: absolute;
    top: 50%;
    margin-top: -10px;
    width: 16px;
    height: 16px;
    border: 2px solid #bbb;
    left: 15px;
    border-radius: 6px;
    content: '';
}

/* ラジオ中のドット 10px */
.radio:before,
.mwform-radio-field span::before,
.wpcf7-list-item-label::before {
    display: block;
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    position: absolute;
    top: 50%;
    margin-top: -7px;
    width: 10px;
    height: 10px;
    left: 18px;
    border-radius: 50%;
    background-color: #53b300;
    content: '';
    opacity: 0;
}

input[type=radio]:checked+.radio:before,
.mwform-radio-field input[type=radio]:checked+span:before,
input[type=radio]:checked+.wpcf7-list-item-label::before,
input[type=radio]:checked+input+.wpcf7-list-item-label::before {
    opacity: 1;
}

input[type=radio]:checked+.radio,
.mwform-radio-field input[type=radio]:checked+span,
input[type=radio]:checked+.wpcf7-list-item-label {
    background-color: #e2edd7;
}

.checkbox:before {
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    position: absolute;
    top: 50%;
    left: 21px;
    display: block;
    margin-top: -7px;
    width: 5px;
    height: 9px;
    border-right: 3px solid #53b300;
    border-bottom: 3px solid #53b300;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

input[type=checkbox]:checked+.checkbox:before {
    opacity: 1;
}

input[type=checkbox]:checked+.checkbox {
    background-color: #e2edd7;
}

.radio_list,
.checkbox_list {
    box-sizing: border-box;
    -webkit-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
    position: relative;
    display: inline-block;
    margin: 0px 0px 0px 0;
    padding-top: 7px;
    padding: 0px 12px 12px 0px;
    border-radius: 8px;
    vertical-align: middle;
    cursor: pointer;
}

.radio_list:hover,
.checkbox_list:hover {}

.radio_list:hover:after,
.checkbox_list:hover:after {
    border-color: #53b300;
}

.radio_list:after,
.checkbox_list:after {
    -webkit-transition: border-color 0.2s linear;
    transition: border-color 0.2s linear;
    position: absolute;
    top: 50%;
    left: 0px;
    display: block;
    margin-top: -10px;
    width: 16px;
    height: 16px;
    border: 2px solid #bbb;
    border-radius: 6px;
    content: '';
}

.radio_list:before {
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    position: absolute;
    top: 50%;
    left: 5px;
    display: block;
    margin-top: -7px;
    margin-left: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #53b300;
    content: '';
    opacity: 0;
}

input[type=radio]:checked+.radio_list:before {
    opacity: 1;
}

input[type=radio]:checked+.radio_list {
    /*    background-color: #e2edd7;*/
}

.checkbox_list:before {
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    position: absolute;
    top: 50%;
    left: 6px;
    display: block;
    margin-top: -7px;
    width: 5px;
    height: 9px;
    border-right: 3px solid #53b300;
    border-bottom: 3px solid #53b300;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

input[type=checkbox]:checked+.checkbox_list:before {
    opacity: 1;
}

input[type=checkbox]:checked+.checkbox_list {}

.approve_inquiry {
    display: inline-block;
    margin: 5px 0;
    margin-left: 20px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    color: #29373d;
    background: #fff;
    border: 2px solid #cbcbcb;
}

.approve_inquiry:hover {
    color: #29373d;
    opacity: .5;
}

.approve_inquiry span {
    display: inline-block;
    vertical-align: middle;
}

.approve_inquiry i {
    margin-right: 10px;
    font-size: 3.8rem;
}

.approve_img {
    margin: 0;
}

.btn-primary.deny {
    color: #ddd;
    background: #f6f7f8;
    border-color: #ddd;
    cursor: auto;
    pointer-events: none;
}

.wpcf7c-btn-confirm,
.wpcf7-submit,
.wpcf7c-btn-back {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.wpcf7c-btn-confirm:hover,
.wpcf7-submit:hover,
.wpcf7c-btn-back:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.div.wpcf7-mail-sent-ok {
    font-size: 1.8rem;
}

.container-fluid a {
    /* text-decoration: none; */
}

.container-fluid a:hover {
    text-decoration: underline;
}

.container-fluid a.btn:hover {
    text-decoration: none;
}

.form-control.small {
    display: inline-block;
    width: 20%;
    max-width: 100px;
}

.icon {
    display: inline-block;
    vertical-align: bottom;
}

.panel-heading {
    position: relative;
}

.panel-heading-cta {
    position: absolute;
    top: 5px;
    bottom: 5px;
    right: 10px;
    margin: auto;
}

.panel-bg {
    background: #fff9d9;
}

@media screen and (max-width: 1210px) {
    .panel-heading-cta {
        position: relative;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .h4,
    h4 {
        font-size: 16px;
    }

    legend {
        font-size: 18px;
    }
}

.checkbox:before {
    display: block;
    top: 50%;
    margin-top: -11px;
    width: 8px;
    height: 14px;
    left: 20px;
    border-radius: 0;
    background: none;
    border-right: 3px solid #53b300;
    transform: rotate(45deg);
    content: '';
    opacity: 0;
    z-index: 2;
}