/*
Theme Name: HOUSE CLEANING 水沢洗浄
Theme URI: http://localhost/
Author: 伊崎 孝太郎
Author URI: http://localhost/
Description: ハウスクリーニングサービス紹介サイト用のWordPress自作テーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleaning-service
*/

/* =========共通ベース==========　*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #007acc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =======ヘッダー======= */
header {
    background: #007acc;
    color: #fff;
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: none; /* 画面幅いっぱいにする */
    margin: 0;
    padding: 0.75rem 1rem; /* 縦をやや少なめに */
    width: 100%;
}

.logo {
    width: 25%;
    max-width: 160px;
    padding-left: 0.5rem;
    margin-left: 30px;
}

.logo img {
    height: 48px;
    width: auto;
}

.header-nav {
    padding-right: 0.5rem;
    margin-right: 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 0; /* ← これで無駄な縦スペースを除去 */
    padding-left: 0;
}

nav li a {
    color: #fff;
    font-weight: bold;
}

.menu-toggle {
    display: none; /* PCでは非表示 */
}

/* ==========フッター========== */
footer {
    background: #111111;
    color: #fff;
    font-size: 0.9rem;
    
    padding: 0 1rem 1.5rem 1rem;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* フリーダイヤル画像の中央寄せとサイズ調整 */
.footer-tel {
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ccc;
}

.footer-tel img {
    max-width: 100%;
    display: inline-block;
}

/* フッターの各要素を横並びに配置 */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

/* 共通：SNSアイコン表示 */
.footer-sns {
    text-align: center;
    margin: 1rem 0;
}

.footer-sns a {
    display: inline-block;
    margin: 0 0.5rem;
}

.footer-sns img {
    width: 32px;      /* PC用の基本サイズ */
    height: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.footer-sns a:hover img {
    transform: scale(1.1); /* ホバー時の拡大効果（任意） */
}

/* 各ブロックを横並びで均等に分ける */
.footer-block {
    flex: 1;
    min-width: 180px; /* 最小幅を設定 */
}

.footer-block h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #00aaff;
    border-bottom: 1px solid #555;
    padding-bottom: 0.25rem;
}

.footer-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-block li {
    margin-bottom: 0.5rem;
}

.footer-block li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
    font-weight: 500;
}

.footer-block li a:hover {
    color: #00aaff;;
    text-decoration: underline;
}

/* コピーライト */
.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: #ccc;
}

/* よくある質問のカテゴリー */
.footer-block h5 {
    font-size: 0.95rem;
    margin: 0.5rem 0;
    color: #007acc;
}
  
.footer-block ul li {
    margin-bottom: 0.25rem;
}

/* =======セクション共通========= */
section {
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

section h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ==========全幅セクション========== */
section.full-width {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ==========メインビジュアル=========== */
.main-visual {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    height: 40vh; /* ビューポートの高さに合わせる */
    padding: 5rem 1rem;
    position: relative;
}

.main-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 半透明の黒でオーバーレイ */
    z-index: 0;
}

.main-visual h2,
.main-visual p,
.main-visual .btn {
    position: relative;
    z-index: 1;
}

.main-visual {
    padding: 2rem 1rem;
    text-align: center;
}

.main-visual h2,
.main-visual p {
    word-break: keep-all;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto 1rem;
}

.main-visual h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.main-visual p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #fff;
}

.main-visual .btn {
    display: inline-block;
    background: #007acc;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.main-visual .btn:hover {
    background: #fff;
    color: #007acc;
}

/* =========サービス紹介セクション============ */
/* グリッドの設定：PCでは2列、768px以下では1列 */
.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
  
  /* サービスカードのスタイル（吹き出し風） */
.service-item {
    position: relative;
    background: #f9fcff;
    border: 1px solid #d0e6f6;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
  
  /* 吹き出しの尾部分 */
.service-item::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background: #f9fcff;
    border-left: 1px solid #d0e6f6;
    border-bottom: 1px solid #d0e6f6;
}
  
  /* 画像 */
.service-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
  
  /* タイトル：折り返しなし */
.service-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0077b6;
    margin: 0.75rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
  
  /* 抜粋 */
