@import url("https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=M+PLUS+1p:wght@400;500;700;800&family=Noto+Sans+JP:wght@100..900&display=swap");

:root {
  /* 色一覧 */
  --color-white: #ffffff;
  --color-black: #333333;
  --color-gray: #848484;
  --color-gray-light: #e2e2e2;
  --color-pink-light: #f3d7ca;
  --color-pink-medium: #ce8885;
  --color-pink-deep: #c47474;
  --color-yellow-light: #fff8e3;
  --color-green-light: #6bb700;
  --color-green-deep: #4d8f8f;

  /* フォント一覧 */
  --font-noto-sans: YakuHanJP, "Noto Sans JP", sans-serif;
  --font-m-plus: YakuHanJP, "M PLUS 1p", sans-serif;
  --font-istok-web: YakuHanJP, "Istok Web", sans-serif;
}

/* フォントの設定
------------------------------------------ */

/* 13.2px */
html {
  font-size: 82.5%;
  font-family: var(--font-noto-sans);
  font-style: normal;
  font-weight: 400;
  width: 100%;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

iframe {
  scrollbar-width: thin;
}

/* 14px */
@media screen and (min-width: 768px) {
  html {
    font-size: 87.5%;
  }
}

/* 16px */
@media screen and (min-width: 1024px) {
  html {
    font-size: 100%;
  }
}

body {
  background-color: var(--color-yellow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
ul,
li,
button,
small,
time {
  letter-spacing: 0.1em;
  color: var(--color-black);
}

/* ヘッダー
------------------------------------------ */
.c-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.c-header__logo {
  display: flex;
  align-items: center;
}

.c-header__nav {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.c-header__list {
  display: none;
  gap: 3rem;
}

.c-header__link {
  color: var(--color-pink-deep);
  font-family: var(--font-istok-web);
  font-weight: bold;
  font-size: 1.25rem;
}

/* ハンバーガーメニュー
------------------------------------------ */
.btn-trigger {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--color-pink-deep);
  cursor: pointer;
  z-index: 30;
}

.btn-trigger span {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  transform-origin: center;
}

.btn-trigger span:nth-child(1) {
  top: 14px;
}

.btn-trigger span:nth-child(2) {
  top: 22px;
}

.btn-trigger span:nth-child(3) {
  top: 30px;
}

.btn-trigger,
.btn-trigger span {
  display: inline-block;
  transition: all 0.5s;
  box-sizing: border-box;
}

#btn01.active {
  background-color: var(--color-white);
}

#btn01.active > span {
  background-color: var(--color-pink-deep);
}

#btn01.active span:nth-of-type(1) {
  transform: translateX(-50%) translateY(8.2px) rotate(-45deg);
}

#btn01.active span:nth-of-type(2) {
  opacity: 0;
}

#btn01.active span:nth-of-type(3) {
  transform: translateX(-50%) translateY(-8.2px) rotate(45deg);
}

/* オーバーレイメニュー */
.c-overlay-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  background-color: rgba(196, 116, 116, 0.95);
  opacity: 0.9;
  display: flex;
  justify-content: flex-start;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.c-overlay-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  padding-top: 2.6rem;
  padding-left: 3rem;
  margin: 0;
  text-align: center;
}

.c-overlay-link {
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.c-overlay-link:hover {
  opacity: 0.8;
}

.c-overlay-link > span {
  font-family: var(--font-istok-web);
  font-weight: 700;
  font-size: 1.84rem;
}

.c-overlay-link > span:nth-child(2) {
  font-size: 1rem;
  font-family: var(--font-m-plus);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: -0.4rem;
}

.c-overlay-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.c-overlay-link.is-current {
  color: var(--color-white);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-white);
}

.c-overlay-link.is-current span:nth-child(2) {
  color: var(--color-white);
}

/* フッター */
.c-footer {
  width: 100%;
  margin-top: 11.2rem;
  text-align: center;
}

.c-other {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.c-copyright {
  width: 100%;
  margin-top: 1.3rem;
  padding: 1.3rem 0;
  background-color: var(--color-pink-deep);
}

.c-copyright small {
  font-family: var(--font-istok-web);
  color: var(--color-white);
  font-size: 1.15rem;
}

/* 各ページのトップ画像 */
.l-top-title {
  width: 100%;
  height: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.l-top-title.u-menu {
  /* background-image: url(../public/menu/menu_new.webp); */
  background-image: url(../public/menu/menu.webp);
}

.l-top-title.u-news {
  /* background-image: url(../public/news/news.webp); */
  background-image: url(../public/news/news_new.webp);
}

.l-top-title.u-contact {
  background-image: url(../public/contact/contact.webp);
}

.l-top-title.u-privacy {
  background-image: url(../public/privacy/privacy.webp);
}

.l-top-title.u-sitemap {
  background-image: url(../public/sitemap/sitemap.webp);
}

.c-top-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 2.4rem;
  border-radius: 24px;
  background-color: var(--color-white);
}

.c-top-title > h1 {
  font-size: 2rem;
  font-family: var(--font-istok-web);
  font-weight: 700;
  color: var(--color-pink-deep);
}

.c-top-title > p {
  margin-top: -0.6rem;
  font-size: 1.1rem;
  font-family: var(--font-m-plus);
  font-weight: 800;
  color: var(--color-pink-deep);
}

/*-------------------------
  タブレット
-------------------------*/
@media screen and (min-width: 768px) {
  .header {
    padding: 1.5rem 3rem;
  }

  .header__list {
    display: flex;
  }

  .btn-trigger span:nth-child(1) {
    top: 16px;
  }

  .btn-trigger span:nth-child(2) {
    top: 24px;
  }

  .btn-trigger span:nth-child(3) {
    top: 32px;
  }

  /* オーバーレイメニュー */
  .c-overlay-menu {
    left: auto;
    width: 36vw;
    max-width: 560px;
    right: 0;
  }

  .c-overlay-list {
    padding-top: 1rem;
  }

  /* フッター */
  .c-other > a {
    font-size: 1.1rem;
  }

  /* 各ページのトップ画像 */
  .l-top-title {
    height: 28rem;
  }

  .c-top-title {
    padding: 1.5rem 3rem;
  }

  .c-top-title > h1 {
    font-size: 3.2rem;
  }

  .c-top-title > p {
    margin-top: 0;
    font-size: 1.5rem;
  }
}

/*-------------------------
  PC
-------------------------*/
@media screen and (min-width: 1024px) {
  .l-top-title.u-menu {
    background-image: url(../public/menu/menu_pc.webp);
  }

  .btn-trigger span:nth-child(1) {
    top: 20px;
  }

  .btn-trigger span:nth-child(2) {
    top: 28px;
  }

  .btn-trigger span:nth-child(3) {
    top: 36px;
  }

  /* 各ページのトップ画像 */
  .l-top-title {
    height: 40rem;
  }

  .c-top-title > h1 {
    font-size: 4.3rem;
  }

  .c-top-title > p {
    font-size: 1.5rem;
  }
}
