@charset "UTF-8";

/* ==========================================================================
   デザイン基本設定（変数・リセット）
   ========================================================================== */
:root {
  --primary-color: #59001b;      /* ワインレッド（ロゴ・フッター等の統一カラー） */
  --text-dark: #333333;          /* テキスト基本色 */
  --text-muted: #666666;         /* 補足テキスト色 */
  --bg-light: #f8f8f8;           /* 薄い背景色 */
  --border-color: #e0e0e0;       /* 境界線カラー */
  --content-width: 1200px;       /* コンテンツ最大幅 */
  --font-base: 'Helvetica Neue', Arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
}

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #ffffff;
}

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

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

/* コンテンツ幅固定（最大1200px & 中央寄せ） */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   トップバー
   ========================================================================== */
.top-bar {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 6px 0;
  font-size: 0.75rem;
}

.top-bar-text {
  letter-spacing: 0.05em;
  text-align: left;
}

/* ==========================================================================
   ヘッダーエリア
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-branding .logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.company-name {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

/* グローバルナビゲーション */
.global-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

.global-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

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

.global-nav .nav-contact-btn {
  padding: 6px 14px;
  background-color: transparent;
  border: 1px solid var(--text-dark);
  border-radius: 4px;
}

.global-nav .nav-contact-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* ==========================================================================
   ヒーローエリア (Swiper メインスライダー)
   ========================================================================== */
.hero-section {
  width: 100%;
  background-color: #222222;
}

.hero-slider {
  width: 100%;
  height: 420px;
  position: relative;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 矢印ボタンのデザインカスタマイズ */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.3s;
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
  font-size: 1.2rem;
  font-weight: bold;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* ページネーション（ドット）カスタマイズ */
.hero-slider .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.6;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffffff;
}

/* ==========================================================================
   メインコンテンツエリア
   ========================================================================== */
.main-content {
  padding: 60px 0 80px 0;
  background-color: #ffffff;
}

/* コンテンツカード */
.content-card {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: stretch;
}

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

.card-image {
  flex: 0 0 450px;
  height: 280px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-box {
  width: 100%;
  height: 100%;
  background-color: #777777;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.8;
  text-align: justify;
}

.card-action {
  text-align: right;
  margin-top: 15px;
}

.btn-more {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--text-dark);
  padding: 4px 0;
  transition: opacity 0.2s;
}

.btn-more:hover {
  opacity: 0.7;
}

/* ==========================================================================
   フッターエリア
   ========================================================================== */
.site-footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding-top: 50px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}

.footer-catch {
  font-size: 0.8rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-company-name {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-address {
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* フッターナビゲーション */
.footer-nav ul {
  list-style: none;
  min-width: 220px;
}

.footer-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.8rem;
  color: #ffffff;
  text-align: right;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 0.7;
}

/* コピーライト */
.copyright-bar {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 12px 0;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   レスポンシブ対応 (画面幅 850px 以下)
   ========================================================================== */
@media (max-width: 850px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
    gap: 15px;
  }

  .global-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
  }

  .hero-slider {
    height: 250px;
  }

  .content-card {
    flex-direction: column;
    gap: 20px;
  }

  .card-image {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav a {
    text-align: left;
  }
}

/* ==========================================================================
   下層ページ（コンテンツページ）用追加スタイル
   ========================================================================== */

/* 下層ページ用メインビジュアル画像 */
.sub-hero {
  width: 100%;
  height: 320px;
  background-color: #f0f0f0;
  overflow: hidden;
}

.sub-hero-inner {
  width: 100%;
  height: 100%;
}

.sub-hero-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ページセクション */
.page-section {
  margin-bottom: 70px;
}

.page-section:last-child {
  margin-bottom: 0;
}

/* 見出し（下線付き） */
.page-section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--text-dark);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

/* 2カラム構成（左画像・右テキスト） */
.flex-block {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.block-image {
  flex: 0 0 450px;
  height: 280px;
  overflow: hidden;
}

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

.block-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-dark);
  text-align: justify;
}

/* 横長フルテキストブロック */
.full-text-block {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-dark);
  text-align: justify;
}

