/*
Theme Name: Connect-heart-service
*/

@charset "UTF-8";

/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
}

body {
    line-height: 1.7;
    color: #3C3C3C;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

/* レイアウト */
/* =========================================
   トップページ (index.php) のスタイル
========================================= */

/* ヘッダー 
-------------------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px; 
    text-decoration: none;
}
.logo-img {
    width: 40px;
}
.name {
    color:#3C3C3C;
}

.nav ul {
    list-style: none;
    display: flex; 
    align-items: center; 
    gap: 30px;
}

/* 親要素(li)の設定：サブメニューの基準点にする */
.nav ul li {
    position: relative;
}

/* 1. まず、リスト全体（ul）にマウスが乗った時、すべての子要素（li）を薄くする */
.nav ul:hover li {
    opacity: 0.4; /* ここで「当たっていない文字」の薄さを調整 */
    transition: opacity 0.3s;
}

/* 2. 次に、今まさにマウスが当たっている要素（li）だけを「はっきり」させる */
.nav ul li:hover {
    opacity: 1;
}

/* リンク自体の設定 */
.nav a {
    text-decoration: none;
    color: #3C3C3C;
    display: block; /* 当たり判定を広げるため */
}

/* --- ドロップダウンメニューの基本設定 --- */
.dropdown-menu {
    display: block; /* 構造は維持 */
    position: absolute;
    top: 100%;      /* 「事業紹介」の真下に配置 */
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    background-color: rgba(255, 255, 255, 0.95); /* 背景をわずかに透過 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 180px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;           /* 通常は透明 */
    visibility: hidden;    /* かつ、クリック不可 */
    transition: all 0.3s ease;
    z-index: 100;
}
/* リンクが縦に並ぶように Flex を解除 */
.nav ul li .dropdown-menu {
    flex-direction: column;
    gap: 0;
}
/* サブメニュー内のリンクスタイル */
.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap; /* 改行防止 */
    color: #3C3C3C !important;
}
.dropdown-menu li a:hover {
    background-color: #f2fafa; /* ホバー時の背景色 */
}

/* --- ホバー時の動き --- */
/* 親(li)にホバーしたらサブメニューを表示 */
.nav ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0; /* ふわっと浮き上がる演出 */
}
/* サブメニューの中身をホバーしている時は、その親の文字も薄くならないようにします */
.nav ul:hover li.has-child:hover > a {
    opacity: 1;
}
/* ドロップダウン自体にマウスがある時、周りを薄くする効果を維持 */
.nav ul li .dropdown-menu:hover {
    opacity: 1;
}

/* ---------「事業紹介」自体をクリック不可にする設定------------- */
.has-child > a {
    pointer-events: none; /* クリックイベントを無効化 */
    cursor: default;      /* カーソルを指マークにしない */
}
/* 子メニュー（dropdown-menu）の中にあるリンクはクリックできるように戻す */
.dropdown-menu a {
    pointer-events: auto !important;
    cursor: pointer !important;
}
/* --- 既存の「他を薄くする」エフェクトとの整合性調整 --- */
/* 「事業紹介」にマウスが乗っている（＝子メニューを見ている）間、
   「事業紹介」という文字自体が薄くならないように固定します */
.nav ul li.has-child:hover > a {
    opacity: 1 !important;
}

/* 子メニューが表示されている間、親の文字色が変わらないように保持 */
.has-child:hover > a {
    color: #3C3C3C; 
}

/* --- PC用：ハンバーガーボタンを非表示にする --- */
.hamburger {
    display: none;
}

/* お問い合わせボタン
.btn-contact {
    border: 1px solid #3C3C3C;
    padding: 8px 20px;
    display: inline-block;
} */

/* ========================================
   1. オープニングアニメーション用スタイル
======================================== */

/* 
   共通のテキスト配置スタイル
   (オープニングとヒーローで全く同じにする)
*/
.common-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* 必要に応じて上下位置を微調整。ここでは完全中央 */
}

/* 会社名の共通スタイル */
.opening-company, .company-name {
    font-size: 3.5rem; /* サイズを統一 */
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 20px; /* キャッチコピーとの間隔 */
    transition: opacity 2.5s ease-out, filter 2.5s ease-out;
}

/* キャッチコピーの共通スタイル */
.opening-catchphrase, .catchphrase {
    font-family: "Zen Antique Soft", serif;
    font-size: 2.5rem; /* サイズを統一 */
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: opacity 2.5s ease-out, filter 2.5s ease-out;
}

/* --- オープニング画面専用 --- */
#opening-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #EFFCFA; /* オープニングの背景色（白） */
    background-image: url('images/home-background.jpeg'); /* ←ここにオープニング用静止画のパスを入れてください */
    background-size: cover;
    background-position: center;
    z-index: 9999; /* 一番手前に表示 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-in-out; /* フェードアウトを滑らかに */
}

.opening-company, .opening-catchphrase {
    color: #ffffff;
    opacity: 0;
    text-shadow: 0 3px 3px rgba(91,192,222,0.5);
    filter: blur(15px);
}

/* ヒーローセクション */
.hero {
    height: 100dvh;
    width: 100%;
    position: relative;
    overflow: hidden; /* 画像がズームした時にはみ出ないようにする */
}
.hero::after {
    content: ""; /* 疑似要素に必須 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 黒色の半透明（不透明度50%）。ここを調整して暗さを変えます */
    background-color: rgba(0, 0, 0, 0.05); 
    z-index: 1; /* 画像(z-index:0)の上、テキスト(z-index:2)の下に配置 */
}
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* 背景画像を入れるコンテナ */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* テキストの裏側に配置 */
    overflow: hidden;
}
/* 各スライド画像の基本スタイル */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    opacity: 0;
    transform: scale(1); /* 初期サイズ */
    transition: opacity 2s ease-in-out; 
}
/* アクティブな画像のスタイル（表示＆ズーム） */
.slide.active {
    opacity: 1;
    transform: scale(1.15);
    transition: opacity 2s ease-in-out, transform 10s linear;
}
.slide.prev {
    opacity: 0; /* 透明にしていく */
    transform: scale(1.15); /* ズームの目標は1.15倍のまま維持！ */
    transition: opacity 2s ease-in-out, transform 10s linear;
}
.company-name, .catchphrase {
    color: #fff;
    text-shadow: 0 3px 3px rgba(91,192,222,0.5); 
    opacity: 0;
}
/* 背景が表示された時に文字を白く浮き上がらせるクラス */
.text-reveal {
    opacity: 1 !important;
    transition: opacity 2s ease-in-out;
}
/* JSで付与する「表示」と「非表示」のクラス */
.fade-in {
    opacity: 1;
    filter: blur(0); /* ぼかしを無くして鮮明に */
}
#opening-screen.fade-out {
    opacity: 0;
    pointer-events: none; /* 透明になった後、裏側のボタン等を押せるようにする */
}

