@charset "utf-8";

/*ページ内共通設定ここから*/
#main section{
	--main-color:#f39012;
	--sub-color:#f4f4f4;
	--text-color:#3c3c3b;
	--text-color-hover:#fff;
}

#main {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#main .min{
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-style: normal;
}

#main {margin: 0;}
#main *{box-sizing: border-box;}
html {scroll-behavior: smooth;}
#main h2,#main h3,#main h4,#main p,#main ul,#main li{margin: 0; padding: 0; line-height: normal; color: var(--text-color);}
#main a{text-decoration: none; transition: .4s all;}
#main ul{list-style: none;}
#main img{display:block; width: 100%; line-height: 1;}
#main h2{font-weight: bold; text-shadow: unset; background: transparent; border: none;}
#main h3{border: none;}

/*#main{
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    box-sizing: border-box;
}*/

#main .section__inner {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	box-sizing: border-box;
 }

@media screen and (max-width:1250px) and (min-width:1025px){
	#main .section__inner {
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media screen and (min-width:1025px){
	#main a:hover{opacity: 1;}
}

@media screen and (max-width:1024px){
	#main .section__inner {
        padding: 0 2%;
    }

    section {overflow: hidden;}
}

@media screen and (max-width:768px){
    .sp_none {
        display: none;
    }
}

/*ページ内共通設定ここまで*/


/*section001ここから*/
/*#main .section001{
	margin-bottom: 80px;
}

@media screen and (max-width:1024px){
	#main .section001{
		margin-bottom: 8%;
	}
}

@media screen and (max-width:768px){

}*/
/*section001ここまで*/


/*section002ここから*/
#main .section002{
	margin-top: 50px;
	margin-bottom: 80px;
}

#main .section002 h2{
	margin-bottom: 10px;
	font-size: 40px;
	text-align: center;
}

#main .section002 h2 + p{
	margin-bottom: 50px;
	font-size: 28px;
	text-align: center;
}

#main .section002 h2 + p + div{
	position: relative;
	padding-top: 4px;
	padding-left: 4px;
	overflow: hidden;
	box-sizing: border-box;
}

/*#main .section002 h2 + p + div > div:first-of-type{
	width: 100%;
	max-width: 400px;
	margin: 0 auto 20px;
}

#main .section002 h2 + p + div > div:nth-of-type(2){
	margin-bottom: 50px;
}*/

#main .section002 h2 + p + div > div:first-of-type{
	position: absolute;
    left: 4px;
    top: 4px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
    transform: translateY(-104%);
    transition: .4s .4s all;
}



#main .section002 h2 + p + div > div:nth-of-type(2){
    position: relative;
    width: 100%;
    margin: 0 0 40px;
    z-index: -1;
    transform: translateX(101%);
    transition: .4s all ease-out;
}

#main .section002 h2 + p + div > div:nth-of-type(2)::before,
#main .section002 h2 + p + div > div:nth-of-type(2)::after{
	content: "";
    position: absolute;
    border: 2px solid var(--main-color);
    border-width: 2px 0 0 2px;
    width: 0;
    height: 0;
    opacity: 0;
    transition: width .8s .8s, height .8s .8s, opacity .2s .7s;
}

#main .section002 h2 + p + div > div:nth-of-type(2)::before{
    top: 19px;
    left: 19px;
}

#main .section002 h2 + p + div > div:nth-of-type(2)::after{
    bottom: 19px;
    right: 19px;
    transform: rotate(180deg);
}

#main .section002 h2 + p + div.active > div:first-of-type{
	transform: translateY(0);
	box-shadow: -1px 0px 4px 1px rgba(0, 0, 0, .2);
}

#main .section002 h2 + p + div.active > div:nth-of-type(2){
	transform: translateX(0);
}

#main .section002 h2 + p + div.active > div:nth-of-type(2)::before,
#main .section002 h2 + p + div.active > div:nth-of-type(2)::after{
	width: calc(100% - 40px);
    height: calc(100% - 40px);
    opacity: 1;
}

#main .section002 h2 + p + div > div:nth-of-type(2) img{
	height: auto;
	aspect-ratio: 5 / 4;
}

#main .section002 h3{
	margin-bottom: 15px;
	font-size: 32px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 5;
}

#main .section002 h3 + p{
	padding: 30px;
	font-size: 25px;
	text-align: center;
	background: var(--sub-color);
	box-sizing: border-box;
}

@media screen and (max-width:1024px){
	#main .section002{
		margin-top: 5%;
		margin-bottom: 8%;
	}

	#main .section002 h2{
		margin-bottom: 2%;
		font-size: min(calc(1vw * calc(32 / 7.69)), 40px);
	}

	#main .section002 h2 + p{
		margin-bottom: 5%;
		font-size: min(calc(1vw * calc(25 / 7.69)), 28px);
	}

	#main .section002 h2 + p + div > div:first-of-type{
	    width: 100%;
	    max-width: min(calc(1vw * calc(400 / 7.69)), 500px);
	}

	#main .section002 h2 + p + div > div:nth-of-type(2){
	    margin: 0 0 4%;
	}

	#main .section002 h3{
		margin-bottom: 2%;
		font-size: min(calc(1vw * calc(28 / 7.69)), 32px);
	}

	#main .section002 h3 + p{
		padding: 3%;
		font-size: min(calc(1vw * calc(20 / 7.69)), 25px);
	}
}

