/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4d519d;
    --secondary-color: #ffffff;
    --accent-color: #ff6f61;
    --light-gray: #f5f5f5;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* 法的文書用のスタイル */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.update-date {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* 法的文書ページのヒーローセクション調整 */
.legal-page .service-hero {
    min-height: 150px;
    display: flex;
    align-items: center;
}

.legal-page .service-hero .service-hero-content {
    text-align: center;
}

.legal-page .service-hero .service-hero-title {
    margin-bottom: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .legal-page .service-hero {
        min-height: 120px;
    }
}

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

/* PC画面でモバイル向け要素を非表示 */
.mobile-contact-section,
.mobile-contact-info,
.mobile-cta-buttons,
.mobile-cta-secondary,
.mobile-cta-primary {
    display: none;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 15px;
}

/* 新しいロゴスタイル */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    /* ホバー時のスケール効果を無効化 */
    transform: none;
}

.logo svg {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* ロゴアイコンスタイル */
.logo {
    padding: 0;
    margin: 0;
}

.logo-icon {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

/* フッターロゴスタイル */
.footer-logo {
    padding: 0;
    margin: 0;
}

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

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* 統一されたボタンスタイル - 温かみのある丸いデザイン */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 200px;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4d519d 0%, #5a5eb8 100%);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(77, 81, 157, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a5eb8 0%, #7a7ed6 100%); /* 少し明るいグラデーション */
    color: var(--text-white);
    box-shadow: 0 6px 18px rgba(77, 81, 157, 0.22);
    transform: none;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(77, 81, 157, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: 2px solid var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.85);
    color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.15);
    transform: none;
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px 0 rgba(77, 81, 157, 0.2);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px 0 rgba(77, 81, 157, 0.1);
}

/* CTA ボタン（ヘッダー用） */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #4d519d 0%, #5a5eb8 100%);
    color: var(--text-white) !important;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1.25;
    box-shadow: 0 4px 15px rgba(77, 81, 157, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #5a5eb8 0%, #7a7ed6 100%); /* 少し明るいグラデーション */
    color: var(--text-white) !important;
    box-shadow: 0 6px 18px rgba(77, 81, 157, 0.22);
    transform: none;
}

.cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(77, 81, 157, 0.2);
}

