:root {
    --primary: #761Aff;
    --secondary: #29cc35;
    --accent: #FFF021;
}

/* モバイル版での余白・スクロール問題の解決 */
html, body {
  overflow-x: hidden; /* 横スクロール防止 */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* モバイルブラウザのアドレスバー対応 */
html {
  height: 100%;
  height: -webkit-fill-available;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  position: relative;
}

/* コンテナの高さ調整（モバイル対応） */
@supports (-webkit-touch-callout: none) {
  .hero-section,
  section {
    min-height: -webkit-fill-available;
  }
}


html, body {
  min-height: 100vh;
}
/* ACCESSセクションの背景画像はみ出し防止 */
#map {
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 40px;
}


body {
    font-family: 'Roboto Condensed', sans-serif;    
    color: #333;
    background-image: url('../images/背景画像.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
    transition: 1s opacity;
}


@media (max-width: 375px) {
    body {
        background-image: url('../images/スマホ用背景画面.png');
        background-size: contain; 
        background-repeat: repeat-y;  
        background-position: center top;
    }
    .hero-section {
        background-color: #545454;
        background-image: none;
    }
}

@media (max-width: 768px) {
    body {
        background-image: url('../images/スマホ用背景画面.png');
        background-size: contain; 
        background-repeat: repeat-y;  
        background-position: center top;
    }
    .hero-section {
        background-color: rgba(60,65,70,0.7);
        backdrop-filter: blur(3px);
        background-image: none;
    }
}

@media (max-width: 1025px) {
    body {
        background-image: url('../images/スマホ用背景画面.png');
        background-size: fixed; 
        background-repeat: repeat-y;  
        background-position: center top;
    }
    .hero-section {
        background-color: rgba(60,65,70,0.7);
        backdrop-filter: blur(3px);
        background-image: none;
    }
}


.font-oswald {
    font-family: 'Oswald', sans-serif;
}

/* ヘッダーのスタイルを適用 */
header.header-bg {
    background: linear-gradient(to right, var(--primary), var(--secondary)) !important;
    border-bottom: 4px solid var(--accent) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}



.wood-texture {
    background-image: url('https://placehold.co/600x400');
    background-size: cover;
    border: 8px solid #761Aff;
    border-image: url('https://placehold.co/1600x400') 30 round;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.badge {
    transform: rotate(-10deg);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    border: 2px solid #FFF;
}



.card {
    transition: all 0.3s ease;
    background: rgba(230, 230, 250, 0.85);
    border-bottom: 4px solid var(--primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.menu-item {
    position: relative;
}

.menu-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.btn-outline {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 100%;
}

.sponsors-grid {
    display: grid;
    gap: 1rem;
}

/* 1. 外側のコンテナ（表示エリア） */
.scroll-loop__container {
    overflow: hidden; /* コンテナからはみ出た要素を隠す */
    width: 100%;
    /* オプション：左右をグラデーションで自然に消す */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

/* 2. 動かす要素全体を囲むラッパー */
.scroll-loop__wrap {
    display: flex; /* 中のリストを横並びにする */
    /* アニメーションを適用 */
    animation: horizontal-loop 40s linear infinite;
}

/* 3. ロゴのリスト */
.scroll-loop__list {
    display: flex; /* ロゴを横並びにする */
    align-items: center; /* ロゴの縦位置を中央に揃える */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0; /* リストが縮まないようにする */
}

/* 4. 個別のロゴ */
.scroll-loop__item {
    margin: 0 2rem; /* ロゴの間の余白 */
}
.scroll-loop__item img {
    max-height: 60px; /* ロゴの高さを揃える */
    width: auto;
}

/* アニメーションの定義 */
@keyframes horizontal-loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%); /* リスト1つ分の幅だけ移動させる */
    }
}

/* Attractions Slider */
#attractions-slider {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* for smooth scrolling on iOS */
}

.attraction-slide {
    scroll-snap-align: start;
    flex-shrink: 0;
}



#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: white;
    transition: right 0.3s ease-in-out;
    z-index: 100;
    padding: 20px;
}

#mobile-menu a {
    color: rgb(211, 65, 222);
    font-size: 25px;
}

#mobile-menu.is-open {
    right: 0;
}

/*企画紹介に関するアニメーション*/

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.card-body.active {
    height: 100%;
}
.card-body.active .description {
    opacity: 1;
}

