@charset "utf-8";

/* 共通
////////////////////////////////////////////////////////////////////*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
    background-color: #fff;
	color: #333;
	font-size: 14px;
	font-style: normal;
	line-height: 1.7;
	text-align: left;
	text-decoration: none;
	font-family: "メイリオ", Meryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
	-webkit-font-smoothing: subpixel-antialiased;
	-webkit-text-size-adjust: 100%;
}
p {
    text-align: justify;
}


/* スクロールバー ///
---------------------------------------------- */

.scroll {
    padding: 5px 4px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.scroll::-webkit-scrollbar-thumb {
    background: #cdcdcd;
    border-radius: 2px;
}
.scroll::-webkit-scrollbar {
    width: 16px;
    background: #f0f0f0;
}


/* 装飾 ///
---------------------------------------------- */

/*----- ライン -----*/

/* バー1 */

.bar01 {
	padding: 4px 0 4px 10px;
    background-color: var(--acc1);
	box-shadow:0px 0px 0px 1px #fff inset;
    border-bottom: 1px solid #ccc;
    color: #fff;
    font-size: 16px;
    line-height: 44px;
}
.bar01 h3{
	display: table;
}
.bar01 h3 > span{
	display: table-cell;
	vertical-align:middle;
}

/* ライン1 */

.line01 {
    padding-left: 10px;
    border: 1px solid #ccc;
	position: relative;
    font-size: 18px;
    line-height: 52px;
}
.line01::after {
    margin: auto;
    width: calc(100% - 2px);
    height: 5px;
    background-color: var(--acc1);
    display: block;
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    content: "";
}

/* ライン2 */

.line02 {
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--acc1);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
}
/* ライン3 */
.line03 {
	font-size: 15px;
	margin-bottom: 20px;
	padding-top: 9px;
	padding-bottom: 5px;
	padding-left: 18px;
	border: 1px solid #ccc;
	font-weight: bold;
	min-height: 44px;
	line-height: 28px;
	position: relative;
}
.line03.row2{
	line-height: 17px;
}
.line03::before {
	content: "";
	width: 6px;
	height: 28px;
	border: #F30 solid 1px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 5px;
	margin: auto 0;
	background: -moz-linear-gradient(top, rgba(255,113,77,1) 50%, rgba(255,51,0,1) 50%, rgba(255,51,0,1) 100%);
	background: -webkit-linear-gradient(top, rgba(255,113,77,1) 50%,rgba(255,51,0,1) 50%,rgba(255,51,0,1) 100%);
	background: linear-gradient(to bottom, rgba(255,113,77,1) 50%,rgba(255,51,0,1) 50%,rgba(255,51,0,1) 100%);
}

/*----- ボタン -----*/

/* ボタン1 */

.btn01 {
    background: -moz-linear-gradient(top, rgba(255,82,0,1) 0%, rgba(255,30,0,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,82,0,1) 0%, rgba(255,30,0,1) 100%);
    background: linear-gradient(to bottom, rgba(255,82,0,1) 0%, rgba(255,30,0,1) 100%);
    border: 1px solid #cd2800;
    border-radius: 3px;
	box-shadow:0px 0px 0px 1px #fff,1px 1px 0px 0px #ffba99 inset;
    display: block;
    color: #fff;
	font-size: 16px;
	font-weight: bold;
    line-height: 50px;
	text-align: center;
}

/* ボタン2 */

.btn02 {
	background: -moz-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(223,223,223,1) 100%);
    background: -webkit-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(223,223,223,1) 100%);
    background: linear-gradient(to bottom, rgba(242,242,242,1) 0%, rgba(223,223,223,1) 100%);
    border: 1px solid #ccc;
    border-radius: 3px;
    display: block;
	color: #75583b;
	font-size: 16px;
	font-weight: bold;
    line-height: 50px;
	text-align: center;
}


/*----- 枠 -----*/

/* 枠1 */

/*.waku01 {
    margin-right: 10px;
    width: 64px;
    height: 44px;
    border: 1px solid #FFF;
    border-radius: 50%;
    background-color: #F30;
    display: inline-block;
	color: #fff;
	font-size: 12px;
    line-height: 44px;
    text-align: center;

}
@media (min-width: 360px) {
	.waku01 {
		width: 84px;
		font-size: 14px;
	}
}*/
.waku01 {
	margin-right: 10px;
	width: 82px;
	height: 44px;
	border: 1px solid #FFF;
	border-radius: 50%;
	background-color: #F30;
	display: inline-table;
	display:table;
	color: #fff;
	font-size: 12px;
	line-height: 44px;
	text-align: center;
}
@media (min-width: 410px) {
	.waku01 {
		width: 136px;
		font-size: 14px;
	}
	.waku01 br{
		display:none;
	}	
}
.waku01 span{
	line-height: 14px;
	display:table-cell;
	vertical-align: middle;
	padding-top: 4px;
}

