/* ========================================
   リセット & 基本設定
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    /* background-color: var(--color-contact-bg); */
    font-family: var(--font-ja);
    color: var(--color-text);
    line-height: var(--body-line-height-sp);
    letter-spacing: var(--body-letter-spacing);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: 100vh;                     /* 画面いっぱいまで背景を伸ばす */
}

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

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   CSS変数
======================================== */
:root {
    /* カラー - 青・新緑をイメージカラーに */
    --color-primary: #2E7BB5;        /* 清潔感のある青 */
    --color-secondary: #66C18E;      /* 爽やかな新緑 */
    --color-tertiary: #20a775;       /* ミントグリーン */
    
    /* サービス全般カテゴリ用グラデーションカラー（切り替え可能） */
    /* パターン1: 明るめ（元の色） */
    /* --color-gradient-primary: #2E7BB5;
    --color-gradient-secondary: #66C18E; */
    
    /* パターン2: 落ち着いた色（明度を5%下げたバージョン） */
    --color-gradient-primary: #2C75AC;
    --color-gradient-secondary: #61B787;
    
    --color-blue: #165ba0;
    --color-accent: #FFD54F;         /* アクセントイエロー */
    --color-line-green: #06C755;     /* LINE公式カラー */
    
    --color-text: #333333;
    --color-title: #4a4a4a;
    --color-white: #ffffff;
    --color-border: #E8E8E8;
    --color-gray: #6A6A6A;
    --color-dark-gray: #5E5E5E;
    --color-medium-gray: #898989;
    --color-light-gray: #F5F5F5;
    --color-lighter-gray: #FAFAFA;
    --color-light-blue-bg: #F0F7FF;
    --color-light-green-bg: #F0F9F5;
    
    /* セクション背景色 */
    --color-section-light-blue: #F0F7FF;
    --color-section-light-green: #F0F9F5;
    --color-section-darker-blue: #E0EFFF;
    --color-section-darker-green: #E0F3EC;
    --color-section-white: #ffffff;
    --color-contact-bg: #fafafa;
    --color-footer-bg: #ece9e8;

    --color-button-blue: #2667A0;
    --color-button-lightblue: #3A8FD9;

    --color-button-green: #5AAF7D;
    --color-button-lightgreen: #60B889;
    
    /* セクションディバイダーグラデーション */
    --gradient-divider-01: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-divider-02: linear-gradient(135deg, #3A8FD9 0%, #2E7BB5 50%, #2667A0 100%);
    --gradient-divider-03: linear-gradient(135deg, #5AAF7D 0%, #20a775 50%, #1A9666 100%);
    
    /* フォント */
    --font-ja: 'M PLUS Rounded 1c', 'Zen Maru Gothic', 'Noto Sans JP', 'Hiragino Sans', Meiryo, sans-serif;
    --font-en: 'Nunito', 'Inter', 'Arial', sans-serif;
    
    /* レイアウト */
    --header-height-sm: 92px;
    --header-height-md: 120px;
    --header-height-lg: 132px;
    --header-padding-sp: 1rem;
    --header-padding-pc: 1.25rem;
    --header-padding-lg: 2rem;
    --container-width-sp: 576px;
    --container-width-pc: 1280px;
    --section-content-width-sm: 576px;
    --section-content-width-md: 768px;
    --section-content-width-lg: 1024px;
    --section-content-width-exlg: 1280px;
    
    /* ボーダーラディウス */
    --border-radius-section: clamp(3.25rem, 6.5vw, 6rem);
    --border-radius-section-negative: clamp(-6rem, -6.5vw, -3.25rem);
    
    /* タイポグラフィ */
    --heading-line-height: 1.4;
    --heading-letter-spacing: 0.05em;
    
    --body-font-size-sp: 1.1rem;
    --body-font-size-pc: clamp(1.1rem, 2vw, 1.2rem);
    --body-line-height-sp: 1.8;
    --body-line-height-pc: 1.9;
    --body-letter-spacing: 0.05em;
    
    --section-title-en-sp: 0.75rem;
    --section-title-en-pc: 1rem;
    --section-title-ja-sp: 1.5rem;
    --section-title-ja-pc: 2.25rem;
    --section-title-letter-spacing-en: 0.08em;
    --section-title-letter-spacing-ja: 0.05em;
    
    --button-font-size-sp: 1rem;
    --button-font-size-pc: 1.1rem;
    --button-padding-sp: 1rem 2rem;
    --button-padding-pc: 1.2rem 2.25rem;
    --button-letter-spacing: 0.05em;
    --button-border-radius: 50px;
    
    /* スペーシング */
    --padding-sp: 4rem 1.25rem;
    --padding-pc: 6rem 2rem;
    --section-padding-top-sp: 4rem;
    --section-padding-bottom-sp: 4rem;
    --section-padding-top-pc: 4.5rem;
    --section-padding-bottom-pc: 4.5rem;
    --section-gap-sp: 2rem;
    --section-gap-pc: 3rem;
}

@media (min-width: 768px) {
    body {
        line-height: var(--body-line-height-pc);
    }
}

/* ========================================
   ヘッダー
======================================== */
.header {
    width: 100%;
    height: 92px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
    .header {
        height: 120px;
    }

}

@media (min-width: 1024px) {
    .header {
        height: 132px;
    }

}

.header-container {
    margin: 0 auto;
    padding-right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

@media (min-width: 768px) {
    .header-container {
        padding: 0 var(--header-padding-pc);
        padding-right: 0;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding: 0 var(--header-padding-pc);
    }
}

@media (min-width: 1200px) {
    .header-container {
        padding: 0 var(--header-padding-lg);
        max-width: 1920px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ロゴ */
.header-logo {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.9;
}

.header-logo img {
    height: 72%;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));

}

@media (min-width: 768px) {
    .header-logo img {
        max-height: 60%;
    }
}

@media (min-width: 1024px) {
    .header-logo img {
        max-height: 48%;
    }
}

@media (min-width: 1080px) {
    .header-logo img {
        max-height: 64%;
    }
}

@media (min-width: 1280px) {
    .header-logo img {
        max-height: 75%;
    }
}

@media (min-width: 1440px) {
    .header-logo img {
        max-height: 80%;
    }
}




/* ナビゲーション（PC） */
.header-nav {
    display: none;
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
        align-items: center;
        background: var(--color-white);
        height: 84px;
        border-radius: 50px;
        padding: 0.5rem 1.25rem 0.5rem 2rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-item a {

    display: none;

}

@media (min-width: 1024px) {
    .nav-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 0.75rem 0.5rem 0.875rem;
        color: var(--color-text);
        font-size: 0.875rem;
        font-weight: 400;
        letter-spacing: 0.05em;
        transition: color 0.3s ease;
        text-decoration: none;
        position: relative;
    }
}

@media (min-width: 1200px) {
    .nav-item a {
        padding: 0.5rem 1rem;
    }
}



.nav-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gray);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* ホバー時と現在ページでは色を変更 */
.nav-item a:hover::before,
.nav-item a.active::before {
    background: var(--color-primary);
}

/* color-shift-inクラスで色変化アニメーション開始 */
.nav-item a.color-shift-in::before {
    animation: colorShiftDot 0.4s ease-out forwards;
}

.nav-item a:hover {
    color: var(--color-primary);
}

.nav-ja {
    font-size: 0.915rem;
    font-family: var(--font-ja);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-title);
}

/* width1200px未満時は少し小さく */
@media (min-width: 1024px) and (max-width: 1199px) {
    .nav-ja {
        font-size: 0.85rem;
    }
}

.nav-en {
    font-size: 0.65rem;
    font-family: var(--font-en);
    font-weight: 400;
    color: var(--color-gray);
    letter-spacing: 0.08em;
    margin-top: 0.125rem;
}

/* width1200px未満時は少し小さく */
@media (min-width: 1024px) and (max-width: 1199px) {
    .nav-en {
        font-size: 0.6rem;
    }
}

/* お問い合わせボタン */
.nav-item--contact {
    margin-left: 0.5rem;
}

.nav-contact-btn {
    background: var(--color-button-green) !important; /* 暗めの緑 */
    color: var(--color-white) !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.nav-contact-btn i {
    font-size: 1.1rem;
}

.nav-contact-btn::before {
    display: none;
}

.nav-contact-btn:hover {
    background: var(--color-button-lightgreen) !important; /* 明るい緑 */
    transform: translateY(-2px);
}

.nav-contact-btn span {
    font-family: var(--font-ja);
}

/* SP・タブレット用ボタングループ / モバイルメニュー */
.header-mobile-buttons {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    
    /* 初期状態 */
    height: 64px;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    border-radius: 40px 0 0 40px;
    
    /* アニメーション */
    transition: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .header-mobile-buttons {
        padding: 0.5rem 1.5rem 0.5rem 0.75rem;
        height: 74px;
    }
}

@media (min-width: 1024px) {
    .header-mobile-buttons {
        display: none;
    }
}

/* 展開時のスタイル */
.header-mobile-buttons.is-open {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    z-index: 1200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 初期表示のボタングループ */
.header-buttons-initial {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .header-buttons-initial {
        gap: 1.25rem;
    }
}

/* 展開時はボタンを固定位置に */
.header-mobile-buttons.is-open .header-buttons-initial {
    position: fixed;
    top: 29px;
    right: 16px;
    width: auto;
    height: auto;
    z-index: 1300;
}

@media (min-width: 768px) {
    .header-mobile-buttons.is-open .header-buttons-initial {
        top: 31px;
        right: 24px;
    }
}

@media (min-width: 1024px) {
    .header-buttons-initial {
        display: none;
    }
}

/* SP・タブレット用お問い合わせボタン */
.header-contact-btn {
    display: none;
}

@media (min-width: 768px) {
    .header-contact-btn {
        background: #5AAF7D;
        color: var(--color-white);
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 50px;
        transition: background-color 0.3s ease, opacity 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        white-space: nowrap;
        text-decoration: none;
    }
}

@media (min-width: 768px) {
    .header-contact-btn:hover {
        background: #6BC999;
    }
}

@media (min-width: 768px) {
    .header-contact-btn i {
        font-size: 1.1rem;
    }
}

/* 展開時にお問い合わせボタンを非表示 */
.header-mobile-buttons.is-open .header-contact-btn {
    opacity: 0;
    pointer-events: none;
}

/* ハンバーガーメニュー（SP・TAB） */
.menu-toggle {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1300;
    padding: 0;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
    gap: 0.375rem;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle:hover {
    opacity: 0.8;
}

.hamburger-bar {
    width: 23px;
    height: 2px;
    background-color: var(--color-primary);
    display: block;
    transition: all 0.3s ease;
    border: none;
    margin: 0;
    padding: 0;
    border-radius: 2px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* 展開時：バツ印に変化 */
.header-mobile-buttons.is-open .hamburger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header-mobile-buttons.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.header-mobile-buttons.is-open .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-toggle-text {
    font-size: 0.625rem;
    font-family: var(--font-en);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: 0.125rem;
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .menu-toggle-text {
        font-size: 0.7rem;
    }
}

/* 展開時：MENUテキストを非表示にしてCLOSEを表示 */
.header-mobile-buttons.is-open .menu-toggle-text {
    font-size: 0;
}

.header-mobile-buttons.is-open .menu-toggle-text::before {
    content: 'CLOSE';
    font-size: 0.625rem;
}

@media (min-width: 768px) {
    .header-mobile-buttons.is-open .menu-toggle-text::before {
        font-size: 0.7rem;
    }
}

/* ヘッダーの透明部分はクリックイベントを透過（全ページ共通） */
.header {
    pointer-events: none;
}

/* ヘッダー内のクリック可能な要素には pointer-events を有効化 */
.header-logo,
.header-nav,
.header-mobile-buttons {
    pointer-events: auto; /* 必要な要素のみクリック可能に */
}

/* トップページヘッダー初期状態（透明背景） */
body.page-index .header {
    background: transparent;
}


/* ========================================
   ページヒーロー（共通スタイル）
======================================== */
.page-hero {
    position: relative;
    aspect-ratio: 2 / 1;
    margin-top: 92px;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: visible;
}

.page-hero::before {
    content: '';
    position: absolute;
    /* 位置の指定は今のままでOK */
    top: calc(92px * -1);
    left: 0;
    right: 0;
    bottom: calc(var(--border-radius-section) * -1);
    z-index: -1;

    background-image: 
        linear-gradient(
            to top, 
            rgba(0, 0, 0, 0.5) 0%,    /* 一番下は少し濃いめの70% */
            rgba(0, 0, 0, 0.25) 25%,   /* 20%の位置までしっかり影を残す */
            rgba(0, 0, 0, 0) 40%,     /* 35%くらいでほぼ透明に消し切る */
            transparent 100%
        ),
        var(--hero-bg-image);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 下側の黒いグラデーションオーバーレイ */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: calc(var(--border-radius-section) * -1);
    left: 0;
    right: 0;
    height: 40%;
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 568px) {
    .page-hero {
        min-height: 400px;
    }
}

@media (min-width: 768px) {
    .page-hero {
        max-height: 480px;
        margin-top: 120px;
    }

    .page-hero::before {
        top: calc( 120px * -1); /* 上部のマージン分まで拡張 */
    }
}

@media (min-width: 1024px) {
    .page-hero {
        max-height: 560px;
        margin-top: 132px;
    }
    .page-hero::before {
        top: calc( 132px * -1); /* 上部のマージン分まで拡張 */
    }
}

@media (min-width: 1200px) {
    .page-hero {
        max-height: 600px;
    }
}


.page-hero-container {
    width: 100%;
    padding: 0 1.25rem 3rem;
    text-align: left;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 375px) {
    .page-hero-container {
        padding: 0 1.25rem 3.25rem;
    }
}

@media (min-width: 576px) {
    .page-hero-container {
        padding: 0 1.25rem 3.5rem;
    }
}

@media (min-width: 768px) {
    .page-hero-container {
        padding: 0 2rem 4.375rem;
    }
}

@media (min-width: 1024px) {
    .page-hero-container {
        padding: 0 2rem 4.75rem;
    }
}

@media (min-width: 1200px) {
    .page-hero-container {
        padding: 0 2rem 5rem;
    }
}

.page-hero-title {
    color: var(--color-white);
    font-size: 1.8rem;
    font-family: var(--font-ja);
    font-weight: 500;
    letter-spacing: var(--section-title-letter-spacing-ja);
    line-height: 1.0;
    /* text-shadow: 
        0 2px 4px color-mix(in srgb, var(--color-primary) 50%, transparent),
        0 4px 8px color-mix(in srgb, var(--color-primary) 30%, transparent); */
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s; /* 1行目も少し遅延 */
}

@media (min-width: 375px) {
    .page-hero-title {
        font-size: 2rem;
    }
}

@media (min-width: 475px) {
    .page-hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 576px) {
    .page-hero-title {
        font-size: 2.875rem;
    }
}

@media (min-width: 768px) {
    .page-hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .page-hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1200px) {
    .page-hero-title {
        font-size: 4.5rem;
    }
}

/* ========================================
   固定問い合わせボタン（SP表示時のみ）
======================================== */
.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: stretch;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .fixed-contact-bar {
        display: none;
    }
}

.fixed-contact-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: var(--color-white);
}

.fixed-contact-item:active {
    opacity: 0.8;
}

/* 電話ボタン */
.fixed-contact-item--tel {
    background: var(--color-primary);
}

/* メールボタン */
.fixed-contact-item--mail {
    background: var(--color-white);
    color: var(--color-secondary);
}

/* LINEボタン */
.fixed-contact-item--line {
    background: var(--color-line-green);
}

.fixed-contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fixed-contact-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.3;
    white-space: nowrap;
    font-family: var(--font-en);
}

/* LINEボタンのテキストは2行表示 */
.fixed-contact-item--line .fixed-contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
    font-size: 0.7rem;
    line-height: 1.2;
    font-family: var(--font-ja);
}

/* ========================================
   固定問い合わせパネル（PC表示時のみ）
======================================== */
.fixed-contact-panel {
    display: none;
}

@media (min-width: 768px) {
    .fixed-contact-panel {
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        z-index: 1000;
        display: block;
    }
    
    .fixed-contact-panel-inner {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-end;
    }
    
    .fixed-contact-panel-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        overflow: hidden;
        background: var(--color-white);
        border-radius: 50px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        text-decoration: none;
        transition: max-width 0.3s ease, background-color 0.3s ease, padding-right 0.3s ease;
        max-width: 56px;
        height: 56px;
        padding-right: 0;
        position: relative;
    }
    
    .fixed-contact-panel-item:hover {
        max-width: 200px;
        padding-right: 1.25rem;
    }
    
    .fixed-contact-panel-item i {
        font-size: 1.5rem;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .fixed-contact-panel-item span {
        font-size: 0.95rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 1;
        flex-shrink: 0;
    }
    
    /* LINEボタン */
    .fixed-contact-panel-item--line {
        color: var(--color-white);
        background: var(--color-line-green);
    }
    
    .fixed-contact-panel-item--line:hover {
        background: #07D15A;
    }
}

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: var(--container-width-pc);
    margin: 0 auto;
    padding: 0 var(--header-padding-sp);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--header-padding-pc);
    }
}