/* PC版ドロップダウンメニュー */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-arrow {
    width: 12px;
    height: 8px;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    color: currentColor;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(77, 81, 157, 0.1);
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-menu a:hover {
    background-color: rgba(77, 81, 157, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* PC版とモバイル版の表示制御 */
.desktop-menu {
    display: flex;
}

.mobile-menu {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* PC版でのメニュー表示設定 */
@media (min-width: 769px) {
    .desktop-menu {
        display: flex !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

.mobile-menu-toggle:hover {
    background-color: rgba(77, 81, 157, 0.1);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* ハンバーガーメニューのアクティブ状態 */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* メニューが開いた時のbody固定 */
body.menu-open {
    overflow: hidden;
}

/* ヘッダーの動的スタイル */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-hidden {
    transform: translateY(-100%);
}

/* フェードインアニメーション */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}



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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(77, 81, 157, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(255, 111, 97, 0.15) 100%
    );
    backdrop-filter: blur(1px);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 100%;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

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

.section-title {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* 事業について */
.about {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1rem;
    color: #ff6b6b;
    font-weight: 500;
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b, #ffa726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    box-shadow: 0 8px 32px rgba(77, 81, 157, 0.12),
                0 4px 16px rgba(77, 81, 157, 0.08),
                0 2px 8px rgba(77, 81, 157, 0.06);
    border: 1px solid rgba(77, 81, 157, 0.08);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(77, 81, 157, 0.18),
                0 12px 32px rgba(77, 81, 157, 0.12),
                0 4px 16px rgba(77, 81, 157, 0.08);
    border-color: rgba(77, 81, 157, 0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon svg {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.service-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(77, 81, 157, 0.8);
    border-radius: 100px;
    color: rgba(77, 81, 157, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.service-button:hover {
    background-color: #4d519d;
    color: #fff;
    border-color: #4d519d;
}

.service-number {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.25;
    margin-bottom: 1.5rem;
    line-height: 1;
    text-align: left;
}

.service-item:nth-child(1) .service-number {
    color: var(--primary-color);
}

.service-item:nth-child(2) .service-number {
    color: var(--accent-color);
}

.service-item:nth-child(3) .service-number {
    color: var(--primary-color);
}

.service-item:nth-child(4) .service-number {
    color: var(--accent-color);
}



/* About CTA Section */
.about-cta {
    margin-top: 6rem;
    margin-bottom: 6rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cta-content p {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-white);
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* モバイル改行制御 */
.mobile-br {
    display: none;
}

.about-cta .btn-primary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    font-weight: 600;
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.about-cta .btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.about-cta .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.about-cta .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: 2px solid var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.about-cta .btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.about-cta .btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.about-cta .btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.about-cta .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px 0 rgba(77, 81, 157, 0.2);
}

.about-cta .btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px 0 rgba(77, 81, 157, 0.1);
}

/* チーム */
.team {
    background-color: var(--bg-white);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.team-illustration {
    display: flex;
    justify-content: center;
}

.team-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.team-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.team-description p {
    margin-bottom: 2rem;
}

/* お問い合わせ */
.contact {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.contact .section-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    border-radius: 3px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: -0.5rem auto 0;
    position: relative;
}

/* 縦線を削除 */
/* .contact-content::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 1rem;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    opacity: 0.3;
} */

.contact-info {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-intro {
    margin-bottom: 2rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-item {
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-dark);
    margin: 0;
    font-size: 0.9rem;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(77, 81, 157, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-form .btn:active {
    transform: translateY(0);
}

/* チェックボックスのスタイリング */
.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: var(--bg-white);
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-wrapper input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-2px, -1px);
    margin-top: -2px;
}

.checkbox-label {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
    }

    .contact .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .contact-content {
        padding: 0 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.25rem;
    }

    .contact-item {
        padding: 0.625rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 30px 0;
    }

    .contact .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-content {
        padding: 0 0.75rem;
    }

    .contact-info,
    .contact-form {
        padding: 1rem;
    }

    .contact-item {
        padding: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
    }
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.footer-logo-icon {
    height: 60px;
    width: auto;
    filter: brightness(0.9);
    transition: all 0.3s ease;
    display: block;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-white);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-section ul li a:hover {
    color: var(--text-white);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* PC版メニューを非表示 */
    .desktop-menu {
        display: none !important;
    }
    
    /* モバイル版メニューを表示 */
    .mobile-menu {
        display: flex !important;
    }

    /* スマホでナビゲーション内のお問い合わせボタンを非表示 */
    .nav-list .cta-btn {
        display: none !important;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, #3b408a 100%);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        padding: 70px 0 20px 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 20px 0 0 20px;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15);
    }

    .nav.nav-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        width: 100%;
        flex: none;
        justify-content: flex-start;
    }

    .nav-list a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        width: 100%;
        display: block;
        text-align: left;
        font-weight: 400;
    }

    .nav-list a:hover {
        color: var(--accent-color);
        background-color: rgba(255, 255, 255, 0.05);
    }





    .mobile-menu-toggle {
        display: flex;
    }

    /* モバイル用ドロップダウン調整 - 削除済み（現在は通常のメニューアイテムとして表示） */
    
    /* モバイル連絡先セクション */
    .mobile-contact-section {
        display: block !important;
        margin-top: 1.5rem;
        padding: 1.5rem 2rem 1rem 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-contact-info {
        display: block !important;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-hours {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
    }
    
    /* モバイルCTAボタン */
    .mobile-cta-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .mobile-cta-secondary,
    .mobile-cta-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
        border-radius: 25px;
        transition: all 0.2s ease;
        white-space: nowrap;
        line-height: 1.25;
        min-height: 44px;
        text-align: center;
        display: block !important;
    }
    
    .mobile-cta-secondary {
        background-color: var(--text-white);
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }
    
    .mobile-cta-secondary:hover {
        background-color: var(--primary-color);
        color: var(--text-white);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px 0 rgba(77, 81, 157, 0.2);
    }
    
    .mobile-cta-primary {
        background-color: var(--primary-color);
        color: var(--text-white);
        border: none;
        box-shadow: 0 1px 2px 0 rgba(77, 81, 157, 0.1);
    }
    
    .mobile-cta-primary:hover {
        background-color: #3d4185;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px 0 rgba(77, 81, 157, 0.2);
    }
    
    .logo svg {
        height: 35px;
    }
    
    .logo-icon {
        height: 45px;
    }
    
    .footer-logo-icon {
        height: 50px;
    }
    
    /* ヒーローセクションのタブレット調整 */
    .hero-title {
        font-size: clamp(2.2rem, 4vw, 3rem);
        margin-bottom: 1.5rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: clamp(1.05rem, 1.8vw, 1.25rem);
        margin-bottom: 2.5rem;
        padding: 0 1rem;
        line-height: 1.55;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.85rem 1.6rem;
        font-size: 0.95rem;
        min-width: 190px;
        border-radius: 8px;
        font-weight: 500;
    }
    
    /* モバイルでの背景画像調整 */
    .hero {
        background-attachment: scroll;
        background-position: center top;
        padding-top: 140px;
        padding-bottom: 3rem;
        min-height: 88vh;
    }
    
    .hero-content {
        padding: 2rem 1rem 1rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 600px;
    }
    
    .service-item {
        padding: 2.5rem 1.5rem 2rem;
        max-width: none;
    }
    
    .service-number {
        font-size: 3rem;
    }
    
    .service-icon svg {
        width: 70px;
        height: 70px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .about-cta {
        margin-top: 4rem;
        margin-bottom: 4rem;
        padding: 2rem 1.5rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .team-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .team-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* フッターは新しいSPデザインで管理 */
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 360px;
    }
    
    .service-item {
        padding: 2.5rem 1.5rem 2rem;
        max-width: none;
    }
    
    /* モバイル改行を有効化 */
    .mobile-br {
        display: inline;
    }
    
    .service-number {
        font-size: 2.5rem;
    }
    
    .service-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .about-cta {
        padding: 2rem 1.5rem;
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
    
    .cta-content h3 {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
        margin-bottom: 0.8rem;
    }
    
    .cta-content p {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        margin-bottom: 1.5rem;
    }
    
    /* ヒーローセクションのスマートフォン調整 */
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        margin-bottom: 1.5rem;
        line-height: 1.35;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
        margin-bottom: 2.5rem;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    .hero-content {
        padding: 2rem 1rem 1rem;
    }
    
    .hero-buttons {
        gap: 1rem;
        padding: 0 1rem;
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        min-width: 180px;
        border-radius: 8px;
        font-weight: 500;
    }
    
    /* 小さい画面での背景画像調整 */
    .hero {
        background-position: center center;
        min-height: 90vh;
        padding-top: 130px;
        padding-bottom: 3rem;
    }
    
    .hero-content {
        padding: 2rem 1rem 1rem;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .team-image {
        max-width: 250px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .logo svg {
        height: 30px;
    }
    
    .logo-icon {
        height: 40px;
    }
    
    /* フッターは新しいSPデザインで管理 */
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* ホバーエフェクト */
.service-item,
.btn,
.cta-btn {
    cursor: pointer;
}

/* フォーカス状態 */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(77, 81, 157, 0.3);
}

/* ロゴリンクはフォーカス状態から除外 */
a.logo:focus {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* ボタンのフォーカス状態 - 各ボタンタイプの角丸を維持 */
.btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus {
    border-radius: 50px;
}

.cta-btn:focus {
    border-radius: 25px;
}

.pricing-button:focus {
    border-radius: 100px;
}

.service-button:focus {
    border-radius: 100px;
}

/* モバイルCTAボタンのフォーカス状態 */
.mobile-cta-primary:focus,
.mobile-cta-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(77, 81, 157, 0.3);
    border-radius: 50px;
}

/* フォーム要素のフォーカス状態 */
input:focus,
textarea:focus {
    border-radius: 4px;
}

/* ヘッダーナビゲーションのフォーカス状態 */
.nav-list a:focus {
    outline: none;
    box-shadow: none;
}

.nav-list a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(77, 81, 157, 0.3);
    border-radius: 4px;
}

/* ロゴのフォーカス状態 - 四角枠を表示しない */
.logo:focus,
.logo:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.footer-logo:focus,
.footer-logo:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* ロゴリンクのアクティブ状態も無効化 */
.logo:active,
.logo:active:focus {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* CTAボタンのフォーカス状態 */
.cta-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 81, 157, 0.3);
    border-radius: 25px;
}

/* アクセシビリティ */
/* パフォーマンス最適化 */
* {
    will-change: auto;
}

.service-item {
    will-change: transform;
}

.service-icon svg {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* サービス詳細ページ用スタイル */

/* サービスヘッダー */
.service-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding-top: 70px;
    overflow: hidden;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(77, 81, 157, 0.1) 0%, rgba(255, 111, 97, 0.1) 100%);
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.service-hero-content {
    position: relative;
    text-align: center;
    color: var(--text-white);
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    transform: translateY(20px);
}

.service-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
    line-height: 1.6;
}

/* お悩みセクション */
.problems {
    background-color: var(--bg-white);
    padding: 6rem 0;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2.5rem;
    margin-top: 4rem;
}

.problem-item {
    text-align: center;
    padding: 3rem 2rem 2.5rem;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.08);
    height: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.problem-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.15);
    border-color: rgba(77, 81, 157, 0.3);
}

.problem-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem-title {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.problem-description {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* 提供できることセクション */
.solutions {
    background-color: var(--bg-light);
    padding: 6rem 0;
}

.solutions-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2.5rem;
    margin-top: 4rem;
}

.solution-item {
    text-align: center;
    padding: 3rem 2rem 2.5rem;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.08);
    height: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.15);
    border-color: rgba(77, 81, 157, 0.3);
}

.solution-item:hover .solution-img {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.solution-image {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.solution-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.solution-title {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.solution-description {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* 料金セクション */
.pricing {
    background-color: var(--bg-white);
    padding: 6rem 0 7rem 0;
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.pricing-card {
    padding: 3rem 2.5rem 2.5rem;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.08);
    transition: all 0.3s ease;
    max-width: 420px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.15);
    border-color: rgba(77, 81, 157, 0.3);
}

.pricing-title {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.pricing-amount {
    text-align: center;
    margin: 1.5rem 0;
}

.pricing-amount .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-amount .currency {
    font-size: 20px;
    color: var(--text-light);
    margin-left: 4px;
}

.price {
    font-size: 1.5rem; /* フォントサイズを少し小さくする */
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block; /* blockからinline-blockに変更して横幅を内容に合わせる */
    line-height: 1.4;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
}

.currency {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

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

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 0.95rem;
}

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

.pricing-features li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(77, 81, 157, 0.8);
    border-radius: 100px;
    color: rgba(77, 81, 157, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.pricing-button:hover {
    background-color: #4d519d;
    color: #fff;
    border-color: #4d519d;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(77, 81, 157, 0.2);
}

.pricing-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(77, 81, 157, 0.1);
}

/* 相談フォームセクション */
.consultation {
    background-color: var(--bg-light);
    padding: 6rem 0 7rem 0;
}

.consultation-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-privacy {
    margin-bottom: 2rem;
}

.form-privacy label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}

.form-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
        padding: 100px 0 60px 0;
    }
    
    .service-hero-title {
        font-size: 1.8rem;
    }
    
    .problems,
    .solutions,
    .pricing,
    .consultation {
        padding: 4rem 0 5rem 0;
    }
    
    .problems-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .problem-item,
    .solution-item {
        padding: 2rem 1.5rem;
        max-width: 280px;
    }
    
        .pricing-wrapper {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .pricing-card {
        padding: 2.5rem 2rem;
        max-width: 280px;
    }

    .consultation-form {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        min-height: 40vh;
        padding: 80px 0 50px 0;
    }
    
    .problems,
    .solutions,
    .pricing,
    .consultation {
        padding: 3rem 0 4rem 0;
    }
    
    .problems-grid,
    .solutions-grid {
        gap: 2rem;
        margin-top: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .problem-item,
    .solution-item {
        padding: 1.5rem;
    }
    
        .pricing-wrapper {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
        max-width: 320px;
    }

    .consultation-form {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 3rem;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.02em;
    }
    
    .solution-img {
        max-width: 150px;
    }
}

/* ====================
   COMPANY PAGE STYLES
   ==================== */

/* Company Hero */
.company-hero .hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.company-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.company-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Company Mission */
.company-mission {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.mission-statement {
    font-size: 2.5rem;
    font-weight: 600;
    color: #4d519d;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: center;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Company Info */
.company-info {
    background: #ffffff;
}

.company-info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-table {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

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

.info-row:hover {
    background-color: #f8f9ff;
}

.info-label {
    background: #4d519d;
    color: white;
    padding: 1.5rem;
    font-weight: 600;
    min-width: 200px;
    display: flex;
    align-items: center;
}

.info-value {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

/* Board Members */
.board-members {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.board-member {
    display: flex;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    padding: 3rem 2.5rem 2.5rem;
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.board-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.15);
    border-color: rgba(77, 81, 157, 0.3);
}

.member-photo {
    flex-shrink: 0;
    margin-right: 2rem;
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4d519d;
    transition: all 0.3s ease;
}

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

.member-info {
    flex: 1;
}

.member-name {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.member-position {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-description {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Business Areas */
.business-areas {
    background: #ffffff;
}

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

.business-item {
    background: var(--bg-white);
    padding: 3rem 2rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.15);
    border-color: rgba(77, 81, 157, 0.3);
}

.business-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.business-item h4 {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.business-item p {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Company History */
.company-history {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
}

.history-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #4d519d 0%, #ff6f61 100%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    align-items: flex-start;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 192px;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #ff6f61;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ff6f61;
    z-index: 2;
}

.timeline-date {
    min-width: 180px;
    font-weight: 600;
    color: #4d519d;
    padding-right: 3rem;
    text-align: right;
    flex-shrink: 0;
}

.timeline-more::before {
    background: #cccccc;
    box-shadow: 0 0 0 3px #cccccc;
}

.more-text {
    color: #999;
    font-style: italic;
    font-weight: 400;
}

.timeline-content {
    flex: 1;
    padding-left: 3rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: #4d519d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Company Access */
.company-access {
    background: #ffffff;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.access-info h3 {
    font-size: 1.5rem;
    color: #4d519d;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.address-details p {
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.6;
}

.access-methods {
    margin-top: 2rem;
}

.access-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 8px;
}

.access-method strong {
    display: block;
    color: #4d519d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.access-method p {
    margin: 0;
    color: #666;
}

.access-map {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #4d519d 0%, #ff6f61 100%);
    color: white;
    text-align: center;
}

.contact-cta .cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-cta .btn {
    background: white;
    color: #4d519d;
    border: 2px solid white;
    font-weight: 600;
}

.contact-cta .btn:hover {
    background: transparent;
    color: white;
}

/* Navigation Active State */
.nav-list a.active {
    color: #ff6f61;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .mission-statement {
        font-size: 2rem;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-label {
        min-width: auto;
        text-align: center;
    }
    
    .board-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .board-member {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }
    
    .member-photo {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .business-item {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .history-timeline::before {
        left: 100px;
    }
    
    .timeline-item::before {
        left: 92px;
    }
    
    .timeline-date {
        min-width: 110px;
        font-size: 0.9rem;
        text-align: right;
        padding-right: 2rem;
    }
    
    .timeline-content {
        padding-left: 2rem;
    }
    
    .access-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-cta .cta-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .company-hero .hero-title {
        font-size: 2rem;
    }
    
    .mission-statement {
        font-size: 1.8rem;
    }
    
    .info-label,
    .info-value {
        padding: 1rem;
    }
    
    .business-item {
        padding: 1.5rem;
        max-width: 320px;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .access-method {
        padding: 1rem;
    }
}

/* 開業支援ページ専用スタイル */
.startup-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 4rem auto;
    max-width: 800px;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.startup-service-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: 24px;
    border: 1px solid rgba(77, 81, 157, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.1),
                0 8px 24px rgba(77, 81, 157, 0.05),
                0 1px 2px rgba(77, 81, 157, 0.2);
    height: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.startup-service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.15),
                0 16px 32px rgba(77, 81, 157, 0.1),
                0 1px 3px rgba(77, 81, 157, 0.2);
    border-color: rgba(77, 81, 157, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .startup-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 600px;
        width: 100%;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .startup-service-item {
        padding: 2.5rem 1.5rem;
        width: 100%;
        margin: 0 auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .startup-services {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 360px;
        width: 100%;
        margin: 2rem auto;
        padding: 0 20px;
    }

    .startup-service-item {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

/* Features専用スタイル */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem 2.5rem;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.15);
    border-color: rgba(77, 81, 157, 0.3);
}

.feature-icon {
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-title {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-description {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .startup-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 600px;
        width: 100%;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .startup-service-item {
        padding: 2.5rem 1.5rem;
        width: 100%;
        margin: 0 auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .startup-services {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 360px;
        width: 100%;
        margin: 2rem auto;
        padding: 0 20px;
    }

    .startup-service-item {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

/* PC版フッターデザイン（769px以上） */
@media (min-width: 769px) {
    .footer {
        background-color: var(--primary-color);
        color: var(--text-white);
        padding: 4rem 0 2rem;
    }

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

    .footer-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
    }

    .footer-logo-icon {
        height: 60px;
        width: auto;
        filter: brightness(0) invert(1);
        transition: all 0.3s ease;
        display: block;
    }

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

    .footer-section h4 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 1.2rem;
        color: var(--text-white);
    }

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

    .footer-section ul li {
        margin-bottom: 0.8rem;
    }

    .footer-section ul li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .footer-section ul li a:hover {
        color: var(--text-white);
        transform: translateX(2px);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1.5rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
    }
}

/* SP用フッターデザイン */
@media (max-width: 768px) {
    .footer {
        background-color: var(--primary-color);
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-logo-icon {
        height: 60px;
        width: auto;
        filter: brightness(0) invert(1);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 320px;
    }
    
    .footer-section {
        margin-bottom: 0;
    }
    
    .footer-section:not(:last-child) {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-white);
        margin-bottom: 1rem;
        padding: 1rem 1.5rem;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        letter-spacing: 0.3px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .footer-section ul {
        margin: 0;
        padding: 0;
    }
    
    .footer-section ul li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-section ul li:last-child {
        border-bottom: none;
    }
    
    .footer-section ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 1.5rem;
        color: var(--text-white);
        font-size: 1.1rem;
        font-weight: 500;
        background-color: transparent;
        border: none;
        width: 100%;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .footer-section ul li a::after {
        content: "→";
        font-size: 1.2rem;
        color: var(--text-white);
        opacity: 0.7;
        transition: all 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--accent-color);
        transform: translateX(0);
    }
    
    .footer-section ul li a:hover::after {
        color: var(--accent-color);
        opacity: 1;
        transform: translateX(4px);
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-legal-links a {
        font-size: 0.7rem;
    }
}

/* 480px以下のさらに小さなスマホ用調整 */
@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-logo-icon {
        height: 55px;
        width: auto;
        filter: brightness(0) invert(1);
    }
    
    .footer-links {
        max-width: 300px;
    }
    
    .footer-section ul li a {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .footer-section ul li a::after {
        font-size: 1.1rem;
    }
    
    .footer-legal-links a {
        font-size: 0.65rem;
    }
}

/* 統一されたボタンデザインのためのレスポンシブデザイン */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 50px;
        min-width: 280px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        border-radius: 50px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 50px;
        min-width: 240px;
    }
    
    .hero-buttons {
        gap: 12px;
        max-width: 280px;
    }
    
    .hero-buttons .btn {
        border-radius: 50px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        white-space: normal;
        line-height: 1.4;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-width: auto;
        width: 45%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        width: 45%;
    }
}

.mobile-contact-section {
    display: none;
}

@media (max-width: 768px) {
    .nav-list.mobile-menu {
        padding: 1rem;
    }
    
    .nav-list.mobile-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-list.mobile-menu .cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-white);
        background-color: var(--primary-color);
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: 0.5rem;
    }
    
    .nav-list.mobile-menu .cta-btn:hover {
        background-color: var(--accent-color);
        transform: translateY(-1px);
    }
    
    .mobile-contact-section {
        display: none;
    }
    
    .mobile-cta-buttons {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-list.mobile-menu {
        padding: 0.75rem;
    }
    
    .nav-list.mobile-menu .cta-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* フォームの必須項目マーク */
.required {
    color: var(--accent-color);
    margin-left: 0.25rem;
}

/* 開発サービスセクション */
.development-services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.price-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.price-section h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4d519d;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

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

.features li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.features li::before {
    content: "✓";
    color: #4d519d;
    position: absolute;
    left: 0;
}

.service-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(77, 81, 157, 0.8);
    border-radius: 100px;
    color: rgba(77, 81, 157, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.service-button:hover {
    background-color: #4d519d;
    color: #fff;
    border-color: #4d519d;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .price {
        font-size: 2rem;
    }
}

.pricing-amount .price {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -1px;
    line-height: 1;
}

.pricing-amount .currency {
    font-size: 18px;
    color: var(--text-light);
    margin-left: 2px;
    font-weight: 400;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 20px;
}

.pricing-card .price.consultation-price {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: normal;
    padding: 0 20px;
}

.pricing-card .pricing-amount.consultation-pricing {
    margin: 20px 0;
}

@media (max-width: 768px) {
    .service-number {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== 料金数字デザイン統一 ===== */
.pricing-amount .price {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -1px;
    line-height: 1;
}
@media (max-width: 768px) {
    .pricing-amount .price {
        font-size: 40px;
    }
}
@media (max-width: 480px) {
    .pricing-amount .price {
        font-size: 32px;
    }
}
/* ===== ここまで ===== */

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-background {
        background-attachment: scroll;
        background-size: cover;
        background-position: center 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-background {
        background-attachment: scroll;
        background-size: cover;
        background-position: center 100%;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .problems-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 800px;
    }

    .problem-item,
    .solution-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

    .feature-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

    .startup-service-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .startup-service-icon {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 360px;
    }

    .feature-item {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }
}

.hidden {
    display: none;
}

/* 送信完了ページ */
.thank-you-page {
    padding: 120px 0;
    min-height: calc(100vh - 400px);
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.thank-you-content h1 {
    color: #4d519d;
    margin-bottom: 20px;
    font-size: 2em;
}

.thank-you-content p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.thank-you-info {
    margin: 40px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.thank-you-info h2 {
    color: #4d519d;
    font-size: 1.2em;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .thank-you-page {
        padding: 80px 0;
    }

    .thank-you-content {
        padding: 20px;
        margin: 0 20px;
    }
}

/* フォームバリデーション */
.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #ff6b6b;
    background-color: #fff8f8;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.875em;
    margin-top: 5px;
    text-align: left;
}

.form-group button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ローディングインディケーター */
.loading-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

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

.btn-loading {
    background: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    pointer-events: none;
}

.btn-loading:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #999 !important;
}

.btn-loading:active {
    transform: none !important;
}

/* トースト通知 */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    font-size: 16px;
    line-height: 1.5;
    border-left: 4px solid #4d519d;
    color: #1f2937;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.notification.success {
    border-left-color: #4d519d;
    background-color: #f8f9ff;
}

.notification.success::before {
    content: "✓";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #4d519d;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification.error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.notification.error::before {
    content: '⚠️';
    margin-right: 8px;
    font-size: 1.2em;
}

.notification.info {
    border-left-color: #3b82f6;
    background-color: #eff6ff;
}

.notification.info::before {
    content: "i";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        transform: translateY(100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* フッターリンクのフォーカス状態 */
.footer-section ul li a:focus {
    outline: none;
    box-shadow: none;
}

.footer-section ul li a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.footer-legal-links a:focus {
    outline: none;
    box-shadow: none;
}

.footer-legal-links a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* フッターの区切り線を統一 */
.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* アニメーションの最適化 */
@media (prefers-reduced-motion: no-preference) {
    .service-item {
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }
}

/* モバイルデバイスでのパフォーマンス最適化 */
@media (max-width: 768px) {
    .service-item {
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        box-shadow: 0 6px 24px rgba(77, 81, 157, 0.1),
                    0 3px 12px rgba(77, 81, 157, 0.06),
                    0 1px 6px rgba(77, 81, 157, 0.04);
    }
    
    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 40px rgba(77, 81, 157, 0.15),
                    0 8px 24px rgba(77, 81, 157, 0.1),
                    0 3px 12px rgba(77, 81, 157, 0.06);
    }
}

