/* ===================================
   リセット & ベーススタイル
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-navy: #1a3a52;
    --primary-teal: #2a9d8f;
    --accent-gold: #e9c46a;
    --warm-gray: #f4f1de;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    
    /* タイポグラフィ */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    /* スペーシング */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --header-height: 90px; /* ヘッダーの高さ（固定） */
    
    /* トランジション */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(26, 58, 82, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 58, 82, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 58, 82, 0.16);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

/* 記事ページ用の共通スタイル */
.article-page {
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* Tips/Knowledge記事用のコンテナ */
.tips-article,
.knowledge-article {
    padding-top: calc(var(--header-height) + 2rem);
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 4rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-bottom: 2px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

.nav-list a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(233, 196, 106, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(42, 157, 143, 0.2) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.85) 0%, rgba(26, 35, 126, 0.85) 100%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 3rem;
}

.hero-title-main {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.hero-title-sub {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.95;
}

.highlight-value {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-navy);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

/* ===================================
   セクション共通
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary-teal);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--primary-navy);
    font-weight: 600;
    max-width: 600px;
    margin: 1rem auto 0;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.15), rgba(42, 157, 143, 0.15));
    border-left: 4px solid var(--primary-teal);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

/* アニメーション用 */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* サービスカードは即座に表示 */
.service-card[data-animate] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===================================
   事務所の強み
   =================================== */
.strengths {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.strength-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.strength-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--white);
}

.strength-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.strength-description {
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
}

/* ===================================
   サービス内容
   =================================== */
.services {
    padding: var(--section-padding);
}

/* フィルターボタン */
.service-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    border-color: var(--primary-teal);
    color: var(--white);
}

.filter-btn i {
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* おすすめバッジ */
.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-gold), #d4a574);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

/* サービス画像 */
.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-header {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy), #2a4a5f);
    border-radius: 12px;
    font-size: 1.75rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.4;
    text-align: center;
    margin-bottom: 0.5rem;
}

.service-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--light-bg);
    color: var(--primary-teal);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--primary-teal);
    font-size: 0.875rem;
}

.service-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.service-detail-btn {
    padding: 0.5rem 1.25rem;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-detail-btn:hover {
    background: var(--primary-teal);
    transform: translateX(3px);
}

/* サービス詳細モーダル */
.service-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.service-detail-modal.active {
    display: flex;
}

.service-detail-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 700px;
    max-height: 85vh;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

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

.service-detail-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-detail-close:hover {
    background: var(--light-bg);
    color: var(--primary-navy);
}

.service-detail-content h4 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex: 1;
}

.service-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--light-bg);
}

.service-detail-pricing {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.service-detail-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 196, 106, 0.4);
    background: #d4a947;
}

.service-detail-contact {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.service-detail-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

/* ===================================
   実績
   =================================== */
.results {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.results .section-label {
    color: var(--accent-gold);
}

.results .section-title {
    color: var(--white);
}

.results .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.result-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.result-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.result-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.result-unit {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.result-label {
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* ===================================
   代表プロフィール
   =================================== */
.profile {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.profile-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    display: block;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-name {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.3;
}

.profile-name-reading {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-family: var(--font-sans);
}

.profile-title {
    font-size: 1.125rem;
    color: var(--primary-teal);
    font-weight: 600;
}

.profile-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-section h4 i {
    color: var(--primary-teal);
}

.profile-section ul {
    list-style: none;
}

.profile-section ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
}

.profile-section ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-size: 0.5rem;
    top: 1.2rem;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--primary-teal);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-teal);
}

.profile-motto {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    padding: 2rem;
    border-radius: 16px;
    color: var(--white);
    text-align: center;
    position: relative;
    margin-top: 1rem;
}

.profile-motto p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.8;
    margin: 1rem 0;
}

.profile-motto i {
    font-size: 1.5rem;
    opacity: 0.5;
}

/* ===================================
   寄稿・著作実績
   =================================== */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.publication-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.publication-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.publication-item i {
    font-size: 1.5rem;
    color: var(--primary-teal);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.publication-item strong {
    color: var(--primary-navy);
    font-weight: 700;
}

/* ===================================
   実績・主要お取引先様
   =================================== */
.achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.achievement-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.achievement-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-teal);
}

.achievement-category-title i {
    color: var(--primary-teal);
    font-size: 1.5rem;
}

.achievement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.achievement-list li {
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
    color: var(--text-dark);
}

.achievement-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: 700;
}