/* ========================================
   セクション
======================================== */
.sections-wrapper {
    display: flex;
    flex-direction: column;
}

.section {
    width: 100%;
    position: relative;
}

.section-container {
    max-width: var(--section-content-width-sm);
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    /* ハウスクリーニングセクション（青背景） */
    .section-container {
        max-width: var(--section-content-width-md);
    }
}


@media (min-width: 1024px) {
    /* ハウスクリーニングセクション（青背景） */
    .section-container {
        max-width: var(--section-content-width-lg);
    }
    
}

@media (min-width: 1200px) {
    /* ハウスクリーニングセクション（青背景） */
    .section-container {
        max-width: var(--section-content-width-exlg);
        padding: 0 5rem;
    }
    
}

.section-inner {
    width: 100%;
}

@media (min-width: 768px) {
    .section-inner {
        margin: 0 auto;
        display: block;
        width: 83.3%;
        max-width: var(--container-width-pc);
    }
}

@media (min-width: 1024px) {
    .section-inner {
        display: flex;
    }

    .section-inner-left {
        flex-direction: row-reverse;
    }
}

.section-txt-contents {
    margin-top: -44px;
    width: 92.5%;
    z-index: 1;
    position: relative;
}

@media (min-width: 768px) {
    .section-txt-contents {
        margin-top: -56px;
    }
}

