/*
Theme Name: Full Width Responsive Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: 全画面・全幅対応のモバイルレスポンシブWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fullwidth-theme
*/

/* ==========================================
   1. リセットとベース設定
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* ==========================================
   2. サイト全体のコンテナ
========================================== */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* ==========================================
   3. ヘッダー
========================================== */
.site-header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 2rem;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-button {
    display: inline-block;
    background-color: #00d9c0;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap;
}

.header-button:hover {
    background-color: #00c0a8;
    transform: translateY(-2px);
}

.custom-header-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.custom-header-wrapper img {
    max-height: 50px;
    width: auto;
}

/* ==========================================
   4. ナビゲーション
========================================== */
.main-navigation {
    flex-shrink: 0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================
   5. ヒーローセクション
========================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-mobile {
    display: none;
}

.hero-badge-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 4rem;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(52, 152, 219, 0.9);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-scroll-indicator {
    margin-top: 3rem;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================
   6. プラチナセクション
========================================== */
.platinum-section {
    width: 100%;
    position: relative;
}

.platinum-image {
    width: 100%;
    height: auto;
}

.platinum-image-pc {
    display: block;
}

.platinum-image-mobile {
    display: none;
}

/* ==========================================
   7. カードセクション（全幅・モバイル4列対応）
========================================== */
.cards-section {
  width: 100%;
  padding: 2rem 0;
  background-color: #fff;
}

.cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 1;
  text-decoration: none;
}

.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 90%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 1rem;
  line-height: 1.4;
  white-space: pre-line;
}

/* 中央の横長カード */
.card-large {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 1.2;
  margin-bottom: 1rem;
}

.card-large .card-text {
  font-size: 1.3rem;
}

/* ---- モバイルを全幅4列にする（scale廃止） ---- */
@media (max-width: 768px) {
  .cards-container {
    max-width: 100vw !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 10px !important; /* 端まで広げたいなら 0 に変更可 */
    transform: none !important;
  }

  .cards-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .card-item {
    aspect-ratio: 1 / 1;
  }

  .card-large {
    grid-column: 1 / -1; /* 中央の横長を4カラム分に */
    aspect-ratio: 4 / 1.2;
  }

  .card-text {
    font-size: clamp(10px, 2.6vw, 14px);
  }
}

@media (max-width: 480px) {
  .cards-container {
    padding: 0 8px !important;
  }

  .cards-row {
    gap: 8px !important;
  }
}


/* ==========================================
   8. 人気ジャンルセクション（全幅3×2固定・背景維持）
========================================== */
.genre-section {
  width: 100%;
  padding: 3rem 1rem;
  background-color: #fff;
}

.genre-container {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  padding: 0 clamp(8px, 2vw, 16px) !important;
}

.genre-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #2c3e50;
}

/* 常に3列×2行固定（全デバイス共通） */
.genre-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(8px, 2vw, 16px) !important;
  justify-items: stretch !important;
  margin-bottom: 2rem;
}

.genre-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.genre-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
}

.genre-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* テキスト中央固定 */
.genre-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  font-size: clamp(12px, 2.2vw, 18px);
  text-align: center;
  line-height: 1.4;
}

/* 説明文 */
.genre-description {
  color: #333 !important;
  white-space: pre-line;
  position: relative;
  z-index: 5;
  line-height: 1.9;
  font-size: 1rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}


