/*
Theme Name: すみよし：三世代をつなぐ展示場
Theme URI:
Author: アライズテクノロジー
Description: すみよし - 三世代をつなぐガス屋のDXコミュニティ型展示場のWordPressテーマ
Version: 1.11.0
License: GNU General Public License v2 or later
Text Domain: sansekai-showroom
*/

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

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ========================================
   共通スタイル
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #e8940f;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, #2c5530);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f5a623, #e8940f);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    background: #2c5530;
    color: #fff;
}

.btn-secondary:hover {
    background: #1e3d22;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-icon .custom-logo {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1rem;
    font-weight: bold;
    color: #e8940f;
    white-space: nowrap;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    color: #666;
    font-weight: normal;
}

.nav-menu {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 10px 12px;
    transition: color 0.3s;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: #f5a623;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-tel {
    text-align: right;
    white-space: nowrap;
}

.header-tel span {
    display: block;
    font-size: 0.75rem;
    color: #666;
}

.header-tel a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #333;
    background-image: url('images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.9);
    color: #fff;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 1rem;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    color: #f5d78e;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s both;
}

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

.hero-feature-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    color: #2c5530;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
}

.hero-feature p {
    font-size: 0.95rem;
}

/* ========================================
   新着情報セクション
======================================== */
.news {
    background: #fff;
}

.news .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.news .section-title h2 {
    display: block;
}

.news .section-title h2::after {
    left: 0;
    transform: none;
}

.news-list {
    max-width: 900px;
    margin: 0;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    color: inherit;
    text-decoration: none;
}

.news-item:hover {
    background: #fafafa;
    margin: 0 -20px;
    padding: 25px 20px;
}

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

.news-date {
    flex-shrink: 0;
    width: 100px;
    white-space: nowrap;
    color: #e8940f;
    font-weight: bold;
    font-size: 0.95rem;
}

.news-category {
    flex-shrink: 0;
    display: inline-block;
    background: #f5a623;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
}

.news-category.cat-event {
    background: #e74c3c;
}

.news-category.cat-campaign {
    background: #3498db;
}

.news-category.cat-info {
    background: #2c5530;
}

.news-content {
    flex: 1;
}

.news-content a {
    color: #333;
    transition: color 0.3s;
}

.news-content a:hover {
    color: #f5a623;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.news-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c5530;
    font-weight: bold;
    padding: 12px 30px;
    border: 2px solid #2c5530;
    border-radius: 30px;
    transition: all 0.3s;
}

.news-more a:hover {
    background: #2c5530;
    color: #fff;
}

