/* style.css */

/* 共通設定 */
body {
  margin: 0;
  font-family: 'Josefin Sans', 'Noto Sans JP', sans-serif;
  color: #171717;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ヘッダー */
/* ヘッダー全体 */
.site-header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

#home02,
#home03,
#home04 {
  scroll-margin-top: 150px; 
}

#home01 {
  scroll-margin-top: 200px; 
}


/* ヘッダー内の配置 */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ロゴ画像 */
.logo img {
  height: 48px;
  width: auto;
  margin-bottom: 10px;
}

/* ハンバーガーアイコン（デフォルトは非表示） */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: relative;
  margin-top: -100px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #171717;
  transition: all 0.3s ease;
}

/* メディアクエリで表示切替 */
@media screen and (max-width: 850px) {
  .site-header {
    position: relative; /* 親を基準にする */
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
    margin-top: -40px;
  }

  /*.ticket-button-a,
  .ticket-nav-button {
    display: block;
    position: absolute;
    z-index: 1002;
    right: 60px;
    top: 10px;
  }*/

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;   
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: white;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ← 影を追加 */
  }

  .site-nav.active {
    display: flex;
     margin-top: 5px;
  }

  .site-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
    align-items: center;
  }

  .site-nav li {
    border-top: 1px solid #eee;
    text-align: center;
    height: 48px;  /* 高さ調整 */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav li a {
    font-size: 14px;
    color: #171717;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    font-weight: 600;
  }

  /* スライドアニメ無効化（スマホ時） */
  .slide-in {
    height: auto;
  }

  .slide-in .top-text,
  .slide-in .bottom-text {
    position: static !important;
    transform: none !important;
    display: inline;
    height: auto;
    line-height: 1.2;
  }

  .slide-in span {
    line-height: 1;
    height: auto;
    transform: none; 
  }

  .top-text,
  .bottom-text {
    transform: none;
    position: static;
  }

  .slide-in:hover .top-text,
  .slide-in:hover .bottom-text {
    transform: none !important;
  }

  .slide-in .bottom-text {
    display: none; /* 下のテキストは非表示 */
  }

}
/*ドロップダウンスマホ用*/
@media screen and (max-width: 850px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-35%);
    background-color: white;
    min-width: 140px; /* 必要に応じて調整 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 1001;
    padding: 10px 0;
    border-radius: 3px;
    text-align: center;
  }

  .dropdown-menu li {
    padding: 8px 12px;
  }

  .dropdown-menu li a {
    color: #171717;
    text-decoration: none;
    font-weight: 500;
    display: block;
  }
}

/* ナビメニュー */
.left-group {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  text-decoration: none;
  color: #171717;
  font-weight: 600;
  font-size: 15px;
  display: block;
  padding: 10px 5px;
  text-align: center;
}

/* ドロップダウン */
.site-nav li.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0%;
  display: none;
  background-color: white;
  min-width: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  z-index: 999;
  text-align: center;
  padding: 2px 0;
}

/* ドロップダウンメニューを非表示に */
.site-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  padding: 2px 0;
  z-index: 999;
}

/*スライドのアニメーション*/
.slide-in {
  position: relative;
  display: inline-block;
  height: 1em;
  overflow: hidden;
  line-height: 1;
  vertical-align: middle;
}

.slide-in span {
  display: block;
  width: 100%;
  height: 1em;
  line-height: 1;
  transition: none;
  font-size: inherit;
  font-weight: inherit;
}

.slide-in .top-text {
  transform: translateY(0);
}

.slide-in .bottom-text {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(300%);
}

.slide-in:hover .top-text {
  transform: translateY(-200%);
}

.slide-in:hover .bottom-text {
  transform: translateY(65%);
}

/*ヘッダーチケットボタン*/
.ticket-button a {
  margin-left: auto;
  position: relative;
  top: -30px;
}

.ticket-button a {
  background-color: #000000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.ticket-button a:hover {
  background-color: #000000;
}

