@charset "utf-8";
/*PCサイズレスポンシブ*/
@media(min-width:1000px) {
    body {
        min-width: 1000px;
    background-color:#f0e6b4;

    }

    .container {
        width: 100%;
        background-color:#f0e6b4;
        justify-content: center;
        text-align: center;
        color: #000000;
    
    }

#g-nav li{
    display:none;
        }

        #g-nav a{
          display: none;
        }
header {
    width: 100%;
    height: 120px;
    display: flex;
    color: #143046;

}

header h1 {
    width: 10%;
margin-left: 1%;

}
header img{
    width: 100%;
}
header h2{
    width: 50%;
    font-size: 18px;
    margin: auto;
}
header ul {
    width: 40%;
    display: flex;
margin: auto;
    font-size: 20px;
    margin-top: 4%;
}
header li {
    margin-right: 5%;
    list-style: none;
}
/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
    display: flex;
    /* margin:0 0 50px 0; */
    list-style: none;
}

.gnavi li a{
    display: block;
    /* padding:10px 30px; */
    text-decoration: none;
    color:#143046;
}

.gnavi li{
    margin-bottom:20px;
}

/*===================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
	color:#c8412d;
}


.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background:#c8412d;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
.top {
    margin-top: 5%;
    width: 100%;
height: 250px;
    background-image: url(../img/topnew.png);
    
}
.top h2{
    margin-left: 45%;
  padding-top: 7%;
  color: #ffffff;
}

main {
    width: 80%;
    text-align: left;
    background-color:#f0e6b4;
    color: #143046;
    justify-content: center;
    margin-left: 10%;
}
main a{
  text-decoration: none;
  color: #143046;
}
main ul{
  width: 100%;
  display: flex;
  list-style: none;
  align-items: center;
}
main li{
  width: 30%;
  margin-right: 2%;
text-align: center;


}
main img{
    width: 100%;
    
}
h2{
    color: #143046;
}
main h3 {
	position: relative;
	padding: .3em;
}
main h3::before {
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	border-top: 1px dotted #E91E63;/*上の線*/
	border-bottom: 2px solid #E91E63;/*下の線*/
	width: 100%;
	height: 6px;/*空けたい隙間＋上の線＋下の線*/
}

footer {
  width: 100%;
  background-color: #143046;
  color: #f0e6b4;
  text-align: center;
}
.footer1{
  width: 100%;
  color: #c8412d;
}
.footer1 h2{
  width: 100%;
  margin-left: 2%;
  color: #c8412d;
}
.footer1 li{
  width: 100%;
  list-style: none;
}
.footer2{
  width: 100%;
  color: #143046;
  background-color:#c8412d ;
}
.footer1 a{
  color:#f0e6b4 ;
  text-decoration: none;
}
  /* PCcss////////////////////////////////////////////////////////////////////////// */
}

/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
  body {
      min-width: 600px;
      max-width: 999px;
      background-color:#f0e6b4;
  }
  .container {
      width: 100%;
      background-color:#f0e6b4;
      justify-content: center;
      text-align: center;
      color: #000000;
  
  }

#g-nav li{
  display:none;
      }

      #g-nav a{
        display: none;
      }
header {
  width: 100%;
  height: 120px;
  display: flex;
  color: #143046;
align-items: center;
}

header h1 {
  width: 10%;
margin-left: 1%;

}
header img{
  width: 100%;
}
header h2{
  width: 50%;
  font-size: 18px;

}
header ul {
  width: 40%;
  display: flex;
  font-size: 14px;
  margin-top: 4%;
}
header li {
  margin-right: 5%;
  list-style: none;
}
/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
  display: flex;
  /* margin:0 0 50px 0; */
  list-style: none;

}

.gnavi li a{
  display: block;
  /* padding:10px 30px; */
  text-decoration: none;
  color:#143046;
}

.gnavi li{
  margin-bottom:20px;
}

/*===================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a{
  /*線の基点とするためrelativeを指定*/
position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
color:#c8412d;
}


.gnavi li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background:#c8412d;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1);/*X方向0、Y方向1*/
  transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
  transform: scale(1, 1);/*X方向にスケール拡大*/
}
.top {
  margin-top: 5%;
  width: 100%;
height: 250px;
  background-image: url(../img/topnew.png);
  
}
.top h2{
text-align: center;
padding-top: 13%;
color: #ffffff;
}

