@charset "UTF-8";

@font-face {
  font-family: "Halimum";
  src: url("../fonts/fonts/Halimun.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 色管理用の変数 */
  --black-color: #19171b;
  --white-color: #f6f1e7;
  --gray-color: #efeaea;
  --gray-color02: #ded7d7;
  --primary-color: #d29f22;
  --sub-color: #5d0018;
  --red-color: #f06060;
  --accent-color: #d3c7b8;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-xs: 672px;
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  /* font管理用の変数 */
  --shippori-serif: "Shippori Mincho", serif;
  --halimun-serif: "Halimum", serif;
  --marcellus-serif: "Marcellus SC", serif;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* ---------- base ---------- */

body {
  color: var(--black-color);
  font-size: 16px;
  font-family: var(--shippori-serif);
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* クリックした際の青い枠線を削除 */
*:focus {
  outline: none;
}

/* タップした際の青い四角を削除 */
button,
span {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

/* ---------- utility ---------- */

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .u_md_dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

/*=============================
オープニングアニメーション
=============================*/

/* Opening 全体 */
/* 初期は画面固定 */
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* 完了後：fixed解除して“ページの一部”にする */
.opening.is-float {
  position: absolute; /* ←ここが肝 */
  inset: 0;
  height: 100vh; /* KV相当の高さ */
  z-index: 2; /* KVより上にしたいなら適宜。ずっと最前面は避ける */
}

.opening_bg {
  position: absolute;
  inset: 0;
  background: #fff; /* 好きな背景色 */
  opacity: 1;
}

.opening_inner {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}

.opening_logo {
  position: relative;
  z-index: 2;
}

/* ロゴ画像：最初は透明＆少し下 */
.opening_logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(18px);
}

/* スリット部分に重ねる文字 */
.opening_text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* ここが“切れている横帯”の位置調整ポイント */
  /* まずは大体中央に置いて、必要なら微調整してください */
  translate: 0 6px; /* ← 上下調整（例：+なら下、-なら上） */

  font-family: var(--halimun-serif);
  font-size: clamp(14px, 3.2vw, 24px);

  letter-spacing: 0.02em;
  white-space: nowrap;

  /* 色はロゴに合わせて調整。まずは落ち着いた色で */
  color: rgba(60, 10, 20, 0.92);

  /* 文字の“はみ出し”を抑えて、スリット内っぽく見せる */
  width: 78%;
  text-align: center;
  overflow: hidden;
  pointer-events: none;
}

/* 1文字ごとの見た目（手書きっぽい揺れを出す準備） */
.opening_text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px) rotate(-2deg) scale(0.98);
}

/* アニメ後に消す場合のため */
.opening.is-hidden {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* ---------- layout ---------- */

.l_container-xs,
.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.l_container-xs {
  max-width: calc(var(--content-width-xs) + 32px);
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

.l_contents-sm {
  padding: 40px 0;
}
.l_contents {
  padding: 80px 0;
}

@media screen and (min-width: 768px) {
  .l_contents {
    padding: 120px 0;
  }
}

/*=============================
header
=============================*/

.l_header {
  height: 72px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  background: linear-gradient(#fff, transparent);
  /* ★ ふわっと登場のための初期値 */
  opacity: 0;
  transform: translateY(-20px);
}

@media screen and (min-width: 1080px) {
  .l_header {
    padding: 0 48px;
  }
}

.l_header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../img/gray-bg.webp);
  height: 100vh;
  background-size: cover;
}

.l_header-nav_list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.l_header-nav_item {
  font-family: var(--marcellus-serif);
  text-align: center;
  font-size: 16px;
  height: 40px;
}

.l_header-nav_item__link {
  width: 200px;
  height: auto;
}

.l_header-nav_item:not(:first-child) {
  margin-top: 24px;
}

.l_header-nav_link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  transition: 0.5s;
}

/*=============================
header
=============================*/

footer {
  position: relative;
  z-index: 5;
}

.l_footer {
  padding-top: 64px;
  text-align: center;
  background: var(--white-color);
  font-family: var(--marcellus-serif);
}

.l_footer_logo {
  width: 200px;
  margin: 0 auto;
}

.l_footer_logo-link {
  height: 100%;
  display: block;
}

.l_footer_logo-img {
  display: block;
}

.l_footer_logo-txt {
  margin-top: 16px;
}

.l_footer_list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .l_footer_list {
    flex-direction: row;
    gap: 40px;
  }
}

.l_footer_item {
  font-size: 14px;
  height: 40px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.l_footer_item:not(:first-child) {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .l_footer_item:not(:first-child) {
    margin-top: 0px;
  }
}

.l_footer_link {
  width: 150px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  position: relative;
}

.l_footer_link::after,
.l_header-nav_link::after {
  content: "";
  width: 100%;
  position: absolute;
  height: 2px;
  background: transparent;
  bottom: 2px;
}

.l_footer_link:hover,
.l_header-nav_link:hover {
  transform: scale(1.2);
}

.l_footer_link:hover::after,
.l_header-nav_link:hover::after {
  background: var(--sub-color);
}

.l_footer-copyright {
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid var(--sub-color);
}

.l_footer-copyright_txt {
  font-size: 12px;
  color: var(--sub-color);
}

/* ---------- module ---------- */

.m_sns-logo {
  width: 36px;
  height: 36px;
  transition: 0.5s;
}

.m_sns-logo:hover {
  transform: scale(1.2);
}

.m_sns-logo_link {
  width: 100%;
  height: 100%;
}

.m_page_title {
  font-size: 28px;
  text-shadow: 2px 2px 0 var(--accent-color03);
}

.m_reserve_img-wrapper {
  position: fixed;
  z-index: 20;
  bottom: 10px;
  right: 10px;
  width: 100px;
  height: 100px;
}

.m_reserve_img-link {
  width: 100%;
  height: 100%;
}

.m_reserve_img-wrapper {
  animation: reservePulse 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes reservePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}
/*=============================
m_hamburger
=============================*/

.m_hamburger-circle {
  width: 50px;
  height: 50px;
  display: flex;
  border-radius: 100vh;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #b67b03 0%, #daaf08 45%, #fee9a0 70%, #daaf08 85%, #b67b03 90% 100%);
}

@media screen and (min-width: 768px) {
  .m_hamburger-circle {
    top: 50px;
    right: 50px;
  }
}

.btn-trigger {
  position: relative;
  width: 28px;
  height: 24px;
  cursor: pointer;
}

.btn-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--black-color);
  border-radius: 4px;
}
.btn-trigger,
.btn-trigger span {
  display: inline-block;
  transition: all 0.5s;
  box-sizing: border-box;
}
.btn-trigger span:nth-of-type(1) {
  top: 0;
}
.btn-trigger span:nth-of-type(2) {
  top: 12px;
  transform: translateY(-50%);
}
.btn-trigger span:nth-of-type(3) {
  bottom: 0;
  transform: translateY(-100%);
}