/* レスポンシブ対応（スマホ表示） */
@media (max-width: 850px) {
  .sub-hero {
    height: 200px;
  }

  .flex-block {
    flex-direction: column;
    gap: 20px;
  }

  .block-image {
    width: 100%;
    flex: none;
    height: 220px;
  }
}

/* 姓名横並び用スタイル */
.form-inline-group {
  display: flex;
  gap: 15px;
}

.form-inline-group .form-input {
  flex: 1;
}

.zip-input {
  max-width: 200px;
}

/* ==========================================================================
   確認画面・送信完了画面用追加CSS
   ========================================================================== */

/* 確認画面表示用リスト */
.confirm-list {
  max-width: 800px;
  margin: 0 auto 40px;
  border-top: 1px solid var(--border-color);
}

.confirm-item {
  display: flex;
  padding: 15px 10px;
  border-bottom: 1px solid var(--border-color);
}

.confirm-item dt {
  flex: 0 0 200px;
  font-weight: bold;
  font-size: 0.9rem;
}

.confirm-item dd {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.confirm-item dd.comment-display {
  white-space: pre-wrap; /* 改行をそのまま反映 */
}

/* ボタン横並び */
.confirm-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-back {
  background-color: #777777;
  color: #ffffff;
  border: none;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-back:hover {
  opacity: 0.85;
}

/* エラーメッセージ表示 */
.form-error-msg {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* 送信完了（Thanksページ） */
.thanks-section {
  text-align: center;
}

.thanks-message-box {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 40px 20px;
  background-color: #fcfcfc;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.thanks-lead {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.thanks-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-dark);
}

@media (max-width: 850px) {
  .confirm-item {
    flex-direction: column;
    gap: 5px;
  }
  .confirm-item dt {
    flex: none;
  }
  .confirm-btns {
    flex-direction: column;
  }
  .btn-back {
    width: 100%;
  }
}

/* ==========================================================================
   会社概要ページ用スタイル
   ========================================================================== */

/* 会社概要テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 50px;
}

.company-table tr {
  border-bottom: 1px solid var(--border-color);
}

.company-table th {
  width: 180px;
  padding: 22px 10px;
  text-align: left;
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--text-dark);
  vertical-align: middle;
}

.company-table td {
  padding: 22px 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  vertical-align: middle;
}

/* ==========================================================================
   Google Map スタイリング（幅1200px / 高さ780px - 標準カラー）
   ========================================================================== */

.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.styled-google-map iframe {
  display: block;
  width: 100%;
  height: 780px;
  /* フィルターを解除し、標準（ノーマル）のGoogleマップカラーを表示 */
  filter: none;
  -webkit-filter: none;
}

/* レスポンシブ対応 (スマホ等) */
@media (max-width: 850px) {
  /* スマホでのマップ高さ調整 */
  .styled-google-map iframe {
    height: 450px;
  }
}

/* ==========================================================================
   お問合せフォーム スタイリッシュデザイン
   ========================================================================== */

.form-lead-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #555555;
}

.styled-form-wrap {
  max-width: 960px;
  margin: 0 auto 60px;
}

.form-rows-container {
  border-top: 2px solid #800020; /* ブランドカラーのテーマ線 */
  border-bottom: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.form-row {
  display: flex;
  border-bottom: 1px solid #eeeeee;
  align-items: center;
}

.form-row.align-top {
  align-items: flex-start;
}

/* 左側：ラベルカラム */
.form-label-col {
  flex: 0 0 240px;
  background-color: #fcfafb;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 0.9rem;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-row.align-top .form-label-col {
  padding-top: 22px;
}

/* 必須バッジ */
.badge-req {
  background-color: #d9534f;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: normal;
  letter-spacing: 0.05em;
  margin-left: 8px;
}

/* 右側：入力カラム */
.form-input-col {
  flex: 1;
  padding: 16px 25px;
}

/* 入力パーツ共通 */
.form-input-text,
.form-textarea-text {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333333;
  background-color: #fafafa;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.form-input-text:focus,
.form-textarea-text:focus {
  outline: none;
  border-color: #800020;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(128, 0, 32, 0.15);
}

/* 横並び（姓・名） */
.input-twin {
  display: flex;
  gap: 15px;
}

.input-twin .form-input-text {
  flex: 1;
}

/* サイズ指定バリエーション */
.input-short {
  max-width: 200px;
}

.input-medium {
  max-width: 320px;
}

.form-textarea-text {
  resize: vertical;
  min-height: 140px;
}

/* 送信ボタンエリア */
.form-btn-area {
  text-align: center;
  margin-top: 40px;
}

.btn-primary-submit {
  display: inline-block;
  background: linear-gradient(135deg, #800020 0%, #a01030 100%);
  color: #ffffff;
  border: none;
  padding: 16px 70px;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  border-radius: 50px; /* 丸みのある洗練されたボタン */
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.25);
  transition: all 0.3s ease;
}

.btn-primary-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 0, 32, 0.35);
  opacity: 0.95;
}

/* エラーボックス */
.form-error-msg {
  background-color: #fdf2f2;
  color: #d9534f;
  border: 1px solid #f5c6cb;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* スマホ対応 (850px以下) */
@media (max-width: 850px) {
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-label-col {
    flex: none;
    width: 100%;
    padding: 12px 15px;
    background-color: #f5f5f5;
  }

  .form-input-col {
    padding: 12px 15px 18px;
  }

  .input-short,
  .input-medium {
    max-width: 100%;
  }

  .btn-primary-submit {
    width: 100%;
    padding: 16px 0;
  }
}

/* ==================================================
   看板制作ページ用スタイル
================================================== */

/* 全体コンテナ設定 */
.kanban-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  line-height: 1.8;
}

/* セクション共通見出し */
.kanban-section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 12px;
}
.kanban-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #0066cc;
  border-radius: 2px;
}

