@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&display=swap');
*{
	font-family: "BIZ UDPGothic", sans-serif;
	font-size:14px;
	line-height: 1.8;
	padding:0;
	margin:0;
}
:root {
	--main-color: #0099e2;
}
html {
    scroll-behavior: smooth;
}
a{
	color:#444;
}
a:visited{
	color:#888
}
body,
body>div{
	width:100%;
    background: #eee;
}
header {
    background: #d2101b;
    height: 4rem;
    width: 100%;
}
header img{
    object-fit: contain;
    height: 3rem;
    margin: 0.5rem;
}
.all_container{
	width:1200px;
	margin:0 auto;
    background: #fff;
}
.content_container {
    width: 100%;
}
.content_container .content_image img {
    width: 100%;
}
.content_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 2rem 0;
}
.content_btn .btn_caption {
    font-size: 1.6rem;
    color: var(--main-color);
}
.deployment_btn {
    width: 25%;
    height: 4rem;
    border-radius: 3rem;
    background: var(--main-color);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}
.deployment_btn a {
    width: 100%;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
}
.main_container{
    display: flex;
    flex-wrap: wrap;
}

#infoForm{
	width:100%;
	margin:0 1%;
    margin-bottom: 4rem;
}

#infoForm .form_title{
    text-align: center;
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-top: solid 2px var(--main-color);
    border-bottom: solid 2px var(--main-color);
    font-size: 1.5rem;
    font-weight: bold;
}
#infoForm>section{
	border-radius: 5px;
    box-shadow: 0 10px 20px 0 rgb(0 0 0 / 20%);
    padding: 2rem 10%;
}
form .form-item {
    display: flex;
    margin:2rem 0;
    align-items: center;
}
form .form-item p.form-item-label {
    width: 9rem;
    margin-left:0.2rem;
}
form .form-item>span{
	/*background: #d2101b;*/
    background: var(--main-color);
    color: #fff;
    font-size: 1.2rem;
    width: 5rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}
form .form-item>span.any{
	background:#888;
}
.form-item input{
	padding: 0.5rem;
    background-color: #fff;
    border: solid 1px;
    border-color: #888;
    border-radius: 5px;
    width: 30rem;
    /*font-size: 1.5rem;*/
    height: 1.2rem;
}
.form-item .consent label{
	display: flex;
    justify-content: center;
    align-items: center;
}
.form-item .consent input{
	width: 1.3rem;
    height: 1.3rem;
    margin: 0;
}
/*
form.form>input {
    width: 50%;
    height: 6rem;
    margin: 2rem 25% 5rem 25%;
    font-size: 2.5rem;
    border-radius: 10px;
    background: #d2101b;
    border: none;
    color: #fff;
    cursor: pointer;
}
*/

.form-item textarea {
    padding: 0.5rem;
    background-color: #fff;
    border: solid 1px;
    border-color: #888;
    border-radius: 5px;
    width: 30rem;
    height: 10rem;
}

.inquiry_type {
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    margin: 1rem 0;
}

.inquiry_type input {
    width: 1rem;
}

.completion_massage {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem 1rem;
}
.completion_massage .form-btn {
    width: 5rem;
    height: 2rem;
    font-size: 1.2rem;
    border-radius: 10px;
    background: var(--main-color);
    border: none;
    color: #fff;
    cursor: pointer;
    margin: 1rem 0;
}


footer {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}
footer ul {
    display: flex;
    justify-content: center;
}
footer ul li{
	list-style:none;
	margin:0.5rem;
}

@media (max-width: 1000px){
    .all_container{
        width:100%;
    }
}
@media (max-width: 680px){
    *{
        font-size:18px;
    }
	.all_container{
		width:100%;
	}
    .content_container>.content_image {
        width: 100%;
        overflow: hidden;
    }
    .content_container>.content_image>img {
        object-fit: cover;
        width: 140%;
        height: 100%;
        margin-left: -20%;
    }
    .content_container .content_btn .btn_caption {
        font-size: 1.2rem;
        height: 2rem;
        margin: 0.5rem auto;
    }
    .footer_content_container {
        margin-top: 2rem;
    }
    .deployment_btn {
        width: 60%;
        margin: 0 auto 2rem auto;
        font-size: 1.4rem;
        height: 3rem;
    }
    .deployment_btn a {
        font-size: 1rem;
    }
	#infoForm{
		width:100%;
		margin:0;
		padding:0 0.5rem;
	}
	#infoForm>section{
        width: calc(100% - 1rem);
        padding: 0.5rem;
	}
    form .form-item {
        flex-wrap: wrap;
    }
	.form-item input{
	    width: 80%;
        margin: 0 auto;
	}
    .form-item textarea{
	    width: 80%;
        margin: 0 auto;
	}
    .inquiry_type {
        margin:5% 5%;
    }
    .inquiry_type input {
        width: 1rem;
    }
    footer ul {
        flex-direction: column;
    }
}