@charset "utf-8";

/*ページ内共通設定ここから*/
#main section{
	--main-color:#f39012;
	--sub-color:#f4f4f4;
	--text-color:#3c3c3b;
	--text-color-hover:#fff;
}

#main *{
	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: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

#main .section__inner {
	width: 100%;
	max-width: 800px;
	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){
    section {overflow: hidden;}
}

@media screen and (max-width:820px){
	#main .section__inner {
        padding: 0 2%;
    }
}

@media screen and (max-width:768px){
    .sp_none {
        display: none;
    }
}

/*ページ内共通設定ここまで*/


/*section001ここから*/
#main .section001{
	margin-top: 50px;
	margin-bottom: 80px;
}

@media screen and (max-width:1024px){
	#main .section001{
		margin-top: 5%;
		margin-bottom: 8%;
	}
}

@media screen and (max-width:768px){

}
/*section001ここまで*/


/*section002ここから*/
#main .section002{
	margin-bottom: 40px;
}

#main .section002 h2{
	position: relative;
	margin-bottom: 40px;
	font-size: 40px;
	text-align: center;
}

#main .section002 h2 > span{
	position: relative;
	display: inline-block;
}

#main .section002 h2 > span::before{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 15px;
	background: var(--main-color);
	z-index: -1;
	transition: .4s all;
}

#main .section002 h2 + div{
	position: relative;
/*	padding-top: 4px;
	padding-left: 4px;*/
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	overflow: hidden;
	box-sizing: border-box;
	transition: .4s .4s all;
	background: transparent;
	z-index: -1;
}

#main .section002 h2 + div::after{
	content: "";
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 25 / 27;
    background: url(https://www.gmt-j.com/html/gmt/html/pequignet_new/img/img_icon_peq.svg) no-repeat center center / cover;
    z-index: -1;
    opacity: 0;
    transition: .4s .2s all;
}

#main .section002 h2 + div > div:first-of-type{
	position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    padding: 5px 20px 10px 5px;
    box-sizing: border-box;
    background: #fff;
    transform: translateY(-104%);
    transition: transform .4s .2s, box-shadow .4s .4s;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color);
    box-sizing: border-box;
    line-height: 1.5;
}

#main .section002 h2 + div > div:nth-of-type(2){
    position: relative;
    display: -webkit- flex;
    display: flex;
    align-items: -webkit- center;
    align-items: center;
    justify-content: -webkit- center;
    justify-content: center;
    width: 100%;
    z-index: -1;
    transform: scale(.5);
    transition: .4s all ease-out;
    opacity: 0;
    aspect-ratio: 45 / 38;
}

#main .section002 h2 + div > div:nth-of-type(2)::before,
#main .section002 h2 + div > div:nth-of-type(2)::after{
	content: "";
    position: absolute;
    border: 2px solid var(--main-color);
    border-width: 4px 0 0 4px;
    width: 0;
    height: 0;
    opacity: 0;
    transition: width .8s .4s, height .8s .4s, opacity .2s .7s;
}

#main .section002 h2 + div > div:nth-of-type(2)::before{
    top: 17px;
    left: 17px;
}

#main .section002 h2 + div > div:nth-of-type(2)::after{
    bottom: 18px;
    right: 18px;
    transform: rotate(180deg);
}

#main .section002 h2.active > span::before{
	width: 100%;
}

#main .section002 h2 + div.active{
	box-shadow: inset 1px 1px 6px 0px rgba(0, 0, 0, .2);
	background: #fff;
}

#main .section002 h2 + div.active::after{
	opacity: .16;
}

#main .section002 h2 + div.active > div:first-of-type{
	transform: translateY(0);
	box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, .2);
}

#main .section002 h2 + div.active > div:nth-of-type(2){
	transform: scale(1);
	opacity: 1;
}

#main .section002 h2 + div.active > div:nth-of-type(2)::before,
#main .section002 h2 + div.active > div:nth-of-type(2)::after{
	width: calc(100% - 40px);
    height: calc(100% - 40px);
    opacity: 1;
}

#main .section002 h2 + div > div:nth-of-type(2) img{
	position: relative;
	/*top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);*/
	max-width: 515px;
	height: auto;
	aspect-ratio: 103 / 111;
}

@media screen and (max-width:1024px){
	#main .section002{
		margin-bottom: 4%;
	}

	#main .section002 h2{
		margin-bottom: 4%;
		font-size: min(calc(1vw * calc(32 / 7.69)), 40px);
	}

	#main .section002 h2 + div::after{
		max-width: min(calc(1vw * calc(180 / 7.69)), 200px);
	}

	#main .section002 h2 + div > div:first-of-type{
	    font-size: min(calc(1vw * calc(28 / 7.69)), 32px);
	}
}

@media screen and (max-width:768px){
	#main .section002 h2{
		font-size: min(calc(1vw * calc(17 / 3.75)), 32px);
	}

	#main .section002 h2 > span::before{
		height: min(calc(1vw * calc(8 / 3.75)), 15px);
	}

	#main .section002 h2 + div::after{
		bottom: min(calc(1vw * calc(20 / 3.75)), 30px);
		right: min(calc(1vw * calc(20 / 3.75)), 30px);
	}

	#main .section002 h2 + div > div:first-of-type{
		padding: 2% 3% 2% 2%;
		font-size: min(calc(1vw * calc(16 / 3.75)), 28px);
	}

	#main .section002 h2 + div > div:nth-of-type(2) img{
		max-width: min(calc(1vw * calc(240 / 3.75)), 515px);
	}

	#main .section002 h2 + div > div:nth-of-type(2)::before{
		top: 9px;
		left: 9px;
	}

	#main .section002 h2 + div > div:nth-of-type(2)::after{
		bottom: 12px;
		right: 11px;
	}

	#main .section002 h2 + div.active > div:nth-of-type(2)::before,
	#main .section002 h2 + div.active > div:nth-of-type(2)::after{
		width: calc(100% - 25px);
	    height: calc(100% - 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 h2 + p{
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 2;
	text-align: center;
}

#main .section003 small{
	display: block;
	width: 100%;
	margin-bottom: 60px;
	font-size: 12px;
	text-align: right;
	color: var(--text-color);
}

#main .section003 small + div{
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

#main .section003 small + div 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 small + div a:hover{
	opacity: .6;
}

@media screen and (max-width:1024px){
	#main .section003{
		margin-bottom: 10%;
	}

	#main .section003 h2{
		margin-bottom: 4%;
		font-size: min(calc(1vw * calc(28 / 7.69)), 32px);
	}

	#main .section003 h2 + p{
		margin-bottom: 2%;
		font-size: min(calc(1vw * calc(16 / 7.69)), 18px);
	}

	#main .section003 small{
		margin-bottom: 6%;
	}
}

@media screen and (max-width:768px){
	#main .section003 h2{
		font-size: min(calc(1vw * calc(17 / 3.75)), 28px);
	}

	#main .section003 h2 + p{
		font-size: min(calc(1vw * calc(14 / 3.75)), 16px);
		text-align: left;
	}

	#main .section003 small{
		font-size: min(calc(1vw * calc(10 / 3.75)), 12px);
	}

	#main .section003  small + div a{
		padding: 4% 0;
		font-size: 16px;
	}
}
/*section003ここまで*/