/* メインヒーローセクション */
.kanban-hero {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 60px;
  border-left: 6px solid #0066cc;
}
.kanban-hero h1 {
  font-size: 32px;
  color: #003366;
  margin: 0 0 16px 0;
  line-height: 1.4;
}
.kanban-hero p {
  font-size: 16px;
  margin: 0;
  color: #555555;
}

/* 強みセクション (グリッドレイアウト) */
.kanban-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.kanban-feature-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.kanban-feature-card:hover {
  transform: translateY(-4px);
}
.kanban-feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #e9ecef;
}
.kanban-feature-body {
  padding: 24px;
}
.kanban-feature-num {
  display: inline-block;
  background-color: #0066cc;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.kanban-feature-title {
  font-size: 18px;
  font-weight: bold;
  color: #003366;
  margin: 0 0 12px 0;
  line-height: 1.5;
}
.kanban-feature-desc {
  font-size: 14px;
  color: #666666;
  margin: 0;
}

/* フロー（流れ）セクション */
.kanban-flow-container {
  background-color: #f4f7f9;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 60px;
}
.kanban-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.kanban-flow-step {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border-top: 4px solid #0066cc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.kanban-step-head {
  font-weight: bold;
  color: #0066cc;
  font-size: 16px;
  margin-bottom: 8px;
}
.kanban-step-title {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 8px;
}
.kanban-step-desc {
  font-size: 13px;
  color: #666666;
  margin: 0;
}

/* メンテナンス・点検バナーセクション */
.kanban-maintenance-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #003366;
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}
.kanban-maint-text {
  flex: 1 1 500px;
  padding: 40px;
}
.kanban-maint-text h3 {
  font-size: 22px;
  margin: 0 0 16px 0;
  color: #ffffff;
}
.kanban-maint-text p {
  font-size: 15px;
  margin: 0;
  line-height: 1.8;
  color: #e0e0e0;
}
.kanban-maint-img {
  flex: 1 1 300px;
  height: 250px;
  object-fit: cover;
  background-color: #224466;
}

/* モバイル対応調整 */
@media (max-width: 768px) {
  .kanban-hero h1 { font-size: 24px; }
  .kanban-hero { padding: 24px; }
  .kanban-flow-container { padding: 20px; }
  .kanban-maint-text { padding: 24px; }
}

/* ==================================================
   店舗リフォームページ用スタイル
================================================== */

/* 全体コンテナ設定 */
.reform-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  line-height: 1.8;
}

/* セクション共通見出し */
.reform-section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #2D5A27;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 12px;
}
.reform-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #5B8C5A;
  border-radius: 2px;
}

