@charset "utf-8";

* {box-sizing: border-box;}

html, body {
    width: 100%;
    height: 100%;
    min-width: 320px;
	font-size: 16px;
}

body {
	color: #333332;
    font-size: 14px;
	font-family: 'Noto Sans JP',"Hiragino Kaku Gothic ProN","メイリオ",sans-serif;
    line-height: 1.6;
	background-color: #fff;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

#wrapper {
	position: relative;
	min-height: 100vh;
	padding-bottom: 350px;	/* フッターの高さ */
}
@media screen and (min-width: 560px) {
	#wrapper {
		padding-bottom: 300px;	/* フッターの高さ */
	}
}

.overlay {
	position: absolute;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
	top: 0;
	left: 0;
}

/*  ヘッダー、フッター、コンテンツエリア　===================*/
header, footer, main {
	width: 100%;
}
header {
	position: relative;
	width: 100%;
	height: 45px;
	top: 0;
	left: 0;
	background-color: #000;
	transition: background .4s;
	z-index: 1000;
}
@media screen and (min-width: 769px) {
	header {
		position: fixed;
		height: 60px;
		background-color: rgba(0,0,0,0.3);
	}
	body.scrolling header {
		background-color: rgba(0,0,0,0.8);
		transition: background .4s;
	}
}

