/*********************************
pc
*********************************/

body {
  position: relative;
  font-size: 16px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  color: #595757;
}
.eb-garamond {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12.5%;
  height: 100vh;
  border-right: solid 1px #f0edea;
  z-index: 2000;
}
.header .header__logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 70%;
}
.header .header__logo p {
  font-size: 8px;
  line-height: 2;
  text-align: center;
}
.header .header__logo p span {
  display: inline-block;
}
.header .header__nav-btn {
  position: absolute;
  bottom: 80px;
  height: 16px;
  width: min(80px, 70%);
  cursor: pointer;
}
.header .header__nav-btn::before,
.header .header__nav-btn::after {
  position: absolute;
  content: "";
  height: 0.5px;
  width: 100%;
  display: block;
  background: #595757;
  transition: all 0.3s;
}
.header .header__nav-btn::before {
  top: 0;
}
.header .header__nav-btn::after {
  bottom: 0;
}
.header .header__nav-btn.active::before {
  top: 8px;
}
.header .header__nav-btn.active::after {
  bottom: 8px;
}
.header .header__nav-area {
  position: fixed;
  top: 0;
  left: 12.3vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 82.5vw;
  height: 100vh;
  background: #fff;
  padding-left: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
}
.header .header__nav-area.active {
  visibility: visible;
  opacity: 1;
  z-index: 1000;
  pointer-events: inherit;
}
.header .header__nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.header .header__nav-menu .instagram a {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.header .header__nav-menu .instagram a::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: top / cover no-repeat
    url(/wp/wp-content/themes/kouhouan/assets/images/common/ico_instagram.svg);
}
.header .header__nav-area picture {
  width: 50%;
  height: 100%;
}
.header .header__nav-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fixed-contact {
  position: fixed;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5%;
  height: 100vh;
  color: #fff;
  background: #595757;
  border-left: solid 1px #f0edea;
  z-index: 2500;
}
.fixed-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  writing-mode: vertical-lr;
  letter-spacing: 0.4em;
}
main,
footer {
  width: 82.5%;
  margin-left: 12.5%;
  margin-right: 5%;
}
.sns-link {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background: top / cover no-repeat
    url(/wp/wp-content/themes/kouhouan/assets/images/common/footer_bg.jpg);
  padding: 56px 4%;
}
.footer .footer__inner {
  width: 20%;
}
.footer .footer__logo {
  display: block;
  width: 120px;
  margin-bottom: 16px;
}
.footer address {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 24px;
}
.footer address span {
  display: inline-block;
}
.footer .footer__nav-menu {
  width: 78%;
}
.footer .footer__nav-menu ul {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 3%;
  row-gap: 24px;
}
.footer small {
  position: absolute;
  right: 5%;
  bottom: 56px;
  font-size: 10px;
}

/*********************************
tab
*********************************/

@media (max-width: 1024px) {
  .header {
    width: 100%;
    height: 72px;
    justify-content: space-between;
    background: #fff;
    padding: 0 4%;
    border-right: none;
    border-bottom: solid 1px #f0edea;
  }
  .header .header__logo {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: auto;
  }
  .header .header__logo img {
    height: 40px;
  }
  .header .header__logo p {
    text-align: left;
  }
  .header .header__nav-btn {
    position: relative;
    bottom: auto;
  }
  .header .header__nav-area {
    left: 0;
    top: 72px;
    width: 100%;
    height: calc(100vh - 144px);
  }
  .fixed-contact {
    bottom: 0;
    width: 100%;
    height: 72px;
    border-left: none;
    border-top: solid 1px #f0edea;
  }
  .fixed-contact a {
    writing-mode: initial;
  }
  main,
  footer {
    width: 100%;
    margin: 0;
  }
  .footer {
    margin-bottom: 72px;
  }
}

@media (max-width: 500px) {
  .header {
    height: 64px;
  }
  .header .header__logo img {
    height: 24px;
  }
  .header .header__nav-btn {
    width: 32px;
  }
  .header .header__nav-btn::before {
    top: 4px;
  }
  .header .header__nav-btn::after {
    bottom: 4px;
  }
  .header .header__nav-area {
    flex-direction: column;
    align-items: start;
    gap: 40px;
    left: 0;
    top: 64px;
    width: 100%;
    height: calc(100vh - 128px);
    padding-left: 0;
    padding-top: 40px;
  }
  .header .header__nav-menu {
    padding-left: 16px;
  }
  .header .header__nav-menu ul {
    font-size: 14px;
    gap: 24px;
  }
  .header .header__nav-area picture {
    width: 100%;
  }
  .fixed-contact {
    height: 64px;
  }
  .sns-link {
    height: 12px;
  }
  .footer {
    flex-direction: column-reverse;
    padding: 40px 4% 16px;
    margin-bottom: 64px;
  }
  .footer .footer__inner {
    width: 100%;
    padding-top: 40px;
    margin-bottom: 40px;
    order: 2;
  }
  .footer .footer__nav-menu {
    width: 100%;
    padding-bottom: 40px;
    border-bottom: solid 0.5px;
    order: 3;
  }
  .footer .footer__nav-menu ul {
    flex-direction: column;
  }
  .footer .footer__logo {
    margin: 0 auto 16px;
  }
  .footer address {
    font-size: 12px;
    text-align: center;
  }
  .footer .sns-link {
    justify-content: center;
  }
  .footer small {
    position: initial;
    text-align: center;
    order: 1;
  }
}

.page-head {
  margin-bottom: 120px;
  position: relative;
}

.page-head .page-head__title--ja {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: absolute;
  left: 24px;
  bottom: 14px;
}

@media (max-width: 1024px) {
  .page-head {
    margin-bottom: 80px;
    position: relative;
  }

  .page-head img {
    width: 320px;
  }

  .page-head .page-head__title--ja {
    font-size: 28px;
    left: 16px;
    bottom: 4px;
  }
}

@media (max-width: 500px) {
  .page-head {
    margin-bottom: 56px;
    position: relative;
  }

  .page-head img {
    width: 240px;
  }

  .page-head .page-head__title--ja {
    font-size: 24px;
    left: 16px;
    bottom: 4px;
  }
}
