/*リセットCSS*/
*{margin:0;padding:0;line-height:calc(0.25rem + 1em + 0.25rem)}*,::before,::after{box-sizing:border-box}*:where(:not(fieldset,progress,meter)){border-width:0;border-style:solid;background-origin:border-box;background-repeat:no-repeat}html{block-size:100%;-webkit-text-size-adjust:none}@media (prefers-reduced-motion:no-preference){html:focus-within{scroll-behavior:smooth}}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeSpeed;min-block-size:100%}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(svg){stroke:none;fill:currentColor}:where(svg):where(:not([fill])){stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}:where(svg):where(:not([width])){inline-size:5rem}:where(input,button,textarea,select),:where(input[type="file"])::-webkit-file-upload-button{color:inherit;font:inherit;font-size:inherit;letter-spacing:inherit}:where(textarea){resize:vertical}@supports (resize:block){:where(textarea){resize:block}}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}h1{font-size:2em}:where(ul,ol)[role="list"]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}:where(a[href],area,button,input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){cursor:pointer;touch-action:manipulation}:where(input[type="file"]){cursor:auto}:where(input[type="file"])::-webkit-file-upload-button,:where(input[type="file"])::file-selector-button{cursor:pointer}@media (prefers-reduced-motion:no-preference){:focus-visible{transition:outline-offset 145ms cubic-bezier(.25,0,.4,1)}:where(:not(:active)):focus-visible{transition-duration:0.25s}}:where(:not(:active)):focus-visible{outline-offset:5px}:where(button,button[type],input[type="button"],input[type="submit"],input[type="reset"]),:where(input[type="file"])::-webkit-file-upload-button,:where(input[type="file"])::file-selector-button{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;text-align:center}:where(button,button[type],input[type="button"],input[type="submit"],input[type="reset"])[disabled]{cursor:not-allowed}



/*色一括指定　ここから*/

/*--ファーストビュー内 導入文帯の背景色*/
:root{
	--firstview-color: rgba(0,0,0,0.6);
}

/*--基本文字色、h2にも反映*/
:root{
	--font-color: #333;
}

/*--h3文字色に反映*/
:root{
	--main-color: #004d82;
}

/*--ボタン色*/
:root{
	--point-color: #fbb03b;
}

/*--ボタン反転色*/
:root{
	--switch-color: #fff;
}

/*--表組みth背景色*/
:root{
	--th-color: #0082af;
}

/*--表組みtd背景色*/
:root{
	--td-color: #dff0f2;
}

/*色一括指定　ここまで*/



/*ページ全体の基本設定　ここから*/

/*文字サイズ1rem＝10pxに*/
html{
	font-size: 62.5%;
}

body{
	font-family:'Noto Sans JP',sans-serif;
	src: url("assets/font/NotoSansJP-VariableFont_wght.ttf")format('ttf');
	font-weight: 400;
	letter-spacing:0.1em;
	color: var(--font-color);
	font-size: 1.6rem;
}

@media(max-width:767px) {
	body{
		font-size: 1.5rem;
	}
}

p{
	line-height: 1.5;
}

.pc{
	display: block;
}

.sp{
	display: none;
}

@media(max-width:767px) {

	.pc{
		display: none;
	}

	.sp{
		display: block;
	}
}

.text-center{
	text-align: center;
}

/*横幅指定。lawとw〇〇はセット使いする*/
.law{
	padding-left: 10px;
	padding-right: 10px;
	margin-top:0;
	margin-right:auto;
	margin-left:auto;
	margin-bottom:0;
}

.w1080{
	width: min(1100px, 100%);
}

.w880{
	width: min(900px, 100%);
}

/*要素同士の間隔を取るためのwrapper*/
.wrapper{
	padding-top: 80px;
	padding-bottom: 60px;
	margin-bottom: 50px;
}

@media(max-width:767px) {
	.wrapper{
		margin-bottom: 0;
	}
}

/*見出し文字共通設定*/
h1{
	width: min(270px, 50%);
}

h2{
	font-size: 4rem;
	text-align: center;
	margin-bottom: 2em;
	font-weight: 700;
}

