* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* すべての画像が画面幅を超えないようにする */
img {
    max-width: 100%;
    height: auto;
}

/* すべての要素が画面幅を超えないようにする */
section, div, article, main, header, footer {
    max-width: 100%;
    overflow-x: hidden;
}

/* 和モダンカラーパレット */
:root {
    --primary-color: #8B4513; /* 茶色 */
    --secondary-color: #D2691E; /* 薄茶色 */
    --accent-color: #CD853F; /* サンドブラウン */
    --text-dark: #2F4F4F; /* ダークスレートグレー */
    --text-light: #F5F5DC; /* ベージュ */
    --gold: #DAA520; /* ゴールド */
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #666666;
    --gray-darker: #555555;
    --black: #1a1a1a;
}

/* グローバルフォーカススタイル */
*:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

a:focus,
button:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* スキップリンク（アクセシビリティ向上） */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ヘッダー */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px var(--shadow);
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0;
    z-index: 1000;
    overflow-x: hidden;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* メインコンテンツ */
.main {
    margin-top: 80px;
}

/* ヒーローセクション（画像のみ） */
.hero {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* メインメッセージセクション */
.main-message-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
}

.main-message-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.main-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
    border-radius: 2px;
}

.main-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

.main-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
    line-height: 1.9;
    font-weight: 400;
}

.main-description strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.15rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold), #FFD700);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(218, 165, 32, 0.4);
}

/* セクション共通スタイル */
.section {
    padding: 5rem 0;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* サービスセクション */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.service-card p {
    color: var(--gray-dark);
    text-align: center;
    line-height: 1.8;
}

/* 特徴セクション */
.features {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-medium) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* お客様の声セクション */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    border-left: 5px solid var(--gold);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray-darker);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* フッター */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--black) 100%);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-section p, .footer-section a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* レスポンシブデザイン */

/* 大画面（1200px以上） */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    /* PC表示のみheroを小さく表示 */
    .hero {
        padding: 2rem 4rem;
    }
    
    .hero-image {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-image img {
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .main-subtitle {
        font-size: 1.6rem;
    }
    
    .main-description {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cleaning-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* タブレット（768px - 1199px） */
@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
    }
    
    .main-message-section {
        padding: 3.5rem 0;
    }
    
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .main-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1.8rem;
    }
    
    .main-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cleaning-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tab-navigation {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .tab-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* サービスリストのタブレットスタイル */
    .service-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 0.9rem;
    }
    
    .service-list-item {
        padding: 0.9rem 1.2rem;
    }
    
    .service-icon {
        font-size: 1.8rem;
    }
    
    .service-name {
        font-size: 0.95rem;
    }
    
    .service-price {
        font-size: 0.95rem;
    }
}

