/*========================================================================
  1. リセット（Normalize/Lite版）
========================================================================*/
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*========================================================================
  2. カスタムプロパティ（CSS変数）の定義
========================================================================*/
:root {
  /* 元のテーマ変数 */
  --primary: #FE5D37;
  --light:   #FFF5F3;
  --dark:    #103741;

  /* 拡張テーマ変数 */
  --color-primary:       var(--primary);
  --color-primary-light: #1978d2;
  --color-secondary:     var(--light);
  --color-text:          var(--dark);
  --color-bg:            #ffffff;

  /* タイポグラフィ */
  --font-base:       16px;
  --font-family-sans: 'Helvetica Neue', Arial, sans-serif;

  /* スペーシング */
  --spacing-xs: 0.25rem;  /* 4px */
  --spacing-sm: 0.5rem;   /* 8px */
  --spacing-md: 1rem;     /* 16px */
  --spacing-lg: 2rem;     /* 32px */
  --spacing-xl: 3rem;     /* 48px */
}

/********** Template CSS **********/

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}


/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}


/*** Button ***/
.btn {
  font-weight: 500;
  transition: .5s;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: 'Lobster Two', cursive;
  font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
  font-weight: 600;
}

.font-secondary {
  font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
  padding: 30px 15px;
  color: var(--dark);
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.sticky-top {
  top: -100px;
  transition: .5s;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
  transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link  {
      margin-right: 0;
      padding: 10px 0;
  }

  .navbar .navbar-nav {
      margin-top: 15px;
      border-top: 1px solid #EEEEEE;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
      display: block;
      top: calc(100% - 15px);
      margin-top: 0;
      opacity: 0;
      visibility: hidden;
      transition: .5s;
      
  }

  .navbar .nav-item:hover .dropdown-menu {
      top: 100%;
      visibility: visible;
      transition: .5s;
      opacity: 1;
  }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
  top: 0;
  left: 0;
  background: url(../img/bg-header-top.png) center center repeat-x;
  z-index: 1;
}

.header-carousel::after,
.page-header::after {
  height: 19px;
  top: auto;
  bottom: 0;
  background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
      position: relative;
      min-height: 500px;
  }
  
  .header-carousel .owl-carousel-item img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
      font-size: 16px !important;
      font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
      font-size: 30px;
      font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #FFFFFF;
  border-radius: 45px;
  font-size: 22px;
  transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/bg-header-image.png) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
  position: relative;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-item .facility-icon::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, .9);
  transition: .5s;
  z-index: 1;
}

.facility-item .facility-icon span {
  position: absolute;
  content: "";
  width: 15px;
  height: 30px;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
  left: auto;
  right: 0;
}

.facility-item .facility-icon i {
  position: relative;
  z-index: 2;
}

.facility-item .facility-text {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border-radius: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

.facility-item .facility-text::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, .9);
  transition: .5s;
  z-index: 1;
}

.facility-item .facility-text * {
  position: relative;
  z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
  background: transparent;
}

.facility-item * {
  transition: .5s;
}

.facility-item:hover * {
  color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
  transition: .5s;
}

.about-img img:hover {
  background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
  transition: .5s;
}

.classes-item:hover {
  margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
  position: absolute;
  width: 250px;
  height: 250px;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #FFFFFF;
  border: 17px solid var(--light);
  border-radius: 250px;
  transition: .5s;
}

.team-item:hover .team-text {
  border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 576px) {
  .testimonial-carousel {
      padding-left: 4rem;
      padding-right: 4rem;
  }
}

.testimonial-carousel .testimonial-item .border {
  border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 45px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: var(--primary);
  border-radius: 45px;
  font-size: 20px;
  transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 45px;
  transition: .3s;
}

.footer .btn.btn-social:hover {
  border-color: var(--primary);
  background: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary) !important;
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: #FFFFFF;
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
  color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/*** おもちとこもち ***/
.omo-fixed {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 9999;
width: 250px; /* お好みでサイズ調整 */
cursor: pointer;
transition: transform 0.3s;
}

.omo-fixed:hover {
transform: scale(1.05);
}

.omo-fixed img {
width: 100%;
height: auto;
display: block;
}

