@charset "utf-8";
/* CSS Document */
/*===共通部分==============
====================================================================*/
html{
	font-size: 100%;
}
body{
	font-family:YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: 400;
	color: #333;
	font-size: clamp(16px,2vw,18px);
	background: url("../img/bg.jpg");
	background-size: 100%;
	-webkit-font-smoothing: antialiased;/*アンチエイリアスを滑らかに*/
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.7;
}
p{
	letter-spacing: 0.1em;
}
h1,h2,h3,h4,h5,h6{
	font-weight: 600;
	line-height: 1.7;
}
a{
	text-decoration: none;
	color: #333;
	transition: .4s;
}
ul,ol{
	list-style: none;
	padding: 0;
}
main{
	width: 100%;
	height: 100%;
	overflow:visible;
}

section {
	padding:clamp(60px, 8vw, 120px) 0 ;
	position: relative;
	z-index: 0;
}
table{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;/*隙間なし*/
}

/*改行　-------*/
@media (min-width: 451px){
	br.only450{
		display: none;
	}
}

@media (max-width: 450px){
	br.not450{
		display: none;
	}
}

span.ib{
	display: inline-block !important;
}

img {
    max-width: 100%;
    height: auto;

    /* iOSレンダリング安定化 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
a, p, h1, h2, h3, h4, h5, h6 {
    position: relative;
    z-index: 5;
}
/*PC・SP表示-----------------------*/
.sp{
	display: none;
}
.pc{
	display: block;
}

@media (max-width: 768px) {
	.sp{
		display: block;
	}
	.pc{
		display: none;
	}
}

/*幅・高さ調整-------*/
.inner{
	width: 96%;
	max-width: 1200px;
	margin: 0 auto;
}
.inner.wide{
	max-width: 1400px;
}
.inner.max{
	max-width: none;
}
/*高さ*/

.mg100{
	margin-bottom: 100px !important;
}
.mg80{
	margin-bottom: 80px !important;
}
.mg60{
	margin-bottom: 60px !important;
}
.mg50{
	margin-bottom: 50px !important;
}
.mg40{
	margin-bottom: 40px !important;
}
.mg30{
	margin-bottom: 30px !important;
}
.mg20{
	margin-bottom: 20px !important;
}
.mg10{
	margin-bottom: 10px !important;
}
.mg0{
	margin-bottom: 0 !important;
}

.pmg5 p{
	margin-bottom: 5px;
}
.pmg p{
	margin-bottom: 10px;
}
.pmg15 p{
	margin-bottom: 15px;
}
.pmg20 p{
	margin-bottom: 20px;
}
.pmg5 p:last-child,
.pmg p:last-child,
.pmg15 p:last-child,
.pmg20 p:last-child{
	margin-bottom: 0;
}
.h30{
	height: 30px;
}
.h50{
	height: 50px
}
.pdt0{
	padding-top: 0!important;
}
.t_center{
	text-align: center;
}
.t_left{
	text-align: left;
}
/* 画像　-------------------------- */
.obj-in{
	width: 100%;
	height: 100%;
	object-fit: contain
}
.obj-cov{
	width: 100%;
	height: 100%;
	object-fit: cover;	
}
.img_4-3{
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.img_16-9{
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/*flexbox------------------------*/
.flexbox{
	display: flex;
	flex-wrap: wrap;
}
.f_jsb{
	justify-content: space-between;
}
.f_cent{
	justify-content: center;
}
.fac{
	align-items: center;
}

.comn2{
	width: 48%;
}
.comn3{
	width: calc( 100% / 3 - 20px);
}
.comn4{
	width: 35%;
}
.comn5{
	width: 62%;
}

.f_center{
	align-items: center;
}
@media (max-width: 768px){
	.flexbox{
		flex-direction: column;
	}
	.flexbox.rever{
		flex-direction: column-reverse;
	}
	.comn2, .comn3, .comn4, .comn5 {
		width: 100%;
		margin-bottom: 30px
	}
}

/*==背景=============================================*/
.boxframe{
	position: relative;
	padding:clamp(25px,4vw,40px);
	background: #fff;
	z-index: 0;
}
.boxframe::before,
.boxframe::after{
	position: absolute;
	content: '';
	width: 100%;
	aspect-ratio: 473 / 29;
	left: 0;
	background: url("../img/btn/box-frame.png")no-repeat center/contain;
}
.boxframe::before{
	top: 0px;
}
.boxframe::after{
	bottom: 0px;
	transform: scale(1,-1);
}
.boxframe2{
	position: relative;
	padding:clamp(30px,5vw,50px);
	background: #fff;
	z-index: 0;
}
.boxframe2::before,
.boxframe2::after{
	position: absolute;
	content: '';
	width: 96%;
	aspect-ratio: 1109 / 43;
	left: 2%;
	background: url("../img/btn/box-frame2.png")no-repeat center/contain;
}
.boxframe2::before{
	top: 10px;
}
.boxframe2::after{
	bottom: 10px;
	transform: scale(1,-1);
}
.bgimg{
	width: 100%;
	overflow: hidden;
	z-index: 1;
}
.bgimg::before,
.bgimg::after{
	position: absolute;
	z-index: 0;
	content: '';
	width: 40vw;
	height: 30vw;
	background: url("../img/illust02.png")no-repeat;
	background-size: contain;
}
.bgimg::before{
	top: 20%;
	left: -3vw;
}

.bgimg::after{
	bottom: 0;
	right: -3vw;
	background-position: left bottom;	
	transform: scale(-1,1)
}

/*==見出し=============================================*/
.sttl{
	color: #c1272d;
	text-shadow: 2px 2px 3px #999;
	margin-bottom: 25px;
	font-size: clamp(1.2rem, 0.922rem + 1.17vw, 1.8rem);
}

.dttl{
	font-size: 1.8rem;
	background: #ffc000;
	color: #fff;
	padding: .3rem 1rem;
	margin-bottom: 30px;
}

/*==btn=============================================*/

a.mbtn{
	width: 70%;
	max-width: 320px;
	margin: 40px auto 0;
	height: 100%;
	display: flex;
	align-items: center;
}
a.mbtn:hover{
	background: #ffc000;
	opacity: .8;
}


