
body {
	background: url("../img/bg.jpg") center top / 100% no-repeat #112240;
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: 400;
	position: relative;
    left: 0;
    overflow-x: hidden;
	-webkit-text-size-adjust: 100%; /* iphone横向き 文字拡大防止 */
}
img {
	display: block;
	width: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
a {
	text-decoration: none;
	color: #000;
	transition: all .3s;
}
a:hover {
	filter: brightness(1.1);
}
p {
	line-height: 1.6;
}

/*==================================================================================
ヘッダー
==================================================================================*/
header {
	width: 100%;
	padding: 20px 0 0!important;
	position: relative;
	z-index: 9999;
}
/*==================================================================================
共通
==================================================================================*/
/* レイアウト */
main {
	position: relative;
	z-index: 2;
}
section {
	padding: 0 0 60px!important;
	position: relative;
}
.bg_black {
	background: #000;
}
.bg_yellow {
	background: #fffddb;
}
.container {
/**/	width: calc(100% - 30px);
	max-width: 1200px;
	padding: 0 15px;
	margin: auto;
	position: relative;
}
.max1000 {
	max-width: 1000px;
	margin: auto;
}
.boad {
	padding: 40px;
	border-radius: 20px;
	background: #fff;
	position: relative;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}
.row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.row.align_start {
	align-items: flex-start;
}
.row.align_end {
	align-items: flex-end;
}
.row.align_center {
	align-items: center;
}
.row.just_center {
	justify-content: center
}

.mb_10 {
	margin-bottom: 10px;
}
.mb_20 {
	margin-bottom: 20px;
}
.mb_30 {
	margin-bottom: 30px;
}
.mb_60 {
	margin-bottom: 60px;
}
.mb_120 {
	margin-bottom: 120px;
}
.mr_20 {
	margin-right: 20px;
}
.ml_30{
	margin-left: 30px;
}

/* フォント */
h2 {
	line-height: 1.2;
}
h3 {
	display: inline-block;
	padding: 0 0 6px;
	border-bottom: 2px #187FC4 solid;
	line-height: 1.2;
	position: relative;
}
h3::after {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-right: 2px #187FC4 solid;
	border-bottom: 2px #187FC4 solid;
	background: #fff;
	position: absolute;
	bottom: -7px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
}
h4 {
	padding-left: 10px!important;
	border-left: 6px #000 solid!important;
	color: #333333;
}
.font_14 {
	font-size: 14px;
	line-height: 1.2;
}
.font_16 {
	font-size: 16px;
}
.font_18 {
	font-size: 18px;
}
.font_20 {
	font-size: 20px;
}
.font_24 {
	font-size: 24px;
}
.font_30 {
	font-size: 30px;
}
.font_42 {
	font-size: 42px;
	line-height: 1.4;
}
.font_50 {
	font-size: 50px;
	line-height: 1.4;
}
.font_60 {
	font-size: 60px;
	line-height: 1.2;
}
.font_80 {
	font-size: 80px;
	line-height: 1.2;
}
.txt_center {
	text-align: center;
}
.txt_right {
	text-align: right;
}
.bold {
	font-weight: 700;
}
.heavy {
	font-weight: 900;
}
.red {
	color: #e60012;
}
.white {
	color: #fff;
}
.sat {
	color: #2781bc;
}
.sun {
	color: #db4967;
}
.blue {
	color: #00a0e9;
}
.orange {
	color: #E16A0E;
}
.indent {
	padding-left: 1em;
	text-indent: -1em;
}
.anker {
	padding-top: 60px;
	margin-top: -60px;
}
.wrap {
	display: inline-block;
	white-space: nowrap;
}
.line1_2 {
	line-height: 1.2;
}
.line1_4 {
	line-height: 1.4;
}

/* ボタン */
.btn {
	display: inline-block;
	padding: 20px 60px;
	border-radius: 100px;
	background: #e60012;
	color: #fff;
	text-align: center;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}
.btn.second {
	background: #efefef;
	color: #6E6E6E;
}
.btn.disa {
	border-color: #999;
	background: #efefef;
	color: #999;
	box-shadow: none;
	pointer-events: none;
}
.btn.min500 {
	min-width: 500px;
}

/* アニメーション -----------*/
.animated.fadeinup {
	animation: fadeinup 1s;
}
@keyframes fadeinup {
	0% {opacity: 0; transform: translateY(60px);}
	100% {opacity: 1; transform: translateY(0);}
}
.animated.fadeinright {
	animation: fadeinright .6s;
}
@keyframes fadeinright {
	0% {opacity: 0; transform: translateX(30px);}
	100% {opacity: 1; transform: translateX(0);}
}

/*==================================================================================
==================================================================================*/
.separation {
	padding-bottom: 20px;
	border-bottom: 2px #f7e9bf solid;
}
.separation:last-child {
	padding-bottom: 0;
	border-bottom: none;
}
.ttl {
	width: 120px;
	box-sizing: border-box;
	padding: 15px 10px;
	background: #fffcd2;
	position: relative;
}
.ttl.attention {
	background: #e60012;
	color: #fff;
}
.ttl p {
	line-height: 1;
	position: relative;
}
.cont {
	text-align: center;
	width: 100%;
    box-sizing: border-box;
	position: relative;
}
.cont .frame {
	padding: 20px;
	border: 4px #00a0e9 solid;
	border-radius: 10px;
	background: #f6fbff;
    position: relative;
}
.cont .frame::before,
.cont .frame::after {
    content: "";
    display: block;
    width: 10%;
    height: 120px;
    background: url("../img/kappa01.png") center bottom / contain no-repeat;
    position: absolute;
    bottom: 20px;
    left: 5%;
}
.cont .frame::after {
    background-image: url("../img/kappa02.png");
    top: auto;
    left: auto;
    right: 5%;
}

.cont .frame .ttl {
	display: inline-block;
	width: auto;
	padding: 8px 20px;
	background: #00a0e9;
	color: #fff;
	line-height: 1;
	letter-spacing: 0.1em;
}
.cont .col3,
.cont .col4 {
	width: calc(100% / 3);
	box-sizing: border-box;
	padding: 30px 10px 20px;
	border-right: 1px #7d5023 solid;
	border-bottom: 1px #7d5023 solid;
	position: relative;
}
.cont .col4 {
	width: calc(100% / 4);
    padding: 20px 10px;
}
.cont .col3.dummy,
.cont .col4.dummy {
	padding: 0;
	border: none;
}
.cont .col3:nth-child(3n),
.cont .col4:nth-child(4n) {
	border-right: none;
}
.cont .col4:nth-last-child(-n+4) {
	border-bottom: none;
}
.cont .rank {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 50px;
	box-sizing: border-box;
	padding-bottom: 10px;
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 10px), 0 100%);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.cont .rank.r_a,
.cont .rank.r_b,
.cont .rank.r_c {
	width: 80px;
	height: 60px;
}
.cont .rank.r_a {
	background: linear-gradient(45deg, #b39855 0%, #fff9e6 50%, #b39855 100%);
	color: #b08220;
}
.cont .rank.r_b {
	background: linear-gradient(45deg, #BDC3C9 0%, #fff9e6 50%, #BDC3C9 100%);
	color: #333;
}
.cont .rank.r_c {
	background: linear-gradient(45deg, #A65E44 0%, #fff9e6 50%, #A65E44 100%);
	color: #5e2c07;
}
.cont .rank span {
	display: inline-block;
	line-height: 1;
}
.cont .img {
	position: relative;
}
.cont .img img {
	width: 90%;
	margin: auto;
	position: relative;
}
.cont .img .number {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 75px;
	height: 75px;
	box-sizing: border-box;
	padding-top: 5px;
	border-radius: 50%;
	background: #e60012;
	color: #fff;
	line-height: 1;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
}
.cont .col4 .img .number {
	width: 60px;
	height: 60px;
}
.cont .img .number span {
	display: inline-block;
	position: relative;
	top: -4px;
}
.finish {
	padding: 20px;
	background: #efefef;
}

/*==================================================================================
メイン
==================================================================================*/
section#expo .cont.present {
    border: 6px #b08220 solid;
    background: linear-gradient(30deg, #d6bc46 0%, #fef7d0 50%, #d6bc46 100%)
}
/*==================================================================================
サンクスページ
==================================================================================*/
section#thanks {
	min-height: calc(100vh - 165px - 320px);
	box-sizing: border-box;
}

/*==================================================================================
フッター
==================================================================================*/
footer {
	padding: 20px 0!important;
	position: relative;
}
footer img {
	width: 200px;
	margin: auto;
	position: relative;
	z-index: 2;
}



.tb {display: none;}
.pc {display: inline;}
.sp {display: none;}



@media screen and (max-width : 960px) {
	.pc {display: none;}
	.tb {display: inline;}
	
	p { font-size: 14px;line-height: 1.4}
	
	/*==================================================================================
	共通
	==================================================================================*/
	/* レイアウト */
	section {
		padding: 0 0 30px!important;
	}
	.container {
		max-width: 680px;
	}
	.boad {
		padding: 20px;
		border-width: 4px;
	}
	.mb_10 {
		margin-bottom: 8px;
	}
	.mb_20 {
		margin-bottom: 15px;
	}
	.mb_30 {
		margin-bottom: 20px;
	}
	.mb_60 {
		margin-bottom: 40px;
	}
	.mb_120 {
		margin-bottom: 80px;
	}
	.mr_20 {
		margin-right: 10px;
	}

	/* フォント */
	h3 {
		padding: 0 0 3px;
	}
	h3::after {
		width: 6px;
		height: 6px;
		bottom: -5px;
	}
	.font_16 {
		font-size: 14px;
	}
	.font_18 {
		font-size: 14px;
	}
	.font_20 {
		font-size: 16px;
	}
	.font_24 {
		font-size: 20px;
	}
	.font_30 {
		font-size: 24px;
	}
	.font_42 {
		font-size: 28px;
	}
	.font_50 {
		font-size: 34px;
	}
	.font_60 {
		font-size: 40px;
	}
	.font_80 {
		font-size: 50px;
	}
	/* ボタン */
	.btn {
		padding: 20px 40px;
		box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
	}
	.btn.second {
		padding: 12px 30px;
	}
	.btn.min500 {
		min-width: 0;
	}
	/*==================================================================================
	メイン
	==================================================================================*/
	.separation {
		padding-bottom: 15px;
		border-bottom: 1px #f7e9bf solid;
	}
	.ttl {
		width: 100px;
		padding: 10px;
		margin-bottom: 10px;
	}
	.cont {
		width: 100%;
		padding-left: 0;
	}
	.cont .frame {
		padding: 10px;
	}
    .cont .frame::before,
    .cont .frame::after {
        height: 70px;
        background-position: center top;
        left: 10px;
        bottom: auto;
        top: -15px;
    }
    .cont .frame::after {
        left: auto;
        right: 10px;
    }
	.cont .frame .ttl {
		padding: 8px 15px;
	}
	.cont .col3 {
		width: calc(100% / 2);
	}
	.cont .col4 {
		width: calc(100% / 3);
	}
	.cont .col3:nth-child(3n) {
	    border-right: 1px #7d5023 solid;
        border-bottom: none;
	}
	.cont .col3:nth-child(even) {
		border-right: none;
	}
	.cont .col4:nth-child(-n+3) {
	    border-top: 1px #7d5023 solid;
	}
	.cont .col4:nth-child(3n) {
		border-right: none;
	}
	.cont .col4:nth-child(4n) {
	    border-right: 1px #7d5023 solid;
	}
    .cont .col4:nth-last-child(-n+4) {
	    border-bottom: 1px #7d5023 solid;
    }
    .cont .col4:nth-last-child(-n+3) {
	    border-bottom: none;
    }
    .cont .col4:last-child {
	    border-right: none;
    }
    .cont .col3 p {
        font-size: min(2.4vw, 14px);
    }
    .cont .col3 p .font_20 {
        font-size: min(3vw, 18px);
    }
    .cont .col4 p {
        font-size: min(1.6vw, 12px);
    }
    .cont .col4 p .font_18 {
        font-size: min(2vw, 14px);
    }
	.cont .rank {
		width: 50px;
		height: 40px;
		padding-bottom: 5px;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 5px), 0 100%);
	}
	.cont .rank.r_a,
	.cont .rank.r_b,
	.cont .rank.r_c {
		width: 70px;
		height: 50px;
	}
	.cont .img .number {
		width: 60px;
		height: 60px;
	}
	.cont .col4 .img .number {
		width: 45px;
		height: 45px;
	}
	.cont .img .number span {
		top: -3px;
	}
	.finish {
		padding: 10px;
	}
	.finish .font_42 {
		font-size: 20px;
	}
	.finish .font_20 {
		font-size: 14px;
	}
	/*==================================================================================
	エントリー
	==================================================================================*/
	section#entry .boad {
		padding: 20px 0;
	}
	/*==================================================================================
	フッター
	==================================================================================*/
    footer img {
        width: 160px;
    }
}