main {
  width: 80%;
  text-align: left;
  background-color:#f0e6b4;
  color: #143046;
  justify-content: center;
  margin-left: 10%;
}
main a{
text-decoration: none;
color: #143046;
}
main ul{
width: 100%;
display: flex;
list-style: none;
align-items: center;
}
main li{
width: 30%;
margin-right: 2%;
text-align: center;


}
main img{
  width: 100%;
  
}
h2{
  color: #143046;
}
main h3 {
position: relative;
padding: .3em;
}
main h3::before {
position: absolute;
content: '';
bottom: 0;
left: 0;
border-top: 1px dotted #E91E63;/*上の線*/
border-bottom: 2px solid #E91E63;/*下の線*/
width: 100%;
height: 6px;/*空けたい隙間＋上の線＋下の線*/
}

footer {
width: 100%;
background-color: #143046;
color: #f0e6b4;
text-align: center;
}
.footer1{
width: 100%;
color: #c8412d;
}
.footer1 h2{
width: 100%;
margin-left: 2%;
color: #c8412d;
}
.footer1 li{
width: 100%;
list-style: none;
}
.footer2{
width: 100%;
color: #143046;
background-color:#c8412d ;
}
.footer1 a{
color:#f0e6b4 ;
text-decoration: none;
}
/*ipadcss*/
}
/*SPサイズレスポンシブ/////////////////////////////////////////////////////////////////////*/

/*SPサイズレスポンシブ*/
@media(max-width:599px) {
  body {
      max-width: 599px;
      background-color:#f0e6b4;
  }

  .container {
      width: 100%;
      background-color:#f0e6b4;
      justify-content: center;
      text-align: center;
      color: #000000;
  }
/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
top: 0;
width:100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg{
  position: fixed;
z-index:3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #c8412d;
  /*丸のスタート位置と形状*/
transform: scale(0);/*scaleをはじめは0に*/
right:-50px;
  top:-50px;
  transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}
/*ナビゲーションの縦スクロール*/
#g-nav-list{
  display: none;/*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
   display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
opacity: 0;/*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:45%;
  transform: translate(-50%,-50%);
}
/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#g-nav li{
text-align: center; 
list-style: none;
}
#g-nav li a{
	color: #f0e6b4;
	text-decoration: none;
    margin-top: 10%;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}


/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 70px;
    height:70px;
}
/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  color: #143046;
background-color: #143046;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
top:30px;	
}

.openbtn span:nth-of-type(2) {
top:40px;
}

.openbtn span:nth-of-type(3) {
top:50px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

header {

  width: 100%;
  height: 100px;
  display: flex;
  color: #143046;
}
a{
  color: #f0e6b4;
  text-decoration: none;
}
header h1 {
  width: 18%;
}
header img{
  width: 100%;
}
header h2{
  width: 60%;
  font-size: 20px;
margin-left: 5%;
}
header ul {
 display: none;
}

header li {
  margin-right: 5%;
  list-style: none;
}
.top {
  width: 100%;
  height: 100px;
  margin-top: 2%;
padding-top: 6%;
  background-image: url(../img/topnew.png);
  background-size: cover;
  color: #ffffff;
  font-size: x-small;

}
.top h2{
  margin-top: 5%;
 color: #ffffff;
}
main {
  width: 80%;
  text-align: left;
  background-color:#f0e6b4;
  color: #143046;
margin-left: 10%;
}
main a{
text-decoration: none;
color: #143046;
font-size: 14px;
}
main ul{
width: 90%;
display: flex;
list-style: none;
align-items: center;

}
main li{
width: 30%;
margin-right: 2%;
text-align: center;


}
main img{
  width: 100%;
  
}
h2{
  color: #143046;
}
main h3 {
position: relative;
padding: .3em;
}
main h3::before {
position: absolute;
content: '';
bottom: 0;
left: 0;
border-top: 1px dotted #E91E63;/*上の線*/
border-bottom: 2px solid #E91E63;/*下の線*/
width: 100%;
height: 6px;/*空けたい隙間＋上の線＋下の線*/
}

footer {
  width: 100%;
  background-color: #143046;
  color: #f0e6b4;
  text-align: center;
 
}
.footer1{
  width: 100%;
  color: #c8412d;
}
.footer1 h2{
  width: 100%;
  margin-left: 2%;
  color: #c8412d;
}
.footer1 li{
  width: 100%;
  list-style: none;
}
.footer1 ul{
  margin-right: 5%;
}
.footer2{
  width: 100%;
  color: #143046;
  background-color:#c8412d ;
}
.footer1 a{
  color:#f0e6b4 ;
  text-decoration: none;
}
    /*spcss */
  }