/* ===================================================================
共通スタイル
=================================================================== */

/* PC用のスタイル記述 */
.sp {
    display: none;
}

.pc {
    display: block;
}

.sp_img100 {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.wrapper img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 1000px) {
    .wrapper {
        width: 92%;
        margin-left: auto;
        margin-right: auto;
    }
}

header {
    width: 100%;
}




.head_bg {
   background: url(../img/ill_sun.png) top 100px left 5% no-repeat;
}




.header {
    padding: 0 0 25px 0;
	background: url(../img/ill_spa.png) top right 32% no-repeat;
}

.head_logo {
   width: 409px;
   padding-top: 38px;
}

.head_logo a {
    background: url(../img/logo.png) center no-repeat;
    width: 409px;
    height: 55px;
    display: block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    margin: 0 auto;
}
.sub_menu {
   width: 30%;
   text-align: right;
}
.sub_menu_address {
   background-color: #f9f6e2;
   border-radius: 0 0 10px 10px;
   padding: 10px 15px;
   font-size: 1.4rem;
   display: inline-block;
   margin-bottom: 10px;
}
.sub_menu_address span {
   background: url(../img/head_tel.png) center left no-repeat;
   font-size: 2.0rem;
   font-weight: bold;
   padding-left: 28px;
}
.sub_menu li {
   display: inline-block;
   font-size: 1.4rem;
   line-height: 100%;
}
.sub_menu li+ li {
   border-left: 1px solid #313131;
}
.sub_menu li a {
   text-decoration: none;
   color: #313131;
   padding: 0 8px;
}
.sub_menu li:hover {
   text-decoration: underline;
}



.inner {
    width: 1000px;
    margin: 0 auto;
}

.inner:after {
    content: "";
    clear: both;
    display: block;
}

/* header */
#top-head {
    line-height: 1;
    z-index: 999;
    position: relative;
}

.logo {
    display: none;
}

#top-head .inner {
    position: relative;
}

#top-head .logo {
    float: left;
    font-size: 36px;
}

/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(255, 255, 255, .7);
    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 {
    color: #333;
    padding: 0 20px;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #313131;
    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: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

#global-nav {
    position: relative;
}

#menu {
   text-align: center;
   position: relative;
}
#menu li {
   display: inline-block;
}

#global-nav .menu_ill {
    position: absolute;
    top: -32px;
    right: 0;
}

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}
ul.menu__second-level a {
   color: #FFF;
   text-decoration: none;
}

.menu>li:hover {
    background: #072A24;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.menu__second-level li {
    border-top: 1px solid #d0e3b0;
    display: block;
    width: 100%;
	font-size: 1.5rem;
}
.menu__second-level li.nagare {
    border-top: 1px solid #daeeba;
}

.menu__second-level li a {
    padding: 15px 5px;
    display: block;
    width: 100%;
}

.menu__second-level li a:hover {
    background: #6da50b;
}

#menu>li.menu__single {
    position: relative;
}