@media (min-width: 1024px) {
    .section-txt-contents {
        margin-top: 96px;
    }
}

.section-txt-contents-right {
    border-radius: 0 1.5rem 0 0;
    margin-right: 7.5%;
    background-color: var(--color-section-darker-blue);
    padding: 40px 7.5% 40px 7.5%;
}

.section-txt-contents-left {
    border-radius: 1.5rem 0 0 0;
    margin-left: 7.5%;
    background-color: var(--color-section-darker-green);
    padding: 40px 7.5% 40px 7.5%;
}

@media (min-width: 1024px) {
    .section-txt-contents-left {
        margin-left: -4%;
        padding: 56px 4% 56px 4%;
    }

    .section-txt-contents-right {
        margin-right: -4%;
        padding: 56px 4% 56px 4%;
    }
}

.section-image {
    width: 92.5%;
    overflow: hidden;
}

/* 左配置の画像コンテナは右下のみ角丸に */
.section-image-left {
    border-radius: 0 0 1.5rem 0;
}

/* 右配置の画像コンテナは左下のみ角丸に */
.section-image-right {
    border-radius: 0 0 0 1.5rem;
}

@media (min-width: 1024px) {
    .section-image {
        width: 100%;
    }
}

.section-image-right {
    margin-right: 7.5%;
}