/* Aboutセクション
-------------------------------------------------------------*/
.about {
    background-color: #EFFCFA; /* 画像に近い淡い背景色 */
    padding: 100px 50px; /* 上下の余白 */
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.container {
    max-width: 90%;
    margin: 0 auto;
    width: 100%;
}

/* メイン見出し */
.section-title {
    font-family: "Yu Mincho", serif;
    font-size: 3rem;
    margin-bottom: 5px;
}

/* 英語サブタイトル */
.section-subtitle {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 40px;
    color: #888;
}

/* tagline */
.tagline {
    font-size: 2rem;
    margin-bottom: 60px;
}

/* 説明文 */
.about-text {
    /* font-size: 16px; */
    line-height: 1.8;
    margin-bottom: 50px;
}

/* 角丸ボタン */
.btn-more {
    display: inline-block;
    text-decoration: none;
    color: #3C3C3C;
    font-size: 16px;
    border: 1px solid;
    padding: 20px 60px;
    border-radius: 50px; /* 楕円形の丸み */
    transition: all 0.3s ease;
    background-color: transparent;
}

/* ボタンのホバー演出 */
.btn-more:hover {
    background-color: #3C3C3C;
    color: #fff;
}

/* 事業紹介セクション
-------------------------------------------- */
.service {
    background-color: #DFF4F8;
    padding: 100px 50px
}

/* キャッチコピー　*/
.tagline {
    font-size: 2rem;
    margin-bottom: 60px;
}

/* カードの並び（横並び） */
.service-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

/* サービスカード共通設定 */
.service-card {
    flex: 1; 
    height: 400px; 
    position: relative; 
    border-radius: 4px; 
    overflow: hidden; 
    background-color: #fff; 
    display: block; /* リンクをブロック要素にする */
    text-decoration: none; /* リンクの下線を消す */
    color: inherit; /* 文字色を継承（白のままにする） */
    cursor: pointer; /* マウスを乗せた時に指マークにする */
    transition: transform 0.3s ease; /* カード全体の動きを滑らかに */
}

/* --- 画像のみの透明度を設定するための疑似要素 --- */
.service-card::before {
    content: ''; /* 疑似要素に必須 */
    position: absolute; /* */
    top: 0; /* */
    left: 0; /* */
    width: 100%; /* */
    height: 100%; /* */
    background-size: cover; /* */
    background-position: center; /* */
    z-index: 1; /* オーバーレイより下に配置 */
    
    /* ★ここで画像のみの透明度を設定します★ */
    opacity: 0.8; /* 50%の透明度（例） */
    
    transition: opacity 0.3s ease; /* ホバー時のアニメーション */
}

/* ホバー時の演出（少し浮き上がらせるなど） */
.service-card:hover {
    transform: translateY(-5px); /* 5px上に持ち上げる */
}
.service-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.35); 
}

/*背景画像の設定 */
.house-cleaning::before {
    background-image: url(images/house-cleaning.jpeg);
    background-color: #ccc;
}
.facial-care::before {
    background-image: url(images/facial-care.jpeg);
    background-color: #bbb;
}

/* --- カード内オーバーレイ --- */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* 縦並び */
    justify-content: flex-end; /* 下揃え */
    align-items: left; /* 横中央揃え */
    padding: 30px; /* カード端からの余白 */
    color: #fff;
    text-align: left;
    z-index: 2;
    background: rgba(0, 0, 0, 0.20);
}

/* --- タイトルグループ (中央配置のための設定) --- */
.card-title-group {
    position: absolute;
    top: 50%; /* 親要素(overlay)の中央へ */
    left: 0;
    width: 100%;
    padding: 0 20px;
    transform: translateY(-40%);
    transition: all 0.3s ease;
}
/* 英語サブタイトル */
.card-subtitle-en {
    font-size: 20px;
    margin-bottom: 0px;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* 日本語タイトル (大きく、太く) */
.card-title-ja {
    font-size: 2.0rem; /* 大きく設定 */
    font-weight: 600;
    margin-bottom: 0; /* 下テキストとの間隔は、テキスト側のmarginで調整 */
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
/* --- 説明テキスト (下配置のための設定) --- */
.card-text {
    line-height: 1.6;
    margin-top: 0; /* タイトルグループの下端から */
    margin-bottom: 0; /* overlayのpaddingで下端調整 */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* ========================================
   スクロール時のフェードアップアニメーション
======================================== */
/* 初期状態：見えない状態にしておく */
.fade-up {
    opacity: 0;
    visibility: hidden;
}

/* JSで is-visible クラスが付与されたらアニメーション実行 */
.fade-up.is-visible {
    visibility: visible;
    animation: fadeUpAnim 1.5s ease-out forwards;
}
/* 2つ目の要素などを少し遅らせるためのクラス */
.fade-up.fade-delay1.is-visible {
    animation-delay: 0.4s; /* 0.4秒遅れて開始 */
}
/* 2つ目の要素などを少し遅らせるためのクラス */
.fade-up.fade-delay2.is-visible {
    animation-delay: 0.8s; /* 0.8秒遅れて開始 */
}

/* 下からフワッと上がる動きの定義 */
@keyframes fadeUpAnim {
    0% {
        opacity: 0;
        transform: translateY(40px); /* 30px下からスタート */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* 元の位置へ */
    }
}

/* ニュースセクション
-------------------------------------------- */
.news {
    background-color: #FFFFFF;
    padding: 100px 50px;
}

/* ---- News List ---- */
.news-list {
    list-style: none;
    border-top: 2px solid #D7D7CF;
}
.news-item {
    border-bottom: 2px solid #D7D7CF;
    transition: background 0.2s ease;
}
/* .news-item:first-child {
    border-top: 2px solid var(--border);
} */
.news-item a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease;
}
.news-item a:hover {
    background: rgba(239,252,250,0.6);
}
.news-item a:hover .arrow {
    transform: translateX(4px);
}
.arrow {
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    width: 16px;
}
.news-body {
    flex: 1;
    min-width: 0;
}
.news-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: rgb(78,78,78);
    margin-bottom: 3px;
}
.news-date {
    font-size: 0.8rem;
    color: rgb(78,78,78);
    margin-bottom: 15px;
    letter-spacing: 0.04em;
}
.news-tag {
    display: inline-block;
    background-color: #DFF4F8;
    /* background: var(--tag-bg);
    color: var(--tag-text); */
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 0.04em;
}
.news-thumb {
    width: 140px;
    height: 90px;
    /* background: var(--img-placeholder); */
    background-color: #d9d9d9;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Button ---- */
.news-footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* フッター
-------------------------------------------- */
.footer {
    background-color: #fff;
    padding: 80px 50px 40px;
}
.footer .container {
    max-width: 1200;
    margin: 0 auto;
}

/* 上部レイアウト（3カラム） */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}

/* 左：ブランドエリア */
.footer-brand {
    /* ★変更：幅の設定を少し柔軟に */
    flex: 1 1 300px; /* 伸びる、縮む、ベース幅300px */
    max-width: 400px; /* 広がりすぎないように */
}
.footer-brand .logo {
    margin-bottom: 25px;
}
.footer-brand .tagline {
    font-size: 12px;
}
.footer-brand .logo a {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: left; /* 以前の指示（中央配置）を維持 */
    gap: 12px; /* ロゴ画像と会社名テキストの間隔 */
    text-decoration: none; /* リンクの下線を消す */
    color: inherit; /* 文字色を親から継承 */
    font-size: 20px; /* 画像の大きさに合わせて調整 */
    font-weight: 700; /* 太字 */
    color: #3C3C3C; /* ヘッダーの文字色と合わせる */
    letter-spacing: 0.05em; /* 文字間隔を少し広げて上品に */
    white-space: normal;
}
.footer-brand .logo img {
    width: auto; /* 元の画像の横幅を活かす */
    height: 40px; /* ヘッダーのロゴと同じ高さに、または画像に合わせて調整 */
    display: block;
}
.footer-brand .tagline {
    font-size: 14px;
    color: #666;
    margin: 0; /* デフォルトの余白をリセット */
}

/* 中央：ナビゲーション */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.nav-group a, .nav-header {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: baseline;
    gap: 15px;
}
.nav-ja {
    font-size: 20px;
    font-weight: bold;
}
.nav-en {
    font-size: 13px;
    color: #888;
}
.nav-sub {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
}
.nav-sub li {
    margin-bottom: 8px;
}
.nav-sub a {
    font-size: 13px;
    color: #666;
    transition: color 0.3s;
}
.nav-sub a:hover {
    color: #333;
}

/* 右：お問い合わせボタン */
.btn-contact-large {
    background-color: #DFF4F8; 
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 100px;
    transition: background-color 0.3s;
    width: 300px;
}

.btn-contact-large:hover {
    background-color: #d1ecf1;
}

.btn-contact-large .btn-ja {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}
.btn-contact-large .btn-en {
    font-size: 12px;
}

/* 区切り線 */
.footer-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin-bottom: 30px;
}

