@charset "utf-8";
/* CSS Document */

html {
  font-size: 62.5%;  /*pxだと10px;*/
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fffafa;
  color: #555;
  line-height: 1.8;

}

header{
  width: 100%;
  padding: 30px 4% 10px;
  background-color: transparent;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  height: 80px;
  margin-right: auto; 
  margin-left : auto;

  z-index: 999;
}

/*検証のためのCSS*/
section { 
  padding: 500px 0;
}

h1 {
  margin: 0; 
  padding: 0;
  font-size: 2rem;
}

.header a {	
  text-decoration: none;
  color: #555;
  transition:all .2s;
}

nav ul {
  list-style: none;
  margin: 0;
  display: flex;
}

.header li {
  margin: 0 0 0 15px;
  font-size: 1.8rem;
  font-weight: bold;
}

nav {
  margin: 0 0 0 auto;
}

.main-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(rgba(255,255,255,0) 0, #fffafa 95%), url('img_top00.png') top center / cover no-repeat;
}

h2.top {
  margin: 0;
  font-size: 4rem;
  font-weight: bold;
  color: #555;
  font-family: 'Yu Mincho';
  text-align: center;
  
  text-shadow: 1px 2px 4px #999;
  
  position: absolute;
  top: 45%;

}

section h2 {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;

  position: relative;
  padding: 0 65px;
}

section h2:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: #555;
}

section h2 span {
  position: relative;
  padding: 0 1em;
  background: #fffafa;
}

section.top01 {
  width: 100%;
  padding: 20px;
}

section.top02 {
  width: 100%;
  padding: 20px;
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
}

p {
  max-width: 800px;
  font-size: 1.6rem;
  margin: 0;
}

.text_center {
  text-align: center;
  font-size: 1.6rem;
}

.text_pd01 {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  font-size: 1.6rem;
}

#entry ol {
  padding: 0 0 0 1.5em;
  margin: 1rem 0 1rem 0;
}

#entry ul {
  padding: 0 0 0 1.5em;
  margin: 1rem 0 0 0;
}

#entry ul.l-s_none {
  padding: 0 0 0 1.5em;
  margin: 0.5rem 0 1rem 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#entry ul.l-s_none2 {
  padding: 0 0 0 6rem;
  margin: 0.5rem 0 1rem 0;
  list-style: none;
  justify-content: center;
}

@media screen and (max-width: 750px) {  /* 640px以下でスマホ画面時*/
  #entry ul.l-s_none2 {
    padding: 0 0 0 0.5rem;
    margin: 0.5rem 0 1rem 0;
    list-style: none;
    justify-content: center;
  }
}

span.box01 {
  display: block;
  border: solid 1px #555;
  max-width: 400px;
  padding: 10px;
  margin: 10px auto;
  align-items: center;
}

.box_bg-fff {
  margin: 1em 0;
  padding: 0.5em 1em;
  background-color: #FFF;
}

section h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
  color: #555;
}


@media screen and (max-width: 750px) {  /* 640px以下でスマホ画面時*/
  section h3 {
    font-size: 1.5rem; /*16px*/
    font-weight: bold;
  }
  
  p {
    font-size: 1.3rem; /*12px*/
  }

  h1 {
    margin: 0; 
    padding: 0;
    display: none;
  }

  h2.top {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
  }
  
  .text_pd01 {
    width: 100%;
    margin: 0 auto;
    font-size: 1.3rem;
  }

  section h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
  
    position: relative;
    padding: 0 65px;
  }

  }


/* ボタンデザイン */
/*まずはお決まりのボックスサイズ算出をborer-boxに */
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #555;
  border-radius: 0.5rem;

  margin: 10px;
  width: 260px;
}

a.btn-border {
  border: 2px solid #555;
  border-radius: 0;
  background: #fff;
}

a.btn-border:hover {
  color: #fff;
  background: #555;
}
/* ボタンデザイン */