@media screen and (max-width:768px){
	#main .section002 h2{
		font-size: min(calc(1vw * calc(17 / 3.75)), 32px);
	}

	#main .section002 h2 + p{
		margin-bottom: 6%;
		font-size: min(calc(1vw * calc(15 / 3.75)), 25px);
	}

	#main .section002 h2 + p + div > div:first-of-type{
		transform: translateY(-108%);
	    max-width: min(calc(1vw * calc(220 / 3.75)), 400px);
	}

	#main .section002 h2 + p + div > div:nth-of-type(2){
	    margin: 0 0 5%;
	}

	#main .section002 h2 + p + div > div:nth-of-type(2)::before{
		top: 11px;
		left: 11px;
	}

	#main .section002 h2 + p + div > div:nth-of-type(2)::after{
		bottom: 11px;
		right: 11px;
	}

	#main .section002 h2 + p + div.active > div:nth-of-type(2)::before,
	#main .section002 h2 + p + div.active > div:nth-of-type(2)::after{
		width: calc(100% - 25px);
	    height: calc(100% - 25px);
	}

	#main .section002 h3{
		font-size: min(calc(1vw * calc(17 / 3.75)), 28px);
	}

	#main .section002 h3 + p{
		font-size: min(calc(1vw * calc(15 / 3.75)), 25px);
	}

}
/*section002ここまで*/


/*section003ここから*/
#main .section003{
	margin-bottom: 100px;
}

#main .section003 h2{
	margin-bottom: 20px;
	font-size: 32px;
	text-align: center;
	letter-spacing: 5;
}

#main .section003 ul:first-of-type{
	margin-bottom: 40px;
}

#main .section003 ul:first-of-type li{
	position: relative;
}

#main .section003 ul:first-of-type li:not(:last-of-type){
	margin-bottom: 60px;
}

#main .section003 ul:first-of-type li p{
	padding: 25px;
	font-size: 25px;
	text-align: center;
	box-sizing: border-box;
	background: var(--sub-color);
}

#main .section003 ul:first-of-type li:not(:last-of-type)::after{
	content: "";
	position: absolute;
	left: 50%;
	bottom: -35px;
	transform: translateX(-50%) rotate(45deg);
	width: 20px;
	height: 20px;
	background: transparent;
	border: 1px solid var(--main-color);
	border-width: 0 4px 4px 0;
}

#main .section003 ul:first-of-type li small{
	display: block;
	text-align: right;
	font-size: 13px;
}

#main .section003 ul:last-of-type {
	display: -webkit- flex;
	display: flex;
	align-items: -webkit- center;
	align-items: center;
}

#main .section003 ul:last-of-type li{
	width: calc(98% / 2);
	max-width: calc(880px / 2);
}

#main .section003 ul:last-of-type li:not(:last-of-type){
	margin-right: 20px;
}

#main .section003 ul:last-of-type li a{
	display: block;
	padding: 25px 0;
	color: #fff;
	background: var(--main-color);
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	transition: .4s all;
}

#main .section003 ul:last-of-type li a:hover{
	opacity: .6;
}

@media screen and (max-width:1024px){
	#main .section003{
		margin-bottom: 10%;
	}

	#main .section003 h2{
		margin-bottom: 2%;
		font-size: min(calc(1vw * calc(28 / 7.69)), 32px);
	}

	#main .section003 ul:first-of-type{
		margin-bottom: 4%;
	}

	#main .section003 ul:first-of-type li p{
		padding: 3%;
		font-size: min(calc(1vw * calc(20 / 7.69)), 25px);
	}

	#main .section003 ul:last-of-type li:not(:last-of-type){
		margin-right: 2%;
	}

	#main .section003 ul:last-of-type li a{
		padding: 3% 0;
	}
}

@media screen and (max-width:768px){
	#main .section003 h2{
		font-size: min(calc(1vw * calc(17 / 3.75)), 28px);
	}

	#main .section003 ul:first-of-type{
		margin-bottom: 6%;
	}

	#main .section003 ul:first-of-type li p{
		font-size: min(calc(1vw * calc(14 / 3.75)), 20px);
	}

	#main .section003 ul:first-of-type li:not(:last-of-type){
		margin-bottom: min(calc(1vw * calc(30 / 3.75)), 60px);
	}

	#main .section003 ul:first-of-type li:not(:last-of-type)::after{
		bottom: max(calc(1vw * calc(-18 / 3.75)), -35px);
		width: min(calc(1vw * calc(8 / 3.75)), 20px);
		height: min(calc(1vw * calc(8 / 3.75)), 20px);
		border-width: 0 3px 3px 0;
	}

	#main .section003 ul:first-of-type li small{
		font-size: min(calc(1vw * calc(10 / 3.75)), 13px);
	}


	#main .section003 ul:last-of-type {
		display: block;
	}

	#main .section003 ul:last-of-type li{
		width: 100%;
		max-width: none;
	}

	#main .section003 ul:last-of-type li:not(:last-of-type){
		margin-right: 0;
		margin-bottom: 6%;
	}

	#main .section003 ul:last-of-type li a{
		font-size: 16px;
	}
}
/*section003ここまで*/