/* メインヒーローセクション */
.reform-hero {
  background-color: #F4F7F4;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 60px;
  border-left: 6px solid #2D5A27;
}
.reform-hero h1 {
  font-size: 30px;
  color: #2D5A27;
  margin: 0 0 16px 0;
  line-height: 1.4;
}
.reform-hero p {
  font-size: 16px;
  margin: 0;
  color: #444444;
}

/* 強みセクション (グリッドレイアウト) */
.reform-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.reform-feature-card {
  background: #ffffff;
  border: 1px solid #E0E6E0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}
.reform-feature-card:hover {
  transform: translateY(-4px);
}
.reform-feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #EFEFEF;
}
.reform-feature-body {
  padding: 24px;
}
.reform-feature-num {
  display: inline-block;
  background-color: #5B8C5A;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.reform-feature-title {
  font-size: 18px;
  font-weight: bold;
  color: #2D5A27;
  margin: 0 0 12px 0;
  line-height: 1.5;
}
.reform-feature-desc {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

/* 対応工事マップ（箇条書きエリア） */
.reform-scope-box {
  background: #ffffff;
  border: 2px solid #5B8C5A;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 60px;
}
.reform-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.reform-scope-item {
  background: #F4F7F4;
  padding: 20px;
  border-radius: 8px;
}
.reform-scope-item h3 {
  font-size: 18px;
  color: #2D5A27;
  margin: 0 0 12px 0;
  border-bottom: 2px solid #5B8C5A;
  padding-bottom: 6px;
}
.reform-scope-item ul {
  margin: 0;
  padding-left: 20px;
  color: #444444;
  font-size: 14px;
}
.reform-scope-item li {
  margin-bottom: 6px;
}

/* フロー（流れ）セクション */
.reform-flow-container {
  background-color: #F4F7F4;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 60px;
}
.reform-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.reform-flow-step {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border-top: 4px solid #5B8C5A;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.reform-step-head {
  font-weight: bold;
  color: #5B8C5A;
  font-size: 16px;
  margin-bottom: 8px;
}
.reform-step-title {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 8px;
}
.reform-step-desc {
  font-size: 13px;
  color: #666666;
  margin: 0;
}

/* 居抜き・プチリノベバナーセクション */
.reform-renov-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #2D5A27;
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}
.reform-renov-text {
  flex: 1 1 500px;
  padding: 40px;
}
.reform-renov-text h3 {
  font-size: 22px;
  margin: 0 0 16px 0;
  color: #ffffff;
}
.reform-renov-text p {
  font-size: 15px;
  margin: 0;
  line-height: 1.8;
  color: #E0EFE0;
}
.reform-renov-img {
  flex: 1 1 300px;
  height: 260px;
  object-fit: cover;
  background-color: #1E3D1A;
}

/* モバイル対応調整 */
@media (max-width: 768px) {
  .reform-hero h1 { font-size: 22px; }
  .reform-hero { padding: 24px; }
  .reform-scope-box { padding: 20px; }
  .reform-flow-container { padding: 20px; }
  .reform-renov-text { padding: 24px; }
}

/* ==========================================
   service.html 専用スタイル (オレンジ基調 & 1200px)
   ========================================== */

/* カラー変数定義 */
.page-service {
  --orange-main: #f26522;
  --orange-dark: #d85011;
  --orange-light: #fff8f5;
  --orange-border: #ffccb3;
  --text-color: #333333;
  --bg-gray: #f8f9fa;
  color: var(--text-color);
}

/* 上部メイン画像エリア（ヒーロー） */
.page-hero-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-image-wrap {
  position: relative;
  height: 320px;
  background-color: #333;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* 画像の上に暗めの半透明マスクを敷いて文字を見やすく */
  display: flex;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .hero-image-wrap {
    height: 220px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
}

/* メインコンテナ（最大幅 1200px） */
.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション共通スタイル */
.service-section {
  padding: 60px 0;
}

.service-section:nth-child(even) {
  background-color: var(--bg-gray);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  font-size: 1.8rem;
  color: #222;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--orange-main);
  border-radius: 2px;
}

.section-lead {
  margin-top: 15px;
  color: #666;
  font-size: 1rem;
}

/* ワンストップ強みエリア (3カラムグリッド) */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.strength-card {
  background: #ffffff;
  border: 2px solid var(--orange-border);
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(242, 101, 34, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--orange-main);
}

.strength-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 101, 34, 0.15);
}

