﻿@charset "utf-8";

/*----------------------------------------------------------------

layout Set

----------------------------------------------------------------*/

/* Header
----------------------------------------------- */
#top-head .inner {
width: 94%;
margin: 0 auto;
}
#top-head .inner:after {
content: "";
clear: both;
display: block;
}
/* header */
#top-head {
top: -100px;
position: absolute;
width: 100%;
margin: 100px auto 0;
padding: 15px 0 15px;
line-height: 1;
background: #fff;
background: rgba(255,255,255,.7);
z-index: 999;
}
#top-head a,
#top-head {
color: #252525;
text-decoration: none;
}
#top-head .inner {
position: relative;
}
#top-head .logo {
float: left;
font-size: 36px;
height: 48px;
}
#global-nav ul {
list-style: none;
position: absolute;
right: 0;
top: 5px;
margin: 0;
}
#global-nav ul * {
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: all 0.35s ease;
transition: all 0.35s ease;
}
#global-nav ul li {
list-style: outside none none;
float: left;
margin: 0 0 10px 20px;
}
#global-nav ul li a {
font-size: 1.1em;
padding: 0.5em 1em;
position: relative;
text-decoration: none;
display: inline-block;
color: #333;
}
#global-nav ul li a:before {
position: absolute;
content: '';
-webkit-transition: all 0.35s ease;
transition: all 0.35s ease;
opacity: 0;
top: 25%;
bottom: 25%;
left: 0;
right: 0;
border-top: 2px solid #333;
border-bottom: 2px solid #333;
}
#global-nav ul li a:hover,
#global-nav ul li .current a {
color: #333;
}
#global-nav ul li a:hover:before,
#global-nav ul li .current a:before {
opacity: 1;
top: 0;
bottom: 0;
}

/* Fixed */
#top-head.fixed {
margin-top: 0;
top: 0;
position: fixed;
padding-top: 15px;
height: 50px;
background: #fff;
background: rgba(255,255,255,.9);
transition: top 0.65s ease-in;
-webkit-transition: top 0.65s ease-in;
-moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
font-size: 24px;
color: #333;
}
#top-head.fixed #global-nav ul li a {
}

/* Toggle Button */
#nav-toggle {
display: none;
position: absolute;
right: 15px;
top: 15px;
width: 30px;
height: 30px;
cursor: pointer;
z-index: 101;
}
#nav-toggle div {
position: relative;
}
#nav-toggle span {
display: block;
position: absolute;
height: 4px;
width: 100%;
background: #333;
left: 0;
-webkit-transition: .35s ease-in-out;
-moz-transition: .35s ease-in-out;
transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
top: 0;
}
#nav-toggle span:nth-child(2) {
top: 10px;
}
#nav-toggle span:nth-child(3) {
top: 20px;
} 

@media screen and (max-width: 767px) {
#top-head,
#top-head .inner {
width: 100%;
padding: 0;
}
#top-head {
top: 0;
position: fixed;
margin-top: 0;
}
/* Fixed reset */
#top-head.fixed {
padding-top: 0;
background: transparent;
}
#mobile-head {
background: #fff;
width: 100%;
height: 56px;
z-index: 999;
position: relative;
}
#top-head.fixed .logo,
#top-head .logo {
position: absolute;
left: 12px;
top: 10px;
color: #333;
height: 36px;
}
#global-nav {
position: absolute;
/* 開いてないときは画面外に配置 */
top: -500px;
background: #333;
width: 100%;
padding: 15px 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}
#global-nav ul {
list-style: none;
position: static;
right: 0;
bottom: 0;
margin: 0;
}
#global-nav ul li {
float: none;
position: static;
margin: 0;
}
#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
width: 100%;
display: block;
color: #fff;
padding: 18px 0;
text-align: center;
}
#nav-toggle {
display: block;
}
/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
top: 10px;
-webkit-transform: rotate(315deg);
-moz-transform: rotate(315deg);
transform: rotate(315deg);
}
.open #nav-toggle span:nth-child(2) {
width: 0;
left: 50%;
}
.open #nav-toggle span:nth-child(3) {
top: 10px;
-webkit-transform: rotate(-315deg);
-moz-transform: rotate(-315deg);
transform: rotate(-315deg);
}
/* #global-nav スライドアニメーション */
.open #global-nav {
/* #global-nav top + #mobile-head height */
-moz-transform: translateY(556px);
-webkit-transform: translateY(556px);
transform: translateY(556px);
}
}
/* END Header
----------------------------------------------- */