.section-image-left {
    margin-left: 7.5%;
}

@media (min-width: 1024px) {
    .section-image-right {
        margin-right: 0;
    }
    
    .section-image-left {
        margin-left: 0;
    }
    
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;    
}

@media (min-width: 768px) {
    .section-image img {
        aspect-ratio: 2 / 1; 
    }
}

@media (min-width: 1024px) {
    .section-image img {
        aspect-ratio: 16 / 11; 
    }
}

/* 左配置の画像は右下のみ角丸に */
.section-image-left img {
    border-radius: 0 0 1.5rem 0 !important;
}

/* 右配置の画像は左下のみ角丸に */
.section-image-right img {
    border-radius: 0 0 0 1.5rem !important;
}






.section-title-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.section-title-wrapper--right {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    text-align: right;
}

/* 中央配置クラス */
.section-title-center {
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title-wrapper {
        margin-bottom: 2rem;
    }

    .section-title-wrapper--right {
        margin-bottom: 2rem;
    }
}

.section-title-en {
    color: var(--color-primary);
    font-size: var(--section-title-en-sp);
    font-family: var(--font-en);
    font-weight: 400;
    letter-spacing: var(--section-title-letter-spacing-en);
    position: relative;
    padding-left: 1rem;
}

.section-title-en--gr {
    color: var(--color-secondary);
    font-size: var(--section-title-en-sp);
    font-family: var(--font-en);
    font-weight: 400;
    letter-spacing: var(--section-title-letter-spacing-en);
    position: relative;
    padding-left: 1rem;

}
/* 左側に丸い装飾を追加 */
.section-title-en::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-56%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* 左側に丸い装飾を追加 */
.section-title-en--gr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-56%);
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .section-title-en {
        font-size: var(--section-title-en-pc);
    }
}

.section-title-ja {
    color: var(--color-title);
    font-size: var(--section-title-ja-sp);
    font-family: var(--font-ja);
    font-weight: 600;
    letter-spacing: var(--section-title-letter-spacing-ja);
}