.strength-num {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--orange-main);
  margin-bottom: 10px;
}

.strength-card-title {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: bold;
}

.strength-card-text {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* サービスカテゴリー (2列グリッド) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 850px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-box {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-box-header {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 2px solid var(--orange-light);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.service-badge {
  background: var(--orange-main);
  color: #fff;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.service-box-title {
  font-size: 1.3rem;
  color: #222;
  font-weight: bold;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #444;
}

.service-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange-main);
  font-weight: bold;
}

.service-note {
  margin-top: 15px;
  padding: 12px 15px;
  background: var(--orange-light);
  border-left: 4px solid var(--orange-main);
  font-size: 0.9rem;
  color: #555;
  border-radius: 0 6px 6px 0;
}

/* お問い合わせCTAエリア */
.cta-section {
  background: linear-gradient(135deg, #f26522 0%, #d85011 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cta-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.cta-text {
  font-size: 1.05rem;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--orange-dark);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #fff3eb;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ==========================================
   制作事例ページ (works.html) 専用スタイル
   ========================================== */

/* ページ見出し */
.page-title-wrap {
  margin-top: 40px;
  margin-bottom: 50px;
  border-bottom: 2px solid #333333;
  padding-bottom: 10px;
}

.page-title {
  font-size: 2.2rem;
  font-weight: normal;
  color: #111111;
  margin: 0;
}

/* 制作事例グリッドレイアウト (PC: 3列配置) */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  margin-bottom: 80px;
}

/* 各事例カード */
.works-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ★グレー背景の台紙（ここを完全な正方形にします） */
.works-thumb-bg {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形を保証 */
  background-color: #cccccc; /* 画像の台紙グレー */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%; /* 外枠と写真の間のグラフィック再現余白 */
  box-sizing: border-box;
  overflow: hidden; /* はみ出し防止 */
}

/* ★事例写真本体（背景の中に絶対収まるように固定） */
.works-thumb-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain; /* 写真をトリミングせず収める */
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 写真の影 */
}

/* クライアント名テキスト */
.works-client {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: bold;
  color: #111111;
  text-align: center;
}

/* タブレット表示対応 (2列切り替え) */
@media (max-width: 992px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

/* スマホ表示対応 (1列切り替え) */
@media (max-width: 576px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .page-title {
    font-size: 1.8rem;
  }
}

/* ==========================================
   制作事例 モーダル＆スライドショー用CSS
========================================== */

/* サムネイルをカーソルONでポインター化 */
.works-thumb-bg {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.works-thumb-bg:hover {
  opacity: 0.85;
}

/* モーダル全体のコンテナ */
.works-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 表示時のクラス */
.works-modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* 暗い背景（オーバーレイ） */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
}

/* モーダルコンテンツ配置 */
.modal-content {
  position: relative;
  z-index: 10000;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* 拡大画像 */
.modal-img {
  max-width: 80vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background-color: #fff;
}

/* 画像下のテキスト（お客様名） */
.modal-caption {
  color: #ffffff;
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  padding: 0 10px;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ccc;
}

/* 前へ・次へ矢印ボタン */
.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #ffffff;
  font-size: 28px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.modal-prev {
  left: -60px;
}

.modal-next {
  right: -60px;
}

.modal-prev:hover,
.modal-next:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* スマホ表示用の微調整 (768px以下) */
@media (max-width: 768px) {
  .modal-img {
    max-width: 90vw;
    max-height: 65vh;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  .modal-close {
    top: -40px;
    right: 5px;
  }
}

/* ==========================================
   サービスラインナップ画像用スタイル
========================================== */
.service-box {
  overflow: hidden; /* 画像がカードからはみ出るのを防ぐ */
}

.service-box-img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 1600x1200 (4:3) の縦横比を綺麗に維持 */
  overflow: hidden;
  border-radius: 8px 8px 0 0; /* カード上部の角丸 */
}

.service-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像の比率を崩さず領域いっぱいに表示 */
  transition: transform 0.3s ease;
}

/* ホバー時に画像を少し拡大する演出 */
.service-box:hover .service-box-img img {
  transform: scale(1.05);
}

/* 画像とカードヘッダー内の余白調整 */
.service-box-header {
  padding-top: 15px;
}

