/*-----------
CSS Variables
-----------*/
:root{
	--font-size:15px;
	--max-width:1200px;
	--color: #717171;
	--color-a: #717171;
	--color-link: #a097cf;
	--sub-color:#3876ad;
	--background: #fff;
	--btn:#3876ad;
	--btn-hover:#fff;
	--btn-color:#fff;
	--btn-color-hover:#000;
	--btn-max-w:500px;
	--border-radius:10px;
}

@media screen and (max-width: 960px){
	:root{
		--font-size:14px;
	}
}

/*-----------
Reset
-----------*/
* {margin: 0;padding: 0; box-sizing: border-box;}

li{list-style: none;}

/*-----------
Body
-----------*/
body{position: relative; color: var(--sub-color);font-size: var(--font-size); width: 100%; line-height: 1.8; overflow-x: hidden;font-family: "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Sans", "ヒラギノ角ゴシック", Meiryo, "メイリオ", sans-serif;font-optical-sizing: auto; font-weight: 500;background:var(--background); transition: opacity 0.3s ease-in;}

img{height: auto;}

@media screen and (max-width: 800px){
	body{width: 100%;}
	img{width: 100%;}
}

/*-----------
Common Elements
-----------*/
a{color: var(--color-a);text-decoration: none;}
a:hover{text-decoration: underline; color: #f991c2;}

/*-----------
Flexbox Utilities
-----------*/
.flex{display: flex; align-items: flex-start; flex-wrap: wrap;}
.flex img{align-items: flex-start;}
.mleft{margin-left: auto;}

/*-----------
List Styles
-----------*/
ul.disc{margin-left: 2em;}
.disc li{margin-left: -1em;}
.disc li::before{content: "・"; margin-left: -1em;}

/* Rich text list styles */
article ol {
	margin-left: 2em;
	margin-top: 1em;
}

article ol li {
	list-style: decimal;
	margin-top: 0.5em;
}

/*-----------
Responsive Utilities
-----------*/
.pc{display: block;}
.sp{display: none;}

@media screen and (max-width: 768px){
	.pc{display: none;}
	.sp{display: block;}
}

/*-----------
Buttons
-----------*/
.btn{position: relative;display: block;
	background: var(--btn);
	border: 1px solid #000;
	border-color: var(--btn);
	color: var(--btn-color);
	text-align: center;
	padding: .8em 2em .8em 1em;
	max-width: var(--btn-max-w);
	width: 80%;
	margin: 0 auto;
	text-decoration: none;
	border-radius: var(--border-radius);
}

.btn::after{content: "";position: absolute; top: calc(50% - .25em); right: 1.5em;width: 0;height: 0;border: 1px solid #fff; border-width: 1px 1px 0 0; width: .5em; height: .5em;transform: rotate(45deg) }

a.btn:hover,
a.btn:active{text-decoration: none; color: #3876ad; background:var(--btn-hover); transition: all 0.2s linear;}
a.btn:hover::after,
a.btn:active::after{border-color: var(--btn);}

.btn-disabled{
	background: #999;
	border-color: #999;
	color: #fff;
	cursor: default;
	pointer-events: none;
}

.btn-disabled::after{
	border-color: #ccc;
}

/*-----------
Rich Text Styles
-----------*/
p:empty {
	min-height: 1em;
}

/*-----------
Common Section Styles
-----------*/
article section{max-width: 1500px; width: 95%; margin: 0 auto;}

/*-----------
Bottom Page Common Styles
-----------*/
body.bottom{background: url(../images/commone/bg_bottom.jpg) no-repeat; background-position: top center; background-size: 100% auto;}

body.bottom article{padding: calc(2.5% + 57px) 0 0 0; color: var(--sub-color);}
body.bottom article h2{padding: 1em 0 2em; text-align: center; color: var(--sub-color);}
body.bottom article section{max-width: 1200px; width: 95%; margin: 0 auto;position: relative; z-index: 10; padding-bottom: 5em;}

.bottom_lead{text-align: center; width: 95%; margin: 0 auto;}
.bottom_lead p{text-align: center;}
.bottom_lead span{font-size: .8em;}
.sub_ttl{border-bottom: 1px solid var(--sub-color); margin-bottom: 1em;}

.bottom hr{margin-top: 1em; border: 1px solid var(--sub-color); border-width: 1px 0 0 0;}

@media screen and (max-width: 768px){
	body.bottom article h2{padding-bottom: 0;}
}
