/* ===== 基本設定 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5f3f;
    --secondary-color: #8b4513;
    --accent-color: #d4a574;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f7f4;
    --white: #ffffff;
    --line-green: #06c755;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

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

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

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

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

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

.logo a {
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

.nav-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* モバイルメニュー */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* ===== ヒーローセクション ===== */
.hero {
    position: relative;
    height: 600px;
    background: url('../images/hero-background.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.85), rgba(45, 95, 63, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-line {
    background: var(--line-green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-line:hover {
    background: #05a647;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ===== サービス一覧 ===== */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 10px;
}

/* ===== 選ばれる理由 ===== */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.strength-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.strength-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.strength-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.strength-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 会社案内 ===== */
.company {
    background: var(--bg-light);
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.company-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.company-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.company-table th,
.company-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.company-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    width: 150px;
}

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

/* ===== お見積もりフォーム ===== */
.estimate {
    background: var(--bg-light);
}

.estimate-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.required {
    color: #e74c3c;
    font-size: 0.85rem;
    background: #ffe6e6;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 5px;
}

.optional {
    color: var(--text-light);
    font-size: 0.85rem;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
}

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

.form-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.form-privacy {
    margin: 30px 0;
    text-align: center;
}

.form-privacy label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-privacy input[type="checkbox"] {
    width: auto;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* ===== お問い合わせ ===== */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary-color);
}

.contact-card-line {
    border-top-color: var(--line-green);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.contact-card-line .contact-icon {
    background: var(--line-green);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 15px 0;
}

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

.contact-note {
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 10px;
}

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

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* ===== トップに戻るボタン ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

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

.scroll-top:hover {
    background: #a0522d;
    transform: translateY(-3px);
}

/* ===== パンくずリスト ===== */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
    font-size: 0.9rem;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* ===== サービス詳細ヒーロー ===== */
.service-detail-hero {
    background: linear-gradient(135deg, var(--primary-color), #3d7f5f);
    color: var(--white);
    padding: 60px 0;
}

.service-detail-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-detail-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-detail-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* ===== サービス詳細コンテンツ ===== */
.service-detail-content {
    background: var(--white);
}

.detail-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.detail-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-title i {
    color: var(--accent-color);
}

.price-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.price-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.price-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 10px 0;
}

.price-note,
.price-value-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.detail-note {
    background: #e8f5e9;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
    display: flex;
    align-items: start;
    gap: 10px;
}

.detail-note i {
    color: var(--primary-color);
    margin-top: 3px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.content-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
}

.content-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.content-item ul {
    list-style: none;
}

.content-item li {
    padding: 8px 0;
    color: var(--text-dark);
    padding-left: 20px;
    position: relative;
}

.content-item li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.timeline-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.timeline-step {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-duration {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 10px 0;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.recommend-item {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

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

.recommend-item p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
}

.faq-question {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.faq-question i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.faq-answer {
    color: var(--text-dark);
    line-height: 1.7;
    padding-left: 30px;
}

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

.flow-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 20px;
}

.flow-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.flow-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), #3d7f5f);
    color: var(--white);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
}

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

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

.cta-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.cta-contact p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.cta-tel {
    font-size: 1.8rem !important;
    font-weight: 700;
    margin: 15px 0 !important;
}

.cta-time {
    font-size: 0.95rem !important;
    opacity: 0.85;
}

.other-services {
    text-align: center;
}

.other-services h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.service-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-link-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-link-item:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.service-link-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-link-item span {
    font-weight: 500;
}

.service-link-all {
    background: var(--primary-color);
    color: var(--white) !important;
}

.service-link-all i {
    color: var(--white);
}

.service-link-all:hover {
    background: #3d7f5f;
    border-color: #3d7f5f;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

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

    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .service-grid,
    .strength-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .estimate-form {
        padding: 30px 20px;
    }

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

    .service-detail-title {
        font-size: 1.8rem;
    }

    .detail-box {
        padding: 25px 20px;
    }

    .price-info,
    .content-grid,
    .timeline,
    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .flow-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .service-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .company-table th {
        width: 100px;
        font-size: 0.9rem;
    }

    .company-table td {
        font-size: 0.9rem;
    }
}