/*
Theme Name:JAPANESE Base Theme
Theme URI: https://japan-ese.info/
Description:BASE THEME.
*/
@import url("code.css");
@import url("footer.css");
@import url("header.css");
@import url("flash.css");
@import url("value.css");
@import url("value_right.css");
@import url("subvalue.css");
@import url("value_left.css");
@import url("table.css");
@import url("blog.css");
@import url("margin.css");
@import url("js.css");
@import url("form.css");
@import url("link.css");
@import url("float.css");
@import url("title.css");
@import url("center.css");
@import url("width.css");
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article,section {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-family: "秀英にじみ丸ゴシック B",-apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	font-size:100%;
	line-height:120%;
	vertical-align: baseline;
	background: transparent;
}
.spview{
	display: none;
}
a{
	text-decoration:none;
}
li{
	list-style-type:none;
}
img{
	border:0;
	max-width:100%;
	height:auto;
}
h1{
	font-size:230%;
	margin-bottom:3%;
}
h3{
	font-size:150%;
	margin-bottom:3%;
}
h4{
	font-size: 190%;
	font-weight: 600;
	margin-top: 0;
	margin-bottom:30px;
	line-height: 1.7em;
}
@media (max-width: 1280px){
	.sub_menu01 > a > p:nth-of-type(1) {
		font-size: 170%;
	}
	.top_main {
		padding: 100px 0 200px;
	}
}
@media (min-width: 1021px){
	.min1021none, .ul_sp_nav {
		display: none;
	}
}
@media (max-width: 1020px){
.spview{
	display: block;
}
	.max1020none, .ul_Hnav_01, .side_menu {
		display: none;
	}
	main{
		margin-bottom: 100px;
	}
	.center1020 {
		width: 92%;
	}
	h1{
		font-size:170%;
	}
	h3{
		font-size:130%;
	}
	h4{
		font-size: 150%;
		line-height: 1.5em;
	}
	.sub_header {
		background: #000;
	}
	p.Idx_img01 {
		bottom: -12%;
		width: 28%;
	}
	p.Idx_img02 {
		width: 80%;
	}
	p.Idx_img03 {
		width: 24%;
	}
	.Idx_01 > a {
		padding: 50px 0 30px;
	}
	.p_idx_01 {
		margin: 100px auto 60px;
	}
	.idx_map {
		height: 300px;
	}
	.p_idx_01 {
		font-size: 150%;
	}
	.sub_img02 {
		width: 60%;
		margin: 90px auto 0;
	}
	.subCt05 > div > p:nth-of-type(1) {
		font-size: 220%;
		width: 70px;
		height: 70px;
	}
	.subCt05 > div > p:nth-of-type(2) {
		font-size: 27px;
		height: 80px;
	}
	.bnner01 {
		width: 80%;
		margin: 60px auto 0;
	}
	.subCt04 > div:nth-of-type(2n+1) {
		width: 50%;
	}
	.subCt04 > div:nth-of-type(2n) {
		width: 47%;
	}
	.subCt04 > div:nth-of-type(2n) > p:nth-of-type(1) {
		font-size: 130%;
		line-height: 1.5em;
	}
	.subCt04 > div:nth-of-type(2n) > p:nth-of-type(2) {
		font-size: 100%;
		line-height: 1.5em;
		margin-top: 20px;
	}
	.p_subTtl01 {
		font-size: 120%;
		top: 60px;
	}
	.subTtl01 {
		height: 480px;
	}
	.subCt02 {
		margin: 60px auto 0;
	}
	.subCt02 > div:nth-of-type(1) {
		width: 58%;
	}
	.subCt02 > div:nth-of-type(2) {
		width: 40%;
	}
	.p_sub_02 {
		font-size: 200%;
		margin: 30px auto;
	}
	.sub_menu01 > a {
		width: 31%;
		margin-top: 60px;
	}
	.sub_menu01 > a {
		margin-left: 3.5%;
	}
	.sub_menu01 > a > p:nth-of-type(1) {
		font-size: 124%;
		height: 60px;
	}
	.sub_menu01 > a > p:nth-of-type(2) {
		font-size: 200%;
	}
	.subCt01_add1 > div > p:nth-of-type(1) {
		font-size: 145%;
	}
	.p_sub_03 span {
		font-size: 170%;
	}
	.p_sub_03 span::after {
		width: 98px;
		height: 160px;
		top: -80px;
		right: -110px;
	}
	.top_main {
		padding: 100px 0;
	}
	.marquee p {
		width: 50%;
		margin-top: 15px;
	}
}
@media (min-width: 641px){
	.min641none, .sp_img01 {
		display: none;
	}
}
@media (max-width: 640px){
	.max640none, .Idx_img01, .Idx_img02, .Idx_img03 {
		display: none;
	}
	main{
		margin-bottom: 60px;
	}
	.head_area {
		padding: 20px 3% 30px;
	}
	.ul_sp_nav > li:nth-child(1) {
		width: 100px;
	}
	.ul_sp_nav > li:nth-child(2) {
		width: 40px;
	}
	.Idx_01 > a {
		width: 100%;
		padding: 15px 0;
	}
	.Idx_01 > a > img {
		width: 70%;
	}
	.p_idx_01 {
		font-size: 130%;
		margin: 60px auto 20px;
	}
	.news {
		width: 94%;
	}
	footer > .ft_logo {
		width: 120px;
	}
	.sub_img02 {
		width: 80%;
		margin: 40px auto 0;
	}
	.p_sub_04 {
		font-size: 140%;
		margin: 30px auto;
	}
	.a_sub_01 {
		width: 300px;
		padding: 15px 0;
		margin: 0 auto 60px;
	}
	.a_sub_01_add1 {
		margin: 0 auto;
	}
	.a_sub_01 span {
		font-size: 120%;
		padding-right: 30px;
	}
	.a_sub_01 span::after {
		width: 26px;
	}
	.bg_01 {
		padding: 40px 0;
	}
	.subCt05 > div {
		width: 100%;
	}
	.subCt05 > div > p {
		margin-top: 20px;
		line-height: 1.5em;
	}
	.subCt05 > div > p:nth-of-type(1) {
		font-size: 160%;
		width: 50px;
		height: 50px;
	}
	.subCt05 > div > p:nth-of-type(2) {
		font-size: 130%;
		height: auto;
	}
	.subCt05 > div:nth-of-type(2) > p:nth-of-type(1) {
		margin-top: 40px;
	}
	.p_sub_05 {
		font-size: 150%;
		margin-bottom: 40px;
		line-height: 1.5em;
	}
	.subCt04 {
		margin: 20px auto 0;
	}
	.subCt04 > div:nth-of-type(2n+1) {
		width: 80%;
		margin: 40px auto 0;
	}
	.subCt04 > div:nth-of-type(2n) {
		width: 100%;
		margin-top: 20px;
	}
	.subCt04 > div:nth-of-type(2n) > p:nth-of-type(1) {
		text-align: center;
	}
	h1{
		font-size:150%;
	}
	h4{
		font-size: 130%;
	}
	.subTtl01 {
		height: 300px;
	}
	.p_subTtl01 {
		font-size: 100%;
		top: 30px;
	}
	.p_subTtl01 span {
		font-size: 200%;
	}
	.sub_img03 {
		width: 20%;
	}
	.subCt02 > div:nth-of-type(1), .subCt02 > div:nth-of-type(2) {
		width: 100%;
	}
	.subCt02 > div:nth-of-type(2) {
		padding-top: 10px;
	}
	.subCt02 > div:nth-of-type(2) > p {
		font-size: 100%;
		text-align: right;
		padding-right: 10%;
		padding-left: 0;
	}
	.subCt02 > div:nth-of-type(2) > a {
		padding: 13px 0;
		margin-top: 20px;
	}
	.p_sub_02 {
		font-size: 170%;
		margin: 20px auto;
	}
	.sub_menu01 {
		width: 94%;
	}
	.sub_menu01 > a {
		width: 48%;
		margin-top: 30px;
	}
	.sub_menu01 > a:nth-of-type(2n+1) {
		margin-left: 0;
	}
	.sub_menu01 > a:nth-of-type(2n) {
		margin-left: 4%;
	}
	.sub_menu01 > a > p:nth-of-type(1) {
		font-size: 108%;
		height: 50px;
	}
	.sub_menu01 > a > p:nth-of-type(2) {
		font-size: 150%;
		margin: 5px auto;
	}
	.subCt01 {
		margin: 40px auto 0;
	}
	.subCt01 > div {
		width: 100%;
	}
	.subCt01 > div:nth-of-type(1) {
		width: 80%;
		margin: 0 auto 20px;
	}
	.subCt01 > div:nth-of-type(2) {
		padding: 0;
		display: flex;
		justify-content: center;
	}
	.subCt01 > div:nth-of-type(2) > p {
		font-size: 115%;
	}
	.subCt01_add1 > div:nth-of-type(1) {
		width: 100%;
		margin: 0 auto 40px;
	}
	.subCt01_add1 > div > p:nth-of-type(2) {
		width: 80%;
		margin: 30px auto;
	}
	.subCt01_add1 > div > p:nth-of-type(3) {
		font-size: 100%;
		line-height: 1.5em;
	}
	.subCt01_add1 > div:nth-of-type(2) {
		display: block;
	}
	.p_sub_03 {
		margin: 60px 0 auto;
	}
	.p_sub_03 span {
		font-size: 130%;
	}
	.p_sub_03 span::after {
		width: 68px;
		height: 130px;
		top: -50px;
		right: -75px;
	}
	.subCt03 {
		margin: 50px auto 0;
	}
	.subCt03 > div:nth-of-type(1) {
		width: 100%;
	}
	.subCt03_add1 > div:nth-of-type(1) {
		height: 300px;
	}
	.subCt03 > div:nth-of-type(2) {
		width: 100%;
		margin-top: 20px;
	}
	.ul_map > li:nth-of-type(2n) {
		margin-top: 10px;
	}
	.ul_map > li:nth-of-type(2n+1) {
		font-size: 110%;
		margin-top: 20px;
	}
	.ul_map > li:first-of-type {
		margin-top: 0;
	}
	.order_flex div:nth-of-type(2) {
    width: 100%;
		margin-bottom: 20px;
}
	.order_flex div:nth-of-type(1) {
    width: 100%;
}
	.order_flex {
    flex-wrap: wrap;
		flex-direction: column-reverse;
	}
	.top_main {
		padding: 40px 0 0;
	}
	.marquee p {
		width: 80%;
	}
}