#btn07 span:nth-of-type(1) {
  -webkit-animation: btn07-bar01 0.75s forwards;
  animation: btn07-bar01 0.75s forwards;
}
@-webkit-keyframes btn07-bar01 {
  0% {
    -webkit-transform: translateY(12px) rotate(45deg);
  }
  50% {
    -webkit-transform: translateY(12px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn07-bar01 {
  0% {
    transform: translateY(12px) rotate(45deg);
  }
  50% {
    transform: translateY(12px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#btn07 span:nth-of-type(2) {
  transition: all 0.25s 0.25s;
  opacity: 1;
}
#btn07 span:nth-of-type(3) {
  -webkit-animation: btn07-bar03 0.75s forwards;
  animation: btn07-bar03 0.75s forwards;
}
@-webkit-keyframes btn07-bar03 {
  0% {
    -webkit-transform: translateY(-11px) rotate(-45deg);
  }
  50% {
    -webkit-transform: translateY(-11px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn07-bar03 {
  0% {
    transform: translateY(-11px) rotate(-45deg);
  }
  50% {
    transform: translateY(-11px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#btn07.active span:nth-of-type(1) {
  -webkit-animation: active-btn07-bar01 0.75s forwards;
  animation: active-btn07-bar01 0.75s forwards;
}
@-webkit-keyframes active-btn07-bar01 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(11px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(11px) rotate(45deg);
  }
}
@keyframes active-btn07-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(11px) rotate(0);
  }
  100% {
    transform: translateY(11px) rotate(45deg);
  }
}
#btn07.active span:nth-of-type(2) {
  opacity: 0;
}
#btn07.active span:nth-of-type(3) {
  -webkit-animation: active-btn07-bar03 0.75s forwards;
  animation: active-btn07-bar03 0.75s forwards;
}
@-webkit-keyframes active-btn07-bar03 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(-11px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(-11px) rotate(-45deg);
  }
}
@keyframes active-btn07-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-11px) rotate(0);
  }
  100% {
    transform: translateY(-11px) rotate(-45deg);
  }
}

/*=============================
m_section_title
=============================*/

.m_section_title {
  position: relative;
  font-size: 24px;
  font-family: var(--marcellus-serif);
  color: var(--sub-color);
  letter-spacing: 0.15em;
  max-width: 600px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .m_section_title {
    font-size: 28px;
  }
}

.m_section_title::after {
  content: "";
  height: 2px;
  width: calc(100% - 120px);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .m_section_title::after {
    width: calc(100% - 140px);
  }
}

.m_section_title__wide::after {
  width: calc(100% - 170px);
}

.m_section_title__info::after {
  width: calc(100% - 200px);
}

@media screen and (min-width: 768px) {
  .m_section_title__info::after {
    width: calc(100% - 230px);
  }
}

.m_section_title::before {
  left: 0;
}

.m_section_title::after {
  right: 0;
}

.m_section_title_main,
.m_category_main {
  font-size: 20px;
  font-weight: bold;
  margin-top: 16px;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .m_section_title_main,
  .m_category_main {
    font-size: 24px;
  }
}

.m_section_title_sub {
  color: var(--accent-color);
  letter-spacing: 0.3em;
  font-size: 20px;
  text-align: center;
  text-shadow: 2px 2px 2px var(--gray-color);
}

/*=============================
m_btn-wrapper
=============================*/

.m_btn-wrapper {
  display: block;
  width: 150px;
  height: 60px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .m_btn-wrapper{
    width: 200px;
  }
}

.m_btn-wrapper-wide {
  width: 300px;
  display: block;
  height: 60px;
  margin: 0 auto;
}

.m_btn-link {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sub-color);
  color: var(--white-color);
  font-family: var(--marcellus-serif);
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.2),
    0 2px 2px rgba(0, 0, 0, 0.19);
  font-weight: bold;
  transition: 0.5s;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .m_btn-link {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    border: 1px solid var(--sub-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    font-family: var(--marcellus-serif);
    box-shadow:
      0 4px 0 rgba(255, 255, 255, 0.2),
      0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
    background: var(--white-color);
    transition: 0.5s;
    position: relative;
  }
}

.m_btn-link::after {
  content: "";
  margin-left: 24px;
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white-color);
  border-right: 2px solid var(--white-color);
  transform: rotate(45deg);
  transition: 0.5s;
}

@media screen and (min-width: 1080px) {
  .m_btn-link::after {
    border-top: 2px solid var(--black-color);
    border-right: 2px solid var(--black-color);
  }
}

.m_btn-link::before {
  content: "";
  position: absolute;
  bottom: -30px;
  width: 100%;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  filter: blur(18px);
  opacity: 0;
  transition: 0.5s;
}
.m_btn-link:hover::before {
  opacity: 1;
}

.m_btn-link:active {
  background: var(--sub-color);
  color: var(--white-color);
  transform: translateY(-10px);
}

.m_btn-link:hover {
  background: var(--sub-color);
  color: var(--white-color);
  transform: translateY(-10px);
}

.m_btn-link:hover::after {
  border-top: 2px solid var(--white-color);
  border-right: 2px solid var(--white-color);
}

/*=============================
Mキャンペーン
=============================*/

.m_campaign {
  background: url(../img/black-bg.webp);
  background-size: cover;
}

.m_campaign_title {
  color: var(--primary-color);
  font-family: var(--marcellus-serif);
  font-size: 24px;
  text-align: center;
  position: relative;
  text-shadow: 2px 2px 0px var(--black-color);
}

.m_campaign_title::before,
.m_campaign_title::after {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--primary-color);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 2px 2px 0px var(--black-color);
}

.m_campaign_title::before {
  right: calc(50% + 80px);
}
.m_campaign_title::after {
  left: calc(50% + 80px);
}

/*=============================
Mキャンペーン/* スライダー本体 */
/* =============================*/

.top_school_list-wrapper {
  position: relative;
  overflow: hidden; /* 次のスライドのはみ出しは隠す */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0 16px; /* ★ 矢印の居場所（左右） */
}

/* 以前の margin-top は外す（矢印の縦中央ズレ防止） */
.top_school_list {
  margin-top: 0;
}

/* スライド幅（固定幅にしたいならここ） */
.top_school_item {
  width: auto;
}

@media screen and (min-width: 1200px) {
  .top_school_item {
    width: 352px;
  }
}

/* 画像 */
.top_school_img-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
}

.top_school_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ドット（swiperの外なので static でOK） */
.top_school_dots {
  position: static;
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.top_school_dots .swiper-pagination-bullet {
  background: var(--white-color);
  width: 16px;
  height: 16px;
  border-radius: 100vh;
  color: transparent;
  border: 1px solid var(--primary-color);
}

.top_school_dots .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Swiperが計算する幅を邪魔しない */
.js_school-swiper .swiper-slide {
  width: auto;
  height: auto;
  max-width: none;
}

/* Swiperデフォルト矢印を消す */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* 矢印ボタン */
.top_school_arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ★外に出さない：内側に置く */
.swiper-button-prev.top_school_arrow {
  left: 0px;
}
.swiper-button-next.top_school_arrow {
  right: 0px;
}

/* 矢印アイコン */
.top_school_arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  display: block;
}

.swiper-button-prev.top_school_arrow::before {
  transform: rotate(-135deg);
}

.swiper-button-next.top_school_arrow::before {
  transform: rotate(45deg);
}

.top_school_arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/*=============================
キラキラカーソル
=============================*/

.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 230, 150, 0.9) 25%,
    /* ← ほんのりゴールド */ rgba(255, 200, 80, 0.6) 45%,
    /* ← 少し濃い金 */ rgba(255, 200, 80, 0) 75%
  );

  animation: sparkleFade 0.8s ease-out forwards;
}

@keyframes sparkleFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

/*=============================
Mキービジュアル
=============================*/

.m_kv {
  height: 100vh;
  padding: 32px 24px;
  background-size: contain;
  position: relative;
}

@media screen and (min-width: 768px) {
  .m_kv {
    display: flex;
    gap: 40px;
    justify-content: center;
    height: auto;
  }
}

.m_kv_img-wrap {
  height: 50vh;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  box-shadow: 8px 8px 8px var(--black-color);
  max-width: 350px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .m_kv_img-wrap {
    width: 350px;
    height: 380px;
    margin: 0;
  }
}

.m_kv_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m_kv_title {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--sub-color);
  font-size: 28px;
  position: absolute;
  top: calc(50vh + 32px - 50px);
  font-family: var(--marcellus-serif);
  left: 24px;
  height: 50px;
  padding: 0 16px;
  background: var(--white-color);
}

@media screen and (min-width: 400px) {
  .m_kv_title {
    left: calc(50vw - 175px);
  }
}

