

/*　ハンバーガーメニューボタン　*/
.hamburger {
  display : block;
  position: fixed;
  z-index : 5;
  right : 20px;
  top   : 20px;
  width : 70px;
  height: 70px;
  cursor: pointer;
  text-align: center;
  background-color: #0e6eba;
  border-radius: 50%;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 20px;
  background : #fff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 25px;
}
.hamburger span:nth-child(2) {
  top: 35px;
}
.hamburger span:nth-child(3) {
  top: 45px;
}

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 35px;
  left: 20px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 35px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index : 4;
  top  : 0;
  left : 0;
  color: #fff;
  background: rgba( 105,193,237,0.9 );
  text-align: center;
  width: 100%;
  transform: translateY(-100%);
  transition: all 0.6s;
  padding-bottom: 3vw;  
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 200px;
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  
}
nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: auto;
  transition: .4s all;
  border-bottom: 1px dashed #333;
}
nav.globalMenuSp ul li a {
  position: relative;
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
  font-size: clamp(0.8rem, 1.2vw + 0.5rem, 1.2rem);
  font-weight: 600;
}
nav.globalMenuSp ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/  
}
nav.globalMenuSp ul li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
  transform: translateY(0%);
}
@media screen and (max-width: 1100px) { /*  */
}
@media screen and (min-width: 850px) {
.menuPC{
}
.menuPC ul{
 background: url(../img/menu-bg.png) no-repeat center bottom;
 background-size: cover;
 padding: 0 20px 20px 20px;
}
.menuPC ul li{
 text-align: left;
 background: url(../img/nav-i.png) no-repeat 97% center;
}
.menuPC ul a{
 font-size: clamp(0.8rem, 0.5rem + 1vw, 1.1rem);
 text-decoration: none;
 padding-top: 20px;
 padding-bottom: 20px;  
 color: #231815;
 display: block;
 text-align: left !important;
 border-bottom: 2px dashed #231815;
 font-weight: 700;
}
.menuPC ul a:hover{
 color: #00913a;
}
.menuPC ul li:last-child a{
 border-bottom: none;
}


nav.globalMenuSp ul {
  max-width: 1200px;
  max-width: 87%;
  margin: 0 auto;
  padding: 2vw 0;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(auto-fit, 30%);
  justify-content: space-between;
  column-gap: 10px;
  background-color: #009fe8;
  border-left: 5px solid #fff;
  border-bottom: 5px solid #fff;
  border-right: 5px solid #fff;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}
}

@media screen and (max-width: 851px) { /* スマホ */
/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index : 4;
  top  : 0;
  left : 0;
  color: #fff;
  background: url(../img/menu-bg.png) no-repeat center bottom;
  background-size: 100% auto;
  text-align: center;
  width: 100%;
  transform: translateY(-100%);
  transition: all 0.6s;
  padding-top: 4vw;
  padding-bottom: 10vw;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;  
}
nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 70%;
}

  .hamburger {
    display : block;
    position: fixed;
    z-index : 5;
    right : 10px;
    top   : 10px;
    width : 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    background-color: #0e6eba;
    border-radius: 50%;
  }
  .hamburger span {
    display : block;
    position: absolute;
    width   : 25px;
    height  : 2px ;
    left    : 13px;
    background : #fff;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 15px;
  }
  .hamburger span:nth-child(2) {
    top: 25px;
  }
  .hamburger span:nth-child(3) {
    top: 35px;
  }
/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 25px;
  left: 13px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 25px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp ul li a {
  text-align: left;
  position: relative;
  display: block;
  color: #333;
  padding: 1em 0;
  text-decoration :none;
  font-size: clamp(1rem, 1.4vw + 0.5rem, 1.4rem);
  font-weight: 600;
  background: url(../img/nav-i.png) no-repeat right center;
  background-size: 5vw auto;
  padding-left: 0;
}
nav.globalMenuSp ul li a::after {
  height: 0;
  background: none;
}
}/* SP end */

/* ----------------------
 レスポンシブ
-------------------------*/
@media screen and (min-width: 1000px) {
#wrapper{
 width: 100%;
 margin: 0 auto;
}

#contents {
 width: 100%;
}

}/*  */

/*-----------------
 850まで基本
--------------------*/
@media screen and (min-width: 850px) {
body{
 font-size: 100%;
 margin: 0;
 padding: 0;
 background: url(../img/body-bg.jpg) repeat-y center top;
 background-size: 100% auto;
}

#layout{
 padding: 0 15px 10px 15px;
 margin: 0 auto;
}
#contents{
 width: 100%;
 padding-bottom: 0px;
 min-height: 700px;
}
#main{
 width: 100%;
}
.page #main{
 padding-bottom: 60px;
}

/* 見出し */
#main h2{
 display: block;
}
.pc_n,
.pc_none{
 display: none !important;
}
a[href^="tel:"] {
  pointer-events: none;
  cursor: default;
}
/* ----------------------------------------------- */
#contents .main{
 max-width: 1200px;
 background-color: #fff;
 margin-left: auto;
 margin-right: auto;
}

}/*PC end */
@media screen and (max-width: 851px) {/* 以下 */
body{
 margin: 0;
 padding: 0;
}

#wrapper{
 width: 100%;
 margin: 0 auto;
}

