@charset "utf-8"; /*文字コード*/
/* @import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css); */
/*
=======================================
	Base CSS
=======================================
*/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
html{
	/*スマホが横になっても文字が拡大しないための記述*/
	-webkit-text-size-adjust: 100%;
}
body{
    word-wrap: break-word;
    overflow-wrap:break-word;
}
body{
	background-image: url("../images/back.jpg");
	color: #4A4A4A;
    overflow-x:hidden;
	line-height: 1.5;
	font-size: 17px;
    /* font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック体", YuGothic, Hiragino kaku Gothic Pro, Meiryo, sans-serif; */
	font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, Hiragino kaku Gothic Pro, Meiryo, sans-serif;
}
a{
	color: #4A4A4A;
	transition: 0.3s;
}
a:hover{
	color: #15B1D9;
}
img{
	max-width: 100%;
	height: auto;
	border: 0;
}
h1{
	font-size: 1.8rem;
	font-weight: 300;
	line-height: 0.65;
	margin: 0 5px 0 0;
	margin-left: 10px;
	margin-right: auto;
	text-align: center;
	padding: 20px 0 0 0;
}
.subtitle{
	font-size: 0.8rem;
}
h2{
	font-size:1.6rem;
	font-weight: bold;
	text-align: center;
	padding: 40px 0 30px;
}
h3{
	font-size:1.5rem;
	font-weight: bold;
	margin-bottom: 15px;
}
h4{
	font-size:1.2rem;
	font-weight: bold;
	margin-bottom: 15px;
}
h5{
	font-size:1rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.clearfix:after {
  clear: both;
  content: '';
  display: block;
}
#main,.footer_wrap{
    padding: 0 20px;
    margin: 0 auto;
}
/* PC版設定（640px以上の場合） */
@media screen and (min-width:640px){
	#header{
		max-width:1040px;
    }
	#main,.footer_wrap{
		max-width:1040px;
	}
	h1{
		padding: 0;
	}
    #gnav li:nth-last-child(2)::after{
        border-right: none;
    }
}
/*
=======================================
	header CSS
=======================================
*/
/* ↓ハンバーガーメニュー設定 */
#ham-menu {
    background-color: rgba(255,255,255,0.9); /*メニュー背景色*/
    box-sizing: border-box;
    height: 100%;
    padding: 10px 40px; /*メニュー内左右上下余白*/
    position: fixed;
    right: -300px; /*メニュー横幅 width と合わせる*/
    top: 0;
    transition: transform 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 300px; /*メニュー横幅*/
    z-index: 1000;
}
#menu-background {
    background-color: #4A4A4A; /*黒背景*/
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 100%;
    z-index: -1;
}
#menu-icon {
    background-color: rgba(255,255,255,0.9); /*アイコン部分背景色*/
    border-radius: 0 0 0 8px; /*左下角丸*/
    color: #4A4A4A; /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    font-size: 40px; /*アイコン（フォント）サイズ*/
    height: 50px; /*アイコン縦高さ*/
    line-height: 50px; /*縦位置中央化*/
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px; /*アイコン横幅*/
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    z-index: 1000;
}
#menu-cb {
    display: none; /*チェックボックス本体は消しておく*/
}
#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
    transform: translate(-300px); /*メニュー本体横幅 width と合わせる*/
}
#menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
}
.ham_ul li{
	margin: 20px;
}
/* ↑ハンバーガーメニューここまで */

