@charset "utf-8";

/******************************************************************
Theme Name: Japan Padel League
Description: Japan Padel League用テーマ
Version: 1.0
ChildThemeVersion: 1.0
Author: SaitoKou
Author URI: https://saitokou.com/
******************************************************************/

:root {
    --primary-teal: #26C2B1;
    --secondary-orange: #E68A3E;
    --bg-light-teal: #E6F7F5;
    --bg-light-gray: #e6e6e6;
    --text-dark: #333333;
    --text-gray: #666666;
    --footer-bg: #333333;
    --font-heading: "dela-gothic-one", sans-serif;
    --font-size-heading: 32px;
    --font-size-s: 12px;
    --font-weight-heading: 500;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

/* Anchor scroll margin */
section {
    scroll-margin-top: 80px;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo img{
    height: 24px;
    width: auto;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.page-hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Element: Overlay */
.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(32, 177, 159, 0.8);
    z-index: 1;
}

/* Element: Content Container */
.page-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Element: Title */
.page-hero__title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .page-hero__title {
        font-size: 26px;
    }
}

.page-hero__heading{
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
} 


/* Deprecated: Legacy hero classes for backwards compatibility */
.top-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.top-slider__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 20;
}

.top-slider__nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(0, 0, 0, 0.4);
}

.top-slider__nav-btn--prev {
    left: 0px;
}

.top-slider__nav-btn--next {
    right: 0px;
}

.top-slider__slides {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.top-slider__slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-slider__image {
    width: 100%;
    height: auto;
    display: block;
}

.top-slider__dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.top-slider__dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.top-slider__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.top-slider__dot--active {
    background: #fff;
    width: 20px;
    border-radius: 10px;
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 40px 20px;
}

.intro h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.intro .jpl-logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-teal);
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.intro .jpl-logo-text::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-teal);
    opacity: 0.8;
    border-radius: 200px;
}

.intro p {
    line-height: 1.8;
}


/* ==========================================================================
   top page Feature Visual Section (Block)
   ========================================================================== */
/* Block: トップページ専用のビジュアルセクション */
.top-feature-visual {
    width: 100%;
    margin-bottom: 40px;
}

/* Element: コンテナ (PC幅制限) */
.top-feature-visual__inner {
    max-width: 600px;
    /* 他のセクションと共通の幅 */
    margin: 0 auto;
}

/* Element: 画像配置の親（高さと切り抜きを制御） */
.top-feature-visual__container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

@media (min-width: 480px) {
    .top-feature-visual__container {
        height: 400px;
    }
}

@media (min-width: 660px) {
    .top-feature-visual__container {
        overflow: visible;
    }
}

/* Element: 各画像グループのベース */
.top-feature-visual__group {
    position: absolute;
    overflow: hidden;
}

/* Modifier: 左側の画像 */
.top-feature-visual__group--primary {
    top: 20px;
    left: -20px;
    width: 55%;
    z-index: 1;
}

/* Modifier: 右側の画像 */
.top-feature-visual__group--secondary {
    top: 80px;
    right: -20px;
    width: 75%;
}

/* Element: 画像自体の表示設定 */
.top-feature-visual__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* Element: 装飾ボール */
.top-feature-visual__ball {
    position: absolute;
    /* 必要に応じて調整: 例 bottom: 10px; right: 20%; */
    z-index: 2;
}

.top-feature-visual__ball-img {
    width: 60px;
    /* サイズ例 */
    height: auto;
}

.top-feature-visual__ball {
    position: absolute;
    top: 0px;
    left: 25%;
    width: 100px;
    height: 100px;
    z-index: 3;
}

/* Block */
.tour-point {
    width: 100%;
}

