.page-home .news {
    padding-top: 0;
}

.page-sub {
    padding-top: 80px;
}

@media only screen and (max-width: 768px) {
    .page-sub {
        padding-top: 40px;
        padding-bottom: 60px;
    }
}

.page-sub .inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

@media only screen and (max-width: 1001px) {
    .page-sub .inner {
        padding: 0 15px;
    }
}

.member .form__button .button__item button:disabled {
    border: none;
}

.member--form .form__block--phone input[type="text"],
.member--form .form__block--line input[type="text"] {
    width: 30%;
}

.mypage .host_list--result_list .profile_btns .btn-white.favorited {
    border: solid 2px #eb6877;
    color: #eb6877;
}

.mypage .dog_profile--detail_table .form__select {
    position: relative;
    display: inline-block;
    width: 100%;
    border: solid 1px #c9caca;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.4;
}

.mypage .dog_profile--detail_table .form__select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    bottom: 0;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 5.5px 0 5.5px;
    border-color: #63b5a7 transparent transparent transparent;
    pointer-events: none;
}

.mypage .dog_profile--detail_table .form__select select {
    width: 100%;
    height: 40px;
    line-height: normal;
}

.request .request-host_title {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.request .request-host_title .photo {
    width: 45px;
    margin-right: 10px;
}

.request .request-host_title .name {
    font-size: 18px;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .request .request-host_title .name {
        font-size: 16px;
    }
}

.request form dl {
    align-items: center;
}

.mypage_hostDetail .page_title {
    justify-content: space-between;
}

.mypage_hostDetail .page_title h2 {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.mypage_hostDetail .profile_btns {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    transition: all 0.3s 0s ease;
    -webkit-transition: all 0.3s 0s ease;
    -moz-transition: all 0.3s 0s ease;
    -o-transition: all 0.3s 0s ease;
}

.mypage_hostDetail .profile_btns a:link:hover,
.mypage_hostDetail .profile_btns a[href]:hover {
    opacity: 0.6;
    filter: alpha(opacity=0.6);
    -ms-filter: "alpha(opacity=0.6)";
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
}

@media only screen and (max-width: 768px) {
    .mypage_hostDetail .profile_btns {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
        display: flex;
        justify-content: space-between;
    }
}

.mypage_hostDetail .profile_btns .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 40px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.05em;
}

@media only screen and (max-width: 768px) {
    .mypage_hostDetail .profile_btns .btn {
        width: 120px;
        height: 40px;
        font-size: 12px;
    }
}

.mypage_hostDetail .profile_btns .btn-green {
    background-color: #63b5a7;
    border: solid 2px #63b5a7;
    color: #fff;
}

.mypage_hostDetail .profile_btns .btn-white {
    background-color: #fff;
    border: solid 2px #63b5a7;
    color: #63b5a7;
}

.mypage_hostDetail .profile_btns .btn-white.favorited {
    border: solid 2px #eb6877;
    color: #eb6877;
}

.mypage_hostDetail .profile_btns .btn+.btn {
    margin-top: 11px;
}

@media only screen and (max-width: 768px) {
    .mypage_hostDetail .profile_btns .btn+.btn {
        margin-top: 0;
    }
}

.modal-host_searth .form__block--input input[type="text"] {
    width: 180px;
}

@media only screen and (max-width: 768px) {
    .modal-host_searth .form__block--input input[type="text"] {
        width: 70%;
    }
}

.modal-host_searth .form__block--payment_amount .form__block--input input[type="text"] {
    width: 140px;
}

@media only screen and (max-width: 768px) {
    .modal-host_searth .form__block--payment_amount .form__block--input input[type="text"] {
        width: 100px;
    }
}

.mypage_hostProfile_edit .absence-time_block,
.mypage_hostProfile_edit .breeding-history_block {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.mypage_hostProfile_edit .absence-time_block input[type="text"],
.mypage_hostProfile_edit .breeding-history_block input[type="text"] {
    width: 50px;
    margin: 0 5px;
}

.mypage_hostProfile_edit .form__select {
    position: relative;
    display: inline-block;
    width: 100%;
    border: solid 1px #c9caca;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.4;
}

.mypage_hostProfile_edit .form__select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    bottom: 0;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 5.5px 0 5.5px;
    border-color: #63b5a7 transparent transparent transparent;
    pointer-events: none;
}

.mypage_hostProfile_edit .form__select select {
    width: 100%;
    height: 40px;
    line-height: normal;
}

.mypage_hostProfile_edit .form__checkbox .bca-checkbox {
    margin-right: 6px;
}

.mypage_hostProfile_edit .form__checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: solid 1px #dcdddd;
    border-radius: 4px;
    vertical-align: -4px;
    cursor: pointer;
}