/* お問い合わせフォームセクション */
/* セクション全体のスタイル */
#contact {
  background-color: #FFF9E6;  /* サイト全体と統一したクリーム色の背景 */
  padding: 80px 0 100px 0;    /* 下余白を増やす */
  overflow: hidden;
  margin-bottom: 0;
}
/* OUR PARTNERSセクションの背景画像はみ出し防止 */
#sponsors {
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 40px;
}

/* セクションタイトルのスタイル */
#contact h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-align: center;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
    position: relative;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 4px;
    background-color: var(--primary);
}

/* フォーム全体のコンテナ */
#contact form {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--primary);
}

/* フォーム項目全体のレイアウト */
#contact dl {
    margin-bottom: 40px;
}

/* ラベル部分のスタイル */
#contact dt {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: block;
}

/* 入力欄部分のレイアウト */
#contact dd {
    margin-bottom: 32px;
}

/* 入力フィールドとテキストエリアの共通スタイル */
#contact dd input,
#contact dd textarea {
    width: 100%;
    border: 2px solid #e0e0e0;
    padding: 16px 20px;
    background-color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto Condensed', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 入力フィールドのフォーカス時のスタイル */
#contact dd input:focus,
#contact dd textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(118, 26, 255, 0.1);
    transform: translateY(-2px);
}

/* テキストエリアの高さ設定 */
#contact dd textarea {
    height: 150px;
    resize: vertical;
}

/* 送信ボタンのコンテナ */
#contact .button {
    text-align: center;
    margin-top: 40px;
}

/* 送信ボタンのスタイル */
#contact .button input {
    width: 240px;
    background: linear-gradient(135deg, var(--primary), #581c87);
    color: #fff;
    padding: 18px 0;
    border: none;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(118, 26, 255, 0.3);
}

/* 送信ボタンのホバー効果 */
#contact .button input:hover {
    background: linear-gradient(135deg, #581c87, var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(118, 26, 255, 0.4);
}

/* 送信ボタンのアクティブ効果 */
#contact .button input:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(118, 26, 255, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #contact form {
        padding: 40px 24px;
        width: 95%;
    }
    
    #contact h2 {
        font-size: 2.5rem;
    }
    
    #contact .button input {
        width: 200px;
        padding: 16px 0;
    }
}


/* インクボタンアニメーション */
.ink-button {
  background: url('../images/01_04.png') no-repeat center/contain;
  transition: scale(1.05);
  text-align: center;
  padding-left: 0;
}

.ink-button:hover {
  background-image: url('../images/01_08.png');
  color: var(--secondary);
}

/* ローディングアニメーション*/
/* 66op.css - styles for 66op.html */
:root{
  --bg: #121212;
  --muted: #393939;
  --accent: #00ff88;
}

