:root {
    /* カラーパレット */
    --primary-color: #5a7c5a;
    --primary-dark: #4a6649;
    --primary-light: #7a9c7a;
    --accent-color: #c9a961;
    --accent-light: #e5d4a8;
    --bg-color: #ffffff;
    --bg-secondary: #f5f3ed;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border-color: #e0ddd5;
    --success-color: #4caf50;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* タイポグラフィ */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* ブレークポイント */
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
}

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* セクション共通スタイル */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

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

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ヘッダー */
.header {
    background-color: white;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo img {
    height: 60px;
    width: auto;
}

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

.logo-name-ja {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-name-en {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.05em;
    font-family: var(--font-secondary);
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.nav-list a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.header-cta {
    margin-left: var(--spacing-md);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e8e5dc 100%);
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.1em;
}

.hero-subtitle-area {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.hero-feature-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow);
}

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

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

.hero-feature-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.hero-feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* サービスセクション */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--primary-color);
}

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

.service-card-highlight {
    background: linear-gradient(135deg, #f0f8f0, #e8f5e9);
    border-color: var(--success-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 4px 12px var(--shadow);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card-highlight .service-icon i {
    color: var(--success-color);
}

.service-title {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: white;
    border-radius: 8px;
}

.service-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.detail-value.free {
    color: var(--success-color);
    font-size: 1.25rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 特徴セクション */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px var(--shadow);
}

.feature-number {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
    font-family: var(--font-secondary);
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* 対応トラブルセクション */
.troubles {
    background: white;
}

.troubles-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.troubles-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--accent-color);
    font-weight: 700;
}

.troubles-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.troubles-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.troubles-list li:hover {
    background: var(--accent-light);
    transform: translateX(8px);
}

.troubles-list i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

/* 実績セクション */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: var(--spacing-lg) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-secondary);
    margin-bottom: var(--spacing-xs);
}

.stat-number span {
    font-size: 1.5rem;
    font-weight: 500;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.6;
}

.stat-sublabel {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

/* お問い合わせセクション */
.contact {
    background: var(--bg-secondary);
}

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

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-method {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow);
}

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

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

.contact-method h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    word-break: break-all;
    overflow-wrap: break-word;
}

.contact-value a {
    color: var(--primary-color);
    font-size: 1rem;
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
    line-height: 1.4;
}

.contact-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

/* LINEボタンスタイル */
.btn-line {
    display: inline-block;
    background: #06C755;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #06C755;
    text-decoration: none;
}

.btn-line:hover {
    background: #05b04c;
    border-color: #05b04c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
    color: white;
    text-decoration: none;
}

.contact-info {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.contact-info-logo {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto var(--spacing-md);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: var(--spacing-sm);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: var(--spacing-sm);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

/* フッター */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: var(--spacing-sm);
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    display: block;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
}

.footer-name-ja {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.footer-name-en {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    font-family: var(--font-secondary);
}

.footer-logo p {
    opacity: 0.8;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: var(--spacing-xs);
}

.footer-contact i {
    margin-right: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ページトップボタン */
.page-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 8px var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .troubles-content {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .page-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
