@charset "utf-8";

/*注意：PCから記述*/
/*========= ぼかしのためのCSS ===============*/
.mainblur {
  filter: blur(8px);
}

.modaal-noscroll main#flow {
  filter: blur(8px);
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  cursor: pointer;
  width: 33px;
  height: 22px;
  position: fixed;
  top: 50px;
  right: 30px;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.openbtn1::after {
  width: 33px;
  display: block;
  content: "MENU";
  position: absolute;
  font-size: 10px;
  font-family: var(--sub-font);
  letter-spacing: 0.15em;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: #666;
}

.openbtn1 span:nth-of-type(1) {
  top: 0;
}

.openbtn1 span:nth-of-type(2) {
  top: 7px;
}

.openbtn1.active span:nth-of-type(1) {
  top: -2px;
  transform: translateY(6px) rotate(-20deg);
}

.openbtn1.active span:nth-of-type(2) {
  top: 10px;
  transform: translateY(-6px) rotate(20deg);
}

.openbtn1.active::after {
  width: 31px;
  content: "CLOSE";
  letter-spacing: 0.05em;
}

@media screen and (max-width: 1000px) {
  .openbtn1 {
    top: 50px;
    right: 5px;
  }
}

/*========= レイアウトのためのCSS ===============*/
header a,
nav a,
.pcNav a {
  color: var(--text-color);
  transition: .5s;
}

header a:hover,
nav a:hover,
.pcNav a:hover {
  opacity: 0.6;
}

header {
  width: 100%;
  position: fixed;
  left: 0;
  z-index: 1000;
}

header h1 {
  width: fit-content;
  position: fixed;
  top: 40px;
  left: 50px;
  z-index: 1000;
}

header h1 img {
  display: block;
  width: 90px;
  height: 110px;
}

a.webBtn {
  display: none;
}

@media screen and (max-width: 1000px) {
  header h1 {
    top: 20px;
    left: 20px;
  }

  header h1 img {
    width: 60px;
    height: 60px;
  }

  a.webBtn {
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 13px;
    font-family: "Noto Serif JP";
    position: fixed;
    top: 33px;
    right: 70px;
    z-index: 100;
  }

  a.webBtn::before {
    display: block;
    content: "";
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--text-color);
    margin: 0 5px 0 0;
  }
}

/*========= ナビゲーションの中身 ===============*/
.headNav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 2%);
  height: calc(100vh - 2%);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  transition: all 0.5s;
}

.panelactive .headNav {
  z-index: 999;
  opacity: 1;
}

.headNav .tel {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-family: var(--sub-font);
  letter-spacing: 0.05em;
  color: var(--text-color);
  position: absolute;
  top: 28px;
  right: 100px;
}

.headNav .tel::before {
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  background: center / contain no-repeat url("../img/icon_tel02.svg");
  margin: 0 4px 0 0;
}

@media screen and (max-width: 1000px) {
  .headNav .tel {
    font-size: 15px;
    top: 30px;
    right: 70px;
  }
}

/*左下*/
.headNav .hdaccess {
  width: fit-content;
  position: absolute;
  bottom: 40px;
  left: 40px;
}

.headNav .hdaccess p:nth-child(1) {
  font-size: 20px;
  font-family: var(--main-font);
  margin: 0 0 5px;
}

.headNav .hdaccess p:nth-child(2) {
  font-size: 13px;
  font-family: var(--sub-font);
  line-height: 1.3;
  margin: 0 0 5px;
}

.headNav .hdaccess a {
  font-size: 12px;
  font-family: var(--sub-font);
  text-decoration: underline;
}

/*右下*/
.navLast {
  width: fit-content;
  position: absolute;
  bottom: 40px;
  right: 40px;
}

.navLast a, .navLast a img {
  width: 280px;
  height: 40px;
}

.navLast li:nth-child(1) {
  margin: 0 0 10px;
}

.navLast a.btnHD {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 280px;
  border: 1px solid #000;
  background: none;
}

.navLast a.btnHD p {
  width: fit-content;
  font-family: "Noto Serif JP";
  color: #000;
}

.navLast a.btnHD::before {
  display: block;
  content: "";
  width: 15px;
  height: 12px;
  background: center / contain no-repeat url("../img/icon_mail02.svg");
  margin: 0 5px 0 0;
  position: relative;
  transform: scale(1, 1);
}

.navLast a.btnHD::after {
  display: block;
  content: "";
  width: 6px;
  height: 6px;
  border-top: none;
  border-left: none;
  border-right: solid 1px #000;
  border-bottom: solid 1px #000;
  transform: rotate(-45deg);
  margin: 0 0 0 5px;
  top: calc(50% - 2px);
}