.service-excerpt {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1.2rem;
}

.service-item:nth-child(odd) {
    background-color: #ffffff; 
}
  
.service-item:nth-child(even) {
    background-color: #eef7fc; 
}

.service-item:nth-child(odd)::after {
    background-color: #eef7fc;
}
  
.service-item:nth-child(even)::after {
    background-color: #ffffff;
}

.service-intro .btn-wrap {
    margin-top: 2.5rem;
}
  

/* ===========お悩み例セクション=========== */
.troubles {
    margin-top: 2rem;
}

.trouble-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trouble-item {
    border: 1px solid #ddd;
    padding: 1rem;
}

.trouble-question {
    position: relative;
    width: 100%;
    text-align: left;
    background: #e6f4f9;
    border: none;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.trouble-question::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.trouble-question.open::after {
    content: "-";
}

.trouble-answer {
    display: none;
    padding: 1rem;
    background: #d0ecf7;
    border-top: 1px solid #ddd;
    margin-top: 0.5rem;
}

/* おすすめサービスカード */
.recommend-label {
    display: inline-block;
    background: #3b87c2;
    border: 1px solid #99c0ff;
    color: #fff;
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem 0.5rem 0 0;
    font-weight: bold;
}

.recommend-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fdfdfd;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 0 0 2rem 0;
    gap: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    flex-wrap: nowrap;
}
  
.card-icon {
    flex: 0 0 48px;
}
  
.card-icon img {
    width: 100%;
    height: auto;
}
  
.card-text {
    flex: 1;
    min-width: 0; /* テキストがはみ出さないように */
    display: flex;
    flex-direction: column;
}
  
.card-text h4 {
    font-size: 1rem;
    margin: 0 0 0.3rem;
    white-space: nowrap; /* テキストを1行に */
    overflow: hidden; /* はみ出した部分を隠す */
    text-overflow: ellipsis; /* はみ出した部分を省略記号で表示 */
}
  
.card-text p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.4;
}
  
.arrow-button {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
  
.arrow-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1; /* 中央寄せ */
    transition: background-color 0.3s ease;
    padding-bottom: 2px; /* 微調整 */
}
  
.arrow-link:hover {
    background: #0056b3;
}

/* ===========サービスの流れセクション============ */
.service-flow {
    text-align: center;
}

.full-width.service-flow {
    padding: 3rem 0;
}

.flow-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.btn-wrap {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.btn-wrap .btn {
    display: inline-block;
    background: #007acc;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
}

.btn-wrap .btn:hover {
    background: #005b99;
}

/* ===========当社の強みセクション============ */
.full-width.about {
    padding: 3rem 1rem;
}

#about h3 {
    margin-bottom: 6rem; /* もともとより大きめの余白 */
    text-align: center;
    font-size: 1.8rem;
}

.about-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    justify-content: center;
}
  
.about-card {
    position: relative;
    width: calc((100% - 3rem) / 3); /* 3つのカードを横並びにするための計算 */
    max-width: 300px;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: visible; /* 画像のオーバーフローを許可 */
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6rem; /* テキスト部分の高さを確保 */
    padding-inline: 1rem;
}

.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0));
    z-index: 0;
    border-radius: 12px;
}
  
  /* 重ねるテキスト部分 */
.about-text {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 85%;
    z-index: 1; /* カードの上に表示 */
}
  
  /* タイトル */
.about-text h4 {
    font-size: 1.2rem;
    color: #0077b6;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
  
  /* 本文 */
.about-text p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

/* ===========よくある質問セクション============ */
.faq {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-list h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #2c3e50;
    border-left: 4px solid #007acc;
    padding-left: 0.5rem;
}

.faq-item {
    border: 1px solid #ddd;
    padding: 1rem;
}

.faq-question {
    position: relative;
    width: 100%;
    text-align: left;
    background: #e6f4f9;
    border: none;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-question.open::after {
    content: "-";
}

.faq-answer {
    display: none;
    padding: 1rem;
    background: #d0ecf7;
    border-top: 1px solid #ddd;
    margin-top: 0.5rem;
}

.faq-answer-text {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0 0 20px 0;
}

/* =========お知らせセクション========== */
.news {
    background-color: #002b5c;
    color: #fff;
  }

.full-width.news {
    padding: 2rem 1rem; /* 上部の余白を大きめに */
}

.news h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff; /* タイトルも白文字に */
}
  
.front-news-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}
  