/* ここから「footer」　テスト*/
footer.footer {
  background-color: #FFF;
  margin: 0;
  padding: 0 30px;
}

div.footer01 {
  padding: 20px 0;
}

p.footer_name {
  font-size: 2rem;
  font-weight: bold;
  line-height: 3rem;
}

p.footer_address {
 font-size: medium;
}

div.footer02 {
  background-color: #FFF;
}

p.footer_copyright {
  text-align: center;
}

/* ここまで「footer」テスト*/


/* リンクデザイン　ここから */

a {
  transition: color 0.2s;
  color: #555;
  text-decoration: none;
}

a:hover {
  color : #ff7043;
}

/* リンクデザイン　ここまで */


/* ↑　nav　テスト */

h1.none {
  display: none;
}

h1.header {
  font-family: serif;
  font-size: 20px;
  color: #555; 
  text-align: center;
}  

img.header {
  display: block;
  margin: auto;
  width: 100%;
}





/* ブラウザの初期設定をクリア */
dl,dt,dd {
  margin: 0;
  padding: 0;
}

dl.row {
  border-top: 1px solid #E4E4E4;
  border-left: 1px solid #E4E4E4;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
}

dl.row dt {
  background-color: #FBFBFB;
  font-weight: bold;
  padding: 10px;
  width: 13em;
  box-sizing: border-box;
  border-right:  1px solid #E4E4E4;
  border-bottom: 1px solid #E4E4E4;
}

.row dd {
  background-color: #FFF;
  padding: 10px;
  width: calc(100% - 13em);
  box-sizing: border-box;
  border-right:  1px solid #E4E4E4;
  border-bottom: 1px solid #E4E4E4;
}

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

  .row {
    width: 100%;        /* 横幅をpxではなく、幅いっぱいに指定。 */
    border-left: none;  /* テーブルの左の線を消す */
    display: block;     /* 横並びにさせないようブロック要素にする */
  }

  .row dt,
  .row dd {
    border-right: none;   /* セルの右の線を消す */
    width: 100%;          /* 横幅を幅いっぱいに指定 */
    padding: 10px 15px;   /* 各セルに余白を取る */
  }
  .row dt {
    border-bottom: none;  /* 下の線を消す（ddの下の線が残る） */
    padding-bottom: 0;    /*ddとの距離を近づけるため、0にする*/
  } 
}

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

  footer.footer {
    background-color: #FFF;
    margin: 0;
    width: 100%;
  }

  div.footer01 {
    padding: 20px;
  }

  p.footer_name {
    font-size: 1.5rem;
    font-weight: bold;
  }

  p.footer_address {
  font-size: 1.3rem;
  }

  div.footer02 {
    background-color: #FFF;
  }

  p.footer_copyright {
    text-align: center;
    font-size: 0.8rem;
  }
}


@media screen and (max-width: 750px) {
  #g-nav { 
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;  /*ナビの高さ*/
    background:#999;
    /*動き*/
    transition: all 0.6s;  
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
  top: 0;
  }
  
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list { 
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
  }

  /*リストのレイアウト設定*/
  #g-nav li {
    list-style: none;
    text-align: center; 
  }

  #g-nav li a { 
    color: #555;
    text-decoration: none;
    padding:10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn{
    position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
    top:10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height:50px;
  }

  /*×に変化*/	
  .openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

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

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

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  .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%;
  }
}

/* Google Mapを囲う要素 */
.g_map {
  position: relative;
  margin: 0 auto;
}

/* Google Mapのiframe */
.g_map iframe {
  width: 500px;
  height: 400px;
}

@media screen and (max-width: 750px) {
  /* Google Mapを囲う要素 */
  .g_map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 比率を4:3に固定 */
  }

  /* Google Mapのiframe */
  .g_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 750px) {
  .btn,
  a.btn,
  button.btn {
    font-size: 1.3rem;
    width: 250px;
  }
}