/* Sea-Style マリン塾 [ スケジュール・予約状況 ] : base.css */


html, 
body {
	width: 100%;
	min-width: 320px;
	background: #3b3b3b;
}

*,:after,:before{ box-sizing: border-box; }

html {
	font-size: 62.5%; /* 基本サイズ：10px */
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

body {
	font-family:  "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 1.6em; /* Chrome対策でremにしない */
	line-height: 1;
}

@media screen and (max-width: 767px) { /* Smartphone */
	body {
		font-size: 1.2em; /* Chrome対策でremにしない */
	}
} /* */


/* [ link ] */
a {
	display: inline-block;
	color: #0a2d81;
	text-decoration: none;
	transition: background-color 0.5s ease-in-out, 
				color 0.5s ease-in-out, 
				opacity 0.5s ease-in-out; */
}
a:link, 
a:visited {
}
a:hover,
a:active {
}

/* [ img ] */
img {
	max-width: 100%;
	height: auto;
	line-height: 0;
	vertical-align: middle;
}
a img {
	-webkit-transition: opacity ease .3s; /* Safari */
	transition: opacity ease .3s;
}
/* a:hover img, 
a:active img {
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
} */

/* [ svg ] */
svg {
	max-width: 100%;
	height: auto;
	line-height: 0;
	vertical-align: middle;
}
a svg {
	-webkit-transition: opacity ease .3s; /* Safari */
	transition: opacity ease .3s;
}

/* [ figure ] */
figure { margin: 15px 0; }

/* [ p ] */
p { margin: 15px 0; }

/* [ span / b / em / time ] */
span, b, em, time { display: inline-block; }
em { font-style: normal; }

/* [ button ] */
button {
	-webkit-transition: background ease .3s, 
						color ease .3s, 
						border ease .3s, 
						opacity ease .3s; /* Safari */
	transition: background ease .3s, 
				color ease .3s, 
				border ease .3s, 
				opacity ease .3s;
}

/* [ table ] */
table {
	border-collapse:collapse;
	border-spacing:0;
}

/* [ clearfix ] */
.cf::after {
	display: block;
	clear: both;
	content: "";
}

/* [ 非表示 ] */
.allnone { display: none !important; }

@media screen and (min-width: 768px) { /* PC */
	.pcnone { display: none !important; }
} /* */
@media screen and (max-width: 767px) { /* Smartphone */
	.spnone { display: none !important; }
} /* */


/*======================================================================*
 *  [ header ]
 *======================================================================*/

#header { background: #fff; }
#header .inner {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
}
@media screen and (min-width: 768px) { /* PC */
	#header { padding: 0 20px; }
	#header .inner { height: 93px; }
} /* */

@media screen and (max-width: 767px) { /* Smartphone */
	#header { padding: 0 15px; }
	#header .inner { height: 60px; }
} /* */

/* [ YAMAHAロゴ ] */
@media screen and (min-width: 768px) { /* PC */
	#header .logo {
		width: 136px;
		height: 47px;
		margin-top: 26px;
	}
} /* */

@media screen and (max-width: 767px) { /* Smartphone */
	#header .logo {
		width: 109px;
		height: 37px;
		margin-top: 12px;
	}
} /* */

/* [ 閉じるボタン ] */
#header .close {
	position: absolute;
	right: 0;
	min-width: 23px;
	height: 23px;
	background: url(../img/icon_close.svg) right center no-repeat;
	background-size: 23px 23px;
	color: #3b3b3b;
}
#header .close span { margin: 5px 40px 0 0; }

@media screen and (min-width: 768px) { /* PC */
	#header .close { top: 35px; }
}

@media screen and (max-width: 767px) { /* Smartphone */
	#header .close { top: 20px; }
} /* */


/*======================================================================*
 *  [ main ]
 *======================================================================*/

#main {
	display: block;
	padding: 1px 0;
	background: #fff;
}


/*======================================================================*
 *  [ common ]
 *======================================================================*/

/* [ wrap / inner ] */
.wrap { width: 100%; }
.wrap.shade {
	background: url(../img/bg.png);
	background-size: 5px auto;
}
.wrap.gray { background: #e9e9e9; }

.wrap > .inner { max-width: 1010px; }

@media screen and (min-width: 768px) { /* PC */
	.wrap { padding: 1px 20px; }
	.wrap > .inner { margin: 3px auto; }
} /* */

@media screen and (max-width: 767px) { /* Smartphone */
	.wrap { padding: 1px 15px; }
	.wrap > .inner { margin: 20px auto; }
} /* */


/*======================================================================*
 *  [ footer ]
 *======================================================================*/

#footer {
	height: 100px;
	color: #fff;
	text-align: center;
}

/* [ コピーライト ] */
#footer .copyright { font-style: normal; }

@media screen and (min-width: 768px) { /* PC */
	#footer .copyright { padding-top: 44px; }
} /* */

@media screen and (max-width: 767px) { /* Smartphone */
	#footer .copyright {
		padding-top: 20px;
		font-size: 1.5rem;
	}
} /* */


/*======================================================================*
 *  [ pagetop ]
 *======================================================================*/

#pagetop {
	position: fixed;
	right: 0;
	background: rgba(0,0,0,.6) url(../img/icon_back.svg) no-repeat;
	color: #fff;
	text-align: center;
	z-index: 100;
	opacity: 0;
}
#pagetop.show { opacity: 1; }
#pagetop span {
	margin-top: 35px;
	font-size: 1rem;
	line-height: 1.2;
}

@media screen and (min-width: 768px) { /* PC */
	#pagetop {
		bottom: 35px;
		width: 43px;
		height: 67px;
		background-position: center 14px;
		background-size: 23px 17px;
	}
} /* */

@media screen and (max-width: 767px) { /* Smartphone */
	#pagetop {
		bottom: 20px;
		width: 35px;
		height: 35px;
		background-position: center;
		background-size: 19px 14px;
	}
} /* */