.mypage_hostProfile_edit .form__checkbox input[type="checkbox"]:checked {
    background-color: #63b5a7;
    border: solid 2px #63b5a7;
}

.mypage_hostProfile_edit .form__checkbox input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    width: 14px;
    height: 14px;
    background: url(../img/member/icon_check.svg) no-repeat center center;
    background-size: 100%;
}

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

.mypage_hostProfile_edit .form__redio input[type="radio"]:checked+label::after {
    content: "";
    display: block;
    position: absolute;
    top: 6px;
    left: 1px;
    width: 12px;
    height: 12px;
    background: #63b5a7;
    border-radius: 50%;
}

.mypage_hostProfile_edit .form__redio label {
    padding-left: 20px;
    position: relative;
}

.mypage_hostProfile_edit .form__redio label::before {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: -2px;
    width: 18px;
    height: 18px;
    border: 1px solid #dcdddd;
    border-radius: 50%;
}

.member .forget_text {
    margin-top: 20px;
}

.member--form .info-message,
.member--form .notice-message {
    padding: 5px 10px;
    background-color: #68aceb;
    border-radius: 10px;
    color: #fff;
}

.mypage .form__error {
    display: block;
    width: 100%;
    margin-top: 5px;
    color: #eb6877;
    font-size: 15px;
}

.mypage .alert-message {
    margin-bottom: 12px;
    padding: 5px 10px;
    background-color: #eb6877;
    border-radius: 10px;
    color: #fff;
}

.mypage_dogProfile_edit .dog_profile--detail .name {
    margin-bottom: 14px;
}