/* 全体コンテナ */
.op66-container {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ボード */
.op66-board {
  margin: 1rem 0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background: var(--bg);
  display: flex;
  gap: 1rem;
}

/* Counter 共通 */
.op66-counter {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: 2em;
  height: 3.5em;
  font-size: 48px;
  color: var(--muted);
}

/* digital 用構造 */
.op66-counter--digital .op66-counter__bit {
  box-shadow: 0 0 0 transparent;
}

.op66-counter--digital .op66-counter__bit:nth-child(1),
.op66-counter--digital .op66-counter__bit:nth-child(4),
.op66-counter--digital .op66-counter__bit:nth-child(9),
.op66-counter--digital .op66-counter__bit:nth-child(12),
.op66-counter--digital .op66-counter__bit:nth-child(17),
.op66-counter--digital .op66-counter__bit:nth-child(20) {
  background: transparent;
  box-sizing: border-box;
}

/* 擬似要素を用いたセグメント表現 */
.op66-counter--digital .op66-counter__bit:nth-child(2):before,
.op66-counter--digital .op66-counter__bit:nth-child(3):before,
.op66-counter--digital .op66-counter__bit:nth-child(5):before,
.op66-counter--digital .op66-counter__bit:nth-child(6):before,
.op66-counter--digital .op66-counter__bit:nth-child(7):before,
.op66-counter--digital .op66-counter__bit:nth-child(8):before,
.op66-counter--digital .op66-counter__bit:nth-child(10):before,
.op66-counter--digital .op66-counter__bit:nth-child(11):before,
.op66-counter--digital .op66-counter__bit:nth-child(13):before,
.op66-counter--digital .op66-counter__bit:nth-child(14):before,
.op66-counter--digital .op66-counter__bit:nth-child(15):before,
.op66-counter--digital .op66-counter__bit:nth-child(16):before,
.op66-counter--digital .op66-counter__bit:nth-child(18):before,
.op66-counter--digital .op66-counter__bit:nth-child(19):before {
  content: "";
  position: absolute;
  border-width: 0.25em;
  border-style: solid;
  border-color: transparent;
}

/* 位置の微調整 */
.op66-counter--digital .op66-counter__bit:nth-child(2),
.op66-counter--digital .op66-counter__bit:nth-child(10),
.op66-counter--digital .op66-counter__bit:nth-child(18) {
  transform: translateX(1px);
}

.op66-counter--digital .op66-counter__bit:nth-child(2):before,
.op66-counter--digital .op66-counter__bit:nth-child(10):before,
.op66-counter--digital .op66-counter__bit:nth-child(18):before {
  top: 0;
  bottom: 0;
  right: 100%;
  border-right-color: currentColor;
}

.op66-counter--digital .op66-counter__bit:nth-child(3),
.op66-counter--digital .op66-counter__bit:nth-child(11),
.op66-counter--digital .op66-counter__bit:nth-child(19) {
  transform: translateX(-1px);
}

.op66-counter--digital .op66-counter__bit:nth-child(3):before,
.op66-counter--digital .op66-counter__bit:nth-child(11):before,
.op66-counter--digital .op66-counter__bit:nth-child(19):before {
  top: 0;
  bottom: 0;
  left: 100%;
  border-left-color: currentColor;
}

.op66-counter--digital .op66-counter__bit:nth-child(5),
.op66-counter--digital .op66-counter__bit:nth-child(6),
.op66-counter--digital .op66-counter__bit:nth-child(13),
.op66-counter--digital .op66-counter__bit:nth-child(14) {
  transform: translateY(1px);
}

.op66-counter--digital .op66-counter__bit:nth-child(5):before,
.op66-counter--digital .op66-counter__bit:nth-child(6):before,
.op66-counter--digital .op66-counter__bit:nth-child(13):before,
.op66-counter--digital .op66-counter__bit:nth-child(14):before {
  left: 0;
  right: 0;
  bottom: 100%;
  border-bottom-color: currentColor;
}

.op66-counter--digital .op66-counter__bit:nth-child(7),
.op66-counter--digital .op66-counter__bit:nth-child(8),
.op66-counter--digital .op66-counter__bit:nth-child(15),
.op66-counter--digital .op66-counter__bit:nth-child(16) {
  transform: translateY(-1px);
}

.op66-counter--digital .op66-counter__bit:nth-child(7):before,
.op66-counter--digital .op66-counter__bit:nth-child(8):before,
.op66-counter--digital .op66-counter__bit:nth-child(15):before,
.op66-counter--digital .op66-counter__bit:nth-child(16):before {
  left: 0;
  right: 0;
  top: 100%;
  border-top-color: currentColor;
}

/* 個々のビット */
.op66-counter__bit {
  position: absolute;
  display: block;
  width: 0.5em;
  height: 0.5em;
  line-height: 1;
  background-color: currentColor;
  box-shadow: inset 0 0 1px 1px #000;
  transition: color 0.3s ease-in-out;
}

.op66-counter__bit:nth-child(1) { top: 0; left: 0; }
.op66-counter__bit:nth-child(2) { top: 0; left: 0.5em; }
.op66-counter__bit:nth-child(3) { top: 0; left: 1em; }
.op66-counter__bit:nth-child(4) { top: 0; left: 1.5em; }
.op66-counter__bit:nth-child(5) { top: 0.5em; left: 0; }
.op66-counter__bit:nth-child(6) { top: 0.5em; left: 1.5em; }
.op66-counter__bit:nth-child(7) { top: 1em; left: 0; }
.op66-counter__bit:nth-child(8) { top: 1em; left: 1.5em; }
.op66-counter__bit:nth-child(9) { top: 1.5em; left: 0; }
.op66-counter__bit:nth-child(10) { top: 1.5em; left: 0.5em; }
.op66-counter__bit:nth-child(11) { top: 1.5em; left: 1em; }
.op66-counter__bit:nth-child(12) { top: 1.5em; left: 1.5em; }
.op66-counter__bit:nth-child(13) { top: 2em; left: 0; }
.op66-counter__bit:nth-child(14) { top: 2em; left: 1.5em; }
.op66-counter__bit:nth-child(15) { top: 2.5em; left: 0; }
.op66-counter__bit:nth-child(16) { top: 2.5em; left: 1.5em; }
.op66-counter__bit:nth-child(17) { top: 3em; left: 0; }
.op66-counter__bit:nth-child(18) { top: 3em; left: 0.5em; }
.op66-counter__bit:nth-child(19) { top: 3em; left: 1em; }
.op66-counter__bit:nth-child(20) { top: 3em; left: 1.5em; }

/* アニメーション定義 */
@keyframes op66-segmentGlow {
  0% { color: #2a2a2a; }
  100% { color: var(--accent); box-shadow: 0 0 10px var(--accent); }
}

/* 左の6のアニメーション（順序は元ファイルに準拠） */
.op66-left-6.op66-animating .op66-counter__bit:nth-child(2),
.op66-left-6.op66-animating .op66-counter__bit:nth-child(3) {
  animation: op66-segmentGlow 0.1s ease-in-out 0s forwards;
}

.op66-left-6.op66-animating .op66-counter__bit:nth-child(5),
.op66-left-6.op66-animating .op66-counter__bit:nth-child(7) {
  animation: op66-segmentGlow 0.1s ease-in-out 0.2s forwards;
}

.op66-left-6.op66-animating .op66-counter__bit:nth-child(13),
.op66-left-6.op66-animating .op66-counter__bit:nth-child(15) {
  animation: op66-segmentGlow 0.1s ease-in-out 0.4s forwards;
}

.op66-left-6.op66-animating .op66-counter__bit:nth-child(18),
.op66-left-6.op66-animating .op66-counter__bit:nth-child(19) {
  animation: op66-segmentGlow 0.1s ease-in-out 0.6s forwards;
}

.op66-left-6.op66-animating .op66-counter__bit:nth-child(14),
.op66-left-6.op66-animating .op66-counter__bit:nth-child(16) {
  animation: op66-segmentGlow 0.1s ease-in-out 0.8s forwards;
}

.op66-left-6.op66-animating .op66-counter__bit:nth-child(10),
.op66-left-6.op66-animating .op66-counter__bit:nth-child(11) {
  animation: op66-segmentGlow 0.1s ease-in-out 1s forwards;
}

/* 右の6のアニメーション（左と同じ順序、ただし遅延あり） */
.op66-right-6.op66-animating .op66-counter__bit:nth-child(2),
.op66-right-6.op66-animating .op66-counter__bit:nth-child(3) {
  animation: op66-segmentGlow 0.1s ease-in-out 1.4s forwards;
}

.op66-right-6.op66-animating .op66-counter__bit:nth-child(5),
.op66-right-6.op66-animating .op66-counter__bit:nth-child(7) {
  animation: op66-segmentGlow 0.1s ease-in-out 1.6s forwards;
}

.op66-right-6.op66-animating .op66-counter__bit:nth-child(13),
.op66-right-6.op66-animating .op66-counter__bit:nth-child(15) {
  animation: op66-segmentGlow 0.1s ease-in-out 1.8s forwards;
}

.op66-right-6.op66-animating .op66-counter__bit:nth-child(18),
.op66-right-6.op66-animating .op66-counter__bit:nth-child(19) {
  animation: op66-segmentGlow 0.1s ease-in-out 2s forwards;
}

.op66-right-6.op66-animating .op66-counter__bit:nth-child(14),
.op66-right-6.op66-animating .op66-counter__bit:nth-child(16) {
  animation: op66-segmentGlow 0.1s ease-in-out 2.2s forwards;
}

.op66-right-6.op66-animating .op66-counter__bit:nth-child(10),
.op66-right-6.op66-animating .op66-counter__bit:nth-child(11) {
  animation: op66-segmentGlow 0.1s ease-in-out 2.4s forwards;
}

/* ローディングテキスト */
.op66-loading-text {
  color: var(--accent);
  font-size: 2rem;
  margin-top: 1rem;
  opacity: 0;
  font-weight: bold; /* 太字 */
  animation: fadeIn 1s ease-in-out 2s forwards;
}

/* フェードインの動き */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}



.op66-container.op66-fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-out, visibility 1s ease-out;
  pointer-events: none;
}

/* day1/day2ボタン切り替え */
.schedule-tab {
    position: relative;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.3s;
    color: #6B7280; /* gray-500 */
}

.schedule-tab.active {
    color: #761Aff; 
}

#active-line {
    position: absolute;
    bottom: -2px; /* Position it over the container's bottom border */
    height: 2px;
    background-color: #761Aff; /* red-600 */
    transition: all 0.3s ease-in-out;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Slider Arrow Styles */
.slider-arrow {
    background-color: var(--primary) !important;
    color: white !important;
    font-size: 1.5rem !important;
    line-height: 1;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: white !important;
    color: rgb(187, 99, 187) !important;
}