/* 下部：コピーライトとリンク */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright {
    font-size: 12px;
    color: #888;
}
.legal-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.legal-links a {
    font-size: 12px;
    color: #666;
    text-decoration: underline;
    transition: color 0.3s;
}
.legal-links a:hover {
    color: #333;
}

/* --- 下層ページヒーローセクション --- */
/* =========================================
   私たちのついてページ (who-we-are.php) のスタイル
========================================= */
.sub-hero {
    height: 60vh; /* メインより少し低めに設定 */
    width: 100%;
    background-image: url('images/who-we-are-top.jpeg'); /* 空の画像パス */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* 背景が明るすぎる場合に備えて薄いレイヤーを重ねる */
.sub-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.sub-hero-content {
    position: relative;
    z-index: 2;
}
.sub-hero-title {
    color: #333;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}
.sub-hero-subtitle {
    font-size: 1.0rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* --- 紹介メッセージセクション --- */
.intro-message {
    background-color: #F6F6F4; /* 明るいグレー背景 */
    padding: 120px 50px;       /* 上下に広めの余白 */
    /* color: #333; */
}

.intro-message .container {
    max-width: 1200px; /* 文章が読みやすい幅に制限 */
    margin: 0 auto;
}

/* タイトル部分 */
.intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    color: #3C3C3C;
}

/* 本文エリア */
.intro-body {
    line-height: 2; /* 行間を広げてゆったりと */
}

.intro-body p {
    font-size: 18px;
    margin-bottom: 30px; /* 段落間の余白 */
}

.intro-body p:last-child {
    margin-bottom: 0;
}

/* --- 下層ページ共通：小サイズコンテナ --- */
.container-small {
    max-width: 1200px;
    background-color: #F6F6F4;
    margin: 0 auto;
    width: 100%;
}

.section-massage {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #3C3C3C;
}

/* --- コンセプトセクション --- */
.concept {
    padding: 100px 50px;
    background-color: #F6F6F4;
}

/* --- こんなお悩み --- */
.worries {
    padding: 100px 50px;
    background-color: #F6F6F4;
}
.worry-category {
    margin-bottom: 30px;
}
.worry-category h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.worry-category ul {
    list-style: none; /* デフォルトの黒丸を消す */
    padding-left: 0;
    margin: 0;
}
.worry-category li {
    position: relative;
    padding-left: 1.2em; /* 「・」の分の余白を空ける */
    margin-bottom: 10px;
}
/* リストの先頭に「・」を自動で付ける設定 */
.worry-category li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}
.worry-conclusion {
    text-align: left;
    font-size: 1.1rem;
    margin-top: 40px;
    margin-bottom: 0;
}

/* --- 私たちができることセクション --- */
.capabilities {
    padding: 100px 50px;
    background-color: #F6F6F4;
}

/* --- 事業内容セクション --- */
.about-services {
    padding: 100px 50px;
    background-color: #F6F6F4;
}

/* 小見出しスタイル */
.sub-section-title {
    font-size: 1.00rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #3C3C3C;
}

/* 本文テキストスタイル */
.concept-content p {
    font-size: 18px;
    line-height: 2.2; /* 行間を広めに設定して可読性を高める */
    color: #3C3C3C;
    margin-bottom: 2rem;
}

.concept-content p:last-child {
    margin-bottom: 0;
}

.services-concept{
    margin-bottom: 40px;
}

/* --- 事業情報セクション --- */
.business-info {
    background-color: #F6F6F4; /* 前のセクションと同じ薄グレー */
    padding: 100px 50px; 
}
/* テーブルスタイル */
.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    margin-bottom: 80px; /* マップとの間隔 */
    border: 1px solid #ddd;
}
.info-table th, .info-table td {
    padding: 20px 25px;
    border: 1px solid #ddd;
    font-size: 15px;
    text-align: left;
}
/* 左側の見出し列 */
.info-table th {
    background-color: #ededed;
    width: 25%;
    font-weight: 600;
    color: #3C3C3C;
}
/* 右側のデータ列 */
.info-table td {
    color: #555;
    line-height: 1.6;
}
/* 赤文字の注釈 */
.note-red {
    color: #d9534f;
    font-size: 13px;
    margin-left: 15px;
    font-weight: 500;
}
/* マップエリア */
.map-container {
    width: 100%;
    height: 450px;
    filter: grayscale(20%); /* サイトの雰囲気に合わせて少しだけ色を抑える（任意） */
}
#who-we-are .fade-in {
    opacity: 0;
}

