
.content_area{
    padding-top: 180px;  
  }
  .content_img{
    height:50vh;
    max-height: 760px;
    width: 90%;
    margin: 0 auto;
    min-height :300px;
    object-fit: cover;
    margin-top: 30px;
}
.content_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% center;
}
.content_ttl{
    width: 90%;
    margin: 0 auto;
      font-family: var(--font_en_ttl);
      font-size: 18px;
      letter-spacing: 2px;
      line-height: 150%;
      font-weight: 400;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
      color: var(--fcolor);
}
.content_block{
    width: 90%;
    margin: 0 auto;

}
.contact_area{
    background-color: var(--bgcolor2);
    margin-top: 40px;
    border-radius: 3px;
}
.tel_area{
    margin-top: 30px;
}
.contact_wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content:space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    column-gap: 20px;
     width: 90%;
     margin: 0 auto;
}
.modal-open{
    width: 100%;
    padding: 0;
    background-color: var(--bgcolor2);
    margin: 0;
    border: 0;
    position: relative;
}
.contact_txt{
    color: #fff;
    font-family: var(--font_en_ttl);
    font-size: 13px;
letter-spacing: 0.18em;
color: #fff;
}
.contact_area img{
    width: 45px;
    height: 45px;
}
.contact_note{
    color: #fff;
    font-family: var(--font_jp_txt);
    width: 90%;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    padding-bottom: 20px;
    letter-spacing: 0.14em;
    line-height: 200%;
    font-size: 12px;
}
.contact_span1{
    font-size: 14px;
}
.contact_span2{
    font-size: 13px;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
    z-index:99 ;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
	position:fixed;
	display: inline-block;
	vertical-align: middle;
	width: 100%;
height: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
background: var(--bgcolor2);
overflow-y: scroll;
}
/*モーダルを閉じるボタンの指定*/
.modal-close,.modal-close_php{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
top:40px;
    right: 5%;
	width: 25px;
	height: 25px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
    margin: 0 auto;
        margin: auto;
        width: 90%;
        max-width: 600px;
text-align: center;
margin-top: 40px;
overflow-y: scroll;

}
.modal_icon{
    width: 84px;
    margin: 0 auto;
}
.modal-content > dl{
    color: #fff;
}
.formBox > dl {
    width: 100%;
    text-align: left;
    padding-bottom: 20px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
}
.formBox > dl dt {
    width: 100%;
    padding-bottom: 5px;
    color: #fff;
    font-family: var(--font_jp_txt);
}
.formBox > dl.know {
    display: block;
}
.formBox > dl.know dt {
    width: 100%;
}
.formBox > dl dd {
    width: 100%;
    border-bottom: solid 1px #fff;
}
.formBox > dl.name dd{
    flex-wrap: wrap;
    width: 47%;
    color: #fff;
    border-bottom: solid 1px #fff;
    padding-bottom: 10px;
    background-color: transparent;
    display: flex;
}
 .formBox > dl dd input {
    background:transparent;
    color: #fff;
    border: none;
    box-sizing: border-box;
    width: 100%;
    outline: none;
}
#email1,#email1_conf,#tel,#how_know{
    width: 100%;
    height: 25px;
}
.notice{
    border-bottom: none !important;
    margin-top: 10px;
    text-align: right;
    font-size: 12px;
    color: #fff;
    font-family: var(--font_jp_txt)
}
.formBox > div textarea {
    width: 90%;
    min-height: 180px;
    padding: 10px 15px;
    background-color: transparent;
    border: #fff 1px solid;
    color: #fff;
}
.formBox > div {
    width: 100%;
    text-align: left;
    padding: 15px 0 0;
}
.conf{
    width: 100%;
    max-width: 180px;
    height: 40px;
    color: #fff;
    border: #fff 1px solid;
    background-color: transparent;
}
.btnBox{
    margin-top: 30px;
    margin-bottom: 80px;
}
.know{
    margin-top: 20px;
}

@keyframes onAutoFillStart { from {} to {}}

input:-webkit-autofill {
animation-name: onAutoFillStart;
transition: background-color 50000s ease-in-out 0s;
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset;
}
.modal-content{
    -ms-overflow-style: none;
    /*スクロールバー非表示（Firefox）*/
    scrollbar-width: none;
}
@media screen and (min-width:768px){
    .content_block {

        width: 90%;
    }
    .contact_area{
        width: 100%;
        height: fit-content;
        margin-top: 0;
    }
    .content_img{
        margin-top: 0;
    }
    .tel_area{
        margin-top: 0px;
    }
    .content_wrap {
        width: 100%;
        margin: 0 auto;
        margin-top: 40px;
        max-width: 1000px;
    }
    .content_img{
        aspect-ratio: 16/7;
        min-height: 500px;
    }
    .content_img img{
object-position:center 65%;

    }
    .footer_sub_left{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 20px;
    }
    .footer_tel{
        margin-top: 0;
    }
    .contact_txt{
        font-size: 14px;
    }
    .content_block{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        align-items: center;
        justify-content: center;
    }
    .content_block{
        margin-top: 40px;
    }
}
@media screen and (min-width:1024px){
    .content_wrap{
        width: 100%;
        margin: 0 auto;
        margin-top: 40px;
        max-width: 1360px;
    }

    .content_ttl{
        max-width: 1360px;
    }
    .content_block{
        column-gap: 40px;
        width: 90%;
        max-width: 1200px;
        margin-top: 80px;

    }
    .contact_area{
        width: 100%;
        margin: 0;
    }
    .contact_wrap{
        padding-top: 20px;
        padding-bottom: 20px;

    }
    .contact_note{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .content_img{
        margin-top: 0;
        aspect-ratio: 16/9;
    }
    .content_img img{
        object-fit: cover;
    }
    .content_ttl {
        font-size: 24px;
    }
    .contact_txt{
        font-size: 16px;
    }
    .contact_span1{
        font-size: 20px;
    }
    .contact_span2{
        font-size: 15px;
        margin-top: 10px;
    }
    .contact_span3{
        margin-top: 40px;
    }


    
}