/* CSS Document */

/* CSS Document */


#mail-form .main-area-title h3 {
	border-bottom: 10px solid #00425b;
}

.inquiry-text p span{
	display: block;
	line-height: 1.8;
	color: #333;
}

#mail-form .inquiry-form{
	margin-top: 30px;
}

form {
    width: 100%;
	max-width: 1100px;
    margin: auto;
}

.form-row {
	display: flex;
	padding: 10px 0;
	flex-direction: row;
}

.form_btn{
	display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 20px;
	margin-bottom: 20px;
}


.form-row:last-child {
	border-bottom: none;
	justify-content: flex-end;
}

.form-label {
	display: flex;
	align-items: center;
	width: 350px;
	flex-direction: row;
}

.form-label label {
	font-weight: 600;
	font-size: 1.1rem;
}

.form-label span {
	margin-right: 10px;
	padding: 2px 6px;
	font-size: 12px;
	font-weight: 400;
	color: #fff;
	background-color:#B7210D;
}

.any{
	margin-right: 10px;
	padding: 2px 6px;
	font-size: 12px;
	font-weight: 600;
	color:#B7210D;
	background-color: #fff;
	border: 1px solid #B7210D;
}

/* フォームパーツのデザイン */
input, textarea, select {
	background: #fff;
	padding: 15px 20px;
	color: #333;
	flex-grow: 1;
	border: 1px solid #333;
	font-weight: 500;
	font-size: 1.1rem;
	width: 100% !important;
}

select::placeholder,
input::placeholder,
textarea::placeholder{
	color: #999;
	font-weight: 600;
}

select{
	border: 1px solid #333;
	padding: 15px 20px;
	color: #151515;
	cursor: pointer;
}

select:hover{
	background: #f5f5f5;
}

.inquiry_send_btn{
	text-align: center;
	width: 200px;
	cursor: pointer;
	padding: 10px;
	border: 1px solid #000A63;
	color: #fff;
	font-weight: 500;
	background: #000A63;
	font-size: 1.15rem;
	line-height: 1;
	letter-spacing: 0.1rem;
	transition: all 800ms;
	align-items: center;
    justify-content: center;
    display: flex
;
}

.inquiry_send_btn:hover {
	color: #000A63;
	border: 1px solid #000A63;
	background-color: #fff;
	letter-spacing: 3px;
}

.form-row button i{
    font-size: 15px;
    margin-right: 5px;
}

#message{
	min-height: 200px;
	width: 100%;
}

.red-text-corner{
	width: 100%;
}



/* inquiry form */



@media(max-width:760px){
	form {
		padding: 0;
	}
}


@media(max-width:600px){
	
	
	form {
    	margin: 0 auto 0;
    	padding: 0;
	}
	
	#mailform{
		display: flex;
    	flex-direction: column;
    	gap: 15px;
	}
	
	.form-row {
		padding: 0;
		flex-direction: column;
	}
	
	
	.form-label label, input, textarea, select {
        font-size: 1rem;
    }
	
	.form-label span {
    	margin-right: 0;
    	padding: 1px 4px;
    	font-size: 10px;
	}
	
	.form-row:last-child {
		border-bottom: none;
		justify-content: center;
		text-align: center;
		display: flex;
		align-items: center;
	}
	
	
	.form-label label {
		font-size: 14px;
		padding-left: 5px;
	}
	
	.any {
		margin-right: 0;
		padding: 1px 4px;
		font-size: 10px;
	}
	
	.menu-list .item h5 {
    	font-size: 23px;
	}
	
	.acd-label {
    	margin-top:20px;
		margin-bottom: 1px;
    	font-size: 16px;
	}
}





/* privacy*/

.privacy_area{
	padding: 40px 0 20px;
    margin: auto;
}

.check_privacy{
	margin-top:20px;
	background: #f3f3f3;
    padding: 10px;
    border-radius: 3px;
	
}


.check_privacy label{
    font-size: 1.1rem;
	color: #c20009;
	font-weight: 600;
}

.private_check_ps{
	margin-top: 20px;
}

.check_ps{
    font-size: 0.95rem;
}


.acd-check{
    display: none;
}

.acd-label{
	color: #333;
    display: block;
    margin-bottom: 1px;
    padding: 0 10px;
    font-size: 1.2rem;
    position: relative;
    cursor: pointer;
    border-bottom: 1px solid #333;
    text-align: center;
    transition: all 800ms;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
}