@media (min-width: 768px) {
    .section-title-ja {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .section-title-ja {
        font-size: var(--section-title-ja-pc);
    }
    
}

.section-intro-content {
    text-align: left;
}

.section-intro-text {
    font-size: var(--body-font-size-sp);
    line-height: var(--body-line-height-sp);
    color: var(--color-text);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-intro-text {
        font-size: var(--body-font-size-pc);
        line-height: var(--body-line-height-pc);
        margin-bottom: 1.5rem;
    }
}

/* セクションフレーム（画像）のスタイル */
.section--framed {
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* フレーム画像用の疑似要素 */
.section--framed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    pointer-events: none;
    z-index: 1;
}

/* レスポンシブ対応：アスペクト比を保持 */
@media (max-width: 767px) {
    .section--framed::before {
        background-size: contain; /* アスペクト比保持 */
        /* または background-size: cover; で画面いっぱいに */
    }
}

/* セクション内コンテンツを前面に */
.section--framed .section-inner {
    position: relative;
    z-index: 2;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--button-padding-sp);
    font-size: var(--button-font-size-sp);
    font-weight: 500;
    text-align: center;
    border-radius: var(--button-border-radius);
    letter-spacing: var(--button-letter-spacing);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .btn {
        padding: var(--button-padding-pc);
        font-size: var(--button-font-size-pc);
    }
}

.btn span {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -25%;
    width: 150%;
    height: 100%;
    transform: skewX(-30deg) translateX(-100%);
    z-index: 1;
    transition: none;
}

/* ホバー開始時のアニメーション（左から右） */
.btn.hover-in::before {
    animation: slideInFromLeft 0.4s ease-out forwards;
}

/* ホバー終了時のアニメーション（右に流れる） */
.btn.hover-out::before {
    animation: slideOutToRight 0.4s ease-out forwards;
}

@keyframes slideInFromLeft {
    from {
        transform: skewX(-30deg) translateX(-100%);
    }
    to {
        transform: skewX(-30deg) translateX(0);
    }
}

@keyframes slideOutToRight {
    from {
        transform: skewX(-30deg) translateX(0);
    }
    to {
        transform: skewX(-30deg) translateX(100%);
    }
}

