/* CSSファイルの文字コードを指定 */
@charset "UTF-8";

/* ========================================
  ①-1 基本設定：Basic setting : RESET
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================================
①-2 基本設定：Basic setting : BASE STYLES
======================================== */
body {
  font-family: 'Helvetica Neue', 'Arial', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  background-image: url('images/background_pattern.png');
  background-repeat: repeat;
  background-position: 0 0;
  color: #000000;
}

/* ========================================
①-3 基本設定：Smooth Scroll
======================================== */
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ========================================
  ② Navigation Menu
======================================== */
:root {
  --nav-h: 40px; /* ロゴ48px + 上下の余白（半分に） */
  --c-green: #0F9403;
  --c-accent: #58E1F3;
}

/* ナビゲーションメニュー本体 */
.navigation_menu {
  position: relative;
  width: 100%;
}

.navigation_menu__wrapper {
  position: fixed;
  inset: 0 auto auto 0;
  height: var(--nav-h);
  width: 100%;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  background: #2a2a2a30;
  backdrop-filter: blur(4px);
}

/* 左：ロゴ */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navigation_menu__logo {
  display: flex;
  align-items: center;
}

.navigation_menu__logo img {
  height: 32px;
  width: 32px;
  display: block;
  object-fit: contain;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.navigation_menu__logo img:hover {
  filter: brightness(1.22);
  transform: scale(1.015);
}

.logo-link {
  display: block;
  text-decoration: none;
}

/* 中央：ナビリンク群 */
.navigation_text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-left: 0;
}

.navigation_text a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.18s ease, transform 0.18s ease;
}

.navigation_text a:hover {
  color: #ffffff;
  opacity: 0.8;
  transform: scale(1.05);
}

.navigation_text a.active {
  color: #ffffff;
}

/* ========================================
  ③ Main Visual
======================================== */
.main_visual {
  width: 100%;
  padding-inline: 0;
  margin-top: 0;
}