/* ==========================================
   9. CTAセクション
========================================== */
.cta-section {
    background: linear-gradient(180deg, #E8F8F5 0%, #FFFFFF 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* バッジ */
.cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFF9C4 0%, #FFE082 100%);
    color: #333;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid #FFD54F;
}

.cta-badge::before {
    content: '';  /* 空にする */
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cta-title-highlight {
    color: #00BFA5;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cta-small-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

/* ハイライトボックス */
.cta-highlight-box {
    background: linear-gradient(135deg, #00E5CC 0%, #00D4BC 100%);
    padding: 2rem 3rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.25);
}

.cta-highlight-label {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cta-highlight {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-content {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 2.5rem;
    color: #333;
    text-align: left;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* 引用スタイル */
.cta-quote {
    font-size: 1.2rem;
    color: #333;
    margin: 2.5rem 0 3rem;
    padding-left: 1.5rem;
    border-left: 4px solid #00D4BC;
    text-align: left;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #00D4BC 0%, #00BFA5 100%);
    color: #fff;
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 212, 188, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 188, 0.4);
    background: linear-gradient(135deg, #00BFA5 0%, #00AB94 100%);
}

/* ==========================================
   10. メインコンテンツ（投稿・ページ）
========================================== */
.site-content {
    flex: 1;
    width: 100%;
    padding: 2rem;
}

.content-area {
    max-width: 1400px;
    margin: 0 auto;
}

article {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.entry-header {
    padding: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.entry-title a {
    color: #2c3e50;
    text-decoration: none;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
}

.entry-content {
    padding: 0 2rem 2rem;
    font-size: 1.1rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.entry-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.post-thumbnail {
    width: 100%;
    height: auto;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   11. フッター
========================================== */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem;
    text-align: center;
    width: 100%;
}

.site-footer p {
    margin: 0;
}

/* ==========================================
   12. ボタン
========================================== */
.button,
.wp-block-button__link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover,
.wp-block-button__link:hover {
    background-color: #2980b9;
}

/* ==========================================
   13. その他
========================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

.alignwide {
    width: 100%;
    max-width: 100%;
}

/* ==========================================
   14. モバイルレスポンシブ
========================================== */

/* --- ヘッダー（モバイル） --- */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }

    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    .main-navigation {
        width: 100%;
        margin-top: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .custom-header-wrapper {
        padding: 1rem;
    }

    .custom-header-wrapper img {
        max-height: 40px;
    }

    .custom-logo {
        max-height: 40px;
    }
}

/* --- ヒーロー（モバイル） --- */
@media (max-width: 768px) {
    .hero-image-pc {
        display: none;
    }

    .hero-image-mobile {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

/* --- プラチナセクション（モバイル） --- */
@media (max-width: 768px) {
    .platinum-image-pc {
        display: none;
    }
    
    .platinum-image-mobile {
        display: block;
    }
}

/* --- カードセクション（モバイル） --- */
@media (max-width: 768px) {
    .cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-text {
        font-size: 0.85rem;
    }

    .card-large .card-text {
        font-size: 1.1rem;
    }

    .cards-section {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .card-text {
        font-size: 0.75rem;
    }

    .card-large .card-text {
        font-size: 1rem;
    }

    .cards-container {
        padding: 0 0.75rem;
    }
}

/* --- 人気ジャンル（モバイル） --- */
@media (max-width: 768px) {
    .genre-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .genre-title {
        font-size: 1.6rem;
    }

    .genre-text {
        font-size: 1rem;
    }

    .genre-description {
        font-size: 0.9rem;
    }

    .genre-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .genre-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .genre-title {
        font-size: 1.4rem;
    }

    .genre-text {
        font-size: 0.9rem;
    }

    .genre-description {
        font-size: 0.85rem;
        padding: 1.5rem 0.5rem;
    }
}

/* --- CTA（モバイル） --- */
@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-badge {
        font-size: 0.8rem;
        padding: 0.35rem 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .cta-small-text {
        font-size: 0.85rem;
    }

    .cta-highlight-box {
        padding: 1.5rem 2rem;
    }

    .cta-highlight-label {
        font-size: 0.9rem;
    }

    .cta-highlight {
        font-size: 3rem;
    }

    .cta-content {
        font-size: 1rem;
        line-height: 1.9;
    }

    .cta-quote {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 2.5rem 1rem;
    }

    .cta-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.9rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-small-text {
        font-size: 0.8rem;
    }

    .cta-highlight-box {
        padding: 1.2rem 1.5rem;
    }

    .cta-highlight {
        font-size: 2.5rem;
    }

    .cta-content {
        font-size: 0.95rem;
    }

    .cta-quote {
        font-size: 1rem;
        padding-left: 1rem;
        border-left-width: 3px;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* --- コンテンツ（モバイル） --- */
@media (max-width: 768px) {
    .site-content {
        padding: 1rem;
    }

    .entry-title {
        font-size: 1.8rem;
    }

    .entry-header,
    .entry-content {
        padding: 1.5rem;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-content h2 {
        font-size: 1.5rem;
    }

    .entry-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .entry-title {
        font-size: 1.5rem;
    }

    .entry-header,
    .entry-content {
        padding: 1rem;
    }
}

/* ==========================================
   15. FAQセクション（よくある質問）
========================================== */
.faq-section {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQヘッダー */
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-badge {
    display: inline-block;
    background-color: #00bcd4;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* FAQアイテム */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question-text {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #00bcd4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-toggle::before {
    content: '+';
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    padding: 0 2rem 1.5rem 2rem;
}

/* ==========================================
   16. FAQセクション（モバイル）
========================================== */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1.5rem;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question-text {
        font-size: 0.95rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
    }

    .faq-answer-text {
        padding: 0 1.5rem 1.2rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 2.5rem 1rem;
    }

    .faq-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }

    .faq-title {
        font-size: 1.6rem;
    }

    .faq-subtitle {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1rem 1.2rem;
    }

    .faq-question-text {
        font-size: 0.9rem;
    }

    .faq-toggle {
        width: 26px;
        height: 26px;
    }

    .faq-answer-text {
        padding: 0 1.2rem 1rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ==========================================
   17. 参加条件セクション
========================================== */
.requirements-section {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #fff;
}

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

.requirements-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    background-color: #00bcd4;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.requirement-card {
    background-color: #fff;
    border-left: 4px solid #00bcd4;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.requirement-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.requirement-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #00bcd4;
    margin-bottom: 0.8rem;
}

.requirement-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ==========================================
   18. 参加条件セクション（モバイル）
========================================== */
@media (max-width: 768px) {
    .requirements-section {
        padding: 3rem 1.5rem;
    }

    .requirements-title {
        font-size: 1.6rem;
        padding: 0.8rem 1.5rem;
        margin-bottom: 2rem;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .requirement-card {
        padding: 1.5rem;
    }

    .requirement-title {
        font-size: 1rem;
    }

    .requirement-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .requirements-section {
        padding: 2.5rem 1rem;
    }

    .requirements-title {
        font-size: 1.4rem;
        padding: 0.7rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .requirements-grid {
        gap: 1.2rem;
    }

    .requirement-card {
        padding: 1.2rem;
        border-left-width: 3px;
    }

    .requirement-title {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .requirement-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ==========================================
   19. 申し込みフォームセクション
========================================== */
.form-section {
    width: 100%;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-badge {
    display: inline-block;
    background-color: #00bcd4;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.form-notice {
    font-size: 0.9rem;
    color: #999;
}

.application-form {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bcd4;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.spam-check {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.form-submit {
    text-align: center;
    margin-top: 2.5rem;
}

.submit-button {
    background: linear-gradient(135deg, #00D4BC 0%, #00BFA5 100%);
    color: #fff;
    padding: 1.2rem 4rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 212, 188, 0.3);
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 188, 0.4);
    background: linear-gradient(135deg, #00BFA5 0%, #00AB94 100%);
}

.form-success-message,
.form-error-message {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-success-message {
    border-top: 4px solid #00bcd4;
}

.form-success-message h3 {
    font-size: 2rem;
    color: #00bcd4;
    margin-bottom: 1rem;
}

.form-success-message p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.form-error-message {
    border-top: 4px solid #e74c3c;
}

.form-error-message p {
    font-size: 1.1rem;
    color: #e74c3c;
}

/* ==========================================
   20. 申し込みフォーム（モバイル）
========================================== */
@media (max-width: 768px) {
    .form-section {
        padding: 3rem 1.5rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .application-form {
        padding: 2rem 1.5rem;
    }

    .submit-button {
        padding: 1rem 3rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 2.5rem 1rem;
    }

    .form-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }

    .application-form {
        padding: 1.5rem 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* フォームのクリックを優先させる */
.form-section {
  position: relative;
  z-index: 100;
}

/* 万が一上層の透明レイヤーが重なっていてもクリック可能に */
.form-container,
.application-form,
.submit-button {
  position: relative;
  z-index: 101;
  pointer-events: auto !important;
}

/* 背景画像ラッパーをクリック無効化 */
.hero-image-wrapper,
.platinum-image,
.cta-section::before,
.cta-section::after {
  pointer-events: none !important;
}
.cta-section { pointer-events: none !important; }
.cta-section .cta-button { pointer-events: auto !important; }