.front-news-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 白っぽい仕切り線 */;
    padding: 0.8rem 0;
}
  
.news-date {
    font-size: 0.9rem;
    color: #ccc;
    white-space: nowrap;
    min-width: 90px;
}
  
.front-news-link {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
}
  
.front-news-link:hover {
    text-decoration: underline;
    color: #ffd700; /* ホバー時に金色にしてアクセント */
}

.news .btn-wrap {
    margin-top: 2rem;
}

  /* お知らせセクション内のボタンに限定してスタイルを変更 */
.news .btn {
    background-color: #ffffff;      /* ボタン背景：白 */
    color: #004080;                 /* テキスト：濃い青（セクションに合わせる） */
    border: 2px solid #ffffff;      /* 白の境界線 */
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
  
  /* ホバー時の変化 */
.news .btn:hover {
    background-color: #cce0ff;      /* ホバー時：淡い青 */
    color: #002b5c;
    border-color: #cce0ff;
}


/* ============お知らせ一覧ページ================ */
.news-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.news-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1.5rem;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: #f4f8fc; /* ホバー時の背景色 */
}

.news-thumb img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content a {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007acc;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content a:hover {
    color: #005b99; /* ホバー時の色 */
}

.news-content .date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 1rem;
}
.pagination .page-numbers {
    display: inline-block;
    margin: 0 0.3rem;
    padding: 0.4rem 0.8rem;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.pagination .current {
    background-color: #0056b3;
    color: #fff;
}
.pagination .page-numbers:hover {
    background-color: #007bff;
    color: #fff;
}

/* =============お知らせ詳細ページ=========== */
.news-detail {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.news-detail h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid #005bac;  /* 左のラインでタイトル強調 */
    padding-left: 0.8rem;
}

.news-detail .date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.news-thumbnail {
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.news-content {
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

.news-back {
    margin-top: 3rem;
    text-align: center;
}

.news-back .btn {
    display: inline-block;
    background-color: #005bac;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.news-back .btn:hover {
    background-color: #003d7a;
}

/* ==========サービス・料金ページ（サービス紹介セクション）============ */
/* カードデザインA（スタイリッシュ） */
.archive-service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 1rem;
}
  
  /* 各サービスカード */
.archive-service-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
}
  
.archive-service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
  
  /* サムネイル */
.archive-service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.2rem;
}
  
  /* タイトル */
.archive-service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 600;
}
  
  /* 抜粋文 */
.archive-service-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}
  
  /* 料金フィールド */
.archive-service-item .service-price {
    background-color: #007acc10;
    border-left: 4px solid #007acc;
    padding: 0rem 1rem;
    font-size: 1.1rem;
    color: #000;
    border-radius: 6px;
    margin-top: 1rem;
}

  /* カスタムフィールドの値（数値）を強調 */
.service-price span {
    font-size: 3rem;   /* より大きく */
    color: #00509e;         /* 視認性の高い黒 */
    font-weight: bold;
    margin: 0 0.25rem;
  }
  
  /* 補足ブロック */
.explain {
    background-color: #f4f7fa;
    border-left: 5px solid #007acc;
    padding: 1.8rem 1.2rem;
    margin-top: 3rem;
    border-radius: 8px;
  }
  
.explain h4 {
    font-size: 1.1rem;
    color: #007acc;
    margin-bottom: 0.5rem;
}
  
.explain .note {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
}

/* =========お問い合わせページ=========== */
.contact-section {
    padding: 2rem;
    background-color: #f4f8fc;
    margin-top: 3rem;
    border-top: 2px solid #007acc;
}

.contact-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.contact-section p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* フォームのラッパー */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    text-align: left;
    font-weight: bold; /* お好みで */
    margin-bottom: 0.3rem;
}

.contact-form label span {
    color: red; /* 必須項目のマーク */
}