/* ▼スマホサイズの時にだけ小さくする！ */
@media (max-width: 576px) {
.omo-fixed {
  width: 120px; /* スマホ用に小さく */
  bottom: 15px;
  right: 15px;
}
}

/*** Topbr ***/
.topbar {
background-color: color-mix(in srgb, var(--primary) 90%, black 10%);
height: 40px;
padding: 0;
font-size: 14px;
transition: all 0.5s;
}

.topbar .contact-info i {
font-style: normal;
color: var(--light);
}

.topbar .contact-info i a,
.topbar .contact-info i span {
padding-left: 5px;
color: var(--light);
}

@media (max-width: 575px) {

.topbar .contact-info i a,
.topbar .contact-info i span {
  font-size: 13px;
}
}

.topbar .contact-info i a {
line-height: 0;
transition: 0.3s;
}

.topbar .contact-info i a:hover {
color: var(--dark);
text-decoration: underline;
}

.topbar .social-links a {
color: color-mix(in srgb, var(--light), transparent 40%);
line-height: 0;
transition: 0.3s;
margin-left: 20px;
}

.topbar .social-links a:hover {
color: var(--dark);
}

/*** footer custom ***/
/* --- フッター共通スタイル --- */
.footer-custom .container {
max-width: 900px;
}

.footer-logo {
max-height: 150px;
display: block;
margin: 0 auto;
}

.footer-company-info p {
margin: 0 0 5px 0;
font-size: 14px;
color: #adb5bd;
}

.footer-company-info a {
color: #adb5bd;
text-decoration: none;
}

.footer-company-info a:hover {
color: var(--primary);
}

/* SNSリンク：デスクトップは左寄せ、モバイルは中央寄せ */
.social-links {
margin-top: 10px;
display: flex;
flex-wrap: wrap;
gap: 20px;
}

.social-links a {
color: #adb5bd;
font-size: 20px;
transition: 0.3s;
}
.social-links a:hover {
color: var(--primary);
}

/* --- モバイル(576px以下)時のスタイル変更 --- */
@media (max-width: 576px) {
.footer-custom .container {
  max-width: 100%;
  text-align: center;
}

.footer-company-info p,
.footer-company-info a {
  display: inline-block;
  text-align: center;
}

.social-links {
  justify-content: center;
}
}

/*** モーダルカスタム ***/

/* モーダル全体を半透明にする */
.cute-modal .modal-dialog {
  backdrop-filter: blur(10px);
}

/* モーダル本体 */
.custom-modal-content {
  background: rgba(255, 182, 193, 0.6); /* ライトピンク半透明 */
  border-radius: 20px;
  border: 3px solid limegreen; /* ライムグリーンの縁 */
}