.main_visual__image {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.main_visual__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Main Visual テキスト（動画終了後に表示） */
.main_visual__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.main_visual__text.show {
  opacity: 1;
  animation: floatUp 1.5s ease-out forwards, float 3s ease-in-out 1.5s infinite;
}

.main_visual__title {
  font-size: 64px;
  font-family: 'Pattaya', sans-serif;
  font-weight: 400;
  color: #EA145F;
  margin: 0 0 16px 0;
  -webkit-text-stroke: 10px #ffffff;
  text-shadow: 
    -10px -10px 0 #ffffff,
    -10px 10px 0 #ffffff,
    10px -10px 0 #ffffff,
    10px 10px 0 #ffffff,
    -10px 0 0 #ffffff,
    10px 0 0 #ffffff,
    0 -10px 0 #ffffff,
    0 10px 0 #ffffff,
    0 0 10px #ffffff,
    0 4px 20px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  paint-order: stroke fill;
}

.main_visual__subtitle {
  font-size: 64px;
  font-family: 'Pattaya', sans-serif;
  font-weight: 400;
  color: #EA145F;
  margin: 0;
  -webkit-text-stroke: 10px #ffffff;
  text-shadow: 
    -10px -10px 0 #ffffff,
    -10px 10px 0 #ffffff,
    10px -10px 0 #ffffff,
    10px 10px 0 #ffffff,
    -10px 0 0 #ffffff,
    10px 0 0 #ffffff,
    0 -10px 0 #ffffff,
    0 10px 0 #ffffff,
    0 0 10px #ffffff,
    0 4px 20px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  paint-order: stroke fill;
}

/* 浮かび上がるアニメーション */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ゆらゆら揺れるアニメーション */
@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

/* ========================================
  ④ About
======================================== */
.about {
  max-width: 1200px;
  width: 100%;
  margin: 100px auto;
  padding: 80px 16px;
  background-color: #ffffff;
  background-image: none;
  border-radius: 16px;
}

.about__content {
  max-width: 1000px;
  margin: 0 auto;
}

.about__section {
  margin-bottom: 60px;
}

.about__section--with-image {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__content-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about__image-wrapper {
  width: 50%;
  flex-shrink: 0;
}

.about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.about__title {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 24px 0;
  line-height: 1.4;
  text-align: left;
}

.about__title:not(:first-child) {
  margin-top: 60px;
}

.about__text {
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
  margin: 0 0 40px 0;
}

.about__content-row .about__text {
  width: 50%;
  margin: 0;
}

/* ========================================
  ⑤ Schedule
======================================== */
.schedule {
  max-width: 1200px;
  width: 100%;
  margin: 100px auto;
  padding: 80px 16px;
  background-color: #f8f8f8;
  background-image: none;
  border-radius: 16px;
}

.schedule__content {
  max-width: 1000px;
  margin: 0 auto;
}

.schedule__title {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 40px 0;
  text-align: center;
  line-height: 1.4;
}

.schedule__calendar {
  width: 100%;
  position: relative;
  padding-bottom: 75%; /* アスペクト比を維持（4:3） */
  height: 0;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.schedule__calendar iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
  ⑥ News / Blog
======================================== */
.news {
  max-width: 1200px;
  width: 100%;
  margin: 100px auto;
  padding: 80px 16px;
  background-color: #ffffff;
  background-image: none;
  border-radius: 16px;
}

.news__content {
  max-width: 1000px;
  margin: 0 auto;
}

.news__title {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 40px 0;
  text-align: left;
  line-height: 1.4;
}

.news__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.news__list {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex: 1;
  overflow: visible;
}

.news__list::-webkit-scrollbar {
  height: 6px;
}

.news__list::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.news__list::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}

.news__list::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.news__item {
  flex: 0 0 auto;
  width: 320px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news__item--center {
  width: 480px;
  transform: scale(1);
}

.news__item--center .news__headline {
  font-size: 28px;
}

.news__item--center .news__excerpt {
  font-size: 16px;
}

.news__item--center .news__content-wrapper {
  padding: 32px;
}

.news__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.news__content-wrapper {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news__date {
  display: block;
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
  font-weight: 400;
}

.news__headline {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 12px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news__item:hover .news__headline {
  color: #EA145F;
}

.news__excerpt {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.news__thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.news__arrow {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 32px;
  font-weight: 300;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.news__arrow:hover {
  background: #EA145F;
  border-color: #EA145F;
  color: #ffffff;
  transform: scale(1.1);
}

.news__arrow:active {
  transform: scale(0.95);
}

.news__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.news__arrow:disabled:hover {
  background: #ffffff;
  border-color: #e0e0e0;
  color: #333333;
  transform: scale(1);
}

.news__loading,
.news__empty,
.news__error {
  text-align: center;
  padding: 40px 20px;
  color: #666666;
  font-size: 16px;
  width: 100%;
}

/* ========================================
  ⑦ Footer
======================================== */
.footer {
  width: 100%;
  background-color: #ffffff;
  background-image: none;
  position: relative;
}

/* 全幅の「トップへ戻る」ボタン */
.footer-backtotop {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.footer-backtotop:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.footer-backtotop__icon {
  width: 40px;
  height: 40px;
  display: block;
  filter: brightness(0);
  transition: transform 0.3s ease;
}

.footer-backtotop:hover .footer-backtotop__icon {
  transform: translateY(-3px);
}

.footer__content {
  padding: 40px 16px;
  text-align: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 30px 0;
}

.footer__instagram {
  width: 40px;
  height: 40px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer__instagram:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer__copyright {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.footer__copyright p {
  font-size: 14px;
  color: #666666;
  margin: 0;
  line-height: 1.6;
}

/* ========================================
  ⑥ Media Queries（レスポンシブ対応）
======================================== */

/* ---------- 1024px以下（タブレット） ---------- */
@media (max-width: 1024px) {
  .navigation_menu__wrapper {
    padding: 0 16px;
  }

  .navigation_text {
    gap: 30px;
  }

  .navigation_text a {
    font-size: 16px;
  }

  .about {
    padding: 60px 16px;
  }

  .about__title {
    font-size: 28px;
  }

  .about__text {
    font-size: 15px;
  }

  .about__section--with-image {
    gap: 20px;
  }

  .about__content-row {
    flex-direction: column;
    gap: 20px;
  }

  .about__image-wrapper {
    width: 100%;
  }

  .about__text {
    width: 100%;
  }

  .about__content-row .about__text {
    width: 100%;
  }

  .schedule {
    padding: 60px 16px;
  }

  .schedule__title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .schedule__calendar {
    padding-bottom: 100%; /* スマホでは縦長に */
  }

  .news {
    padding: 60px 16px;
  }

  .news__title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .news__carousel {
    gap: 15px;
  }

  .news__arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .news__item {
    width: 280px;
  }

  .news__item--center {
    width: 360px;
  }

  .news__item--center .news__headline {
    font-size: 24px;
  }

  .news__item--center .news__excerpt {
    font-size: 15px;
  }

  .news__item--center .news__content-wrapper {
    padding: 24px;
  }

  .main_visual__title {
    font-size: 48px;
    -webkit-text-stroke: 8px #ffffff;
    text-shadow: 
      -8px -8px 0 #ffffff,
      -8px 8px 0 #ffffff,
      8px -8px 0 #ffffff,
      8px 8px 0 #ffffff,
      -8px 0 0 #ffffff,
      8px 0 0 #ffffff,
      0 -8px 0 #ffffff,
      0 8px 0 #ffffff,
      0 0 8px #ffffff,
      0 4px 20px rgba(0, 0, 0, 0.8);
  }

  .main_visual__subtitle {
    font-size: 48px;
    -webkit-text-stroke: 8px #ffffff;
    text-shadow: 
      -8px -8px 0 #ffffff,
      -8px 8px 0 #ffffff,
      8px -8px 0 #ffffff,
      8px 8px 0 #ffffff,
      -8px 0 0 #ffffff,
      8px 0 0 #ffffff,
      0 -8px 0 #ffffff,
      0 8px 0 #ffffff,
      0 0 8px #ffffff,
      0 4px 20px rgba(0, 0, 0, 0.8);
  }
}

/* ---------- 768px以下（スマホ横・タブレット小） ---------- */
@media (max-width: 768px) {
  :root {
    --nav-h: 35px;
  }

  .navigation_menu__logo img {
    height: 28px;
    width: 28px;
  }

  .navigation_menu__wrapper {
    grid-template-columns: auto 1fr;
    padding: 0 12px;
    gap: 12px;
  }

  .navigation_text {
    gap: 20px;
    flex-wrap: wrap;
  }

  .navigation_text a {
    font-size: 14px;
  }

  .main_visual__title {
    font-size: 36px;
    -webkit-text-stroke: 6px #ffffff;
    text-shadow: 
      -6px -6px 0 #ffffff,
      -6px 6px 0 #ffffff,
      6px -6px 0 #ffffff,
      6px 6px 0 #ffffff,
      -6px 0 0 #ffffff,
      6px 0 0 #ffffff,
      0 -6px 0 #ffffff,
      0 6px 0 #ffffff,
      0 0 6px #ffffff,
      0 4px 20px rgba(0, 0, 0, 0.8);
  }

  .main_visual__subtitle {
    font-size: 36px;
    -webkit-text-stroke: 6px #ffffff;
    text-shadow: 
      -6px -6px 0 #ffffff,
      -6px 6px 0 #ffffff,
      6px -6px 0 #ffffff,
      6px 6px 0 #ffffff,
      -6px 0 0 #ffffff,
      6px 0 0 #ffffff,
      0 -6px 0 #ffffff,
      0 6px 0 #ffffff,
      0 0 6px #ffffff,
      0 4px 20px rgba(0, 0, 0, 0.8);
  }

  .about {
    padding: 50px 12px;
  }

  .about__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .about__title:not(:first-child) {
    margin-top: 50px;
  }

  .about__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .about__section--with-image {
    gap: 16px;
  }

  .about__content-row {
    flex-direction: column;
    gap: 16px;
  }

  .about__image-wrapper {
    width: 100%;
  }

  .about__text {
    width: 100%;
  }

  .about__content-row .about__text {
    width: 100%;
  }

  .schedule {
    padding: 50px 12px;
  }

  .schedule__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .schedule__calendar {
    padding-bottom: 120%; /* より縦長に */
  }

  .news {
    padding: 50px 12px;
  }

  .news__title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .news__carousel {
    gap: 10px;
  }

  .news__arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .news__item {
    width: 240px;
  }

  .news__item--center {
    width: 300px;
  }

  .news__item--center .news__headline {
    font-size: 20px;
  }

  .news__item--center .news__excerpt {
    font-size: 14px;
  }

  .news__item--center .news__content-wrapper {
    padding: 20px;
  }
}

/* ---------- 480px以下（スマホ縦） ---------- */
@media (max-width: 480px) {
  :root {
    --nav-h: 30px;
  }

  .navigation_menu__logo img {
    height: 24px;
    width: 24px;
  }

  .navigation_menu__wrapper {
    padding: 0 8px;
    gap: 8px;
  }

  .navigation_text {
    gap: 15px;
  }

  .navigation_text a {
    font-size: 12px;
  }

  .footer-backtotop {
    padding: 15px;
  }

  .footer-backtotop__icon {
    width: 32px;
    height: 32px;
  }

  .main_visual__title {
    font-size: 28px;
    -webkit-text-stroke: 5px #ffffff;
    text-shadow: 
      -5px -5px 0 #ffffff,
      -5px 5px 0 #ffffff,
      5px -5px 0 #ffffff,
      5px 5px 0 #ffffff,
      -5px 0 0 #ffffff,
      5px 0 0 #ffffff,
      0 -5px 0 #ffffff,
      0 5px 0 #ffffff,
      0 0 5px #ffffff,
      0 4px 20px rgba(0, 0, 0, 0.8);
  }

  .main_visual__subtitle {
    font-size: 28px;
    -webkit-text-stroke: 5px #ffffff;
    text-shadow: 
      -5px -5px 0 #ffffff,
      -5px 5px 0 #ffffff,
      5px -5px 0 #ffffff,
      5px 5px 0 #ffffff,
      -5px 0 0 #ffffff,
      5px 0 0 #ffffff,
      0 -5px 0 #ffffff,
      0 5px 0 #ffffff,
      0 0 5px #ffffff,
      0 4px 20px rgba(0, 0, 0, 0.8);
  }

  .about {
    padding: 40px 10px;
  }

  .about__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

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

  .about__text {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .about__section--with-image {
    gap: 16px;
  }

  .about__content-row {
    flex-direction: column;
    gap: 16px;
  }

  .about__image-wrapper {
    width: 100%;
  }

  .about__text {
    width: 100%;
  }

  .about__content-row .about__text {
    width: 100%;
  }

  .schedule {
    padding: 40px 10px;
  }

  .schedule__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .schedule__calendar {
    padding-bottom: 130%; /* さらに縦長に */
  }

  .news {
    padding: 40px 10px;
  }

  .news__title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .news__carousel {
    gap: 8px;
  }

  .news__arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .news__item {
    width: 200px;
  }

  .news__item--center {
    width: 260px;
  }

  .news__item--center .news__headline {
    font-size: 18px;
  }

  .news__item--center .news__excerpt {
    font-size: 13px;
  }

  .news__item--center .news__content-wrapper {
    padding: 16px;
  }
}