/* ホバー時に表示 */
.site-nav li.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu a {
  color: #171717;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}
/*スクロールで表示*/
.site-header {
  position: fixed;
  top: -150px;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: top 0.3s ease-in-out;
}

.site-header.visible {
  top: 0; 
}

/* ヒーローセクション */
.hero {
  position: relative;
  height: 100vh;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.date-overlay {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  text-align: center;
  color: white;
  font-family: 'Josefin Sans', sans-serif;
  z-index: 2;
}

.date-overlay h1 {
  font-size: clamp(2.5rem, 4vw, 5rem);
  margin: 0;
}

.date-overlay h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  margin: 0;
  margin-top: 0.5em;
}

/*センターロゴ*/
.hero-center-logo {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.hero-center-logo img {
  width: 400px;
  height: auto;
}



/* 白いボックス */
.hero-overlay-box {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255);
  padding: 0 30px;
  border-radius: 3px;
  max-width: 700px;
  width: 80%;
  text-align: center;
}

.hero-overlay-box h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 2vw, 40px);
  font-weight: bold;
}
.hero-overlay-box h3 {
  margin-bottom: 20px;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: bold;
}

.hero-overlay-box p {
  font-size: 1.3rem
  line-height: 1.8;
  color: #333;
  text-align: left;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 100px;
}

.hero-title {
  display: flex;
  justify-content: center;
  align-items: baseline; /* h2とh3のベースラインを揃える */
  gap: 0.5em; /* 見出し同士の間隔 */
  text-align: center;
}

.hero-title h2,
.hero-title h3 {
  text-align: center;
  margin: 0;
  padding: 0;
}

.hero-title h2 {
  margin-bottom: 20px;
  font-size: clamp(25px, 2vw, 35px);
  font-weight: bold;
}

.hero-title h3 {
  margin-bottom: 20px;
  font-size: clamp(15px, 2vw, 25px);
  font-weight: bold;
}

.hero-logo {
  max-width: 80%;
  min-width: auto;
  height: auto;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* セクション共通 */
.section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section:nth-child(even) {
  background-color: #ffffff;
}

.section h2 {
  font-size: 48px;
  margin-bottom: 1rem;
  color: #000000;
}

.section p, .section ul {
  font-size: 1rem;
  line-height: 1.6;
}

.section ul {
  padding-left: 1.5rem;
}

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

/*wgsとは*/
.wgs-about-wrapper {
  background-color: #ffffff; 
  padding: 80px 0;
  text-align: center;
  min-height: 10000px;
}

.wgs-about {
  background-color: #ffffff;  
  max-width: 800px;            
  min-height: 250px;
  margin: 40px auto;             
  padding: 60px 30px;        
  border-radius: 3px;       
 /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* ほんのり影 */
  color: #ffffff;
  position: relative;
  z-index: -1;
}

.wgs-about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.wgs-about p {
  font-size: 1.1rem;
  line-height: 1.0;
  white-space: pre-line;
}

@media screen and (max-width: 850px) {
  .wgs-about{
  min-height: 150px;
  }
}

/*イベントタイトル*/
.event-title {
  text-align: center;
  font-size: 3rem; 
  color: #fff;     
  position: relative;
  z-index: 5;
  margin: 50px 0;
  top: 50px;
}

/*イベント背景*/
#hex-canvas {
  pointer-events: none !important;
}

.hex-bg-section {
  position: relative;
  background-image: url('../img/02_bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 600px;
  overflow: hidden;
}

#hex-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/*EVENT内容の箱*/
.overlay-wrapper {
  position: relative;
  z-index: 3;
  padding: 60px 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 90%;
}

.overlay-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  margin-top: 20px;
}

.container {
  max-width: 90%;
  margin: 0 auto;
}

.overlay-image {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
}

.overlay-text {
  flex: 1;
  font-size: 1rem;
  text-align: left;

  display: flex;              
  flex-direction: column;
}

.overlay-text h3 {
  font-size: 4rem;
  margin-bottom: 3rem;
  text-align: center;
}

.overlay-text table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1rem;
}

