@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;
        }
        
header {
    width: 100%;
    height: 120px;
    display: flex;
    color: #143046;

}
a{
    color: #f0e6b4;
    text-decoration: none;
}
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);
    margin-bottom: 5%;
}
.top h2{
    margin-left: 45%;
  padding-top: 7%;
  color: #ffffff;
}


#faq {
  display: flex;
  max-width: 700px;
  margin: auto;
  padding: 0 15px;

}

section.faq {
  padding-top: 2em;
  padding-bottom: 3em;
}

#faq ul {
  text-align: left;
}

.transition,
p,
ul li i:before,
ul li i:after {
  transition: all 0.3s;
}

#faq .no-select,
#faq h2 {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}



#faq h2 {
  color: #c8412d;
  font-family: 'hm_light', sans-serif;
  font-size: 20px;
  line-height: 34px;
  text-align: left;
  padding: 15px 15px 0;
  text-transform: none;
  font-weight: 300;
  letter-spacing: 1px;
  display: block;
  margin: 0;
  cursor: pointer;
  transition: .2s;
}

#faq p {
  color: #143046;
  text-align: left;
  font-family: 'hm_light', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  overflow: hidden;
  max-height: 250px;
  will-change: max-height;
  contain: layout;
  display: inline-block;
  opacity: 1;
  transform: translate(0, 0);
  margin-top: 5px;
  margin-bottom: 15px;
  padding: 0 50px 0 15px;
  transition: .3s opacity, .6s max-height;
  hyphens: auto;
  z-index: 2;
}

#faq ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}

#faq ul li {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  padding-bottom: 4px;
  padding-top: 18px;
  background: #fff;
  box-shadow: 0 0 15px -6px #00000073;
  -webkit-tap-highlight-color: transparent;
}

#faq ul li+li {
  margin-top: 15px;
}

#faq ul li:last-of-type {
  padding-bottom: 0;
}

#faq ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 28px;
  right: 15px;
}

#faq ul li i:before,
ul li i:after {
  content: "";
  position: absolute;
  background-color: #cc071e;
  width: 3px;
  height: 9px;
}

#faq ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}

#faq ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}

#faq ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  touch-action: manipulation;
}

#faq ul li input[type=checkbox]:checked~h2 {
  color: #000;
}

#faq ul li input[type=checkbox]:checked~p {
  margin-top: 0;
  max-height: 0;
  transition: .3s;
  opacity: 0;
  transform: translate(0, 50%);
}

#faq ul li input[type=checkbox]:checked~i:before {
  transform: translate(2px, 0) rotate(45deg);
}

#faq ul li input[type=checkbox]:checked~i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

a,
a:visited,
a:focus,
a:active,
a:link {
  text-decoration: none;
  outline: 0;
}

a {
  color: currentColor;
  transition: .2s ease-in-out;
}

h1,
h2,
h3,
h4 {
  margin: .3em 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  vertical-align: middle;
  height: auto;
  width: 100%;
}

footer {
  width: 100%;
  background-color: #143046;
  color: #f0e6b4;
}

.footer1 {
  width: 100%;
}

.footer1 h2 {
  width: 100%;
  margin-left: 2%;
  color: #c8412d;
}

.footer1 li {
  width: 100%;
  list-style: none;
}

