/* ==========================================================================
   合同会社ミータス ホームページ - メインスタイルシート (プレミアム堅牢版)
   ========================================================================== */

/* 1. 変数とデザインシステム定義 */
:root {
    /* カラーパレット */
    --primary-color: #0284c7;       /* 信頼感のあるブルー */
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    --secondary-color: #10b981;     /* 爽やかなエメラルドグリーン */
    --secondary-light: #34d399;
    --accent-color: #f59e0b;        /* 温かみのあるイエローオレンジ */
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;             /* 濃いネイビー（ダークモード・フッター用） */
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --border-color: #e2e8f0;
    
    /* グラデーション */
    --grad-primary: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
    --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --grad-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* シャドウ */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 20px 35px -5px rgba(2, 132, 199, 0.15), 0 10px 20px -5px rgba(16, 185, 129, 0.08);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* アニメーション時間 */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* 角丸 */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 28px;
    --radius-full: 9999px;
}

/* 2. 基本リセット & タイポグラフィ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.92;
    letter-spacing: 0.035em;
    -webkit-font-smoothing: antialiased;
    word-break: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    line-break: strict;
    overflow-x: hidden; /* 横揺れ・崩れ防止 */
}

p {
    margin-bottom: 1.25rem;
}
p:last-child {
    margin-bottom: 0;
}

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

ul, ol {
    list-style: none;
}

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

/* 3. スクロールアニメーション効果 (AOS風) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-active .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延時間のマッピング */
.reveal-active .reveal-item:nth-child(1) { transition-delay: 0.1s; }
.reveal-active .reveal-item:nth-child(2) { transition-delay: 0.25s; }
.reveal-active .reveal-item:nth-child(3) { transition-delay: 0.4s; }
.reveal-active .reveal-item:nth-child(4) { transition-delay: 0.55s; }
.reveal-active .reveal-item:nth-child(5) { transition-delay: 0.7s; }

/* 4. コンポーネント & 共通ユーティリティ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header.align-left {
    text-align: left;
    margin-left: 0;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 2px;
    background: var(--grad-primary);
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* レresponsive幅の崩れ防止 */
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* テキストグラデーション */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    gap: 8px;
}

.btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 1.1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
    opacity: 0.95;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* 5. ヘッダー (Navigation) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    letter-spacing: -0.03em;
    color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: baseline; /* ベースラインで揃えることでMのズレを完全に解消 */
    color: var(--bg-dark);
}

.logo-accent {
    color: var(--primary-color);
    font-weight: 800;
    margin-right: 1px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo .logo-main {
    font-size: 2.2rem;
    color: var(--text-light);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.nav-menu ul {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 0;
    position: relative;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--bg-dark);
    transition: var(--transition-normal);
}

/* 6. ヒーローセクション */
.hero-section {
    position: relative;
    padding: 160px 24px 100px 24px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 75% 25%, rgba(2, 132, 199, 0.18) 0%, transparent 45%),
                      radial-gradient(circle at 25% 75%, rgba(16, 185, 129, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content .hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.08em;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem); /* 文字崩れを確実に防ぐclamp */
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--border-color);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap; /* ボタンが回り込んで崩れるのを防ぐ */
}

.hero-image-slider {
    height: 420px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    background-size: cover;
    background-position: center;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.15) 60%);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide .hero-glass-card {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-slide.active .hero-glass-card {
    transform: translateY(0);
}

/* バッジ背景色バリエーション */
.card-badge.bg-badge-blue {
    background-color: var(--primary-color);
    color: #ffffff;
}
.card-badge.bg-badge-green {
    background-color: var(--secondary-color);
    color: #ffffff;
}
.card-badge.bg-badge-yellow {
    background-color: var(--accent-color);
    color: var(--bg-dark);
}

.hero-glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 22px;
    width: 100%;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.card-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.hero-glass-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.hero-glass-card p {
    font-size: 0.88rem;
    color: var(--border-color);
    margin-bottom: 14px;
}

.card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-tags span {
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

/* 7. 代表者挨拶セクション */
.message-section {
    background-color: var(--bg-card);
    position: relative;
    z-index: 5;
}

.message-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 60px;
    align-items: center;
}

.message-image {
    height: 480px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* テキストを下部に配置して絵と重ならないようにする */
    justify-content: center;
    padding: 40px 30px;
}

.message-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/representative_new.jpg'); /* キャッシュ回避用の新規ナチュラル画像 */
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.message-image:hover::before {
    transform: scale(1.04);
}

.message-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.15) 50%, rgba(15, 23, 42, 0) 80%); /* 下部だけ暗くして文字を読みやすく、上部はクリアに見せる */
    z-index: 1;
    transition: var(--transition-normal);
}

.message-image:hover::after {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 60%, rgba(15, 23, 42, 0.05) 90%);
}

.message-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.message-image-content i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    opacity: 0.8;
}

.message-image-content p {
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.message-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.message-lead {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.5;
}

.message-content p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1rem;
}

.signature {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: right;
}

.signature .role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.signature .name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bg-dark);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.12em;
}

