body {
    line-height:1.2em;
    font-size:16px;
    font-family: "Meiryo UI", "Hiragino Sans", "Yu Gothic UI", "MS PGothic", "Hiragino Kaku Gothic ProN", sans-serif;
	}

h3{
	font-size:1.2em;
	}
.contents{
	margin:0 auto;
	width:1000px;
	text-align:center;
	}
.inner_left{
	float:left;
	}
.inner_right{
	float:right;
	}
img{
	width:100%;
	}	
.head-box {
	background-color:#FFF3D5;
	padding-bottom:1em;
	padding-top:1em;
	width:100%;
	overflow:hidden;
	}
	.head-box h1{
		clear:both;
		float:right;
		max-width:700px;
		}
		.head-box h1 img{
			width:100%;
			}
.head_right{
	float:right;
	width:50%;
	}
.head_left{
	float:right;
	width:40%;
	margin-left:10%;
	}
	.head_left .inner{
		padding-top:3em;
		}
	
.poyon1{
	width:100%;
	overflow:hidden;
	}

	.main-text{
		font-size:1.8em;
		line-height:1.3;
		padding-bottom:0.5em;
		}

	.sub-text{
	animation-delay: 1s;
	line-height:1.5;
	}
	h2.konnakoto{
    display:block;
    padding:0.5em;
    color:white;
    background:#38B6FF;
    border-radius: 10px;
	font-family: "Yomogi", cursive;
	font-size:1.3em;
	font-weight:bold;
	width:50%;
	margin-top:0em;
	margin-bottom:1.5em;
	}

	.komarigoto{
		clear:both;
		border-radius: 20px;
		background:#BDDBDD;
		width:28%;
		padding:1%;
		margin:1%;
		display:inline-block;
		text-align:left;
		vertical-align:top;
		}
	.komaru_image{
			width:70%;
			float:right;
			}
			.komaru_image img{
				width:100%;
				}
				
	.sorry{
			clear:both;
			overflow:hidden;
			border-radius: 20px;
			background:#FFCC4D;
			padding:2em;
			margin:1%;
			margin-bottom:5em;
			text-align:left;
			vertical-align:top;
			}
				.komarigoto ul li,.sorry ul li{
					list-style-type: disc;
					margin-left:1.5em;
					margin-bottom:0.5em;
					}
				.komarigoto h3,.sorry h3{
					margin:0.5em;
					}
					.komarigoto ul,.sorry ul{
						margin:0.5em;
						}
						
						
		.sorry .inner_left{
				width:70%;
				}			
		.sorry .inner_right{
				width:20%;
				vertical-align:text-bottom;
				}
			.sorry strong{
				font-size:1.2em;
				}			
		
	.tel_banner{
		margin:0 auto;
		margin-top:1.5em;
		width:100%;
		text-align:center;
		background:#1a94dd;
		}
		.tel_banner img.telbanner{
			width:1000px;
			}
			
	.caution{
		background-color:#FFCC4D;
		background-image:url("images/line.png");
		background-position:bottom;
		background-repeat:repeat-x;
		overflow:hidden;
		margin-top:-1em;
		margin-bottom:2em;
		}
		.caution_box{
			clear:both;
			margin:2em auto 0;
			width:1000px;
			padding:2em 0;
			overflow:hidden;
			}
			.caution_box .caution_fukidashi_box{
				width:500px;
				overflow:hidden;
				}
			.caution_box .caution_comment_box{
				width:380px;
				padding:30px;
				overflow:hidden;
				background:white;
				border-radius: 20px;
				border:5px solid #000;
				margin:1em 0;
				}
				.caution_fukidashi_box .inner_left{
					width:200px;
					}
				.caution_fukidashi_box .inner_right{
					width:250px;
					margin-top:2em
					margin-left:-2em;
					}
				.caution_comment_box .inner_left{
					width:70%;
					margin:1em 0;
					}
				.caution_comment_box .inner_right{
					width:30%;
					}
				.balloon3{
				  position: relative;
				  padding: 30px;
				  width: 140px;
				  height: 180px;
				  text-align:left;
				 
				  border-radius: 50%;
				  text-align: center;
				  background-color: white;
				}
				.balloon3::before{
				  content: '';
				  position: absolute;
				  display: block;
				  width: 0;
				  height: 0;
				  left: 210px;
				  top: 200px;
				  border-right: 20px solid white;
				  border-top: 10px solid transparent;
				  border-bottom: 10px solid transparent;
				  transform: rotate(-150deg);
				}
			.mitsumori{
				width:50%;
				min-height:160px;
				font-size:1.5em;
				line-height:1.5;
				padding:12% 40% 10% 10%;
				background-image:url("images/mitsumori_back.png");
				background-repeat:no-repeat;
				background-size:cover;
			}

			.panic{
				width:50%;
				min-height:160px;
				font-size:1.5em;
				line-height:1.5;
				padding:15% 40% 10% 10%;
				background-image:url("images/panic_back.png");
				background-repeat:no-repeat;
				background-size:cover;
			}

			.confuse{
				width:70%;
				min-height:160px;
				font-size:1.5em;
				line-height:1.5;
				padding:15% 20% 10% 10%;
				background-image:url("images/confuse_back.png");
				background-repeat:no-repeat;
				background-size:cover;
			}
	.shohisha{
		clear:both;
		float:none;
		text-align:right;
		padding-bottom:2em;
		}

	.anshin{
		border:10px solid #38B6FF;
		padding:2em;
		border-radius:60px;
		overflow:hidden;
		margin:2em 0;
		text-align:left;
		}
		.anshin .inner_left{
			width:70%;
			}
		.anshin .inner_right{
			width:26%;
			}
			
	.gosoudan{
		background:#FFF3D5;
		padding:2em;
		text-align:left;
		}
		.gosoudan h2{
			float:right;
			width:80%;
			}
		.gosoudan .light_icon{
			float:left;
			width:20%;
			}
		.gosoudan_at{
			text-align:left;
			padding:1em 5em;
			clear:both;
			}
			.gosoudan_at strong{
				font-size:1.2em;
				}
			.map{
				padding:1em;
				text-align:center;
				}
				.map img{
					width:80%;
					}
					
	.tel_area{
		overflow:hidden;
		}
	.area,.area_tel{
		font-size:1.5em;
		padding-top:0.2em;
		float:left;
		}
	.area_tel{
		margin-left:2em;
		}
		
		.red_col,.blue_col{
			clear:both;
			margin:2em 0;
			border-radius:100px;
			color:#fff;
			overflow:hidden;
			font-size:1.1em;
			font-weight:bold;
			line-height:1.5;
			text-align:left;
			text-shadow: #4F4F4F 0 1px;
			box-shadow:#4F4F4F 0 1px
			}
		.red_col{
			background:#FF3131;
			}
		.blue_col{
			background:#12A8FF;
			}
			.red_col a,.blue_col a{
				color:#fff;
				}
			.red_col .inner_left,.blue_col .inner_right{
				width:830px;
				padding:30px 40px;
				}
			.red_col .inner_right,.blue_col .inner_left{
				padding-top:20px;
				width:90px;
				}
			.area_tel{
				font-size:1.5em;
				padding-top:0.2em;
				}


	footer{
		float:none;
		overflow:hidden;
		margin:0 auto;
		padding:3em 0;
		width:1000px;
		font-size:0.9em;
			}
		footer .inner_left{
			width:600px;
			}
		footer .inner_right{
			width:200px;
			}
		footer .policy{
			clear:both;
			padding-top:1em;
			font-size:0.9em;
			color:#7b7b7b;
			}
		