/* 矢印 ///
---------------------------------------------- */

/*--- アコーディオン ---*/

.com_toi .com_toggle::after {
    margin-left: 0.5em;
    content: "\f0d7";
	font-family: fontawesome;
}
.com_toi .com_toggle.active::after {
    content: "\f0d8";
}

/*--- 共通 ---*/

/*「ya = 共通色」「ya-a ＝ アクセント色」*/

.ya:before ,
.ya_af:after ,
.ya-a:before {
    margin-right: 10px;
    width: 11px;
    height: 11px;
    background: url(/smp/images/common/yajirushi.png) no-repeat center;
    background-size: 7px;
    border-radius: 3px;
    display: inline-block;
    content: "";
}
.ya:before ,
.ya_af:after {
	background-color: #533b22;
}
.ya_af:after {
	margin:0 0 2px 10px;
}
.ya-a:before {
    background-color: #ff7900;
}

/* 矢印回転 */

.d-top:before {
	-moz-transform: rotate(270deg);
	-webkit-transform: rotate(270deg);
	transform: rotate(270deg);

}
.d-left:before {
	-moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}


/* 改行 ///
---------------------------------------------- */

@media screen and (max-width: 370px) {
.br_min:before {
	content: "\A";
	white-space: pre;
}
}
@media screen and (max-width: 380px) {
.br_middle:before{
	display:none;
}
}
@media screen and (max-width: 600px) {
.br_middle:before {
	content: "\A";
	white-space: pre;
}	
.br:before {
	content: "\A";
	white-space: pre;
}
}
@media screen and (max-width: 660px) {
.br_w:before {
	content: "\A";
    white-space: pre;
}
}



/* ヘッダー
////////////////////////////////////////////////////////////////////*/

#body_header {
	position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
	padding-top: 50px;
}
#body_header::after {
	position: absolute;
	bottom: -5px;
	content: "";
	width: 100%;
	height: 5px;
	background-image: url(/smp/images/common/hed_shadow.png);
	background-repeat: repeat-x;
	background-size: 5px;
	z-index: 1;
}
#body_header > div{
	display: flex;
	align-items: center;
	position: fixed;
	top: 0;
	z-index: 999;
	border-bottom: 1px solid #999;
	background-color: #fff;
}
#body_header h1 {
    padding: 8px 0 2px 10px;
    width: calc(100% - 105px);
    font-size: 10.5px;
    font-weight: normal;
    /*line-height: 1.5;*/
	line-height: 1.2;
}

/*-----*/

#body_header nav {
    margin-left: auto;
    padding: 5px 10px 5px 0;
    width: 95px;
    display: -webkit-flex;
    display: flex;
}
#body_header nav > p {
    width: 50%;
}
#body_header nav > p button, #body_header nav > p label {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    background-color: #ffffff;
    border: solid 1px #aaaaaa;
    border-radius: 5px;
    display: block;
    font-size: 8px;
    line-height: 8px;
    text-align: center;
    font-family: "メイリオ", Meryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
}
#login_btn button {
	letter-spacing: -0.1em;
}
#body_header nav > p:first-child {
	margin-right:5px;
}

/*-----*/

#body_header h2 {
    width: 100%;
}
header h2 > a {
	border-bottom: 5px solid var(--acc1);
	text-align: center;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}
header h2 img {
    height: 25px;
	cursor: default;
	pointer-events: none;
}
#menu-button > p > *::before {
    color: #999;
    display: block;
    font-size: 25px;
    line-height: 25px;
    font-family: fontawesome;
}
#login_btn button::before {
    content: "\f023";
}
#menu_btn > label::before {
    content: "\f0c9";
}
p#menu_btn label::before {
    margin-top: 3px;
}



/* ドロワーメニュー
////////////////////////////////////////////////////////////////////*/

/* 親メニュー */

#drawr-menu a, #drawr-menu li label {
    padding: 15px 20px;
    display: block;
    position: relative;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
}

#drawr-menu {
    margin: auto;
    width: 300px;
    height: 410px;
    background-color: var(--acc1);
    border: 1px solid #fff;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
	/*  z-index含めて transition */
	transition: 0.2s linear;
	pointer-events: none;/*position: fixedによって「非表示なのにクリックできる」状態を防ぐ*/ 
}
#menu-button > p ~ input {
	display: none;
}
#drawr-menu li {
    border-bottom: 1px dotted rgba(255,255,255,0.5);
}
#drawr-menu > li:first-child label,
.back {
	background-color: rgba(0,0,0,0.1);
}
#drawr-menu > li:first-child label::after {
	color: rgba(255,255,255,0.6);
	position: absolute;
    right: 15px;
    content: "\f00d";
    font-family: fontawesome;
}
#drawr-menu > li:first-child,
#drawr-menu > li:nth-last-child(2),
#drawr-menu dd > ul > li:first-child {
	border-bottom: none;
}

