/*
Theme Name: WomenOnly-salon
Theme URI: 
Author: Your Name
Author URI: 
Description: Custom theme for women only salon
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: womenonly-salon
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #454545;
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    margin: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 15px;
}

.header-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header-button.reservation {
    background-color: transparent;
    border: 1px solid #454545;
    color: #454545;
}

.header-button.contact {
    background-color: #454545;
    border: 1px solid #454545;
    color: #fff;
}

.header-button.reservation:hover {
    background-color: #f5f5f5;
}

.header-button.contact:hover {
    background-color: #333;
    border-color: #333;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #454545;
    position: absolute;
    transition: all 0.3s ease;
}

.toggle-line:nth-child(1) { top: 0; }
.toggle-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.toggle-line:nth-child(3) { bottom: 0; }

/* Responsive Design */
@media (max-width: 968px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

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

    .header-buttons {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 15px;
    }

    .site-logo img {
        max-height: 30px;
    }
}

/* Mobile Menu Active State */
.mobile-menu-active .main-navigation {
    display: block;
}

.mobile-menu-active .toggle-line:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

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

.mobile-menu-active .toggle-line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    min-height: 100vh;
    background-color: #454545;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
}

/* 共通のボタンスタイル */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-button {
    display: inline-block;
    min-width: 200px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.hero-button.primary {
    background-color: #fff;
    color: #000;
}

.hero-button.secondary {
    background-color: transparent;
    color: #fff;
}

.hero-button.primary:hover {
    background-color: transparent;
    color: #fff;
}

.hero-button.secondary:hover {
    background-color: #fff;
    color: #000;
}

/* レスポンシブ対応（必要に応じて） */
@media (max-width: 768px) {
    .hero-section {
        background-position: 70% center; /* モバイルでの背景位置調整 */
    }
    
    .hero-title {
        font-size: 36px;
    }
	
	    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Services Section Styles */
.services-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 80px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

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

/* Service Card Styles */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-image {
    width: 100%;
    background-color: #f5f5f5; /* プレースホルダーの背景色 */
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.service-image::before {
    content: "";
    display: block;
    padding-top: 66.67%; /* アスペクト比 3:2 */
}

.service-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* プレースホルダー画像用のスタイル */
.service-image .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.service-image .placeholder::after {
    content: "画像";
    color: #999;
    font-size: 14px;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.service-description {
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: #666;
    margin-bottom: 24px;
}

/* Service Buttons */
.services-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.service-button {
    display: inline-block;
    min-width: 200px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border: 1px solid #454545;
    transition: all 0.3s ease;
}

.service-button:first-child {
    background-color: #454545;
    color: #fff;
}

.service-button:last-child {
    background-color: transparent;
    color: #454545;
}

.service-button:first-child:hover {
    background-color: #333;
}

.service-button:last-child:hover {
    background-color: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid {
        gap: 30px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .service-image {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .service-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 40px 0;
    }

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

    .service-title {
        font-size: 18px;
    }

    .service-description {
        font-size: 13px;
    }
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.no-menu-message {
    text-align: center;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
    grid-column: 1 / -1;
}

.no-menu-message p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* Menu Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.tab-button {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #454545;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: #454545;
    color: #fff;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* メニューグリッドの表示制御 */
.menu-grid {
    display: none;
}

.menu-grid.active {
    display: grid;
}

/* Menu Card */
.menu-card {
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.menu-card:hover {
    border-color: #454545;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.menu-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.menu-price {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

.menu-features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.menu-features li {
    margin-bottom: 15px;
    font-size: 16px;
    position: relative;
    padding-left: 25px;
}

.menu-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #454545;
}

.menu-button {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background-color: #454545;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .menu-grid {
        gap: 20px;
    }

    .menu-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .menu-section {
        padding: 60px 0;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .menu-price {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 200px;
    }
}

/* Steps Section */
.steps-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Step Card */
.step-card {
    text-align: center;
}

.step-image {
    width: 100%;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.step-image .placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image::before {
    content: none !important;  /* !importantで強制的に無効化 */
    display: none !important;
}

/* または */
.step-image {
    padding-top: 0 !important;  /* アスペクト比用のパディングをリセット */
}

.step-image {
    position: relative;
    width: 100%;
    height: auto;  /* 高さを自動に */
}

.placeholder-image {
    width: 100%;
    height: 200px;  /* 必要な高さを直接指定 */
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding: 0 20px;
}

.step-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #666;
}

.step-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Buttons */
.steps-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.step-button {
    display: inline-block;
    min-width: 200px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid #454545;
    transition: all 0.3s ease;
}

.step-button:first-child {
    background-color: #454545;
    color: #fff;
}

.step-button.outline {
    background-color: transparent;
    color: #454545;
}

.step-button:first-child:hover {
    background-color: #333;
    border-color: #333;
}

.step-button.outline:hover {
    background-color: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .steps-grid {
        gap: 30px;
    }

    .step-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .steps-section {
        padding: 60px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .section-description br {
        display: none;
    }

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

    .step-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .section-description {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 14px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.section-description {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

/* Slider Container */
.testimonials-slider {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    /* スクロールバーのスタイリング */
    scrollbar-width: thin;
    scrollbar-color: #454545 #f1f1f1;
}

/* Webkit browsers用のスクロールバースタイル */
.testimonials-slider::-webkit-scrollbar {
    height: 6px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: #454545;
    border-radius: 3px;
}

/* Track - カードを横並びにする親要素 */
.testimonials-track {
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

/* Testimonial Card */
.testimonial-card {
    flex: 0 0 auto;
    width: 400px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Rating Stars */
.testimonial-rating {
    margin-bottom: 20px;
}

.star {
    color: #FFD700;
    font-size: 20px;
}

/* Testimonial Content */
.testimonial-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
    min-height: 80px;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.placeholder-circle {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.author-position {
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        width: 300px;
    }

    .testimonial-content {
        font-size: 14px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.section-description {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ Item */
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

/* FAQ Question */
.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

/* FAQ Icon */
.faq-icon {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.8;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px; /* 必要に応じて調整 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        font-size: 15px;
        padding: 15px;
    }
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

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

.cta-button {
    display: inline-block;
    min-width: 200px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: #fff;
    color: #454545;
}

.cta-button.secondary {
    background-color: transparent;
    color: #fff;
}

.cta-button.primary:hover {
    background-color: transparent;
    color: #fff;
}

.cta-button.secondary:hover {
    background-color: #fff;
    color: #454545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-section {
        height: 350px;
    }

    .cta-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

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

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

@media (max-width: 480px) {
    .cta-section {
        height: 300px;
    }

    .cta-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Access Section */
.access-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.access-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 60px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

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

.info-icon svg {
    width: 24px;
    height: 24px;
    color: #454545;
}

.info-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.info-content a,
.info-content p {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
}

.info-content a:hover {
    color: #454545;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .access-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .access-section {
        padding: 60px 0;
    }

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

    .contact-info {
        order: 2;
    }

    .map-container {
        order: 1;
    }
}

@media (max-width: 480px) {
    .info-item {
        gap: 12px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
    }

    .info-icon svg {
        width: 20px;
        height: 20px;
    }

    .info-content h3 {
        font-size: 16px;
    }

    .info-content a,
    .info-content p {
        font-size: 14px;
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.section-description {
    color: #666;
    margin-top: 10px;
}

.view-all {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all:hover {
    background-color: #000;
    color: #fff;
}

.blog-slider {
    overflow-x: auto;
    padding: 20px 0;
    margin: 0 -20px;
    padding: 0 20px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-slider::-webkit-scrollbar {
    display: none;
}

.blog-track {
    display: flex;
    gap: 30px;
    padding-right: 50px;
}

.blog-card {
    flex: 0 0 350px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-link {
    text-decoration: none;
    color: inherit;
}

.blog-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.post-info {
    display: flex;
    gap: 15px;
}

/* スクロール可能なことを示すグラデーション */
.blog-slider::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-slider:not(.at-end)::after {
    opacity: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

    .blog-card {
        flex: 0 0 85vw;
        max-width: 350px;
    }

    .blog-slider {
        padding: 0 15px;
        margin: 0 -15px;
    }

    .blog-title {
        font-size: 16px;
    }

    .blog-excerpt {
        font-size: 13px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: #fff;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.gallery-header {
    text-align: left;
    padding: 0 20px;
    margin-bottom: 40px;
}

/* Slider */
.gallery-slider {
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 600px;
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.gallery-navigation {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.nav-button {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.6);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Indicators */
.gallery-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }

    .gallery-slide {
        height: 400px;
    }

    .nav-button {
        width: 36px;
        height: 36px;
    }

    .nav-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Contact Form 7 Styles */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* フォームラベル */
.wpcf7-form label {
    display: block;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 必須マーク */
.wpcf7-form .required {
    color: #ff0000;
    margin-left: 5px;
}

/* 入力フィールド */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-color: #000;
    outline: none;
}

/* テキストエリア */
.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}

/* 送信ボタン */
.wpcf7-submit {
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    border: 2px solid #000;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
}

.wpcf7-submit:hover {
    background-color: transparent;
    color: #000;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .wpcf7-form {
        gap: 15px;
    }

    .wpcf7-submit {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; /* より大きな値に変更 */
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center; /* 追加 */
    align-items: center; /* 追加 */
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #000;
}

/* Contact Form 7 Styles in Modal */
.modal .wpcf7 {
    margin-top: 20px;
}

.modal .wpcf7 input[type="text"],
.modal .wpcf7 input[type="email"],
.modal .wpcf7 input[type="tel"],
.modal .wpcf7 textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal .wpcf7 textarea {
    height: 120px;
}

.modal .wpcf7 input[type="submit"] {
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal .wpcf7 input[type="submit"]:hover {
    background-color: #333;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #fff;
    padding: 60px 0 30px;
    border-top: 1px solid #e0e0e0;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* Footer Logo */
.footer-logo img {
    max-height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #454545;
    text-decoration: none;
}

/* Footer Navigation */
.footer-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #454545;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #454545;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 20px;
}

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

.footer-links a:hover {
    color: #454545;
}

.cookie-settings {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
}

.cookie-settings:hover {
    color: #454545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 20px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }
}

.default-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}