@media (min-width: 1281px)  {
	.main-text{
		font-size:4em;
		line-height:1;
		padding-bottom:0.5em;
		}
	.sub-text{
		line-height:1.5;
		font-size:1.8em;
		}
	}

@media (min-width: 1025px) and (max-width: 1280px) {
	.main-text{
		font-size:3em;
		line-height:1;
		padding-bottom:0.5em;
		}
	.sub-text{
		line-height:1.5;
		font-size:1.2em;
		}

		.tel_banner img.telbanner{
			width:100%;
			}
	}
	
@media (min-width: 751px) and (max-width: 1024px) {
    body {
        font-size: 15px; /* タブレット向けにフォントサイズを調整 */
    	}
	.head_right{
		float:right;
		width:50%;
		}
	.head_left{
		float:right;
		width: calc(100% - 60%);
		margin:0;
		}
	.head_left .inner{
		padding-top:2em;
		}
	.main-text{
		font-size:1.5em;
		line-height:1.3;
		padding-bottom:0.5em;
		}
	.sub-text{
		line-height:1.5;
		}
		
		
     	h3{
    		font-size:1.1em;
    		}
    .contents{
		margin:0 auto;
		width:750px;
		text-align:center;
		}

	.komarigoto{
		clear:both;
		border-radius: 20px;
		background:#BDDBDD;
		width:96%;
		padding:1%;
		margin:1% auto;
		text-align:left;
		vertical-align:top;
		}
	.komarigoto ul{
		float:left;
		}
	.komaru_image{
			width:40%;
			float:right;
			}
			.komaru_image img{
				width:100%;
				}
		

	.caution_box{
		width:750px;
		}
		.caution_box .caution_fukidashi_box{
			width:380px;
			}

		.caution_box .caution_comment_box{
			width:300px;
			padding:15px;
			overflow:hidden;
			background:white;
			border-radius: 10px;
			border:2px solid #000;
			margin:1em 0;
			}
			.caution_fukidashi_box .inner_left{
				width:150px;
				}
			.caution_fukidashi_box .inner_right{
				width:230px;
				}
			.caution_comment_box .inner_left{
				width:100%;
				float:none;
				margin:1em 0 0;
				}
			.caution_comment_box .inner_right{
				float:right;
				width:100px;
				margin:0;
				}
				
		.mitsumori{
			font-size:1.2em;
			width:100%
			min-height:200px;
			padding:50px 140px 10px 40px;
			background-image:url("images/mitsumori_back.png");
			background-repeat:no-repeat;
			background-size:380px;
			}

		.panic{
			font-size:1.2em;
			width:100%
			min-height:200px;
			padding:50px 140px 10px 40px;
			background-image:url("images/panic_back.png");
			background-repeat:no-repeat;
			background-size:380px;
			}

		.confuse{
			width:100%
			min-height:200px;
			padding:50px 140px 10px 40px;
			background-image:url("images/confuse_back.png");
			background-repeat:no-repeat;
			background-size:380px;
			}
			
	.gosoudan{
		background:#FFF3D5;
		padding:2em;
		text-align:left;
		}
		.gosoudan h2{
			float:none;
			width:100%;
			background:pink
			padding:0;
			}
		.gosoudan .light_icon{
			float:left;
			width:30%;
			}
				
	.red_col,.blue_col{
		width:680px;
		padding:10px;
		border-radius:30px;
		line-height:1.3;
		text-align:left;
		font-size:98%;
		}	
		.red_col .inner_left,.blue_col .inner_right{
			width:590px;
			padding:10px;
			}
				.red_col .inner_right,.blue_col .inner_left{
					width:60px;
					padding:10px 0;
					}
					
			.area{
				font-size:1.5em;
				padding-top:0.5em;
				}
				
			.area_tel{
				padding-top:0.5em;
				font-size:1.5em;
				}
				
	footer{
		float:none;
		overflow:hidden;
		margin:0 auto;
		padding:3em 0;
		width:650px;
		font-size:0.9em;
			}
		footer .inner_left{
			width:400px;
			}
		footer .inner_right{
			width:200px;
			}
				
		.tel_banner img.telbanner{
			width:100%;
			}
				
				
		}
	