/* PC版設定（640px以上の場合） */
@media screen and (min-width:640px){
	/* PC版 ハンバーガメニュー表示オフ */
	#menu-icon, #menu-background, #menu-menu {
		display: none;
	}
	.main_image{
		max-width: 1920px;
	}
	header{
        background-color: #fff;
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index:2;
		}
	#header {
		display: flex;
		height: 90px;
		justify-content: flex-end;
		align-items: center;
	    max-width: 1040px;
		margin: 0 auto;
	}
    header::after{
        background-image: url("../images/nav_underline.png");
        background-repeat:repeat-x;
        position:absolute;
        top: 87px;
        content: "";
        display: inline-block;/*忘れずに！*/
        width: 100%;/*画像の幅*/
        height: 30%;/*画像の高さ*/
        overflow: hidden;
    }
    #site_title img{
        min-width: 150px;
    }
	#gnav{
	    display: flex;
	}
	#gnav > li{
        position: relative;
		font-weight: bold;
	    height: 70px;
	    text-align: center;
		padding-top:30px;
		width: 125px;
        line-height: 2;
	}
    li.gnav_li a{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #gnav > li:nth-child(1){
        background:url("../images/nav_icon_spot.png");
        background-repeat:no-repeat;
        background-position: top;
        background-size:25%;
    }
    #gnav > li:nth-child(2){
        background:url("../images/nav_icon_active.png");
        background-repeat:no-repeat;
        background-position: top;
        background-size:25%;
        width: 140px;
        margin-right: 10px;
    }
    #gnav > li:nth-child(3){
        background:url("../images/nav_icon_model.png");
        background-repeat:no-repeat;
        background-position: top;
        background-size:25%;
    }
    #gnav > li:nth-child(4){
        background:url("../images/nav_icon_map.png");
        background-repeat:no-repeat;
        background-position: top;
        background-size:25%;
    }
    #gnav > li:nth-child(5){
        background:url("../images/nav_icon_news.png");
        background-repeat:no-repeat;
        background-position: top;
        background-size:25%;
    }
    #gnav > li:nth-child(6){
        background:url("../images/nav_icon_access.png");
        background-repeat:no-repeat;
        background-position: top;
        background-size:25%;
    }
    .hide{
        display: none;
    }
/*  ドロップダウンメニュー */
    .menu__second-level > li {
        height: 50px;
        line-height: 50px;
        background: #fff;
    }
    .dmenu > li a {
        display: block;
    }
    ul.menu__second-level {
        -webkit-visibility: hidden;
        visibility: hidden;
        opacity: 0;
        z-index: 1;
    }
    .dmenu > li:hover {
        -webkit-transition: all .5s;
        transition: all .5s;
    }
    .menu__second-level li {
        background: #fff;
    }
    .menu__second-level li:nth-child(2),
    .menu__second-level li:nth-child(3) {
        border-top: 0.5px solid #4A4A4A;
    }
    .menu__second-level li a:hover {
        background: #666;
    }
    .dmenu > li.menu__single {
        position: relative;
    }
    li.menu__single ul.menu__second-level {
        position: absolute;
        top: 70px;
        width: 100%;
        -webkit-transition: all .2s ease;
        transition: all .2s ease;
    }
    
    .menu__second-level li {
        position: relative;
    }
    
    li.menu__single:hover ul.menu__second-level {
        top: 70px;
        -webkit-visibility: visible;
        visibility: visible;
        opacity: 1;
    }
    /* 下矢印 */
    .menu__single span:after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        margin: 0 0 4px 7px;
        border-right: 1px solid #4A4A4A;
        border-bottom: 1px solid #4A4A4A;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

/* gnav タブレット用調整 */
@media screen and (min-width:640px) and (max-width:1023px) {
    #site_title img{
        min-width: 10%;
        width: 100%!important;
    }
	#gnav > li{
        font-size: 0.8em;
        width: 75px;
/*		padding: 0 0 0!important;*/
		margin: 20px 0 0;
	}
    #gnav > li:nth-child(2){
        width: 100px;
        margin-right: 5px;
    }
    #gnav > li:nth-child(3){
        width: 90px;
        margin-right: 5px;
    }
    #gnav > li:nth-child(4){
        width: 85px;
    }
    #gnav > li:nth-child(6){
        width: 110px;
        background-size:20%;
    }

    /* 上の #gnav > li a{padding-top:30px;} のmenu__second-levelへの影響打消し用 */
    .menu__second-level >li a{
        padding-top:0px!important;
    }
    .menu__second-level {
        top: 60px!important;
    }
    .menu__single:hover ul.menu__second-level {
        top: 50px!important;
    }
    
	/* #gnav li:last-child::after{
		border-right: none;
	} */
}