/* 8. 選ばれる理由セクション */
.features-section {
    background-color: var(--bg-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 48px 32px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--grad-primary);
    color: var(--text-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 9. スペース紹介セクション */
.spaces-section {
    background-color: var(--bg-card);
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.space-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%; /* カードの高さを揃える */
}

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

.space-image {
    height: 280px;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
    flex-shrink: 0; /* 縮小防止 */
}

.space-card:hover .space-image {
    transform: scale(1.02);
}

/* 運営スペースごとの画像URL（imagesフォルダ内の実際の写真[space1.jpg〜space5.jpg]を最優先で読み込み、なければ高品質なUnsplashイメージを自動表示するフォールバック設計） */
.space-img-1 { background-image: url('../images/space1.jpg'), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=800'); } /* お気軽ルーム グランベルデ - テレワーク・少人数の明るくクリーンなデスク空間 */
.space-img-2 { background-image: url('../images/space2.jpg'), url('https://images.unsplash.com/photo-1517502884422-41eaaced0168?auto=format&fit=crop&q=80&w=800'); } /* お気軽会議室 天文館 - 明るく開放的でモダンな会議室 */
.space-img-3 { background-image: url('../images/space3.jpg'), url('https://images.unsplash.com/photo-1431540015161-0bf868a2d407?auto=format&fit=crop&q=80&w=800'); } /* お気軽会議室 鹿児島中央駅西口 - 定番の大人気大人数会議室・セミナー型 */
.space-img-4 { background-image: url('../images/space4.jpg'), url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&q=80&w=800'); } /* お気軽スペースchill ロイヤルシティー中洲 - 居心地の良いアットホームなマンション個室、おしゃれソファー */
.space-img-5 { background-image: url('../images/space5.jpg'), url('https://images.unsplash.com/photo-1513151233558-d860c5398176?auto=format&fit=crop&q=80&w=800'); } /* お気軽スペースchill パーティースペース - 女子会や誕生日会に使えるカラフルで賑やかなパーティールーム */

.space-price {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.space-content {
    padding: 32px;
    flex-grow: 1; /* 高さを揃えるため残りを埋める */
    display: flex;
    flex-direction: column;
}

.space-location {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
}

.space-content h3 {
    font-size: 1.38rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 16px;
    line-height: 1.45;
}

.space-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1; /* 高さを揃えるため残りを埋める */
    line-height: 1.7;
}

.space-info-list {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.space-info-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.space-info-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.space-cta {
    margin-top: auto; /* ボタンを一番下に固定 */
}

/* 10. ご利用の流れセクション */
.flow-section {
    background-color: var(--bg-main);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.flow-step {
    position: relative;
    padding: 32px 24px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.flow-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(2, 132, 199, 0.12);
    line-height: 1;
    margin-bottom: 18px;
    transition: var(--transition-normal);
}

.flow-step:hover .step-number {
    color: var(--primary-light);
    transform: scale(1.1);
}

.flow-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bg-dark);
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 11. 物件オーナー様募集セクション */
.owners-section {
    position: relative;
    padding: 120px 24px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.owners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    transition: var(--transition-slow);
}

.owners-section:hover::before {
    transform: scale(1.03);
}

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

.owners-content h2 {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.45;
}

.owners-content p {
    font-size: 1.05rem;
    color: var(--border-color);
    margin-bottom: 28px;
    line-height: 1.8;
}

.owners-content .btn {
    margin-top: 12px;
}

/* 12. 会社概要 & 問い合わせフォーム */
.company-section {
    background-color: var(--bg-card);
}

.company-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.info-table th, .info-table td {
    padding: 18px 0;
    text-align: left;
    vertical-align: middle;
}

.info-table th {
    width: 30%;
    font-weight: 700;
    color: var(--bg-dark);
}

.info-table td ul {
    margin-top: 4px;
}

.info-table td li {
    font-size: 0.95rem;
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.info-table td li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 問い合わせフォーム */
.company-contact {
    background-color: var(--bg-card);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.company-contact h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 12px;
}

.company-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bg-dark);
}

.form-group label .required {
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

/* 13. フッター */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 24px 40px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--border-color);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--border-color);
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   14. メディアクエリ (レスポンシブ対応)
   ========================================================================== */

/* タブレット・PC中間サイズ (1024px以下)
   - この幅からメニュー項目が重なるため、ハンバーガーメニューにスマートに切り替えます */
@media (max-width: 1024px) {
    /* スマホ・タブレット幅では、スクロールアニメーションによる非表示バグ（交差検知漏れ）を防ぐため、最初から全要素を表示状態にする */
    .scroll-reveal,
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .section-container {
        padding: 70px 20px;
    }
    
    .section-header {
        margin-bottom: 45px;
    }

    /* ヘッダーのモバイル化対応（文字崩れ防止の要） */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        transition: var(--transition-normal);
        padding: 50px 24px;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }
    
    .nav-menu a {
        font-size: 1.25rem;
        font-weight: 600;
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .header-cta {
        display: none; /* タブレット幅以下では非表示にしてスッキリ */
    }
    
    /* レイアウトの1カラム化 */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 br {
        display: none; /* スマホ・タブレット幅では改行コードを消して自動折り返しに任せる */
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image-placeholder {
        height: 350px;
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .message-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .message-image {
        height: 350px;
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .spaces-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .company-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* モバイル・スマートフォンサイズ (768px以下) */
@media (max-width: 768px) {
    .section-container {
        padding: 60px 16px;
    }
    
    .hero-section {
        padding: 120px 16px 60px 16px;
    }
    
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 会社概要テーブルの縦並び化による文字崩れ防止 */
    .info-table tr {
        display: flex;
        flex-direction: column;
        padding: 14px 0;
    }
    
    .info-table th {
        width: 100%;
        padding-bottom: 6px;
        color: var(--primary-color);
    }
    
    .info-table td {
        width: 100%;
        padding-top: 0;
    }
    
    .company-contact {
        padding: 32px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 超小型デバイス対応 (480px以下) */
@media (max-width: 480px) {
    .logo a {
        font-size: 1.4rem;
    }
    
    .logo-sub {
        font-size: 0.6rem;
    }
    
    .feature-card {
        padding: 32px 20px;
    }
    
    .space-content {
        padding: 24px 20px;
    }
    
    .space-content h3 {
        font-size: 1.25rem;
    }
    
    .company-contact {
        padding: 24px 16px;
    }
}