/* =========================================
   ハウスクリーニングページ (house-cleaning.php) のスタイル
========================================= */
/* --- ヒーローセクション --- */
.house-cleaning-hero {
    height: 60vh; /* メインより少し低めに設定 */
    width: 100%;
    background-image: url('images/house-cleaning.jpeg'); /* 空の画像パス */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
/* 背景が明るすぎる場合に備えて薄いレイヤーを重ねる */
.house-cleaning-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
/* --- 導入メッセージセクション --- */
.service-intro {
    padding: 100px 50px;
    background-color: #F6F6F4; /* 薄いグレー背景 */
}
.service-intro .container {
    max-width: 1200px;
    margin: 0 auto;
}
.intro-heading {
    font-size: 2.0rem;
    line-height: 1.4;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 40px;
    max-width: 1000px;
}
.intro-text {
    font-size: 18px;
    line-height: 2;
    color: #3C3C3C;
    text-align: justify; /* 両端揃えで美しく */
    max-width: 1000px;
}
/* --- 選ばれるポイントセクション --- */
.points {
    padding: 100px 50px;
    background-color: #F6F6F4; /* 薄いグレー背景 */
}
.points .container {
    max-width: 1200px;
    margin: 0 auto;
}
.points-main-title {
    font-size: 2.0rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 60px;
}
/* 各ポイントの白いカード */
.point-card {
    background-color: #fff;
    /* max-width: 1200px; */
    margin: 0 0 30px; /* カード同士の間隔 */
    padding: 50px 60px;
    border-radius: 12px;
    overflow: hidden;
    text-align: left; /* テキストは左寄せ */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* 非常に軽い影 */
}
/* カード内の見出し（水色） */
.point-title {
    color: #5bc0de; /* 爽やかな水色 */
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.point-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}
/* セクション下部の締めの一文 */
.points-footer-text {
    margin-top: 60px;
    font-size: 1.2rem;
    color: #3C3C3C;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* --- お困りごと解決セクション --- */
.problems-solutions {
    background-color: #F6F6F4; /* 白背景でスッキリと */
    padding: 100px 50px;
}
.problems-solutions .container {
    max-width: 1200px;
    margin: 0 auto;
}
/* タイトル周り */
.section-header-center {
    margin-bottom: 60px;
}
.problems-solutions .main-title {
    font-size: 2.0rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 20px;
}
/* スライドの青い帯を上品な水色の角丸背景で表現 */
.problems-solutions .sub-message {
    display: inline-block;
    background-color: #5bc0de;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(91, 192, 222, 0.3);
}

/* --- リストアイテムのレイアウト --- */
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 各項目の間隔 */
}
.solution-item {
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
/* 左側：お困りごと */
.problem-box {
    flex: 1;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-right: none;
    border-radius: 12px 0 0 12px;
}
.target-title {
    font-size: 1.2rem;
    color: #3C3C3C;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* 数字の装飾 */
.target-title .num {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    /* background-color: #5bc0de; */
    /* color: #fff; */
    font-size: 1.2rem;
    border-radius: 50%;
}
.problem-text {
    font-size: 15px;
    color: #666;
    margin-left: 38px; /* 数字の幅分だけ字下げ */
}
/* 右側：解決策 */
.answer-box {
    flex: 1;
    background-color: #e0f4f8; /* フッターのボタンと同じ淡い水色 */
    padding: 30px;
    display: flex;
    align-items: center;
    position: relative;
}
/* 左から右への矢印（三角）をCSSで作る */
.answer-box::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #e0f4f8; /* 背景色と同じ色 */
}
.answer-text {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
}

/* --- お掃除メニューセクション --- */
.cleaning-menu-section {
    background-color: #F6F6F4; 
    padding: 100px 50px;
}
.cleaning-menu-section .container {
    max-width: 1200px;
    margin: 0 auto;
}
.menu-main-title {
    font-size: 2rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 50px;
}
/* PDFリンクボタン */
.pdf-link-container {
    text-align: left; 
    margin-bottom: 40px; 
}
.btn-pdf-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background-color: #e0f4f8; /* ボタンの背景色（白） */
    color: #3C3C3C; /* 文字色 */
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 50px; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 170, 190, 0.25);
    position: relative;
    overflow: hidden;
}
.btn-pdf-link:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(100, 170, 190, 0.4);
    background-color: #e0f4f8; 
}
.btn-pdf-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite; /* 3.5秒に1回光る */
}
/* PDFアイコン（擬似要素で簡単なアイコンを作成する場合） */
/* .btn-pdf-link .icon-pdf {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"%3E%3Cpath d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9.5 8.5c0 .8-.7 1.5-1.5 1.5H7v2H5.5V9H8c.8 0 1.5.7 1.5 1.5v1zm5 2c0 .8-.7 1.5-1.5 1.5h-2.5V9H13c.8 0 1.5.7 1.5 1.5v3zm4-3H17v1h1.5v1.5H17v2h-1.5V9h3v1.5zM7 10.5h1v1H7v-1zm6 0h1v3h-1v-3z"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
} */

/* カテゴリ帯（水色） */
.category-title {
    background-color: #e0f4f8; /* 淡い水色 */
    color: #3C3C3C;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 5px 20px;
    margin-bottom: 30px;
}
/* メニューカードのレイアウト（Flexbox） */
.menu-card {
    display: flex;
    background-color: #ffffff;
    margin-bottom: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); /* 軽い影 */
    height: 300px;

    text-decoration: none;
    color: inherit; 
    cursor: pointer; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.menu-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
}
.menu-card:focus,
.menu-card:target {
    outline: none;
}
.menu-card {
    scroll-margin-top: 100px; /* ヘッダーの高さに合わせて数値を調整してください */
}
/* 左側の画像エリア */
.menu-image {
    width: 35%; /* 全体の35%を画像に割り当て */
    overflow: hidden;
}
.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の縦横比を保ちつつ枠を埋める */
    display: block;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-image img {
    transform: scale(1.05);
}
/* 右側のテキストエリア */
.menu-info {
    width: 65%; /* 全体の65%をテキストに割り当て */
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向の中央寄せ */
}
.menu-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 15px;
}
.menu-price {
    font-size: 16px;
    color: #3C3C3C;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 600;
}
.menu-price del {
    text-decoration-color: #e60000; /* 取り消し線の色を赤にする */
    color: #666; /* 文字色は少し薄くすると分かりやすい */
}
/* キャンペーン料金のスタイル（赤字、太字） */
.menu-price .campaign-price {
    color: #e60000;
    font-weight: bold;
    margin-left: 10px; /* 元の料金との隙間 */
}
/* お見積りなどの注釈文字色 */
.menu-price.note {
    color: #666;
    font-weight: normal;
}
.menu-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* =========================================
   フェイシャルケアページ (facial-care.php) のスタイル
========================================= */
/* --- フェイシャルケアページヒーローセクション --- */
.facial-care-hero {
    height: 60vh; /* メインより少し低めに設定 */
    width: 100%;
    background-image: url('images/facial-care.jpeg'); /* 空の画像パス */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
/* 背景が明るすぎる場合に備えて薄いレイヤーを重ねる */
.house-cleaning-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
/* --- 制作中画面のレイアウト --- */
.under-construction {
    display: flex;
    justify-content: center;
    align-items: center;
    /* ヘッダーがある場合は 100vh からヘッダーの高さを引くなど調整してください */
    min-height: 70vh; 
    background-color: #f7f9fa; /* うっすらグレーの背景 */
    text-align: center;
    padding: 40px 20px;
}
.uc-content {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 軽い影で浮かせる */
    max-width: 500px;
    width: 100%;
}
.uc-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.uc-title {
    font-size: 1.5rem;
    color: #3C3C3C;
    margin-bottom: 15px;
    font-weight: bold;
}
.uc-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
/* 戻るボタン */
.uc-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3C3C3C;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px; /* 丸みのあるボタン */
    font-size: 14px;
    transition: opacity 0.3s ease;
}
.uc-btn:hover {
    opacity: 0.7;
}

