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

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fef9f4;
}

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

/* ヘッダー */
.header {
    background: linear-gradient(135deg, #ff9a56, #ffcc02);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    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;
}

.logo h1 {
    color: white;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.logo-highlight {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav a.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* SNSリンク */
.social-links {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.x-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover .x-icon {
    transform: rotate(-5deg) scale(1.1);
}

/* メインビジュアル */
.hero {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 20px;
    font-weight: 400;
}

/* セクション共通 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #ff7b00;
    margin-bottom: 50px;
    position: relative;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-top: 5px;
    letter-spacing: 2px;
}

.section-title.center {
    text-align: center;
}

/* お知らせ */
.news {
    padding: 80px 0;
    background-color: white;
}

.news-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #fff8f0;
}

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

.news-item time {
    color: #666;
    font-size: 14px;
    margin-right: 20px;
    min-width: 120px;
}

.news-category {
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 20px;
    font-weight: 500;
}

.news-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: #ff7b00;
}

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

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

/* サービス */
.service {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
}

.service-grid {
    display: grid;
    gap: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ff7b00;
    margin-bottom: 20px;
}

.service-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.btn-service {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

.service-image {
    text-align: center;
}

.sunshine-icon {
    font-size: 120px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 特徴 */
.features {
    padding: 80px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #ff7b00;
    margin-bottom: 15px;
}

.feature-item p {
    color: #555;
    line-height: 1.8;
}

/* 施設案内 */
.facilities {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
}

.facilities-desc {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
}

.facility-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.facility-feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-feature:hover {
    transform: translateY(-5px);
}

.facility-feature h4 {
    font-size: 20px;
    font-weight: 600;
    color: #ff7b00;
    margin-bottom: 15px;
}

.facility-feature p {
    color: #555;
    line-height: 1.6;
}

/* 施設写真ボタン */
.facility-gallery-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.farm-gallery-button-wrapper {
    text-align: center;
    margin-top: 15px;
}

/* デイサービス写真セクション */
.dayservice-gallery {
    padding: 60px 0;
    background-color: #fef9f4;
}

.dayservice-gallery-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.dayservice-gallery-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.dayservice-gallery-button-wrapper {
    text-align: center;
}

.btn-facility-gallery,
.btn-farm-gallery,
.btn-dayservice-gallery {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}

.btn-facility-gallery:hover,
.btn-farm-gallery:hover,
.btn-dayservice-gallery:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

.gallery-icon {
    font-size: 20px;
}

/* 年間行事の写真ボタン */
.event-gallery-button-wrapper {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-event-gallery {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 123, 0, 0.3);
}

.btn-event-gallery:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 123, 0, 0.4);
}

.btn-event-gallery .gallery-icon {
    font-size: 14px;
}

/* 料金案内 */
.pricing {
    padding: 80px 0;
    background-color: white;
}

/* 施設概要 */
.facility-overview {
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.facility-overview h3 {
    font-size: 24px;
    font-weight: 600;
    color: #ff7b00;
    margin-bottom: 20px;
    text-align: center;
}

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

.overview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.overview-label {
    font-weight: 500;
    color: #555;
}

.overview-value {
    font-weight: 600;
    color: #ff7b00;
}

/* 料金セクション */
.pricing-section {
    margin-bottom: 40px;
}

.pricing-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #ff7b00;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff7b00;
}

.pricing-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
    padding: 10px 15px;
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
    border-left: 4px solid #ff7b00;
    border-radius: 5px;
}

.pricing-content h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #ff7b00;
    margin-bottom: 40px;
    padding: 15px;
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
    border-radius: 10px;
}

.pricing-table {
    overflow-x: auto;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
}

/* デイサービス料金表の複雑な表対応 */
.pricing-section .pricing-table {
    margin-bottom: 20px;
}

.pricing-section .pricing-table table {
    min-width: 800px; /* 複雑な表の最小幅を確保 */
}

.pricing-section .pricing-table th,
.pricing-section .pricing-table td {
    padding: 12px 8px;
    font-size: 14px;
    white-space: nowrap;
}

