@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400&family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');


.zen-kaku-gothic-new-light {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-old-mincho-regular {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.zen-old-mincho-medium {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
}

.zen-old-mincho-semibold {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

.zen-old-mincho-bold {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-style: normal;
}

.zen-old-mincho-black {
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-style: normal;
}





/* 基本のスタイル設定（body、div、dl、dt、dd、ul、ol、li、h1、h2、h3、h4、h5、h6、input、textarea、p、th、td） */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, input, textarea, p, th, td {
    margin: 0; /* マージンをゼロに設定 */
    padding: 0; /* パディングをゼロに設定 */
    position: relative; /* 要素の位置を相対位置に設定 */
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: "wght" 250;
  }

  /* 画像の基本スタイル設定 */
img {
    max-width: 100%; /* 画像の最大幅を100%に設定 */
    height: auto; /* 高さを自動調整 */
    margin: 0; /* マージンをゼロに設定 */
    padding: 0; /* パディングをゼロに設定 */
    vertical-align: bottom; /* 垂直方向の位置を下に設定 */
  }

  .ABcenter {
    position: absolute;
    top: 50%; /* 上から50%の位置に設定 */
    left: 50%; /* 左から50%の位置に設定 */
    transform: translate(-50%, -50%); /* 要素を中央に配置 */
  }

  /* ulタグのリストスタイル設定 */
ul {
    list-style: none; /* リストマーカーを無効に設定 */
  }

/* ========================= 共通 ========================= */
  h2,h3,h4,p {
    color: #595757;
  }
  .textWhite {
    color: #FFF;
  }
  h2, h3, h4, h5 {
    text-align: center;
  }
  h2 {
    font-size: 5vh;
    padding-top: 100px;
    padding-bottom: 50px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  h3 {
    font-size: 20px;
    padding-bottom: 50px;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-style: normal;
  }
  h4 {
    font-size: 15px;
    padding-bottom: 30px;
  }
  p {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.5px;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }
  .brownline {
    width: 50vw;
    margin: 0 calc(50%);
    border-top: solid 2px #968A74;
    padding-bottom: 50px;
    display: flex;
    justify-content: flex-end;
  }
  .allwidth {
    width: 80%;
    margin: auto;
  }
  .heightspace {
    padding-bottom:100px;
  }
  .beigeText {
    padding: 10svh 0vw;
    text-align: center;
    color:#FFF;
    background-color: #C3BDAD;
  }
  .underaSpace {
    padding-bottom: 50px;
  }
  a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent; /* 強調をなくす */
  }
  a:hover {
    background-color: #e0e0e000;
    }

    @media screen and (min-width:451px)and (max-width:960px) {
      .allwidth {
        width: 50%;
      }
    }
    @media screen and (min-width:961px) {
      .allwidth {
        width: 30%;
      }
    }




/* ========================= グリーンボタン ========================= */
    a.btn_05 {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 90%;
      height: 70px;
      margin: auto;
      background-color: #243B1D;
      box-sizing: border-box;
      color: #fff;
      font-size: 16px;
      letter-spacing: 0.1em;
      line-height: 2.0;
      text-decoration: none;
      transition-duration: 0.3s;
      position: relative;
    }
    a.btn_05:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 30px 40px 0 0;
      border-color: #ffffff transparent transparent transparent;
    }
    .beigeText .btn_05:before {
      border-color: #C3BDAD transparent transparent transparent;
    }
    a.btn_05:after {
      content: "";
      position: absolute;
      top: -6px;
      left: 5px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 0 40px 30px;
      border-color: transparent transparent #efefef transparent;
      box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.15);
      transform: rotate(16deg);
    }
    a.btn_05:hover {
      background-color: #948e7d;
    }
    a.btn_05 span {
      position: relative;
      padding-left: 16px;
      letter-spacing: 0.05em;
    }
    a.btn_05 span:before {
      content: '';
      width: 6px;
      height: 6px;
      border: 0;
      border-top: solid 2px #fff;
      border-right: solid 2px #fff;
      transform: rotate(45deg);
      position: absolute;
      top: 50%;
      left: 0;
      margin-top: -4px;
    }

    a.topSpace {
      margin-top: 50px;
    }



    a.btn_06 {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 90%;
      height: 70px;
      margin: auto;
      background-color: #243B1D;
      box-sizing: border-box;
      color: #fff;
      font-size: 16px;
      letter-spacing: 0.1em;
      line-height: 2.0;
      text-decoration: none;
      transition-duration: 0.3s;
      position: relative;
    }
    a.btn_06:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 30px 40px 0 0;
      border-color: #ffffff transparent transparent transparent;
    }
    .beigeText .btn_06:before {
      border-color: #C3BDAD transparent transparent transparent;
    }
    a.btn_06:after {
      content: "";
      position: absolute;
      top: -6px;
      left: 5px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 0 40px 30px;
      border-color: transparent transparent #efefef transparent;
      box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.15);
      transform: rotate(16deg);
    }
    a.btn_06:hover {
      background-color: #948e7d;
    }
    a.btn_06 span {
      position: relative;
      padding-left: 16px;
      letter-spacing: 0.05em;
    }
    a.btn_06 span:before {
      content: '';
      width: 6px;
      height: 6px;
      border: 0;
      border-top: solid 2px #fff;
      border-right: solid 2px #fff;
      transform: rotate(45deg);
      position: absolute;
      top: 50%;
      left: 0;
      margin-top: -4px;
    }

    a.topSpace {
      margin-top: 50px;
    }


    /* ========================= 雪 ========================= */
    .snowWindow{
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    
    .snow {
      /*雪の色*/
      color: rgba(250, 250, 250, 0.87);
      /*雪の大きさ*/
      font-size: 9px;

      top: -5%;
      /*雪を適当な幅で降らせる*/
      text-shadow:
      5vw   -100px 2px,
      10vw  -400px 3px,
      20vw  -500px 4px,
      30vw  -580px 1px,
      39vw  -250px 2px,
      42vw  -340px 5px,
      56vw  -150px 2px,
      63vw  -180px 0,
      78vw  -220px 4px,
      86vw  -320px 9px,
      94vw  -170px 7px;
      /*雪アニメーション1*/
      animation: roll 8s linear infinite;
    }
      /*2つめの雪アニメーション*/
    .snow2nd{animation: anim 11s linear infinite;}
    
    @keyframes roll {
        0% {transform:rotate(0deg);}
       90% {opacity:1;}
       100% {transform:rotate(20deg);top:100%;opacity:0;}
    }
    @keyframes anim {
      100% {color:transparent;top:150%;}
    }
    
/* ========================= ハンバーガーメニュー ========================= */
.hamburger {
  margin: 0px auto 0;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
}

.hamburger .btn-gNav {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 24px;
  z-index: 9999;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  cursor:pointer;
}

.hamburger .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: rgb(189, 182, 168 , 1);
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.hamburger .btn-gNav span:nth-child(1) {
  top: 0;
}

.hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}

.hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}

.hamburger .btn-gNav.open span:nth-child(1) {
  background: #ffffff;
  top: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger .btn-gNav.open span:nth-child(2),
.hamburger .btn-gNav.open span:nth-child(3) {
  top: 6px;
  background: #ffffff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}


.btn-gNav {
display: block;
}

.gNav {
position: fixed;
top: 0;
right: -100%;
width: 35%;
background-color: rgba(189, 182, 168, 0.75);
font-size: 16px;
box-sizing: border-box;
z-index: 9998;
padding-top: 80px;
transition: .3s;
}

.gNav.open {
right: 0;
}

.gNav .gNav-menu {
padding: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
/*justify-content: center;*/
}

.gNav .gNav-menu li {
width: 86%;
padding: 25px 0;
}
.gNav .gNav-menu li a {
font-size: 2.7vh;
color: #ffffff;
font-family: "Zen Kaku Gothic New", sans-serif;
font-weight: 1000;
font-style: normal;
}

@media screen and (min-width:451px)and (max-width:960px) {
  .gNav {
    width: 20%;
    height: 90svh;
    background-color:#C3BDAD;
  }
  .gNav .gNav-menu li {
    padding: 2vh;
    }
  .gNav .gNav-menu li a {
    font-size: 2.3vh;
}
}
@media screen and (min-width:961px) {

}



/* ========================= フッター ========================= */
  footer {
    color: #FFF;
    text-align: center;
    font-size: 10px;
    background-color: #4B4949;
    padding-top: 20px;
    padding-bottom: calc(10svh + 20px) ;
    letter-spacing: 1px;
  }


/* ========================= フッター メニュー ========================= */
  .footermenu {
    width: 100%;
    height: 10svh;
    background-color: rgb(189, 182, 168 , 1);
    position: fixed;
    bottom: 0;
    margin: 0;
    padding: 0;
    border: 0.5px solid #FFF;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
  }

  .block {
    display: block;
    position: relative;
  }
  .footermenu a {
    width: calc(100%/3);
    height: 100%;
    border: 0.5px solid #FFF;
  }
  .footermenu a:hover {
    background-color: rgb(255, 255, 255);
  }


  .footermenu .button img {
    width: auto;
    height: 3svh;
    padding: 5px 0px;
  }

  .footermenu .button p {
    color: #4D4D4D;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-top: -0.5svh;
  }



/* ========================= TOP ========================= */
  .TOP {
    width: 100%; /* 幅を100%に設定 */
    height: 90svh; /* 高さをビューポート高さに設定 */
    position: relative; /* 要素の位置を相対位置に設定 */
    background-image: url("../img/TopBackgroundMobile.jpg"); /* 背景画像を設定 */
    background-size: cover; /* 背景画像を要素全体にフィットさせる */
    background-position: center; /* 背景画像の位置を中央に設定 */
    object-fit: cover; /* 画像を要素全体にフィットさせる */
  }

  /* トップロゴのスタイル設定 */
.TOPlogo {
    width: 50%; /* 幅を30%に設定 */
    position: absolute; /* 絶対位置に設定 */
    z-index: 2;
    top: 50%; /* 上から50%の位置に設定 */
    left: 50%; /* 左から50%の位置に設定 */
    transform: translate(-50%, -50%); /* 要素を中央に配置 */
  }
  @media screen and (min-width:451px)and (max-width:960px) {
    .TOPlogo {
      width: 20%; /* 幅を30%に設定 */
    }
  }
  @media screen and (min-width:961px) {
    .TOPlogo {
      width: 10%; /* 幅を30%に設定 */
    }
  }


  /* ========================= About ========================= */
  .about h4 {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }
  .backgrondImg {
    width: 100%; /* 幅を100%に設定 */
    height: 45svh; /* 高さをビューポート高さに設定 */
  }
  .exterior {
    text-align: center;
    width: 100%; /* 幅を100%に設定 */
    height: 100%; /* 高さをビューポート高さに設定 */
    position: relative; /* 要素の位置を相対位置に設定 */
    background-image: url("../img/exterior.jpg"); /* 背景画像を設定 */
    background-size: cover; /* 背景画像を要素全体にフィットさせる */
    background-position: left; /* 背景画像の位置を中央に設定 */
    object-fit: cover; /* 画像を要素全体にフィットさせる */
  }
  .exterior::before {
    content: "";
    position: absolute;
    top: 0;  bottom: 0;
    left: 0;  right: 0;
    background: rgb(255, 255, 255);
    opacity:0.5;
  }
  .exterior p {
    width: 100%;
    color: #595757;
    font-weight: 700;
  }
 
 
  .Chiropractic {
    width: 100%; /* 幅を100%に設定 */
    height: 100%; /* 高さをビューポート高さに設定 */
    position: relative; /* 要素の位置を相対位置に設定 */
    background-image: url("../img/Chiropractic.jpg"); /* 背景画像を設定 */
    background-size: cover; /* 背景画像を要素全体にフィットさせる */
    background-position: left; /* 背景画像の位置を中央に設定 */
    object-fit: cover; /* 画像を要素全体にフィットさせる */
  }
  .Chiropractic img {
    width: auto;
    height: 25svh;
    position: absolute;
    top: 50%;
    left: auto;
    right: 5vw;
    transform: translate(0%, -50%);
  }

  .needle {
    width: 100%; /* 幅を100%に設定 */
    height: 100%; /* 高さをビューポート高さに設定 */
    position: relative; /* 要素の位置を相対位置に設定 */
    background-image: url("../img/needle.jpg"); /* 背景画像を設定 */
    background-size: cover; /* 背景画像を要素全体にフィットさせる */
    background-position: left; /* 背景画像の位置を中央に設定 */
    object-fit: cover; /* 画像を要素全体にフィットさせる */
  }
  .needle img {
    width: auto;
    height: 25svh;
    position: absolute;
    top: 50%;
    left: 5vw;
    right: auto;
    transform: translate(0%, -50%);
  }

  @media screen and (min-width:961px) {
    .pcFlex {
      display: flex;
    }

  }

  /* ========================= Menu ========================= */
  section.Menu {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  .flexBox {
    padding-bottom: 50px;
  }
  .between {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
  }

  .menuSubTitle {
    font-size: 15px;
    padding-bottom: 20px;
  }
  .menuSubTitle {
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-style: normal;
  }
  .diagonal-line {
    width:calc(100% + 500px);
    height: auto;
    position: absolute;
    top: auto;
    left: -100px;
    right: auto;
    bottom: -50px;
  }

/* ========================= Reserve ========================= */
 .onlyImg {
    width: 100%;
    height: auto;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
  }

  .onlyText {
    width: 100%;
    text-align: center;
  }
  .onlyText img{
    width: auto;
    height: 30svh;
  }

  
  .onlyMark {
    width: 90vw;
    height: auto;
    position: absolute;
    top: auto;
    left: auto;
    right: -100px;
    bottom: -50px;
    z-index: -9999;
  }

  /* すまほ用マーク */
  @media screen and (min-width:451px)and (max-width:960px) {
    .onlyMark {
      width: 75vw;
      height: auto;
      position: absolute;
      top: auto;
      left: auto;
      right: -100px;
      bottom: -200px;
      z-index: -9999;
    }
  }
  /* PC用マーク */
  @media screen and (min-width:961px) {
    .onlyMark {
      width: 25vw;
      height: auto;
      position: absolute;
      top: auto;
      left: auto;
      right: 30%;
      bottom: -30%;
      z-index: -9999;
    }
  }

  /* タブレット用マーク */
  @media screen and (min-width:1024px)and (max-width:1366px) {
    .onlyMark {
      width: 35vw;
      height: auto;
      position: absolute;
      top: auto;
      left: auto;
      right: 180px;
      bottom: -150px;
      z-index: -9999;
    }
  }

  @media screen and (min-width:540px)and (max-width:720px) {
    .onlyMark {
      width: 70vw;
      height: auto;
      position: absolute;
      top: auto;
      left: auto;
      right: -60px;
      bottom: -100px;
      z-index: -9999;
    }
  }

  @media screen and (min-width:1024px)and (max-width:600px) {
    .onlyMark {
      width: 35vw;
      height: auto;
      position: absolute;
      top: auto;
      left: auto;
      right: -200px;
      bottom: -100px;
      z-index: -9999;
    }
  }


/* ========================= Access ========================= */  
  .map {
    width: 100%;
    height: 45svh;
    padding-bottom: 50px;
  }

  .detail {
    display: table;
    width: 100%;
    height: auto;
    text-align: left;
    font-size: 12px;
  }
  .detail th, .detail td {
    padding-bottom: 1svh;
  }
  .detail th {
    font-weight: normal;
    padding-right: 5vw;
  }


/* ========================= Contact ========================= */  
  .interior {
    text-align: center;
    width: 100%; /* 幅を100%に設定 */
    height: 100%; /* 高さをビューポート高さに設定 */
    position: relative; /* 要素の位置を相対位置に設定 */
    background-image: url("../img/interior01.jpg"); /* 背景画像を設定 */
    background-size: cover; /* 背景画像を要素全体にフィットさせる */
    background-position: center; /* 背景画像の位置を中央に設定 */
    object-fit: cover; /* 画像を要素全体にフィットさせる */
    color: #FFF;
  }
  .interior::before {
    content: "";
    position: absolute;
    top: 0;  bottom: 0;
    left: 0;  right: 0;
    background: #211815;
    opacity:0.5;
  }
  .interiorSize {
    width: 100%;
  }
  .interior p {
    width: 100%;
    padding: 0;
  }
  .interior h2 {
    width: 100%;
    padding: 30px 0px;
    color: #FFF;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
  }


  
/* ========================= 動き ========================= */  

  /* フェードイン前の状態 */
.fadeIn {
  opacity: 0;
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-play-state: paused; /* 最初は停止 */
}

/* フェードインのアニメーション */
@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* フェードアップ前の状態 */
.fadeUp {
  opacity: 0;
  transform: translateY(30px); /* 少し下にずらす */
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-play-state: paused; /* 最初は停止 */
}

/* 下から上にふわっと表示されるアニメーション */
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(30px); /* 下から */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* 元の位置へ */
  }
}

