/* 全体のスタイル */
*{
  box-sizing: border-box;
}

/* body のスタイル */
body{
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
  font-weight: 400;
  color: #333;
  background-color: #fff;
}

/* 初期スタイル調整 */
h1,
h2,
h3{
  margin-top: 0;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-align: center;
}

h3{
  color: #85a7cc;
  font-size: 14px;
  margin-bottom: 20px;
}

p{
  margin-top: 0;
  margin-bottom: 1.5em;
  text-align: justify;
}

address{
  font-style: normal;
}

a{
  color: #666;
  text-decoration: none;
}

a:hover,
a:focus{
  color: #000;
  text-decoration: none;
}

ul{
  margin: 1em 0;
  padding: 0;
  list-style: none;
}

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

section{
  padding: 60px 0;
}

/* 共通スタイル */

/* ---  h2  ---*/
.h2-title{
  position: relative;
  /* text大文字に */
  text-transform: uppercase;
  z-index: 100;
}

/* 疑似要素を使って◆を表示 */
.h2-title::before{
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-color: #a5d1ff;
  position: absolute;
  left: 50%;
  /* 自分の大きさの半分戻して中央に */
  margin-left: -20px;
  transform: rotate(45deg);
  z-index: -100
}

/*  ---text --- */
.txt-center{text-align: center;}
.txt-lead{font-weight: 700;}

/* ---  button  ---*/

/* button共通 */
.btn{
  display: block;
  padding: 20px 35px;
  border-radius: 8px;
  margin: 0 auto;
  border: none;
}

.brn:hover,
.btn:focus{
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

/* Web予約ボタン */
.btn-reserve{
  color: #fff;
  background-color: #6699ff;
}

/* コンテンツを格納するスタイル */
.inner{
  padding: 0 15px;
  margin: 0 auto;
}
/* for PC */
@media (min-width: 768px) {
  .inner{max-width: 1200px;}  
}

/* モバイルでは表示､PCでは非表示にしたい要素 */
.sp-only{display: block;}
.pc-only{display: none;}
/* -onlyのPC用設定 */
@media (min-width: 768px) {
  .sp-only{display: none;}
  .pc-only{display: block;}
}

/* header */
.header{
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 200;
}

/* サイトロゴとナビゲーションボタンを並べる */
.header-logo-menu{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* サイトロゴを表示 */
.logo-area{
  width: 200px;
  margin: 0;
  text-align: left;
}

/* ---  ハンバーガーメニュー  --- */
.gnav-toggle{
  position: relative;
  margin-top: 10px;
}

.gnav-hidden{
  display: none;
}

/* gnav-openに三本線を表現させる記述 */
#gnav-open{
 display: inline-block;
 width: 30px;
 height: 22px;
 vertical-align: middle; 
}

#gnav-open span,
#gnav-open span::before,
#gnav-open span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #555;
  display: block;
  cursor: pointer;
}
/* ↑で重なった三本の線を書いて､↓でずらす */
#gnav-open span::before{
  bottom: -8px;
}
#gnav-open span::after{
  bottom: -16px;
}

/* 閉じる用の薄黒箇所を作る */
#gnav-close{
  /* noneにしないとどこクリックしてもopenしちゃう */
  display: none;
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

#gnav-input:checked ~ #gnav-close{
  display: block;
  opacity: 0.5;
}

#gnav-input:checked ~ #gnav-content{
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
}

#gnav-content{
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  transition: 0.3s ease-in-out;
  transform: translateX(-105%);
}

.gnav-menu{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  text-transform: uppercase;
}

.gnav-item{
  border-bottom: 2px dotted #eee;
  margin: 10px;
  padding-bottom: 20px;
}

.gnav-item a{
  color: #fff;
  font-size: 12px;
  display: block;
  width: 200px;
  text-align: center;
}

.gnav-item a::first-line{
  font-size: 16px;
  font-weight: bold;
}

/* PC用CSS */
@media (min-width: 768px) {
  .logo-area{width: 250px;}
}

@media (min-width: 768px) {
  .gnav-menu{
    flex-direction: row;
    padding-top: 15px;
    margin: 0;
  }

  .gnav-item{
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
  }

  .gnav-item a{
    color: #333;
    width: 120px;
  }

  .gnav-item a:hover{
    color: #85a7cc;
  }
}

