/* 作成者名：KOTARO SATO  */
@charset "utf-8";

:root {
  /* 使用カラー */
  --main-color: #EF857D;
  --sub-color: #FFFEE5;
  --sub-color2: #CECECE;
  --accent-color: #7AC5D7;
  --font-color: #333333;
  --white: #FFFFFF;

  /* 使用フォント */
  --ZenMaru: "Zen Maru Gothic", sans-serif;
}

.header-inner {
  display: flex;
  /* margin-top: 18.2rem; */
  /* margin-left: 26.93rem; */
  align-items: center;
  /* margin-right: 21.5rem; */
  /* margin-bottom: 18.2rem; */
  min-height: 100%;
  padding: 18.2rem 21.5rem 18.2rem 26.93rem;
}

.header-nav {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 100;
  background-color: var(--white);
  list-style: none;
  display: none;
  top: 0;
}

.header-logo {
  width: 24.67rem;
  height: 18.799rem;
  object-fit: cover;
}

.header-nav-list {
  margin-left: 12.4rem;
}

.header-nav-list-item {
  margin-bottom: 1.3rem;
}

.header-nav-list-item:last-child {
  margin-bottom: 0;
}

.nav-link {
  font-family: var(--ZenMaru);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--font-color);
  margin-bottom: 1.3rem;
}

.header-right-area {
  margin-left: 10rem;
}

.header-right-list {
  margin-bottom: 3.044rem;
}

.header-right-btn {
  display: block;
  font-family: var(--ZenMaru);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--white);
  background-color: var(--main-color);
  border-radius: 5.4rem;
  text-align: center;
  line-height: 4.4rem;
  width: 29.2rem;
  height: 4.4rem;
  margin-bottom: 1rem;
  position: relative;
}

.arrow-icon {
  width: .8rem;
  height: .9rem;
  position: absolute;
  top: 1.75rem;
  right: 1.888rem;
}

.header-right-sns {
  display: flex;
  margin-bottom: 1.542rem;
  justify-content: center;
}

.sns-text {
  font-family: var(--ZenMaru);
  font-size: 1.6rem;
  color: var(--main-color);
  font-weight: bold;
  letter-spacing: calc(0.48em / 16);
  margin-right: 1.95rem;
}

.sns-icon {
  width: 2.726rem;
  height: 2.726rem;
  object-fit: cover;
  margin-right: .757rem;
}

.header-right-info {
  display: flex;
  justify-content: center;
}

.info-text {
  font-family: var(--ZenMaru);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--font-color);
  margin-right: 1.2rem;
}

.hamburger {
  position: fixed;
  top: 2.25rem;
  right: 2.6rem;
  cursor: pointer;
  width: 2.9rem;
  height: 3.5rem;
  z-index: 101;
}

.hamburger-text {
  position: absolute;
  top: 1.9rem;
  left: 0.1rem;
  font-family: var(--ZenMaru);
  font-weight: bold;
  color: var(--main-color);
  font-size: 1.2rem;
}

.hamburger span {
  /*3本の線を作る*/
  transition: all .3s;
  position: absolute;
  height: .2rem;
  background-color: var(--main-color);
  width: 100%;
  z-index: 10;
}

.hamburger span:nth-of-type(1) {
  /*上の線の位置*/
  top: 0rem;
}

.hamburger span:nth-of-type(2) {
  /*真ん中の線の位置*/
  top: 0.7rem;
}

.hamburger span:nth-of-type(3) {
  /*下の線の位置*/
  top: 1.4rem;
}

.hamburger.open span:nth-of-type(1) {
  /*openのとき、上の線を右斜めにする*/
  top: 0.6rem;
  transform: translateY(.6rem) rotate(-47deg);
}

.hamburger.open span:nth-of-type(2) {
  /*真ん中の線を消す*/
  opacity: 0;
}

.hamburger.open span:nth-of-type(3) {
  /*下の線を左斜めにする*/
  top: 1.8rem;
  transform: translateY(-0.6rem) rotate(45deg);
}

@media screen and (max-width: 699.98px) {
  .header-inner {
    flex-direction: column;
    margin-top: 10rem;
    margin-left: 0;
    padding: 0;
  }

  .header-logo {
    display: none;
  }

  .header-nav-list {
    margin-left: 0;
    padding: 0;
    text-align: center;
  }

  .header-nav-list-item:last-child {
    margin-bottom: 3.399rem;
  }

  .header-right-area {
    margin-left: 0;
    text-align: center;
  }

  .header-right-btn {
    width: 20rem;
    margin: 0 auto 1rem auto;
  }

  .hamburger {
    right: 4.5rem;
    top: 1rem;
    width: 2.4rem;
  }

  .hamburger-text {
    top: 1.9rem;
    left: 0rem;
  }

  .hamburger span:nth-of-type(1){
    top: 0.4rem;
  }

  .hamburger span:nth-of-type(2){
    top: 1rem;
  }

  .hamburger span:nth-of-type(3){
    top: 1.6rem;
  }

  .hamburger-text{
    top: 1.9rem;
    font-size: 1rem;
  }

}