/*
Theme Name: Family Fitness Care
Theme URI: https://example.com/
Author: Family Fitness Care
Author URI: https://example.com/
Description: ファミリーフィットネスケア専用のWordPressテーマ。家族で通えるフィットネス施設のための親しみやすく温かみのあるデザイン。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ffc-theme
Tags: fitness, family, health, responsive, custom-menu
*/

/* ==========================================================================
   リセット・ベーススタイル
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #F5F1E8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   タイポグラフィ
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1em;
}

/* ==========================================================================
   レイアウト
   ========================================================================== */

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.site-logo img,
.custom-logo-link img {
    height: 60px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a,
.main-nav span {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #8b6b4a;
}

.main-nav .menu-item-has-children > span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-icon {
    transition: transform 0.2s ease;
    margin-left: 3px;
}

.main-nav .menu-item-has-children:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* ドロップダウンメニュー */
.main-nav .menu-item-has-children {
    position: relative;
}

.main-nav .menu-item-has-children::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    pointer-events: none;
}

.main-nav .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 300px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px 40px;
    margin-top: 10px;
    z-index: 1000;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.main-nav .menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
}

.main-nav .menu-item-has-children:hover::after {
    pointer-events: auto;
}

.main-nav .sub-menu li {
    margin: 0;
    flex: 1 1 100%;
    min-width: 240px;
}

.main-nav .sub-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:active {
    background-color: #f8f9fa;
    color: #8b6b4a;
}