/* Element: Container (PC幅制限) */
.tour-point__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Element: Card */
.tour-point__card {
    background-color: #f5f5f5;
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Element: Icon Area */
.tour-point__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tour-point__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Element: Text Content Area */
.tour-point__content {
    flex-grow: 1;
}

/* Element: Title */
.tour-point__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* Element: Description */
.tour-point__description {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    color: #333;
}

/* Element: Footer Area */
.tour-point__footer {
    padding:  0 0 50px 0;
}

/* Element: CTA Button */
.tour-point__cta {
    background-color: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tour-point__cta:hover {
    opacity: 0.8;
}
/* Responsive adjustments */


/* ==========================================================================
   Upcoming Tournaments Section (Block)
   ========================================================================== */
.upcoming-tournaments {
    background-color: var(--bg-light-teal);
    padding: 60px 20px;
    text-align: center;
}

.upcoming-tournaments__inner {
    max-width: 600px;
    margin: 0 auto;
}

.upcoming-tournaments__title {
    font-size: var(--font-size-heading);
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 30px;
    position: relative;
}

.upcoming-tournaments__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.upcoming-tournaments__tab {
    flex: 1;
    padding: 10px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    /* デフォルト(inactive)のスタイル */
    background: #B2E5DF;
    color: var(--text-dark);
}

/* Modifier: Active state */
.upcoming-tournaments__tab--active {
    background: var(--primary-teal);
    color: #fff;
}

.upcoming-tournaments__list {
    /* 必要に応じてカードを並べるためのレイアウト（例：Grid）を追加可能 */
}

.upcoming-tournaments__actions-btn {
    background-color: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 0;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.upcoming-tournaments__actions-btn i {}


/* ==========================================================================
   Tournament Card (Block - 再利用可能なコンポーネント)
   ========================================================================== */
.tournament-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tournament-card__image {
    width: 100%;
    display: block;
    height: 200px;
     object-fit: cover;
}

.tournament-card__content {
    padding: 20px;
}

.tournament-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tournament-card__detail {
    display: flex;
    margin-bottom: 8px;
}

.tournament-card__label {
    width: 50px;
    color: var(--text-gray);
    flex-shrink: 0;
}

.tournament-card__value {
    font-weight: 500;
}

.tournament-card__footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    justify-content: right;
    align-items: center;
}

/* Status Text */
.tournament-card__status {
    font-weight: 700;
    color: var(--primary-teal);
    /* デフォルト色（残り○枠など） */
}

.tournament-card__status--cancel {
    color: #999;
}

.tournament-card__status--warning {
    color: #E68A3E;
}

/* Button */
.tournament-card__btn {
    background: var(--secondary-orange);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tournament-card__btn--disabled {
    background: #ccc;
    pointer-events: none;
    /* クリック不可にする場合 */
}

/* News Section */
.news {
    background: var(--bg-light-gray);
    padding: 60px 20px;
    text-align: center;
}

.news__inner {
    max-width: 600px;
    margin: 0 auto;
}

.news__title {
    font-size: var(--font-size-heading);
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 30px;
    position: relative;
}

.news__list {
    background: #fff;
    text-align: left;
    margin-bottom: 30px;
}

.news__item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    gap: 15px;
    align-items: center;
}

.news__thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.news__content {
    flex-grow: 1;
}

.news__date {
    font-size: 0.8rem;
    color: #bbb;
    display: block;
    margin-bottom: 5px;
}

.news__item-title {
    font-weight: 700;
    line-height: 1.4;
}

.news__link {
    background-color: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 0;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.news__link i {}

/* Sponsors Section */
.sponsors {
    padding: 60px 20px;
    text-align: center;
}

.sponsors__inner {
    max-width: 600px;
    margin: 0 auto;
}

.sponsors__title {
    font-size: var(--font-size-heading);
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 10px;
    position: relative;
}

.sponsors__description {
    margin-bottom: 30px;
    padding: 0 20px;
}

.sponsor__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sponsor__logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* FAQ Section */
.faq {
    background: var(--bg-light-gray);
    padding: 60px 20px;
    text-align: center;
}

.faq__inner {
    max-width: 600px;
    margin: 0 auto;
}

.faq__title {
    font-size: var(--font-size-heading);
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 30px;
    position: relative;
}

.faq__list {
    text-align: left;
}

.faq__item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq__question {
    padding: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    border-top: none;
    padding-top: 0;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out, border-top 0.3s ease-in-out;
}

.faq__answer--active {
    max-height: 500px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    padding-bottom: 20px;
}

.faq__answer strong {
    display: block;
    margin-bottom: 5px;
}

.faq__question svg {
    transition: transform 0.3s ease-in-out;
}

.faq__question--active svg {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.global-footer__logo-wrapper {
    margin: 0 20px 30px;
}

.footer-logo {
    height: 30px;
    margin-bottom: 20px;
}

.footer-email {
    margin-bottom: 20px;
    display: block;
    color: #fff;
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
}


/* Responsive adjustments */
@media (max-width: 480px) {
    .intro .jpl-logo-text {
        font-size: 1.5rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        width: 60px;
    }
}

/* ハンバーガーボタン */
.menu-toggle-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    color: inherit;
}

.menu-toggle-btn:hover {
    background-color: #f3f4f6;
}

.icon-svg {
    width: 32px;
    height: 32px;
}

/* メニューの初期状態（画面の外へ隠す） */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 450px;
    height: 100%;
    background-color: #ffffff;
    z-index: 50;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

/* メニューが開いた状態 */
#mobile-menu.active {
    transform: translateX(0);
}

/* 背景オーバーレイ */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

/* オーバーレイが表示された状態 */
#menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* メニューが開いている時にスクロールを防止 */
body.menu-open {
    overflow: hidden;
}

/* メニュー内のリンク */
.menu-list {
    list-style: none;
    margin-top: 32px;
}

.menu-item {
    border-bottom: 1px solid #f3f4f6;
}

.menu-link {
    display: block;
    padding: 12px 8px;
    text-decoration: none;
    color: #111827;
    font-size: 1.125rem;
    font-weight: 500;
}

.menu-link:hover {
    color: #2563eb;
}

/* 閉じるボタンの配置 */
.close-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

/* 資料請求ボタン */
.cta-button {
    margin-top: 48px;
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}



/* ==========================================================================
   navigation menu styles
   ========================================================================== */

.sp-nav {
    width: 100%;
    max-width: 450px;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}


.sp-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px 0;
}


.sp-nav__logo-area {
    width: 80%;
}

.sp-nav__close-btn {
    color: #000;
    font-size: 32px;
    cursor: pointer;
}

.user-section {
    margin-bottom: 20px;
    position: relative;
}

.user-section--preparing {
    opacity: 0.5;
    pointer-events: none;
}

.user-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-section__overlay-text {
    font-weight: 700;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-section__logged-out {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.user-section__logged-in {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.user-card {
    flex: 1;
    height: 100px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-sizing: border-box;
}

.user-card.white {
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

.user-card.dark {
    background-color: #595959;
    color: #fff;
}

.user-card.dark i {
    font-size: 24px;
    margin-bottom: 5px;
}

.user-card.dark span {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
}

.user-card.light-teal {
    background-color: #52d5c1;
    color: #fff;
}

.user-card.light-teal i {
    font-size: 24px;
    margin-bottom: 5px;
}

.user-card.light-teal span {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.action-button-wrapper {
    position: relative;
}

.action-button-wrapper--preparing {
    opacity: 0.5;
    pointer-events: none;
}

.action-button__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button__overlay-text {
    font-weight: 700;
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    gap: 10px;
    transition: opacity 0.2s ease-out;
}

.btn:hover {
    opacity: 0.4;
}

.btn-teal {
    background-color: #36c1ad;
}

.btn-orange {
    background-color: #e18a3b;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 15px 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 15px;
    position: relative;
}

.nav-item a {
    transition: opacity 0.2s ease-out;
}

.nav-item a:hover {
    opacity: 0.4;
}

.nav-item--preparing {
    opacity: 0.5;
    pointer-events: none;
}

.preparing {
    position: relative;
    pointer-events: none;
    opacity: 0.5;
}

.preparing::after {
    content: '準備中';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.nav-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item__overlay-text {
    font-weight: 700;
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 0;
    cursor: pointer;
}

.nav-link svg.main-icon {
    width: 30px;
    color: #36c1ad;
    font-size: 18px;
    margin-right: 10px;
    text-align: center;
}

.nav-link .chevron {
    margin-left: auto;
    color: #000;
    font-size: 18px;
}

/* サブメニュー：初期状態は高さ0で見えなくする */
.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;

    /* --- 開閉の肝 --- */
    display: grid;
    grid-auto-rows: 0;
    transition: all 0.3s ease-out;
    /* まとめてアニメーション */

    /* --- 念のための上書き防止 --- */
    overflow: hidden;
    visibility: hidden;
    /* 見えないようにする */
    opacity: 0;
    /* 透明にする */
}

/* 中身のラッパー（Gridで高さを出すために必要） */
.sub-menu li {
    min-height: 0;
}

/* 開いたときの状態 */
.nav-item.is-open .sub-menu {
    grid-auto-rows: min-content;
    /* 中身の高さに合わせて自動調整 */
    visibility: visible;
    /* 表示する */
    opacity: 1;
    /* 不透明にする */
}

/* 矢印（Chevron）を回転させるアニメーション */
.chevron {
    transition: transform 0.3s ease;
}

.nav-item.is-open .chevron {
    transform: rotate(180deg);
    /* 180度回転 */
}

.sub-menu li a {
    display: block;
    padding: 12px 15px 12px 45px;
    /* 左側に余白を作って階層を表現 */
    text-decoration: none;
    color: #666;
}



.global-footer__logo-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.global-footer__logo {
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #b6b6b6;
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-nav .sub-link {
    padding-left: 10px;
    position: relative;
}

.footer-nav .sub-link::before {
    content: '-';
    position: absolute;
    left: 0;
}

.footer-nav__item {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-nav__submenu {
    margin: 0;
}

.footer-nav__submenu li {
    list-style: none;
}

.footer-nav__submenu a {
    display: block;
    text-decoration: none;
    color: #b6b6b6;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Specific logo font adjustments */
.logo-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-style: italic;
}




/* ==========================================================================
   page-tour-overview Template Feature Section
   ========================================================================== */

/* Block */
.feature-section {
    padding: 40px 0 0 0;
    /* 左右のpaddingはinnerで制御するため0に */
}

/* Element: Container (PC幅制限) */
.feature-section__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Element: Title */
.feature-section__title {
    font-size: 40px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.feature-section__title::before,
.feature-section__title::after {
    color: rgba(41, 197, 178, 0.2);
    font-size: 120px;
    quotes: "“" "”" "‘" "’";
    position: absolute;
    z-index: -1;
}

.feature-section__title::before {
    content: open-quote;
    top: -60px;
    left: -30px;
}

.feature-section__title::after {
    content: close-quote;
    top: -20px;
    right: -30px;
}

/* Modifier: Title Finale */
.feature-section__title--finale {
    margin-bottom: 40px;
}

/* Element: Subtitle */
.feature-section__subtitle {
    font-weight: 700;
    margin-bottom: 40px;
    display: block;
}

/* Element: Text */
.feature-section__text {
    font-size: 14px;
    margin-bottom: 30px;
    text-align: justify;
}

/* Element: Image */
.feature-section__image {
    margin-bottom: 60px;
    display: block;
    /* 親要素(inner)のpadding分を外側に広げる設定 */
    width: calc(100% + 40px);
    margin-left: -20px;
    max-width: none;
    max-height: 340px;
    object-fit: cover;
}

/* ==========================================================================
   page-tour-overview Template Category Section
   ========================================================================== */

/* Block */
.category-section {
    background-color: #fff;
    padding: 60px 0px 60px 0px;
    text-align: center;
}

/* Element: PC幅制限コンテナ */
.category-section__inner {
    max-width: 600px;
    /* 前回のセクションに合わせて800pxに設定 */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-section__title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 32px;
    margin-bottom: 20px;
}

.category-section__lead {
    margin-bottom: 20px;
}

/* Element: Category Card */
.category-section__card {
    background-color: #e0f7f4;
    width: 100%;
    max-width: 500px;
    border-radius: 28px;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.category-section__header-image {
    width: 100%;
    height: 130px;
    border-radius: 15px;
    display: block;
    margin-bottom: 8px;
    object-fit: cover;
}

.category-section__info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-section__icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-section__icon img {
    width: 50px;
    height: 50px;
}

.category-section__card-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #000;
    letter-spacing: 1px;
}

/* Modifiers for Title Fonts */
.category-section__card-title--mixfree {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 800;
}

.category-section__subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #000;
    margin-top: 0;
}

/* Element: White Detail Card */
.category-section__detail-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 16px;
    display: flex;
    align-items: stretch;
}

.category-section__detail-card:last-child {
    margin-bottom: 0;
}

.category-section__label {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-align: center;
}

.category-section__divider {
    width: 1px;
    background-color: #e0e0e0;
    margin: 0 15px;
}

.category-section__content {
    width: 70%;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Modifier: Centered content */
.category-section__content--centered {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.category-section__content-bold {
    font-size: 18px;
    display: block;
    margin-bottom: 4px;
}

.category-section__level-item {
    margin-bottom: 12px;
}

.category-section__level-item:last-child {
    margin-bottom: 0;
}

.category-section__level-target {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 400px) {
    .category-section__card-title {
        font-size: 28px;
    }

    .category-section__subtitle {
        font-size: 16px;
    }

    .category-section__label {
        font-size: 16px;
    }
}

/* ==========================================================================
   page-tour-overview Template Ranking Section
   ========================================================================== */
/* ------------------------------------------------------------------------- */
/* ランキングのしくみ タブ部分 */
/* ------------------------------------------------------------------------- */

/* --- Block --- */
.ranking-detail {
    background-color: #fffde7;
    padding: 60px 20px;
    text-align: center;
    transition: background-color 0.4s ease;
}

/* Element: PC幅制限コンテナ */
.ranking-detail__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modifier: THE・漢が選ばれている時のBlock背景色変更例 */
.ranking-detail[data-active-category="mens"] {
    background-color: #2D2D2D;
}

/* --- Elements --- */
.ranking-detail__main-title {
    font-size: var(--font-size-heading);
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 30px;
}

.ranking-detail__main-title[data-active-category="mens"] {
    color: #fff;
}

.ranking-detail__tabs {
    display: flex;
    background-color: #e1dfaf;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

.ranking-detail__tabs[data-active-category="mens"] {
    background-color: #444444;
}

.ranking-detail__tab-btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
}

.ranking-detail__tab-btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.ranking-detail__tab-btn[data-target="free"] {
    color: #fff;
    background: transparent !important;
}

.ranking-detail__tab-btn.ranking-detail__tab-btn--active[data-target="free"] {
    color: #000;
    background: #fff !important;
    border: 3px solid #f0e000;
}

.ranking-detail__tab-btn[data-target="mens"] {
    background: transparent;
    color: #000;
}

.ranking-detail__tab-btn.ranking-detail__tab-btn--active[data-target="mens"] {
    color: #fff;
    background: #333333;
    border: 3px solid #b33a3a;
}

/* Content Element */
.ranking-detail__content {
    display: none;
    /* 基本は非表示 */
    opacity: 0;
    transform: translateY(15px);
    /* 下からふわっと出すための余白 */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Content Modifier: Active (JSで切り替え) */
.ranking-detail__content--active {
    display: block;
}

/* JSで付与するアニメーション発火用クラス */
.ranking-detail__content--fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------------------- */
/* ランキングのしくみ 男女フリー */
/* ------------------------------------------------------------------------- */

/* Elements */
.ranking-info-category-free__title {
    font-size: var(--font-size-heading);
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 30px;
}

.ranking-info-category-free__tabs {
    display: flex;
    background-color: #e1dfaf;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 40px;
}

.ranking-info-category-free__tab {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

/* Tab Modifiers */
.ranking-info-category-free__tab--active {
    background-color: #fff;
    border: 2px solid #ECE400;
    color: #000;
    padding: 10px 0;
}

.ranking-info-category-free__tab--inactive {
    background-color: transparent;
    color: #000;
}

.ranking-info-category-free__intro {
    color: #f06292;
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 15px;
}

.ranking-info-category-free__description {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Text Modifiers */
.ranking-info-category-free__accent--blue {
    color: #2196f3;
}

.ranking-info-category-free__accent--green {
    color: #4caf50;
}

.ranking-info-category-free__accent--pink {
    color: #f06292;
}

.ranking-info-category-free__note {
    color: #888;
    display: block;
    margin-top: 10px;
    font-size: 12px;
}

/* Grid & Cards */
.ranking-info-category-free__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.ranking-info-category-free__card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #ddd;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Card Decorative Circles (using pseudo-elements for cleaner HTML) */
.ranking-info-category-free__card::before,
.ranking-info-category-free__card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    z-index: 0;
}

.ranking-info-category-free__card::before {
    top: -30px;
    right: -30px;
}

.ranking-info-category-free__card::after {
    bottom: -30px;
    left: -30px;
}

/* Card Color Variations */
.ranking-info-category-free__card--blue {
    border-color: #2196f3;
}

.ranking-info-category-free__card--blue::before,
.ranking-info-category-free__card--blue::after {
    background-color: #DDE7F9;
}

.ranking-info-category-free__card--green {
    border-color: #4caf50;
}

.ranking-info-category-free__card--green::before,
.ranking-info-category-free__card--green::after {
    background-color: #D8F4E0;
}

.ranking-info-category-free__card--pink {
    border-color: #f06292;
}

.ranking-info-category-free__card--pink::before,
.ranking-info-category-free__card--pink::after {
    background-color: #FADEEB;
}

.ranking-info-category-free__card--orange {
    border-color: #ff9800;
}

.ranking-info-category-free__card--orange::before,
.ranking-info-category-free__card--orange::after {
    background-color: #FBD2B1;
}

.ranking-info-category-free__card-inner {
    z-index: 1;
}

.ranking-info-category-free__icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #fff;
}

/* Icon Colors */
.ranking-info-category-free__card--blue .ranking-info-category-free__icon-wrapper {
    background-color: #2196f3;
}

.ranking-info-category-free__card--green .ranking-info-category-free__icon-wrapper {
    background-color: #4caf50;
}

.ranking-info-category-free__card--pink .ranking-info-category-free__icon-wrapper {
    background-color: #f06292;
}

.ranking-info-category-free__card--orange .ranking-info-category-free__icon-wrapper {
    background-color: #ff9800;
}

.ranking-info-category-free__card-label {
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.ranking-info-category-free__card-name {
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
    display: block;
}

.ranking-info-category-free__card-value {
    font-size: 24px;
    font-weight: 900;
}

/* Value Colors */
.ranking-info-category-free__card--blue .ranking-info-category-free__card-value {
    color: #2196f3;
}

.ranking-info-category-free__card--green .ranking-info-category-free__card-value {
    color: #4caf50;
}

.ranking-info-category-free__card--pink .ranking-info-category-free__card-value {
    color: #f06292;
}

.ranking-info-category-free__card--orange .ranking-info-category-free__card-value {
    color: #ff9800;
}

.ranking-info-category-free__card-unit {
    font-size: 12px;
    font-weight: 700;
    margin-left: 2px;
}

.ranking-info-category-free__card-sub {
    font-size: 10px;
    color: #888;
    margin-top: 5px;
    display: block;
}

/* Example Section */
.ranking-info-category-free__example {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.ranking-info-category-free__example-ball {
    width: 60px;
    height: 60px;
    position: absolute;
    top: -12px;
    left: -10px;
    z-index: 2;
}

.ranking-info-category-free__example-container {
    background-color: #fff;
    border: 3px solid #fbc02d;
    border-radius: 20px;
    overflow: hidden;
}

.ranking-info-category-free__example-header {
    background-color: #fbc02d;
    color: #fff;
    padding: 10px;
    font-size: 20px;
    font-weight: 900;
}

.ranking-info-category-free__example-body {
    padding: 20px;
}

.ranking-info-category-free__example-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.ranking-info-category-free__example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ranking-info-category-free__example-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.ranking-info-category-free__example-label {
    font-size: 15px;
    font-weight: 700;
    display: block;
}

.ranking-info-category-free__example-value {
    font-size: 18px;
    font-weight: 900;
}

.ranking-info-category-free__example-value--blue {
    color: #2196f3;
}

.ranking-info-category-free__example-value--green {
    color: #4caf50;
}

.ranking-info-category-free__example-value--pink {
    color: #f06292;
}

.ranking-info-category-free__example-value--orange {
    color: #ff9800;
}

.ranking-info-category-free__example-arrow {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Total Badge */
.ranking-info-category-free__total-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #f3c111, #e88d36);
    padding: 15px 40px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.ranking-info-category-free__total-icon {
    margin-right: 20px;
    font-size: 32px;
}

.ranking-info-category-free__total-label {
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.ranking-info-category-free__total-row {
    display: flex;
    align-items: baseline;
}

.ranking-info-category-free__total-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.ranking-info-category-free__total-unit {
    font-size: 36px;
    font-weight: 700;
    margin-left: 5px;
}

.ranking-info-category-free__total-action {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
}

.ranking-info-category-free__example-footer {
    font-size: 12px;
    color: #888;
}


/* ------------------------------------------------------------------------- */
/* ランキングのしくみ The・漢 */
/* ------------------------------------------------------------------------- */

/* Block */
.ranking-info-category-mens {
    color: #fff;
}

/* Elements */
.ranking-info-category-mens__main-title {
    font-size: var(--font-size-heading);
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 30px;
    letter-spacing: -1px;
    color: #fff;
}

.ranking-info-category-mens__tabs {
    display: flex;
    background-color: #444444;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 40px;
}

.ranking-info-category-mens__tab {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

/* Modifiers for Tab */
.ranking-info-category-mens__tab--active {
    background-color: #333333;
    border: 2px solid #b33a3a;
    padding: 10px 0;
}

.ranking-info-category-mens__tab--inactive {
    background-color: transparent;
}

/* Section Title */
.ranking-info-category-mens__section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.ranking-info-category-mens__line {
    flex-grow: 1;
    height: 1px;
    background-color: #b33a3a;
}

.ranking-info-category-mens__section-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 15px;
    white-space: nowrap;
    color: #fff;
}

.ranking-info-category-mens__description {
    font-size: 15px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 40px;
}

/* Circle Graphic */
.ranking-info-category-mens__circle-graphic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #666666;
    background: linear-gradient(180deg, #444444 0%, #222222 100%);
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ranking-info-category-mens__circle-icon {
    color: #e60012;
    font-size: 36px;
    margin-bottom: 10px;
}

.ranking-info-category-mens__circle-text-top {
    font-weight: bold;
    color: #fff;
}

.ranking-info-category-mens__circle-text-bottom {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    position: relative;
    padding-bottom: 5px;
    font-style: italic;
    /* 前回の依頼内容を反映 */
}

.ranking-info-category-mens__circle-text-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #e60012;
}

/* Info Card */
.ranking-info-category-mens__card {
    background: linear-gradient(180deg, #444444 0%, #222222 100%);
    border: 1px solid #555555;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
}

.ranking-info-category-mens__card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ranking-info-category-mens__trophy-icon {
    color: #e60012;
    font-size: 24px;
    margin-right: 10px;
}

.ranking-info-category-mens__card-title {
    font-size: 16px;
    font-weight: bold;
}

.ranking-info-category-mens__card-subtext {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Points Grid */
.ranking-info-category-mens__points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ranking-info-category-mens__point-box {
    background-color: #333333;
    border: 1px solid #666666;
    border-radius: 10px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Modifier for Highlighted Point Box */
.ranking-info-category-mens__point-box--highlight {
    background: linear-gradient(180deg, #800000 0%, #330000 100%);
    border: 2px solid #e60012;
    padding: 14px 9px;
}

.ranking-info-category-mens__label-en {
    font-size: 11px;
    font-weight: bold;
    color: #888888;
    margin-bottom: 2px;
}

.ranking-info-category-mens__point-box--highlight .ranking-info-category-mens__label-en {
    color: #e60012;
}

.ranking-info-category-mens__label-jp {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.ranking-info-category-mens__value {
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: baseline;
}

.ranking-info-category-mens__unit {
    font-size: 14px;
    margin-left: 4px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 360px) {
    .ranking-info-category-mens__main-title {
        font-size: 28px;
    }

    .ranking-info-category-mens__section-title {
        font-size: 18px;
    }

    .ranking-info-category-mens__circle-graphic {
        width: 160px;
        height: 160px;
    }
}

/* ==========================================================================
   page-tour-overview Template Season Finale Section
   ========================================================================== */

/* Block */
.season-finale {
    background-color: #333;
    color: #fff;
    padding: 60px 0;
    /* 左右paddingはinnerで制御 */
    text-align: center;
}

/* Element: Container (PC幅制限) */
.season-finale__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Element: Subtitle */
.season-finale__title-sub {
    color: #fbc02d;
    font-size: 14px;
    font-family: times-new-roman, serif;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Element: Main Title */
.season-finale__title {
    color: #fbc02d;
    font-size: 28px;
    font-family: var(--font-heading), sans-serif;
    font-weight: var(--font-weight-heading);
    margin-bottom: 30px;
    margin-top: 10px;
}

/* Element: Description */
.season-finale__desc {
    margin-bottom: 40px;
    line-height: 1.6;
}

.season-finale__desc-highlight {
    color: #fbc02d;
    font-weight: 700;
}

/* Element: Trophy Icon */
.season-finale__trophy {
    font-size: 80px;
    color: #fbc02d;
    margin-bottom: 40px;
}

.season-finale__trophy svg,
.season-finale__trophy i {
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

/* Element: Info Card */
.season-finale__info-card {
    background: linear-gradient(to bottom, #555555, #1F1F1F);
    border: 2px solid #666;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.season-finale__info-label {
    display: flex;
    align-items: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.season-finale__info-label svg,
.season-finale__info-label i {
    color: #fbc02d;
    margin-right: 10px;
    font-size: 24px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.season-finale__info-value {
    font-size: 18px;
    font-weight: 900;
}

.season-finale__info-sub {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
}

/* ==========================================================================
   Common Classes
   ========================================================================== */

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

.btn.btn--primary {
    background-color: var(--primary-teal);
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.btn.btn--primary:hover {
    opacity: 0.8;
}

.btn.btn--primary svg {
    margin-left: 10px;
}


/* ==========================================================================
   Utility Classes
   ========================================================================== */

.util-mb0 {
    margin-bottom: 0 !important;
}

.util-only-sp {
    display: none !important;
}
@media (max-width: 768px) {
    .util-only-sp {
        display: block !important;
    }
}

/* ==========================================================================
   Tournament Info Section
   ========================================================================== */

.tournament-info {
    width: 100%;
    padding: 40px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    background-color: #D7F4F1;
}

.tournament-info__title {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.tournament-info__row {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
    align-items: stretch;
}

.tournament-info__label {
    background-color: var(--primary-teal);
    color: #ffffff;
    width: 100px;
    min-height: 70px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
    flex-shrink: 0;
    box-sizing: border-box;
    line-height: 1.3;
}

.tournament-info__content {
    background-color: #ffffff;
    color: #000000;
    flex-grow: 1;
    padding: 15px 18px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 600;
    box-sizing: border-box;
}

.tournament-info__content p {
    margin: 0;
}

.tournament-info__bullet {
    display: block;
    margin-bottom: 4px;
}

.tournament-info__bullet:last-child {
    margin-bottom: 0;
}

.tournament-info__button {
    margin-top: 40px;
}

.tournament-info__button-icon {
    margin-left: 18px;
}


@media (max-width: 768px) {
    .tournament-info__row {
        margin-bottom: 5px;
    }
    .tournament-info__label {
        width: 85px;
        font-size: 14px;
        margin-right: 5px;
    }
    .tournament-info__content {
        font-size: 14px;
    }
    .tournament-info__title {
        font-size: 20px;
    }
}

/* Content Width */
.content-wrapper {
    max-width: 960px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Heading Styles */
    .content-wrapper h1,
    .content-wrapper .h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    margin-top: 0;
    line-height: 1.3;
}

    .content-wrapper h2,
    .content-wrapper .h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 40px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-teal);
}

    .content-wrapper h3,
    .content-wrapper .h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    margin-top: 32px;
}

    .content-wrapper h4,
    .content-wrapper .h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    margin-top: 24px;
}

    .content-wrapper h5,
    .content-wrapper .h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    margin-top: 20px;
}

    .content-wrapper h6,
    .content-wrapper .h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    margin-top: 16px;
}

/* Mobile Heading Styles (for single.php and page.php) */
@media (max-width: 768px) {
    .content-wrapper h1,
    .content-wrapper .h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .content-wrapper h2,
    .content-wrapper .h2 {
        font-size: 24px;
        margin-bottom: 16px;
        margin-top: 32px;
        padding-bottom: 8px;
    }

    .content-wrapper h3,
    .content-wrapper .h3 {
        font-size: 20px;
        margin-bottom: 12px;
        margin-top: 24px;
    }

    .content-wrapper h4,
    .content-wrapper .h4 {
        font-size: 18px;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .content-wrapper h5,
    .content-wrapper .h5 {
        font-size: 16px;
        margin-bottom: 10px;
        margin-top: 16px;
    }

    .content-wrapper h6,
    .content-wrapper .h6 {
        font-size: 14px;
        margin-bottom: 10px;
        margin-top: 12px;
    }
}

/* Single Post Page */
.content-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.entry-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.entry-thumbnail__image {
    width: 100%;
    height: auto;
    display: block;
}

.entry-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.entry-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entry-date {
    font-size: 14px;
    color: #666;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 15px;
    color: #333;
}

.entry-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 25px 0 12px;
    color: #333;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 6px;
}

.entry-content a {
    color: #0066cc;
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .content-wrapper {
        margin: 30px auto;
        padding: 0 15px;
    }

    .entry-title {
        font-size: 24px;
    }

    .entry-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .entry-content {
        font-size: 15px;
    }

    .entry-content h2 {
        font-size: 20px;
        margin: 20px 0 12px;
    }

    .entry-content h3 {
        font-size: 18px;
        margin: 18px 0 10px;
    }
}

/* Archive Page */
.archive-wrapper {
    background-color: var(--bg-light-gray);
}

.archive-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    text-align: center;
}

.archive-title {
    font-family: var(--font-heading), sans-serif;
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-heading);
    color: #333;
    margin: 0;
}

.archive-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.archive-post-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.archive-post-card__thumbnail {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.archive-post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-post-card:hover .archive-post-card__image {
    transform: scale(1.05);
}

.archive-post-card__thumbnail--no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.archive-post-card__no-image-placeholder {
    font-size: 48px;
    color: #ccc;
}

.archive-post-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.archive-post-card__title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.3;
}

.archive-post-card__title a {
    color: #333;
    text-decoration: none;
}

.archive-post-card__title a:hover {
    color: var(--primary-teal);
}

.archive-post-card__meta {
    margin-bottom: 12px;
}

.archive-post-card__date {
    font-size: 13px;
    color: #666;
}

.archive-post-card__excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.archive-post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-teal);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.archive-post-card__link:hover {
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* ペジネーション */
.archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-numbers {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.page-numbers a,
.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0066cc;
    font-size: 14px;
}

.page-numbers a:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-numbers .page-numbers.current {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-numbers .dots {
    border: none;
    color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .archive-wrapper {
        padding: 30px 15px;
    }

    .archive-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-post-card {
        display: flex;
        flex-direction: row;
    }

    .archive-post-card__thumbnail {
        width: 150px;
        height: 100%;
        flex-shrink: 0;
    }

    .archive-post-card__content {
        padding: 15px;
    }

    .archive-post-card__title {
        font-size: 16px;
    }
}
/* ==========================================================================
   Contact Form 7 Styling
   ========================================================================== */

/* フォームコンテナ */
.wpcf7 {
    margin: 0 auto;
}

.wpcf7-form {
    padding: 0;
}

/* フォームグループ */
.wpcf7-form-group {
    margin-bottom: 20px;
}

/* ラベル */
.wpcf7-form-control-wrap label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

/* テキスト入力フィールド */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-url,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-date {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-light-gray);
    color: var(--text-dark);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-url:focus,
.wpcf7-form-control.wpcf7-number:focus,
.wpcf7-form-control.wpcf7-date:focus {
    outline: none;
    border-color: var(--primary-teal);
    background-color: #f0fffe;
}

/* テキストエリア */
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-light-gray);
    color: var(--text-dark);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background-color: #f0fffe;
}

/* セレクト（ドロップダウン） */
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--bg-light-gray);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326C2B1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: var(--primary-teal);
}

/* ラジオボタン */
.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary-teal);
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

/* チェックボックス */
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary-teal);
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

/* 送信ボタン */
.wpcf7-form-control.wpcf7-submit {
    width: 100%;
    padding: 15px 30px;
    background-color: var(--primary-teal);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 10px;
}

.wpcf7-form-control.wpcf7-submit:hover {
    opacity: 0.9;
    background-color: #1fa99e;
}

.wpcf7-form-control.wpcf7-submit:active {
    opacity: 0.8;
}

/* バリデーション エラーメッセージ */
.wpcf7-form-control.wpcf7-text.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-email.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-tel.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-url.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-number.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-date.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-textarea.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-select.wpcf7-not-valid {
    border-color: #dc3545;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* 成功メッセージ */
.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    color: #155724;
    margin-bottom: 20px;
    font-weight: 500;
}

/* エラーメッセージ */
.wpcf7-mail-sent-ng {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
    color: #721c24;
    margin-bottom: 20px;
    font-weight: 500;
}

/* スピナー（送信中のローディング） */
.wpcf7-spinner {
    display: inline-block;
    margin-left: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wpcf7-form-control.wpcf7-text,
    .wpcf7-form-control.wpcf7-email,
    .wpcf7-form-control.wpcf7-tel,
    .wpcf7-form-control.wpcf7-url,
    .wpcf7-form-control.wpcf7-number,
    .wpcf7-form-control.wpcf7-date,
    .wpcf7-form-control.wpcf7-textarea,
    .wpcf7-form-control.wpcf7-select {
        font-size: 16px;
        padding: 12px 12px;
    }

    .wpcf7-form-control.wpcf7-submit {
        padding: 14px 20px;
        font-size: 15px;
    }
}