@charset "utf-8";

/********* HTML再定義 ***********************************************/
body{
	background-image: url(../files/medias/common/back2.gif);
}

h2, h3, h4, h5, h6 {
	font-size: 100%;
}

a:link {
	color: hsla(229,59%,19%,1.00)
}
a:visited {
    color: hsla(227,79%,64%,1.00)
}
a:active, a:hover {
    color: hsla(231,100%,50%,1.00)
}

/********* ヘッダー *************************************************/

header{
    position: sticky;
    z-index: 9000;
    top: 0;
    width: 100%;
    border-bottom: 3px solid hsla(309,56%,42%,1.00);
    background-color: hsla(0,0%,100%,1.00);
}
#header{
	width: 100%;
    max-width:1000px;
	height: 70px;
    margin:0 auto;
}
#header h1 {
    width:280px;
	height:70px;
    margin:0;
    padding:0;
    text-indent: -9999px;
    background-position: 10px bottom;
    background-image: url(../files/medias/common/title_s.svg);
    background-repeat: no-repeat;
    background-size: auto 60px;
}
#header h1 a{
    display: block;
    width:100%;
	height:100%;
}

@media all and (min-width: 480px) {
	
    #header{
        height: 70px;
    }
    #header h1{
    width: 400px;
    height: 70px;
    background-image: url(../files/medias/common/title.svg);
    background-position: 10px bottom;
    background-size: auto 60px;
    }

}

@media all and (min-width: 1000px) {
	
    header{
        border-bottom:0px none;
		position: relative;
		background-image: url(../files/medias/common/titleback.jpg);
	background-position: top right;
	background-repeat: no-repeat;
	background-size: auto 100px;
	}
	#header{
        height: 100px;
    }
    
    #header h1{
    background-position: left 25px;
	width: 480px;
    height: 100px;
    background-image: url(../files/medias/common/title.svg);
    background-size: 480px auto;
    }
}


/********* メニュー *************************************************/
@media all and (max-width: 999px) {

#menu {
	position: fixed;
	top:0;
    z-index:10000;
	}

.nav-wrap {
	position: fixed;
	left: 0;
	top: 0;
	display: none;
	background-color: rgba(233,233,233,0.98);
	width: 100%;
	height: 100%;
}
.nav {
	height: 100%;
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	padding:50px 15px 20px 15px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}
.nav li{
	display: block;
	margin: 0;
	border-left: 0px none;
	border-right: 0px none;
	border-bottom: 1px dotted hsla(0,0%,79%,1.00);
	border-top: 0px none;
	height: 50px;
	width: 100%;
}
.nav li a {
	color: #2A2A2A;
	font-size: 1.8rem;
	text-decoration: none;
	display: block;
	height:50px;
	line-height:50px;
	width:100%;
	padding-left:15px;
}
.nav a:link,
.nav a:visited {
	color: #2A2A2A;
}
.nav a:hover,
.nav a:active {
	color: #2A2A2A;
	background-color: hsla(0,0%,80%,1.00);
}
/*メニューボタンのエフェクト*/
.nav-button, .nav-button span {
	display: inline-block;
	transition: all 0.4s;
	box-sizing: border-box;
}
.nav-button {
	z-index: 300;
	position: fixed;
	top:15px;
	right:15px;
	width: 32px;
	height: 28px;
}
.nav-button span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #A2A2A2;
}
.nav-button span:nth-of-type(1) {
	top: 0;
}
.nav-button span:nth-of-type(2) {
	top: 12px;
}
.nav-button span:nth-of-type(3) {
	bottom: 0;
}
.nav-button.active span:nth-of-type(1) {
	-webkit-transform: translateY(12px) rotate(-45deg);
	transform: translateY(12px) rotate(-45deg);
}
.nav-button.active span:nth-of-type(2) {
	opacity: 0;
}
.nav-button.active span:nth-of-type(3) {
	-webkit-transform: translateY(-12px) rotate(45deg);
	transform: translateY(-12px) rotate(45deg);
}