/* モバイル（767px以下） */
@media (max-width: 767px) {
    .nav-menu {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-container {
        padding: 0 1rem;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    
    .logo-container {
        max-width: calc(100% - 60px);
        flex: 1;
    }
    
    .logo {
        height: 45px;
        width: auto;
    }
    
    .logo-text {
        font-size: 0 !important;
    }
    
    .logo-text img {
        height: 45px !important;
        width: auto;
    }
    
    .nav-container h1 {
        font-size: 1.2rem !important;
    }

    .hero {
        margin-top: 0;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
    }
    
    .main-message-section {
        padding: 3rem 0;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    .main-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .main-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.7;
        padding: 0 1rem;
    }
    
    .main-description strong {
        font-size: 1.05rem;
        display: block;
        margin-top: 1rem;
    }
    
    .wafu-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        display: inline-block;
        margin-top: 0.5rem;
        max-width: calc(100% - 2rem);
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid,
    .cleaning-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .feature-item,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cleaning-area-card {
        padding: 1.5rem 1rem;
    }
    
    .cleaning-area-card h3 {
        font-size: 1.1rem;
    }
    
    .cleaning-area-card p {
        font-size: 0.8rem;
    }
    
    .tab-navigation {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .tab-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* サービスリストのモバイルスタイル */
    .service-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .service-list-item {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }
    
    .service-icon {
        font-size: 1.5rem;
    }
    
    .service-name {
        font-size: 0.9rem;
    }
    
    .service-price {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
}

/* 小画面モバイル（480px以下） */
@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
    
    .logo-text img {
        height: 40px !important;
    }
    
    .logo-container {
        max-width: calc(100% - 50px);
    }
    
    .nav-container {
        padding: 0 0.8rem;
    }
    
    .nav-container h1 {
        font-size: 1rem !important;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
    }
    
    .main-message-section {
        padding: 2.5rem 0;
    }
    
    .main-title {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    .main-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .main-description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
        line-height: 1.6;
        padding: 0 0.8rem;
    }
    
    .main-description strong {
        font-size: 1rem;
    }
    
    .wafu-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        max-width: calc(100% - 1.6rem);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .feature-item,
    .testimonial-card {
        padding: 1rem;
    }
    
    .cleaning-area-card {
        padding: 1rem 0.8rem;
    }
    
    .cleaning-area-card div {
        font-size: 2.5rem;
    }
    
    .cleaning-area-card h3 {
        font-size: 1rem;
    }
    
    .cleaning-area-card p {
        font-size: 0.75rem;
    }
    
    .tab-button {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* サービスリストの小画面スタイル */
    .service-list {
        gap: 0.6rem;
    }
    
    .service-list-item {
        padding: 0;
        gap: 0.6rem;
    }
    
    .service-icon {
        font-size: 1.3rem;
    }
    
    .service-name {
        font-size: 0.85rem;
    }
    
    .service-price {
        font-size: 0.85rem;
    }
}

/* 横画面モバイル対応 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        margin-top: 0;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
    }
    
    .main-message-section {
        padding: 2rem 0;
    }
    
    .main-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .main-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .main-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
        padding: 0 1rem;
    }
    
    .main-description br {
        display: inline;
    }
    
    .main-description strong {
        font-size: 0.95rem;
        display: inline;
        margin-top: 0.5rem;
    }
    
    .wafu-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.3rem;
        max-width: calc(100% - 2rem);
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* タッチデバイス対応 */
@media (hover: none) and (pointer: coarse) {
    .cleaning-area-card:hover,
    .service-card:hover,
    .wafu-button:hover {
        transform: none;
    }
    
    .cleaning-area-card:active {
        transform: scale(0.98);
    }
    
    .wafu-button:active {
        transform: scale(0.98);
    }
    
    .tab-button:active {
        transform: scale(0.98);
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 和風の装飾要素 */
.japanese-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 和風装飾の追加スタイル */
.wafu-decoration {
    position: relative;
}

.wafu-decoration::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--gold), var(--secondary-color), var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.1;
}

/* 清掃箇所カードのホバーエフェクト */
.cleaning-area-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
    text-align: center;
}

.cleaning-area-card:hover > div:first-child {
    transform: rotate(45deg) scale(1.1);
    opacity: 0.1;
}

/* 和風のセクションタイトル装飾 */
.section-title {
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--gold);
    border-radius: 1px;
}

/* 和風のボタンスタイル */
.wafu-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}

.wafu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wafu-button:hover::before {
    left: 100%;
}

.wafu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

/* 和風のカード装飾 */
.wafu-card {
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    overflow: hidden;
}

.wafu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold), var(--secondary-color));
}

/* 和風の背景パターン */
.wafu-bg-pattern {
    position: relative;
}

.wafu-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(218, 165, 32, 0.03) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(139, 69, 19, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

/* 和風のテキスト装飾 */
.wafu-text {
    position: relative;
    display: inline-block;
}

.wafu-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
    border-radius: 1px;
}

/* 和風のアイコン装飾 */
.wafu-icon {
    position: relative;
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.wafu-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--gold), var(--primary-color));
    z-index: -1;
    opacity: 0.3;
}

/* モーダルスタイル */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--gold);
    animation: scaleIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10001;
    background: var(--white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.modal-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* モーダルアニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* 画像のホバーエフェクト */
.modal-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 清掃箇所カードスタイル */
.cleaning-area-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
    text-align: center;
    cursor: pointer;
}

.cleaning-area-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.cleaning-area-card > div:first-child {
    transition: all 0.3s ease;
}

.cleaning-area-card:hover > div:first-child {
    transform: rotate(45deg) scale(1.1);
    opacity: 0.1;
}

/* タブナビゲーション */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-button {
    background: linear-gradient(135deg, var(--gray-light), var(--gray-medium));
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    animation: tab-blink 1.2s ease-in-out infinite;
}

/* タブの点滅アニメーション */
@keyframes tab-blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 8px 25px rgba(139, 69, 19, 0.8);
    }
}

.tab-button:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.15);
}

.tab-button:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* タブコンテンツ */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* サービスリストスタイル */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-list-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
    transform: translateY(-2px);
}

.service-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.service-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* 清掃グリッド */
.cleaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* アコーディオンカード */
.cleaning-area-card-accordion {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.cleaning-area-card-accordion:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.15);
}

.card-accordion-header {
    width: 100%;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    border: none;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-align: left;
}

.card-accordion-header:hover {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-medium) 100%);
}

