/*
Theme Name: RIGHT FIT
Theme URI: https://and-more-japan.co.jp/
Author: RIGHT FIT
Author URI: https://and-more-japan.co.jp/
Description: 医療機関専門ホームページ制作 RIGHT FIT のオリジナルテーマ
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: rightfit
*/

/* CSS Variables */
:root {
    --color-primary: #4A7C59;
    --color-primary-dark: #3D6A4A;
    --color-primary-light: #5A9A6E;
    --color-accent: #8BC34A;
    --color-dark: #2D2D2D;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #2D2D2D;
    line-height: 1.8;
}

.font-display {
    font-family: 'Montserrat', sans-serif;
}

/* Primary color utilities (fallback for Tailwind) */
.text-primary {
    color: #4A7C59 !important;
}

.bg-primary {
    background-color: #4A7C59 !important;
}

.border-primary {
    border-color: #4A7C59 !important;
}

.bg-dark {
    background-color: #2D2D2D !important;
}

/* Footer background fix */
footer.bg-dark,
.bg-dark {
    background-color: #2D2D2D !important;
}

/* Section label styling */
.section-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #4A7C59;
}

.section-label::before,
.section-label::after {
    content: '-';
    margin: 0 8px;
}

/* Price card */
.price-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-card:hover {
    box-shadow: 0 10px 40px rgba(74, 124, 89, 0.15);
    transform: translateY(-5px);
}

.price-card-header {
    background: linear-gradient(135deg, #4A7C59 0%, #5A9A6E 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

/* Feature card */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(74, 124, 89, 0.25);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.feature-card:hover::before {
    left: 150%;
}

.feature-number {
    position: absolute;
    top: 5px;
    right: 10px;
    font-family: 'Shippori Mincho', serif;
    font-size: 140px;
    font-weight: 500;
    color: #4A7C59;
    opacity: 0.15;
    line-height: 1;
    z-index: 0;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-number {
    transform: scale(1.1);
    opacity: 0.2;
}

.feature-content {
    position: relative;
    z-index: 1;
}

/* Rotating circle text */
.rotating-text {
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.rotating-text-container {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
}

/* Pen marker animation */
.marker-text {
    position: relative;
    display: inline;
    background: linear-gradient(transparent 60%, rgba(139, 195, 74, 0.4) 60%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease-out;
    font-weight: 600;
}

.feature-card:hover .marker-text {
    background-size: 100% 100%;
    transition: background-size 0.6s ease;
}

/* Flow step */
.flow-step {
    position: relative;
    padding-left: 50px;
    padding-bottom: 40px;
    border-left: 2px solid #e5e7eb;
    margin-left: 40px;
}

.flow-step:last-child {
    border-left: none;
    padding-bottom: 0;
}

.flow-step-number {
    position: absolute;
    left: -41px;
    top: 0;
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #4A7C59;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Member card */
.member-card {
    text-align: center;
}

.member-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #4A7C59 0%, #5A9A6E 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

.btn-pulse {
    animation: pulse-shadow 2s infinite;
}

/* Design example placeholder */
.design-example {
    background: linear-gradient(135deg, #f0f4f1 0%, #e8ede9 100%);
    border-radius: 12px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 14px;
}

/* Option table */
.option-table {
    width: 100%;
    border-collapse: collapse;
}

.option-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.option-table tr:last-child td {
    border-bottom: none;
}

/* Request document badge */
.sample-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4A7C59 0%, #5A9A6E 100%);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 15px;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 124, 89, 0.4);
    animation: pulse-shadow 2s infinite;
    text-decoration: none;
}

.sample-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 124, 89, 0.5);
    color: white;
}

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(74, 124, 89, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(74, 124, 89, 0.6);
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 145px;
    background: rgba(45, 45, 45, 0.9);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(45, 45, 45, 1);
    transform: translateY(-2px);
    color: white;
}

.back-to-top.visible:hover {
    transform: translateY(-2px);
}

/* Header nav link underline animation */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #4A7C59;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* =====================================================
   Header & Navigation
   ===================================================== */

/* ヘッダー基本スタイル */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: #fff !important;
    /* モバイルでのスクロール時のずれ防止 */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* スタッキングコンテキストの問題を回避 */
    isolation: isolate;
}

/* メインコンテンツをヘッダーより下に配置 */
section {
    position: relative !important;
    z-index: 1 !important;
}

/* WordPress管理バー対応 */
.admin-bar header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    /* モバイルではWordPress管理バーを非表示 */
    #wpadminbar {
        display: none !important;
    }

    /* 管理バー非表示時はヘッダーを上部に固定 */
    .admin-bar header {
        top: 0 !important;
    }

    /* body上部の余白も削除 */
    html.admin-bar {
        margin-top: 0 !important;
    }

    html.admin-bar body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 24px;
    background-color: #2D2D2D;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 8px;
}

.hamburger span:nth-child(2) {
    top: 14px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

/* ×マークへの変形 */
.hamburger.active span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}

.admin-bar .mobile-menu {
    top: 88px;
}

@media screen and (max-width: 782px) {
    .admin-bar .mobile-menu {
        top: 102px;
    }
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #2D2D2D;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Problem cards responsive */
.problem-cards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.problem-card-item {
    position: relative;
}

@media (max-width: 640px) {
    .problem-cards-row {
        display: none;
    }
    
    .problem-cards-mobile {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .problem-cards-mobile .problem-card-item {
        flex: 0 0 auto;
    }
    
    .problem-cards-mobile .problem-card-item .problem-circle {
        width: 140px !important;
        height: 140px !important;
    }
    
    .problem-cards-mobile .problem-card-item .problem-badge {
        width: 55px !important;
        height: 55px !important;
    }
    
    .problem-cards-mobile .problem-card-item .problem-text {
        font-size: 10px !important;
        line-height: 1.7 !important;
    }
    
    .problem-cards-mobile .problem-card-item .problem-badge-wrapper {
        top: -22px !important;
    }
    
    .problem-cards-mobile .problem-row {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .problem-cards-mobile .problem-row:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 641px) {
    .problem-cards-mobile {
        display: none;
    }
}

/* 1. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A7C59, #8BC34A);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease-out;
}

.admin-bar .scroll-progress {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .scroll-progress {
        top: 46px;
    }
}

/* 2. Section fade-in animation */
.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Cursor follow effect */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 100;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* 4. Typing animation */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #4A7C59;
    animation: typing-cursor 0.7s step-end infinite;
}

@keyframes typing-cursor {
    from, to { border-color: transparent }
    50% { border-color: #4A7C59 }
}

.typing-complete {
    border-right: none;
    animation: none;
}

/* Hide cursor glow on mobile */
@media (max-width: 768px) {
    .cursor-glow {
        display: none;
    }
}

/* 5. Floating particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(odd) {
    background: rgba(139, 195, 74, 0.5);
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* 7. Loading animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    animation: logo-pulse 1.5s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.loading-dot {
    width: 10px;
    height: 10px;
    background: #4A7C59;
    border-radius: 50%;
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Fade-in animation styles */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   Column Styles (コラム一覧・記事ページ用)
   ===================================================== */

/* Column card */
.column-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(74, 124, 89, 0.15);
}

.column-card img {
    transition: transform 0.3s ease;
}

.column-card:hover img {
    transform: scale(1.05);
}

/* Category tag */
.category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: #6B7280;
}

.breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #4A7C59;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    color: #2D2D2D;
    border: 1px solid #e5e7eb;
    text-decoration: none;
}

.pagination .page-numbers:hover {
    background: #4A7C59;
    color: white;
    border-color: #4A7C59;
}

.pagination .page-numbers.current {
    background: #4A7C59;
    color: white;
    border-color: #4A7C59;
}

.pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Article content */
.article-content {
    font-size: 16px;
    line-height: 2;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #4A7C59;
    line-height: 1.5;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #4A7C59;
}

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

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    background: #f3f4f6;
    border-left: 4px solid #4A7C59;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content img {
    border-radius: 8px;
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
}