@media (hover: none) {
    .main-nav .sub-menu a:active {
        background-color: #e9ecef;
    }
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.header-social-icon:hover {
    background-color: #8b6b4a;
    color: #fff;
    transform: translateY(-2px);
}

.header-social-icon svg {
    width: 18px;
    height: 18px;
}

.header-cta {
    background-color: #8b6b4a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-left: 20px;
}

.header-cta:hover {
    background-color: #ff7050;
    opacity: 1;
}

/* モバイルメニュー内のコンタクトセクション */
.mobile-contact {
    display: none;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

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

.mobile-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.mobile-social-icon:hover {
    background-color: #8b6b4a;
    color: #fff;
    transform: translateY(-2px);
}

.mobile-social-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-cta {
    display: block;
    background-color: #8b6b4a;
    color: #fff;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mobile-cta:hover {
    background-color: #ff7050;
    opacity: 1;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .main-nav.active .mobile-contact {
        display: block;
    }
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
    background-color: #2C3E50;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #fff;
    opacity: 1;
}

.footer-info h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

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

.footer-logo img {
    max-width: 200px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.footer-address,
.footer-phone {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-phone a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-phone a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #8b6b4a;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    max-height: 200px;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
    width: 100%;
    overflow: visible;
    padding-right: 0;
}

.hero-content {
    flex: 0 0 500px;
    z-index: 2;
    order: 1;
    padding-right: 60px;
    padding-left: 200px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 10px;
    white-space: nowrap;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.3;
    white-space: nowrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    order: 2;
    overflow: visible;
}

.hero-image {
    width: 700px !important;
    height: 700px !important;
    animation: float 6s ease-in-out infinite;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #ffffff;
    margin-right: -50px;
    flex-shrink: 0;
    max-width: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   導入文セクション
   ========================================================================== */

.intro-section {
    text-align: center;
    padding: 40px 0;
    background: #ffffff;
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, #ddd 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-highlight {
    display: block;
    font-style: italic;
    color: #555;
    margin: 15px 0;
    padding-left: 0;
    border-left: none;
}

/* ==========================================================================
   特徴セクション（2カラムレイアウト）
   ========================================================================== */

.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-visual {
    flex: 1;
}

.feature-number {
    font-size: 1rem;
    font-weight: 600;
    color: #8b6b4a;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* ==========================================================================
   CTAボタン
   ========================================================================== */

.cta-buttons {
    display: flex;
    gap: 0;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 200px;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #8b6b4a;
    color: #fff;
    border: 2px solid #8b6b4a;
}

.btn-primary:hover {
    background-color: #ff7050;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 139, 106, 0.3);
    opacity: 1;
}

.btn-secondary {
    background-color: #fff;
    color: #8b6b4a;
    border: 2px solid #8b6b4a;
}

.btn-secondary:hover {
    background-color: #8b6b4a;
    color: #fff;
    opacity: 1;
}

/* ==========================================================================
   料金プラン
   ========================================================================== */

.pricing-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #8b6b4a #f0f0f0;
}

.pricing-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.pricing-slider-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.pricing-slider-wrapper::-webkit-scrollbar-thumb {
    background: #8b6b4a;
    border-radius: 4px;
}

.pricing-slider-wrapper::-webkit-scrollbar-thumb:hover {
    background: #6d5538;
}

.pricing-slider-wrapper:active {
    cursor: grabbing;
}

.pricing-slider {
    display: flex;
    gap: 30px;
    transition: none;
    padding: 0 20px;
}

.pricing-slider .pricing-card {
    flex: 0 0 500px;
    min-width: 500px;
    max-width: 500px;
}

@media (max-width: 1200px) {
    .pricing-slider .pricing-card {
        flex: 0 0 500px;
        min-width: 500px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .pricing-slider .pricing-card {
        flex: 0 0 calc(90% - 10px);
        min-width: 300px;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.pricing-name {
    font-size: 1.125rem;
    margin-bottom: 15px;
    color: #333;
}

.pricing-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    min-height: 60px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b6b4a;
    margin-bottom: 10px;
}

.pricing-price small {
    font-size: 1rem;
    color: #666;
}

.pricing-details {
    margin-top: 20px;
    text-align: left;
}

.pricing-details li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

/* 初心者体験プラン専用スタイル */
@media (min-width: 768px) {
    .beginner-trial-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .student-training-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .subscription-plan-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
}

/* ==========================================================================
   カードレイアウト（横スクロール対応）
   ========================================================================== */

.cards-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #8b6b4a #f0f0f0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    min-width: 100%;
}

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

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

/* ==========================================================================
   よくある質問（アコーディオン）
   ========================================================================== */

.faq-item {
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #eef0f2;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

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

.faq-answer p {
    color: #555;
    line-height: 1.8;
}

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */

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

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-label .required {
    color: #ff0000;
    margin-left: 5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #8b6b4a;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: #8b6b4a;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #ff7050;
}

/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

@media screen and (max-width: 1023px) {
    /* タブレット */
    .section {
        padding: 60px 0;
    }

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

    .feature-item {
        gap: 40px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a,
    .main-nav span {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 767px) {
    /* スマートフォン */
    html {
        font-size: 14px;
    }

    .header-inner {
        padding: 15px 20px;
    }

    .site-logo img,
    .custom-logo-link img {
        height: 50px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-nav > ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .main-nav > ul > li {
        border-bottom: none;
    }

    .main-nav > ul > li.menu-item-has-children {
        grid-column: 1 / -1;
    }

    .main-nav a,
    .main-nav .menu-parent {
        display: block;
        padding: 15px 0;
    }

    .main-nav .sub-menu li {
        border-bottom: none;
    }


    .main-nav .sub-menu li:last-child {
        border-bottom: none;
    }

    .main-nav .menu-parent {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.15s ease;
    }

    .main-nav .menu-parent:active {
        background-color: rgba(139, 107, 74, 0.05);
    }

    .main-nav .menu-item-has-children.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .main-nav .sub-menu {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background-color: #f8f9fa;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.2s ease, max-height 0.3s ease;
    }

    .main-nav .menu-item-has-children.active .sub-menu {
        display: block;
        opacity: 1;
        max-height: 500px;
    }

    .main-nav .sub-menu a {
        padding: 15px 0 15px 40px;
        font-size: 0.9rem;
        color: #555;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .main-nav .sub-menu a:hover,
    .main-nav .sub-menu a:active {
        background-color: #e9ecef;
        color: #8b6b4a;
    }

    @supports (-webkit-touch-callout: none) {
        .main-nav .sub-menu a:active {
            background-color: #dee2e6;
        }
    }

    .header-contact {
        display: none;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .hero-section {
        flex-direction: column;
        text-align: left;
    }

    .hero-title {
        font-size: 2rem;
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }

    .feature-item,
    .feature-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        overflow-x: auto;
        display: flex;
        gap: 0;
        padding-bottom: 20px;
    }

    .card {
        min-width: 280px;
        flex-shrink: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */

/* レスポンシブ改行制御 */
.sp-only {
    display: none;
}

@media screen and (max-width: 767px) {
    .sp-only {
        display: inline;
    }
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}