@media(max-width:767px) {
	h2{
		font-size: 2.8rem;
	}
}

h3{
	font-size: 2.7rem;
	margin: 2em 0 1em;
	color: var(--main-color);
	font-weight: 700;
}

@media(max-width:767px) {
	h3{
		font-size: 2.3rem;
	}
}

h4{
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1em;
}

@media(max-width:767px) {
	h4{
		font-size: 1.6rem;
	}
}

/*矢印付きボタン*/
.arrow-button{
	font-weight: 700;
	border: 3px solid #fbb03b;
	background-color: #fbb03b;
	color: #fff;
	text-decoration: none;
	padding: 1.2em 3em;
	border-radius: 50px;
	position: relative;
	transition: .3s;
	display: inline-block;
}

@media(max-width:767px) {
	.arrow-button{
		margin: 0 auto;
		display: inline-block;
	}
}

.arrow-button::after{
	content: '';
	display: inline-block;
	position: absolute;
	top: 50%;
	right: 20px;
	width: 10px;
    height: 10px;
    margin: 0 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
	transition: .3s;
}

.arrow-button:hover{
	cursor: pointer;
	background-color: #fff;
	color: var(--font-color);
	transition: .3s;
}

.arrow-button:hover::after{
    border-top: 3px solid var(--point-color);
    border-right: 3px solid var(--point-color);
}

/*ページ全体の基本設定　ここまで*/


/*ヘッダー　ここから*/
header{
	float: left;
	width: 100%;
	display: flex;
	justify-content: space-between;
	position: relative;
    z-index: 100;
}

@media(max-width:767px) {
	h1 img{
		height: 70px;
	}
}

.menu-box{
	display: flex;
	justify-content: flex-end;
	text-align: center;
}

.menu-box span > span{
	font-size: 70%;
	font-weight: 400;
}

@media(max-width:767px) {
	.menu-box span > span{
		margin-top: 5px;
	}
}

/*ファーストビュー右上ボタン*/
.request{
	font-weight: 700;
	background-color: var(--point-color);
	color: #fff;
	text-decoration: none;
	padding: 1em 2em;
	font-size: 1.7rem;
	display: inline-block;
	line-height: 1;
	transition: .3s;
	border: 3px solid var(--point-color);
}

.request:hover{
	background-color: var(--switch-color);
	color: var(--point-color);
	transition: .3s;
}

.request span{
	position: relative;
	line-height: 1;
}

@media(max-width:767px) {
	.request{
		font-size: 1.3rem;
		width: 70px;
		height: 70px;
		display: block;
		padding-top: 15px;
		padding-right: 0;
		padding-bottom: 0;
		padding-left: 0;
	}

	.request span{
		padding-left: 0;
		width: 100%;
		display: block;
		text-align: center;
	}

	.request span::before{
		top: 0;
		left: 0;
		right: 0;
		margin: 0 auto;
	}
}
/*ヘッダー　ここまで*/


/*ファーストビュー　ここから*/
#firstview{
	height: 90vh;
	position: relative;
	min-height: 630px;
}

@media(max-width:1080px) {
	#firstview{
		height: 60vh;
	}
}

.firstview-img{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.firstview-img img{
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: cover;
}

.firstview-img + div{
	background-color: var(--firstview-color);
	width: 410px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 7%;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 19vh;
	color: #fff;
}



@media(max-width:1080px) {
	.firstview-img + div{
		right: 0;
		padding-top: 11vh;
	}
}

@media(max-width:767px) {
	
	#firstview{
		height: auto;
		min-height: inherit;
		padding-bottom: 0;
	}

	.firstview-img{
		position: inherit;
	}
	
	.firstview-img + div{
		position: inherit;
		width: 100%;
		height: auto;
		right: inherit;
		padding-top: 30px;
		padding-bottom: 50px;
	}

	.firstview-img img{
		object-position: left;
	}
}

#firstview h2{
	margin-bottom: 1em;
}


#firstview p{
	margin-bottom: 3em;
}

@media(max-width:767px) {
	#firstview p{
		margin-bottom: 1.5em;
	}
}

