/* ========== リセット & 基本設定 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --secondary-color: #50C878;
    --accent-color: #FF6B6B;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ========== ナビゲーション ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-subtitle {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: -5px;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 0;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.3s ease;
}

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

/* Dropdown menu styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    list-style: none;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem 0;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    display: block;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
}

/* デスクトップではホバーのみ、モバイルではJavaScript制御 */
@media (min-width: 769px) {
    .dropdown-toggle:hover + .dropdown-menu,
    .dropdown-menu:hover,
    .nav-menu li:hover .dropdown-menu {
        display: block;
    }
    
    /* ドロップダウンメニューの親要素にホバー状態を維持 */
    .nav-menu li:hover {
        position: relative;
    }
    
    /* ドロップダウンメニューの位置調整 */
    .dropdown-menu {
        margin-top: 0;
        top: 100%;
    }
}

.contact-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.contact-btn::after {
    display: none;
}

.language-switcher {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.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 {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* デフォルト背景（ホームページ用） - ビジネス＆美容 */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?w=1920&q=80') center/cover;
    overflow: hidden;
}

/* 各ページ専用の背景画像 */
/* 取扱商品ページ - 化粧品 */
.hero.hero-products {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=1920&q=80') center/cover;
}

/* パートナー会社ページ - 握手・パートナーシップ */
.hero.hero-partners {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&q=80') center/cover;
}

/* 会社概要ページ - モダンオフィス */
.hero.hero-about {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover;
}

/* お問い合わせページ - コミュニケーション */
.hero.hero-contact {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&q=80') center/cover;
}

.hero.hero-small {
    height: 60vh;
    min-height: 400px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title.small {
    font-size: 3rem;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.9s forwards;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-primary-small, .btn-secondary-small {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-primary-small, .btn-secondary-small {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.btn-primary-small {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-primary-small:hover {
    background: linear-gradient(135deg, #3d8fe0 0%, #00d9e6 100%);
    transform: translateY(-2px);
}

.btn-secondary-small {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

.card-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}


.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
    z-index: 10;
}

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

.scroll-line {
    width: 2px;
    height: 40px;
    background: white;
    margin: 0.5rem auto;
}

/* ========== セクションタイトル ========== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.title-accent {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* ========== 共通セクション ========== */
section {
    padding: 6rem 0;
}

.section-white {
    background: white;
}

.section-gray {
    background: var(--light-bg);
}

/* ========== サービスカード ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-subtitle {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.card-list {
    list-style: none;
    margin: 1.5rem 0;
}

.card-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
}

/* ========== タイムライン ========== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 143px;
    top: 5px;
    width: 17px;
    height: 17px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-date {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 0.2rem;
}

.timeline-content {
    flex: 1;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-warning {
    background: #ff6b6b;
    color: white;
}

.badge-new {
    background: #51cf66;
    color: white;
}

/* ========== 特別セクション ========== */
.special-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.special-content {
    text-align: center;
    color: white;
    padding: 3rem;
}

.special-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.special-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.special-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========== テーブル ========== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.info-table tr {
    border-bottom: 1px solid #e0e0e0;
}

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

.info-table th {
    padding: 1.5rem;
    text-align: left;
    width: 200px;
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--text-dark);
}

.info-table td {
    padding: 1.5rem;
}

/* ========== コンタクトフォーム ========== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--text-dark);
        white-space: normal; /* 折り返しを許可 */
    }

    .form-group input[type="checkbox"] + span {
        display: inline-block;
        vertical-align: middle;
        margin-left: 0.5rem; /* チェックボックスとの間隔 */
    }

    /* モバイルでのチェックボックスとテキストの調整 */
    @media (max-width: 480px) {
        .form-group label {
            display: flex;
            align-items: flex-start;
            font-size: 0.9rem;
        }

        .form-group input[type="checkbox"] {
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .form-group input[type="checkbox"] + span {
            margin-left: 0.5rem;
            line-height: 1.4;
        }
    }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

/* ========== フッター ========== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Adjust alignment for multiple columns */
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column; /* Stack links vertically */
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: block; /* Ensure links take full width for hover */
}

.footer-nav a:hover {
    color: white;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
}

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

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title.small {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .nav-container {
        flex-wrap: nowrap;
        position: relative;
    }
    
    .language-switcher {
        order: 2;
        margin-left: auto;
        margin-right: 0.8rem;
        gap: 0.3rem;
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }
    
    .logo h1 {
        font-size: 1.2rem !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }
    
    .logo-subtitle {
        font-size: 0.6rem !important;
        margin-top: -2px !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
        padding-left: 2.5rem;
    }
    
    .nav-menu a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu a {
        padding: 0.8rem 2.5rem;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
        padding-left: 3rem;
    }

    .dropdown-toggle:hover + .dropdown-menu,
    .dropdown-menu:hover {
        display: block;
    }
    /* Add a specific class for mobile-only dropdown toggle */
    .nav-menu li.mobile-dropdown-active .dropdown-menu {
        display: block;
    }
    
    .contact-btn {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        padding: 1.2rem 2rem;
        border-radius: 0;
        margin: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        padding-left: 50px;
    }
    
    .timeline-item::after {
        left: 13px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    /* グリッドレイアウトのスマホ対応 */
    [style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* カード類の調整 */
    .service-card {
        margin-bottom: 1rem;
    }
    
    /* 画像のレスポンシブ対応 */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* ボタンのスマホ調整 */
    [style*="padding: 1rem 2rem"] {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    /* テーブルの横スクロール対応 */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* セクション間の余白調整 */
    section {
        padding: 3rem 0 !important;
    }
    
    .info-table th {
        width: 120px;
        padding: 1rem;
    }
    
    .info-table td {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-column {
        min-width: unset;
        width: 100%;
    }
}

/* ========== 超小型スマホ対応 ========== */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        line-height: 1.1 !important;
    }
    
    .logo-subtitle {
        font-size: 0.5rem !important;
        margin-top: -3px !important;
    }
    
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    /* 連携施設セクションのレスポンシブ対応 */
    .facilities-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .facility-card iframe {
        height: 150px !important;
    }
    
    /* 他社との違いセクションのスマホ対応 */
    .difference-section .difference-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .difference-section .difference-text strong {
        font-size: 0.9rem !important;
    }
    
    /* ステップフローのスマホ対応 */
    .step-flow-grid div[style*="background: linear-gradient"] h3 {
        font-size: 1rem !important;
    }
    
    .step-flow-grid div[style*="background: linear-gradient"] p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* ステップフローの矢印スマホ対応 */
    .step-flow-grid div[style*="font-size: 1.5rem"] {
        font-size: 1rem !important;
        margin: 0 0.2rem !important;
    }
    
    /* ステップフローのスマホ1行表示 */
    .step-flow-grid {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .step-flow-grid div[style*="flex: 1"] {
        min-width: 100% !important;
    }
}
