/* ===================================
   SWELL干渉防止
   =================================== */
/* SWELLのデフォルトヘッダー・フッターを完全に非表示 */
.l-header,
.c-header,
.swell-header,
.p-header,
#header:not(.header) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.l-footer,
.c-footer,
.swell-footer,
.p-footer,
#footer:not(.footer) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* カスタムヘッダー・フッターを強制表示 */
.header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

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

:root {
    /* カラーパレット */
    --primary-color: #1a365d;
    --primary-dark: #0f2642;
    --primary-light: #2c5282;
    --accent-color: #ff6b35;
    --accent-hover: #e55a2b;
    --secondary-color: #38a169;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-gray: #f7fafc;
    --bg-light-gray: #edf2f7;
    --border-color: #e2e8f0;
    
    /* タイポグラフィ */
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Inter', sans-serif;
    
    /* スペーシング */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* シャドウ */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* トランジション */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* SWELLのデフォルトマージン/パディングをリセット */
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

/* ===================================
   共通コンポーネント
   =================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.2rem;
}

.header-logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.header-nav > ul > li {
    position: relative;
}

.header-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    display: block;
    padding: 8px 0;
}

.header-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.header-nav > ul > li > a:hover::after {
    width: 100%;
}

/* ドロップダウンメニュー */
.header-nav .has-dropdown {
    position: relative;
}

/* PC版では矢印を非表示 */
.header-nav .has-dropdown > a::before {
    content: '';
    display: none;
}

.header-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
}

.header-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav .dropdown li {
    list-style: none;
}

.header-nav .dropdown a {
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
    white-space: nowrap;
    display: block;
}

.header-nav .dropdown a::after {
    display: none;
}

.header-nav .dropdown a:hover {
    background: var(--bg-gray);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

.header-cta {
    padding: 12px 28px;
    font-size: 0.95rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

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

/* ===================================
   ファーストビュー
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #38a169 100%);
    opacity: 0.03;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-weight: 600;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

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

/* ===================================
   社会的証明セクション
   =================================== */
.proof {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), #ff8c5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: var(--font-accent);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.stat-description {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.proof-additional {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    padding: 60px 40px;
    background: var(--bg-gray);
    border-radius: 20px;
}

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

.additional-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    font-family: var(--font-accent);
    margin-bottom: 8px;
}

.additional-label {
    color: var(--text-medium);
    font-weight: 600;
}

/* ===================================
   課題解決セクション
   =================================== */
.challenges {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.challenge-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.challenge-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.challenge-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.challenge-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.challenge-description {
    color: var(--text-medium);
    line-height: 1.7;
}

.challenges-cta {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
}

.challenges-cta p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

/* ===================================
   ソリューションセクション
   =================================== */
.solutions {
    padding: var(--section-padding) 0;
    background: white;
}

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

.solution-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.solution-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.solution-number {
    position: absolute;
    top: -15px;
    left: 40px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: var(--font-accent);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 24px;
}

.solution-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.solution-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.solution-description {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.solution-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ===================================
   サービス詳細セクション
   =================================== */
.service-details {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.service-item-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.service-item-content {
    flex: 1;
}

.service-item-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-item-content p {
    color: var(--text-medium);
    line-height: 1.6;
}

.service-item-btn {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.service-item-btn:hover {
    background: var(--accent-color);
    color: white;
}

/* ===================================
   導入事例セクション
   =================================== */
.case-studies {
    padding: var(--section-padding) 0;
    background: white;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.case-study-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.case-study-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-xl);
}

.case-study-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 40px 50px;
    color: white;
}

.case-study-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.4;
}

.case-study-body {
    padding: 50px;
}

.case-study-section {
    margin-bottom: 40px;
}

.case-study-section h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.case-study-section h4 i {
    color: var(--accent-color);
}

.case-study-section p {
    color: var(--text-medium);
    line-height: 1.8;
}

.case-study-section ul {
    list-style: none;
    padding-left: 0;
}

.case-study-section li {
    padding: 12px 0;
    padding-left: 28px;
    color: var(--text-medium);
    position: relative;
    line-height: 1.7;
}

.case-study-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.result-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-gray);
    border-radius: 12px;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    font-family: var(--font-accent);
    margin-bottom: 8px;
}

