@charset "utf-8";
/* CSS Document */

/* fukagawa-hp.or.jp
-----------------------------------------------------*/
#title {
    background-image: url("image/title_inquiry.jpg");
}
#title h1 {
    background-image: url("image/title_inquiry_icon.png");
}
@media screen and (max-width: 640px) {
    #title {
        background-image: url("image/title_inquiry_sp.jpg");
    }
}

main {
    max-width: 980px;
}
.contact {
    margin-bottom: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid #d9d9d9;
}
.contact,
.contact a {
    color: #e93e3e;
}
.contact strong {
    margin-bottom: 50px;
    font-size: 26px;
}
.contact dl {
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid #d9d9d9;
}
.contact .call::before {
    background-image: url(image/main_call.svg);
}
@media screen and (min-width: 601px) {
    .contact strong br {
        display: none;
    }
}
@media screen and (max-width: 1000px) {
    .contact strong {
        margin-bottom: clamp(1.25rem, -0.625rem + 6vw, 3.125rem);
        font-size: clamp(1.25rem, 0.875rem + 1.2vw, 1.625rem);
    }
}

form {
    max-width: 800px;
    margin: 50px auto;
}
form p + dl {
    margin-top: 70px;
}
form strong {
    color: #e93e3e;
}

form dt {
    margin-bottom: 0.5em;
}
form dt strong {
    /* padding-left: 2em; */
}
form dt span {
    padding-left: 2.5em;
    color: #747474;
}

form dd {
    margin-bottom: 1.6em;
}
form dd label {
    display: inline-block;
    margin: 0.5em 2.5em 0.7em 0;
}
form dd label:last-of-type {
    margin-right: 0 !important;
}
@media screen and (max-width: 600px) {
    form dd label {
        margin-right: 1.5em;
    }
}

#confirm dd {
    padding: 1em;
    background: #f5f5f5;
}
#confirm dd#category {
    background: none;
}

input[type="text"],
input[type="email"],
textarea,
button {
    font-size: 100%;
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    max-width: 630px;
	outline: none;
    padding: 1em 0.75em;
    border-radius: 10px;
    background: #f5f5f5;
    border: 2px solid #d9d9d9;
}
input[name="address"],
textarea {
    max-width: 770px;
}
input[name="postcode"] {
    max-width: 270px;
}
textarea {
    resize: vertical;
    height: 400px;
}
@media screen and (max-width: 600px) {
    textarea {
        height: clamp(12.5rem, -8.333rem + 66.67vw, 25rem);
    }
}

::placeholder {
    color: #808080;
}

span.error {
    display: block;
    margin-top: 0.2em;
    font-size: 14px;
    color: #d00;
}
#input_error {
    display: flex;
    justify-content: center;
    margin: 2em auto;
    padding: 1em 1.5em;
    border: 1px solid #e33131;
    text-align: left;
    color: #e33131;
    font-size: 16px;
}

/* ==============================================
    radio / checkbox
============================================== */
input[type="radio"],
input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    transition: all .4s;
    margin-right: -37px;
}
input[type="radio"]::before,
input[type="radio"]::after,
input[type="checkbox"]::before,
input[type="checkbox"]::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    border: 2px solid #d9d9d9;
    background: #f5f5f5;
}
input[type="radio"]::before,
input[type="checkbox"]::before {
    /* box-shadow: inset 3px 3px 5px rgba(0,0,0,.1); */
}
input[type="radio"]::after,
input[type="checkbox"]::after {
    transform: translateX(-100%) scale(64%);
    background: #20a7ac;
    border-color: #20a7ac;
    visibility: hidden;
}
input[type="radio"]::before,
input[type="radio"]::after {
    border-radius: 2.3em;
}
input[type="checkbox"]::before,
input[type="checkbox"]::after {
    border-radius: 2px;
}
input[type="radio"]:checked::after,
input[type="checkbox"]:checked::after {
    visibility: visible;
}
@media screen and (max-width: 600px) {
    input[type="radio"],
    input[type="checkbox"] {
        margin-right: -30px;
    }
    input[type="radio"]::before,
    input[type="radio"]::after,
    input[type="checkbox"]::before,
    input[type="checkbox"]::after {
        width: 32px;
        height: 32px;
    }
}

/* ==============================================
    btn
============================================== */
/* #agreeBtn {
    margin-bottom: 40px;
    font-size: 14px;
}
#agreeBtn a {
    color: #16b2d9;
    text-decoration: none;
    font-weight: 500;
}
#agreeBtn span {
    margin-left: 1.2em;
}
input[type="submit"]:disabled {
    pointer-events: none;
    background-color: #ddd;
} */

.button {
    margin-top: 2em;
    text-align: center;
}
.button.btn a {
    margin-top: 0.5em;
}

.button input,
.button button {
    border: none;
    outline: none;
    cursor: pointer;
}
.button span {
    position: relative;
    display: inline-block;
    width: 85%;
    max-width: 350px;
    font-size: 22px;
}
.button span::after {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 2.45em;
    height: 2.45em;
    background: url("image/arrow_g.svg") no-repeat center center #fff;
    background-size: 24px auto;
    border-radius: 50%;
}
input[type="submit"] {
    width: 100%;
    padding: 1.2em 1em 1.2em 3em;
    border-radius: 49px;
    background: #57c0c4;
    color: #fff;
    font-size: 100%;
}
input[type="reset"],
button[type="button"] {
    width: 210px;
    margin-top: 1em;
    padding: 1.2em;
    border-radius: 33px;
    background: #747474;
    color: #fff;
}
@media (hover: hover) {
	.button input:hover {
		opacity: 0.7;
	}
}
@media screen and (max-width: 1000px) {
    .button span {
        font-size: clamp(1.125rem, 0.975rem + 0.64vw, 1.375rem);
    }
}

#captcha_confirm {
    text-align: center;
}
#captcha_confirm iframe {
    margin: 0 auto;
}

/* ==============================================
    close
============================================== */
#close.contact {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
#close.contact p {
    display: flex;
    justify-content: center;
    text-align: left;
    margin-bottom: 2em;
    font-size: 1.125em;
}

/* ==============================================
    thanks
============================================== */
#thanks p {
    display: flex;
    justify-content: center;
    text-align: left;
    font-size: 1.125em;
}