/* 新着情報がない場合 */
.news-empty {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 新着情報アーカイブページ */
.news-archive {
    padding-top: 120px;
    min-height: 100vh;
}

.news-archive-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-archive-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-archive-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-archive-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.news-archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-archive-content {
    flex: 1;
}

.news-archive-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.news-archive-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-archive-title a {
    color: #333;
}

.news-archive-title a:hover {
    color: #f5a623;
}

.news-archive-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 新着情報詳細ページ */
.news-single {
    padding-top: 120px;
    padding-bottom: 80px;
    background: #faf8f5;
    min-height: 100vh;
}

.news-single-inner {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.news-single-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.news-single-title {
    font-size: 1.8rem;
    color: #e8940f;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ffe0b2;
}

.news-single-thumbnail {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.news-single-thumbnail img {
    width: 100%;
    height: auto;
}

.news-single-content {
    font-size: 1.05rem;
    line-height: 2;
    color: #444;
}

.news-single-content p {
    margin-bottom: 1.5em;
}

.news-single-content h2 {
    font-size: 1.4rem;
    color: #e8940f;
    margin: 2em 0 1em;
    padding-left: 15px;
    border-left: 4px solid #e8940f;
}

.news-single-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 1.5em 0 0.8em;
}

.news-single-content ul,
.news-single-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.news-single-content li {
    margin-bottom: 0.5em;
}

.news-single-back {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.pagination a:hover {
    background: #2c5530;
    color: #fff;
}

.pagination .current {
    background: #2c5530;
    color: #fff;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 10px;
    }

    .news-date {
        width: auto;
    }

    .news-archive-item {
        flex-direction: column;
    }

    .news-archive-thumbnail {
        width: 100%;
        height: 180px;
    }

    .news-single-inner {
        padding: 30px 20px;
    }

    .news-single-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   コンセプトセクション
======================================== */
.concept {
    background: #faf8f5;
}

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

.concept-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.concept-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* プレースホルダー画像 */
.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5530;
    font-size: 1.2rem;
}

.concept-text h3 {
    font-size: 1.8rem;
    color: #e8940f;
    margin-bottom: 20px;
}

.concept-text p {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.concept-points {
    margin-top: 30px;
}

.concept-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.concept-point-icon {
    width: 40px;
    height: 40px;
    background: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.concept-point-text h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.concept-point-text p {
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   サービスセクション
======================================== */
.services {
    background: #fff;
}

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

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #f5a623;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

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

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   施設案内セクション
======================================== */
.facility {
    background-color: #333;
    background-image: url('images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

.facility::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.facility > .container {
    position: relative;
    z-index: 1;
}

.facility .section-title h2 {
    color: #fff;
}

.facility .section-title h2::after {
    background: #f5a623;
}

.facility .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.facility-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.facility-image {
    height: 150px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}

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

.facility-info {
    color: #333;
}

.facility-info h4 {
    color: #e8940f;
}

.facility-info p {
    color: #666;
}

.facility-info {
    padding: 20px;
    text-align: center;
}

.facility-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.facility-info p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ========================================
   ファミリー向けセクション
======================================== */
.family {
    background: #fff5e6;
}

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

.family-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.family-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #fff5e6, #ffe0b2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.family-card h3 {
    font-size: 1.3rem;
    color: #e8940f;
    margin-bottom: 15px;
}

.family-card p {
    color: #666;
    font-size: 0.95rem;
}

.family-card ul {
    text-align: left;
    margin-top: 15px;
}

.family-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.9rem;
    color: #555;
}

.family-card ul li::before {
    content: '✓';
    color: #f5a623;
    margin-right: 8px;
}

/* ========================================
   安心サポートセクション
======================================== */
.support {
    background: #fff;
}

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

.support-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: box-shadow 0.3s;
}

.support-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5530, #4a8c50);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.support-text h4 {
    font-size: 1.2rem;
    color: #e8940f;
    margin-bottom: 10px;
}

.support-text p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   アクセスセクション
======================================== */
.access {
    background: #faf8f5;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.access-info {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.access-info h3 {
    font-size: 1.5rem;
    color: #e8940f;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffe0b2;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #e8f5e9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5530;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-text dt {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.info-text dd {
    color: #666;
    font-size: 0.95rem;
}

.access-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1565c0;
    font-size: 1.2rem;
}

/* ========================================
   お問い合わせセクション
======================================== */
.contact {
    background: linear-gradient(135deg, #f5a623, #e8940f);
    color: #fff;
    text-align: center;
}

.contact .section-title h2 {
    color: #fff;
}

.contact .section-title h2::after {
    background: #fff;
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.95);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px 50px;
    border-radius: 15px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.contact-method .phone {
    font-size: 2rem;
    font-weight: bold;
}

.contact-method .hours {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.9;
}

.line-qr-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.line-qr {
    display: block;
    width: 140px;
    height: 140px;
    margin: 10px auto;
    border-radius: 8px;
    background: #fff;
}

.line-qr-label {
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.contact-note {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 20px;
}

/* ========================================
   お問い合わせフォーム
======================================== */
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto 40px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
    color: #e8940f;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
    background: #fff;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

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

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

.form-privacy label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
}

.form-privacy input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-privacy a {
    color: #2c5530;
    text-decoration: underline;
}

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

.form-submit .btn {
    min-width: 250px;
}

.form-submit .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* フォーム送信完了メッセージ */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    background: #2c5530;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: #fff;
}

.form-success h3 {
    color: #e8940f;
    margin-bottom: 15px;
}

.form-success p {
    color: #666;
}

/* フォームエラーメッセージ */
.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .form-error {
    display: block;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 25px;
        margin: 0 15px 40px;
    }

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

/* ========================================
   バナーリンク（サービスセクション内）
======================================== */
.service-banner {
    margin-top: 50px;
}

.banner-link {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.banner-content {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    gap: 20px;
}

.banner-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c5530, #4a8c50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
}

.banner-text h3 {
    font-size: 1.2rem;
    color: #e8940f;
    margin-bottom: 5px;
}

.banner-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.banner-arrow {
    font-size: 1.5rem;
    color: #f5a623;
    transition: transform 0.3s;
}

.banner-link:hover .banner-arrow {
    transform: translateX(5px);
}

@media (max-width: 480px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .banner-arrow {
        transform: rotate(90deg);
    }

    .banner-link:hover .banner-arrow {
        transform: rotate(90deg) translateX(5px);
    }
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #f8f8f8;
    color: #333;
    padding: 60px 0 30px;
}

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

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #f5a623;
}

.footer-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-nav h4,
.footer-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

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

.footer-nav ul li a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav ul li a:hover {
    color: #f5a623;
}

.footer-hours p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   レスポンシブデザイン
======================================== */
/* タブレット（1024px以下） */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0;
    }

    .nav-menu a {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .header-tel a {
        font-size: 1rem;
    }

    .header-tel span {
        font-size: 0.7rem;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-text span {
        font-size: 0.65rem;
    }

    .logo-icon .custom-logo {
        height: 40px;
    }

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

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

/* タブレット縦・大きめスマホ（900px以下） */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 18px 25px;
        border-bottom: 1px solid #eee;
        font-size: 1rem;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .header-contact {
        display: none;
    }

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

    .header-inner {
        position: relative;
    }
}

/* スマホ（768px以下） */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .header {
        padding: 8px 0;
    }

    .logo-icon .custom-logo {
        height: 36px;
    }

    .logo-text {
        font-size: 0.85rem;
    }

    .logo-text span {
        font-size: 0.6rem;
    }

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

    .hero-features {
        gap: 20px;
        margin-bottom: 60px;
    }

    .hero-feature {
        flex: 0 0 calc(50% - 10px);
    }

    .concept-content,
    .access-content {
        grid-template-columns: 1fr;
    }

    .concept-image {
        order: -1;
    }

    .service-grid,
    .family-content,
    .support-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

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

    .section {
        padding: 60px 0;
    }
}