#firstview .arrow-button{
	border: 1px solid #fff;
	background-color: rgba(255,255,255,0);
	color: #fff;
}

#firstview .arrow-button::after{
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

#firstview .arrow-button:hover{
	cursor: pointer;
	background-color: #fff;
	color: var(--font-color);
	transition: .3s;
}

#firstview .arrow-button:hover::after{
    border-top: 3px solid var(--point-color);
    border-right: 3px solid var(--point-color);
}

/*ファーストビュー　ここまで*/


#goodat{
	background-image: url("assets/images/goodat-bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	padding-top: 100px;
}

#goodat h2{
	color: #fff;
}

@media(max-width:767px) {
	#goodat h2{
		font-size: 2.5rem;
	}
}

#goodat ul{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	gap: 2%; 
}

@media(max-width:767px) {
	#goodat ul{
		flex-wrap: wrap;
		gap: 1%; 
	}
}

#goodat ul li{
	width: min(255px, 23%);
	margin-bottom: 20px;
	background-color: #fff;
}

@media(max-width:767px) {
	#goodat ul li{
		width: 48%;
	}
}

.goodat-cards{
	font-weight: 700;
	font-size: 1.7rem;
	color: var(--main-color);
	padding: 1.5em 1em 0.5em;
	text-align: center;
	line-height: 1.5;
	margin-bottom: 20px;
	height: 100%;
}

@media(max-width:767px) {
	.goodat-cards{
		padding: 1.5em 1em;
		margin-bottom: 0;
		font-size: 1.4rem;
	}
}

.goodat-cards span{
	font-size: 60%;
	display: block;
	color: #666;
	margin-top: 10px;
}

@media(max-width:767px) {
	.goodat-cards span{
		font-size: 80%;
	}
}

#goodat ul li p{
	padding: 1em 0.1em;
}


@media(max-width:767px) {
	#features h2{
		margin-bottom: 50px;
	}
}

#features h2 span{
	font-size: 70%;
	display: inline-block;
	border-bottom: 2px solid var(--main-color);
	margin-bottom: 0.5em;
}

@media(max-width:767px) {
	#features h2 span{
		font-size: 60%;
	}
}

.features-box{
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
	margin-bottom: 30px;
}

@media(max-width:767px) {
	.features-box{
		flex-direction: column-reverse;
		margin-bottom: 60px
	}
	
	.features-box:last-of-type{
		margin-bottom: 0;
	}
}

.features-title{
	display: inline-block;
	width: min(280px, 100%);
    transform: translateY(10px);
	margin-right: 0.5em;
}

.features-txt{
	width: 55%;
}

@media(max-width:767px) {
	.features-txt{
		width: 100%;
	}
}

.features-txt h3{
	color: var(--main-color);
	margin-top: 1em;
}


.features-txt h3 span{
	font-size: 2.6rem;
	color: #fff;
	background-color: var(--main-color);
	display: inline-block;
	width: 38px;
	height: 38px;
	text-align: center;
    padding-top: 3px;
    transform: translateY(1px);
	margin-right: 0.5em;
}

.features-img{
	width: min(435px, 40%);
}

@media(max-width:767px) {
	.features-img{
		width: 100%;
		margin-bottom: 20px;
	}
}



#examples{
	background-image: url("assets/images/examples-bg.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.examples-box{
	background-color: rgba(255,255,255,0.9);
	border-radius: 10px;
	border: 4px solid var(--main-color);
	padding: 30px 60px;
	margin: 30px 0;
}

@media(max-width:767px) {
	.examples-box{
		padding: 20px 10px 30px;
	}
}

.examples-box ul{
	margin-left: 30px;
	margin-bottom: 20px;
}

.examples-box ul li{
	margin-bottom: 5px;
}

.examples-title{
	display: block;
	width: min(320px, 100%);
	margin: 0 auto;
}

@media(max-width:767px) {
	.examples-title{
		width: min(250px, 100%);
	}
}

.examples-storybox{
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}

.examples-storybox h3{
	border-bottom: 1px solid #666666;
	padding-bottom: 1em;
	margin-top: 20px;
}