@media screen and (min-width: 768px) {
  .m_kv_title {
    top: auto;
    left: calc(50vw + 175px - 38px);
    bottom: 50px;
  }

  .m_kv_title__wide {
    left: calc(50vw + 175px - 75px);
  }
}

.m_kv_title__wide {
  width: 200px;
}

@media screen and (min-width: 768px) {
  .m_kv_box {
    width: 320px;
  }
}

.m_kv_main-copy {
  margin-top: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 4px 4px 4px var(--white-color);
}

.m_kv_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  position: relative;
}

.m_kv_logo::before,
.m_kv_logo::after {
  content: "";
  width: 100%;
  height: 2px;
  background: var(--sub-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.m_kv_logo::before {
  top: -20px;
}

.m_kv_logo::after {
  bottom: -20px;
}

.m_kv_logo-img {
  width: 150px;
  height: auto;
}

/*=============================
Mスティッキーカード
=============================*/

.m_sticky-card {
  position: sticky;
  top: 0;
  min-height: 160vh; /* ← 150vhは絶対NG */
  display: flex;
  flex-direction: column;
}

.m_sticky-card__about2 {
  min-height: 140vh;
  top: 0;
}

.m_sticky-card__cam {
  height: 80vh;
  top: 0;
}

/* JSで付ける “解除用クラス” */
.no-parallax {
  top: auto !important;
}

/* CAMPAIGN以降の通常セクションを前面に */
.m_campaign ~ section {
  position: relative;
  z-index: 5;
}

/* 前半のstickyが後半を覆わないように */
.top_kv,
.top_section.m_sticky-card {
  z-index: 1;
}

.m_campaign {
  position: relative;
  z-index: 5;
}

/*=============================
トップキービジュアル
=============================*/

.top_kv {
  height: 100vh;
  background: url(../img/white-bg.webp);
  padding: 24px;
  background-size: contain;
}

@media screen and (min-width: 768px) {
  .top_kv_inner {
    max-width: 920px;
    gap: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
  }
}

.top_kv_img-wrap {
  height: calc(100vh - 200px);
  width: 100%;
  border-radius: 3px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  box-shadow:
    8px 8px 8px var(--gray-color),
    -8px -8px 8px var(--gray-color);
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .top_kv_img-wrap {
    height: calc(100vh - 48px);
    margin: 0;
    max-width: 50vw;
  }
}

.top_kv_video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ←切らない */
  object-position: center; /* 中央寄せ */
}

@media screen and (min-width: 1080px) {
  .top_kv_img-wrap {
    width: 50vw;
  }
}

.top_kv_main-copy {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 4px 4px 4px var(--white-color);
}

.top_kv_box {
  max-width: 450px;
  min-width: 350px;
  margin: 32px auto 0;
  text-shadow: 4px 4px 8px var(--white-color);
}

@media screen and (min-width: 768px) {
  .top_kv_box {
    position: static;
  }
}

.top_kv_brake {
  display: none;
}

@media screen and (min-width: 768px) {
  .top_kv_brake {
    display: block;
  }
}

.top_kv_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .top_kv_logo {
    display: none;
  }
}

.top_kv_logo::before,
.top_kv_logo::after {
  content: "";
  width: 100%;
  height: 2px;
  background: var(--sub-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.top_kv_logo::before {
  top: -20px;
}

.top_kv_logo::after {
  bottom: -20px;
}

.top_kv_logo-img {
  width: 150px;
  height: auto;
}
/*=============================
トップキービジュアル スライドショー
=============================*/

.top_kv-slideshow .swiper-slide {
  opacity: 0;
}

.top_kv-slideshow .swiper-slide-active {
  opacity: 1;
}

/* スライドショー本体（absolute のままでOK） */
.top_kv-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ★重要：高さ100%を伝播させる（これが無いと画像height:100%が効かない） */
.top_kv-slideshow,
.top_kv-slideshow .swiper-wrapper,
.top_kv-slideshow .swiper-slide {
  width: 100%;
  height: 100%;
}

/* 画像 */
.top_kv-slideshow_slide_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* 余計な隙間防止 */
}

/*=============================
トップアバウト
=============================*/

.top_about {
  background: url(../img/gray-bg.webp);
    background-size: cover;
}

.top_section_body {
  margin-top: 60px;
}

@media screen and (min-width: 768px) {
  .top_about_body {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
  }
}

.top_about_body__2 {
  margin-top: 200px;
}

.top_about_img-wrapper {
  width: 250px;
  height: 300px;
  position: relative;
  margin: 0 auto;
}

@media screen and (min-width: 640px) {
  .top_about_img-wrapper {
    margin: 0;
  }
}

.top_about_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 12s infinite;
}

/* 表示タイミングを4秒ずつずらす */
.top_about_img:nth-child(1) {
  animation-delay: 0s;
}

.top_about_img:nth-child(2) {
  animation-delay: 4s;
}

.top_about_img:nth-child(3) {
  animation-delay: 8s;
}

/* フェードが重なる設計（空白なし） */
@keyframes fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.top_about_text {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .top_about_text {
    max-width: 40vw;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
  }
}

.top_about_2 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.top_about_btn {
  margin-top: 60px;
}

@media screen and (min-width: 768px) {
  .top_about_btn {
    margin-top: 0;
  }
  .top_about_btn.top_about_btn {
    margin: 0;
  }
}
.top_reserve_btn {
  margin: 40px 0 0;
}

/*=============================
トップコンセプト
=============================*/
.top_section {
  letter-spacing: 0;
}

.top_concept.m_sticky-card {
  background: #fff;
}

@media screen and (min-width: 768px) {
  .top_concept.top_concept__2.m_sticky-card {
    background: transparent;
  }
}

.top_concept_body {
  max-width: 470px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media screen and (min-width: 768px) {
  .top_concept_body {
    display: flex;
    justify-content: space-around;
    align-items: start;
    gap: 60px;
    max-width: 800px;
  }

  .top_concept_body:nth-child(1) {
    flex-direction: row-reverse;
    justify-content: start;
    margin-left: 0px;
  }
}

.top_concept_img-wrapper {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .top_concept_img-wrapper {
    margin-top: 0;
    max-width: 30vw;
  }

  .m_sticky-card.top_concept__2 {
    top: 50vh;
  }
}

.m_sticky-card.top_concept__2 {
  top: 110px;
}

@media screen and (min-width: 768px) {
  .m_sticky-card.top_concept__2 {
    top: 310px;
  }
}

.top_concept_img {
  height: 240px;
  object-fit: cover;
  object-position: left;
}

@media screen and (min-width: 768px) {
  .top_concept_img {
    max-width: 250px;
  }
}

.top_concept_text-left {
  font-size: 18px;
}

.top_concept_img-wrapper2 {
  padding-top: 40px;
  width: 100%;
  aspect-ratio: 4/2;
}

.top_concept_text-right {
  margin-top: 20px;
  text-align: right;
  font-size: 18px;
}

@media screen and (min-width: 768px) {
  .top_concept_text-right {
    width: 300px;
    margin-top: 50px;
    flex-shrink: 0;
  }
}
/* 背景と滞在時間は section */
.top_concept {
  height: 200vh;
  background-image: url("/img/white-bg.webp");
  background-size: contain;
  background-repeat: repeat;
}

.m_sticky-card {
  contain: layout paint; /* 描画範囲を隔離して負荷を抑える */
}

.top_kv_img-wrap,
.top_concept_img-wrapper,
.top_concept_img-wrapper2 {
  will-change: transform; /* 動く・合成されやすい所だけ */
  transform: translateZ(0);
}

@media screen and (min-width: 768px) {
  .top_concept_btn {
    margin-top: 80px;
  }
}

.top_concept_btn__2 {
  margin-top: 40px;
}

@media screen and (min-width: 480px) {
  .top_concept_btn__2 {
    position: absolute;
    top: 320px;
    left: calc((100vw - 468px) / 2 + 16px);
    z-index: 100;
  }
}

@media screen and (min-width: 768px) {
  .top_concept_btn__2 {
    top: 140px;
    left: calc((100vw - 600px) / 2 + 16px);
    z-index: 100;
  }
}
/*=============================
トップメニュー
=============================*/
.top_menu {
  background: url(../img/gray-bg.webp);
    background-size: cover;
}

.top_menu_container {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .top_menu_container {
    max-width: 1080px;
    position: relative;
  }
}

.top_menu_lp {
  margin: 40px auto 100px;
  padding: 60px 0;
  max-width: 500px;
  text-align: center;
  background: var(--white-color);
  border-radius: 40px;
  box-shadow: inset 4px 4px 8px var(--gray-color02),inset -4px -4px 16px white,4px 4px 8px var(--gray-color02);
}

.top_menu_lp span {
  background: linear-gradient(transparent 0%, transparent 70%, var(--accent-color) 70%, var(--red-color) 100%);
  font-size: 20px;
  font-weight: bold;
}

.top_menu_lp-link-box {
  margin: 40px auto 0;
  width: 90%;
  border-bottom: 3px solid var(--primary-color);
  border-radius: 4px;
  height: 50px;
  transition: 0.5s;
}

.top_menu_lp-link {
  font-size: 24px;
  position: relative;
  padding-right: 30px;
  cursor: pointer;
}

.top_menu_lp-link-box:hover {
  transform: scale(1.2);
}

.top_menu_lp-link::after {
  content: "";
  background: url(../img/arrow.svg);
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
}

.top_menu_title {
  margin-top: 40px;
  width: 180px;
  text-align: end;
  font-size: 24px;
  font-weight: bold;
  transform: translateX(-16px);
  background: linear-gradient(transparent 0%, transparent 70%, var(--primary-color) 70%, var(--primary-color) 100%);
  position: relative;
  --b-right: -50px;
  --b-top: -20px;
  --a-right: -60px;
  --a-top: -25px;
}

@media screen and (min-width: 768px) {
  .top_menu_title {
    margin-top: 100px;
    font-size: 32px;
  }
}

.top_menu_title::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 4px solid var(--sub-color);
  position: absolute;
  right: var(--b-right);
  top: var(--b-top);
}