.nav-wrap.open {
	display: block;
}
.nav-wrap.close {
	display: none;
}

	.nav-button::after {
	position: absolute;
	left: 0;
	bottom: -20px;
	content: 'MENU';
	display: block;
	width: 100%;
	font-size: 1rem;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	transition: all .4s;
	color: #4F4F4F;
	}

}



@media all and (min-width: 1000px) {
	#menu {
    position: relative;
    background-color: #AB296D;
    height: 60px;
    width: 100%;
	}
	.nav-button {
	display: none;
}
	ul.nav {
	display: flex;
        width:1000px;
	height:40px;
	line-height:40px;
	margin: 0px auto;
	padding: 10px 0;
		text-align: center;
}
	ul.nav li {
		list-style: none;
		height:40px;
        width:50%;
        border-right: 1px solid hsla(0,0%,100%,0.50);
	}
    ul.nav li:first-child{
    border-left: 1px solid hsla(0,0%,100%,0.50);
}
	ul.nav li a{
		position: relative;
		display: block;
		padding:0;
		margin:0 10px;
		color: hsla(0,0%,100%,1.00);
	}
	
ul.nav li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-color: hsla(0,0%,100%,1.00);
    bottom: -10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

ul.nav li a:hover::after {
visibility: visible;
bottom: 0px;
opacity: 1;
}	
	
	
	
	
	
ul.nav li a.now {
	border-bottom:solid 1px hsla(0,0%,100%,1.00);
}

}



/********* フッター *************************************************/

#footer {
    text-align: center;
    width: 100%;
    clear: both;
    padding-top: 50px;
    padding-bottom: 5px;
}

div#footer p {
    color: #838383;
    font-size: 1.1rem;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}



/********* 全体 *****************************************************/

div#container {
	max-width: 1000px;
	width:100%;
	margin: 0 auto;
}


/*-----------------  ページ下：：page-top ボタン  -----------------*/
/*--------------------------------------------------*/

p#page-top {
	position: fixed;
	bottom: 0px;
	right: 20px;
	z-index: 200;
	font-weight: bold;
	line-height:1;
	margin:0;
	padding:0;
}

p#page-top a {
	background-color: hsla(0,0%,49%,0.29);
	text-decoration: none;
	color: #fff;
	width: 50px;
	height: 50px;
	line-height: 50px;
	margin: 0;
	padding: 0;
	text-align: center;
	display: block;
	border-radius: 25px;
	font-size:1.35rem;
}
p#page-top a:hover {
	text-decoration: none;
	background-color: hsla(0,0%,40%,0.90);
	color: #FFFFFF;
}




/********* ページ移動 ***********************************************/

div#page h2 {
	display: none;
}
div#page ul.order {
	margin: 10px 0;
}
div#page ul.order li {
	display: inline;
	list-style: none;
	margin-right: 10px;
}
div#page ul.direct {
	margin: 10px 0;
	text-align: right;
}
div#page ul.direct li {
	display: inline;
	list-style: none;
	margin-left: 10px;
}



/********* 個別指定 *************************************************/

div#page_link ul.page_link {
	margin: 0 0 20px 0;
}
div#page_link ul.page_link li {
	display: inline;
	list-style: none;
	margin-right: 10px;
}
div#page_link ul.page_link li.home {
	padding-right: 10px;
	padding-left: 10px;
	border-right: 1px solid #999999;
	border-left: 1px solid #999999;
}
div#page_link ul.page_link li.previous:before {
	content: "<< ";
}
div#page_link ul.page_link li.next:after {
	content: " >>";
}

ul.link {
	margin: 0;
	padding: 10px;
	text-align: right;
}
ul.link li {
	display: inline;
	margin-left: 5px;
}

/*---下からふわっと表示-------*/

.fadeIn {
  opacity: 0;
  transition: .8s;
  position: relative;
  top: 80px;
}

.active {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}