/* =========================================
   クリーニングメニュー詳細ページ のスタイル
========================================= */
.house-cleaning-detail-hero {
    height: 60vh; /* メインより少し低めに設定 */
    width: 100%;
    background-image: url('images/house-cleaning-menu.jpeg'); /* 空の画像パス */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* 背景が明るすぎる場合に備えて薄いレイヤーを重ねる */
.house-cleaning-detail-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* --- メニュー詳細ページ用 共通背景 --- */
.bg-light-gray {
    background-color: #F6F6F4; /* 全体の背景を薄いグレーに */
}
/* --- メインコンテンツエリア --- */
.detail-page-section {
    padding: 120px 20px 80px; /* ヘッダー分の余白を上にとる */
    background-color: #F6F6F4;
}
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff; /* コンテンツ部分は白背景 */
    padding: 60px 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
/* タイトル帯 */
.detail-main-title {
    background-color: #e0f4f8; /* 淡い水色 */
    color: #3C3C3C;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 5px 20px;
    margin-bottom: 30px;
}
/* 導入エリア（画像とテキスト） */
.detail-intro {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}
.detail-intro-image {
    flex: 0 0 40%; /* 画像の幅を40%に固定 */
}
.detail-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}
.detail-intro-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
    color: #3C3C3C;
}
/* メッセージボックス（角丸グレー） */
.detail-message-box {
    background-color: #f9f9f9;
    border-radius: 100px; /* 大きめの角丸（楕円形） */
    padding: 40px 50px;
    margin-bottom: 60px;
}
.message-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #3C3C3C;
}
.message-text {
    font-size: 18px;
    line-height: 1.8;
    color: #3C3C3C;
}
/* --- 各情報ブロックと見出し --- */
.detail-info-block {
    margin-bottom: 50px;
}
/* 見出し（右に線が伸びるデザイン） */
.detail-heading {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3C3C3C;
    margin-bottom: 20px;
}
/* 見出しの右側の横線 */
.detail-heading::after {
    content: "";
    flex-grow: 1; /* 残りの幅をすべて埋める */
    height: 1px;
    background-color: #666;
    margin-left: 15px;
}
.detail-info-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #3C3C3C;
    margin-bottom: 5px;
}
.detail-info-content del {
    text-decoration-color: #e60000; /* 取り消し線の色を赤にする */
    color: #666; /* 文字色は少し薄くすると分かりやすい */
}
/* キャンペーン料金のスタイル（赤字、太字） */
.detail-info-content .campaign-price {
    color: #e60000;
    font-weight: bold;
    margin-left: 10px; /* 元の料金との隙間 */
}
/* ちょっとした余白調整用クラス */
.mt-2 {
    margin-top: 15px;
}
/* --- 比較画像 (Before / After) --- */
.compare-gallery {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
}
.compare-block {
    flex: 1; /* 横並び時に均等幅にする */
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: center;    /* 中央寄せ */
}
.compare-set {
    display: flex;
    flex: 1;
    gap: 3px; /* BeforeとAfterの間の隙間 */
}
.compare-item {
    position: relative; /* 文字を上に重ねるための基準 */
    flex: 1;
    overflow: hidden;
    display: flex;
}
.compare-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.compare-label {
    position: absolute;
    top: 10px;
    left: 15px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* 白文字を読みやすくする影 */
    letter-spacing: 0.05em;
}
/* .compare-sub-title {
    font-size: 15px;
    font-weight: 600;
    color: #3C3C3C;
    text-align: center;
} */
.compare-sub-title {
    display: inline-block;
    /* width: 250px;
    text-align: center; */
    background-color: #5bc0de;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 3px 30px;
    border-radius: 30px;
    letter-spacing: 0.05em;
    /* box-shadow: 0 4px 10px rgba(91, 192, 222, 0.3); */
    margin-bottom: 3px;
}
/* --- 一覧へ戻るボタン --- */
.back-to-menu-wrapper {
    text-align: center;
    margin-top: 80px; /* 上の要素との余白 */
    padding-top: 40px;
    border-top: 1px solid #eeeeee; /* 区切り線でスッキリさせる */
}
.btn-back-menu {
    display: inline-block;
    padding: 15px 50px;
    background-color: #ffffff;
    color: #3C3C3C;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cccccc;
    border-radius: 40px; /* 角丸で優しい印象に */
    transition: all 0.3s ease; /* ホバー時のフワッとした動き */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.btn-back-menu:hover {
    background-color: #f5f5f5;
    border-color: #999999;
    opacity: 0.8;
}

/* =========================================
   ニュースページ (news.php) のスタイル
========================================= */
/* --- ニュースページヒーローセクション --- */
.news-hero {
    height: 60vh; /* メインより少し低めに設定 */
    width: 100%;
    background-color: #EFFCFA;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
/* 背景が明るすぎる場合に備えて薄いレイヤーを重ねる */
.house-cleaning-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.page-news {
    padding: 100px 50px; 
    background-color: #F6F6F4;
}
/* --- ページネーション（ページ送り） --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}
.pagination a, .pagination span {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s;
}
.pagination a:hover {
    color: #333;
}
.page-current {
    font-weight: bold;
    color: #333 !important;
    border-bottom: 2px solid #333;
}
.page-dots {
    color: #999;
    letter-spacing: 0.1em;
}
.page-next {
    font-family: serif;
    font-size: 16px;
}

/* =========================================
   ニュース詳細ページ (single.php) のスタイル
========================================= */
.single-news {
    padding: 100px 50px; 
    background-color: #F6F6F4;
}
.news-article {
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); /* ふんわりとした影で浮き出させる */
}
.article-header {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 25px;
    margin-bottom: 40px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.article-title {
    font-size: 2rem;
    line-height: 1.5;
    color: #333333;
    margin: 0;
}
.article-thumbnail {
    margin-bottom: 50px;
    text-align: center;
}
.article-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
/* --- WordPressエディタの本文（the_content）用のスタイル --- */
.article-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #444444;
}
/* 本文内の見出し(H2)デザイン */
.article-content h2 {
    font-size: 1.5rem;
    color: #333333;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0; /* 清潔感のあるグレーのライン */
    margin: 50px 0 25px;
}
/* 本文内の小見出し(H3)デザイン */
.article-content h3 {
    font-size: 1.25rem;
    color: #333333;
    margin: 40px 0 20px;
}
.article-content p {
    margin-bottom: 25px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}
/* --- 前後の記事へのリンク（ページネーション） --- */
.article-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
}
.article-pagination a {
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}
.article-pagination a:hover {
    opacity: 0.6;
}
.back-to-list a {
    display: inline-block;
    padding: 10px 30px;
    background-color: #f5f5f5;
    border-radius: 30px;
}

