@import "https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap";

:root {
  --color-bg: #fffcf7;
  --color-text: #1a1819;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
}

h1,
h2,
h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: normal;
  line-height: 1;
}

h2 {
  font-size: 3rem;
}

p {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  line-height: 2;
  color: var(--color-text);
}

span {
  display: inline-block;
}

.no-scroll {
  overflow: hidden;
}

/* フェードインアニメーション */
.fade-in {
  transition: all 0.5s ease-in-out 0.2s;
}

.hidden {
  opacity: 0;
  transform: translateY(16px);
}

.sp-only {
  display: none !important;
}

@media (width <= 768px) {
  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 0.8rem;
  }

  .sp-only {
    display: initial !important;
  }

  .pc-only {
    display: none !important;
  }
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background-color: var(--color-bg);
}

.header.open .header__hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(15deg);
}

.header.open .header__hamburger span:nth-child(2) {
  transform: translateY(-8px) rotate(-15deg);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  padding: 8px 32px;
  margin: 0 auto;
}

.header__menu {
  display: flex;
  gap: 3rem;
  align-items: center;
  color: black;
}

.header__logo {
  position: relative;
  z-index: 1;
  width: 48px;
}

.header__menu.sp-only {
  position: fixed;
  top: 0;
  left: 0;
  display: flex !important;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  padding: 30% 20%;
  background-color: #bacad3;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
}

.header__menu.sp-only .list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: "Shippori Mincho", serif;
  color: #fff;
}

.open .header__menu.sp-only {
  transform: translateX(0);
}

@media (width <= 768px) {
  .header {
    background-color: transparent;
  }

  .header__container {
    padding: 5%;
  }

  .header__menu {
    display: none;
  }

  .header__logo {
    width: 40px;
  }

  .header__hamburger {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background-color: transparent;
    border: none;
  }

  .header__hamburger span {
    width: 100%;
    border-bottom: 1px solid #1a1819;
    transition: all 0.3s ease-in-out;
  }
}

/* フッター */
footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer__sitemap {
  width: 100%;
  background-color: #bacad3;
}

.sitemap__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 32px;
  color: #fff;
}

.footer__sitemap .sitemap__inner .list {
  display: flex;
  justify-content: space-around;
  max-width: 960px;
  margin: 0 auto;
}

.sitemap__inner hr {
  border-top: 1px solid #fff;
}

.footer__info {
  display: flex;
  gap: 48px;
  align-items: center;
}

.footer__info img {
  width: 48px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact p {
  line-height: 1;
}

@media (width <= 768px) {
  footer {
    padding: 32px 32px 16px;
    background-color: #bacad3;
  }

  .sitemap__inner {
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    padding: 0;
  }

  .sitemap__inner .list {
    flex-direction: column;
    gap: 1rem;
    font-family: "Shippori Mincho", serif;
  }

  .footer__info {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .footer__contact p {
    color: #fff;
  }
}
