@charset "utf-8";

/* *****************************
common（共通設定）
***************************** */
:root {
  /* 色 */
  --primary-white: #ffffff;
  --primary-font: #545454;
  --primary-creamYellow: #fffaf0;
  --primary-lightPink: #f8cdc9;
  --primary-darkPink: #d97f77;
  --primary-brown: #bf7c40;
  --primary-lightGray: #d8d8d8;
  --primary-gray: #9e9e9e;
}

html {
  font-size: 62.5%; /* デフォルトのサイズが16px */
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
  color: var(--primary-font, #545454);
  line-height: 2;
}

/* 背景画像 */
.container {
  background-image: url(../images/0_common/bg_sp.webp);
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 60px;
}

/* 画像の伸縮設定 */
img {
  max-width: 100%;
  height: auto;
}

/* 見出しタグ：フォント */
h1,
h2 {
  font-size: 2.8rem;
  line-height: 1.4;
  font-weight: 600;
}

h1 {
  text-align: center;
}

h3 {
  font-size: clamp(16px, 5.33vw, 24px);
  font-weight: 600;
  line-height: 1.8;
}

/* 本文 */
p,
a,
span {
  font-size: clamp(12px, 4.2667vw, 20px);
}

.sub_txt {
  font-size: 1.4rem;
  line-height: 2;
}

/* main */
.main {
  margin-top: 40px;
}

/* header */
.header {
  padding: 0px 2.5% 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  vertical-align: top;
  /* 固定する */
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 100;
  background-image: url(../images/0_common/header_bg_sp.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  gap: 48vw;
}

.header__logo_image {
  width: 130px;
  margin-top: 10px;
}

/* フェードイン */
/* フェードインする前には隠しておく*/
.fadeIn {
  opacity: 0; /* 透明にして隠す */
  transition: opacity 1.2s ease-in-out;
}
/* 隠していた状態のものを見えるようにする */
.fadeIn.animated {
  opacity: 1;
}

/* PC用の改行は非表示 */
.pcBr {
  display: none;
}

/* ヘッダー制御 */
@media screen and (max-width: 375px) {
  .header {
    padding: 0 15px 10px; /* % → px に変更し、小数点誤差回避 */
  }

  .header__logo_image {
    width: 34vw; /* 例: 353pxの時 約120px */
    max-width: 130px;
  }
}

/* ------------------------
      common pc
    ------------------------ */
@media screen and (min-width: 840px) {
  /* 背景画像 */
  .container {
    background-image: url(../images/0_common/bg_pc.webp);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 122px;
  }

  /* 見出しタグ：フォント */
  h1,
  h2 {
    font-size: clamp(16px, 2.5vw, 48px);
    line-height: 1.4;
    font-weight: 600;
  }

  h3 {
    font-size: clamp(18px, 1.94vw, 36px);
    font-weight: 600;
    line-height: 1;
  }

  p,
  a,
  span {
    font-size: clamp(14px, 1.11vw, 24px);
  }

  /* main */
  .main {
    text-align: center;
  }

  /* header */
  .header {
    padding: 0px 9.7% 20px;
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .header__logo_image {
    width: clamp(148px, 15.69vw, 300px);
    margin-top: 20px;
  }

  .spBr {
    display: none;
  }

  .pcBr {
    display: block;
  }
}
/* pc 840 */

/*  ===============================
    ナビゲーション
    =============================== */
.nav {
  background-image: url(../images/0_common/menu_bg_sp.webp);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translateX(-100%);
  transition: all 0.7s; /* 切り替わる速度 */
}
/* アニメーション */
.nav.active {
  transform: translateX(0);
}

nav.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__list {
  text-align: center;
  margin-top: 155px;
}

.nav__item {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.8;
  margin-top: 20px;
}

.nav__item:first-of-type {
  margin-top: 0; /* 一番上の項目だけ上の余白を削除 */
}

/* お問い合わせアイコン */
.nav__contact {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin: 60px 0 0;
  gap: 50px;
}
/* メールアイコンの上の余白を削除 */
.nav__contact-link--mail {
  display: block; /* ベースラインの問題を解消 */
  margin: 0;
  padding: 0;
  line-height: 1; /* 行の高さをリセットして、さらに隙間を詰める */
}

/* ハンバーガーボタン */
.header__btn {
  display: block;
  cursor: pointer; /* クリック可能 */
  width: 30px;
  height: 14px;
  position: relative;
  z-index: 999;
}

/* 三本線 */
.header__btn-line {
  position: absolute;
  background-color: var(--primary-font);
  border-radius: 100px;
  display: block;
  width: 30px;
  height: 3px;
  top: 11px;
  left: 0;
  transition: all 0.4s;
}

/* 三本線の一番上の線 */
.header__btn .header__btn-line:first-child {
  width: 23px;
  top: 0;
}

/* 三本線の一番下の線 */
.header__btn .header__btn-line:last-child {
  width: 15px;
  top: 22px;
}

/* Xになるアニメーション */
.header__btn.active .header__btn-line:first-child {
  transform: rotate(45deg);
  width: 30px;
  top: 11px;
  transition-delay: 0.3s;
}

.header__btn.active .header__btn-line:nth-child(2) {
  transform: translateX(10px);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.header__btn.active .header__btn-line:last-child {
  transform: rotate(-45deg);
  width: 30px;
  top: 11px;
  transition-delay: 0.3s;
}

/* ------------------------
      common pc
    ------------------------ */
@media screen and (min-width: 840px) {
  /* ハンバーガーボタンを非表示 */
  .header__btn {
    display: none;
  }

  /* ナビゲーションを戻す */
  .nav {
    background-image: none;
    width: auto;
    height: auto;
    padding: 0;
    position: static; /* ポジションが何も効いていない状態に戻す */
    transform: translate(0); /* 左に移動させない */
  }

  /* ナビゲーションを横並びにする */
  .nav__list {
    display: flex;
    margin-top: 70px;
    padding-top: 0;
  }

  /* お問い合わせアイコンを非表示 */
  .nav__contact {
    display: none;
  }

  /* ナビゲーションのスタイル */
  .nav__item {
    font-size: 1.11vw;
    font-weight: 400;
    line-height: 2;
    margin-left: 25px;
    margin-top: 0; /* スマホ時の設定で上に余白があるので上書き */
  }

  /* カレントページ */
  .nav__item.is-current {
    position: relative;
  }

  .nav__item.is-current a {
    position: relative;
    z-index: 2; /* 疑似要素(0)と親(1)よりも高い値に設定 */
  }

  .nav__item.is-current::before {
    content: "";
    position: absolute;
    z-index: 0; /* 字の後ろに図が来るようにする */
    background-image: url(../images/0_common/menuCurrent.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: auto;
    left: 0; /* 親要素の左端に合わせる */
    right: 0; /* 親要素の右端に合わせる */
    height: 1.8vw;
    top: 10px;
    left: 0;
  }

  /* スマホ時の見出しを非表示 */
  .nav__header {
    display: none;
  }
}
/* pc 840 */

/*  ===============================
    ページタイトル
    =============================== */
.main__header--title {
  display: flex;
  flex-direction: column;
}
.main__header--sub-title {
  color: var(--primary-gray);
}

/* ページタイトルが現れるアニメーション */
/* キーフレームの定義 */
@keyframes fadeInAnimation {
  /* アニメーション開始時（0%）は透明で縮小した状態からスタート */
  from {
    opacity: 0;
  }
  /* アニメーション終了時（100%）は通常の状態（完全に不透明） */
  to {
    opacity: 1;
  }
}
/* 要素へのアニメーション適用 */
.main__header--title {
  animation-name: fadeInAnimation;

  /* 継続時間 */
  animation-duration: 1.5s;

  /* 実行タイミング: ページ読み込み後すぐに開始 */
  animation-delay: 0s;

  /* 繰り返し回数: 1回のみ */
  animation-iteration-count: 1;

  /* 終了時の状態: 最終フレームの状態を保持する */
  animation-fill-mode: forwards;

  /* その他の調整: イージング (緩やかな動き) */
  animation-timing-function: ease-out;
}
/* ------------------------
      common pc
    ------------------------ */
@media screen and (min-width: 769px) {
  .main__header {
    margin-top: 62px;
  }
}
/* pc 840 */

/*  ===============================
    カルチャーセンターページ遷移ボタン
    =============================== */
.toCulturecenterPage {
  text-align: left;
  background-image: url(../images/0_common/toCenterPageBtn_sp.webp);
  background-size: cover;
  width: 89.33vw;
  max-width: 335px;
  margin: 0 auto;
  border-radius: 30px;
}

.toCulturecenterPageBtn {
  color: var(--primary-creamYellow);
  /* アイコンとテキスト（複数行）を垂直方向に揃える */
  display: flex;
  align-items: center; /* 垂直方向中央揃え */
  justify-content: center; /* 水平方向中央揃え*/
  padding: clamp(15px, 5.73vw, 30px);
}

.icon-rose {
  display: inline-block;
  width: clamp(20px, 8vw, 40px);
  height: clamp(20px, 8vw, 40px);
  background-image: url(../images/0_common/icon_rose.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: clamp(10px, 5.33vw, 30px);
}

/* ホバー時の挙動 */
.toCulturecenterPageBtn {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.toCulturecenterPageBtn:hover {
  /* 1.05倍に拡大 */
  transform: scale(1.05);

  /* カーソルをポインターに変える */
  cursor: pointer;
}

/* ------------------------
      common pc
    ------------------------ */
@media screen and (min-width: 840px) {
  .toCulturecenterPage {
    max-width: 560px;
  }
  .toCulturecenterPageBtn {
    padding: 100px;
    font-size: 2.8rem;
    line-height: 1.4;
    font-weight: 400;
  }

  .icon-rose {
    display: inline-block;
    width: 41px;
    height: 41px;
    background-image: url(../images/0_common/icon_rose.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 20px;
  }
}
/* pc 840 */

/*  ===============================
    externalLinksBtn
    =============================== */
.externalLinksBtn {
  display: inline-flex; /* テキスト中央寄せ */
  align-items: center; /* 垂直方向の中央寄せ */
  justify-content: center; /* 水平方向の中央寄せ */
  width: 62.9vw;
  max-width: 236px;
  min-width: 186px;
  background-color: var(--primary-darkPink);
  color: var(--primary-creamYellow);
  border-radius: 35px;
  padding: 0;
  /* 幅と高さの比率を維持 */
  aspect-ratio: 236 / 67;
  box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  white-space: nowrap;
  font-size: clamp(12px, 4.267vw, 20px);
  /* アニメーション */
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* 疑似要素：矢印アイコン */
.icon-external-link {
  position: absolute;

  /* アイコン画像 */
  background-image: url(../images/0_common/icon_toLink.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* アイコンの幅と高さ */
  width: 15px;
  height: 16px;
  /* 位置 */
  right: 25px;
  top: 50%;
  transform: translateY(-50%);

  /* ホバー時のアニメーション */
  transition: all 0.4s ease-in-out;
  transition: right 0.3s;
}

/* ホバー時の挙動 */
.externalLinksBtn:hover {
  /* --- 背景色を白に --- */
  background-color: var(--primary-white);
  /* 文字色を元の背景色に反転 */
  color: var(--primary-darkPink);
  border: solid 1px var(--primary-darkPink);
  /* 立体的に */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  /* カーソルをポインターに変える */
  cursor: pointer;
}
/* アイコンの色も変える */
.externalLinksBtn:hover .icon-external-link {
  background-image: url(../images/0_common/icon_toLink_hover.svg);
  /* アイコンを少し右に */
  right: 18px;
}

/* PCの時 */
@media screen and (min-width: 840px) {
  .externalLinksBtn {
    width: 16.3vw;
    max-width: 263px;
    font-size: clamp(12px, 1.111vw, 20px);
  }
}

/*  ===============================
    icon
    =============================== */

.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
  margin-right: 10px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* アイコン */
.icon-calendar {
  background-image: url(../images/0_common/icon_calendar.svg);
}
.icon-map {
  background-image: url(../images/0_common/icon_map.svg);
}
.icon-yen {
  background-image: url(../images/0_common/icon_yen.svg);
}
.icon-time {
  background-image: url(../images/0_common/icon_time.svg);
}

/*  ===============================
    footer
    =============================== */
.footer {
  display: flex;
  flex-direction: column; /* 子要素を縦に積む */
  align-items: center; /* 子要素全体を横中央に揃える */
  text-align: center;
  margin-top: 140px;
}

.footer__image {
  width: 100vw;
}

/* ロゴ */
.logo.footer__logo {
  /* ブロック要素に変えてから上を空ける */
  display: block;
  width: 226px;
  margin-top: 30px;
}

/* お問い合わせアイコン */
.footer__contact {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 40px;
  align-items: center;
}

/* アイコンのaタグに対して上の余白を削除 */
.footer__contact a {
  /* マージン・パディングのリセットとブロック化 */
  display: block; /* ベースラインの問題を解消 */
  margin: 0;
  padding: 0;
  line-height: 1; /* 行の高さをリセットして、さらに隙間を詰める */
}

/* メニュー */
.footer__menu {
  margin-top: 15px;
}
.footer__menu-list {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* カレントページ */
.footer__menu-item.is-current {
  position: relative;
}

.footer__menu-item.is-current a {
  position: relative;
  z-index: 2; /* 疑似要素(0)と親(1)よりも高い値に設定 */
}

.footer__menu-item.is-current::before {
  content: "";
  position: absolute;
  z-index: 0; /* 字の後ろに図が来るようにする */
  background-image: url(../images/0_common/menuCurrent.webp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: auto;
  left: 0; /* 親要素の左端に合わせる */
  right: 0; /* 親要素の右端に合わせる */
  height: clamp(20px, 6.93vw, 40px);
  top: clamp(5px, 2.67vw, 15px);
  left: 0;
}

/* コピーライト */
.footer__copy {
  margin: 30px 0 100px;
}

/*トップに戻るボタン */
.topBtn {
  border-radius: 50%;
  background-color: var(--primary-darkPink);
  color: var(--primary-creamYellow);
  width: 40px;
  aspect-ratio: 1; /* 縦横比をそろえる */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 8px;
  /* ボタンの位置を固定する */
  position: fixed;
  bottom: 3.34%;
  right: 1.5%;
}

/* 疑似要素：トップへ戻るボタンの矢印 */
.topBtn::before {
  content: "";
  position: absolute;
  /* アイコンを中央に揃える */
  top: 50%; /* 親の縦中央 */
  left: 50%; /* 親の横中央 */
  transform: translate(-50%, -50%); /* 完全中央に揃える */
  display: block;
  width: 17px;
  height: 10px;
  background-image: url(../images/0_common/icon_toTop.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* ホバー時の挙動：色を薄くする */
.topBtnBtn {
  opacity: 1;
}
.topBtn:hover {
  opacity: 0.8;
}

/* ------------------------
      common pc
    ------------------------ */
@media screen and (min-width: 840px) {
  .footer__image {
    width: 100vw;
  }

  /* ロゴ */
  .logo.footer__logo {
    margin-top: 60px;
  }

  .footer__menu {
    margin-top: 20px;
    display: flex;
  }

  /* フッターのメニュー間の幅 */
  .footer__menu-list {
    gap: clamp(16px, 2.0833vw, 48px);
  }

  /* プロフィールとギャラリーの間を空ける */
  .footer__menu-list--lower {
    margin-left: clamp(16px, 2.0833vw, 48px);
  }

  /* カレントページ */
  .footer__menu-item.is-current::before {
    height: clamp(20px, 1.81vw, 36px);
    left: 0;
  }

  /* コピーライト */
  .footer__copy {
    margin-top: 18px;
  }

  .topBtn {
    /* ボタンの位置を固定する */
    position: fixed;
    bottom: 1.334%; /* 下から36px */
    right: 1.74%; /* 右から25px */
    width: 68px;
  }

  /* 疑似要素：トップへ戻るボタンの矢印 */
  .topBtn::before {
    width: 20px;
    height: 12px;
  }
}
/* pc 840 */