/* --- お問い合わせページ --- */
.contact-hero {
    height: 60vh; /* メインより少し低めに設定 */
    width: 100%;
    background-color: #EFFCFA;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
/* 背景が明るすぎる場合に備えて薄いレイヤーを重ねる */
.contact-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.page-contact {
    padding: 100px 50px; 
    background-color: #F6F6F4;
    display: flex;
    justify-content: center;
}
.contact-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 900px; /* フォームが横に広がりすぎないように制限 */
    padding: 60px 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-radius: 8px; /* 角を少しだけ丸くして柔らかい印象に */
}
/* タイトルと説明文 */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}
.contact-desc {
    line-height: 1.8;
    color: #555;
}
/* --- お問い合わせ方法のセクション分け --- */
.contact-method-section {
    margin-bottom: 50px;
}
.method-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0f4f8; /* 水色のアンダーライン */
}
/* --- フォーム各項目のスタイル --- */
.form-group {
    margin-bottom: 30px;
}
.form-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
/* 必須・任意のラベルバッジ */
.required, .optional {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
}
.required {
    background-color: #d9534f; /* 目立つ赤色 */
    color: #fff;
}
.optional {
    background-color: #e0e0e0; /* 控えめなグレー */
    color: #666;
}
/* 入力枠（テキスト、セレクトボックス、テキストエリア共通） */
.form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    color: #333;
    background-color: #f9f9f9; /* ほんのりグレーで入力欄を際立たせる */
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}
/* 入力中に枠線を水色にしてフォーカスを分かりやすくする */
.form-control:focus {
    border-color: #5bc0de;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(91, 192, 222, 0.1);
}
/* プライバシーポリシー同意チェックボックス */
.form-policy {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #555;
}
.form-policy input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2); /* チェックボックスを少し大きく */
}
.policy-link {
    color: #5bc0de;
    text-decoration: underline;
}
.policy-link:hover {
    color: #31b0d5;
}
/* 送信ボタン */
.form-submit {
    text-align: center;
}
.btn-submit {
    background-color: #5bc0de; /* アクセントカラーの水色 */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 18px 80px;
    border: none;
    border-radius: 50px; /* カプセル型 */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(91, 192, 222, 0.3);
}
.btn-submit:hover {
    background-color: #31b0d5; /* ホバーで少し濃い水色に */
    transform: translateY(-2px); /* 少し浮き上がる */
}
/* 電話に関するお知らせ文 */
.tel-notice {
    background-color: #fcf8e3; /* 少し目立つように薄い黄色系 */
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    text-align: center;
}
.tel-notice p {
    font-size: 14px;
    color: #8a6d3b;
    line-height: 1.6;
    margin: 0;
}
/* --- 電話・LINEカード --- */
.contact-cards {
    display: flex;
    gap: 30px;
}
.contact-card {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden; /* 角丸を効かせるため */
}
/* いただいた画像のようなグレーの見出し */
.card-heading {
    background-color: #d9d9d9;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px
}
.card-body {
    padding: 30px 20px;
    text-align: center;
    background-color: #fafafa;
}
/* .tel-block {
    margin-bottom: 25px;
} */
.tel-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}
.tel-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
/* マウスオーバーで水色に（リンクだと分かりやすく） */
.tel-number:hover {
    color: #5bc0de;
}
/* .line-label {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    background-color: #d9d9d9; 
    padding: 8px;
}
.qr-code {
    width: 140px;
    height: 140px;
    background-color: #eee; 
    display: inline-block;
    border: 1px solid #ccc;
} */
.contact-divider {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 60px 0;
}

/* --- プライバシーポリシーページヒーローセクション --- */
.news-hero {
    height: 60vh; /* メインより少し低めに設定 */
    width: 100%;
    background-color: #EFFCFA;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
/* 背景が明るすぎる場合に備えて薄いレイヤーを重ねる */
.house-cleaning-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.page-policy {
    padding: 100px 50px; 
    background-color: #F6F6F4;
    display: flex;
    justify-content: center;
}
.policy-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 900px; /* お問い合わせページと同じ読みやすい幅 */
    padding: 60px 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-radius: 8px;
    color: #333;
}
/* 導入文 */
.policy-intro {
    font-size: 14.5px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #444;
}
/* 各セクション */
.policy-section {
    margin-bottom: 40px;
}
/* セクションの見出し（左側に水色の線を入れてアクセントに） */
.policy-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid #5bc0de; 
    color: #333;
}
/* 本文テキスト */
.policy-section p {
    font-size: 14.5px;
    line-height: 1.9; /* 長い文章でも疲れにくいように行間を広めに */
    color: #444;
}
/* リスト形式の部分 */
.policy-list {
    list-style: none; /* デフォルトの黒丸を消す */
    padding: 0;
    margin-top: 10px;
}
.policy-list li {
    font-size: 14.5px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 5px;
}
/* 連絡先エリアの囲み枠 */
.policy-contact-info {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 6px;
    margin-top: 15px;
}
.policy-contact-info p {
    margin-bottom: 5px;
}
.policy-contact-info p:last-child {
    margin-bottom: 0;
}
.policy-contact-info a {
    color: #5bc0de;
    text-decoration: underline;
}
.policy-contact-info a:hover {
    color: #31b0d5;
}