.footer2 {
  width: 100%;
  color: #143046;
  background-color: #c8412d;
}
}
/*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;
  }
  
header {
width: 100%;
height: 120px;
display: flex;
color: #143046;
align-items: center;

}
a{
color: #f0e6b4;
text-decoration: none;
}
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: 14px;
margin-top: 6%;

}
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);
margin-bottom: 5%;
}
.top h2{
text-align: center;
padding-top: 12%;
color: #ffffff;
}


#faq {
display: flex;
max-width: 700px;
margin: auto;
padding: 0 15px;

}

section.faq {
padding-top: 2em;
padding-bottom: 3em;
}

#faq ul {
text-align: left;
}

.transition,
p,
ul li i:before,
ul li i:after {
transition: all 0.3s;
}

#faq .no-select,
#faq h2 {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
user-select: none;
}



#faq h2 {
color: #c8412d;
font-family: 'hm_light', sans-serif;
font-size: 20px;
line-height: 34px;
text-align: left;
padding: 15px 15px 0;
text-transform: none;
font-weight: 300;
letter-spacing: 1px;
display: block;
margin: 0;
cursor: pointer;
transition: .2s;
}

#faq p {
color: #143046;
text-align: left;
font-family: 'hm_light', sans-serif;
font-size: 14px;
line-height: 1.45;
position: relative;
overflow: hidden;
max-height: 250px;
will-change: max-height;
contain: layout;
display: inline-block;
opacity: 1;
transform: translate(0, 0);
margin-top: 5px;
margin-bottom: 15px;
padding: 0 50px 0 15px;
transition: .3s opacity, .6s max-height;
hyphens: auto;
z-index: 2;
}

#faq ul {
list-style: none;
perspective: 900;
padding: 0;
margin: 0;
}

#faq ul li {
position: relative;
overflow: hidden;
padding: 0;
margin: 0;
padding-bottom: 4px;
padding-top: 18px;
background: #fff;
box-shadow: 0 0 15px -6px #00000073;
-webkit-tap-highlight-color: transparent;
}

#faq ul li+li {
margin-top: 15px;
}

#faq ul li:last-of-type {
padding-bottom: 0;
}

#faq ul li i {
position: absolute;
transform: translate(-6px, 0);
margin-top: 28px;
right: 15px;
}

#faq ul li i:before,
ul li i:after {
content: "";
position: absolute;
background-color: #cc071e;
width: 3px;
height: 9px;
}

#faq ul li i:before {
transform: translate(-2px, 0) rotate(45deg);
}

#faq ul li i:after {
transform: translate(2px, 0) rotate(-45deg);
}

#faq ul li input[type=checkbox] {
position: absolute;
cursor: pointer;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0;
touch-action: manipulation;
}

#faq ul li input[type=checkbox]:checked~h2 {
color: #000;
}

#faq ul li input[type=checkbox]:checked~p {
margin-top: 0;
max-height: 0;
transition: .3s;
opacity: 0;
transform: translate(0, 50%);
}

#faq ul li input[type=checkbox]:checked~i:before {
transform: translate(2px, 0) rotate(45deg);
}

#faq ul li input[type=checkbox]:checked~i:after {
transform: translate(-2px, 0) rotate(-45deg);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html,
body {
height: 100%;
}

a,
a:visited,
a:focus,
a:active,
a:link {
text-decoration: none;
outline: 0;
}

a {
color: currentColor;
transition: .2s ease-in-out;
}

h1,
h2,
h3,
h4 {
margin: .3em 0;
}

ul {
padding: 0;
list-style: none;
}

img {
vertical-align: middle;
height: auto;
width: 100%;
}

footer {
width: 100%;
background-color: #143046;
color: #f0e6b4;
}

.footer1 {
width: 100%;
}

.footer1 h2 {
width: 100%;
margin-left: 2%;
color: #c8412d;
}

.footer1 li {
width: 100%;
list-style: none;
}

.footer2 {
width: 100%;
color: #143046;
background-color: #c8412d;
}
}
/*ipadcss*/


