/* ========================================
   みどりの丘ファーム - スタイルシート
   モバイルファースト・60代向け最適化
   ======================================== */

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

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

body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
    font-size: 18px; /* 60代向けに大きめ */
    line-height: 1.8;
    color: #333;
    background-color: #fafafa;
}

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

a {
    color: #4a7c59;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2d5a3a;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #4a7c59;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #4a7c59;
    margin: 6px 0;
    transition: 0.3s;
}

.nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav.active {
    display: block;
}

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

.nav-list li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-list a {
    display: block;
    padding: 18px 20px;
    font-size: 18px;
    color: #333;
}

.nav-list a:hover {
    background-color: #f5f9f6;
    color: #4a7c59;
}

/* ========================================
   メインビジュアル
   ======================================== */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.hero-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ========================================
   ボタン
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    min-height: 56px; /* タップしやすい高さ */
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #4a7c59;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2d5a3a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #fff;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-secondary:hover {
    background-color: #4a7c59;
    color: #fff;
}

/* ========================================
   セクション共通
   ======================================== */
.section {
    padding: 60px 20px;
}

.section-bg {
    background-color: #fff;
}

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

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #4a7c59;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 48px;
}

/* ========================================
   カード
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.card-text {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-price {
    font-size: 24px;
    font-weight: bold;
    color: #4a7c59;
    margin-bottom: 16px;
}

/* ========================================
   特徴リスト
   ======================================== */
.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 20px;
    background-color: #f5f9f6;
    border-radius: 8px;
}

.feature-icon {
    font-size: 40px;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 20px;
    color: #4a7c59;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 16px;
    color: #666;
}

/* ========================================
   フォーム
   ======================================== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.form-required {
    color: #d9534f;
    margin-left: 4px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #4a7c59;
}

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

/* ========================================
   テーブル
   ======================================== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f5f9f6;
    font-weight: bold;
    color: #4a7c59;
}

/* ========================================
   FAQ
   ======================================== */
.faq-item {
    margin-bottom: 24px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #4a7c59;
    background-color: #f5f9f6;
}

.faq-answer {
    padding: 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* ========================================
   お客様の声
   ======================================== */
.review {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.review-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-author {
    font-size: 16px;
    color: #4a7c59;
    font-weight: bold;
    text-align: right;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: #2d5a3a;
    color: #fff;
    padding: 48px 20px 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav {
    list-style: none;
    margin-bottom: 32px;
}

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

.footer-nav a {
    color: #fff;
    font-size: 16px;
}

.footer-nav a:hover {
    color: #a8d5ba;
}

.footer-info {
    margin-bottom: 32px;
}

.footer-info p {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

/* ========================================
   ユーティリティ
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.mb-3 { margin-bottom: 48px; }

/* ========================================
   タブレット以上 (768px以上)
   ======================================== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

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

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

/* ========================================
   PC (1024px以上)
   ======================================== */
@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        height: 70vh;
    }

    .section {
        padding: 80px 20px;
    }
}