.top_menu_title::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 20px;
  border: 4px solid var(--primary-color);
  position: absolute;
  right: var(--a-right);
  top: var(--a-top);
}

.top_menu_title span::before {
  display: block;
  position: absolute;
  left: 0;
  top: -170%;
  font-size: 80px;
  font-family: var(--marcellus-serif);
  color: #fff;
  width: 100vw;
  max-width: 500px;
  opacity: 0.7;
  z-index: -1;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
  .top_menu_title span::before {
    max-width: 580px;
  }
}
.top_menu_title__lift span::before {
  content: "LIFT UP";
}
.top_menu_title__facial span::before {
  content: "FACIAL";
}

@media screen and (min-width: 768px) {
  .top_menu_body {
    display: flex;
    align-items: start;
    justify-content: center;
    margin-top: 40px;
    gap: 16px;
  }
}

@media screen and (min-width: 940px) {
  .top_menu_body {
    gap: 40px;
  }
}
/* リスト基本 */

.top_menu_list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media screen and (min-width: 400px) {
  .top_menu_list {
    margin-left: calc((100vw - 400px) / 2);
  }
}

@media screen and (min-width: 600px) {
  .top_menu_list {
    margin-left: 100px;
  }
}

@media screen and (min-width: 768px) {
  .top_menu_list {
    margin-left: 20px;
    width: 40vw;
    gap: 16px;
    max-width: 380px;
  }
}

.top_menu_item {
  position: relative;
  padding-left: 1.9em; /* チェック分の余白 */
  opacity: 0; /* ← 追加 */
  transform: translateY(6px); /* ← 追加 */
}