/* ヘッドライン */
#headline {
width: 100%;
padding: 60px 0 0;
margin: 56px auto 0;
text-align : center;
position: relative;
background: url(../images/main_bg.jpg) no-repeat center top;
background-size: cover ; 
}
#headline #headcopy {
width: 90%;
margin: 3em auto 1em;
text-align : center;
}
#headline #headcopy h2 {
font-size: 1.8em;
letter-spacing:0.18em;
padding: 1.3em 0 0;
line-height: 1.3;
margin: 0 0 2em;
}
#headline #headcopy p {
text-align : center;
font-size: 0.8em;
}
#headline #headcopy .arrow {
padding: 0 0 2em;
font-size: 2em;
}

/* コンテンツ枠 */
#contents {
width : 100%;
margin : 0 auto;
}
#privacy{padding-top: 100px}

/* メインコンテンツ */
#main {
width : 100%;
margin-top : 85px;
}
section{
width : 92%;
margin : 0 auto;
}

/* PageTOP */
#pagetop{
position: fixed;
bottom: 10px;
right: 10px;
width: 45px;
}
#pagetop a:hover img{
opacity: 0.7;
}

/* フッター */
footer {
padding : 30px 0 20px;
margin: 80px 0 0;
border-top : 1px solid #dadada;
color: #333;
line-height: 1.5;
overflow: hidden;
}
footer .inner {
width: 90%;
margin: 0 auto;
}
footer a {color: #333; text-decoration: none;}
footer a:visited { color: #333; }
footer a:hover { color: #333; text-decoration: underline;}

#footernav {
}
#footernav li {
}
#footernav li::before {
font-family: "fontawesome";
content: '\f0da';
margin-right: 0.5em;
}

footer .copy {
text-align: center;
margin: 2em 0 0;
}


/*----------------------------------------------------------------

Media Queries

----------------------------------------------------------------*/
/* 768px～ メディアクエリ開始 */
@media screen and (min-width : 768px) {

/* メインコンテンツ */
#contents .inner_s{
width: 680px;
margin: 0 auto;
}

/* ヘッダー（見出し・画像）枠 */
#headline {
width: 100%;
height: 800px;
margin: 0 auto 0;
text-align : center;
position: relative;
background: url(../images/main_bg.jpg) no-repeat center top fixed;
background-size: cover ; 
}
#headline #headcopy {
width: 100%;
margin: 0 auto;
text-align : center;
}
#headline #headcopy h2 {
font-size: 2.8em;
letter-spacing:0.18em;
padding: 300px 0 0;
line-height: 1.5;
margin: 0 0 1em;
}
#headline #headcopy p {
font-size: 1em;
}
#headline #headcopy h2 {
}
#headline #headcopy .arrow {
padding: 2em 0 2em;
}

/* PageTOP */
#pagetop{
position: fixed;
bottom: 30px;
right: 30px;
width: 60px;
}

}
/* 1024px～ メディアクエリ開始 */
@media screen and (min-width : 1024px) {

/* メインコンテンツ */
#contents {
width: 100%;
padding-top: 30px;
}
#contents .inner{
width: 900px;
margin: 0 auto;
}
#main {
margin: 0 auto;
}
section{
width: 90%;
max-width: 1080px;
margin: 0 auto 150px;
background: #fff;
font-size : 1em;
}
section p{
}

/* フッター */
footer {
padding : 40px 0 40px;
margin: 100px 0 0;
border-top : 1px solid #dadada;
color: #333;
line-height: 1.0;
overflow: hidden;
}
footer .inner {
width: 90%;
margin: 0 auto;
}
footer a {color: #333; text-decoration: none;}
footer a:visited { color: #333; }
footer a:hover { color: #333; text-decoration: underline;}

#footernav {
float: left;
}
#footernav li {
display: inline;
}
#footernav li::before {
content: none;
}
#footernav li::after {
content: "　|　";
}
footer .copy {
float: right;
margin: 0;
}



} /* 1024px～ メディアクエリ終了 */
