@charset "utf-8";

/* 色やテキストの指定
↓
高さと幅、paddingやmargin
↓
その他設定 */

/****** 全体設定 ******/

* {
  font-family: "Noto Sans JP", sans-serif;
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #310a61;
}
img {
  vertical-align: bottom;
  width: 100%;
}

.line {
  border: 2px solid #c6cdd6;
  margin: 5%;
}

html {
  scroll-behavior: smooth;
}

a.anchor {
  display: block;
  padding-top: 13%;
  margin-top: -13%;
}

/****** メディアクエリ設定 ******/

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease 0.4s;
}

@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    width: 70%;
  }
}

@media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}

@media screen and (min-width: 960px) {
  .nav-items {
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}

/* ナビのリンク */
.nav-items__item a {
  color: #310a61;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 1em;
  padding: 10%;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}

/* ハンバーガーメニュー */

.header__hamburger {
  width: 8%;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1%;
  background-color: #310a61;
  position: relative;
  transition: ease 0.4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

/****** スクロールしてheaderの色が変化するコード ******/

#header {
  background-color: white;
  transition: all 0.5s;
}
#header.after {
  background-color: #c6cdd6;
  transition: all 0.5s;
}

/****** header ******/

.header {
  background-color: #c6cdd6;
  width: 100%;
  height: 21%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  margin: 3.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
}

/* ヘッダーのロゴ部分 */
.header__title {
  width: 11%;
}

/****** main ******/
/****** 全体設定 ******/

.mainWrap {
  width: 100%;
}

/****** hero画像 ******/

h2 {
  font-size: 2em;
  color: #ee1e7e;
  margin: 5% auto;
}

.heroImg {
  width: 100%;
  margin-top: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heroLeftBox {
  width: 100%;
}
.heroRightBox {
  width: 100%;
  margin: 0 auto;
}
.heroLogo {
  width: 30%;
}
.box01 {
  display: flex;
  align-items: center;
  margin: 5%;
}
.heroRightBox h2 {
  color: #ee1e7e;
}

.heroRightBox p {
  margin: 3% 15%;
  text-align: left;
}

.rightboxText {
  width: 90%;
  margin: 0 auto;
}

/****** about設定 ******/

h3 {
  font-size: 1.5em;
  color: #ee1e7e;
  margin: 5% auto;
}

.fadeIn {
  opacity: 0;
}
.fadeIn.active {
  opacity: 1;
  animation: fadeIn 2s;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateX(100px);
    transition-duration: 1s;
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
    transition-duration: 1s;
  }
}

.mainAbout,
.mainStylist,
.mainAccess,
.mainReservation {
  padding: 3%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mainText {
  width: 70%;
  padding: 30px;
  line-height: 220%;
}

.aboutImage {
  border: 1px dotted;
  width: 70%;
  object-fit: cover;
}

/****** aside ******/
.asideContainer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 10%;
  width: 80%;
  margin: 0 auto;
}
aside h3 {
  text-align: center;
}

/****** footer ******/
footer {
  text-align: center;
  color: white;
  background-color: #c6cdd6;
  margin: 5% auto 0;
  padding: 3%;
}

footer p {
  font-size: 1.5em;
}

@media screen and (max-width: 960px) {
  .header__inner {
    margin: 9%;
  }

  .header__title {
    width: 30%;
  }

  .heroImg {
    flex-direction: column;
  }
  .heroRightBox {
    flex-direction: column;
    margin-top: 5%;
  }
  .mainAbout,
  .mainStylist,
  .mainAccess,
  .mainReservation {
    flex-direction: column;
    width: 140%;
    margin: 0 auto;
  }

  .mainWrap {
    width: 70%;
    margin: 0 auto;
  }

  .asideContainer{
    flex-direction: column;
  }

  .asideContainer .box{
    margin-bottom: 10%;
  }
}