.mypage_dogProfile_edit .dog_profile--detail .birth-month {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.mypage_dogProfile_edit .dog_profile--detail .birth-month>*:not(:last-child) {
    margin-right: 4px;
    text-align: right;
}

.mypage_dogProfile_edit .dog_profile--detail .sex {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.mypage_dogProfile_edit .dog_profile--detail .sex .bca-radio-group {
    width: 100%;
}

.mypage_dogProfile_edit .dog_profile--detail .sex .bca-radio__input {
    display: none;
}

.mypage_dogProfile_edit .dog_profile--detail .sex .bca-radio__input+label {
    padding-left: 20px;
    position: relative;
}

.mypage_dogProfile_edit .dog_profile--detail .sex .bca-radio__input+label::before {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: -2px;
    width: 18px;
    height: 18px;
    border: 1px solid #dcdddd;
    border-radius: 50%;
}

.mypage_dogProfile_edit .dog_profile--detail .sex .bca-radio__input:checked+label::after {
    content: "";
    display: block;
    position: absolute;
    top: 6px;
    left: 1px;
    width: 12px;
    height: 12px;
    background: #63b5a7;
    border-radius: 50%;
}

.mypage_dogProfile_edit .dog_profile--detail .castration .bca-checkbox__input {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-color: #fff;
    border: solid 1px #dcdddd;
    border-radius: 4px;
    vertical-align: -4px;
    cursor: pointer;
}

.mypage_dogProfile_edit .dog_profile--detail .castration .bca-checkbox__input:checked {
    background-color: #63b5a7;
    border: solid 2px #63b5a7;
}

.mypage_dogProfile_edit .dog_profile--detail .castration .bca-checkbox__input:checked:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    width: 14px;
    height: 14px;
    background: url(../img/member/icon_check.svg) no-repeat center center;
    background-size: 100%;
}

.mypage_dogProfile_edit .form__button .bca-checkbox label {
    cursor: pointer;
}

.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .status_block {
    padding: 15px 10px 0;
}

.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .birth-month,
.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .sex,
.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .castration {
    display: flex;
    text-align: left;
    margin-bottom: 6px;
}

.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .birth-month>*:first-child,
.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .sex>*:first-child,
.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .castration>*:first-child {
    flex: 1;
    margin-bottom: 0;
}

.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .birth-month>*:last-child,
.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .sex>*:last-child,
.mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .castration>*:last-child {
    flex: 1;
}

@media only screen and (max-width: 768px) {
    .mypage .form__error {
        font-size: 12px;
    }

    .mypage .alert-message {
        font-size: 13px;
    }

    .mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .birth-month>*:first-child,
    .mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .sex>*:first-child,
    .mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .castration>*:first-child {
        flex: 4;
    }

    .mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .birth-month>*:last-child,
    .mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .sex>*:last-child,
    .mypage:not(.mypage_dogProfile_edit) .dog_profile--detail .column .castration>*:last-child {
        flex: 6;
        font-size: 12px;
    }

    .member--form .form__block--password .form__block--head {
        padding: 15px 0 14px !important;
    }
}

.mypage_dogProfile #MessageBox,
.mypage_ownerProfile #MessageBox {
    margin-bottom: 32px;
    color: #0087bc;
    font-size: 15px;
}

.mypage_dogProfile .dog_profile--detail .column img {
    width: max-content;
}

.member--form .form__block--tel input[type="text"] {
    width: 40%;
}

.member--form .form__block--image input[type="file"] {
    display: block;
}

.member--form .form__block--birth .form__select {
    width: auto;
}

.member--form .form__select:after {
    right: 10px;
}

.member--form .form__block--birth .form__select select {
    padding: 10px 34px 10px 20px;
}

.mypage_ownerProfile_edit .member--form h3 {
    margin-bottom: 10px;
}

#message_list .msg_main {
    margin: 0;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 6px;
}

#message_output .msg_main {
    max-width: 90%;
    margin: 0;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 6px;
    overflow: visible;
}

#message_output .msg_main.sender_msg {
    position: relative;
    right: 22px;
    background-color: #63b5a7;
    color: #fff;
    margin-left: auto;
}

#message_output .msg_main.sender_msg::after {
    content: "";
    position: absolute;
    top: 3px;
    right: -20px;
    border: 8px solid transparent;
    border-left: 19px solid #63b5a7;
    -webkit-transform: rotate(-35deg);
    transform: rotate(-35deg);
}

#message_output .msg_main.receiver_msg {
    position: relative;
    left: 22px;
    background-color: #f0f0f0;
    color: #333;
    margin-right: auto;
}

#message_output .msg_main.receiver_msg::after {
    content: "";
    position: absolute;
    top: 3px;
    left: -20px;
    border: 8px solid transparent;
    border-right: 19px solid #f0f0f0;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
}

.header_nav--list_pc {
    align-items: center;
}

.host_profile--tab-group input {
    -webkit-text-fill-color: black;
    opacity: 1;
}

.host_profile--detail_table .form__checkbox .bca-checkbox__input {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-color: #fff;
    border: solid 1px #dcdddd;
    border-radius: 4px;
    vertical-align: -4px;
    cursor: pointer;
}

.host_profile--detail_table .form__checkbox .bca-checkbox__input:checked {
    background-color: #63b5a7;
    border: solid 2px #63b5a7;
}

.host_profile--detail_table .form__checkbox .bca-checkbox__input:checked:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    width: 14px;
    height: 14px;
    background: url(../img/member/icon_check.svg) no-repeat center center;
    background-size: 100%;
}