.acd-label::before{
    position: absolute;
    content: '';
    display: block;
    width: 1px;
    height: 12px;
	background: #333;
    right: 20px;
    top: 50%;
	transform: translateY(-50%);
	transition: ease .5s;
}

.acd-label::after{
    position: absolute;
    content: '';
    display: block;
    width: 12px;
    height: 1px;
    background: #333;
    right: 15px;
    top: 50%;
    transition: ease .5s;
    transform: translateY(-50%);
}

.acd-label:hover{
	letter-spacing: 2px;
}

.acd-label:hover::before,
.acd-label:hover::after{
	transform: translateY(-50%) rotate(45deg);
}

.acd-check:checked + .acd-label::after,
.acd-check:checked + .acd-label::before{
	 transform: translateY(-50%) rotate(45deg);
}

.scroll_bar_des p,
.scroll_bar_text p{
	text-align: left;
}


.acd-content{
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
	border-radius: 5px;
}

.acd-check:checked + .acd-label + .acd-content{
    opacity: 1;
    padding: 10px 0;
    visibility: visible;
	height: 300px;
}



/* privacy content */

.privacy{
	font-family: "Noto Sans JP", serif;
	text-align: center;
    margin-bottom:50px;
}

.scroll_bar{
    border: 1px dashed #898989;
    background: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: 100px;
    max-height: 300px;
    margin: 0px auto;
    max-width: 1200px;
    padding: 20px;
    text-align: left;
}




.scroll_bar p, .scroll_bar dl dd{
	font-size: 14px;
	font-weight: 500; 
	color: #000;
	line-height: 25px;
}

.scroll_bar_des p{
	font-size: 1rem;
	font-weight: 500;
	color: #000;
	line-height: 25px;
	padding-bottom: 10px;
}

.scroll_bar_text p:first-child{
	margin-top: 20px;
	background: #f1f1f1;
}

#with-consent{	
	width: 14px !important;
    height: 14px;
    display: inline-block;
}




@media(max-width:1000px){
	
	.inquiry-text p span {
		font-size: 0.9rem;
	}
	
	.form-label label, input, textarea, select { 
		font-size: 1rem;
	}
	
	.form-label {
        width: 200px;
        min-width: 200px;
	}
	
	.privacy_area h3 {
		font-size: max(4vw, 1.5rem);
	}
	
	.grey-box-tel p span{
	    display: inline-block;
		font-size: 0.8rem;
	}
	
	.grey-box-tel a {
        margin: 10px 0;
    }
	
}

@media(max-width:600px){
	
	#privacy {
		margin-top: 10px;
		padding-top: 10px;
		margin-bottom: 60px;
	}
	
	.form-row{
		gap: 5px;
	}
	
	.inquiry-text p span {
		font-size: 0.85rem;
	}
	
	.form-label label, input, textarea, select { 
		font-size: 0.95rem;
	}
	
	select {
		padding: 15px 10px;
	}
	
   	input, textarea, select { 
		width: 100% !important;
		padding: 15px 10px;
	}
	
	.grey-box h4 {
        font-size: max(3.5vw, 1rem);
    }
	
	.ps-tel-box p {
		font-size: 0.85rem;
	}
	
	.privacy_area .scroll_bar_text p {
		padding: 0;
        font-size: 0.95rem;
        line-height: 1.65;
	}
	
	.privacy_area h4 {
		padding: 10px;
		font-size: 1rem;
		line-height: 1.5;
	}
	
	.privacy_area .scroll_bar_text dd {
    	font-size: 0.95rem;
	}
	
	.privacy_area .scroll_bar_text dl {
		padding: 0 0 20px;
	}
	
	.check_privacy label {
		font-size: 1rem;
	}
	
	.privacy_area {
		padding: 20px 0 30px;
	}
	
	.scroll_bar{
    	padding: 10px;
	}
}


@media(max-width:360px){

	.grey-box-tel a {
        letter-spacing: 1px;
        font-size: max(7vw, 1.75rem);
	}
	
}


/*小さなモーダルのデザイン*/
 .modal {
      display: none; /* 初期は非表示 */
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.4); /* 背景半透明 */
    }

    .modal-content {
      background-color: #fff;
      margin: 15% auto;
      padding: 20px;
      border-radius: 8px;
      width: 300px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .modal-content button {
      margin: 10px;
      padding: 8px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    #confirmSend {
      background-color: #007bff;
      color: white;
    }

    #cancelSend {
      background-color: #ccc;
    }