@charset "UTF-8";

html{box-sizing:border-box;-webkit-text-size-adjust:100%}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]{-webkit-appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:transparent;border-style:none;color:inherit}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}img{border-style:none;vertical-align: bottom}progress{vertical-align:baseline}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}ul,ol{list-style:none;}a{text-decoration:none;}.wrapper{overflow:hidden;}body{overflow-y:scroll;}img {max-width: 100%;}


/* PC共通レイアウト */
:root{
--base-color:#fff;
--main-color:#089198;
}


/*ヘッダー--
------------------------------------------*/
header {
margin-bottom: 30px;
width: 100%;
}
#rock{
display:none;
}
.inner {
max-width: 960px;
margin:0 auto;
padding: 0 10px;
background-color:var(--base-color);
}
h1 {
font-family: 'Yusei Magic', sans-serif;
height: 60px;
margin: 20px 0 10px;
font-size:44px;
color:var(--main-color);
}
.tagline{
margin-bottom: 20px;
}

/* ナビゲーションメニュー
-----------------------------------------*/
.g-nav {
background:var(--main-color);
}
.g-nav>ul {
max-width: 960px;
margin: 0 auto;
display: flex;
}
.g-nav li {
width: 25%;
}
.g-nav a {
display: block;
border-right: solid 1px var(--base-color);
color: var(--base-color);
text-align: center;
line-height: 50px;
}
.g-nav li:first-of-type>a{
border-left: solid 1px var(--base-color);
}
.g-nav a:hover {
background:#e80000 ;
}
/*main--
------------------------------------------*/
.main{
max-width: 960px;
margin:0 auto 100px;
}
.keyVisual {
margin-bottom: 50px;
}
 .bxslider{
width:100%;
}
.main-copy{
text-align: center;
margin-bottom: 50px;
}
.main-copy>h2{
font-size: 30px;
margin-bottom: 50px;
}
.lead{
font-size: 18px;
line-height: 1.8;
}
.wrapper{
margin: 0 auto 100px;
display: flex;
justify-content: space-between;
}
.box{
width: 32%;
padding: 10px;
}
h3 {
 font-family: 'Yusei Magic', sans-serif;
font-size: 26px;
color:var(--main-color);
border-left: solid 16px var(--main-color);
margin:20px 0;
padding-left:10px;
}
.box>p {
margin-bottom: 20px;
}
.box:hover{
box-shadow: 0 0 10px #999;
transition: 0.2s;
}
.access{
margin-bottom:100px;
display: flex;
justify-content: space-between;
}
.info{
width: 48%;
}
.info>dl{
display: flex;
flex-wrap: wrap;
}
.info dt{
width: 30%;
font-weight: bold;
}
.info dd{
width: 70%;
}
.info dt,.info dd{
border-bottom: 1px solid var(--main-color);
margin-bottom: 20px;
padding: 10px;
}
.map{
width: 48%;
}
.map-inner{
height: 400px;
}
#g-map{
width: 100%;
height: 100%;
}
footer {
color: var(--base-color);
background-color: var(--main-color);
padding: 10px 10px 20px;
}
footer>p {
font-size: 18px;
text-align: center;
padding: 20px 0;
}
.sp{
display: block;
}

/*ページトップに戻る---
-----------------------------------------------------------*/
#to-top{
width:50px;
height:50px;
position:fixed;/*ポジションを使って画面の右下に位置させる。*/
right:50px;
bottom:50px;
display:none;
z-index:110;
}
#to-top img{
background-color:rgba(255,255,255,0.5);
border-radius:50%;
}
#to-top.scroll{
display:block;
}

/*ブレイクポイントの設定 959px以下
-------------------------------------------------------------------------*/
@media (max-width:959px){
.g-nav li:last-of-type>a{
border-right:10px;
}
.g-nav li:first-of-type>a{
border-left:0;
}
.sp-size{
padding: 0 10px;
}
}

/*ブレイクポイントの設定 767px以下
-------------------------------------------------------------------------*/

@media (max-width:767px){
header {
margin-top: -90px;
position: fixed;
z-index:1000;
background: var(--base-color);
height: 70px;
margin-bottom: 0;
}
.inner{
height:70px;
border-bottom: 2px solid var(--main-color);
padding: 0;
}
h1 {
font-size:24px;
height: 40px;
margin-bottom: 0;
padding:0;
text-align: center;
}
 .tagline{
width: 100%;
margin:0 10px 0;
text-align: center;
font-size:13px;
}

/*nav--
---------------------------------------*/
.g-nav{
position:fixed;
top:70px;
left:0;
width:100%;
height: 100%;
transform: translate(-105% , 0);
transition:0.3s;
z-index:100;
}
.g-nav>ul{
display: block;
}
.g-nav li{
width:100%;
}

.g-nav a{
width:90%;
height: 70px;
margin: 0 auto;
line-height: 70px;
text-align: center;
font-size:16px;
border-right:0;
}

.g-nav li>a{
border-bottom:1px solid var(--base-color);
}
.g-nav li:first-of-type>a{
border-left: 0;
}
#rock:checked~.g-nav{/*チェックがはいったとき*/
transform: translate(0,0);
transition:0.3s;
}
#btn{
width:44px;
height:44px;
position:absolute;
top:36px;
left:10px;
}
#btn>p{
width:44x;
height:44px;
border: 1px solid var(--main-color);
}
 
#btn span{
display:block;
width:30px;
height:2px;
background-color:var(--main-color);
position:absolute;
top:-14px;
left:0;
right:0;
bottom:0;
margin: auto;
transition:0.2s;/*真ん中は消えるので先に消えるように時間早い*/
}
#btn span::after{
content:"";
display:block;
width:30px;
height:2px;
background-color:var(--main-color);
position:absolute;
top:0px;
left:0;
right:0;
bottom:-28px;
margin:auto;
transition:0.3s;
}
#rock:checked+label span{/*家系図を理解する*/
 top:0;
transform: rotate(45deg);
}
#rock:checked+label span::after{
bottom:0;
transform: rotate(-90deg);
}
.g-nav span{
padding: 5px;
font-size:16px;
}
/*main--
-----------------------------------------*/
.main{
margin-top:70px;
}
.main-copy>h2{
font-size: 22px;
margin-bottom: 20px;
}
.lead{
margin: 0 auto 50px;
font-size: 14px;
text-align: left;
}
.wrapper{
display:block;
margin-bottom: 40px;
}
 h3 {
font-size: 20px;
border-left: solid 10px var(--main-color);
margin:10px 0;
padding-left:5px;
}
 
.box{
width: 100%;
padding: 0;
margin-bottom: 40px;
}
.box:hover{
box-shadow: none;
transition: none;/* アニメーションを無効 */
}
.access{
display: block;
}
.info{
width: 100%;
margin-bottom: 40px;
}
.map{
width: 100%;
}
.map-inner{
height: 300px;
}
.sp{
display: none;
}
/*トップに戻るボタン
ーーーーーーーーーーーーーーーーー*/
#to-top{
width:44px;
height:44px;
position:fixed;
right:10px;
bottom:40px;
}
}