/* ナビゲーション疑似要素の色変化アニメーション */
@keyframes colorShiftDot {
    0% {
        background: var(--color-gray);
    }
    100% {
        background: var(--color-primary);
    }
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* プライマリーボタン（青） */
.btn-primary {
    background: var(--color-button-blue); /* 暗めの青 */
    color: var(--color-white);
}

.btn-primary::before {
    background: var(--color-button-lightblue); /* 明るい青 */
}

/* セカンダリーボタン（緑） */
.btn-secondary {
    background: #5AAF7D; /* 暗めの緑 */
    color: var(--color-white);
}

.btn-secondary::before {
    background: #7DD4A3; /* 明るい緑 */
}

/* アウトラインボタン */
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline::before {
    background: var(--color-primary);
}

.btn-outline:hover {
    color: var(--color-white);
}

/* ========================================
   お問い合わせセクション
======================================== */
.contact-section {
    padding: 3.5rem 1.25rem 7rem;
    background: var(--color-contact-bg);
    text-align: left;
    position: relative;
    border-radius: 0 var(--border-radius-section) 0 0;
    z-index: 6;
}

.page-company .contact-section {
    margin-top: -4rem;
}

.page-housecleaning .contact-section {
    margin-top: -4rem;
}

.page-metalwork .contact-section {
    margin-top: -4rem;

}

.page-faq .contact-section {
    margin-top: -4rem;

}

.page-contact .contact-section {
    margin-top: -4rem;

}

@media (min-width: 576px) {
    .contact-section {
        padding: 4.5rem 2rem 9rem;
    }
}

@media (min-width: 768px) {
    .contact-section {
        padding: 4.5rem 2rem 9rem;
    }
    .page-company .contact-section {
        margin-top: -4.5rem;
    }

    
    .page-housecleaning .contact-section {
        margin-top: -4.5rem;
    }
    
    .page-metalwork .contact-section {
        margin-top: -4.5rem;
    
    }
    
    .page-faq .contact-section {
        margin-top: -4.5rem;
    
    }
    
    .page-contact .contact-section {
        margin-top: -4.5rem;
    
    }
}

@media (min-width: 1024px) {
    .page-company .contact-section {
        margin-top: -6rem;
    }
    
    .page-housecleaning .contact-section {
        margin-top: -6rem;
    }
    
    .page-metalwork .contact-section {
        margin-top: -6rem;
    
    }
    
    .page-faq .contact-section {
        margin-top: -6rem;
    
    }
    
    .page-contact .contact-section {
        margin-top: -6rem;
    
    }
    
}

.contact-container {
    width: 100%;
    position: relative;
}


.contact-header {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-header {
        margin-bottom: 3rem;
    }
}

.contact-en {
    color: var(--color-primary);
    font-size: var(--section-title-en-sp);
    font-family: var(--font-en);
    font-weight: 400;
    letter-spacing: var(--section-title-letter-spacing-en);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .contact-en {
        font-size: var(--section-title-en-pc);
    }
}

.contact-ja {
    color: var(--color-text);
    font-size: var(--section-title-ja-sp);
    font-family: var(--font-ja);
    font-weight: 600;
    letter-spacing: var(--section-title-letter-spacing-ja);
}

@media (min-width: 768px) {
    .contact-ja {
        font-size: var(--section-title-ja-pc);
    }
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1.75rem;
        align-items: stretch; /* startからstretchに変更 */
    }
    
    /* 左上：テキスト */
    .contact-text-wrapper {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    
    /* 右上：電話カード */
    .contact-info-box.phone {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    
    /* 左下：メールカード */
    .contact-info-box.email {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    /* 右下：LINEカード */
    .contact-info-box.line {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

@media (min-width: 1024px) {
    .contact-content {
        gap: 2rem;
    }
}



.contact-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-text {
    color: var(--color-text);
    font-size: var(--body-font-size-sp);
    line-height: var(--body-line-height-sp);
    letter-spacing: var(--body-letter-spacing);
}

@media (min-width: 768px) {
    .contact-text {
        font-size: var(--body-font-size-pc);
        line-height: var(--body-line-height-pc);
    }
}

.contact-info-box {
    background: var(--color-white);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

/* 768px以上でサイズを大きく */
@media (min-width: 768px) {
    .contact-info-box {
        padding: 1.5rem;
        gap: 1rem;
    }
}

/* 1024px以上でさらに大きく */
@media (min-width: 1024px) {
    .contact-info-box {
        padding: 1.75rem;
        gap: 1.125rem;
    }
}

/* 電話ボックス */
.contact-info-box.phone {
    background: var(--color-button-blue); /* 暗めの青 */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-box.phone:hover {
    background: var(--color-button-lightblue); /* 少し明るい青 */
}

.contact-info-box.phone .contact-info-label-top,
.contact-info-box.phone .contact-info-value,
.contact-info-box.phone .contact-info-hours,
.contact-info-box.phone .contact-info-icon i {
    color: var(--color-white);
}

/* メールボックス */
.contact-info-box.email {
    background: #5AAF7D; /* 暗めの緑 */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-box.email:hover {
    background: #6BC999; /* 少し明るい緑 */
}

.contact-info-box.email .contact-info-label-top,
.contact-info-box.email .contact-info-link,
.contact-info-box.email .contact-info-icon i {
    color: var(--color-white);
}

/* LINEボックス */
.contact-info-box.line {
    background: #06C755; /* LINE公式カラー */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-box.line:hover {
    background: #07D15A; /* わずかに明るいLINE緑 */
}

.contact-info-box.line .contact-info-label-top,
.contact-info-box.line .contact-info-link,
.contact-info-box.line .contact-info-icon i {
    color: var(--color-white);
}

.contact-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.contact-info-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1024px以上で大きく */
@media (min-width: 1024px) {
    .contact-info-icon {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.contact-info-icon i {
    font-size: 1.5rem;
}

/* 1024px以上で大きく */
@media (min-width: 1024px) {
    .contact-info-icon i {
        font-size: 1.75rem;
    }
}

.contact-info-label-top {
    font-size: 0.95rem;
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}

/* 1024px以上で大きく */
@media (min-width: 1024px) {
    .contact-info-label-top {
        font-size: 1.25rem;
    }
}

.contact-info-value {
    font-size: 1.25rem;
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
}

/* 1024px以上で大きく */
@media (min-width: 1024px) {
    .contact-info-value {
        font-size: 1.625rem;
    }
}

.contact-info-hours {
    font-size: 0.8rem;
    font-family: var(--font-ja);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    opacity: 0.9;
}

/* 1024px以上で大きく */
@media (min-width: 1024px) {
    .contact-info-hours {
        font-size: 0.95rem;
    }
}

.contact-info-link {
    font-size: 0.95rem;
    font-family: var(--font-ja);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
}

/* 1024px以上で大きく */
@media (min-width: 1024px) {
    .contact-info-link {
        font-size: 1.125rem;
    }
}

.contact-info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* タブレットサイズ（768px~1023px）で改行を表示 */
.br-tablet {
    display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .br-tablet {
        display: inline;
    }
}

/* タブレットサイズで「・」を非表示 */
@media (min-width: 768px) and (max-width: 1023px) {
    .dot-separator {
        display: none;
    }
}

/* タブレットサイズでボックスの高さを揃える */
@media (min-width: 768px) and (max-width: 1023px) {
    .contact-info-box {
        min-height: 140px;
    }
}

/* ========================================
   フッター
======================================== */
.footer-wrapper {
    z-index: 4;
    position: relative;
}

.footer {
    background: var(--color-footer-bg);
    padding: 3.5rem 1.25rem 4.5rem;
    color: var(--color-text);
    overflow: hidden;
    border-radius: var(--border-radius-section) var(--border-radius-section) 0 0;
    margin-top: -3.5rem;
    z-index: 7;
    position: relative;
}


@media (min-width: 576px) {
    .footer {
        padding: 4.5rem 2rem 2rem;
    }
}

@media (min-width: 768px) {
    .footer {
        padding: 4.5rem 2rem 2rem;
        margin-top: -4.5rem;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        gap: 3rem;
    }
}

/* フッターロゴ */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    width: auto;
    
}


@media (min-width: 475px) {
    .footer-logo-image {
        height: 80px;
        
    }
    
}

@media (min-width: 576px) {
    .footer-logo-image {
        height: 88px;
        
    }
    
}

.footer-logo-image img {
    height: 100%;
    scale: 1.2;
    /* This tells the browser which property to animate and for how long */
    transition: opacity 0.3s ease-in-out;
}

.footer-logo-image img:hover {
    opacity: 0.9;
}

@media (min-width: 768px) {
    .footer-logo-image {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 104px;
        width: auto;
        
    }
    
    
}


/* フッターナビゲーション */
.footer-nav {
    width: 100%;
    padding: 1.25rem;
    border-radius: 0.75rem;
    /* background-color: var(--color-contact-bg); */
}

@media (min-width: 576px) {
    .footer-nav {
        padding: 1.75rem;
    }
}




@media (min-width: 768px) {
    .footer-nav {
        padding: 2rem 2rem;
    }
}

.footer-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-title);
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 1rem;
}

.footer-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* 店舗情報のタイトルの丸は緑色 */
.footer-info-section .footer-section-title::before {
    background: var(--color-secondary);
}

@media (min-width: 768px) {
    .footer-section-title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
}

.footer-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .footer-nav-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        max-width: var(--section-content-width-lg);
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .footer-nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.footer-nav-item {}

.footer-nav-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0.75rem;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-nav-text {
    position: relative;
    padding-left: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-nav-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gray);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

@media (min-width: 768px) {

    .footer-nav-text {
        padding-left: 1rem;
    }


    .footer-nav-link {
        align-items: flex-start;
    }


}

@media (min-width: 1200px) {
    .footer-nav-link {
        padding: 0.5rem 1rem;
    }
}

.footer-nav-link:hover {
    color: var(--color-primary);
}

/* ホバー時と現在ページでは疑似要素の色を変更 */
.footer-nav-link:hover .footer-nav-text::before,
.footer-nav-link.active .footer-nav-text::before {
    background: var(--color-primary);
}

/* color-shift-inクラスで色変化アニメーション開始 */
.footer-nav-link.color-shift-in .footer-nav-text::before {
    animation: colorShiftDot 0.4s ease-out forwards;
}

.footer-nav-ja {
    font-size: 0.915rem;
    font-family: var(--font-ja);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-title);
}

.footer-nav-en {
    font-size: 0.65rem;
    font-family: var(--font-en);
    font-weight: 400;
    color: var(--color-gray);
    letter-spacing: 0.08em;
    margin-top: 0.125rem;
}

/* 店舗情報セクション */
.footer-info-section {
    border-radius: 1rem;
    width: 100%;
    background-color: var(--color-contact-bg);
    padding: 1.25rem 1.25rem;
}

@media (min-width: 576px) {
    .footer-info-section {
        padding: 1.75rem;
    }
}




@media (min-width: 768px) {
    .footer-info-section {
        padding: 2rem 2rem;
    }
}

.footer-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    
}

@media (min-width: 768px) {
    .footer-info-wrapper {
        flex-direction: row;
        gap: 1.75rem;
        align-items: stretch;
        min-height: 300px;
    }
}

@media (min-width: 768px) {
    .footer-info-wrapper {
        gap: 2rem;
    }
}

/* 店舗情報テキスト */
.footer-info {
    padding: 1.25rem 1rem;
    background: #E8F5F0;
    border-radius: 0.75rem;
    border: 1px solid rgba(108, 173, 92, 0.15);
    
}

@media (min-width: 768px) {
    .footer-info {
        flex: 1;
        padding: 1.5rem 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.footer-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-details {
        justify-content: space-between;
        height: 100%;
        gap: 0;
    }
}

.footer-details p {
    color: #555555;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: var(--body-line-height-sp);
    letter-spacing: var(--body-letter-spacing);
}

.footer-label {
    color: var(--color-secondary);
    font-weight: 600;
}

@media (min-width: 768px) {
    .footer-details p {
        font-size: 0.975rem;
        line-height: var(--body-line-height-pc);
    }
}

/* Googleマップ */
.footer-map {
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
    border: 2px solid rgba(102, 193, 141, 0);
}

.footer-map:hover {
    border-color: rgba(102, 193, 141, 0.75);
}

@media (min-width: 768px) {
    .footer-map {
        flex: 1.12;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 0;
    border-radius: 0.5rem;
    display: block;
}

@media (min-width: 768px) {
    .footer-map iframe {
        min-height: 300px;
    }
}

/* フッターボトム */
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .footer-bottom {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

.footer-copyright {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .footer-copyright {
        font-size: 0.875rem;
    }
}

/* ========================================
   ユーティリティ
======================================== */
.sp-only {
    display: block;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .sp-only {
        display: none;
    }
    
    .pc-only {
        display: block;
    }
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

/* ========================================
   モバイルメニューコンテンツ
======================================== */
.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    padding-top: 5rem;
    
    /* 初期状態：非表示 */
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    /* 閉じるときは超高速で消える */
    transition: transform 0.2s ease 0.2s;
}

@media (min-width: 768px) {
    .mobile-menu-content {
        padding: 3rem 2rem;
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* 展開時：表示（遅延あり） */
.header-mobile-buttons.is-open .mobile-menu-content {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

/* ナビゲーション */
.mobile-menu-nav {
    width: 100%;
    max-width: 320px;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 高さ667px未満の時はコンパクトに */
@media (max-height: 667px) {
    .mobile-menu-list {
        gap: 0.375rem;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-list {
        gap: 0.25rem;
    }
}

.mobile-menu-item {}

.mobile-menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    position: relative;
    background: var(--color-contact-bg);
    border-radius: 8px;
}

@media (max-height: 667px) {
    .mobile-menu-link {
        padding: 0.625rem 1rem;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-link {
        padding: 0.5rem 0.875rem;
    }
}

/* 幅768px以上かつ高さ668px以上の時だけ大きく */
@media (min-width: 768px) and (min-height: 668px) {
    .mobile-menu-link {
        padding: 1.25rem 2rem;
    }
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gray);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

@media (max-height: 667px) {
    .mobile-menu-link::before {
        left: 1rem;
        width: 6px;
        height: 6px;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-link::before {
        left: 0.875rem;
        width: 5px;
        height: 5px;
    }
}

/* 幅768px以上かつ高さ668px以上の時だけ大きく */
@media (min-width: 768px) and (min-height: 668px) {
    .mobile-menu-link::before {
        left: 2rem;
    }
}

.mobile-menu-link:hover {
    color: var(--color-primary);
    background: var(--color-light-blue-bg);
}

/* ホバー時と現在ページでは疑似要素の色を変更 */
.mobile-menu-link:hover::before,
.mobile-menu-link.active::before {
    background: var(--color-primary);
}

/* color-shift-inクラスで色変化アニメーション開始 */
.mobile-menu-link.color-shift-in::before {
    animation: colorShiftDot 0.4s ease-out forwards;
}

.mobile-menu-ja {
    font-size: 1.125rem;
    font-family: var(--font-ja);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-title);
}

@media (max-height: 667px) {
    .mobile-menu-ja {
        font-size: 0.95rem;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-ja {
        font-size: 0.85rem;
    }
}

/* 幅768px以上かつ高さ668px以上の時だけ大きく */
@media (min-width: 768px) and (min-height: 668px) {
    .mobile-menu-ja {
        font-size: 1.25rem;
    }
}

.mobile-menu-en {
    font-size: 0.7rem;
    font-family: var(--font-en);
    font-weight: 400;
    color: var(--color-gray);
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

@media (max-height: 667px) {
    .mobile-menu-en {
        font-size: 0.6rem;
        margin-top: 0.125rem;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-en {
        font-size: 0.55rem;
        margin-top: 0.0625rem;
    }
}

/* 幅768px以上かつ高さ668px以上の時だけ大きく */
@media (min-width: 768px) and (min-height: 668px) {
    .mobile-menu-en {
        font-size: 0.75rem;
    }
}

/* お問い合わせボタン */
.mobile-menu-item--contact {
    margin-top: 1.5rem;
}

@media (max-height: 667px) {
    .mobile-menu-item--contact {
        margin-top: 0.75rem;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-item--contact {
        margin-top: 0.5rem;
    }
}

.mobile-menu-contact-btn {
    background: #5AAF7D !important;
    color: var(--color-white) !important;
    padding: 1.25rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
}

@media (max-height: 667px) {
    .mobile-menu-contact-btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
        gap: 0.5rem !important;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-contact-btn {
        padding: 0.625rem 1.125rem !important;
        font-size: 0.85rem !important;
        gap: 0.375rem !important;
    }
}

/* 幅768px以上かつ高さ668px以上の時だけ大きく */
@media (min-width: 768px) and (min-height: 668px) {
    .mobile-menu-contact-btn {
        padding: 1.5rem 2.5rem !important;
        font-size: 1.25rem !important;
    }
}

.mobile-menu-contact-btn i {
    font-size: 1.25rem;
}

@media (max-height: 667px) {
    .mobile-menu-contact-btn i {
        font-size: 1rem;
    }
}

/* 高さ480px未満の時はさらにコンパクトに */
@media (max-height: 480px) {
    .mobile-menu-contact-btn i {
        font-size: 0.875rem;
    }
}

/* 幅768px以上かつ高さ668px以上の時だけ大きく */
@media (min-width: 768px) and (min-height: 668px) {
    .mobile-menu-contact-btn i {
        font-size: 1.5rem;
    }
}

.mobile-menu-contact-btn::before {
    display: none;
}

.mobile-menu-contact-btn:hover {
    background: #6BC999 !important;
    transform: translateY(-2px);
}

.mobile-menu-contact-btn span {
    font-family: var(--font-ja);
}

/* ボディのスクロールロック - 無効化（背面スクロール可能に） */
/* body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
} */

/* ========================================
   テキストカラーユーティリティ
======================================== */
.text-primary {
    color: var(--color-primary);
}

.text-tertiary {
    color: var(--color-secondary);
}

/* スライドアップ＋フェードインアニメーション */
@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   セクション導入文
======================================== */
.section-intro-content {
    text-align: left;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-intro-content {
        text-align: center;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-intro-content {
        margin-bottom: 3rem;
    }
}

.section-intro-text {
    font-size: var(--body-font-size-sp);
    line-height: var(--body-line-height-sp);
    color: var(--color-text);
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-intro-text {
        font-size: var(--body-font-size-pc);
        line-height: var(--body-line-height-pc);
    }
}

/* ========================================
   セクションディバイダー（共通）
======================================== */

/* 基本スタイル */
.section-divider {
    width: 100%;
    position: relative;
    z-index: 0;
}

/* 青系グラデーション */
.section-divider--blue {
    height: 220px;
    background: linear-gradient(135deg, #56A1DF 0%, #428CC2 50%, #3378AF 100%);
    margin-top: -3.5rem;
    margin-bottom: -3.5rem;
}

@media (min-width: 768px) {
    .section-divider--blue {
        height: 300px;
        margin-top: -6.5rem;
        margin-bottom: -6.5rem;
    }
}

@media (min-width: 1024px) {
    .section-divider--blue {
        height: 360px;
    }
}

/* 緑系グラデーション */
.section-divider--green {
    height: 220px;
    background: linear-gradient(135deg, #6DB98E 0%, #38AF82 50%, #2DA170 100%);
    margin-top: -3.5rem;
    margin-bottom: -3.5rem;
}

@media (min-width: 768px) {
    .section-divider--green {
        height: 300px;
        margin-top: -6.5rem;
        margin-bottom: -6.5rem;
    }
}

@media (min-width: 1024px) {
    .section-divider--green {
        height: 360px;
    }
}

/* お問い合わせ手前のグラデーション */
.section-divider--contact {
    height: 220px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    margin-top: -3.5rem;
    margin-bottom: -3.5rem;
}

@media (min-width: 768px) {
    .section-divider--contact {
        height: 300px;
        margin-top: -6.5rem;
        margin-bottom: -5.5rem;
    }
}

@media (min-width: 1024px) {
    .section-divider--contact {
        height: 360px;
    }
}