.result-label {
    color: var(--text-medium);
    font-weight: 600;
}

.case-study-voice {
    background: var(--bg-gray);
    padding: 40px;
    border-radius: 16px;
    border-left: 5px solid var(--accent-color);
    position: relative;
}

.case-study-voice i {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 16px;
}

.case-study-voice p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 16px;
}

.voice-author {
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===================================
   私たちの想いセクション
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.about-content-single {
    max-width: 900px;
    margin: 0 auto;
}

.about-header {
    margin-bottom: 60px;
}

.about-title-wrapper {
    text-align: center;
}

.about-title-wrapper .section-header {
    margin-bottom: 40px;
}

.about-profile {
    display: inline-block;
    padding: 32px 48px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-color);
    text-align: center;
}

.profile-role {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-transform: uppercase;
}

.profile-name {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.02em;
}

.about-text {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.about-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-message h3::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-message h3:first-child {
    margin-top: 0;
}

.about-message p {
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-cta {
    margin-top: 40px;
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

/* 旧スタイル（互換性のため残す） */
.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image-caption {
    margin-top: 16px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===================================
   FAQセクション
   =================================== */
.faq {
    padding: var(--section-padding) 0;
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-question i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

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

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

.faq-answer p {
    padding: 0 30px 30px 30px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===================================
   最終CTAセクション
   =================================== */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.final-cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.final-cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.cta-feature i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.cta-phone i {
    font-size: 2rem;
    color: var(--accent-color);
}

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

.phone-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-accent);
}

.phone-hours {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===================================
   フローティングCTAボタン
   =================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.floating-cta.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta .btn {
    box-shadow: var(--shadow-xl);
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* ===================================
   モーダル
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

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

.modal-content {
    position: relative;
    background: white;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-color);
    color: white;
}

.modal-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.modal-description {
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ===================================
   フォーム
   =================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.form-privacy label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.form-privacy a {
    color: var(--accent-color);
    text-decoration: none;
}

/* ===================================
   サービスページ共通スタイル
   =================================== */

/* ページヘッダー */
.page-header {
    position: relative;
    padding: 160px 20px 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    overflow: hidden;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 161, 105, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.page-title i {
    color: var(--accent-color);
    font-size: 2.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* サービス概要セクション */
.service-overview {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    margin-bottom: 24px;
}

.overview-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.overview-text p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

.overview-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.highlight-box {
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light-gray) 100%);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin-top: 30px;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box h3 i {
    color: var(--accent-color);
}

.highlight-box p {
    margin: 0;
    color: var(--text-medium);
}

/* サービス特徴セクション */
.service-features {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

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

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* 料金プランセクション */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--accent-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
}

.price-unit {
    font-size: 1.2rem;
    color: var(--text-medium);
}

.pricing-subtitle {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-top: 12px;
}

.pricing-body {
    margin-bottom: 30px;
}

.pricing-description {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 24px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.pricing-example {
    background: var(--bg-gray);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.pricing-example h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1rem;
}

.pricing-example ul {
    list-style: disc;
    margin-left: 20px;
}

.pricing-example li {
    color: var(--text-medium);
    padding: 4px 0;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 16px;
    line-height: 1.6;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-notice {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light-gray));
    border-radius: 16px;
    padding: 60px 50px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.notice-icon {
    flex-shrink: 0;
}

.notice-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.notice-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.notice-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.notice-content .btn {
    margin-top: 20px;
}

/* プロセスセクション */
.process {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* 会社概要ページ */
.company-info {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.company-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 24px 30px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.company-table th {
    background: var(--bg-gray);
    color: var(--primary-color);
    font-weight: 700;
    width: 200px;
}

.company-table td {
    color: var(--text-dark);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

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

.business-list li {
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
}

.business-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.business-hours {
    font-size: 0.9rem;
    color: var(--text-light);
}

.company-table a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.company-table a:hover {
    text-decoration: underline;
}

/* 企業理念セクション */
.company-mission {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.mission-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* 強みセクション */
.company-strengths {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

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

.strength-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    padding-left: 100px;
}

.strength-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.strength-number {
    position: absolute;
    left: 30px;
    top: 30px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0.2;
}

.strength-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.strength-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* 沿革セクション */
.company-history {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.history-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 40px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.history-year {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.history-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.history-content p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* 会社CTAセクション */
.company-cta {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 40px;
    border-radius: 20px;
    color: white;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta-box .btn:hover {
    background: var(--bg-light-gray);
}

/* 代表メッセージページ */
.message-intro {
    padding: 80px 0;
    background: var(--bg-white);
    border-bottom: 2px solid var(--border-color);
}

.message-profile {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.profile-text h2 {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-name {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 8px;
}

.profile-kana {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 16px;
}

.profile-title {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* メッセージコンテンツ */
.message-content {
    padding: var(--section-padding) 0;
}

.message-section {
    max-width: 900px;
    margin: 0 auto 80px;
}

.message-section.highlight {
    background: var(--bg-gray);
    padding: 60px 50px;
    border-radius: 20px;
}

.message-heading {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.message-heading i {
    color: var(--accent-color);
}

.message-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.message-closing {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light-gray));
    border-radius: 20px;
}

.closing-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 500;
}

.closing-signature {
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
}

.signature-company {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

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

/* お約束リスト */
.promise-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.promise-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.promise-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promise-icon i {
    color: white;
    font-size: 1.3rem;
}

.promise-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.promise-content p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===================================
   レスポンシブ対応
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content-single {
        padding: 0 20px;
    }
    
    .about-text {
        padding: 40px 30px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 新ページのレスポンシブ */
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .header {
        width: 100%;
        overflow-x: visible;  /* メニュー表示のためvisibleに変更 */
    }
    
    .header-container {
        padding: 16px 15px;
        width: 100%;
        box-sizing: border-box;
        position: relative;  /* 追加 */
    }
    
    .header-logo a {
        font-size: 1rem;
        gap: 8px;
        flex-shrink: 1;
    }
    
    .header-logo span {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header-nav,
    .header-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-nav.active {
        display: block !important;  /* !importantを追加 */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        padding: 20px;
        z-index: 9999;  /* より高い値に変更 */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    /* スマホではハンバーガーメニュー内のCTAボタンを非表示（追尾ボタンがあるため） */
    .header-nav.active + .header-cta {
        display: none !important;
    }
    
    .header-nav.active ul {
        display: flex !important;  /* 追加 */
        flex-direction: column;
        gap: 16px;
    }
    
    /* モバイル版でドロップダウンの矢印を表示 */
    .header-nav.active .has-dropdown > a::before {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: 8px;
        font-size: 0.85rem;
        transition: var(--transition);
        display: inline-block;
    }
    
    .header-nav.active .has-dropdown.active > a::before {
        transform: rotate(180deg);
    }
    
    /* モバイルメニューのドロップダウン */
    .header-nav.active .dropdown {
        position: static;
        box-shadow: none;
        background: var(--bg-gray);
        border-radius: 4px;
        margin-top: 8px;
        padding: 8px 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .header-nav.active .has-dropdown.active .dropdown {
        display: block;
    }
    
    .header-nav.active a {
        display: block !important;  /* 追加 */
        color: var(--text-dark);
        font-size: 1rem;
        padding: 12px 0;
    }
    
    .header-nav.active .dropdown a {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-profile {
        padding: 28px 35px;
    }
    
    .profile-role {
        font-size: 0.85rem;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
    
    .about-text {
        padding: 40px 30px;
    }
    
    .about-message h3 {
        font-size: 1.3rem;
    }
    
    .solutions-grid,
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .case-study-header,
    .case-study-body {
        padding: 30px 25px;
    }
    
    .final-cta-title {
        font-size: 1.8rem;
    }
    
    .cta-phone {
        flex-direction: column;
        text-align: center;
    }
    
    .phone-info {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cta .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .modal-content {
        padding: 30px 25px;
    }
    
    /* 新ページのレスポンシブ（モバイル） */
    .page-header {
        padding: 140px 20px 60px;
    }
    
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 12px;
    }
    
    .page-title i {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        padding: 30px 25px;
        gap: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .pricing-notice {
        flex-direction: column;
        padding: 40px 30px;
    }
    
    .notice-icon i {
        font-size: 2rem;
    }
    
    .notice-content h3 {
        font-size: 1.4rem;
    }
    
    .company-table th,
    .company-table td {
        padding: 16px 20px;
    }
    
    .company-table th {
        width: 120px;
        font-size: 0.9rem;
    }
    
    .strength-card {
        padding: 30px 25px;
        padding-left: 25px;
    }
    
    .strength-number {
        position: static;
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .history-timeline {
        padding-left: 40px;
    }
    
    .history-item {
        padding-left: 30px;
    }
    
    .history-item::before {
        left: -36px;
        width: 12px;
        height: 12px;
    }
    
    .message-section.highlight {
        padding: 40px 30px;
    }
    
    .message-heading {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .message-text p {
        font-size: 1rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-kana {
        display: block;
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px 10px;
    }
    
    .header-logo a {
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .header-logo i {
        font-size: 1.1rem;
    }
    
    .header-logo span {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .additional-number {
        font-size: 2.2rem;
    }
    
    .proof-additional {
        gap: 40px;
    }
    
    .final-cta-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-profile {
        padding: 24px 28px;
    }
    
    .profile-role {
        font-size: 0.8rem;
    }
    
    .profile-name {
        font-size: 1.4rem;
    }
    
    .about-text {
        padding: 30px 20px;
    }
    
    .about-message h3 {
        font-size: 1.2rem;
    }
    
    .about-message h3::before {
        width: 3px;
        height: 20px;
    }
    
    /* 新ページのレスポンシブ（極小画面） */
    .page-title {
        font-size: 1.6rem;
    }
    
    .page-title i {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-card,
    .mission-card {
        padding: 30px 20px;
    }
    
    .feature-icon,
    .mission-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i,
    .mission-icon i {
        font-size: 1.5rem;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }
    
    .company-table th {
        background: var(--primary-color);
        color: white;
        border-bottom: none;
    }
    
    .company-table td {
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 20px;
    }
    
    .history-year {
        font-size: 1.2rem;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .closing-text {
        font-size: 1rem;
    }
}

/* ===================================
   法的事項ページ
   =================================== */
.legal-content {
    padding: var(--section-padding) 0;
    background: white;
}

.legal-toc {
    background: var(--bg-gray);
    border-left: 4px solid var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 60px;
}

.legal-toc h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-toc li {
    padding-left: 0;
}

.legal-toc a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: block;
    padding: 12px 20px;
    background: white;
    border-radius: 6px;
}

.legal-toc a:hover {
    color: var(--accent-color);
    background: white;
    transform: translateX(5px);
}

.legal-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.legal-heading {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-heading i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.legal-text {
    line-height: 2;
    color: var(--text-dark);
}

.legal-text h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.legal-text p {
    margin-bottom: 20px;
}

.legal-text ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.legal-text li::marker {
    color: var(--accent-color);
}

.legal-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.legal-date {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 40px;
}

.commerce-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: var(--shadow-sm);
}

.commerce-table th,
.commerce-table td {
    padding: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.commerce-table th {
    background: var(--bg-gray);
    color: var(--primary-color);
    font-weight: 700;
    width: 25%;
    vertical-align: top;
}

.commerce-table td {
    line-height: 1.8;
}

.legal-note {
    background: var(--bg-gray);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.legal-note h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-note ul {
    margin-left: 20px;
}

.legal-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 60px;
    border-radius: 16px;
    text-align: center;
    margin-top: 80px;
}

.legal-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
}

/* レスポンシブ対応 - 法的事項ページ */
@media (max-width: 768px) {
    .legal-toc {
        padding: 20px;
    }
    
    .legal-toc h2 {
        font-size: 1.2rem;
    }
    
    .legal-heading {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.1rem;
    }
    
    .commerce-table {
        font-size: 0.9rem;
    }
    
    .commerce-table th,
    .commerce-table td {
        padding: 15px;
    }
    
    .legal-cta {
        padding: 40px 20px;
    }
    
    .legal-cta h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .commerce-table {
        font-size: 0.85rem;
    }
    
    .commerce-table th,
    .commerce-table td {
        display: block;
        width: 100%;
        padding: 10px;
    }
    
    .commerce-table th {
        background: var(--primary-color);
        color: white;
        border-bottom: none;
    }
    
    .commerce-table td {
        border-top: none;
        margin-bottom: 20px;
    }
    
    .legal-heading {
        font-size: 1.3rem;
        flex-wrap: wrap;
    }
}