@media screen and (max-width : 460px) {
	.tb {display: none;}
	.sp {display: inline;}
	/*==================================================================================
	共通
	==================================================================================*/
	/* フォント */
	.font_20 {
		font-size: 16px;
	}
	.font_24 {
		font-size: 18px;
	}
	.font_30 {
		font-size: 20px;
	}
	.font_42 {
		font-size: 24px;
	}
	.font_50 {
		font-size: 28px;
	}
	.font_60 {
		font-size: 30px;
	}
	.font_80 {
		font-size: 40px;
	}
	/*==================================================================================
	メイン
	==================================================================================*/
    .cont .frame::before,
    .cont .frame::after {
        width: 50px;
        height: 50px;
    }
	.cont .col3 {
		width: 100%;
	}
	.cont .col4 {
		width: calc(100% / 2);
	}
	.cont .col3:nth-child(3n) {
	    border-right: none;
	}
	.cont .col4:nth-child(-n+3) {
	    border-top: none
	}
	.cont .col4:nth-child(-n+2) {
	    border-top: 1px #7d5023 solid;
	}
	.cont .col4:nth-child(3n) {
	    border-right: 1px #7d5023 solid;
	}
	.cont .col4:nth-child(4n) {
	    border-right: 1px #7d5023 solid;
	}
	.cont .col4:nth-child(even) {
	    border-right: none;
	}
    .cont .col4:nth-last-child(-n+3) {
	    border-bottom: 1px #7d5023 solid;
    }
    .cont .col3 p {
        font-size: min(3.4vw, 14px);
    }
    .cont .col3 p .font_20 {
        font-size: min(4.6vw, 18px);
    }
    .cont .col4 p {
        font-size: min(2.6vw, 12px);
    }
    .cont .col4 p .font_18 {
        font-size: min(3vw, 14px);
    }
	.cont .rank {
		height: 35px;
	}
	.cont .img img {
		width: 80%;
	}
	.cont .img .number {
		width: 45px;
		height: 45px;
		font-size: 12px;
	}
	.cont .col4 .img .number {
		width: 35px;
		height: 35px;
		font-size: 10px;
	}
	.cont .col4 .img .number span {
		font-size: 16px;
		top: -2px;
	}
}