.pricing-section .pricing-table th:first-child,
.pricing-section .pricing-table td:first-child {
    position: sticky;
    left: 0;
    background: inherit;
    z-index: 1;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.pricing-section .pricing-table td:first-child {
    text-align: left;
}

.pricing-section .pricing-table th:first-child {
    background: linear-gradient(135deg, #ff9a56, #ffcc02);
}

/* 加算料金表の特別なスタイル */
.pricing-section:last-child .pricing-table table {
    min-width: 750px;
    width: 100%;
    table-layout: fixed;
}

/* 料金表の文字色を読みやすい標準色に設定 */
.pricing-table td {
    color: #555;
}

/* 加算根拠列 */
.pricing-section:last-child .pricing-table td:nth-child(2) {
    width: 180px;
    font-size: 12px;
    word-wrap: break-word;
}

/* 1日当たりの利用料金列 */
.pricing-section:last-child .pricing-table th:nth-child(3),
.pricing-section:last-child .pricing-table td:nth-child(3) {
    width: 120px;
    font-size: 11px;
    padding: 6px 4px;
    word-wrap: break-word;
}

/* 負担割合列の幅拡張 */
.pricing-section:last-child .pricing-table th:nth-child(4),
.pricing-section:last-child .pricing-table th:nth-child(5),
.pricing-section:last-child .pricing-table th:nth-child(6),
.pricing-section:last-child .pricing-table td:nth-child(4),
.pricing-section:last-child .pricing-table td:nth-child(5),
.pricing-section:last-child .pricing-table td:nth-child(6) {
    font-size: 12px;
    padding: 8px 6px;
    width: 100px;
    word-wrap: break-word;
    color: #555;
}

.pricing-table table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.pricing-table th {
    background: linear-gradient(135deg, #ff9a56, #ffcc02);
    color: white;
    padding: 15px;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-table th:first-child {
    width: 40%;
}

.pricing-table th:last-child {
    width: 60%;
}

.pricing-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    vertical-align: middle;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.pricing-table td:last-child {
    text-align: center;
    font-weight: 600;
    color: #555;
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: #fff8f0;
}

.pricing-table tbody tr:hover {
    background-color: #fef4e7;
}

.pricing-notes {
    background: #fff8f0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.pricing-notes p {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.pricing-notes p:last-child {
    margin-bottom: 0;
}

.additional-services {
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
    padding: 30px;
    border-radius: 15px;
}

.additional-services h4 {
    font-size: 20px;
    font-weight: 600;
    color: #ff7b00;
    margin-bottom: 20px;
    text-align: center;
}

.additional-services ul {
    list-style: none;
    padding: 0;
}

.additional-services li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 123, 0, 0.2);
    font-size: 16px;
    color: #555;
}

.additional-services li:last-child {
    border-bottom: none;
}

/* 年間行事・イベント */
.events {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
}

.events-desc {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
}

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

.event-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.event-month {
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.event-content {
    padding: 20px;
}

.event-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.event-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-content li {
    padding: 8px 15px;
    margin-bottom: 5px;
    background: #f8f9fa;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
    transition: background-color 0.3s ease;
}

.event-content li:hover {
    background: #e9ecef;
}

.event-content li:last-child {
    margin-bottom: 0;
}

/* 季節別カラーテーマ */
.event-item.spring .event-month {
    background: linear-gradient(135deg, #ff7b9d, #ffc837);
}

.event-item.summer .event-month {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
}

.event-item.autumn .event-month {
    background: linear-gradient(135deg, #ff9a56, #ff6b4a);
}

.event-item.winter .event-month {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* アクセス情報 */
.access-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    line-height: 1.6;
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff9a56, #ffcc02);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-desc {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    line-height: 1.8;
}

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

/* デスクトップ版のお問い合わせレイアウトを明示的に指定 */
@media (min-width: 769px) {
    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
    
    .contact-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 40px;
    }
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-map {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-map iframe {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-contact {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: #ff7b00;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.btn-contact.secondary:hover {
    background: white;
    color: #ff7b00;
}

/* メールフォームモーダル */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #ff7b00;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #ff7b00;
}

/* フォームスタイル */
.contact-form {
    padding: 30px;
}

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

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

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff7b00;
    box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.1);
}

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

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* フォームボタン */
.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-cancel {
    padding: 12px 30px;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.btn-submit {
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

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

/* 成功メッセージ */
.success-message {
    text-align: center;
    padding: 40px 30px;
}

.success-message h4 {
    color: #27ae60;
    font-size: 24px;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* お知らせモーダル */
.news-modal {
    max-width: 800px;
}

.news-modal-content {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.news-list-full {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item-full {
    padding: 25px;
    background: linear-gradient(135deg, #fff8f0, #fef4e7);
    border-radius: 15px;
    border-left: 5px solid #ff7b00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 123, 0, 0.2);
}

.news-item-full time {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.news-item-full .news-category {
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

.news-item-full h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item-full p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* 施設写真ギャラリーモーダル */
.gallery-modal {
    z-index: 20000;
}

.gallery-modal-content {
    background: white;
    border-radius: 20px;
    width: 90vw;
    max-width: 900px;
    max-height: 90vh;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #ff9a56, #ffcc02);
    color: white;
    border-radius: 20px 20px 0 0;
}

.gallery-header h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.gallery-header .modal-close {
    color: white;
}

.gallery-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ギャラリースライダー */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
    border-radius: 0 0 20px 20px;
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 0 20px 20px;
}

/* ギャラリーナビゲーションボタン */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.gallery-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-btn-prev {
    left: 20px;
}

.gallery-btn-next {
    right: 20px;
}

/* ギャラリードット */
.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active,
.gallery-dot:hover {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* カスタムスクロールバー */
.news-modal-content::-webkit-scrollbar {
    width: 8px;
}

.news-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.news-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff9a56, #ffcc02);
    border-radius: 10px;
}

.news-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff8a46, #ffbc02);
}

/* フッター */
.footer {
    background-color: #2c2c2c;
    color: white;
    padding: 40px 0 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copy {
    text-align: center;
    font-size: 14px;
    color: #999;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* レスポンシブ */
@media (max-width: 1200px) {
    .nav ul {
        gap: 12px;
    }
    
    .nav a {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .nav ul {
        gap: 8px;
    }
    
    .nav a {
        padding: 6px 8px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .social-links {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .x-icon {
        width: 18px;
        height: 18px;
    }
    
    .hero {
        height: 400px;
        margin-top: 120px;
    }
    
    .hero-content {
        left: 20px;
        right: 20px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-features {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .pricing-table {
        font-size: 14px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* デイサービス料金表のモバイル対応 */
    .facility-overview {
        padding: 20px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pricing-section h3 {
        font-size: 20px;
    }
    
    .pricing-section h4 {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .pricing-section .pricing-table th,
    .pricing-section .pricing-table td {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .pricing-section .pricing-table table {
        min-width: 600px;
    }
    
    /* ギャラリーレスポンシブ */
    .btn-facility-gallery,
    .btn-farm-gallery,
    .btn-dayservice-gallery {
        font-size: 16px;
        padding: 12px 30px;
    }
    
    .gallery-modal-content {
        width: 95vw;
        margin: 20px;
    }
    
    .gallery-slider {
        height: 350px;
    }
    
    .gallery-header {
        padding: 15px 20px;
    }
    
    .gallery-header h3 {
        font-size: 20px;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-btn-prev {
        left: 10px;
    }
    
    .gallery-btn-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .facility-feature {
        padding: 20px;
    }
    
    .additional-services {
        padding: 20px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .event-content {
        padding: 15px;
    }
    
    .event-content h4 {
        font-size: 16px;
    }
    
    .event-content li {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .pricing-table {
        font-size: 12px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 8px 5px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-map {
        padding: 15px;
    }
    
    .contact-map iframe {
        height: 250px;
    }
    
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
        text-align: center;
    }
    
    .news-modal {
        max-width: calc(100% - 20px);
    }
    
    .news-modal-content {
        padding: 20px;
        max-height: 80vh;
    }
    
    .news-list-full {
        gap: 20px;
    }
    
    .news-item-full {
        padding: 20px;
    }
    
    .news-item-full h4 {
        font-size: 18px;
    }
    
    .news-item-full p {
        font-size: 15px;
    }
    
    /* デイサービス写真セクション */
    .dayservice-gallery {
        padding: 40px 0;
    }

    .dayservice-gallery-desc {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* ギャラリーモバイル対応 */
    .btn-facility-gallery,
    .btn-farm-gallery,
    .btn-dayservice-gallery {
        font-size: 14px;
        padding: 10px 25px;
    }
    
    .btn-event-gallery {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .btn-event-gallery .gallery-icon {
        font-size: 12px;
    }
    
    .gallery-modal-content {
        width: 98vw;
        margin: 10px;
        max-height: 95vh;
    }
    
    .gallery-slider {
        height: 250px;
    }
    
    .gallery-header {
        padding: 10px 15px;
    }
    
    .gallery-header h3 {
        font-size: 18px;
    }
    
    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .gallery-btn-prev {
        left: 5px;
    }
    
    .gallery-btn-next {
        right: 5px;
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
    }
    
    .gallery-dots {
        gap: 8px;
        bottom: 15px;
    }
}