@charset "UTF-8";

.hozkswtpform {
    margin-top: 4rem;
    font-size: 20px;
}

.hozkswtpform label {
    font-weight: normal;
}

.hozkswtpformSoryoBtn {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hozkswtpformSoryoBtn a {
    display: block;
    padding: 0.5rem;
    width: 15rem;
    text-align: center;
    background-color: #ea7f85;
    color: #fff;
}

.hozkswtpform h2 {
    text-align: center;
    line-height: 2;
    margin-bottom: 10rem;
}

.hozkswtpformItem {
    justify-content: space-between;
    margin-bottom: 3rem;
}

.hozkswtpformTitle {
    width: 37%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hozkswtpformTitleTxt {
    width: calc(100% - 8rem);
}

.hozkswtpformInput {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hozkswtpformInput2 {
    justify-content: flex-end;
}

.hozkswtpformInput3 {
    width: 60%;
}

.hozkswtpformInput3Inner {
    width: calc(90% - 2rem);
}

.hozkswtpformInput3 div {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-right: 1rem;
}

.hozkswtpformInput3 div input {
    width: auto;
    margin-right: 1rem;
    padding: 0;
}

.hozkswtpformInput3 div input[type="text"] {
    margin-left: 1rem;
}

.hozkswtpformInput4 {
    display: flex;
    flex-wrap: wrap;
    width: 63.5%;
    align-items: flex-start;
    margin-bottom: 10rem;
}

.hozkswtpformInput span {
    width: 6%;
    margin: 0 2%;
}

.hozkswtpformInput select,
.hozkswtpformInput input,
.hozkswtpformInput textarea {
    width: 100%;
    padding: 1rem;
}

.hozkswtpformInputPhone,
.hozkswtpformInputPostal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: calc(90% - 2rem);
}

.hozkswtpformInputPostal {
    width: calc(90% - 2rem);
    justify-content: flex-start;
}

.hozkswtpformInputPhone input {
    width: 30%;
}

.hozkswtpformInputPostal input:first-child {
    width: 20%;
    margin-right: 0.5rem;
}

.hozkswtpformInputPostal input:nth-child(2) {
    width: 30%;
    margin-left: 0.5rem;
}

.hozkswtpform input[type="submit"],
.hozkswtpform button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    background-color: #5bb432;
    color: #fff;
    margin: 2rem auto;
    width: 60%;
    min-width: 20rem;
    padding: 0.5rem;
    display: block;
    font-family: inherit;
    line-height: inherit;
}

.hozkswtpform button {
    background-color: #ea7f85;
}

.hozkswtpformInputSendTime {
    width: calc(90% - 2rem);
    justify-content: flex-start;
}

.hozkswtpformInputSend select {
    width: 7rem;
    margin-right: 1rem;
}

.hozkswtpformInputMessage {
    width: calc(90% - 2rem);
    justify-content: flex-start;
}

.hozkswtpformInputMessage input {
    width: auto;
}

#addBtn,
.addBtn {
    background-color: #ea7f85;
    margin: 15px auto;
    max-width: 480px;
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: none;
}

#reduceBtn,
.reduceBtn {
    background-color: #5bb432;
    margin: 15px auto;
    max-width: 480px;
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

#addBtn svg,
.addBtn svg,
#reduceBtn svg,
.reduceBtn svg {
    margin: 0 15px 0 0;
    width: 20px;
    height: auto;
}

.req {
    height: 1.2em;
    text-align: center;
    background-color: #e50111;
    color: #fff;
    border-radius: 5px;
    min-width: 4rem;
}

span.errorMassage {
    text-align: center;
    background-color: #e50111;
    color: #fff;
    border-radius: 5px;
    width: 22rem;
    margin-top: 1rem;
    margin-left: auto;
    padding: 0 0.5rem;
}

.cofItem {
    margin-bottom: 2rem;
    justify-content: space-between;
}


.toggle-area {
    display: block;
    /* /* 初期非表示 */
    padding: 15px;
    margin-top: 10px;
}

.shipping-block {
    display: none;

    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 15px;
    border-radius: 4px;
    background: #fafafa;
}

.shipping-block h4 {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 0 15px;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 20px;
    background-color: #ea7f85;
}

.shipping-block label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.shipping-block input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.remove-shipping {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 5px;
}

.remove-shipping:hover {
    background: #c0392b;
}

.js-error {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-bottom: 5px;
}

.js-error:empty {
    display: none;
}

input[name="submitConfirm"] {
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* 確認画面では追加ボタンエリアを非表示 */
.mw_wp_form_confirm .toggle-area {
    display: none !important;
}

/* 確認画面では全shipping-blockを初期非表示 */
.mw_wp_form_confirm .shipping-block {
    display: none;
}

/* 確認画面では追加ボタン・削除ボタンを非表示 */
.mw_wp_form_confirm .toggle-area,
.mw_wp_form_confirm .remove-shipping {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .hozkswtpformTitle {
        width: 100%;
        margin-bottom: 1rem;
    }

    .hozkswtpformInput {
        width: 100%;
    }

    .hozkswtpformSoryoBtn {
        justify-content: center;
    }

    .hozkswtpformInput4 {
        width: 100%;
    }

    .hozkswtpformInput4 label {
        width: 90%;
        margin-left: auto;
    }

    .cofItem .hozkswtpformTitle {
        padding-bottom: 1rem;
        border-bottom: 1px solid #525263;
    }

    .hzkswtpSendMessage {
        text-align: center;
        margin-top: 10rem;
    }

    .hozkswtpformInput3Inner {
        width: 100%;
    }
}