@charset "utf-8";

/*------------------------------------------------------------
	index
------------------------------------------------------------*/
#main .topList {
	display: flex;
    margin-top: 3.5em;
}
#main .tabList {
	margin-bottom: -0.5rem;
	display: flex;
	position: relative;
	align-items: flex-end;
	background-color: #ffffc4;
}
#main .tabList li {
	width: 33.3%;
	padding-bottom: 0.5rem;
}
#main .tabList a {
	margin: 0 -0.1rem;
	padding: 0.5rem 0.5rem 0.4rem;
	display: block;
	color: #FFF;
	font-weight: bold;
	font-size: 1.6rem;
	text-align: center;
	border: 0.2rem solid #004c71;
	border-bottom-width: 0.3rem;
	border-radius: 1.8rem 1.8rem 0 0;
}
#main .tabList a::after {
	position: absolute;
	left: 0;
	top: calc(100% - 0.5rem);
	width: 100%;
	height: 0.5rem;
	background-color: #84d76e;
	content: '';
	display: none;
}
#main .tabList .item01 a {
background-color: #fff;
    color: #000;
}
#main .tabList .item02 a {
background-color: #fff;
    color: #000;
}
#main .tabList .item02 a::after {
background-color: #ff958d;
    color: #000;
}
#main .tabList .item03 a {
	background-color: #fff;
    color: #000;
}
#main .tabList .item03 a::after {
	background-color: #3fb3dc;
    color: #000;
}
#main .tabList .on a::after {
	display: block;
}
#main .tabList .on a {
	padding: 1.2rem 0.5rem 0.8rem 2.5rem;
	border-width: 0.3rem;
	border-bottom: none;
	
}
#main .tabList .on a::after {
	opacity: 1;
}
#main .tabList .item01.on a {
	border-radius: 0 2.5rem 0 0;
	border-left: none;
	background: url(../img/link_icon01.png) no-repeat 0.5rem 1rem / 3rem;
	background-color: #84d76e;
    color: #fff;
}
#main .tabList .item02.on a {
	padding-left: 3rem;
	border-radius: 2.5rem 2.5rem 0 0;
	background: url(../img/link_icon02.png) no-repeat 0.5rem 1rem / 3rem;
	background-color: #ff958d;
    color: #fff;
}
#main .tabList .item03.on a {
	border-radius: 2.5rem 0 0 0;
	padding-left: 3rem;
	border-right: none;
	background: url(../img/link_icon03.png) no-repeat 0.5rem 1rem / 3rem;
	background-color: #3fb3dc;
    color: #fff;
}
#main .tabBox {
	padding: 0rem 1rem 0;
}
#main .head02 {
	margin: 0 auto 2rem;
}
#main .tabBox .photo {
	margin-bottom: 1.2rem;
}
#main .tabBox p {
	line-height: 1.73;
}