main {
	position: relative;
	width: 100%;
}
section {
	position: relative;
	width: 100%;
	padding-top: 5vw;
	padding-bottom: 8.5vw;
}
.container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 4vw;
}
.container.maxw_800 {
	max-width: 800px;
}
@media screen and (min-width: 560px) {
	section {
		padding-bottom: 2.5rem;
	}
}
@media screen and (min-width: 769px) {
	section {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}
@media screen and (min-width: 800px) {
	.container.maxw_800 {
		max-width: 800px;
		padding: 0 2rem;
	}
}
@media screen and (min-width: 1200px) {
	section {
		padding-bottom: 2.5rem;
	}
	.container {
		padding: 0 3rem;
	}
}

footer {
	position: absolute;
	width: 100%;
	height: 350px;
	padding-top: 1.5rem;
	bottom: 0;
	left: 0;
	background-color: #00214a;
}
footer .footer_nav {
	position: relative;
	width: 100%;
	color: #fff;
	line-height: 1.4;
	text-align: center;
}
@media screen and (min-width: 560px) {
	footer {
		height: 300px;
		padding-top: 1rem;
	}
}

/* flexbox ===========================*/
.flex_container {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	margin: 0;
	padding: 0;
}
.flex_container .flex_item {
	position: relative;
	display: inline-block;
}

/* ページトップへ戻るボタン ===========================*/
.btn_top.active {
	bottom: 30px;
}
.btn_top {
	width: 100px;
	position: fixed;
	bottom: -55px;
	right: 0;
	opacity: 0.85;
	z-index: 2000;
	transition: all .3s ease;
}
.btn_top a {
	display: inline-block;
	width: 100%;
	background-color: #666;
	text-align: center;
	color: #fff;
	font-weight: bolder;
	font-size: 14px;
	text-decoration: none;
	padding: 15px;
	border-radius: 5px 0 0 5px;
}
.btn_top a:hover {
	background-color: #333;
	color: #aaa;
}
@media screen and (max-width:520px) {
	.btn_top.active {
		bottom: 20px;
	}
}

/* 段落 ===========================*/

/* リンク ===========================*/
body ul li a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
a {
	color: inherit;
	text-decoration: underline;
}
a:focus {
	outline: 0;
	outline-width: 0;
	outline-style: none;
	outline-color: transparent
}
a:hover {
	color: #775b8f;
}

/* 画像　===========================*/
img {
/*	max-width: 100%;*/
	width: 100%;
	height: auto;
	border: none;
	margin: auto;
	outline: none;
	vertical-align: baseline;
}

/* ライン、枠線　===========================*/
/* 水平線 */
hr {
	margin: 24px 0;
	margin-bottom: 1em;
	height: 1px;
	border: 0;
	background-color: #b3b3b1
}
/* 枠線 */
.border_box {border: solid 1px #999;}
.border_box_dot {border: dotted 1px #999;}
dl.border_box {border: none;}
dl.border_box > dt {margin-bottom: 0.5vw;}
dl.border_box > dd {border: solid 1px #999;}
@media screen and (min-width: 769px) {
	dl.border_box > dt {margin-bottom: 0.3rem;}
}

/* 背景　===========================*/
.bg_black {background-color: #000;}
.bg_gray {background-color: #ddd;}
.bg_white {background-color: #fff;}

/* テキスト関連　===========================*/
.txt_area {margin: 0.8rem 0.8vw;}
@media screen and (min-width: 769px) {
	.txt_area {margin: 0.6rem;}
}
.nowrap {white-space: nowrap;}
.noline {text-decoration: none;}
.fw_bold {font-weight: bolder;}
.fw_nomal {font-weight: normal;}

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

.black {color: #000;}
.white {color: #fff;}
.gray {color: #777;}
.dark_gray {color: #333332;}
.red {color: #f00;}
.yellow_green {color: #00B050;}
.blue {color: #00f;}
.pink {color: deeppink;}

.size_s {font-size:90%;}
.size_ss {font-size:80%;}
.size_l {font-size:120%;}
.size_ll {font-size:130%;}
/* スマホ向け */
.size_2vw {font-size: 2vw;}
@media screen and (min-width: 769px) {
	.size_2vw {font-size: 1rem;}
}

/* リスト関連　===========================*/
/* ul,ol,li */
ul, ol {
	padding-left: 1rem;
	padding-right: 0.9vw;
}
ul > li, ol > li {
	margin: 0.3em 0;
}
ul > li > ul, ul > li > ol,
ol > li > ul, ol > li > ol {
	margin-top: 0.5em;
	margin-bottom: 1em;
}
@media screen and (min-width: 769px) {
	ul, ol {
		margin-right: 0.8rem;
	}
}

/* dl,dt,dd */
dl {
	margin: 0 auto;
}
dl > dt {
	width: 100%;
	margin: 2vw auto 0;
	font-weight: bolder;
}
dl > dt:first-child {
	margin-top: 0;
}
dl > dd {
	position: relative;
	padding: 1.2vw;
}
dl > dd > .txt_area:first-child {
	margin-top: 0;
}
dl > dd > .txt_area:last-child {
	margin-bottom: 0;
}
dl > dd dl > dd {
	padding: 1vw;
}
@media screen and (min-width: 769px) {
	dl > dt {
		margin: 1rem auto 0;
	}
	dl > dd {
		padding: 0.6rem;
	}
	dl > dd dl > dd {
		padding: 0.5rem;
	}
}

/* アコーディオン */
.accordion > dt {
	cursor: pointer;
}
.accordion > dd {
	display: none;
	padding-left: 1rem;
}
.accordion > dd dl > dd {
	padding-bottom: 1rem;
}


/* リスト関連：マーカー　===========================*/
/* 数値 */
ol {
	list-style-type: decimal;
	margin-left: 0.6rem;
}

/* ローマ数字（大文字） */
ul.upper_roman, ol.upper_roman {
	margin-left: 1rem;
	list-style-type: upper-roman;
	margin-left: 0.6rem;
}
/* ディスク（黒丸） */
ul.disc, ol.disc {
	margin-left: 1rem;
	list-style-type: disc;
	margin-left: 0.6rem;
}
/* ディスク（白丸） */
ul.circle, ol.circle {
	margin-left: 1rem;
	list-style-type: circle;
	margin-left: 0.6rem;
}
/* 黒四角：■ */
ul.square, ol.square {
	margin-left: 1rem;
	list-style-type: square;
	margin-left: 0.6rem;
}

/* マーカー：なし */
.no-disc {
	list-style-type: none;
}

/* 半角マーカー： 「-」 */
ul.list-line, ol.list-line {
	list-style: none;
	margin-left: 0.6rem;
}
ul.list-line > li, ol.list-line > li {
	list-style-type: none;
	text-indent: -0.8em;
}
ul.list-line > li::before, ol.list-line > li::before {
	display: inline;
	content: "- ";
}

/* 半角マーカー： 「>」 */
ul.list-greater-than, ol.list-greater-than {
	list-style: none;
	margin-left: 0.6rem;
}
ul.list-greater-than > li, ol.list-greater-than > li {
	list-style-type: none;
	text-indent: -0.6em;
}
ul.list-greater-than > li::before, ol.list-greater-than > li::before {
	display: inline;
	content: ">";
}

/* 半角マーカー： 「*」 */
ul.asterisk, ol.asterisk {
	list-style: none;
	margin-left: 0.6rem;
}
ul.asterisk > li, ol.asterisk > li {
	list-style-type: none;
	text-indent: -0.6rem;
}
ul.asterisk > li::before, ol.asterisk > li::before {
	display: inline;
	content: "* ";
}

/* 半角マーカー： 「・」 */
ul.dot, ol.dot {
	list-style: none;
	margin-left: 0.6rem;
}
ul.dot > li, ol.dot > li {
	list-style-type: none;
	text-indent: -1em;
}
ul.dot > li::before, ol.dot > li::before {
	display: inline;
	content: "・";
}

/* 全角マーカー： 「※」 */
ul.kome, ol.kome {
	list-style: none;
	margin-left: 0.6rem;
}
ul.kome > li, ol.kome > li {
	list-style-type: none;
	text-indent: -1.2em;
}
ul.kome > li::before, ol.kome > li::before {
	display: inline;
	padding-right: 0.2em;
	content: "※";
}

/* カウントアップ： 丸数字（①, ②, ③・・・） */
ol.cntup_maru_number {
	margin-left: 0.6rem;
}
ol.cntup_maru_number > li {
	list-style-type: none;
	list-style-position: outside;
	counter-increment: cnt2;
	text-indent: -1.2em;
}
ol.cntup_maru_number > li::before{
	display: marker;
	padding-right: 0.2em;
}
ol.cntup_maru_number > li:nth-child(1):before{ content: "\002460"; }
ol.cntup_maru_number > li:nth-child(2):before{ content: "\002461"; }
ol.cntup_maru_number > li:nth-child(3):before{ content: "\002462"; }
ol.cntup_maru_number > li:nth-child(4):before{ content: "\002463"; }
ol.cntup_maru_number > li:nth-child(5):before{ content: "\002464"; }
ol.cntup_maru_number > li:nth-child(6):before{ content: "\002465"; }
ol.cntup_maru_number > li:nth-child(7):before{ content: "\002466"; }
ol.cntup_maru_number > li:nth-child(8):before{ content: "\002467"; }
ol.cntup_maru_number > li:nth-child(9):before{ content: "\002468"; }
ol.cntup_maru_number > li:nth-child(10):before{	content: "\002469"; }
ol.cntup_maru_number > li:nth-child(11):before{	content: "\00246a"; }
ol.cntup_maru_number > li:nth-child(12):before{	content: "\00246b"; }
ol.cntup_maru_number > li:nth-child(13):before{	content: "\00246c"; }
ol.cntup_maru_number > li:nth-child(14):before{	content: "\00246d"; }
ol.cntup_maru_number > li:nth-child(15):before{	content: "\00246e"; }
ol.cntup_maru_number > li:nth-child(16):before{	content: "\00246f"; }
ol.cntup_maru_number > li:nth-child(17):before{	content: "\002470"; }
ol.cntup_maru_number > li:nth-child(18):before{	content: "\002471"; }
ol.cntup_maru_number > li:nth-child(19):before{	content: "\002472"; }
ol.cntup_maru_number > li:nth-child(20):before{	content: "\002473"; }

/* カウントアップ： 規約用（第1条, 第2条, 第3条・・・） */
dl.cntup_kiyaku > dt {
	counter-reset: 1;
	counter-increment: cnt;
	padding-left: 1rem;
}
dl.cntup_kiyaku > dt::before{
	display: marker;
	content: "第" counter(cnt) "条 ";
	margin-left: -0.6rem;
}

/* カウントアップ： 数字（1., 2., 3., ・・・） */
dl.cntup_decimal > dt {
	counter-reset: 1;
	counter-increment: cnt;
	padding-left: 1rem;
}
dl.cntup_decimal > dt::before{
	display: marker;
	content: counter(cnt) ". ";
	margin-left: -1rem;
}

/* カウントアップ： ローマ数字（Ⅰ,Ⅱ,Ⅲ・・・） */
dl.upper_roman > dt {
	counter-reset: 1;
	counter-increment: cnt;
	padding-left: 1rem;
}
dl.upper_roman > dt::before{
	display: marker;
	content: counter(cnt, upper-roman) ". ";
	margin-left: -1rem;
}

/* カウントアップ： ローマ字（a,b,c・・・） */
dl.lower_alpha > dt {
	counter-reset: 1;
	counter-increment: cnt2;
	margin-left: 0.2vw;
	margin-top: 0.5rem;
	margin-bottom: 0.3rem;
	padding-left: 1.2rem;
}
dl.lower_alpha > dt::before{
	display: marker;
	content: counter(cnt2, lower-alpha) ". ";
	margin-left: -1.2rem;
}