/*  mv */
.mv-area{
  width: 100vw;
  height: 100vh;
  background-image: url(../img/hero.jpg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mv-title{
  color: #fff;
  text-shadow: 0px 0px 3px #333;
  margin-top: 70px;
}

@media (min-width:768px) {
  .mv-area{
    width: 100%;
    height: 600px;
  }
  .mv-title{
    margin-top: 90px;
  }
}

/* main info */
.info-area{
  background-color: #85a7cc;
}

/* .inner{
  margin-left: 15px;
  margin-right: 15px;
} */

.info-txt{
  color: #fff;
  text-shadow: 0px 0px 3px #333;
}

@media (min-width: 768px) {
  .info-content{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }

  .info-txt{
    flex: 1;
    margin-left: 30px;
  }
  .info-area img{
    flex: 1;
  }
}

/* メイン_サービス */
.service-area{
  /* 元々白だし､いらないけど､練習として */
  background-color: #fff;
}

.service-content{
  display: flex;
  flex-wrap: wrap;
  
}

.service-item{
  flex: 40%;
  text-align: center;
  padding: 20px 20px 0;
  margin: 5px;
  border: 3px solid #527acc;
  border-radius: 10px;
}

.service-item img{
  width: 120px;
}

/* serviceのpc用設定 */
@media (min-width:768px) {
  .service-content{
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
  }

  .service-item{
    flex: 1;
  }
}

/* planのスタイル */
.plan-area{
  background-color: #f0f0f0;
}

.plan-content{
  display: flex;
  flex-direction: column;
}

.plan-item{
  background-color: #fff;
  margin-bottom: 30px;
  box-shadow: 1px 1px 3px #aaa;
}

.plan-info{
  padding: 0 15px 15px;
}

.plan-title{
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #527acc;
}

.plan-price{
  text-align: center;
  padding: 10px;
  border: 2px solid #527acc;
}

/* リストマーカー
    ::beforeで空のコンテンツ(重要)を作って､
    画像を読み込み､
    表示領域をwidth,heightで作って､
    inline-blockで他の要素を押しのけて居場所を確保し､
    vertical-alignとmarginで位置調整
*/
.plan-list li::before{
  content: "";
  background-image: url(../img/list-marker.svg);
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px 3px;
}

/* planのPC表示用 */
@media (min-width:768px) {
  .plan-content{
    flex-direction: row;
  }

  .plan-item{
    flex: 1;
    margin-top: 0;
    margin-left: 15px;
    margin-right: 15px;
  }
}


/* accessのスタイル */
.access-area{
  padding-bottom: 0;
}

.access-content{
  display: flex;
  flex-direction: column;
}

.access-content img{
  display: block;
  max-width: 280px;
  max-height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin: 10px auto 30px;
}
/* P248 */
/* mapの表示枠設定 */
.access-maparea{
  position: relative;
  padding-top: 100%;
}

.acces-map{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* PC用access map設定 */
@media (min-width: 768px) {
  .access-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 150px;
  }

  .access-maparea{
    position: relative;
    padding-top: 30%;
  }
}

/* pagetop */
.pagetop{
  text-align: center;
  padding: 15px;
  background-color: #f0f0f0;
}

/* listmarker */
.pagetop a::after{
  content: "";
  background-image: url(../img/list-marker.svg);
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 3px 10px;
  transform: rotate(-90deg);
}

/* footer */
.foot-area{
  color: #fff;
  text-align: center;
  padding-top: 40px;
  background-color: #596680;
}

/* フッターロゴ */
.foot-logo{
  margin: 0 auto 20px;
}

/* 電話番号のスタイル */
.text-phone, .text-phone a{
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

/* 著作権表示 */
.foot-area_copy{
  color: #ccc;
  font-size: 12px;
  display: inline-block;
  width: 100%;
  padding: 10px;
  background-color: #333;
}

/* PC用フッター */
@media (min-width: 768px) {
  a[href^="tel:"]{
    pointer-events: none;
  }  
}

/* ページトップへなめらかに移動する */
html{scroll-behavior: smooth;}