/* 小さいスマホ（480px以下） */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .logo-text span {
        display: none;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }
}

/* ========================================
   プライバシーポリシーページ
======================================== */
.privacy-policy {
    padding: 80px 0;
    background: #faf8f5;
    min-height: 60vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #2c5530;
}

.privacy-header h1 {
    font-size: 2rem;
    color: #2c5530;
    margin-bottom: 10px;
}

.privacy-header p {
    color: #666;
    font-size: 1rem;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.privacy-intro {
    color: #555;
    line-height: 1.9;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.privacy-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 1.1rem;
    color: #2c5530;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid #4a8c50;
}

.privacy-section p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 10px;
}

.privacy-section ul {
    padding-left: 1.5em;
    color: #555;
    line-height: 2;
}

.privacy-section ul li {
    list-style: disc;
}

.privacy-contact {
    background: #faf8f5;
    border-radius: 8px;
    padding: 24px 30px;
    margin-top: 14px;
}

.privacy-contact dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px 20px;
}

.privacy-contact dt {
    font-weight: bold;
    color: #2c5530;
}

.privacy-contact dd {
    color: #555;
}

.privacy-contact a {
    color: #2c5530;
    text-decoration: none;
}

.privacy-contact a:hover {
    text-decoration: underline;
}

.privacy-date {
    text-align: right;
    color: #999;
    font-size: 0.9rem;
    margin-top: 30px;
}

.privacy-back {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 30px 20px;
    }

    .privacy-header h1 {
        font-size: 1.5rem;
    }

    .privacy-contact dl {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }

    .privacy-contact dd {
        margin-bottom: 12px;
    }
}