.achievement-list strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.certification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.badge-count {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.certification-summary {
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.highlight-number {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* ===================================
   料金・簡易見積もり
   =================================== */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border: 3px solid var(--primary-teal);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-gold), #d4a853);
    color: var(--white);
    padding: 0.5rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pricing-card-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.pricing-description {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.6;
}

.pricing-card-body {
    padding: 2rem;
}

.pricing-amount {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
}

.price-from {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: var(--font-serif);
}

.price-unit {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--light-bg);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-teal);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* 簡易見積もり計算機 */
.estimator {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.estimator-header {
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.estimator-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.estimator-header p {
    font-size: 0.95rem;
    opacity: 0.95;
}

.estimator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.estimator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.estimator-field label {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.estimator-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
}

.estimator-select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.estimator-checkbox {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.estimator-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    border-radius: 12px;
    padding: 2rem;
}

.estimator-result-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.estimator-result-value {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    font-family: var(--font-serif);
}

.result-unit {
    font-size: 1.25rem;
    color: var(--text-light);
}

.estimator-result-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
    max-width: 300px;
}

.pricing-notes {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.pricing-notes h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.pricing-notes h4 i {
    color: var(--primary-teal);
}

.pricing-notes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-notes li {
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
}

.pricing-notes li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ===================================
   お知らせ・ブログ
   =================================== */
.news {
    padding: var(--section-padding);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.news-card:hover {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* 固定記事のスタイル */
.news-card.pinned {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-color: var(--accent-gold);
    position: relative;
}

/* 固定バッジは非表示（内部処理のみ） */

.news-card.pinned:hover {
    border-color: #d4a947;
    box-shadow: 0 8px 32px rgba(233, 196, 106, 0.3);
}

.news-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.news-card-date {
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.5;
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.news-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.news-load-more {
    text-align: center;
    margin-top: 3rem;
}

.news-load-more .btn {
    min-width: 200px;
}

/* ===================================
   お問い合わせ
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.contact-tel {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.contact-email {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-info-features {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    padding: 2rem;
    border-radius: 16px;
    color: var(--white);
}

.contact-info-features h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-features h3 i {
    color: var(--accent-gold);
}

.contact-info-features p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.contact-info-features p:last-child {
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-form iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    border-radius: 8px;
}

.formrun-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.formrun-placeholder {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    text-align: center;
}

.formrun-placeholder code {
    display: block;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-top: 1rem;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-main h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-main p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 0.75rem;
}

.footer-links-column ul li a {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links-column ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* ===================================
   フローティングボタン（統合版）
   =================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.floating-buttons.visible {
    opacity: 1;
    visibility: visible;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background: var(--white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
}

.floating-btn i {
    min-width: 1.2rem;
    transition: margin 0.3s ease;
}

.floating-btn span {
    max-width: 0;
    opacity: 0;
    font-size: 0.95rem;
    transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
}

.floating-btn:hover {
    width: auto;
    padding: 0 1.25rem 0 1rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover i {
    margin-right: 0.5rem;
}

.floating-btn:hover span {
    max-width: 200px;
    opacity: 1;
    margin-left: 0;
}

.floating-btn.btn-primary {
    background: var(--white);
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.floating-btn.btn-primary:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.floating-btn.btn-tools {
    background: var(--white);
    color: #f39c12;
    border-color: #f39c12;
}

.floating-btn.btn-tools:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: var(--white);
    border-color: #e67e22;
}

.floating-btn.btn-secondary {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.floating-btn.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--white);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .floating-btn:hover {
        padding: 0 1rem 0 0.75rem;
    }
}

/* 旧クラス名との互換性のため残す */
.scroll-top {
    display: none !important;
}

.floating-cta {
    display: none !important;
}

/* ===================================
   ヒーロー統計
   =================================== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.15), rgba(233, 196, 106, 0.05));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(233, 196, 106, 0.3);
    transition: var(--transition);
}

.hero-stat-card:hover {
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.25), rgba(233, 196, 106, 0.1));
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(233, 196, 106, 0.3);
}

.hero-stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    opacity: 0.9;
}

.hero-stat-number {
    font-size: 4rem;
    font-weight: 900;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 1rem;
    opacity: 0.95;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.95);
}

.sp-only {
    display: none;
}

/* ===================================
   選ばれ続ける園づくりの5原則
   =================================== */
.principles {
    padding: var(--section-padding);
    background: var(--white);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition);
}

.principle-card:hover {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.principle-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-teal);
    opacity: 0.1;
    font-family: var(--font-serif);
}

.principle-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-teal), #21867a);
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.principle-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.principle-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.principle-list {
    list-style: none;
    padding: 0;
}

.principle-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.principle-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: 700;
}

/* ===================================
   他社との違い（比較セクション）
   =================================== */
.comparison {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.comparison-column {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.comparison-general {
    border: 2px solid #dee2e6;
}

.comparison-ours {
    border: 3px solid var(--primary-teal);
    box-shadow: var(--shadow-md);
}

.comparison-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.comparison-header.highlight {
    border-bottom-color: var(--primary-teal);
}

.comparison-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.comparison-general .comparison-header i {
    color: var(--text-light);
}

.comparison-ours .comparison-header i {
    color: var(--accent-gold);
}

.comparison-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.comparison-list {
    list-style: none;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-item:last-child {
    border-bottom: none;
}

.comparison-item i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.comparison-item.negative i {
    color: #dc3545;
}

.comparison-item.positive i {
    color: var(--primary-teal);
}

.comparison-item span {
    line-height: 1.6;
}

.comparison-arrow {
    font-size: 3rem;
    color: var(--primary-teal);
    text-align: center;
}

/* ===================================
   代表メッセージ
   =================================== */
.message {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.message .section-label {
    color: var(--accent-gold);
}

.message .section-title {
    color: var(--white);
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.message-story {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.story-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.story-text {
    line-height: 2;
    font-size: 1.05rem;
    opacity: 0.95;
}

.highlight-quote {
    color: #d4af37;
    font-weight: 600;
    font-size: 1.1em;
    background: linear-gradient(transparent 60%, rgba(212, 175, 55, 0.2) 60%);
    padding: 0 0.2em;
}

.highlight-quote-alt {
    background: #E8F5E9;
    color: #00897B;
    font-weight: 700;
    font-size: 1.05em;
    padding: 1em 1.2em;
    border-left: 5px solid #00BFA5;
    border-radius: 6px;
    display: inline-block;
    line-height: 1.8;
}

/* 使命ステートメント強調表示（ゴールド基調） */
.highlight-mission {
    display: inline-block;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.15), rgba(233, 196, 106, 0.05));
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1em;
    line-height: 2;
    border-radius: 16px;
    border: 2px solid rgba(233, 196, 106, 0.4);
    position: relative;
    box-shadow: 0 8px 24px rgba(233, 196, 106, 0.2);
}

.highlight-mission::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-gold), rgba(233, 196, 106, 0.5));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

.message-signature {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.signature-text {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.signature-name {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.signature-title {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.8;
}

/* ===================================
   FAQ
   =================================== */
.faq {
    padding: var(--section-padding);
    background: var(--white);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-category {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-category-title i {
    color: var(--primary-teal);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question > i:first-child {
    color: var(--primary-teal);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-question span {
    flex: 1;
    font-weight: 600;
    color: var(--primary-navy);
}

.faq-toggle {
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 3000px;
    padding: 0 1.5rem 1.5rem;
    overflow-y: auto;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   モーダル
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--light-bg);
}

.modal-header .news-card-meta {
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.4;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body #modal-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

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

/* タブレット */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e9ecef;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-filters {
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .service-detail-content {
        padding: 2rem;
        max-width: 90%;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .message-story {
        padding: 2rem 1.5rem;
    }
    
    .floating-cta {
        flex-direction: column;
        gap: 0.75rem;
        bottom: 20px;
    }
    
    .floating-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    
    .estimator-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================
   使命ステートメント（コミュニティの輪）
   =================================== */
.hero-mission {
    position: relative;
    margin: 3rem 0;
    padding: 0;
    overflow: hidden;
}

.mission-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 150, 136, 0.25);
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.5) 0%, rgba(26, 35, 126, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-text {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 900px;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mission-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .mission-image-container {
        height: 400px;
        border-radius: 8px;
    }
    
    .mission-title {
        font-size: 1.75rem;
    }
    
    .mission-subtitle {
        font-size: 1rem;
    }
    
    .mission-text {
        padding: 1.5rem;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.25rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .service-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .filter-btn i {
        display: none;
    }
    
    .service-detail-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .service-detail-content h4 {
        font-size: 1.25rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .result-number {
        font-size: 3rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .sp-only {
        display: inline;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .principle-card {
        padding: 2rem 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-grid {
        grid-template-columns: 1fr;
    }
    
    .publication-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-cta {
        bottom: 80px;
        right: 20px;
    }
    
    .floating-btn {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .floating-btn span {
        display: none;
    }
    
    .floating-btn i {
        margin: 0;
    }
    
    .story-title {
        font-size: 1.5rem;
    }
}