.overlay-text table td {
  padding: 6px 10px;
  border-bottom: 1px solid #ddd;
}

.overlay-text table td:first-child {
  width: 20%;
  text-align: left;
  padding-left: 10px;
}

.overlay-text table td:last-child {
  width: 60%;
  padding-left: 30px;
}

.schedule-sp {
  display: none;
}

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

  .schedule-sp {
    display: block;
  }
}

/* 日付ラベルボックス */
.date-label {
  display: block;
  background-color: white; /* アクセントカラー */
  color: black;
  font-size: 2rem;
  font-weight: bold;
  padding: 15px 40px 10px 40px;
  line-height: 1.2;  
  border-radius: 3px;
  margin: 20px auto -10px auto;
  width: fit-content;
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

.date-label + .overlay-content {
  margin-top: 0px !important;  /* ← 2つの間の余白をきっちり調整 */
}

/*イベントチケットボタン*/
.ticket-button-wrapper {
  text-align: right;
  margin-top: auto;
  padding-top: 1.5rem;
}

.ticket-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.ticket-button:hover {
  background-color: #000000;
}

/*アクセスチケットボタン*/
.ticket-button-wrapper2 {
  text-align: right;
  margin-top: 1rem;
}

.ticket-button2 {
  display: flex;
  justify-content: space-between; /* ← 左右に分ける */
  align-items: center;
  padding: 20px 24px;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  font-size: 1.5rem;
  gap: 8px;
}

.ticket-button2:hover {
  background-color: #000000;
}

.ticket-button2 .label-left {
  flex: 1;
  text-align: left;
}

.ticket-button2 .label-right {
  flex: 0;
  font-size: 2.5rem;
  text-align: right;
}

/*wcsボタン*/
.image-button {
  display: flex;
  justify-content: center; 
  align-items: center;     
  height: auto;           
  padding: 10px 0; /* スマホなどで画像がはみ出ないよう余白を追加 */
  box-sizing: border-box;
}
.image-button img {
  width: 100%;   
  height: auto;   
  max-width: 1200px; 
  display: block;
}

/*協賛*/
.support {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.support h2 {
  margin-bottom: 20px;
  font-size: 48px;
  color: #333;
}

.sponsors {
  display: flex;
  justify-content: center; 
  align-items: center;     
  flex-wrap: wrap;         
  gap: 20px;               
  margin-bottom: 30px;
}

.sponsors a {
  margin: 10px;
  display: inline-block;
}

.sponsors img {
  width: 300px;
  height: auto;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
}

.sponsors img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.support h3 {
  margin-bottom: 20px;
  font-size: 36px;
  color: #333;
}


.supporters {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  font-size: 20px;
  color: #444;
}

/* フッター */
#footer {
  background-image: url('../img/f_bg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  min-height: 450px;
  position: relative;
  padding: 20px;
  height: 50px;
}

.footer-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 左下のコピーライト */
.copy {
  position: absolute;
  bottom: 25px;
  left: 50px;
  font-size: 12px;
  margin: 0;
  z-index: 3;
  color: white;
}

/* 右下のSNSアイコン */
.sns {
  position: absolute;
  bottom: 20px;
  right: 100px;
}

.sns a {
  margin-left: 10px;
  color: white;
  font-size: 20px;
  text-decoration: none;
}

/* 中央右寄りのリンクメニュー */
.fNav {
  position: absolute;
  display: flex;
  gap: 20px;
  top: 50%;
  left: 50px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.fNav li {
  margin-bottom: 8px;
  display: block;
}

.fNav a {
  color: white;
  text-decoration: none;
}

/*wgsのロゴ*/
.wcs-logo {
  position: absolute;
  top: 180px;
  left: 70px;
}

.wcs-logo img {
  width: 500px;
  height: auto;
}

/* レスポンシブ対応 */
/*イベントの画像とテキストを縦並びに変更*/
@media screen and (max-width: 850px) {
  .overlay-wrapper {
    padding: 40px 20px;
    gap: 40px;
  }

  .overlay-content {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0 8px 40px 8px;
  }

  .overlay-image img {
    width: 100%;
    max-width: 100%;
  }

  .overlay-text {
    text-align: left;
    font-size: 0.9rem;
  }

  .overlay-text h3 {
    font-size: 1.5rem;
  }

  .overlay-text table {
    text-align: left;
    font-size: 0.9rem;
  }
}

/*メインロゴのサイズ調整とボックスの大きさ*/
@media screen and (max-width: 850px) {
  .hero-center-logo {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero-center-logo img {
    display: block;
    width: 90vw;   /* 画面幅に合わせる */
    height: auto;
    max-width: none;  /* 上書きされた制限を解除 */
    margin: 0 auto;
  }
}

@media screen and (max-width: 850px) {
  .hero-overlay-box {
    padding: 10px 10px;
    width: 75%;
    height: auto;
    top:110%;
  }

  .hero-overlay-box h2 {
    font-size: 1rem;
    margin: 0 0 12px;
  }

  .hero-overlay-box p {
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 0.7rem;
  }
}

/*メインロゴ下の日付*/
@media screen and (max-width: 850px) {
  .date-overlay {
    flex-direction: row;       
    flex-wrap: wrap;         
    justify-content: center;    
    align-items: baseline;      
    gap: 0.3em;               
    width: 100%;
    padding: 0 0;
    box-sizing: border-box;
    top: 60%;
  }

  .date-overlay h1,
  .date-overlay h2 {
    font-size: clamp(1rem, 5vw, 2rem);
    line-height: 1.2;
    white-space: nowrap;    
  }
}

@media screen and (max-width: 850px) {
  .hero-logo {
    width: 100% ;
    max-width: 400px;
    min-width: auto; 
    margin: 0 auto 10px;
    display: block;
  }

  .hero-logo img {
    width: 100% !important;
    height: auto !important;
    max-width: 300px !important;
  }
}

/*イベントの位置とサイズ*/
@media screen and (max-width: 850px) {
  .event-title {
    font-size: 2rem;
    top: 60px;
    margin: 10px;
  }
}

/*スポンサーの文字サイズ*/
@media screen and (max-width: 850px) {
  .support h2 {
    font-size: 2rem;
  }

  .support h3 {
    font-size: 1.2rem;
  }

  .supporters {
    font-size: 1rem;
  }

  .sponsors img {
    width: 80%;
    max-width: 200px;
  }
}

/*フッターの位置調整*/
@media screen and (max-width: 850px) {

   /* フッターの高さ・位置調整 */
  #footer {
    padding: 40px 20px;
    height: auto;
    min-height: 300px;
    text-align: center;
  }

  .copy {
    position: static;
    margin-top: 20px;
    text-align: center;
    font-size: 11px;
  }

  .sns {
    position: static;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .fNav {
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .fNav li {
    margin: 0;
  }

  /* ロゴ調整 */
  .wcs-logo {
    position: static;
    margin: 20px auto;
    text-align: center;
  }

  .wcs-logo img {
    width: 80%;
    max-width: 300px;
    height: auto;
  }
}


@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .overlay-content {
    flex-direction: column;
    align-items: center;
  }

  .overlay-image img {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 768px) {
  .overlay-content {
    flex-direction: column;
  }

  .overlay-image img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .overlay-content {
    flex-direction: column;
    align-items: center;
  }

  .overlay-image img {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 768px) {
  .overlay-content {
    flex-direction: column;
  }

  .overlay-image img {
    max-width: 100%;
  }
}

/*vwcチケットボックス*/
@media screen and (max-width: 768px) {
  .ticket-button-wrapper {
    justify-content: flex-end;
  }
}

/*ACCESSチケットボックス*/
@media screen and (max-width: 768px) {
  .ticket-button2 {
    font-size: 1rem;
    padding: 10px 15px;
  }

  .ticket-button2 .label-right {
    flex: 0;
    font-size: 2rem;
    text-align: right;
  }
}