/* 子メニュー */

#drawr-menu dd {
    box-sizing: border-box;
    width: 200px;
    height: calc(100% + 2px);
    background-color: var(--acc1);
    border: 1px solid #fff;
    border-left: none;
    position: absolute;
    top: -1px;
    z-index: 10;
    -webkit-transform: translateX(300px);
    transform: translateX(300px);
	transition: 0.2s ease-in-out;
}


/* 親メニュー表示 ///
---------------------------------------------- */

input:not(#dr_close):checked ~ #drawr-menu {
    opacity: 1;
    z-index: 20;
	-webkit-transform: translateX(0);
    transform: translateX(0);
	/* z-index以外をtransition */
	-webkit-transition: -webkit-transform 0.15s linear,opacity 0.15s linear;
    transition: transform 0.2s linear,opacity 0.2s linear;
	pointer-events: auto;/*position: fixedによって「非表示なのにクリックできる」状態を防ぐ*/ 
}

/*　閉じ用ラベル */

input:not(#dr_close):checked ~ label {
    background-color: rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}


/* 子メニュー表示 ///
---------------------------------------------- */

input#dr_sub1:checked ~ #drawr-menu #ul_sub1,
input#dr_sub2:checked ~ #drawr-menu #ul_sub2  {
    box-shadow: -8px 0px 6px -5px rgba(0,0,0,0.3);
    z-index: 10;
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
}

/* 進み用ラベル */

.next {
	position: relative;
}
.next::after {
    margin: auto;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-left: 10px solid rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    content: "";
}
#drawr-menu dt .hover {
	background-color: rgba(0,0,0,0.2);
}

/* 戻り用ラベル */

.back::before {
    margin: auto;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-right: 10px solid rgba(255,255,255,0.6);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    content: ""
}
.back {
    padding-left: 40px !important;
}

/* 子メニュー表示時 左 戻り用ラベル */

li#dr_back {
    display: none;
}
	
input#dr_sub1:checked ~ #drawr-menu li#dr_back,
input#dr_sub2:checked ~ #drawr-menu li#dr_back {
    overflow: hidden;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
}
input#dr_sub1:checked ~ #drawr-menu li#dr_back label,
input#dr_sub2:checked ~ #drawr-menu li#dr_back label {
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	-webkit-tap-highlight-color:rgba(0,0,0,0.2);
}



/* フッター
////////////////////////////////////////////////////////////////////*/

#body_footer {
    margin-top: 40px;
	padding-bottom: 20px;
    background-color: var(--acc1);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
#pagetop {
    border-top: 1px solid #dfdfdf;
    background: -moz-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(223,223,223,1) 100%);
    background: -webkit-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(223,223,223,1) 100%);
    background: linear-gradient(to bottom, rgba(242,242,242,1) 0%, rgba(223,223,223,1) 100%);
    display: block;
    line-height: 39px;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}
#pagetop::before {
    margin-right: 5px;
    color: #ff7900;
    font-size: 14px;
    content: "\f0d8";
    font-family: fontawesome;
}

#body_footer > p {
	margin-bottom: 20px;
    width: 100%;
}

#body_footer div {
	margin: 0 10px;
	width: 100%;
}

#body_footer h4 {
	color: #fff;
	font-size: 100%;
}
#body_footer li a {
    border-top: 1px solid rgba(255,255,255,0.25);
    border-right: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-left: 1px solid rgba(255,255,255,0.25);
    /*background-color: rgba(255, 255, 255, 0.15);*/
	background-color: rgba(255, 255, 255, 0.2);
    display: block;
    color: #FFF;
    line-height: 40px;
    text-align: center;
}
#body_footer div:nth-of-type(1) {
	margin-bottom: 20px;
}

@media (min-width: 500px) {
	#body_footer div {
		margin: 0;
		padding: 0 10px;
		width: 50%;
	}
	#body_footer div:nth-of-type(1) {
		padding-right: 0;
	}
	#body_footer div:nth-of-type(2) {
		padding-left: 0;
	}
}

#copyright {
    margin-right: 10px;
    margin-left: 10px;
    color: #666;
    font-size: 12px;
}
@media (max-width: 400px){
	#copyright {
		font-size: 10px;
	}
}