@media all and (min-width: 897px) {
	#main .topList {
    margin-top: 0;
}
}
/*------------------------------------------------------------
	デフォルトスタイル
------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, figcaption, figure, section, footer, header, main, hgroup, menu, nav, summary {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	outline: 0;
	font-size: 1em;
	box-sizing: border-box;
}
html {
	font-size: 62.5%;
}
body, table, input, textarea, select, option {
	font-family: "Lato","ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana","Zen Maru Gothic";
}
article, aside, canvas, details, figcaption, figure, footer, header, main, hgroup, menu, nav, section, summary {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
chrome_annotation {
	border: none !important;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
img {
	vertical-align: top;
	max-width: 100%;
    height: auto;
}
address {
	font-style: normal;
}
a,
a:link {
	color: #000;
	text-decoration: none;
	transition: 0.3s;
}
a:visited {
	color: #000;
}
a:active {
	color: #000;
}
/*------------------------------------------------------------
	レイアウト
------------------------------------------------------------*/
body {
	color: #000;
	font-size: 1.5rem;
	line-height: 1.5;
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
	background-color: #FFF;
}
.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
}
#container {
	text-align: left;
}
a[href^="tel:"] {
	cursor: default;
	pointer-events: none;
}
@media all and (min-width: 897px) {
	.sp {
		display: none !important;
	}
	body {
		background: url(../img/body_bg.png) repeat center top / 60rem;
		background-attachment: fixed;
	}

	.wrapper {
		margin: 0 auto;
		max-width: 94rem;
		padding: 0 2rem;
		display: flex;
		justify-content: space-between;
	}
	#main {
		margin-left: auto;
		width: 37.6rem;
		border: solid 2px #000000;
		background-color: #fff;
  z-index: 1;
	}
}
@media all and (max-width: 896px) {
	html {
		font-size: calc(1000vw / 375);
	}
	body {
		min-width: inherit;
	}
	a:hover,
	a:hover img {
		opacity: 1 !important;
	}
	.pc {
		display: none !important;
	}
	a[href^="tel:"] {
		cursor: pointer;
		pointer-events: auto;
	}
}
/*------------------------------------------------------------
	PCの時のヘッダー設定
------------------------------------------------------------*/
#gHeader h1 img {
	width: 27.5rem;
}
#gHeader .linkUl {
	margin: 0 -7px 0;
	display: flex;
	flex-wrap: wrap;
}
#gHeader .linkUl li {
	margin-top: 1.5rem;
	width: 33.33%;
	padding: 0 7px;
}
#gHeader .linkUl a {
padding-top: 2px;
    height: 9.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.43;
    font-weight: 700;
    text-align: center;
	border: solid 2px #000000;
	color: #fff;
}
#gHeader .linkUl a span {
	margin-top: 4px;
	display: block;
	transition: 0.3s;
}
#gHeader .linkUl img {
	margin-left: -5px;
	width: 3.7rem;
	transition: 0.3s;
}
#gHeader .linkUl .wid {
	width: 100%;
}
#gHeader .linkUl .wid img {
	margin: 0 4.2rem 0 0;
	width: 6rem;
}
#gHeader .linkUl .wid span {
	margin-top: 0;
}
#gHeader {
    position: fixed;
    background: #fff;
    width: 100%;
    top: 0;
    z-index: 99;
}
.contents-a{
	background-color: #84d76e;
}
.contents-b{
	background-color: #ff958d;
}
.contents-c{
	background-color: #3fb3dc;
}
.contents-d{
	background-color: #ffa746;
}
.contents-e{
	background-color: #2bb0aa;
}

@media all and (min-width: 897px) {
	#gHeader {
		margin-left: -26.3rem;
		width: 37.5rem;
		left: 50%;
		transform: translateX(-50%);
		background: transparent;
	}
	#gHeader h1 {
		padding: 1.6rem 1.7rem 1.6rem;
		background-color: #FFF;
	border: solid 2px #000000;
	}
	#gHeader h1 img {
		width: 33.4rem;
	}
}
@media all and (min-width: 897px) and (max-width: 920px) {
	#gHeader {
		margin-left: -24.3rem;
	}
}
/*------------------------------------------------------------
	フッター
------------------------------------------------------------*/
#gFooter {
	padding: 2.5rem 2rem 2.5rem;
	position: relative;
	background-color: #fff352;
	height: 150px;
}
#gFooter .logo {
	text-align: center;
}
#gFooter .logo img {
	width: 26.1rem;
}
#gFooter .pageTop {
	position: fixed;
	right: 1.8rem;
	bottom: 75px;
	z-index: 99;
}
#gFooter .pageTop a {
	display: block;
	width: 4.8rem;
}
#gFooter .pageTop a::before {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	background: url(../img/page_top_on.png) no-repeat center top / 100%;
	opacity: 0;
}
@media all and (min-width: 897px) {
	#gFooter .pageTop a:hover img {
		opacity: 0;
	}
	#gFooter .pageTop a:hover::before {
		opacity: 1;
	}
	#gFooter .pageTop a {
		width: 6.9rem;
	}
	#gFooter .pageTop {
		right: 6.2rem;
		bottom: 1rem;
		position: fixed;
	}
}
@media all and (min-width: 897px) and (max-width: 1100px) {
	#gFooter .pageTop a {
		width: 4.9rem;
	}
	#gFooter .pageTop {
		right: 2.2rem;
	}
}
@media all and (max-width: 896px) {
	#gFooter .pageTop a.moving img {
		opacity: 0 !important;
	}
	#gFooter .pageTop a.moving::before {
		opacity: 1;
	}
}