li.menu__single ul.menu__second-level {
    position: absolute;
    top: 40px;
    width: 120%;
	left: -10%;
    background: #9ad212;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li.menu__single:hover ul.menu__second-level {
    top: 70px;
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 1000px) {

    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }

    .menu_bird {
        display: none;
    }

    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
        background-size: contain;
		background: #fff;
    }

    .head_bg {
    }

    .head_bg::after {
        position: absolute;
        content: "";
        display: inline-block;
        width: 87.6px;
        height: 11px;
        bottom: 25px;
        right: 100%;
        z-index: -2;
        animation: plane 40s 1s linear infinite;
    }



    .logo {
        display: inherit;
    }

    .logo img {
        width: 70%;
        height: auto;
    }

    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }

    #mobile-head {
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
        border-bottom: 1px solid #bfcdbf;
    }

    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 10px;
        top: 5px;
        color: #333;
    }

    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -1px;
        right: -100%;
        margin-top: 57px;
        background: #9fb926;
        width: 100%;
        text-align: center;
        padding: 10px 0 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;
        font-size: 15px;
        overflow: auto;
		height: 100vh;
		padding-bottom: 80px;
    }
	#global-nav ul li ul.menu__second-level {
	   height: auto!important;
	   padding-bottom: 0;
	}

    #global-nav ul li {
        float: none;
        position: static;
        text-align: left;
		display: block;
    }

    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 20px;
        text-decoration: none;
    }

    #nav-toggle {
        display: block;
    }

    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -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: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }

    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    #menu {
        margin-bottom: 0px !important;
    }

    #menu li {
        border-bottom: 1px dotted #848484;
    }
	#menu ul.menu__second-level li {
        border-bottom: 0px dotted #848484;
    }

    #menu li:last-child {
        border-bottom: 0 !important;
    }

    ul.menu__second-level {
        visibility: inherit;
        opacity: 1;
        z-index: 1;
    }


    .menu__second-level li {
        display: block;
        width: 100%;
    }

    .menu__second-level li a {
        padding: 15px 10px 15px 30px!important;
        display: block;
        width: 100%;
    }

    .menu__second-level li a:hover {
    }

    li.menu__single ul.menu__second-level {
        position: absolute;
        top: 40px;
        width: 100%;
        background: #9fcc51;
        -webkit-transition: all .2s ease;
        transition: all .2s ease;
    }
li.menu__single ul.menu__second-level {
   left: 0;
}

}


#contents {}

#contents_left {
    float: left;
    width: 730px;
}

#contents_right {
    float: right;
    width: 220px;
}

@media screen and (max-width: 1000px) {
    #contents_left {
        float: none;
        width: 100%;
    }

    #contents_left img {
        max-width: 100%;
        height: auto;
    }

    #contents_right {
        float: none;
        width: 100%;
    }

    .side_banner li {
        width: 46%;
        float: left;
        margin: 0 2% 10px;
    }

    .side_banner li img {
        max-width: 100%;
        height: auto;
    }
}

small {
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
    display: block;
}

.flex {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.jc {
    justify-content: space-between;
}
.ai {
    align-items: center;
}
.sa {
   justify-content: space-around;
}
.jce {
   justify-content: center;
}



#pageTop {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 1;
}

@media screen and (max-width: 1000px) {
    #pageTop {
        right: 5px;
        bottom: 25px;
    }

    #pageTop img {
        width: 80%;
        height: auto;
    }
}

#footer {
   padding: 82px 0 0;
   background: url(../img/foot_upper.png) top center no-repeat;
   background-size: cover;
}


.foot_left {
    width: 45%;
}

.foot_right {
    width: 47%;
}

.foot_right li {
    float: left;
    background: url(../img/arrow_yw.png) left center no-repeat;
    margin: 0 5px 5px 0;
}

.foot_right li a {
    padding: 5px 7px 5px 12px;
    color: #313131;
    font-size: 1.4rem;
    text-decoration: none;
}

.foot_right li a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1000px) {
#footer {
   padding: 60px 0 0;
   background: url(../img/foot_upper.png) top center no-repeat;
   background-size: cover;
}

    .foot_left {
        width: 100%;
        margin-bottom: 25px;
    }

    .foot_right {
        width: 100%;
    }

    .foot_right li {
        letter-spacing: 0;
    }

}

small {
    font-size: 12px;
    text-align: center;
    display: block;
    width: 100%;
	padding: 110px 0 10px 0;
	background: url(../img/foot_bg.png) top center repeat-x #f0f2bb;
}
@media screen and (max-width: 1000px) {
small {
   position: relative;
	padding: 0 0 10px 0;
	background-color: #cbd200;
	background-image: none!important;
}
small::before {
   content: '';
   background-image: url(../img/foot_bg.png);
       width: 100%;
    height: 38px;
    background-size: contain;
    position: absolute;
    top: -28px;
	left: 0;
	background-repeat: no-repeat;
}
}




.ggmap {
    position: relative;
    padding-bottom: 50.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

img[src*="analytics.global-websystem.net"] {
    display: none;
}



/* ===================================================================
    スマホ
=================================================================== */

@media screen and (max-width: 1000px) {

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .sp_img100 {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
}