/* 全体スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C5F2D;
    --secondary-color: #97BC62;
    --accent-color: #DC8A6F;
    --dark-color: #1A1A1A;
    --light-color: #F8F8F8;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E5E5E5;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #FFFFFF;
}

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

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

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

/* ヘッダー */
.main-header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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


.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

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

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

.nav-link.active {
    color: var(--primary-color);
}

.contact-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    padding-top: 80px;
    height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.9), rgba(151, 188, 98, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* 会社概要プレビュー */
.company-preview {
    padding: 80px 0;
    background: var(--light-color);
}

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

.company-preview-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.company-preview-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.company-preview-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* サービスセクション */
.services-section {
    padding: 100px 0;
}

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

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.service-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* 導入事例プレビュー */
.cases-preview {
    padding: 100px 0;
    background: var(--light-color);
}

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

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

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

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.case-content {
    padding: 25px;
}

.case-category {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
    line-height: 1.4;
}

.case-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.case-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

/* 会社情報 */
.company-info {
    padding: 100px 0;
}

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

.company-info-content {
    max-width: 500px;
}

.company-description {
    color: var(--text-light);
    font-size: 16px;
    line-height: 2;
    margin: 30px 0 40px;
}

.company-info-data {
    background: var(--light-color);
    border-radius: 8px;
    padding: 40px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.info-label {
    color: var(--text-light);
    font-size: 15px;
}

.info-value {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 15px;
}

/* お問い合わせCTA */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
}

.contact-cta-content {
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.contact-cta .btn-primary:hover {
    background: var(--light-color);
}

/* フッター */
.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact svg {
    flex-shrink: 0;
}

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

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

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

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

/* ビジネスページ */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: white;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

.business-detail {
    padding: 100px 0;
}

.business-section {
    margin-bottom: 80px;
}

.business-section:last-child {
    margin-bottom: 0;
}

.business-header {
    margin-bottom: 40px;
}

.business-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.business-header p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
}

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

.business-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.business-item-image {
    height: 200px;
    overflow: hidden;
}

.business-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-item-content {
    padding: 25px;
}

.business-item-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.business-item-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 会社概要ページ */
.about-content {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
}

.company-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

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

.company-data-table td {
    padding: 20px;
    font-size: 15px;
}

.company-data-table td:first-child {
    background: var(--light-color);
    font-weight: 500;
    width: 30%;
    color: var(--dark-color);
}

.company-data-table td:last-child {
    color: var(--text-color);
}

/* 導入事例ページ */
.cases-content {
    padding: 100px 0;
}

.cases-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

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

.case-card-full {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 導入事例詳細ページ */
.case-detail {
    padding: 100px 0;
}

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

.case-header .category {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.case-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.case-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

.case-hero {
    margin-bottom: 60px;
}

.case-hero img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

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

.case-section {
    margin-bottom: 50px;
}

.case-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.case-section p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 16px;
}

.case-results {
    background: var(--light-color);
    border-radius: 8px;
    padding: 40px;
    margin-top: 40px;
}

.case-results h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 24px;
}

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

.result-item {
    text-align: center;
}

.result-value {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.result-label {
    color: var(--text-light);
    font-size: 14px;
}

.case-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--light-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.nav-btn span {
    font-size: 14px;
    font-weight: 500;
}

.nav-btn .label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.nav-btn:hover .label {
    color: rgba(255, 255, 255, 0.8);
}

/* お問い合わせページ */
.contact-content {
    padding: 100px 0;
}

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

.contact-info {
    background: var(--light-color);
    border-radius: 8px;
    padding: 40px;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 30px;
}

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

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-info-text p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

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

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

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-light);
}

.form-submit {
    text-align: center;
}

.form-submit button {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit button:hover {
    background: var(--secondary-color);
}

/* 成功メッセージ */
.success-message {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.success-message.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.success-message p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

/* レスポンシブ */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .cases-preview-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-info-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

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

    .hero-section {
        height: auto;
        min-height: 500px;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .company-preview-grid {
        grid-template-columns: 1fr;
    }

    .cases-preview-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .case-nav {
        flex-direction: column;
        gap: 16px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

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

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .case-header h1 {
        font-size: 32px;
    }
}

/* Brand Logo Styling */
.logo-img {
    height: 40px;
    display: block;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 35px;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 32px;
    }
}