.top_menu_item.is-checked {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s ease-out,
    transform 0.35s ease-out;
}
/* チェック（枠付き） */
.top_menu_item::before {
  content: "\f14a"; /* fa-square-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0.2em;
  color: var(--white-color);
}

/* 上に重ねる：チェック済み（最初は非表示） */
.top_menu_item::after {
  content: "\f00c"; /* fa-check（枠なし） */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Solid */
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -0.2em;
  color: var(--primary-color);
  opacity: 0;
  transform: scale(0.4);
}

/* 発火後 */
/* 順番に付与されるクラス */
.top_menu_item.is-checked::after {
  opacity: 1;
  transform: scale(1.2);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.top_menu_item.is-checked::after,
.top_menu_item.is-checked::before {
  animation: checkPop 0.35s ease-out forwards;
}
@keyframes checkPop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  70% {
    opacity: 1;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.top_menu_text {
  text-align: center;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 40px;
}

.top_menu_card-title {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .top_menu_card-title {
    width: 300px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 900px) {
  .top_menu_card-title {
    width: 400px;
  }
}

.top_menu_card {
  padding: 40px 24px;
  background: url(../img/white-bg.webp);
  background-size: contain;
  position: relative;
  border-radius: 2px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 900px) {
  .top_menu_card {
    width: 480px;
  }
}

.top_menu_card::before {
  position: absolute;
  bottom: -15px;
  width: 30px;
  height: 15px;
  background-color: #fff;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  transform: rotate(180deg);
  content: "";
}

@media screen and (min-width: 768px) {
  .top_menu_card::before {
    bottom: 50px;
    left: -22px;
    transform: rotate(270deg);
  }
}
.top_menu_card__limited::before {
  display: none;
}

.top_menu_card-logo {
  width: 150px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}

.top_menu_card-list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media screen and (min-width: 900px) {
  .top_menu_card-list {
    flex-direction: column;
  }
}

.top_menu_card-item {
  font-size: 14px;
  padding: 8px 16px;
  border: 2px solid var(--sub-color);
  border-radius: 30px;
  font-weight: bold;
  background: var(--white-color);
  color: var(--sub-color);
  text-align: center;
}

.top_menu_card-price1 {
  color: var(--black-color);
  margin-top: 40px;
  position: relative;
  text-align: center;
}

.top_menu_card-price1 span {
  font-size: 12px;
}

.top_menu_card-price1::before {
  content: "";
  width: 120px;
  height: 4px;
  background: var(--red-color);
  position: absolute;
  top: 50%;
  left: calc(50vw - 140px);
  transform: translateY(-50%) rotate(-15deg);
}

@media screen and (min-width: 490px) {
  .top_menu_card-price1::before {
    left: 105px;
  }
}

.top_menu_card-price {
  margin-top: 16px;
  margin-left: auto;
  font-weight: bold;
  font-size: 24px;
  background: linear-gradient(45deg, #b67b03 0%, #daaf08 45%, #fee9a0 70%, #daaf08 85%, #b67b03 90% 100%);
  color: var(--white-color);
  text-shadow: 1px 1px 0 var(--black-color);
  width: 200px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 4px 4px 8px var(--black-color);
  position: relative;
  animation: pricePulse 1.5s ease-out infinite;
}

@keyframes pricePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  8% {
    transform: scale(1.06);
    opacity: 0.85;
  }
  16% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.top_menu_card-price {
  animation: pricePulse 3.5s ease-out infinite;
}

.top_menu_card-price::before {
  content: "\f3bf"; /* fa-level-up-alt */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  top: 50%;
  left: -50px;

  font-size: 1.5em;
  color: var(--red-color);
  transform: translateY(-50%) rotate(90deg);
}

.top_menu_card-price span {
  font-size: 12px;
}

.top_menu_card-img-wrapper {
  width: 70%;
  margin: 50px auto;
  height: auto;
  border-radius: 2px;
  box-shadow: 2px 2px 4px var(--black-color);
  max-width: 240px;
}

@media screen and (min-width: 768px) {
  .top_menu_card-img-wrapper {
    margin: 30px auto;
    height: 250px;
  }

  .top_menu_card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (min-width: 900px) {
  .top_menu_card-img-wrapper {
    margin: 60px auto 0;
  }
  .top_menu_card__df {
    display: flex;
    gap: 16px;
  }
}

.box-005 {
  max-width: 400px;
  margin: 40px auto 0;
  border: 2px solid var(--red-color);
  border-radius: 5px;
  color: #333333;
}

@media screen and (min-width: 768px) {
  .top_menu_pb {
    width: 35vw;
    position: absolute;
    bottom: 0px;
    max-width: 350px;
  }

  .top_menu_pb__2 {
    bottom: 100px;
    left: 60px;
  }
}

@media screen and (min-width: 900px) {
  .top_menu_pb {
    left: calc(50% - 440px);
    bottom: -80px;
  }
  .top_menu_pb__2 {
    bottom: 50px;
    left: calc(50% - 440px);
  }
}

.top_menu_btn {
  margin-top: 40px;
}

.box-005 div {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  position: relative;
  top: -13px;
  left: 10px;
  margin: 0 7px;
  padding: 0 8px;
  background: #fff;
  color: var(--red-color);
  font-weight: 600;
  vertical-align: top;
}

.box-005 div::before {
  width: 22px;
  height: 22px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z' fill='%23f06060'%3E%3C/path%3E%3C/svg%3E");
}

.box-005 p {
  margin: 0;
  padding: 0 1.5em 1em;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .top_menu_card-contents2 {
    margin-top: 40px;
  }
}

.top_menu_card-list2 {
  counter-reset: number; /*数字をリセット*/
  list-style-type: none !important; /*数字を一旦消す*/
  padding: 8px 16px;
  border: solid 2px var(--primary-color);
}

@media screen and (min-width: 768px) {
  .top_menu_card-list2 {
    width: 300px;
  }
}

@media screen and (min-width: 900px) {
  .top_menu_card-list2 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: calc(193px * 2 + 44px);
  }
}

.top_menu_card-item2 {
  position: relative;
  padding: 0.5em 0.5em 0.5em 40px;
  line-height: 1.5em;
  font-size: 18px;
  font-weight: bold;
}

.top_menu_card-item2:before {
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display: inline-block;
  background: var(--sub-color);
  color: white;
  font-family: "Avenir", "Arial Black", "Arial", sans-serif;
  font-weight: bold;
  font-size: 15px;
  border-radius: 50%; /*円にする*/
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.top_menu_card-item2:after {
  /*吹き出しのちょこんと出た部分*/
  content: "";
  display: block;
  position: absolute;
  left: 20px; /*左からの位置*/
  height: 0;
  width: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--sub-color);
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.top_menu_card-text2 {
  text-align: center;
  margin-top: 32px;
  letter-spacing: 0;
  white-space: nowrap;
}

.top_menu_card-atention {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
}

.lift-up_menu_list {
  max-width: 400px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lift-up_cta {
  padding: 40px 0;
}

.lift-up_course_body {
  margin-top: 40px;
  background: url(../img/white-bg.webp);
  background-size: contain;
}

.lift-up_course_table {
  border-spacing: 16px;
  border-collapse: unset;
}

.lift-up_course_th {
  padding: 16px;
  text-align: center;
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: bold;
  text-shadow: 2px 2px 4px var(--black-color);
}

@media screen and (min-width: 768px) {
  .lift-up_course_th {
    font-size: 18px;
  }
}

.lift-up_course_td {
  letter-spacing: 0;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
}

@media screen and (min-width: 420px) {
  .lift-up_course_td {
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) {
  .lift-up_course_td {
    font-size: 24px;
  }
}

.lift-up_course_td span {
  font-size: 14px;
}

.lift-up_course_box {
  padding: 30px 8px;
}

.lift-up_course_img-wrapper {
  margin-top: 40px;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.lift-up_course_img-wrapper__2 {
  padding: 16px;
  margin: 40px auto;
  max-width: 300px;
}

/*=============================
フェイシャルページ
=========================*/

.facial_section {
  background: url(../img/gray-bg.webp);
}

.facial_facial_card::before {
  display: none;
}

.facial_facial_card {
  width: auto;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.facial_menu_card-list2 {
  counter-reset: number; /*数字をリセット*/
  list-style-type: none !important; /*数字を一旦消す*/
  padding: 8px 16px;
  border: solid 2px var(--primary-color);
}

@media screen and (min-width: 600px) {
  .facial_menu_card-list2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 40px;
  }
}

.facial_menu_card-item2 {
  width: 206px;
}

@media screen and (min-width: 810px) {
  .facial_facial_df {
    display: flex;
    gap: 40px;
    justify-content: center;
  }

  .facial_menu_card-img-wrapper {
    margin: 60px 0 0;
  }

  .facial_menu_card-list2 {
    flex-direction: column;
    margin-top: 20px;
  }
}

.facial_course_body {
  margin-top: 40px;
}

.facial_menu_list {
  margin-top: 40px;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tab_btn {
  padding: 10px 14px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  width: 160px;
}

.tab_btn.is-active {
  border-color: var(--primary-color);
  background: linear-gradient(45deg, #b67b03 0%, #daaf08 45%, #fee9a0 70%, #daaf08 85%, #b67b03 90% 100%);
  font-weight: 700;
}

.tab_text {
  margin-top: 24px;
  text-align: center;
}

.tab_text_menpha {
  background: linear-gradient(transparent 0%, transparent 75%, var(--primary-color) 75%, var(--primary-color) 100%);
}

.tab_panels {
  margin-top: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.tab_panel {
  padding: 24px 16px;
  background: #fff;
  border-radius: 20px;
  /* hidden 属性で基本は消えるので、追加の display 制御は不要 */
}

.tab_table {
  width: 100%;
  text-align: center;
}

.tab_panel small {
  display: block;
  text-align: center;
  margin-top: 40px;
}
.facial_course_cap {
  color: var(--white-color);
  font-weight: bold;
  width: 100%;
  font-size: 18px;
  background: url(../img/ribon2.webp);
  background-size: contain;
  background-repeat: no-repeat;
  height: 100px;
  background-position-x: center;
  line-height: 62px;
}

.facial_course_th,
.facial_course_td {
  padding: 24px 0;
  text-align: center;
  font-weight: bold;
}

.facial_course_tr {
  border-bottom: 2px solid var(--sub-color);
}

.facial_course_tr:last-child {
  border-bottom: none;
}

.facial_course_td span {
  font-size: 12px;
}

.facial_course_option {
  margin-top: 60px;
  border-color: var(--sub-color);
}

.facial_course_option div {
  justify-content: center;
  background: #fff;
  width: 130px;
  text-align: center;
  color: var(--sub-color);
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--sub-color);
  border-radius: 8px;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.facial_course_option div::before {
  display: none;
}

.facial_course_option p {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
}
/*=============================
トップギャラリー
=========================*/

.top_gallery {
  background: url(../img/white-bg.webp);
}

.top_gallery_body {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* SP：2列 */
  gap: 16px; /* 余白はお好みで */
}

@media screen and (min-width: 768px) {
  .top_gallery_body {
    grid-template-columns: repeat(3, 1fr);
  }
}

.top_gallery_img-wrapper {
  aspect-ratio: 4 / 3; /* 好みで 1 / 1 や 3 / 4 もOK */
  overflow: hidden;
  border-radius: 2px;
  will-change: transform, opacity;
}

.top_gallery_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease; /* ゆっくりめが上品 */
}

/* hoverで軽くズーム */
@media screen and (min-width: 768px) {
  .top_gallery_img-wrapper:hover img {
    transform: scale(1.06);
  }
}

/* モーダル全体 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

/* 表示状態 */
.modal.is-open {
  display: block;
}

/* 背景（白フィルター） */
.modal_overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
}

/* コンテンツ */
.modal_content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 16px;
  border-radius: 12px;
}

@media screen and (min-width: 768px) {
  .modal_content {
    max-width: 60vw;
  }
}
/* 画像 */
.modal_img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

/* 閉じるボタン */
.modal_close {
  position: absolute;
  top: 8px;
  right: 8px;

  width: 40px;
  height: 40px;
  border-radius: 50%;

  background: #fff; /* 白い丸背景 */
  color: #333; /* × の色 */
  font-size: 24px;
  font-weight: bold;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 浮かせる */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* bodyスクロールロック */
body.is-modal-open {
  overflow: hidden;
}

/*=============================
トップブログ
=========================*/

.top_blog {
  background: url(../img/gray-bg.webp);
}

.top_blog_content {
  margin-top: 40px;
}

.top_blog_txt {
  text-align: center;
}

.m_post_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  max-width: 600px;
  margin: 40px auto 0;
}

.m_post_item {
  margin-top: 40px;
  width: 100%;
  border-bottom: 1px solid #000;
  padding: 32px;
}

.top_blog .m_post_item{
  background: rgba(255, 255, 255, 0.3);
}

@media screen and (min-width: 768px) {
  .top_blog .m_post {
    display: flex;
    gap: 40px;
    align-items: center;
  }
}

.m_post_thumb-wrapper {
  max-width: 400px;
  aspect-ratio: 4 / 3; 
  overflow: hidden;
  border-radius: 2px;
  margin: 0 auto;
}

.top_blog .m_post_thumb-wrapper{
  max-width: 260px;
}

@media screen and (min-width: 768px) {
  .m_post_thumb-wrapper {
    flex-shrink: 0;
  }
}

.m_post_thumb {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  object-fit: cover;
}

.m_post_content {
  padding: 16px;
}

@media screen and (min-width: 768px) {
  .m_post_content {
    width: 100%;
  }
}

.m_post_meta {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m_post_cat {
  padding: 2px 8px;
  border: 1px solid var(--primary-color);
  border-radius: 100vh;
  font-size: 12px;
  background: var(--primary-color);
}

.m_post_title {
  margin-top: 24px;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 4px 4px 8px var(--white-color);
}

@media screen and (min-width: 768px) {
  .m_post_title {
    margin-top: 0;
  }
}

.m_post_btn {
  margin-top: 24px;
  width: 160px;
  height: 45px;
  margin-left: auto;
  border: 2px solid var(--sub-color);
  border-radius: 2px;
  transition: 0.3s;
}

.m_post_btn:hover {
  background: var(--sub-color);
  color: var(--white-color);
}
.m_post_link {
  font-size: 14px;
  font-weight: bold;
  font-family: var(--marcellus-serif);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.blog_nav_box {
  margin-top: 40px;
}

.blog_nav_copy {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

.blog_nav_list {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.blog_nav_link {
  border-bottom: 4px solid var(--white-color);
  transition: border-color 0.7s;
}

.blog_nav_link:hover {
  border-color: var(--primary-color);
}

/*=============================
アバウトページ
=============================*/

.about_about_box {
  font-family: var(--marcellus-serif);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.about_about_salon-name {
  font-size: 14px;
}

.about_about_ja-name {
  font-size: 18px;
  margin-top: 16px;
}

.about_about_ja-name span {
  font-size: 12px;
  display: block;
}

.about_about_en-name {
  font-size: 12px;
}

.about_about_img-box {
  width: 50vw;
  height: 50vw;
  max-width: 250px;
  max-height: 250px;
}

.about_about_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about_about_desc-box {
  max-width: 550px;
  margin: 0 auto;
}

.about_about_desc {
  font-size: 13px;
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  .about_about_desc{
    font-size: 15px;
}}

.about_about_desc:nth-of-type(1) {
  margin-top: 40px;
}

.about_profile_body {
  text-align: center;
  padding: 40px 0;
}

.about_profile_list {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 80px;
}

.about_profile_item {
  font-size: 14px;
  position: relative;
}

.about_profile_item:not(:first-child)::before {
  content: "";
  width: 1px;
  height: 50px;
  background: var(--black-color);
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.about_profile_contents {
  margin-top: 40px;
  max-width: 550px;
  margin-right: auto;
  margin-left: auto;
}

.concept_info_table {
  margin: 40px auto 0;
  max-width: 560px;
}

caption {
  text-align: center;
  position: relative;
}

caption:after {
  content: "";
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 40px;
  height: 3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--accent-color03);
  border-radius: 2px;
}

/*=============================
コンセプトページ
=============================*/

.concept_concept_text {
  font-size: 20px;
  letter-spacing: 0;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .concept_concept_text {
    font-size: 32px;
  }
}

.concept_concept_text-sub {
  font-size: 14px;
  margin-top: 24px;
  letter-spacing: 0;
}
@media screen and (min-width: 768px) {
  .concept_concept_text-sub {
    margin-top: 40px;
    text-align-last: right;
    line-height: 2.1;
    font-size: 16px;
  }
}

.concept_concept_img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  max-width: 650px;
  margin: 40px auto 0;
}

.concept_concept_img {
  width: 55%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.concept_concept_img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.concept_concept_img:nth-child(2) {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.concept_concept_text__right,
.concept_concept_text-sub__right {
  text-align: right;
}

@media screen and (min-width: 768px) {
  .concept_concept_text-sub__right {
    text-align-last: left;
  }
}

.concept_concept_img-wrapper2 {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 2;
  max-width: 650px;
  margin: 40px auto 0;
}

.concept_concept_img2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.concept_access_access {
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 0;
}

.concept_map {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
  max-width: 600px;
  margin: 40px auto 0;
}

@media screen and (min-width: 768px) {
  .concept_map {
    margin-top: 60px;
  }
}

.concept_map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

.concept_access_text {
  margin-top: 40px;
  text-align: center;
}

.concept_access_img-wrapper {
  max-width: 580px;
  aspect-ratio: 1 / 1;
  position: relative;
  margin: 40px auto 0;
}

.concept_access_img {
  width: 70%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.concept_access_img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.concept_access_img:nth-child(2) {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.concept_info_th {
  width: 90px;
  padding: 45px 0 45px 20px;
  position: relative;
  font-size: 15px;
}

@media screen and (min-width: 700px) {
  .concept_info_th {
    width: 120px;
  }
}

.concept_info_td {
  font-size: 14px;
  padding: 45px 20px 45px 30px;
}

.concept_info_tr {
  border-bottom: 1px solid var(--sub-color);
  background: #fafafa;
}
.concept_info_tr:last-child {
  border-bottom: none;
}

/*=============================
リフトアップのページ
=============================*/

.lift-up_section {
  background: url(../img/gray-bg.webp);
}

@media screen and (min-width: 900px) {
  .lift-up_menu_card {
    width: 800px;
    max-width: 800px;
  }

  .lift-up_menu_card::before {
    display: none;
  }

  .lift-up_menu_card-fb {
    margin-top: 60px;
    display: flex;
    gap: 40px;
    justify-content: center;
  }

  .lift-up_menu_card-img-wrapper {
    margin: 0;
    width: 300px;
    height: 300px;
    max-width: 300px;
  }

  .lift-up_menu_card-list {
    margin-top: 0;
  }

  .lift-up_menu_card-price1 {
    font-size: 24px;
    margin-top: 60px;
    font-weight: bold;
  }

  .lift-up_menu_card-price1::before {
    content: "";
    width: 120px;
    height: 4px;
    background: var(--red-color);
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%) rotate(-15deg);
  }

  .lift-up_menu_card-price {
    margin-top: 40px;
    margin-right: 100px;
    margin-bottom: 40px;
    font-size: 32px;
  }
}

.lift-up_lift-up_limited-box {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lift-up_lift-up_limited-text {
  font-size: 20px;
  font-weight: bold;
  position: relative;
}

.lift-up_lift-up_limited-text::before {
  content: "";
  width: 80px;
  height: 50px;
  position: absolute;
  bottom: 90%;
  right: 90%;
  background: url(../img/kyoutyou.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  rotate: -45deg;
}

.lift-up_lift-up_limited-text::after {
  content: "";
  width: 80px;
  height: 50px;
  position: absolute;
  top: 90%;
  left: 90%;
  background: url(../img/kyoutyou.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  rotate: 135deg;
}

.top_menu_text__limited {
  font-size: 15px;
  text-align: center;
}

@media screen and (min-width: 900px) {
  .top_menu_text__limited {
    font-size: 18px;
  }
}

.limited_menu_card-price1::before {
  left: -10px;
}

.top_menu_df-box__limited {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
}

.top_menu_price-text__limited {
  padding: 8px 16px;
  border: 1px solid var(--primary-color);
  display: inline-block;
  border-radius: 50vh;
  background: var(--primary-color);
  font-weight: bold;
  color: var(--white-color);
  text-align: center;
}

.top_menu_card-price-box {
  position: relative;
  text-align: center;
}

.top_menu_card-price-box .top_menu_card-price1 {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
}

.top_menu_card-price__red {
  font-size: 28px;
  font-weight: bold;
  white-space: nowrap;
  padding-right: 10px;
}

.top_menu_df-box__red {
  position: relative; /* 擬似要素の基準 */
  background: url(../img/gold.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 32px;
}

/* 真上・左右中央に下向き矢印 */
.top_menu_df-box__red::before {
  content: "\f175"; /* fa-arrow-down-long */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%); /* 真上に持ち上げる */
  font-size: 40px; /* サイズ調整 */
  line-height: 1;
  color: var(--red-color); /* 好きな色に */
  pointer-events: none; /* クリック邪魔しない */
}

.top_menu_card-price__red span {
  font-size: 12px;
}

.top_menu_img__limited {
  position: absolute;
  width: 80px;
  height: 80px;
  top: -50%;
  left: 90%;
}

.lift-up_lift-up_2nd {
  padding: 8px;
  border: 1px solid var(--sub-color);
  background: #fff;
}

@media screen and (min-width: 900px) {
  .lift-up_lift-up_2nd {
    max-width: 800px;
    margin-top: 60px;
  }
}

.lift-up_lift-up_2nd div {
  top: -26px;
  display: inline-block;
  left: 0;
  justify-content: center;
  margin: 0;
  color: var(--sub-color);
}

.lift-up_lift-up_2nd div::before {
  display: none;
}

.lift-up_lift-up_2nd ul {
  margin-top: 0;
  flex-direction: row;
}
.lift-up_lift-up_2nd li {
  padding: 8px;
}
.m_campaign_list {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 840px) {
  .m_campaign_list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: calc(400px * 2 + 40px);
  }
}
.campaign_post_item {
  background: var(--white-color);
  border-bottom: none;
  width: 100%;
}

.campaign_post_thumb-wrapper{
  width: 100%;
  aspect-ratio: 4 / 3;
}

@media screen and (min-width: 768px) {
  .campaign_post_item {
    max-width: 380px;
    margin-top: 0;
  }
}

.reserve_btn_box {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.reserve_facial_body {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .reserve_body_fb {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
}

.reserve.top_section_body {
  padding: 24px;
  background: var(--white-color);
}
/* -------FAq---------- */

.service_faq {
  background: var(--gray-color02);
}

.service_faq_wrapper {
  margin-top: 40px;
}

.service_faq_button {
  background: var(--white-color);
  width: 100%;
  box-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16);
  padding: 32px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .service_faq_button {
    padding: 32px 24px 32px 64px;
  }
}

.service_faq_button:not(:first-child) {
  margin-top: 16px;
}

.service_faq_content {
  display: flex;
}

.service_faq_icon {
  font-size: 14px;
  font-weight: bold;
  padding-right: 16px;
}

.service_faq_icon__q {
  color: var(--primary-color);
}

.service_faq_icon__a {
  color: var(--red-color);
}

.service_faq_txt {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  margin-right: 16px;
}

@media screen and (min-width: 1080px) {
  .service_faq_txt {
    font-size: 16px;
  }
}

.service_faq_mark {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.service_faq_mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 100%;
  background: var(--black-color);
}

.service_faq_mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2px;
  background: var(--black-color);
}

/* ---------- .case_section ---------- */

.case_section:nth-of-type(2n) {
  background: var(--gray-color02);
}

@media screen and (min-width: 1200px) {
  .case_section-inner {
    display: flex;
    justify-content: space-between;
    max-width: var(--content-width-lg);
    margin: 0 auto;
  }
}

@media screen and (min-width: 1200px) {
  .case_section:nth-child(2n-1) .case_section-inner {
    flex-direction: row-reverse;
  }
}

.case_section_wrapper {
  max-width: var(--content-width-sm);
  margin: 0 auto;
}

@media screen and (min-width: 1200px) {
  .case_section_wrapper {
    max-width: 520px;
    margin: 0;
  }
}

.case_section_img {
  max-width: var(--content-width);
}

.case_section_content {
  width: 92%;
  max-width: var(--content-width);
  margin: 30px auto 0;
}

@media screen and (min-width: 1200px) {
  .case_section_content {
    width: 50%;
    margin: 0;
  }
}

.case_section_title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 40px;
}

@media screen and (min-width: 1200px) {
  .case_section_title {
    font-size: 24px;
    margin-top: 24px;
  }
}

.case_section_txt {
  margin-top: 40px;
}

@media screen and (min-width: 1200px) {
  .case_section_txt {
    margin-top: 24px;
  }
}

/*=============================
ブログページ
=============================*/
.c-pagination {
  margin-top: 40px;
}

.c-pagination__list {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* WP互換：page-numbers に寄せてスタイル */
.c-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;

  border: 1px solid #ccc;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

/* 現在ページ */
.c-pagination .page-numbers.current {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* dots */
.c-pagination .page-numbers.dots {
  border: none;
  min-width: auto;
  padding: 0 6px;
}

/* prev / next */
.c-pagination .page-numbers.prev,
.c-pagination .page-numbers.next {
  padding: 0 16px;
}

/* ---------- .single-info ---------- */

.single_post_title {
  font-size: 24px;
}

.single_post_text {
  margin-top: 40px;
}
@media screen and (min-width: 1200px) {
  .single-case_section_content {
    margin-top: 48px;
  }
}

.single-case_section_img {
  height: 300px;
  object-fit: cover;
  transition: 0.3s;
}

@media screen and (min-width: 1200px) {
  .single-case_section_img {
    height: 465px;
  }
}

.single-case_section_title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 40px;
}

.single-case_section_txt-content {
  margin-top: 40px;
}

.single-case_section_txt-content p:not(:first-child) {
  margin-top: 40px;
}

.single_post_content {
  max-width: 500px;
  margin: 40px auto 0;
}

.single_post_thumb-wrapper {
  max-width: 400px;
  height: 300px;
  margin: 40px auto 0;
}

.single_post_text {
  max-width: 600px;
  margin: 40px auto 0;
}
/* ---------- contact ---------- */

.contact_navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact_navigation_link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 270px;
  padding: 1em 2em;
  border: 1px solid #e7e7e7;
  border-radius: 25px;
  box-shadow:
    6px 6px 12px #c5c5c5,
    -6px -6px 12px #fff;
  background-color: var(--white-color);
  color: var(--black-color);
  font-weight: 600;
}

.contact_navigation_link:hover {
  box-shadow:
    inset 4px 4px 12px #c5c5c5,
    inset -4px -4px 12px #fff;
}

.contact_contact_line {
  margin: 40px auto 0;
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  background: var(--gray-color);
  padding: 28px 16px;
}

.contact_contact_line-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.contact_contact_line-svg-wrapper {
  width: 60px;
  height: 60px;
}

.contact_contact_line-svg {
  width: 100%;
  height: 100%;
}

.contact_contact_line-text {
  text-align: center;
}

.contact_contact_line-img-wrapper {
  width: 270px;
  margin: 32px auto 0;
  animation: zoomLoop 1.8s ease-in-out infinite;
}

@keyframes zoomLoop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* 少しだけ拡大 */
  }
  100% {
    transform: scale(1);
  }
}

.contact_contact_text {
  text-align: center;
  margin-top: 40px;
}

.contact_contact_line-small {
  display: block;
  font-size: 12px;
  margin-top: 24px;
  text-align: center;
}

/* ------form------- */

.contact_form_list {
  margin-top: 40px;
}

.contact_form_heading {
  font-weight: bold;
  position: relative;
}

.contact_form_heading:not(:first-child) {
  margin-top: 40px;
}

.contact_form_example {
  color: var(--sub-color);
  font-size: 12px;
  font-weight: normal;
  margin-left: 16px;
}

.contact_form_detail {
  margin-top: 16px;
}

.contact_form_input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--gray-color);
  border-radius: 4px;
  padding: 0 8px;
}

.contact_form_required {
  font-size: 12px;
  font-weight: bold;
  padding: 0 8px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--sub-color);
  color: var(--white-color);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.contact_form_label {
  font-size: 14px;
  font-weight: bold;
  padding-left: 16px;
}

.contact_form_textarea {
  width: 100%;
  height: 250px;
  border: 1px solid var(--gray-color);
  border-radius: 4px;
  padding: 8px 16px;
  resize: none;
}

.contact_form_privacy-wrapper {
  font-size: 14px;
  font-weight: bold;
  margin-top: 43px;
  text-align: center;
}

.contact_form_privacy-link {
  color: var(--accent-color03);
  margin-left: 16px;
  text-decoration: underline;
  text-decoration-thickness: 2px; /* 太さ */
  text-underline-offset: 3px; /* 文字との距離 */
  text-decoration-color: var(--accent-color03); /* 任意の色 */
}

.contact_form_btn-wrapper {
  margin-top: 60px;
}

.contact_btn_input {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 8px;
  font-weight: bold;
  font-size: 20px;
  color: var(--white-color);
    transition: opacity 0.3s, background-color 0.3s, transform 0.3s;
}

/* 未入力・未チェック時 */
.contact_btn_input:disabled {
  background: #bdbdbd;
  cursor: not-allowed;
  opacity: 0.7;
}

/* 入力完了後だけhover */
.contact_btn_input:not(:disabled):hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* チェックボックスデザイン */
input[type="checkbox"] {
  cursor: pointer;
  padding-left: 30px; /*label手前にチェックボックス用の余白を開ける*/
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"]::before,
input[type="checkbox"]::after {
  content: "";
  display: block;
  position: absolute;
}

input[type="checkbox"]::before {
  background-color: #fff;
  border-radius: 0%;
  border: 2px solid var(--gray-color);
  width: 24px; /*チェックボックスの横幅*/
  height: 24px; /*チェックボックスの縦幅*/
  transform: translateY(-50%);
  top: 50%;
  left: 5px;
  border-radius: 4px;
}

/* フォーカスが当たっている時のデザインを追加 */
input[type="checkbox"]:focus-visible::before {
  border-color: blue;
}

input[type="checkbox"]::after {
  border-bottom: 3px solid var(--white-color); /*チェックの太さ*/
  border-left: 3px solid var(--white-color); /*チェックの太さ*/
  opacity: 0; /*チェック前は非表示*/
  height: 10px; /*チェックの高さ*/
  width: 17px; /*チェックの横幅*/
  transform: rotate(-45deg);
  top: -7px; /*チェック時の位置調整*/
  left: 9px; /*チェック時の位置調整*/
}

input[type="checkbox"]:checked::before{
  background-color: var(--primary-color);
}

input[type="checkbox"]:checked::after {
  opacity: 1; /*チェック後表示*/
}


/* ---------- privacy ---------- */
.privacy h2 {
  font-weight: bold;
  font-size: 18px;
}

.privacy h2:not(:first-child) {
  margin-top: 40px;
}

.privacy p {
  margin-top: 24px;
  font-size: 14px;
}

/* ---------- js ---------- */
.js_body.is-active {
  overflow: hidden;
}

.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.js_navigation.is-active {
  opacity: 1;
  pointer-events: auto;
}

.js_school-swiper {
  position: relative;
  overflow: hidden; /* ★ これが一番効く */
}

.js_staff_mark.is-open::before,
.js_staff_mark.is-open::after {
  top: 2px;
  transform: translate(-50%) rotate(180deg);
}

.js_faq_mark.is-open::before {
  opacity: 0;
}

.js_staff-a {
  height: 0;
  opacity: 0;
  visibility: hidden;
}

.js_faq-a {
  height: 0;
  opacity: 0;
  visibility: hidden;
}

.staff_card_content__a {
  margin-top: 0;
  transition: 0.3s;
}

.js_staff.is-active .service_faq_content__a {
  margin-top: 40px;
}

.js_faq.is-active .service_faq_content__a {
  margin-top: 40px;
}

.js_reserve_img-wrapper,
.js_reserve_img-wrapper-sub {
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
}

.js_reserve_img-link {
  display: block;
  border-radius: 100%;
}

/* WordPressにすることによって必要なスタイル */

.error404-wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  text-align: center;
  padding: 20px;
}

.error404-title {
  font-size: 28px;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 16px;
  white-space: nowrap;
}

.error404-desc {
  margin-top: 12px;
  font-size: 16px;
  color: #555;
  font-family: var(--shippori-serif);
}

.error404-btn {
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  font-weight: bold;
}

.error404-btn:hover {
  background: #555;
}

/* 点滅するカーソル */
#typing-text::after {
  content: "|";
  margin-left: 4px;
  opacity: 1;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* 404.php */
.notfound_txt {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

/* contact form */
.wpcf7-radio {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1080px) {
  .wpcf7-radio {
    flex-direction: row;
  }
}

.wpcf7-radio .wpcf7-list-item {
  margin-top: 24px;
}

.wpcf7-radio .wpcf7-list-item:not(:first-child) {
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .wpcf7-radio .wpcf7-list-item {
    margin: 24px 40px 0 0;
  }
}

@media screen and (min-width: 1080px) {
  .wpcf7-radio .wpcf7-list-item:not(:first-child) {
    margin-top: 24px;
  }
}

.wpcf7-radio .wpcf7-list-item label {
  appearance: radio;
  display: flex;
  align-items: center;
}

.wpcf7-radio .wpcf7-list-item input[type="radio"] {
  appearance: radio;
}

.wpcf7-list-item-label {
  font-size: 12px;
  font-weight: bold;
  padding-left: 10px;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-acceptance + .contact_form_privacy-link {
  margin: 0;
}

.btox_main {
  max-width: 400px;
  margin: 0 auto;
}

.btox_main_wrapper{
  background: var(--gray-color);
}

.btox_title {
  padding: 120px 0 80px;
  font-size: 38px;
  text-align: center;
  font-weight: bold;
  position: relative;
  background: linear-gradient(transparent 50%, var(--accent-color) 100%);
}

.btox_title::before,
.btox_title::after {
  content: "";
  width: 90%;
  height: 2px;
  background: var(--primary-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.btox_title::before {
  top: 120px;
}

.btox_title::after {
  bottom: 80px;
}

.btox_nav {
  margin-top: 40px;
}

.btox_nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.btox_nav-item {
  padding: 10px 14px;
  border: 1px solid #ccc;
  background: linear-gradient(45deg, #b67b03 0%, #daaf08 45%, #fee9a0 70%, #daaf08 85%, #b67b03 90% 100%);
  border-radius: 10px;
  cursor: pointer;
  width: 80%;
  text-align: center;
  font-size: 20px;
}

.btox_footer {
  max-width: 400px;
  margin: 0 auto;
}

.btox_footer .l_footer_list {
  flex-direction: column;
}