/*中央ナビ*/
.mainNav.flex {
  width: 616px;
  align-items: flex-start;
}

.mainNav a {
  font-family: "Noto Serif JP";
  line-height: 1;
  letter-spacing: 0.1em;
}

.mainNav ul {
  width: 800px;
  margin: 0 auto;
}

.mainNav ul li {
  width: 25%;
  margin: 0 0 40px;
}

.mainNav ul li:nth-child(2),
.mainNav ul li:nth-child(6) {
  width: 17%;
}

.mainNav ul li:nth-child(4),
.mainNav ul li:nth-child(8) {
  width: 15%;
  margin: 0 0 50px;
}

.mainNav ul li.other {
  width: 100%;
  margin: 0;
}

.mainNav ul li.other span {
  align-items: center;
  font-size: 16px;
  padding: 0 5px;
  margin: 0 0 10px;
}

.mainNav ul li a {
  width: fit-content;
  display: flex;
  align-items: center;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}

.mainNav ul .child {
  width: fit-content;
  display: flex;
  align-items: center;
  font-size: 13px;
  margin: 0 0 10px 10px;
}

@media screen and (max-width: 1000px) {
  .mainNav ul .child {
    display: none;
  }
}

.mainNav ul .parent::before {
  display: block;
  content: "";
  width: 5px;
  height: 5px;
  border-right: solid 1px var(--main-color);
  border-bottom: solid 1px var(--main-color);
  transform: rotate(-45deg);
  margin: 0 5px 0 0;
}

.mainNav ul .child::before {
  display: block;
  content: "";
  width: 5px;
  height: 1px;
  border-bottom: solid 1px var(--text-color);
  margin: 0 5px 0 0;
}

.headNav .sns {
  display: none;
}

@media screen and (max-width: 1000px) {
  .headNav {
    height: calc(100vh - 10px);
    top: 5px;
    transform: translate(-50%, 0);
    padding: 130px 0 130px;
    align-items: flex-start;
    align-content: baseline;
    flex-wrap: wrap;
    overflow: scroll;
  }

  .mainNav ul {
    width: 250px;
  }

  .mainNav ul li {
    width: 100%;
    margin: 0 0 25px;
  }

  .mainNav ul li:nth-child(2),
  .mainNav ul li:nth-child(6),
  .mainNav ul li:nth-child(4) {
    width: 100%;
    margin: 0 0 25px;
  }

  .mainNav ul li:nth-child(8) {
    display: none;
  }

  .navLast {
    width: fit-content;
    position: relative;
    bottom: auto;
    right: 0;
    margin: 30px 0 30px;
  }

  .navLast li:nth-child(1) {
    margin: 0 0 20px;
  }

  .headNav .hdaccess {
    display: none;
  }

  .headNav .sns {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: var(--main-font);
    margin: 0 auto;
  }

  .headNav .sns::after {
    display: block;
    content: "";
    width: 15px;
    height: 15px;
    background: center / contain no-repeat url("../img/icon_instafram.svg");
    margin: 0 0 0 5px;
  }
}

/*========= PCのみ表示 ===============*/
.pcNav {
  width: fit-content;
  position: fixed;
  top: 40px;
  right: 100px;
  z-index: 100;
}

.panelactive .pcNav {}

.pcNav li {
  width: fit-content;
}

.pcNav li a {
  display: block;
  width: fit-content;
  font-size: 13px;
  padding: 0 15px;
}

.pcNav li a img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.top .pcNav li:nth-child(1) a,
.about .pcNav li:nth-child(2) a,
.information .pcNav li:nth-child(3) a,
.myofascial .pcNav li:nth-child(4) a,
.menu .pcNav li:nth-child(5) a,
.flow .pcNav li:nth-child(6) a,
.voice .pcNav li:nth-child(7) a {
  color: var(--main-color);
}

.contact .pcNav li:nth-child(8) {
  position: relative;
}

.contact .pcNav li:nth-child(8) img {
  opacity: 0;
}

.contact .pcNav li:nth-child(8)::before {
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.contact .pcNav li:nth-child(8)::after {
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  background: center / contain no-repeat url("../img/icon_mail.svg");
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

@media screen and (max-width: 1000px) {
  .pcNav {
    display: none;
  }
}

/*==================================================================================*/
/*========= モーダル表示のためのCSS ===============*/
/*全て共通：hideエリアをはじめは非表示*/
.hide-area {
  display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after,
.modaal-close:before {
  background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
  background: #666;
}
