/*
 Theme Name:   UNIQUE TCD Child
 Theme URI:    https://youfo.or.jp/
 Description:  TCD UNIQUEの子テーマ
 Author:       yukihonda
 Template:     unique_tcd044
 Version:      1.0.0
*/

/* YOU.FO About Section */
.youfo-about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Helvetica Neue", sans-serif;
}
.youfo-about-section .video-thumb {
  text-align: center;
  cursor: pointer;
}
.youfo-about-section .thumbnail {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.youfo-about-section .text p {
  margin: 16px 0;
  line-height: 1.8;
}
.youfo-about-section .btn-group {
  text-align: center;
  margin-top: 30px;
}

.youfo-about-section .btn-group a {
  display: inline-block;
  margin: 0 8px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: 
    transform 0.3s ease, 
    box-shadow 0.3s ease,
    background 0.3s ease;
  position: relative;
  z-index: 1;
}

/* 赤系グラデ */
.youfo-about-section .btn-group a.btn-red {
  background: linear-gradient(135deg, #E53935 0%, #FF6F61 100%);
  color: #fff;
  box-shadow: 0 6px 12px rgba(229, 57, 53, 0.4);
}
.youfo-about-section .btn-group a.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(229, 57, 53, 0.3);
}

/* 青系グラデ */
.youfo-about-section .btn-group a.btn-blue {
  background: linear-gradient(135deg, #1976D2 0%, #63A4FF 100%);
  color: #fff;
  box-shadow: 0 6px 12px rgba(25, 118, 210, 0.4);
}
.youfo-about-section .btn-group a.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(25, 118, 210, 0.3);
}

.youfo-about-section .btn-group {
  margin-bottom: 40px;  /* ここでボタン下の余白を調整 */
}

.faq-container {
  margin-top: 40px;     /* ここでFAQ上の余白を調整 */
}

/* FAQ アコーディオン改良 */
.faq-container h2 {
  text-align: center;
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

/* 見た目もクリックエリアも h3 全体に */
.faq-item h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;      /* 上下左右にパディング */
  margin: 0;
  cursor: pointer;          /* ここをクリックできることを示す */
  background: #fafafa;      /* 任意：見やすい背景色 */
  transition: background .3s;
}
.faq-item h3:hover {
  background: #f0f0f0;
}

/* 質問文エリア */
.faq-item h3 .question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* 矢印 */
.faq-item h3 .arrow {
  transition: transform .3s;
  color: #999;
  font-size: 1.2rem;
}
.faq-item.active h3 .arrow {
  transform: rotate(90deg);
  color: var(--red, #E53935);
}

/* 答え部分 */
.faq-item p {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, margin .4s ease;
  margin: 0 20px;           /* 左右だけ揃える */
}
.faq-item.active p {
  max-height: 200px;        /* 必要に応じて増減 */
  margin: 10px 20px 20px;
}

/* モーダル */
.youfo-modal {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.youfo-modal[aria-hidden="false"] {
  display: flex;
}
.youfo-modal .modal-inner {
  position: relative;
  background: #fff;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  overflow: hidden;
}
.youfo-modal .modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: #E53935;
  color: #fff;
  border: none;
  font-size: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
}
.youfo-modal .iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.youfo-modal .iframe-wrap iframe {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
}

.breadcrumb {
  display: none;
}

.youfo-club-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.8;
}

.club-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.club-title {
  margin-top: 0;
  font-size: 1.5rem;
}

.start-club-section {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #fff5e6, #ffe0b2);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.start-club-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.start-club-section p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.youfo-club-button {
  display: inline-block;
  background: linear-gradient(145deg, #FF7043, #FF5722); /* 濃いオレンジからオレンジ色のグラデーション */
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 30px; /* 丸みを帯びた形にする */
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ホバー時 */
.youfo-club-button:hover {
  background: linear-gradient(145deg, #FF5722, #FF7043); /* ホバー時に逆の色のグラデーション */
  color: #fff !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none; /* 下線なし */
}

.youfo-club-button:focus {
  outline: none; /* フォーカス時にアウトラインが出ないように */
}

/* ボタンのホバー効果 */
.youfo-club-button:hover {
  transform: translateY(-5px); /* ボタンが少し浮き上がる */
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .club-card, .start-club-section {
    padding: 15px;
  }

  .youfo-club-button {
    padding: 10px 20px;
  }
}

/* 商品ページのスタイル */
.youfo-goods {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.8;
}

/* 説明テキスト */
.youfo-description {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.cta-link {
  color: #E53935;
  font-weight: bold;
  text-decoration: none;
}

.cta-link:hover {
  text-decoration: underline;
}

/* 商品リストのスタイル */
.goods-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.goods-item {
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.goods-item img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.goods-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.goods-item p {
  font-size: 1rem;
  color: #555;
}

/* CTAボタン */
.cta-container {
  text-align: center;
  margin-top: 40px;
}

.youfo-goods .cta-button {
  background: #E53935;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.youfo-goods .cta-button:hover {
  background: #D32F2F;
  transform: translateY(-5px);
}

.cta-button:focus {
  outline: none;
}

/* メインのフォーム部分 */
.youfo-contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.8;
}

.youfo-contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* プライバシーポリシー部分 */
.youfo-contact-wrapper .privacy-policy {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 30px;
}

.youfo-contact-wrapper .privacy-policy a {
    color: #1976D2;
    text-decoration: underline;
}

/* レスポンシブデザイン */
@media screen and (max-width: 767px) {
    .youfo-contact-wrapper {
        padding: 30px 15px;
    }
    .youfo-contact-form {
        padding: 20px;
    }
}

#footer_menu_widget_area {
    display: none;
}

/* ===================================================
   YOU.FO World Cup 2025 専用スタイル
   =================================================== */

/* カラ―・フォントの変数定義（必要ならグローバルで宣言） */
:root {
  --youfo-red:    #E60012;
  --youfo-blue:   #1976D2;
  --youfo-gray:   #f5f5f5;
  --youfo-font:   'Roboto', sans-serif;
}

/* ページ全体のコンテナ */
.youfo-worldcup .container {
  font-family: var(--youfo-font);
  color: #333;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* セクション見出し */
.youfo-worldcup h1,
.youfo-worldcup h2,
.youfo-worldcup h3 {
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

/* 共通ボタン */
.youfo-worldcup .btn {
  display: inline-block;
  background-color: var(--youfo-red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: filter .2s;
}
.youfo-worldcup .btn:hover {
  filter: brightness(0.9);
}

/* 1. 会場案内 */
.youfo-worldcup #venue img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.youfo-worldcup #venue p {
  margin-top: 12px;
  font-size: 0.95rem;
}

/* 2. 交通アクセス */
.youfo-worldcup #access .access-list {
  list-style: none;
  margin-top: 12px;
  padding-left: 0;
}
.youfo-worldcup #access .access-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* 3. 日本代表チーム */
.youfo-worldcup #teams .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
  gap: 16px;
}
.youfo-worldcup #teams .team-card {
  text-align: center;
}
.youfo-worldcup #teams .team-card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.youfo-worldcup #teams .team-card p {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* 4. トーナメント表 & 結果 */
.youfo-worldcup #bracket .bracket-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 16px;
  margin-top: 12px;
}
.youfo-worldcup #bracket .match {
  background: #fff;
  border: 1px solid var(--youfo-gray);
  border-radius: 6px;
  padding: 8px;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
}
.youfo-worldcup #bracket .match .score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--youfo-blue);
  margin-top: 4px;
}

/* 5. クラウドファンディング */
.youfo-worldcup #crowdfunding .cf-box {
  background: var(--youfo-gray);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  margin-top: 12px;
}
.youfo-worldcup #crowdfunding .cf-box p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* セクション間のマージン */
.youfo-worldcup section {
  margin-bottom: 48px;
}
.youfo-worldcup section:last-child {
  margin-bottom: 0;
}

/* レスポンシブ微調整 */
@media (max-width: 600px) {
  /* マッチリストを１列に */
  .youfo-worldcup #bracket .bracket-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /* ボタンをフル幅に */
  .youfo-worldcup .btn {
    width: 100%;
    text-align: center;
  }
}

/* 子テーマ style.css に追記 */
.tablepress {
  width: 100%;
  border-collapse: collapse;
}
.tablepress thead th {
  background: #E60012;
  color: #fff;
  text-align: center;
  padding: 8px;
}
.tablepress tbody td {
  padding: 6px;
  text-align: center;
  border: 1px solid #ddd;
}
@media (max-width: 600px) {
  .tablepress {
    font-size: 0.9rem;
  }
}
