@charset "utf-8";
body{
    font-family: 'MS P明朝', 'ヒラギノ明朝', 'Times', 'cursive', "Shippori Mincho B1", 'serif', sans-serif;
    
}
header,main,footer{
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

figure{
  margin: 0;
}
.shippori-mincho-b1-regular {
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
  }


header nav ul{
  display: flex;
  justify-content: end;
  padding-top: 20px;
  padding-right: 20px;
}

header nav ul li{
  margin: 0 15px;
  list-style: none;
}

header nav ul li a{
  font-weight: bold;
  color: #148fa1;
  text-decoration: none;
}

header nav ul li a:hover{
  border-bottom: 2px solid #148fa1;
}

.header1{
  background-color: #148fa1;
  color: #ffffff;
  display: grid;
  grid-template-rows: 20vw 10vw;
  grid-template-columns: 50% 50%;
  padding: 15px 15px 15px 0;
  
}

.item01{
  grid-row: 1 / 3 ;
  grid-column: 1 / 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item02{
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  font-size: clamp(3.125rem, -3.0819rem + 12.931vw, 5rem);
  /* 可変の時のフォント指定 */
  line-height: 120%;
  color: #ffffff;
  font-weight: bold;
  padding-left: 50px;
}

.item03{
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  width: 10vw;
  height: auto;
  object-fit: cover;
  padding-left: 70%;
}

main{
  background: url(../images/spamark2.png) no-repeat center 50% / contain;
  background-size: 60%;

}

h2{
  color: #148fa1;
  font-size: 30px;
  font-weight: bold;
  margin-block-start: 0;
}

h5{
  font-family: 'sans-serif';
  font-size: large;
  margin-block-start: 0;
}

.aisatu{
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.goaisatu{
  flex-basis: 50%;
  font-size: larger;
  line-height: 150%;
}
.namae{
  text-align: right;
}

.sauna{
  flex-basis: 30%;
}


#jikan{
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}
.hyoudai{
  flex-basis: 30%;
}

.nakami{
  flex-basis: 67%;
}

.close{
  font-size: 18px;
  font-weight: 900;
}

#ryoukin{
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}
.hyoudai02{
  flex-basis: 30%;
}
.nakami02{
  flex-basis: 67%;
}

table,td,th{
  line-height: 150%;
  border: #148fa1 solid 1px;
  padding: 10px;
}
th{
  text-align: left;
  white-space: nowrap;
  }
  /* テーブルタグで1行に収める場合の指定ホワイトスペースノーラップ */


#situmon{
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

.item04{
  flex-basis: 55%;
  vertical-align: top;
  line-height: 150%;
}

dd{
  margin-inline-start: 0;
}

.item101{
  flex-basis: 40%;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 65% 35%;
}

.item05{
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  object-fit: cover;
  align-self: self-end;
}

.item06{
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  object-fit: cover;
  align-self: self-end;
}

.item07{
  grid-row: 2 / 3;
  grid-column: 1 / 3;
  object-fit: cover;
}

figcaption{
  font-size: small;
  margin-top: 2px;
}

#access{
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  margin-bottom: 30px;
}

.accesstitle{
  flex-basis: 15%;
}
.map{
  flex-basis: 45%;
  width: 100%;
  height: auto;
}

.tel{
  flex-basis: 40%;
}

.topmenu{    background-color: chartreuse;
  width: 100%;
  padding: 5px 5px 5px 5px;
  text-align: center;
}

.topmenu a{
  font-family: sans-serif;
  color: #157209;
  font-size: 18px;
  text-decoration: underline;
  border: #157209 1px;
  text-underline-offset: 3px;
  font-weight: bold;
}


footer{
    background-color: #148fa1;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: auto;
    padding-right: auto;
  }

/* トップへ戻るボタンコピペ */
html{
  scroll-behavior: smooth;
}

  #topButton {
    position: fixed;
    bottom: 70px;
    right: 20px;
  }
  

/* レスポンシブ処理 最後の行でOK*/
@media screen and (max-width: 768px){
  
  main{width: 90%;
    justify-content: center;
    }



  .item02{
    font-size: clamp(1.5625rem, -0.5rem + 8.8vw, 5rem);
    padding: 20px;
  }
  header nav ul{
    display: block;
    margin-top: 20px;
  }
  .aisatu{
    display: block;
    margin-top: 20px;
  }
.text01{
  font-size: 16px;
  line-height: normal;
}
.namae{
  font-size: 16px;
  line-height: normal;
}


/* 下記再確認要　画像変形できず */
.sauna{
  width: 100%;
  aspect-ratio: 1 / 1 ;
  object-fit: cover;
}

  #jikan{
    display: block;
    margin-top: 20px;

  }
  #ryoukin{
    display: block;
    margin-top: 20px;
  }

  #situmon{
    display: block;
    margin-top: 20px;
  }

  #access{
    display: block;
    margin-top: 20px;
  } 

  /* Google Mapを囲う要素 */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



}