.card-icon {
    font-size: 3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.card-accordion-header.active .card-icon {
    transform: scale(1.1) rotate(10deg);
}

.card-header-content {
    flex: 1;
}

.card-header-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.card-header-content .price {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.card-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.card-accordion-header.active .card-toggle {
    transform: rotate(45deg);
}

.card-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.card-accordion-content.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.card-accordion-content p {
    margin: 0.5rem 0;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* アコーディオンスタイル */
.accordion-container {
    max-width: 100%;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.15);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: left;
}

.accordion-header:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.accordion-header:focus {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
}

.accordion-icon {
    font-size: 1.8rem;
    margin-right: 1rem;
}

.accordion-title {
    flex: 1;
}

.accordion-toggle {
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.accordion-header.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
    background: var(--white);
}

.accordion-content.active {
    max-height: 5000px;
    padding: 2rem;
    transition: max-height 0.6s ease-in, padding 0.4s ease-in;
}

/* 専用スタイルクラス（インラインスタイル削除用） */
.logo-container {
    display: flex;
    align-items: center;
    max-width: 70%;
    overflow: hidden;
}

.logo-text {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    margin-left: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text img {
    height: 60px;
    width: auto;
}


.section-bg-wafu {
    background: linear-gradient(135deg, #fefefe 0%, var(--gray-light) 100%);
    position: relative;
    overflow: hidden;
}

.section-bg-blue {
    background: linear-gradient(135deg, #e6f3ff 0%, #cce7ff 100%);
}

.section-bg-cyan {
    background: linear-gradient(135deg, #e6f7ff 0%, #b3e5fc 100%);
}

.section-bg-purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.section-bg-beige {
    background: linear-gradient(135deg, #fff8dc 0%, #f5deb3 100%);
}

.section-title-decoration {
    position: relative;
}

.section-title-decoration > span {
    position: relative;
    display: inline-block;
}

.section-title-decoration-bg {
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.1), transparent);
    border-radius: 50px;
    z-index: -1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
    font-weight: 300;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.image-grid-item {
    text-align: center;
}

.image-grid-item img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-grid-item h3 {
    margin-top: 1rem;
    color: var(--text-dark);
}

.image-grid-item p {
    margin-top: 1rem;
    color: var(--gray-dark);
}

.centered-image {
    text-align: center;
    margin-bottom: 3rem;
}

.centered-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.detail-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.merit-card {
    margin-top: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.merit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.merit-item {
    text-align: center;
}

.merit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.merit-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.merit-desc {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-card {
    text-align: center;
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-container img {
    height: 50px;
    margin-right: 1rem;
}

.footer-logo-container h3 {
    margin: 0;
    color: var(--gold);
}

.cleaning-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card-special {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    border: 2px solid var(--gold);
}

/* FAQ（よくある質問）セクション */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    gap: 1rem;
}

.faq-question:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-question:focus {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
}

.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.faq-item.active .faq-toggle {
    color: var(--text-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem 2rem;
    border-top: 2px solid rgba(139, 69, 19, 0.1);
}

.faq-answer p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin: 0;
}

/* FAQ レスポンシブデザイン */
@media (max-width: 767px) {
    .faq-container {
        max-width: 100%;
    }
    
    .faq-question {
        padding: 1.2rem 1rem;
        font-size: 1rem;
        gap: 0.8rem;
    }
    
    .faq-icon {
        font-size: 1.3rem;
    }
    
    .faq-toggle {
        font-size: 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.2rem 1rem;
        max-height: 600px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question {
        padding: 1rem 0.8rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .faq-icon {
        font-size: 1.2rem;
    }
    
    .faq-question-text {
        line-height: 1.4;
    }
    
    .faq-toggle {
        font-size: 1.3rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 0.8rem;
        max-height: 700px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 999;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin: 1rem 0;
}

.mobile-menu ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .modal-content {
        padding: 1rem;
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
}

/* 固定CTAボタン */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.fixed-cta-phone,
.fixed-cta-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.fixed-cta-phone {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    animation: pulse 2s infinite;
}

.fixed-cta-contact {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: white;
}

.fixed-cta-phone:hover,
.fixed-cta-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.fixed-cta-icon {
    font-size: 1.3rem;
}

.fixed-cta-text {
    font-size: 0.95rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.8);
    }
}

/* ヘッダーの電話番号 */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
}

.phone-icon {
    font-size: 1.2rem;
}

.phone-number {
    white-space: nowrap;
}

/* モバイルメニューの電話CTA */
.mobile-phone-cta {
    display: block;
    text-align: center;
    padding: 15px;
    margin: 1rem;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.mobile-phone-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.mobile-phone-cta .phone-icon {
    margin-right: 8px;
    font-size: 1.3rem;
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
    .header-phone .phone-number {
        display: none;
    }
    
    .header-phone {
        padding: 8px 12px;
        margin-left: 0.5rem;
    }
    
    .fixed-cta {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .fixed-cta-phone,
    .fixed-cta-contact {
        padding: 10px 16px;
        gap: 6px;
    }
    
    .fixed-cta-text {
        font-size: 0.85rem;
    }
    
    .fixed-cta-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .fixed-cta {
        bottom: 10px;
        right: 10px;
    }
    
    .fixed-cta-phone,
    .fixed-cta-contact {
        padding: 8px 14px;
    }
    
    .fixed-cta-text {
        font-size: 0.8rem;
    }
}