.article-content a {
    color: #4A7C59;
    text-decoration: underline;
}

.article-content a:hover {
    text-decoration: none;
}

/* Related articles */
.related-card {
    display: block;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.1);
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Privacy Policy Content */
.privacy-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4A7C59;
}

.privacy-content h2:first-of-type {
    margin-top: 0;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: #4B5563;
    line-height: 1.8;
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #4B5563;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* =====================================================
   FAQ Section
   ===================================================== */

/* FAQ category heading */
.faq-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.faq-category:first-of-type {
    margin-top: 0;
}

.faq-category-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4A7C59 0%, #5A9A6E 100%);
    color: white;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-category-title {
    font-size: 14px;
    font-weight: 700;
    color: #2D2D2D;
}

/* FAQ item */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: #4A7C59;
    box-shadow: 0 2px 12px rgba(74, 124, 89, 0.08);
}

/* FAQ question button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #fafbfa;
}

.faq-q-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #4A7C59;
    color: white;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.faq-question-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #2D2D2D;
    line-height: 1.7;
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    transition: transform 0.3s ease;
    color: #9CA3AF;
}

.faq-item.is-open .faq-toggle-icon {
    transform: rotate(180deg);
    color: #4A7C59;
}

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

.faq-answer-inner {
    padding: 0 24px 20px;
    padding-left: 64px;
}

.faq-a-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f0f7f2;
    color: #4A7C59;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 8px;
    float: left;
    margin-top: 2px;
}

.faq-answer-text {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.9;
}

.faq-answer-text strong {
    color: #2D2D2D;
    font-weight: 600;
}

.faq-answer-list {
    margin-top: 8px;
    padding-left: 20px;
    font-size: 13px;
    color: #4B5563;
    line-height: 1.9;
}

.faq-answer-list li {
    margin-bottom: 4px;
}

/* FAQ more button */
.faq-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin: 32px auto 0;
    padding: 14px 32px;
    background: white;
    color: #4A7C59;
    border: 2px solid #4A7C59;
    border-radius: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-more-btn:hover {
    background: #4A7C59;
    color: white;
}

.faq-more-btn:hover .faq-more-icon {
    color: white;
}

.faq-more-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #4A7C59;
}

.faq-more-btn.is-expanded .faq-more-icon {
    transform: rotate(180deg);
}

/* FAQ collapsible section */
.faq-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.faq-collapsible.is-expanded {
    max-height: 5000px;
}

/* =====================================================
   ヒーロースライダー
   ===================================================== */
.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* パーティクル・ロゴ・回転テキストをスライダーの上に表示 */
.particles-container,
.hero-logo,
.rotating-text-container {
    z-index: 20 !important;
}

/* ページネーションドット */
.hero-swiper .swiper-pagination {
    z-index: 20 !important;
    bottom: 20px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}

/* =====================================================
   スマホ専用スタイル（768px以下）
   ===================================================== */
@media screen and (max-width: 768px) {
    /* ヒーローロゴ - 真ん中下に配置 */
    .hero-logo {
        top: auto !important;
        bottom: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .hero-logo-svg {
        height: 3rem !important; /* 48px - 画面に収まるサイズ */
        width: auto !important;
    }

    /* フローステップ - 円とテキストの間を詰める */
    .flow-step {
        padding-left: 30px;
    }

    /* ABOUTセクション透かしロゴ - スマホでは非表示 */
    .about-watermark-left,
    .about-watermark-right {
        display: none !important;
    }
}