/* Contact Form 7 の基本調整（必要に応じて調整） */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form input[type="submit"],
.contact-form button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

.contact-form input[type="submit"]:hover,
.contact-form button:hover {
    background-color: #005b99;
}


/* ========レスポンシブ対応========= */
/* --- タブレット用 レスポンシブ対応 --- */
@media screen and (max-width: 1024px) {
    /* ========セクション共通======== */
    section h3 {
        font-size: 1.5rem;
    }
    /* 共通：セクションの左右余白調整 */
    section {
        padding: 1.5rem 1rem;
    }

    /* =========ヘッダー========= */
    .header-nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: #007acc;
        display: none;
        flex-direction: column;
        z-index: 1000;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .header-nav li {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .header-nav li a {
        display: block;
        padding: 1rem;
    }


    .header-nav.open {
        display: flex;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem; /* 縦をやや少なめに */
    }

    .logo {
        width: auto;
        max-width: 140px;
        margin-left: 0;
    }

    .logo img {
        height: 36px;
        width: auto;
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }

    .header-nav li {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .header-nav li a {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001; /* ヘッダーより上に表示 */
        position: relative;
        margin-left: auto; /* 右端に配置 */
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
    }

    /* ==========フッター========== */
    .footer-tel img {
        height: 60px; /* モバイルでは少し小さめに */
    }

    .footer-tel {
        margin-bottom: 1rem;
        padding: 1rem 0;
    }

    /* フッター縦並び */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-block, .footer-sns {
        text-align: center;
        width: 100%;
        margin-bottom: 1rem;
    }

    .footer-sns img {
        width: 24px; /* スマホではやや小さめに */
    }

    .footer-sns a {
        margin: 0 0.4rem;
    }

    /* ========メインビジュアル========== */
    .main-visual {
        height: 21vh; /* モバイルでは高さを少し小さく */
        padding: 3rem 1rem;
    }

    .main-visual .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    
    /* ===========お悩み例セクション=========== */
    .recommend-card {
        flex-wrap: nowrap;
        align-items: center;
      }
    
    .card-icon {
        flex: 0 0 48px;
    }
    
    .card-text {
        font-size: 0.8rem;
        flex: 1 1 100%;
    }
    
    .arrow-button {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .arrow-link {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        line-height: 1; /* 中央寄せ */
    }

    /* ============サービス紹介セクション============== */
    .service-item h3 {
        font-size: 1.1rem;
    }

    .service-item p,
    .service-price {
        font-size: 0.95rem;
    }

    /* ============サービスの流れセクション============== */

    .btn-wrap .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }

    /* =============お知らせ詳細ページ=============== */
    .news-detail h2 {
        font-size: 1.5rem;
    }

    .news-detail .date {
        font-size: 0.85rem;
    }

    .news-content {
        font-size: 0.95rem;
    }

    /* ==============お問い合わせページ============== */
    .contact-section {
        padding: 1.5rem 1rem;
    }

    .contact-section h3 {
        font-size: 1.3rem;
    }

    .contact-section p {
        font-size: 0.95rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .contact-form input[type="submit"],
    .contact-form button {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ==========ブレイクポイント（個別）============== */
@media screen and (max-width: 768px) {
  /* ===========メインビジュアル=========== */
  .main-visual {
    height: 30vh; /* モバイルでは高さを少し小さく */
    padding: 3rem 1rem;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-excerpt {
    font-size: 0.95rem;
  }

  /* ===========当社の強みセクション=========== */
  .about {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .about-cards {
    flex-wrap: wrap;
  }

  .about-card {
    max-width: 100%;
    width: 100%;
    height: 200px;
    margin-bottom: 4rem; /* 下部の余白を大きく */
  }

  .about-text {
    margin-top: 1rem;
  }

  .about-text h4 {
    font-size: 1.1rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  /* ===========よくある質問セクション============ */
  .faq {
    margin-top: 0;
  }

  /* ==============お知らせ一覧ページ============ */
  .news-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
  }

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

  .news-content {
    align-items: center;
  }

  .news-content a {
    font-size: 1rem;
  }

  .news-content .date {
    font-size: 0.85rem;
  }
}