@media(max-width:767px) {
	.examples-storybox h3{
		text-align: center;
	}
}

.examples-storybox p{
	margin-top: 1em;
	line-height: 1.5;
}

.examples-storytxt{
	width: 100%;
}

.examples-img{
	width: min(100px, 100%);
}

@media(max-width:767px) {
	.examples-img{
		width: min(60px, 100%);
	}
}

.examples-box h4{
	background-color: #ffe000;
	display: inline-block;
	border-radius: 50px;
	padding: 1em 2em;
	position: relative;
}

@media(max-width:767px) {
	.examples-box h4{
		left: 50%;
		transform: translateX(-50%);
	}
}

.examples-box h4 + p{
	line-height: 1.7;
}

.examples-box h4 + p span{
	background:linear-gradient(transparent 60%, #ffe000 60%);
}



#points{
	padding-bottom: 0;
}

@media(max-width:767px) {
	#points h2{
		font-size: 2.5rem;
		margin-bottom: 20px;
	}
}

#points h2 span{
	src: url("assets/font/NotoSerifJP-Bold.otf")format('otf');
	font-weight: 700;
	color: var(--main-color);
}

#points h2 span span{
	font-size: 160%;
	position: relative;
}

#points h2 span span::after{
	content: url("assets/images/points-before.png");
	position: absolute;
	bottom: 75%;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.points-box{
	display: flex;
	justify-content: space-between;
}

@media(max-width:767px) {
	.points-box{
		flex-direction: column;
	}
}

.points-box > div{
	width: min(340px, 32%);
	background-color: #dff0f2;
	padding: 40px 20px;
	border-radius: 10px;
}

@media(max-width:767px) {
	.points-box > div{
		width: min(340px, 100%);
		margin: 10px auto;
		padding: 30px 15px;
	}
}

.points-box h3{
	text-align: center;
	margin: 0.7em 0 1em;
}

.check-img{
	margin-bottom: 20px;
}

@media(max-width:767px) {
	.check-img{
		width: 80%;
		margin: 0 auto 10px;
	}
}

.goPageTop {
    color: #FFF;
    background: #444444;
    font-size: 1.5em;
    line-height: 0.5;
    padding: 10px;
    border-radius: 50%;
    position: fixed;
    right: 5px;
    bottom: 5px;
    z-index: 100000;
	text-decoration: none;
}

@media(max-width:767px) {
	.goPageTop {
		font-size: 1.5em;
		padding: 10px;
		border-radius: 50%;
		right: 5px;
		bottom: 70px;
	}
}



/*表組み*/

table{
	margin-top: 20px;
	margin-bottom: 40px;
}

table tr{
	width: 100%;
}

table th{
	font-weight: bold;
	background-color: var(--th-color);
	color: #fff;
	padding: 25px 15px;
	white-space: nowrap;
	min-width: 210px;
}

@media(max-width:767px) {
	table th{
		padding: 25px 3px;
		min-width: 100px;
	}
}

table td{
	background-color: var(--td-color);
	padding: 25px 15px;
	width: 100%;
}

table td span{
	font-size: 75%;
	color: #666;
}

.button-wrapper{
	text-align: center;
}

.button-wrapper a + button{
	margin-left: 20px;
}

@media(max-width:767px) {
	
.button-wrapper a{

}
	
.button-wrapper button{

}
	
.button-wrapper a + button{
	display: block;
	width: auto;
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
}
	
}

/*工場見学*/

.phone_number{
	padding: 10px;
	font-size: 3rem;
	font-weight: 700;
	background-color: #dff0f2;
	display: inline-block;
	width: min(450px, 100%);
	border-radius: 10px;
	margin: 15px 0;
}

@media(max-width:767px) {
	.phone_number{
		font-size: 2.5rem;
	}
}

.phone_number span{
	font-size: 50%;
	font-weight: 400;
}

.copyright{
	color: #fff;
	background-color: #000;
	text-align: center;
	font-size: 1.2rem;
	padding: 2em 0;
}

.reception_hours{
	text-align: center;
	
}