@media (max-width: 750px) {
    body {
        font-size: 14px; /* 小さなデバイス向けにフォントサイズを調整 */
   		 }
   		 
	.head_right{
		float:right;
		width:calc(100% - 190px);
		}
	.head_left{
		float:right;
		width:180px;
		margin:0;
		font-size:90%;
		line-height:1;
		}
	.head_left .inner{
		padding-top:2em;
		padding-bottom:1em;
		}
	.poyon1{
		width:200%;
		overflow:hidden;
		}
		
		
	.main-text{
		font-size:1.2em;
		line-height:1.3;
		padding-bottom:0.5em;
		}
	.sub-text{
		line-height:1.2;
		}
   		 
   		 
	.head-box h1{
		clear:both;
		float:right;
		}
    .contents{
		margin:0 auto;
		width:98%;
		text-align:center;
		}
	.komarigoto{
		clear:both;
		border-radius: 10px;
		background:#BDDBDD;
		width:96%;
		padding:1%;
		margin:1%;
		text-align:left;
		vertical-align:top;
		}
	.komaru_image{
			width:35%;
			}
			.komaru_image img{
				width:100%;
				}
		.sorry .inner_left{
		width:100%;
		float:none;

		}
		
		.sorry .inner_right{
		width:40%;
		}
		
		h2.konnakoto{
		width:350px;
		}
		.main-text{
			font-size:1.5em;
			line-height:1;
			padding-bottom:0.5em;
			}
			
	.caution_box{
	width:360px;
	margin:0 auto;
	margin-bottom:2em;
	}		
			
	.caution_box .caution_fukidashi_box{
		width:360px;
		float:none;
		}

		.caution_box .caution_comment_box{
			width:280px;
			padding:10px;
			overflow:hidden;
			background:white;
			border-radius: 10px;
			border:2px solid #000;
			margin:1em auto;
			float:none;
			}
			.caution_fukidashi_box .inner_left{
				width:150px;
				}
			.caution_fukidashi_box .inner_right{
				width:210px;
				}
			.caution_comment_box .inner_left{
				width:260px;
				margin:1em 0;
				}
			.caution_comment_box .inner_right{
				width:100px;
				}
			.caution_comment_box .makasete{
			width:180px;
			}

				
		.mitsumori{
			font-size:1.2em;
			line-height:1.2;
			padding:40px 130px 5px 40px;
			background-image:url("images/mitsumori_back.png");
			background-repeat:no-repeat;
			background-size:350px;
			min-height:200px;
			}

		.panic{
			font-size:1.2em;
			line-height:1.2;
			padding:40px 130px 5px 40px;
			background-image:url("images/panic_back.png");
			background-repeat:no-repeat;
			background-size:350px;
			min-height:200px;
			}

		.confuse{
			width:60%;
			line-height:1.2;
			padding:40px 150px 5px 40px;
			background-image:url("images/confuse_back.png");
			background-repeat:no-repeat;
			background-size:350px;
			min-height:200px;
			}
			
			
				.map img{
					width:100%;
					}
	.gosoudan h2{
		width:100%;
		}
	.gosoudan .light_icon{
		width:40%;
		}		
	.gosoudan_at{
		text-align:left;
		padding:1em 2em;
		clear:both;
		}
		
	.anshin{
		border:5px solid #38B6FF;
		padding:1em;
		border-radius:30px;
		overflow:hidden;
		margin:2em 0;
		text-align:left;
		}
		.anshin .inner_left{
			width:100%;
			float:none;
			}
		.anshin .inner_right{
			width:50%
			}
		
	.red_col,.blue_col{
		width:96%;
		padding:2%;
		border-radius:10px;
		line-height:1.2;
		}	
		.red_col .inner_left,.blue_col .inner_right{
			width:74%;
			padding:1%;
			text-align:left;
			font-size:96%;
			line-height:1.3;
			}
				.red_col .inner_right,.blue_col .inner_left{
					width:20%;
					padding-top:1%;
					}
					
		.area,.area_tel{
			float:none;
			font-size:1.3em;
			}

footer{
	margin:0 auto;
	padding:10%;
	font-size:0.9em;
	width:80%;
		}
	footer .inner_left{
		float:none;
		width:100%;
		}
	footer .inner_right{
		float:none;
		padding-top:1em;
		width:100px;
		}
		.tel_banner img.telbanner{
			width:100%;
			}

		
		}
		
		
		