/* ヘッダー */
.custom-modal-header {
  background: linear-gradient(45deg, #ffb6c1, #98fb98); /* ピンクとライムグリーンのグラデーション */
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

/* ボディ */
.custom-modal-body {
  font-size: 1.1rem;
  color: limegreen;
  text-align: left; /* ←追加！ */
  padding: 2rem;
}

/* フッター */
.custom-modal-footer {
  border-top: none;
  background: transparent;
  border-radius: 0 0 20px 20px;
  justify-content: center;
}

/* 閉じるボタン */
.custom-btn-close {
  filter: invert(1); /* 白いボタンにする */
}

/* OKボタン */
.btn-cute {
  background-color: #98fb98;
  color: #ff1493;
  border: none;
  font-weight: bold;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  transition: 0.3s;
}

.btn-cute:hover {
  background-color: #ffb6c1;
  color: #32cd32;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ふわっとズームインするアニメーション */
@keyframes popIn {
  0% {
      transform: scale(0.7);
      opacity: 0;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

/* モーダルが開いた時にアニメーションをかける */
.cute-modal.show .modal-dialog {
  animation: popIn 0.4s ease-out forwards !important;
}

#courseModalImage {
max-width: 80%;   /* 横幅を80%までに制限 */
height: auto;
display: block;
margin: 0 auto 1.5rem auto; /* 中央寄せ＋下に余白 */
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
#courseModalImage {
  max-width: 90%;
}
}

/*** Coming Soon ***/

.coming-soon-badge {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-20deg);
font-size: 2.5rem;
font-weight: bold;
color: #666; /* 少し濃いグレー */
background-color: rgba(255, 255, 255, 0.95); /* ←ここ！濃くする */
padding: 0.5rem 2rem;
border: 2px dashed #aaa; /* 線も少し濃く */
z-index: 10;
pointer-events: none;
text-align: center;
opacity: 1;
}

.classes-item.soon {
opacity: 0.3; /* さらに暗め */
pointer-events: none; /* クリック無効化 */
}

.coming-soon-row {
opacity: 0.5; /* ちょうどいいグレー感 */
pointer-events: none; /* クリック無効化 */
background-color: #f8f9fa !important; /* 背景色も薄めにしておくと自然 */
}

/*** Map ***/
.map-responsive {
position: relative;
padding-bottom: 66.6%; /* 16:9比率 */
height: 0;
overflow: hidden;
border-radius: 12px;
}

.map-responsive iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}

/*** facility ***/

.facility-text h3 {
white-space: nowrap;       /* 改行しない */
font-size: 1.25rem;        /* サイズ調整（必要に応じて） */
line-height: 1.3;          /* 行の高さも適度に */
overflow-wrap: normal;     /* 単語の途中で改行しない */
}

@media (max-width: 576px) {
.facility-text h3 {
  white-space: normal;
  font-size: 1.1rem;
}
}

/*** news card ***/

.news-card .card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.news-card:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.news-card img {
  height: 160px;
  object-fit: cover;
  width: 100%;
}

.news-card .card-title {
  font-size: 0.95rem;
  line-height: 1.4;
}

.filter-btn.active {
  background-color: var(--primary);
  color: #fff;
}

.news-card {
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.news-card.show {
  opacity: 1;
  transform: translateY(0);
}

.news-card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.responsive-title {
  font-size: clamp(14px, 2vw, 20px); /* 最小14px〜最大20pxで画面幅に応じて可変 */
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* 表示する最大行数 */
  line-clamp: 2;                /* 標準プロパティ */
  -webkit-box-orient: vertical; /* 縦方向のボックス */
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge.bg-danger {
  background-color: #dc3545 !important;
}

.badge.bg-success {
  background-color: #28a745 !important;
}

.badge.bg-info {
  background-color: #17a2b8 !important;
}

@keyframes floatUpDown {
0% { transform: translateY(0); }
50% { transform: translateY(-8px); }
100% { transform: translateY(0); }
}

.fuwafuwa {
animation: floatUpDown 2.5s ease-in-out infinite;
}

@media (max-width: 576px) {
body {
  font-size: 16px; /* 最低16pxに統一 */
  line-height: 1.75;
  letter-spacing: 0.02em;
}

p {
  margin-bottom: 1.2em;
}
}

body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}

@media (max-width: 576px) {
.jp-font {
  font-family: 'YuGothic', '游ゴシック体', '游ゴシック', sans-serif !important;
}
}

.center-content {
max-width: 800px; /* 適宜調整 */
margin: 0 auto;
text-align: left; /* 見出し・本文の揃えを左寄せのままにしたい場合 */
}

.flow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px;
  overflow-x: auto;
  background-color: #fdfdfd;
  font-family: sans-serif;
}

.flow-step {
  background-color: #ffffff;
  border: 2px solid #007b7f;
  border-radius: 10px;
  padding: 20px;
  min-width: 200px;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #007b7f;
}

.flow-step:last-child::after {
  content: "";
}

.step-number {
  display: inline-block;
  background-color: #007b7f;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  margin-bottom: 10px;
}

.main-content {
flex-grow: 1;
padding: 1rem;
}
header {
text-align: center;
padding: 2rem 1rem 1rem;
}
header h1 {
font-size: 2.5rem;
margin: 0;
}
header p {
font-size: 1.2rem;
color: #666;
}
.intro, .services, .dx-section, .footer {
max-width: 800px;
margin: 0 auto;
padding: 2rem 1rem;
}
.service-buttons {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin-top: 1rem;
}
.service-buttons button {
background-color: #357e95;
color: white;
border: none;
padding: 0.8rem 1.2rem;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
}
.dx-section ul {
padding-left: 1.2rem;
}
.footer {
text-align: center;
font-size: 0.9rem;
color: #888;
border-top: 1px solid #eee;
}
@media (max-width: 768px) {
body {
  flex-direction: column;
}
.sidebar {
  width: 100%;
  padding: 0;
}
.main-content {
  padding: 0;
}
}

/*========================================================================
  4. ユーティリティクラス
========================================================================*/
/* マージン */
.u-mb-xs { margin-bottom: var(--spacing-xs) !important; }
.u-mb-sm { margin-bottom: var(--spacing-sm) !important; }
.u-mb-md { margin-bottom: var(--spacing-md) !important; }
.u-mb-lg { margin-bottom: var(--spacing-lg) !important; }

/* テキスト */
.u-text-center { text-align: center !important; }
.u-text-right  { text-align: right !important; }

/* カラー */
.u-color-primary { color: var(--color-primary) !important; }
.u-bg-secondary  { background-color: var(--color-secondary) !important; }


/*========================================================================
  5. BEMサンプルコンポーネント
========================================================================*/
.card {
  background: var(--color-secondary);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}
.card__body {
  font-size: 1rem;
}
.card--highlight {
  border: 2px solid var(--color-primary);
}


/*========================================================================
  6. ページ固有スタイル（<body class="page-xxx"> が必要）
========================================================================*/
/* トップページ */
.page-index .hero {
  height: 60vh;
  background: url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
}
.page-index .facility-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

/* コース紹介ページ */
.page-courses .course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}
@media (min-width: 768px) {
  .page-courses .course-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* おもちラボ紹介ページ */
.page-omochi .lab-intro {
  padding: var(--spacing-lg);
  background-color: var(--color-secondary);
  border-radius: 8px;
}


/*========================================================================
  7. レスポンシブ設計：モバイルファースト
========================================================================*/
/* グローバルナビ */
.nav {
  display: block;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: var(--spacing-sm);
}
.nav__list {
  list-style: none;
}
.nav__item {
  margin-bottom: var(--spacing-sm);
}
.nav__link {
  color: var(--color-bg);
}
@media (min-width: 768px) {
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav__item {
    margin: 0 var(--spacing-md);
  }
}

/*========================================================================
  8. モーダルなど共通コンポーネント
========================================================================*/
.custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  visibility: hidden;
  background: var(--color-bg);
  padding: var(--spacing-lg);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}
