/*
Theme Name: 20250522
Theme URI: https://www.genn-ki.com/
Description: カスタムテーマ
Version: 1.
*/


/* =========================================
   ベースリセット & body
========================================= */
* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    background-color: #fafafa;
    color: #333; 
  }
  
  
  /* =========================================
     ヘッダー周り
  ========================================= */
  
  /* 固定ヘッダー */
  .header-fixbar {
    background: rgba(255,255,255,0.5);
    padding: 10px 20px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  /* ヘッダー内コンテンツを左右配置するラッパ */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* ロゴ */
  .header-logo img {
    height: 40px;
    display: block;
  }
  
  /* PC用ナビゲーション */
  .header-nav {
    display: flex;
  }
  
  /* メニュー本体 */
  .header-nav .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
  }
  .header-nav .main-menu > li {
    position: relative;
  }
  .header-nav .main-menu > li > a {
    font-family: 'Caprasimo', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    text-decoration: none;
    color: #333;
    padding: 8px;
  }
  .header-nav .main-menu > li > a:hover {
    background: rgba(245,150,0,0.1);
  }
  
  /* =========================================
     ヘッダー　レスポンシブ表示
  ========================================= */
  /* SP幅以下(768px)で通常ナビを隠す */
  @media screen and (max-width: 768px) {
    .header-nav {
      display: none;
    }
  }
  
  /* 768px以上(PC)なら固定ヘッダーのナビを表示 */
  @media screen and (min-width: 769px) {
    .header-fixbar .header-nav {
      display: flex;
    }
  }
  
  /* スマホ時（768px以下）でハンバーガーを表示 */
  @media screen and (max-width: 768px) {
    .header-fixbar .hamburger-menu {
      display: flex;
    }
    .header-fixbar .header-nav {
      display: none;
    }
  }
  
  /* =========================================
     モバイルナビ（ハンバーガーメニュー）
  ========================================= */
  .hamburger-menu {
    width: 30px;
    height: 25px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000; /* 最前面 */
    display: none; /* PC時には非表示 */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  .hamburger-menu span {
    display: block;
    height: 4px;
    width: 100%;
    z-index: 1000; /* 最前面 */
    background-color: #333;
    transition: transform 0.3s, opacity 0.3s;
  }
  /* ハンバーガー(3本線)をSP時に表示 */
  @media screen and (max-width: 768px) {
    .hamburger-menu {
      display: flex;
    }
  }
  
  
  /* アイコンの変化（開閉時） */
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  /* =========================================
     スライドインメニュー（モバイル用）
  ========================================= */
  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* 初期は画面外 */
    width: 170px;
    height: 100vh;
    background-color: rgba(245, 150, 0, 0.8);
    transition: right 0.4s ease-in-out;
    z-index: 998; /* ヘッダーとオーバーレイの間 */
    display: flex;
    flex-direction: column;
    padding-top: 60px;
  }
  
  /* 開いた状態 */
  .mobile-nav.open {
    right: 0;
    pointer-events: auto;
  }
  
  /* PC時は非表示 */
  @media screen and (min-width: 769px) {
    .mobile-nav {
      display: none;
    }
  }
  
  /* 中身のUL */
  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-nav ul li {
    padding: 15px 20px;
  }
  .mobile-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
  }
  /* ホバー時 */
  .mobile-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #f0c040;
  }
  
  /* オーバーレイ */
  .mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 997;  /* ヘッダー、ナビゲーションの背面 */
    display: none; /* 初期は非表示 */
  }
  .mobile-nav.open ~ .mobile-nav-overlay {
    display: block;
  }
  
  /* =========================================
     サブメニュー（PC用ドロップダウン）
  ========================================= */
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(245, 150, 0, 0.5); 
    color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: transform 0.3s ease-in, opacity 0.3s ease-in;
  }
  .has-submenu:hover .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .submenu li a {
    font-family: 'Noto Sans JP','Yu Gothic','Meiryo',sans-serif;
    display: block;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
  }
  .submenu li a:hover {
    background: rgba(255,255,255,0.2);
  }
  
  /* =========================================
     ヒーロー画像 (Zoom Box) 等
  ========================================= */
  .hero-zoombox {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0 auto; 
  }
  
  /* .hidden → .show アニメ */
  .hidden {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.8s cubic-bezier(0.28, 0.84, 0.42, 1.0), 
                opacity 0.8s ease;
  }
  .show {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .out {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  
  /* バウンスイン */
  .show.bounce-in {
    transform: translateY(0) scale(1);
  }
  /* Zoom Box */
  .zoom-box {}
  .zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .zoom-container picture,
  .zoom-container img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 2s ease;
  }
  .show.zoom-box .zoom-container img {
    transform: scale(1.2);
  }
  
  
  /* =========================================
     タイプライターアニメ
  ========================================= */
  
  /* タイプライター */
  .text-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .typewriter {
    font-weight: 900;
    font-size: clamp(1.0rem, 10vw, 4rem);
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid #fff;
    opacity: 0;
  }
.typewriter1 {
    width: 0;
    animation: typing1 0.8s steps(4, end) 0.2s forwards, 
               cursorBlink 0.8s 1.1s forwards;
}

.typewriter2 {
    width: 0;
    margin-top: 20px;
    animation: typing2 1.0s steps(6, end) 1.2s forwards, /* 1.6s → 1.0s に短縮 */
               cursorBlink 0.8s 2.2s forwards; /* タイミングを微調整 */
}

.typewriter3 {
    width: 0;
    margin-top: 20px;
    animation: typing3 1.8s steps(9, end) 2.2s forwards, /* 1.2s → 2.4s に延長 */
               cursorBlink 0.8s steps(1) infinite normal 6.4s; /* タイミングを微調整 */
}
  
  /* typingアニメ */
  @keyframes typing1 {
    from { width: 0; opacity: 1; }
    to   { width: 7ch; opacity: 1; }
  }
  @keyframes typing2 {
    from { width: 0; opacity: 1; }
    to   { width: 10ch; opacity: 1; }
  }
  @keyframes typing3 {
    from { width: 0; opacity: 1; }
    to   { width: 15ch; opacity: 1; }
  }
  /* カーソル点滅 */
  @keyframes cursorBlink {
    0%, 100% { border-color: transparent; }
    50%      { border-color: #fff; }
  }
  
  /* =========================================
     バウンスイン効果
  ========================================= */
  
  .bounce-in {
    transform: translateY(50px) scale(0.95);
  }
  .show.bounce-in {
    transform: translateY(0) scale(1);
    transition: transform 0.8s cubic-bezier(0.28, 0.84, 0.42, 1.0), opacity 0.8s ease;
  }
  
  /* セクションやフッターなどのスタイル */
  .section {
    background: #fff;
    margin: 60px auto;
    max-width: 600px;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .section h2 {
    margin-top: 0;
    font-size: 1.5rem;
  }
  
  
  
  /* =========================
     ご挨拶セクション (Greeting)
  ========================= */
  #greeting {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 40px;
    margin-bottom: 20px;
  }
  
  /* タイトルブロック */
  .greeting-title {
    margin-bottom: 60px;
    position: relative; /* 透かし(背景ロゴ)の重ね合わせ用 */
  }
  /* 背景ロゴ(水印) */
  .greeting-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    z-index: 0;
    opacity: 0.1;
    max-width: clamp(150px, 25vw, 300px);
    pointer-events: none;
  }
  /* タイトル・サブタイトル */
  .greeting-heading {
    font-family: 'Caprasimo', sans-serif;
    font-size: clamp(2.4rem, 10vw, 3rem);
    margin: 0;
    z-index: 1;
  }
  .greeting-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 5px;
    z-index: 1;
  }
  /* コンテンツ (PC:横並び, SP:縦並び) */
  #greeting .section-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* 狭い画面時に折り返し */
  }
  
  
  
  /* =========================
     共通セクションスタイル
  ========================= */
  .section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 40px 20px;
    text-align: center;
  }
  /* タイトル */
  .section-title {
    position: relative;
    text-align: center; /* 各セクションのタイトルを中央寄せ */
    margin-bottom: 50px; /* 下マージン調整 */
  }
  .section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    z-index: 0;
    opacity: 0.1;
    max-width: clamp(150px, 25vw, 300px);
    pointer-events: none;
  }
  .section-heading {
    font-family: 'Caprasimo', sans-serif;
    font-size: clamp(2.4rem, 10vw, 3rem);
    margin: 0;
    z-index: 1;
  }
  .section-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 5px;
    z-index: 1;
  }
  
  /* =========================
     セクションコンテンツ
     PC時は左右、SP時は縦並び
  ========================= */
  .section-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* 画像ブロック */
  .section-image {
    flex: 1; /* 画像・テキストを左右均等に分割 */
    max-width: clamp(250px, 50vw, 500px); /* ウィンドウに応じて縮小 */
  }
  .section-image img {
    width: 100%;
    height: auto;
    display: block; /* 画像の余計な余白を防ぐ */
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover; 
  }
  
  /* テキストブロック */
  .section-text {
    flex: 1;
    text-align: left;
    width: 100%;
    max-width: clamp(280px, 50vw, 500px);
    margin: 20px;
  }
  .section-theme {
    font-weight: 700;
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    color: #333;
    margin-bottom: 20px;
  }
  .section-message {
    margin: 0 auto;
    font-size: clamp(0.8rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    color: #555;
    text-wrap: balance; /* 自然な改行(対応ブラウザのみ) */
  }
  
  /* CTA ボタン */
  .section-cta {
    margin-top: 50px;
    text-align: center;
  }
  .view-more-btn {
    background: rgb(185, 30, 35);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: inline-block;
    transition: background 0.3s ease;
    width: 180px;
    text-align: center;
    border-radius: 0;
  }
  .view-more-btn:hover {
    background: rgb(150, 25, 30);
  }
  
  /* =========================
     メディアクエリ (768px以下)
  ========================= */
  @media screen and (max-width: 768px) {
    .section-content {
      flex-direction: column; /* 縦並び */
    }
    .section-image,
    .section-text {
      flex: none; /* 横幅を100%扱いに */
      max-width: 90%;
      margin: 0 auto;
      text-align: center; /* 行頭揃えをやめて中央に */
    }
    .section-image img {
      width: clamp(200px, 80vw, 500px); /* 画面幅に合わせて縮小 */
      margin: 0 auto;
    }
    .section-message {
      font-size: clamp(1rem, 2vw, 1.4rem); /* スマホ時は少し大きめでもOK */
      line-height: 1.9; /* 行間を広げ可読性UP */
    }
  }
  
  /* =========================
     物件売却セクション (Sale Assessment)
  ========================= */
  #sale-assessment {
    background: #fff8e1;
    border-top: 4px solid #e6a800;
    padding-top: 140px;
    padding-bottom: 80px;
    margin-bottom: 0px;
  }
  #sale-assessment .section-title {
    margin-bottom: 60px;
  }
  /* 左画像を縮小せずに保持したい場合は flex-shrink: 0; を適宜追加 */
  #sale-assessment .section-image {
    flex-shrink: 0;
    margin: 20px;
  }
  /* テキストは左揃え */
  #sale-assessment .section-text {
    text-align: left;
    max-width: 500px;
  }
  #sale-assessment .section-cta {
    margin-top: 60px;
  }
  
  @media screen and (max-width: 768px) {
    #sale-assessment {
      padding-top: 90px; /* スマホ時に上余白を小さく */
    }
    #sale-assessment .section-text {
      text-align: center;
      max-width: 500px;
    }
  }
  
  /* =========================
     物件購入セクション (Property Purchase)
  ========================= */
  #property-section {
    background: #fafafa;
    border-top: 4px solid #b91e23;
    padding-top: 140px;
    padding-bottom: 80px;
    margin-bottom: 0px;
  }
  #property-section .section-title {
    margin-bottom: 50px;
  }
  #property-section .section-content {
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
  }
  #property-section .section-image {
    flex-shrink: 0;
    margin: 20px;
  }
  #property-section .section-image img {
    width: 100%;
    max-width: 500px;
  }
  #property-section .section-text {
    text-align: left;
    max-width: 500px;
  }
  #property-section .section-cta {
    margin-top: 60px;
  }
  
  @media screen and (max-width: 768px) {
    #property-section {
      padding-top: 90px; /* スマホ時に上余白を小さく */
    }
    #property-section .section-text {
      text-align: center;
      max-width: 500px;
    }
  }
  
  /* =========================
     賃貸物件セクション (Rental Property)
  ========================= */
  #rental-property {
    background: #fafafa;
    border-top: 4px solid #b91e23;
    padding-top: 140px;
    padding-bottom: 80px;
    margin-bottom: 0px;
  }
  #rental-property .section-title {
    margin-bottom: 50px;
  }
  #rental-property .section-content {
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
  }
  #rental-property .section-image {
    flex-shrink: 0;
    margin: 20px;
  }
  #rental-property .section-image img {
    width: 100%;
    max-width: 500px;
  }
  #rental-property .section-text {
    text-align: left;
    max-width: 500px;
  }
  #rental-property .section-cta {
    margin-top: 60px;
  }
  
  @media screen and (max-width: 768px) {
    #rental-property {
      padding-top: 90px; /* スマホ時に上余白を小さく */
    }
    #rental-property .section-text {
      text-align: center;
      max-width: 500px;
    }
  }
  
  
  
  /* ===============================  
     Blog Section (Slickスライダー)
  =============================== */
  .blog-section {
    background: #f7c900; /* 例: 黄色系 */
    border-top: 4px solid #b91e23;
    /*border-bottom: 4px solid #b91e23;*/
    padding: 60px 20px;
    text-align: center;
    position: relative;
  }
  
  .blog-heading {
    margin-bottom: 40px;
  }
  
  .blog-title {
    font-family: 'Caprasimo', sans-serif;
    font-size: clamp(2.4rem, 10vw, 3rem);
    margin: 0;
  }
  
  .blog-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 5px;
  }
  
  /* スライダー本体 */
  .blog-slider {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .blog-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 0 0 calc(100% / 3 - 20px) !important; /* PCは3件表示 */
    margin: 0 10px !important; /* 記事の間に余白 */
    transition: transform 0.3s ease-in-out; /* スムーズなアニメーション */
  }
  
  /* タブレット時（2件表示） */
  @media screen and (max-width: 1024px) {
    .blog-item {
      flex: 0 0 calc(100% / 2 - 20px) !important;
    }
  }
  
  /* スマホ時（1件表示） */
  @media screen and (max-width: 768px) {
    .blog-item {
      flex: 0 0 calc(100% - 20px) !important;
    }
  }
  
  /* サムネイルのサイズ調整 */
  .blog-thumb {
    width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    overflow: hidden !important;
    border-radius: 5px;
  }
  
  .blog-thumb img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 5px;
    object-fit: cover !important;
    transition: transform 0.3s ease-in-out; /* スムーズなアニメーション */
  }
  
  
  .blog-item:hover .blog-thumb img {
    transform: scale(1.05);
  }
  
  /* 記事情報 */
  .blog-info {
    margin-top: 10px;
    padding: 10px;
  }
  
  .blog-category {
    display: inline-block;
    background: crimson;
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .blog-title1 {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    margin-top: 5px;
  }
  
  .blog-date {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* ===============================
     スライダーの矢印ボタン
  =============================== */
  .slick-prev,
  .slick-next {
    border-radius: 50% !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    margin: 15px !important ;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out !important;
  }
  
  /* 矢印アイコンのサイズと色 */
  .slick-prev::before,
  .slick-next::before {
    font-size: 24px !important;
    color: #b91e23 !important;
    opacity: 1 !important;
  }
  
  /* ボタンの位置を適正化 */
  .slick-prev {
    left: -50px !important;
  }
  
  .slick-next {
    right: -50px !important;
  }
  
  /* ホバー時のボタン */
  .slick-prev:hover,
  .slick-next:hover {
    background: #b91e23 !important;
    color: white !important;
  }
  
  /* ホバー時の矢印アイコン */
  .slick-prev:hover::before,
  .slick-next:hover::before {
    color: white !important;
  }
  
  
  
  /* ウインドウサイズが狭くてもボタンが見えるように */
  @media screen and (max-width: 1280px) {
    .slick-prev {
      left: -30px !important;
    }
  
    .slick-next {
      right: -30px !important;
    }
  }
  
  @media screen and (max-width: 768px) {
    .slick-prev {
      left: -30px !important;
    }
  
    .slick-next {
      right: -30px !important;
    }
  }
  
  
  /* =========================================
     ドットナビゲーション（ページネーション）
  ========================================= */
  .slick-dots li button:before {
    color: black;
  }
  
  .slick-dots li.slick-active button:before {
    color: red;
  }
  
  /* View Moreボタン */
  .blog-more {
    margin-top: 40px;
  }
  
  .view-more-btn {
    background: #b91e23;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: inline-block;
    transition: background 0.3s ease;
    width: 180px;
    text-align: center;
  }
  
  .view-more-btn:hover {
    background: rgb(150, 25, 30);
  }
  
  /* ===============================
     レスポンシブ対応
  =============================== */
  /* PC（4記事表示） */
  @media screen and (min-width: 1025px) {
    .blog-item {
      width: calc(100% / 4 - 10px);
    }
  }
  
  /* タブレット（3記事表示） */
  @media screen and (max-width: 1024px) {
    .blog-item {
      width: calc(100% / 3 - 10px);
    }
  }
  
  /* スマホ（2記事表示） */
  @media screen and (max-width: 768px) {
    .blog-item {
      width: calc(100% / 2 - 10px);
    }
  }
  
  /* 超小型デバイス（1記事表示） */
  @media screen and (max-width: 480px) {
    .blog-item {
      width: 100%;
    }
  }
  
  
  /* =========================
     お客様の声セクション
  ========================= */
  #customer-reviews {
    background: #fafafa;
    border-top: 4px solid #b91e23;
    padding-top: clamp(90px, 15vw, 140px); /* ウィンドウサイズに応じて縮小 */
    padding-bottom: 70px;
    margin-bottom: 0px;
    text-align: center;
  }
  
  /* 透かしロゴ */
  .reviews-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    z-index: 0;
    opacity: 0.1;
    max-width: clamp(150px, 25vw, 300px); /* 透かしの大きさを縮小対応 */
    pointer-events: none;
  }
  
  /* 見出し */
  .reviews-title {
    margin-bottom: clamp(40px, 5vw, 80px); /* タイトルの余白を可変 */
  }
  .reviews-heading {
    font-family: 'Caprasimo', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 6vw, 3rem); /* ウィンドウサイズに応じて縮小 */
    margin: 0;
    z-index: 1;
  }
  .reviews-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.3rem); /* 縮小対応 */
    margin-top: 8px;
    z-index: 1;
  }
  
  
  /* =========================
     2列固定のGridレイアウト
  ========================= */
  .reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 常に2列固定 */
    gap: 10; /* 隙間を調整 */
    max-width: 1000px;
    margin: 0 auto;
  }
  
  /* =========================
     レビューアイテム (画像+テキスト)
  ========================= */
  .review-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(5px, 2vw, 10px); /* 画像とテキストの間隔を縮小対応 */
    background: #fff;
    padding: clamp(10px, 3vw, 20px); /* 枠の余白も縮小対応 */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin: 10px;
  }
  
  /* レビュー枠をマウスオーバーで拡大 */
  .review-item:hover {
    transform: scale(1.02);
  }
  
  /* =========================
     画像の縮小対応
  ========================= */
  .review-thumb img {
    width: clamp(80px, 12vw, 120px);  /* 縮小対応 */
    height: clamp(80px, 12vw, 120px);
    object-fit: cover;
    border-radius: 4px;
  }
  
  /* =========================
     テキスト部分
  ========================= */
  .review-info {
    text-align: left;
  }
  .review-name {
    font-size: clamp(1rem, 3vw, 1.2rem); /* 縮小対応 */
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.4;
  }
  .review-rating {
    color: gold;
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* 縮小対応 */
    margin-bottom: 8px;
  }
  .review-comment {
    font-size: clamp(0.8rem, 2vw, 1rem); /* 縮小対応 */
    line-height: 1.8;
    color: #555;
    margin: 0;
  }
  
  /* =========================
     スマホ対応 (768px以下)
  ========================= */
  @media screen and (max-width: 768px) {
    .reviews-grid {
      grid-template-columns: 1fr 1fr; /* 2列固定を維持 */
      gap: 5px;
    }
  
    .review-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: clamp(8px, 2vw, 16px); /* スマホ時の枠サイズも縮小 */
    }
  
    .review-thumb img {
      width: clamp(70px, 10vw, 100px);
      height: clamp(70px, 10vw, 100px);
    }
  
    .review-name {
      font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
  
    .review-comment {
      font-size: clamp(0.8rem, 2vw, 1rem);
    }
  }
  
  
  
  /* =========================
     フッター全体のスタイル
  ========================= */
  #footer {
    background: #b91e23;
    color: #fff;
    padding: 20px 20px 20px;
    text-align: center;
  }
  
  /* フッター内のコンテンツ */
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* ロゴ + 会社情報（センター配置） */
  .footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px;
    margin-bottom: 20px;
  }
  
  /* ロゴ */
  .footer-logo img {
    width: 45vw;
    max-width: 330px;
    height: auto;
    display: block;
    padding-left: 40px;
    padding-right: 20px;
  }
  
  /* 会社情報（文字サイズにフィット） */
  .footer-company {
    display: inline-block; /* 横幅を文字に合わせる */
    text-align: left;
    width: auto; /* 不要な余白をなくす */
  }
  .footer-address {
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    line-height: 1.6;
    margin: 0;
    white-space: nowrap; /* 横幅調整のため、折り返しを防ぐ */
    padding-left: 20px;
    padding-right: 40px;
  }
  
  /* サイトリンク（横並び + 縦棒） */
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
    display: flex;
    flex-wrap: nowrap; /* 改行させない */
    justify-content: center;
    gap: 10px;
    font-size: clamp(0.8rem, 1vw, 1rem);
  }
  .footer-nav ul li {
    display: inline;
  }
  .footer-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-nav ul li a:hover {
    color: #fff;
  }
  .footer-nav .separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
  }
  
  /* SNSアイコン */
  .footer-sns {
    margin: 8px;
    font-size: 1.5rem;
  }
  .footer-sns a {
    color: #ccc;
    margin: 0 10px;
    transition: color 0.3s;
  }
  .footer-sns a:hover {
    color: #fff;
  }
  
  /* コピーライト */
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;  /* 横幅いっぱいに */
    margin: 0;  /* 上下マージンなし */
    padding-top: 10px;
    text-align: center;
  }
  
  .footer-bottom p {
    font-size: 0.7rem;
    margin: 0;
    color: #ccc;
  }
  
  /* =========================
     共通の調整（レスポンシブを無効化）
  ========================= */
  @media screen and (max-width: 1024px) {
    .footer-top {
      justify-content: center; /* 常に中央揃え */
      gap: 0; /* gapを0にする */
    }
    .footer-nav ul {
      flex-wrap: wrap; /* 文字が大きくなることで崩れる場合は改行 */
    }
  }
  
  @media screen and (max-width: 768px) {
    .footer-top {
      flex-direction: row;
      justify-content: center;
      text-align: center;
      gap: 0;
    }
    .footer-nav ul {
      font-size: clamp(0.7rem, 1vw, 0.9rem);
      flex-wrap: wrap;
    }
    .footer-sns {
      font-size: 0.8rem;
    }
  }
  
  @media screen and (max-width: 480px) {
    .footer-top {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      font-size: clamp(0.6rem, 0.9vw, 0.8rem);
    }
    .footer-sns {
      font-size: 0.7rem;
    }
  }
  
  
  
  
  /* ===============================
     ブログ一覧ページのスタイル
  ================================ */
  
  /* メインレイアウト */
  .blog-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* ヘッダー（タイトル + 検索ボックス） */
  .blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 20px;
    border-bottom: 4px solid #b91e23;
  }
  
  /* 検索ボックス */
  .blog-search {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .blog-search input {
    border: none;
    padding: 10px;
    outline: none;
    flex-grow: 1;
  }
  
  .blog-search button {
    background: #b91e23;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }
  
  .blog-search button i {
    font-size: 16px;
  }
  
  /* メインコンテナ（サイドバー + 記事一覧） */
  .blog-container {
    display: flex;
    gap: 20px;
  }

    
  /* ===============================
     サイドバー（カテゴリ＆投稿日）
  ================================ */
  .blog-sidebar {
    width: 25%;         /* PC表示時は25% */
    min-width: 200px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* フィルターエリア */
  .blog-sidebar h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  
  .blog-sidebar ul {
    list-style: none;
    padding: 0;
  }
  
  .blog-sidebar li {
    cursor: pointer;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: background 0.2s;
  }
  

  .blog-filter-row {
    margin-bottom: 15px; /* 適度な余白 */
  }

  /* カテゴリフィルターのスタイル */
  #category-filter li a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    display: block;
    border-radius: 5px;
    transition: background 0.3s ease;
  }

  #category-filter li a:hover{
    background: #FFD700;
    color: #333;

  }
  #category-filter li a.active {
    background: crimson;
    color: white;
  }
  
  /* ===============================
     記事一覧のブロック表示
  ================================ */
  /* 記事リスト */
  .blog-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr)); /* PC時は3列 */
    gap: 20px;
    flex-grow: 1;
  }
  
  /* 記事アイテム */
  .blog-item {
    width: calc(100% - 10px);
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out; /* スムーズなアニメーション */
  }
  
  /* 記事画像 */
  .blog-item img {
    width: 100%;
    border-radius: 5px;
  }
  
  .blog-item:hover {
    transform: scale(1.033);
  }
  
  /* 記事サムネイル */
  .blog-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out; /* スムーズなアニメーション */
  }
  
  /* 記事情報 */
  .blog-info {
    padding-top: 10px 0;
  }
  
  /* カテゴリと投稿日 */
  .blog-category {
    display: inline-block;
    background: crimson;
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 10px;
  }
  
  .blog-title {
    min-height: 3.6em; /* 3行分の高さを確保（フォントサイズ次第で調整） */
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
    margin-top: 5px;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 最大3行表示 */
    -webkit-box-orient: vertical;
    word-break: break-word;
  }
  
  .blog-date {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
  }
  
  .blog-pagination {
    text-align: center;
    margin-top: 30px;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.blog-pagination .page-numbers:hover {
    background: crimson;
    color: white;
}

.blog-pagination .current {
    background: crimson;
    color: white;
}



  /* ===============================
     レスポンシブ対応
     1) 1024px以下 (580px超〜1024px)
     2) 580px以下
  =============================== */
  
  /* -----------------------------
     メディアクエリ
  ----------------------------- */
  @media screen and (min-width: 581px) and (max-width: 1024px) {
  
    .blog-container {
      flex-direction: column; /* サイドバーと記事を縦並び */
    }
  
    .blog-sidebar {
      width: 100%;
      margin: 0 auto;
      background: #fff; /* 背景色はお好み */
    }
  
    /* 見出し+ボタンの新レイアウト(Grid) */
    /* カテゴリ・投稿日ごとに .blog-filter-row で囲む想定 */
    .blog-filter-row {
      display: grid;
      grid-template-columns: repeat(5, 1fr); /* 1列:見出し, 残4列:ボタン */
      gap: 10px;
      margin-bottom: 10px;
      align-items: center;
    }
  
    .blog-filter-row h3 {
      grid-column: 1;  /* 1列目 */
      margin: 0;
      font-size: 0.9rem;
      text-align: center;
      white-space: nowrap;
    }
  
    .blog-filter-row ul {
      grid-column: 2 / 6; /* 2〜5列 (計4列) */
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* ボタン4個を自動分割 */
      gap: 6px;
      margin: 0;
      padding: 0;
    }
  
    .blog-filter-row li {
      font-size: 0.8rem;
      margin: 0;
      border: 1px solid #ddd;
      border-radius: 5px;
      cursor: pointer;
      text-align: center;
      transition: background 0.2s;
    }

    .blog-filter-row li a {
      font-size: clamp(8px, 1.7vw, 15px);
    }

  }
  
  @media screen and (max-width: 923px) {
    .blog-list {
      grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
  }
  
  @media screen and (max-width: 580px) {
    .blog-container {
      flex-direction: column; /* サイドバーと記事を縦並び */
    }
  
    .blog-sidebar {
      width: 100%;
      margin: 0 auto;
      background: #fff; /* 背景色はお好み */
    }
  
    /* blog-filter-row: 2行に分ける → row1(見出し), row2(ボタン4列) */
    .blog-filter-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* ボタン4つを4列 */
      grid-template-rows: auto auto;         /* 上段=見出し, 下段=ボタン */
      gap: 8px;
      margin-bottom: 15px;
    }
  
    /* 見出しは row1 + col1〜4 */
    .blog-filter-row h3 {
      grid-column: 1 / span 4;  /* 4列をまとめて使う */
      margin: 0;
      font-size: 0.9rem;
      text-align: left;
    }
  
    /* ボタンは row2 + col1〜4 */
    .blog-filter-row ul {
      grid-column: 1 / span 4;
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 4ボタンを等間隔 */
      gap: 6px;
      margin: 0;
      padding: 0;
    }
  
    .blog-filter-row li {
      font-size: 0.8rem;
      margin: 0;
      border: 1px solid #ddd;
      border-radius: 5px;
      cursor: pointer;
      text-align: center;
    }

    .blog-filter-row li a {
      font-size: clamp(9px, 2.0vw, 15px);
    }

  }
  
  /* 480px未満: 1列表示 */
  @media screen and (max-width: 479px) {
    .blog-list {
      grid-template-columns: repeat(1, minmax(200px, 1fr));
    }
    .blog-filter-row ul {
      grid-template-columns: repeat(2, 1fr); /* 2列配置 */
    }
  }
  
  
  /* =========================================
     Aboutページのスタイル
  ========================================= */
  
  .about {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f8f8;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    border-radius: 8px;
  }
  
  /* 代表挨拶 */
  .ceo-message {
    text-align: center;
    padding-top: 60px;
    
  }
  
  .ceo-message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .ceo-message img {
    width: 180px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
  }
  
  .ceo-message p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
  }
  
  .ceo-name {
    font-weight: bold;
    margin-top: 10px;
  }
  
  /* テーブルの共通スタイル */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }
  
  th, td {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 12px;
  }

  td {
    text-align: left;
  }

  th {
    font-weight: bold;
    padding-left: 5vh;
    text-align: justify;
    text-justify: inter-ideograph;
  }
  
  /* 企業情報 */
  .company-info {
    margin-top: 160px;
    margin-bottom: auto;
  }
  
  .company-info table{
    text-align: center;
    border-top: 2px solid #b91e23;
    border-bottom: 2px solid #b91e23;
    padding-bottom: 5px;
    margin-top: 20px;
  }
  
  /* 沿革 */
  .history {
    margin-top: 40px;
  }
  
  .history h2 {
    text-align: center;
    border-bottom: 2px solid #b91e23;
    padding-bottom: 5px;
  }
  
  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
    main {
        padding: 15px;
    }
  
    .ceo-message-content {
        flex-direction: column;
    }
  
    .ceo-message img {
        width: 140px;
    }
  
    table {
        font-size: 14px;
    }
  }
  
  
  
  /* =========================================
     フローページのスタイル
  ========================================= */
  
  /* メインタグに余白を広げる */
  .flow {
    margin: 0px auto;
    padding: 0px;
    max-width: 1200px;
  }
  
  /* メインタイトル */
  .flow-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin: 40px 0;
    padding-top: 120px;
    padding-bottom: 40px 0; 
  }
  
  /* タイトルの透かしロゴ */
  .section-title {
    position: relative;
  }
  .flow-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    z-index: 0;
    opacity: 0.1;
    max-width: clamp(150px, 25vw, 300px);
    pointer-events: none;
  }
  
  .flow-steps {
    margin-top: 80px;
    margin-bottom: 20px;
    transform: translateX(10px);
  }
  
  /* Step全体のスタイル */
  .step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 750px;
    margin: 0px auto;
    overflow: visible;
  }
  
  /* 画像を枠の外に出す */
  .step-image {
    position: absolute;
    left: -60px; /* 外に飛び出させる */
    top: 50%;
    transform: translateY(-50%);
    width: 160px; /* 画像を大きめに */
  }
  
  .step-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  /* 右側のStep内容 */
  .step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 120px; /* 画像の影響を考慮 */
  }
  
  /* Stepヘッダー（番号とタイトルを横並び） */
  .step-header {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  /* Step番号（数字のみ） */
  .step-number {
    font-size: 24px;
    font-weight: bold;
    color: #D40000;
    background: #FFD700;
    padding: 2px 12px;
    border-radius: 5px;
    display: inline-block;
    width: fit-content;
  }
  
  /* Stepタイトル（横並び配置用） */
  .step-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
  }
  
  /* 箇条書き（フォントサイズを少し大きく） */
  .step-list {
    list-style: none;
    margin: 10px 0 0;
    padding-left: 80px;
  }
  
  .step-list li {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 5px;
  }

  /* .step-list がない場合は非表示 */
  .step-list:not(:has(li)) {
    display: none;
  }

  /* 余白調整 */
  .step-content:has(.step-list:not(:has(li))) {
    padding-left: 20px;
  }

  
  /* ▼の矢印 */
  .step-arrow {
    width: 0;
    height: 0;
    margin: 20px auto;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #D40000;
    display: block; /* 念のため表示を保証 */
  }
  
  /* スマホ対応 */
  @media screen and (max-width: 850px) {
    .flow-title {
      font-size: 28px;
    }
  
    .step {
      max-width: 560px;
    }
  }
  
  @media screen and (max-width: 650px) {
    .flow-title {
      font-size: 24px;
    }
  
    .step {
      flex-direction: column;
      text-align: center;
      max-width: 100%;
      padding: 20px;
      margin: 40px auto;
    }
  
    .step-image {
      position: relative;
      left: 0;
      top: 0;
      transform: none;
      width: 100px; /* スマホでは少し小さく */
      margin-bottom: 10px;
    }
  
    .step-content {
      text-align: center;
      padding-left: 0;
    }
  
    .step-header {
      justify-content: center;
    }
  
    .step-number {
      font-size: 28px;
      width: auto;
    }
  
    .step-title {
      text-align: center;
      padding-top: 2px;
    }
  
    .step-list {
      text-align: center;
      padding-left: 0;
      padding-top: 5px;
      padding-bottom: 5px;
    }
  
    .step-list li {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 4px;
      line-height: 1.5;
    }
  
    .step-arrow {
      border-left: 15px solid transparent;
      border-right: 15px solid transparent;
      border-top: 25px solid #D40000;
    }
  }
  
  
  /* =========================================
     前半の問い合わせボタンのスタイル
  ========================================= */
  .intro-section {
    position: relative;
    width: 100%;
    height: 100vh; /* ビューポートいっぱいに */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(100, 75, 0, 0.4), rgba(255, 215, 0, 0.2)), 
                url("assets/images/property_intro_bg.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
  }
  
  /* 売却ページのイントロセクション */
  .intro-section-sale {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.5), rgba(32, 70, 157, 0.3)), 
                url("assets/images/property_sale_intro_bg.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
  }
  
  /* 売却ページのイントロセクション */
  .intro-section-sale {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.5), rgba(32, 70, 157, 0.3)), 
                url("assets/images/property_sale_intro_bg.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
  }
  
  /* 問い合わせボタン（青系） */
  .intro-button-sale {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #1E3A8A; /* 濃いブルー */
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 20px;
  }
  
  .intro-button-sale:hover {
    background-color: #163172; /* ちょっと暗めのブルー */
  }
  
  
  /* イントロセクション購入ページ（背景をフルスクリーンにして迫力を出す） */
  .intro-section {
    position: relative;
    width: 100%;
    height: 100vh; /* ビューポートいっぱいに */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(100, 75, 0, 0.4), rgba(255, 215, 0, 0.2)), 
                url("assets/images/property_intro_bg.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
  }
  
  
  /* イントロのコンテンツ（中央寄せ） */
  .intro-content {
    max-width: 900px;
    padding: 50px;
    background: #f7c900(255, 220, 189, 0.4); /* 半透明の背景 */
    backdrop-filter: blur(10px); /* 背景をぼかして高級感 */
    border-radius: 15px;
    animation: fadeInUp 1s ease-out;
  }
  
  
  /* タイトル */
  .intro-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  /* 本文 */
  .intro-text p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
  }
  
  /* イントロの画像（円形＆影をつけてモダンな印象に） */
  .intro-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float 4s ease-in-out infinite;
  }
  
  /* CTAボタン（光のアニメーション追加） */
  .intro-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #d40000, #ff4500);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 5px 15px rgba(255, 69, 0, 0.5);
    position: relative;
    overflow: hidden;
  }
  
  .intro-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 50%);
    transition: all 0.6s ease-out;
    transform: translate(-50%, -50%) scale(0);
  }
  
  .intro-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
  }
  
  .intro-button:hover {
    transform: scale(1.05);
  }
  
  /* アニメーション（フェードイン + スライド） */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* アニメーション（ゆっくり浮く動き） */
  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }
  
  /* スマホ対応 */
  @media screen and (max-width: 768px) {
    .intro-section {
      height: 100vh;
    }
  
    .intro-content {
      padding: 30px;
    }
  
    .intro-title {
      font-size: 28px;
    }
  
    .intro-text p {
      font-size: 16px;
    }
  
    .intro-button {
      padding: 12px 30px;
      font-size: 18px;
    }
  }
  
  
  
  /* =========================================
     後半の問い合わせボタンのスタイル
  ========================================= */
  .contact-section {
    text-align: center;
    max-width: 900px;
    padding: 40px 20px; /* 余白を広げてゆったり */
    border-radius: 20px; /* 角を少し丸く */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8; /* 落ち着いた背景色 */
    margin: 40px auto; /* 上下に余白を追加し、浮かせる */
  }
  
  /* タイトル */
  .contact-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    
  }
  
  /* 説明文 */
  .contact-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 600px; /* 最大幅を設定し、横幅を狭める */
    margin: 0 auto 20px; /* 自然なセンタリング */
    text-align: center;
  }
  
  /* お問い合わせボタン */
  .contact-button {
    display: inline-block;
    padding: 18px 40px; /* ボタンのサイズを大きく */
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #d40000;
    border-radius: 8px; /* 角を少し丸く */
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  /* ボタンのホバー時 */
  .contact-button:hover {
    background-color: #a00000;
    transform: scale(1.05); /* 少し拡大 */
  }
  
  /* スマホ対応 */
  @media screen and (max-width: 768px) {
    .contact-section {
      padding: 30px 15px; /* スマホでは少しコンパクトに */
    }
  
    .contact-title {
      font-size: 22px;
    }
  
    .contact-text {
      font-size: 14px;
      max-width: 100%;
    }
  
    .contact-button {
      padding: 15px 30px;
      font-size: 16px;
    }
  }
  
  /* =========================================
     問い合わせフォームページのスタイル
  ========================================= */
  
  .contact-form-section {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto; /* 上下の margin をなくす */
    padding: 20px 20px; /* padding に変更 */
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
  }
  
  .contact-padding {
    padding: 40px;
  }
  
  .contact-page {
    background: url('assets/images/contact-bg.jpg') center/cover no-repeat local;
  }
  
  /* コンタクトページのロゴ透かし */
  .contact-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    z-index: 0;
    opacity: 0.3;
    max-width: clamp(120px, 15vw, 150px);
    pointer-events: none;
  }
  
  .contact-form-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    position: relative;
    z-index: 1; /* 背景ロゴより前に表示 */
    transform: translateY(0.8em);
  }
  
  .contact-form-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #555;
    margin-bottom: 20px;
    transform: translateY(1.5em);
  }
  
  .form-container {
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .google-form {
    width: 100%;
    height: 1400px;
    border: none;
    transform: translateY(70px);
  }
  

  /* =========================================
    ブログsingleページのスタイル
  ========================================= */
  .single-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
    padding: 20px;
  }

  .single-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .single-meta {
    font-size: 14px;
    text-align: right;
    color: #777;
    margin-bottom: 15px;
    transform: translateX(-10px);
  }

  .single-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .single-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
  }