/* スマホ版 グローバルメニュー表示オフ用*/
@media screen and (max-width:640px){
	.nav_container {
		display: none;
	}
	h1{
		display: none;
	}
}

/*
=======================================
	main CSS
=======================================
*/
#main{
	width: 100%;
}
.bg_container{
    width: 100%;
    background:-webkit-gradient(linear, left top, left bottom, from(rgba(134, 235, 252, 0.5) 0px), to(transparent) 300px) ;
    background:-webkit-linear-gradient(top, rgba(134, 235, 252, 0.5) 0px, transparent 300px);
    background:-moz-linear-gradient(top, rgba(134, 235, 252, 0.5) 0px, transparent 300px);
    background:-o-linear-gradient(top, rgba(134, 235, 252, 0.5) 0px, transparent 300px);
    background:linear-gradient(to bottom, rgba(134, 235, 252, 0.5) 0px, transparent 300px);
}
/* PC版設定（640px以上の場合） */
@media screen and (min-width:640px){

}
/*
=======================================
	top_page_btn CSS
=======================================
*/
#page_top {
  position: fixed;
  bottom: 40px;
  right: 10px;
  z-index: 9998;
}
#page_top a {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 80px;
  line-height: 80px;
  background-color: #FFFF74;
  color: #4A4A4A;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  z-index: 9999;
}
#page_top a:hover {
  text-decoration: none;
  opacity: 0.7;
}
/*
=======================================
	footer CSS
=======================================
*/
#footer{
	width: 100%;
}
.bbb{
    width: 100%;
    height: 550px;
}
.aaa{
    width: 100%;
    height: auto;
    background-color: #23B7DF;
    position: relative;
    text-align: center;
}
.aaa p{
    height: 50px;
}
#targetElement{
    position: relative;
    top: 10px;
}
#mamewaza_weather{
    width: 200px;
    height: 200px;
}
.ft_nav_container,
.ft_hoka{
    display: -webkit-flex;
    display: flex;
}
.ft_nav_container{
    justify-content: center;
    max-width: 1040px;
    margin: auto;
}
.ft_hoka{
    -webkit-flex-direction: column;
    flex-direction: column;
}
.ft_nav,
.ft_hoka{
    width: 21.5%;
    height: auto;
    margin: 2% 0 0;
    text-align: left;
}
.ft_nav:nth-child(2n){
    width: 26%;
    margin-right: 5%;
}
.ft_nav h4,
.ft_hoka h4{
    margin-bottom: 4%;
}
.ft_nav,
.ft_nav a,
.ft_hoka a,
small.copyright{
    color: rgb(255, 255, 255);
}
#ft_spt li,
#ft_act li{
    font-size: 0.8em;
    line-height: 17px;
    text-align: left;
}
#ft_spt li::before,
#ft_act li::before{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-top: 2px;
    margin-right: 4px;
    border: transparent 3px solid;
    border-left-color: rgb(255, 255, 255);
}
.ft_sns{
    width: 100%;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}
.ft_sns a{
    display: block;
    padding: 10px;
    margin: 10px 10px 0;
    background: none;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
}
small.copyright{
    height: 3%;
    position: relative;
    top: 15px;
}

/* PC用調整 */
@media screen and (min-width:1024px){
    .ft_sns a{
        margin: 10px 20px 0;
    }
}


/* タブレット用調整1 */
@media screen and (min-width:1024px){
}

/* タブレット用調整2 */
@media screen and (min-width:640px) and (max-width:1023px) {
    .ft_nav,
    .ft_hoka{
        display: none;
    }
    #mamewaza_weather{
        width: 50% !important;
        height: 20%;
    }
}

/* スマホ版 ft_nav＆mamewaza_weather表示オフ用*/
@media screen and (max-width:640px){
    .ft_nav,
    .ft_hoka{
        display: none;
    }
    #mamewaza_weather{
        width: 80% !important;
        height: 20%;
    }
    small.copyright{
        font-size: 12px;
    }
}