.custom-modal--open {
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
}
.custom-modal__header {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}
.custom-modal__body {
  font-size: 1rem;
}
.custom-modal__close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}


/*========================================================================
  9. フッター
========================================================================*/
.footer {
  background: var(--color-primary);
  color: var(--color-bg);
  text-align: center;
  padding: var(--spacing-md) 0;
  font-size: 0.875rem;
}


.experience-list {
  max-width: 600px;
}

.experience-list .check {
  color: #3c3c3c;
  margin-right: 0.5em;
  font-weight: bold;
}
.header-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.header-swiper .swiper-slide {
  position: relative;
  min-height: 500px;
}

.header-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.header-swiper .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
}

.header-swiper .swiper-button-prev,
.header-swiper .swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.header-swiper .swiper-button-prev:hover,
.header-swiper .swiper-button-next:hover {
  background: var(--primary);
}

@media (max-width: 576px) {
  .header-swiper {
    height: 70vh;
  }
  .swiper-slide h1 {
    font-size: 1.5rem;
  }
  .swiper-slide p {
    font-size: 1rem;
  }
}

.instagram-gallery {
  width: 100%;
  padding-bottom: var(--spacing-md);
}

.instagram-gallery .swiper-slide {
  text-align: center;
}

.instagram-gallery img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  max-height: 300px;
  transition: transform 0.3s ease;
}

.instagram-gallery img:hover {
  transform: scale(1.03);
}

.instagram-gallery .swiper-button-prev,
.instagram-gallery .swiper-button-next {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

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


.free-trial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 10rem;
  background: linear-gradient(45deg, #FF7E00 0%, #FF0000 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

/* ホバー時にちょっと大きく */
.free-trial-btn:hover {
  transform: scale(1.2);
}

/* 脈打つアニメーション */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}