/* レスポンシブ (スマホ対応) */
@media screen and (max-width: 768px) {
    /* ヘッダーセクション
    ------------------------------------- */
    .header {
        padding: 15px 20px;
    }
    /* ハンバーガーボタンのスタイリング */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 101; /* ナビゲーションより上に配置 */
    }
    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: #3C3C3C;
        transition: all 0.3s ease;
    }
    /* ハンバーガーボタン クリック時(×印になるアニメーション) */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    /* ナビゲーション全体（スマホでは右からスライドイン） */
    .nav {
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態は画面外に隠す */
        width: 80%;   /* メニューの幅 */
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
        padding-top: 80px; /* 上部のヘッダー被り防止 */
        overflow-y: auto;  /* メニューが長い場合はスクロール可能に */
    }
    /* メニューが開いた時 */
    .nav.active {
        right: 0;
    }
    /* リストを縦並びに */
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        gap: 20px;
    }
    /* スマホではホバーによる「他の文字が薄くなる」エフェクトを解除 */
    .nav ul:hover li {
        opacity: 1;
    }
    .nav ul li:hover {
        opacity: 1;
    }
    /* --- スマホでのドロップダウンメニュー設定 --- */
    /* ホバーでフワッと出すのではなく、常に縦に並べて表示する */
    .dropdown-menu {
        position: static;      /* 絶対配置を解除 */
        transform: none;       /* 中央寄せを解除 */
        opacity: 1;            /* 常に表示 */
        visibility: visible;   /* 常に表示 */
        box-shadow: none;      /* 影を消す */
        background-color: transparent;
        min-width: auto;
        padding: 10px 0 0 15px; /* 左に少しインデントをつける */
        margin-top: 0;
    }
    /* サブメニューの余白調整 */
    .dropdown-menu li a {
        padding: 8px 0;
        font-size: 13px;
        color: #666 !important; /* 親メニューより少し色を薄くして階層を表現 */
    }
    .dropdown-menu li a:hover {
        background-color: transparent;
    }

    /* テキスト全体を囲むコンテナの調整 */
    .common-text-container {
        /* スマホの画面端に文字がくっつかないよう、左右に5%の余白を持たせる */
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
    }
    /* 会社名のスマホ用スタイル */
    .opening-company, .company-name {
        font-size: 1.2rem; /* 3.5remから縮小 */
        line-height: 1.3;  /* 改行された時、行と行が詰まりすぎないように調整 */
        margin-bottom: 15px; /* キャッチコピーとの隙間を少し狭める */
        word-wrap: break-word; /* 長い単語で画面をはみ出さないようにする */
    }
    /* キャッチコピーのスマホ用スタイル */
    .opening-catchphrase, .catchphrase {
        font-size: 1.0rem; /* 2.5remから縮小 */
        line-height: 1.5;
    }

    /* aboutセクション
    --------------------------------------*/
    .about {
        padding: 60px 20px;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-text br {
        display: none; /* スマホでは改行を解除 */
    }
    .btn-more {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    /* serviceセクション
    -------------------------------------*/
    .service {
        padding: 60px 20px;
    }
    .service-grid {
        flex-direction: column;
        gap: 20px;
    }
    .service-card {
        flex: auto;
        width: 100%;
        height: 300px;
    }
    .service-card:hover {
        transform: none;
    }
    .card-title-ja {
        font-size: 1.8rem;
    }
    .tagline {
        font-size: 1.5rem;
    }
    /* スマホではテキストを非表示にするか、さらに調整する (今回は非表示) */
    .card-text {
        display: none;
    }

    /* newsセクション
    -------------------------------------*/
    .news {
        padding: 60px 20px;
    }
    .news-thumb {
    width: 90px;
    height: 60px;
    }

    /* footer
    --------------------------------------*/
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand .logo {
        display: block;
        margin: 0 auto 15px;
        font-size: 32px;
    }
    .footer-brand .logo a {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 以前の指示（中央配置）を維持 */
    gap: 12px; /* ロゴ画像と会社名テキストの間隔 */
    text-decoration: none; /* リンクの下線を消す */
    color: inherit; /* 文字色を親から継承 */
    font-size: 20px; /* 画像の大きさに合わせて調整 */
    font-weight: 700; /* 太字 */
    color: #3C3C3C; /* ヘッダーの文字色と合わせる */
    letter-spacing: 0.05em; /* 文字間隔を少し広げて上品に */
    white-space: nowrap;
}
    .footer-nav {
        align-items: center;
    }
    .nav-group a, .nav-header {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    /* 下層ページ
    ---------------------------- */
    .sub-hero-title {
        font-size: 1.4rem;
    }
    /* who-we-are --------------------------------------------------*/
    .intro-message,
    .concept,
    .worries,
    .capabilities,
    .about-services,
    .business-info {
        padding: 60px 20px; /* 上下の余白も100px〜120pxから60pxに少し縮小 */
    }
    .intro-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .intro-body br {
        display: none; /* スマホでは強制改行を解除 */
    } 
    .sub-section-title {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    .section-message {
        font-size: 1.2rem;
    }
    .intro-body p,
    .concept-content p,
    .worry-category li {
        font-size: 16px;
        line-height: 2;
    }
    .intro-body p br,
    .concept-content br {
        display: none; /* スマホでは改行を解除 */
    }  
    .info-table th, .info-table td {
        display: block; /* スマホでは縦に並べる */
        width: 100%;
    }
    .info-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .note-red {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }

    /* house-cleaning --------------------------------------------------*/
    .service-intro,
    .problems-solutions,
    .points,
    .cleaning-menu-section {
        padding: 60px 20px;
    }
    /* 各セクション見出しと本文の縮小 */
    .intro-heading,
    .problems-solutions .main-title,
    .points-main-title,
    .menu-main-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    .intro-text,
    .points-footer-text {
        font-size: 16px;
    }
    /*  お困りごとセクション（横並びから縦積みに変更） */
    .problems-solutions .sub-message {
        font-size: 1rem;
        padding: 10px 20px;
        display: block;
    }
    .solution-item {
        flex-direction: column; /* スマホでは縦並びに */
    }
    .problem-box {
        border-right: 1px solid #eee;
        border-bottom: none;
        border-radius: 12px 12px 0 0;
        padding: 20px;
    }
    .answer-box {
        padding: 20px;
        border-radius: 0 0 12px 12px;
    }
    /* スマホでは矢印の向きを下向きに変更 */
    .answer-box::before {
        left: 50%;
        top: -15px;
        transform: translateX(-50%);
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid #e0f4f8;
        border-top: none;
    }
    /*  選ばれるポイント（カード内の余白を縮小） */
    .point-card {
        padding: 30px 20px;
    }
    .point-title {
        font-size: 1.1rem;
    }
    /* お掃除メニューセクション */
    .btn-pdf-link {
        width: 100%; /* ボタンをスマホの横幅いっぱいに広げる */
        font-size: 1rem;
        padding: 15px 20px;
        text-align: center; /* テキストを中央揃え */
    }
    .menu-card {
        flex-direction: column; 
        height: auto;
    }
    .menu-image, .menu-info {
        width: 100%; /* それぞれ横幅100%にする */
    }
    .menu-image {
        width: 100%;
        height: 400px; 
    }
    .menu-info {
        width: 100%;
        padding: 20px;
    }
    .menu-name {
        font-size: 1.2rem;
    }
    .menu-price {
        font-size: 15px;
    }
    .menu-desc {
        font-size: 14px;
    }
    .menu-price .campaign-price {
        display: block; 
        margin-left: 0;
        margin-top: 5px;
    }
    .category-title {
        font-size: 1.2rem;
    }
    .cleaning-menu-section {
        padding: 60px 20px;
    }

    /* メニュー詳細ページ --------------------------------------------------*/
    /* 1. 全体の余白縮小 */
    .detail-page-section {
        padding: 80px 15px 60px; /* スマホ画面に合わせて外側の余白を狭める */
    }
    .detail-container {
        padding: 30px 20px; /* 白いコンテナの内側の余白を狭める */
    }
    /* 2. 導入エリア（画像とテキストの縦並び化） */
    .detail-intro {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .detail-intro-image {
        flex: 100%;
        width: 100%;
    }
    .detail-intro-text {
        font-size: 16px;
    }
    /* 3. メッセージボックスの角丸と余白の最適化 */
    .detail-message-box {
        border-radius: 30px;
        padding: 30px 20px;
    }
    .message-title {
        font-size: 1.05rem;
    }
    .message-text {
        font-size: 16px;
    }
    /* 4. 各情報テキストとキャンペーン価格の調整 */
    .detail-info-content p {
        font-size: 16px;
    }
    .detail-info-content .campaign-price {
        display: block; /* 前回のメニュー一覧と同様、スマホで綺麗に改行させる */
        margin-left: 0;
        margin-top: 5px;
    }
    /* 5. 比較画像のレイアウト変更 */
    .compare-gallery {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(1, 1fr);
    }
    /* 6. 「一覧へ戻る」ボタンの幅広化 */
    .btn-back-menu {
        display: block;
        width: 100%; /* スマホの横幅いっぱいに広げてタップしやすくする */
        padding: 15px 0;
        text-align: center;
        box-sizing: border-box; /* paddingを含めてwidth:100%にするため */
    }

    /* ニュースページ --------------------------------------------------*/
    /* 1. 共通の余白とヒーロー（上部エリア）の高さを調整 */
    .page-news {
        padding-top: 100px;
        padding: 60px 20px;
    }
    /* 2. ニュース記事一覧のレイアウト調整（縦積みに変更） */
    .news-item a {
        display: flex;
        flex-direction: column-reverse; /* スマホでは「サムネイル画像が上、テキストが下」の順にするテクニック */
        gap: 15px; /* 画像とテキストの隙間 */
        padding: 20px 10px; /* スマホでタップしやすいように内側に余白を取る */
        border-bottom: 1px solid #ddd; /* 区切り線を入れるとリストが見やすくなります（お好みで） */
    }
    .news-item .arrow {
        display: none; 
    }
    .news-thumb {
        width: 100%; 
    }
    .news-thumb img {
        width: 100%;
        aspect-ratio: 16 / 9; /* 縦横比を指定して高さを出します（数値を変更して調整可能） */
        object-fit: cover;
        border-radius: 8px; /* スマホ表示の時だけ少し角を丸めると柔らかい印象になります */
    }
    /* テキストエリアの調整 */
    .news-body {
        width: 100%;
    }
    .news-title {
        font-size: 16px; /* 長いタイトルでも崩れないように少し縮小 */
        margin-bottom: 10px;
        line-height: 1.5;
        font-weight: bold;
    }
    .news-date, 
    .news-tag {
        font-size: 13px; /* 日付とカテゴリタグは少し小さく */
        color: #666;
    }
    .news-tag {
        display: inline-block;
        margin-left: 10px;
    }
    /* 3. ページネーション（ページ送り）のタップ領域を改善 */
    .pagination {
        gap: 8px; /* 数字同士の隙間を少し狭める */
        margin-top: 40px;
    }
    .pagination a, 
    .pagination span {
        font-size: 16px; /* 文字を少し大きく */
        padding: 10px 15px; /* 指でタップしやすいように、透明な余白（padding）を広げる */
    }

    /* ニュース詳細ページ */
    /* 1. 外側の余白を狭める */
    .single-news {
        padding: 60px 15px; /* 左右の余白をさらに狭くして画面幅を確保 */
    }
    /* 2. 記事カード内側の余白を狭める */
    .news-article {
        padding: 30px 20px;
        border-radius: 6px;
    }
    /* 3. タイトルと見出しの文字サイズ最適化 */
    .article-title {
        font-size: 1.4rem; /* 2remから縮小して、スマホでの過度な改行を防ぐ */
        margin-bottom: 10px;
    }
    .article-content h2 {
        font-size: 1.3rem;
        margin: 40px 0 20px; /* 見出しの上下の余白も少し詰める */
    }
    .article-content h3 {
        font-size: 1.15rem;
        margin: 30px 0 15px;
    }
    .article-content p {
        font-size: 15px; /* 本文の文字サイズをスマホに合わせて微調整（お好みで16pxでもOK） */
    }
    /* 4. サムネイル画像の下余白を調整 */
    .article-thumbnail {
        margin-bottom: 30px;
    }
    /* 5. ページネーション（リンク類）を縦並びに変更 */
    .article-pagination {
        flex-direction: column; /* 横並びを縦並びに変更 */
        gap: 25px; /* 各リンク間の隙間 */
        margin-top: 40px;
        padding-top: 30px;
    }
    .article-pagination > div {
        width: 100%;
        text-align: center; /* テキストをすべて中央揃えにする */
    }
    /* 「一覧へ戻る」ボタンを横幅いっぱいに広げて押しやすくする */
    .back-to-list a {
        display: block; 
        width: 100%;
        padding: 15px 0;
        box-sizing: border-box;
    }

    /* お問い合わせページ --------------------------------------- */
    /* 1. 全体と白いコンテナの余白を狭める */
    .page-contact {
        padding: 60px 15px;
    }
    .contact-container {
        padding: 40px 20px; /* PC用の80pxだとスマホ画面に収まらないため大幅に縮小 */
    }
    /* 2. タイトルなどの文字サイズ調整 */
    .method-title {
        font-size: 1.2rem;
    }
    .contact-desc {
        font-size: 15px;
        text-align: left; /* スマホでは中央揃えより左揃えの方が読みやすい場合があります */
    }
    /* 3. 送信ボタンをスマホで押しやすくする */
    .btn-submit {
        width: 100%; /* 横幅いっぱいに広げる */
        padding: 15px 0;
    }
    /* 4. 電話のカードを横並びから縦積みに変更 */
    .contact-cards {
        flex-direction: column; /* 縦積みに変更 */
        gap: 20px; /* カード同士の隙間を少し狭める */
    }
    .tel-label {
        font-size: 16px;
    }
    .tel-number {
        font-size: 22px; /* スマホ画面に合わせて少しだけ縮小 */
    }

    /* プライバシーポリシー */
    /* 1. 全体と白いコンテナの余白を狭める */
    .page-policy {
        padding: 60px 15px; /* 左右の余白を狭くして画面を広く使う */
    }
    .policy-container {
        padding: 40px 20px; /* PC用の80pxだとスマホで細長くなりすぎるため大幅に縮小 */
    }
    /* 2. 導入文と各セクションの下余白を調整 */
    .policy-intro {
        margin-bottom: 40px;
    }
    .policy-section {
        margin-bottom: 35px;
    }
    /* 3. 見出しの文字サイズ微調整 */
    .policy-heading {
        font-size: 1.15rem; /* スマホ画面に合わせて少しだけ縮小 */
        padding-left: 10px; /* 左側の水色線との隙間を微調整 */
    }
    /* 4. 本文とリストの文字サイズはPCと同じ（14.5px）を維持し、スマホでの改行を防ぐため padding などは不要 */

    /* 5. 連絡先エリアの余白を調整 */
    .policy-contact-info {
        padding: 15px 20px;
    }
}


/* =========================================
   ローディング画面
========================================= */
/* 画面全体を覆う設定 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; /* 背景色（白） */
    z-index: 9999; /* どの要素よりも一番手前に表示 */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease; /* 0.8秒かけてフワッと消える */
}
/* 読み込み完了後にJavaScriptで付与するクラス */
.loader.is-loaded {
    opacity: 0;
    visibility: hidden;
}
/* くるくる回るスピナーのデザイン */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e0f4f8; /* 円の薄い水色部分 */
    border-top: 5px solid #5bc0de; /* クルクル回る濃い水色部分 */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* 1秒で1周を永遠に繰り返す */
}
/* スピナーを回転させるアニメーションの鍵（キーフレーム） */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- もしロゴ画像をフワフワさせたい場合 --- */
/* .loader-logo {
    width: 150px;
    animation: pulse 1.5s ease infinite alternate;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
} */