#layout{
 margin: 0 auto;
 width: 100%;
}
#contents {
 width: 100%;
 margin: 0 auto;
 background-color: #fff;
}
#header {
 display: table;
 text-align: center;
 width: 100%;
}
#main{
 float: none;
 display: block;
 margin: 0 auto 15px auto;
 width: 100%;
}

/* センター寄せ */
.t_center{
 text-align: center;
}


/* 850以下で隠す */
.sp_n,
.sp_none{
 display: none !important;
}
}

/* ----------------------
ヘッダー PCまで
-------------------------*/
@media screen and (min-width: 850px) {
header h1{
 display: block; 
}
}

/* ---------------------------
 ヘッダー 以下
------------------------------*/
@media screen and (max-width: 851px) {/* 以下 */

}

/* ----------------------
 * footer 
 *-----------------------*/
.tel a{
 color: #333;
} 
@media screen and (min-width: 850px) { /* まで */
#footer{
 overflow: hidden;
 max-width: 1200px;
 margin: 0 auto 0 auto;
 background-color: #fff;
 padding: 4vw 0 1vw 0; 
}
#footer .inner{
 max-width: 87%;
 margin-left: auto;
 margin-right: auto;
}

#page-top{
 width: 62px;
 height: 62px;
 position: fixed;
 z-index: 2;
 bottom: 50px;
 right: 10px;
}
/* ----------------------------------------------- */
.copyright{
 margin: 40px auto 10px auto;
}
#footer .shusai{
 margin-bottom: 2vw;
}
#footer h3{
 font-size: clamp(1.75rem, 1.25rem + 1vw, 2rem);
 font-weight: 700;
 margin-bottom: 20px;
}
#footer .add_group{
 margin-bottom: 2vw;
} 
#footer .add_group .title{
 font-size: clamp(1.7rem, 1.2rem + 1vw, 1.9rem);
 font-weight: 500;
 margin-bottom: 20px;
 line-height: 1.2;
}
#footer .address{
 font-size: clamp(1.375rem, 1.125rem + 0.5vw, 1.5rem);
}
#footer .tel{
 font-size: clamp(2rem, 1.5rem + 1vw, 2.25rem);
 padding-left: 40px;
 background: url(../img/tel-i.png) no-repeat left center;
}
#footer .mail{
 margin-top: 15px;
}
#footer ul.btn_group{
 margin-top: 2vw;
 max-width: 90%;
  padding: 20px;
  border: 3px solid #fbc81e;
  border-radius: 50px;
}

}/* end */
@media screen and (max-width: 851px) { /* SP */
footer{
 position: relative;
}
footer .inner{
 max-width: 90%;
 margin-left: auto;
 margin-right: auto;
 margin-bottom: 4%;
 background-color: #fff;
 padding: 7vw 4%;
 border-bottom-right-radius: 20px;
 border-bottom-left-radius: 20px;
}
#footer ul{
}
#footer a{
 display: block;
}
#page-top{
    width: 50px;
    height: 50px;
    position: fixed;
    z-index: 4;
    bottom: 100px;
    right: 10px;
}
/* ----------------------------------------------- */
/* ----------------------------------------------- */
.copyright{
 margin: 40px auto 10px auto;
}
#footer .shusai{
 margin-bottom: 2vw;
}
#footer h3{
 font-size: clamp(1.75rem, 1.25rem + 1vw, 2rem);
 font-weight: 700;
 margin-bottom: 15px;
}
#footer .add_group{
 margin-bottom: 2vw;
} 
#footer .add_group .title{
 font-size: clamp(1.125rem, 1.0375rem + 0.4vw, 1.25rem);
 font-weight: 700;
 margin-bottom: 15px;
}
#footer .address{
 font-size: clamp(1.125rem, 1.0375rem + 0.4vw, 1.25rem);
}
#footer .tel{
 font-size: clamp(2rem, 1.5rem + 1vw, 2.25rem);
 padding-left: 40px;
 background: url(../img/tel-i.png) no-repeat left center;
 display: block;
}
#footer .mail{
 margin-top: 15px;
}
#footer ul.btn_group{
 margin-top: 4vw;
 max-width: 100%;
 padding: 10px;
 border: 3px solid #fbc81e;
 border-radius: 50px;
}
#footer ul.btn_group li:first-child{
 margin-bottom: 0px;
}
}/* sp end */






@media screen and (max-width: 500px) {/* ページ設定500以下 */

/* 投稿画像センター寄せ */
.img-center,
.center-img{
 float: none !important;
 display: table !important;
 margin-left: auto !important;
 margin-right: auto !important;
 margin-bottom: 10px !important;
 clear: both;
}

.t_left{
 float: left;
 text-align: left !important;
}
}

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

-------------------- */
@media screen and (max-width: 851px) {/* 以下 */


}

@media screen and (max-width: 400px) {/* 400以下 */
body{
 font-size: 90%;
 line-height: 1.6;
}
}