/*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;
  width: 100%;
  }
  
  #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;
    margin-left: 20%;
    width: 100%;
  }
  /*========= ボタンのための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;
align-items: center;
}
a{
color: #f0e6b4;
text-decoration: none;
}
header h1 {
width: 10%;
margin-left: 1%;

}
header img{
width: 100%;
}
header h2{
width: 50%;
font-size: 18px;
margin-left: 5%;
}
header ul {
display: none;
}
header li {
margin-right: 5%;
list-style: none;
}
.gnavi{
display: none;
}


.top {
  width: 100%;
  height: 150px;
padding-top: 10%;
  background-image: url(../img/topnew.png);
  background-size: cover;
  color: #ffffff;
  font-size: x-small;

}
.top h2{
padding-top: 4%;
color: #ffffff;
}


#faq {
display: flex;
max-width: 700px;
margin: auto;
padding: 0 15px;
margin-top: 2%;

}

section.faq {
padding-top: 2em;
padding-bottom: 3em;
}

#faq ul {
text-align: left;
}

.transition,
p,
ul li i:before,
ul li i:after {
transition: all 0.3s;
}

#faq .no-select,
#faq h2 {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
user-select: none;
}



#faq h2 {
color: #c8412d;
font-family: 'hm_light', sans-serif;
font-size: 20px;
line-height: 34px;
text-align: left;
padding: 15px 15px 0;
text-transform: none;
font-weight: 300;
letter-spacing: 1px;
display: block;
margin: 0;
cursor: pointer;
transition: .2s;
}

#faq p {
color: #143046;
text-align: left;
font-family: 'hm_light', sans-serif;
font-size: 14px;
line-height: 1.45;
position: relative;
overflow: hidden;
max-height: 250px;
will-change: max-height;
contain: layout;
display: inline-block;
opacity: 1;
transform: translate(0, 0);
margin-top: 5px;
margin-bottom: 15px;
padding: 0 50px 0 15px;
transition: .3s opacity, .6s max-height;
hyphens: auto;
z-index: 2;
}

#faq ul {
list-style: none;
perspective: 900;
padding: 0;
margin: 0;
}

#faq ul li {
position: relative;
overflow: hidden;
padding: 0;
margin: 0;
padding-bottom: 4px;
padding-top: 18px;
background: #fff;
box-shadow: 0 0 15px -6px #00000073;
-webkit-tap-highlight-color: transparent;
}

#faq ul li+li {
margin-top: 15px;
}

#faq ul li:last-of-type {
padding-bottom: 0;
}

#faq ul li i {
position: absolute;
transform: translate(-6px, 0);
margin-top: 28px;
right: 15px;
}

#faq ul li i:before,
ul li i:after {
content: "";
position: absolute;
background-color: #cc071e;
width: 3px;
height: 9px;
}

#faq ul li i:before {
transform: translate(-2px, 0) rotate(45deg);
}

#faq ul li i:after {
transform: translate(2px, 0) rotate(-45deg);
}

#faq ul li input[type=checkbox] {
position: absolute;
cursor: pointer;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0;
touch-action: manipulation;
}

#faq ul li input[type=checkbox]:checked~h2 {
color: #000;
}

#faq ul li input[type=checkbox]:checked~p {
margin-top: 0;
max-height: 0;
transition: .3s;
opacity: 0;
transform: translate(0, 50%);
}

#faq ul li input[type=checkbox]:checked~i:before {
transform: translate(2px, 0) rotate(45deg);
}

#faq ul li input[type=checkbox]:checked~i:after {
transform: translate(-2px, 0) rotate(-45deg);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html,
body {
height: 100%;
}

a,
a:visited,
a:focus,
a:active,
a:link {
text-decoration: none;
outline: 0;
}

a {
color: currentColor;
transition: .2s ease-in-out;
}

h1,
h2,
h3,
h4 {
margin: .3em 0;
}

ul {
padding: 0;
list-style: none;
}

img {
vertical-align: middle;
height: auto;
width: 100%;
}

footer {
width: 100%;
background-color: #143046;
color: #f0e6b4;
}

.footer1 {
width: 100%;
}

.footer1 h2 {
width: 100%;
margin-left: 2%;
color: #c8412d;
}

.footer1 li {
width: 100%;
list-style: none;
}

.footer2 {
width: 100%;
color: #143046;
background-color: #c8412d;
}

    /*spcss */
  }