@charset "UTF-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #fff9e6; /* チラシに合わせた明るいイエローベース */
  color: #333;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================
   背景：ぐるぐる回転するイエロー集中線
   ========================================== */
.sunburst-bg {
  position: fixed;
  top: -50vw;
  left: -50vw;
  width: 200vw;
  height: 200vw;
  background: repeating-conic-gradient(
    from 0deg,
    #fffde7 0deg 10deg,
    #fff8c5 10deg 20deg
  );
  z-index: -1;
  pointer-events: none;
  animation: rotateSunburst 60s linear infinite;
  opacity: 0.6;
}

@keyframes rotateSunburst {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- 1. ファーストビュー --- */
.fv-header {
  /*background-color: rgba(255, 255, 255, 0.95);*/
  text-align: center;
  padding: 24px 0 20px;
  border-bottom: 3px solid #f39c12;
	max-width: 900px;
    margin: 0 auto;
}
/* ==========================================
   TOPエリア お祭りイラストあしらい
========================================== */
.fv-header {
  position: relative;
  overflow: hidden; /* 画面外へのはみ出しを防止 */
}

/* イラスト共通設定 */
.matsuri-decorations .matsuri-item {
  position: absolute;
  z-index: 1; /* 背景とテキストの間に配置 */
  pointer-events: none; /* クリック操作を邪魔しない */
  max-width: 120px; /* PCでの基本サイズ */
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)); /* 軽く影をつけて立体感UP */
}

/* 各イラストの個別配置 (画面の隅や左右に散りばめる) */
.matsuri-item.item-mikoshi {
  top: 10%;
  left: 3%;
  width: 130px;
}

.matsuri-item.item-taiko {
  bottom: 12%;
  right: 4%;
  width: 120px;
}

.matsuri-item.item-person1 {
  top: 15%;
  right: 5%;
  width: 90px;
}

.matsuri-item.item-person2 {
  bottom: 8%;
  left: 5%;
  width: 95px;
}

/* ------------------------------------------
   アニメーション定義 (キーフレーム)
------------------------------------------ */
/* 上下にふわふわ浮遊 */
@keyframes floatY {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* 左右にゆらゆらスイング */
@keyframes swingDeg {
  0% { transform: rotate(-5deg) translateY(0px); }
  50% { transform: rotate(5deg) translateY(-6px); }
  100% { transform: rotate(-5deg) translateY(0px); }
}

/* 各クラスにアニメーション適用 */
.float-anim {
  animation: floatY 3.5s ease-in-out infinite;
}

.float-anim-reverse {
  animation: floatY 4s ease-in-out 1.5s infinite; /* タイミングをずらす */
}

.swing-anim {
  animation: swingDeg 3s ease-in-out infinite;
}

.swing-anim-reverse {
  animation: swingDeg 3.8s ease-in-out 0.8s infinite;
}
/* ==========================================
   お祭り屋台 お品書き風カード (画像・リンクなし)
========================================== */
.yatai-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PC表示：横に5つ並べる */
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.yatai-card {
  background-color: #ffffff; /* 白背景 */
  border: 3px solid #d32f2f;  /* 外側の赤い太線 */
  outline: 1.5px solid #d32f2f; /* 内側の赤い細線 */
  outline-offset: -5px;       /* 内側に数ミリ（5px）オフセットして二重線にする */
  padding: 16px 8px;
  text-align: center;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif; /* 屋台風の明朝体 */
  font-size: 20px;
  font-weight: 900;
  color: #111;
  letter-spacing: 2px;       /* 文字間隔を広げて和風感を演出 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.parking {
    margin: 0 auto;
	width: 90%;
    max-width: 1000px;
}

.parking li {
    background-color: #fff;
    margin: 0 0 10px;
    text-align: left;
    padding: 5px 50px;
}


.parking ul li a span {
    color: #2196F3;
    text-decoration: underline;
	font-size: .9em;
}

.parking > p {
    padding: 0 0 30px;
    display: block;
}

.parking > p span {
	font-weight: bold;
	color: #C61E21;
}

/* スマホ表示対応 */
@media (max-width: 767px) {
  .yatai-menu-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホでは2列で並べる */
    gap: 8px;
  }
  
  .yatai-card {
    font-size: 16px;
    padding: 12px 4px;
    min-height: 55px;
    outline-offset: -4px; /* スマホ用に内線幅を微調整 */
  }
	.parking li {
    text-align: center;
    padding: 10px;
	}
	.parking > p {
    text-align: left;
	}
}

/* ------------------------------------------
   スマホ表示（レスポンシブ）調整
------------------------------------------ */
@media (max-width: 768px) {
  .matsuri-decorations .matsuri-item {
    max-width: 75px; /* スマホでは小さめに縮小 */
    opacity: 0.85;   /* スマホの狭い画面でも文字が見やすいよう若干透過 */
  }

  .matsuri-item.item-mikoshi {
    top: 42%;
    left: 2%;
    width: 75px;
  }

  .matsuri-item.item-taiko {
    bottom: 16%;
    right: 2%;
    width: 75px;
  }

  .matsuri-item.item-person1 {
    top: 44%;
    right: 4%;
    width: 45px;
  }

  .matsuri-item.item-person2 {
    bottom: 15%;
    left: 3%;
    width: 55px;
  }
}

/* タイトル画像のレスポンシブ対応 */
.main-title .title-img {
  width: 100%;
  max-width: 600px; /* PC表示時のお好みの最大幅 */
  height: auto;
  display: block;
  margin: 0 auto;
}

.main-title {
  font-size: 34px;
  font-weight: 900;
  color: #d93737;
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 0 3px 6px rgba(0,0,0,0.2);
  line-height: 1.1;
}

.main-title .sub {
  display: block;
  font-size: 18px;
  color: #0056b3;
}

.tagline {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-top: 4px;
}

.event-date-top {
  font-size: 26px;
  font-weight: 900;
  margin-top: 6px;
  color: #111;
}

.event-date-top .day {
  font-size: 14px;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin: 0 2px;
}

.event-date-top .day.sat { background-color: #1b6ec2; }
.event-date-top .day.sun { background-color: #d9534f; }

.countdown-box {
	background-color: #c00;
    color: #fff;
    display: inline-block;
    padding: 6px 18px;
    /* border-radius: 30px; */
    margin: 10px 0 16px;
    font-weight: bold;
}

.cd-number {
  font-size: 36px;
  color: #ffeb3b;
  margin: 0 4px;
}

.reserve-btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.btn-reserve {
  flex: 1;
  padding: 12px 0;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.1s;
}

.btn-reserve:active {
  transform: translateY(2px);
}

.btn-new { background-color: #008080; }
.btn-reform { background-color: #e65100; }

/* --- 2. ナビゲーション --- */
.sub-nav {
  background-color: #222;
  width: 100%;
}

.nav-container {
  display: flex;
  height: 46px;
}

.nav-item {
  flex: 1;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #444;
}

.nav-item:last-child {
  border-right: none;
  background-color: #d9534f;
}

/* プレースホルダー */
img.placeholder-img {
  width: 80%;
  height: auto;
  display: block;
  background-color: #fff;
  object-fit: cover;
  margin: 0 auto;
}

img.placeholder-copyright {
  max-width: 80%;
  height: auto;
  margin: 6px auto 0;
  display: block;
}

/* --- 3. 最新情報 --- */
.news-section {
  background-color: rgba(233, 236, 239, 0.9);
  padding: 20px 0;
}

.section-title {
  font-size: 20px;
  border-bottom: 3px solid #0056b3;
  padding-bottom: 4px;
  margin-bottom: 16px;
  font-weight: 900;
}

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

.section-title.white {
  color: #fff;
  border-bottom-color: #fff;
}

.section-title span {
  font-size: 12px;
  color: #666;
  font-weight: normal;
  margin-left: 6px;
}

.section-title.white span { color: #ccc; }

.news-list {
  list-style: none;
  font-size: 13px;
}

.news-item {
  background-color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.news-date {
  font-weight: bold;
  color: #0056b3;
  margin-right: 8px;
}

/* --- 4. CSSタブ切り替え & イベントカードグリッド --- */
input[name="event-tab"] {
  display: none;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 400px;
  margin: 0 auto 20px;
}

.tab-btn {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #ccc;
  background-color: #fff;
  color: #555;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

#tab-all:checked ~ .filter-tabs .btn-all {
  background-color: #222;
  color: #fff;
  border-color: #222;
}

#tab-1114:checked ~ .filter-tabs .btn-sat {
  background-color: #1b6ec2;
  color: #fff;
  border-color: #1b6ec2;
}

#tab-1115:checked ~ .filter-tabs .btn-sun {
  background-color: #d9534f;
  color: #fff;
  border-color: #d9534f;
}

#tab-1114:checked ~ .events-grid .day-1115:not(.day-1114) {
  display: none !important;
}

#tab-1115:checked ~ .events-grid .day-1114:not(.day-1115) {
  display: none !important;
}

/* イベントカードグリッド調整 */
.events-section {
  padding: 30px 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-flow: dense; /* 空白部分を後続カードで埋める */
}

.card-large {
  grid-column: span 2;
  grid-row: span 2; /* 縦2マス占有して高さの縦伸びを抑える */
}

.card-small {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 767px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .card-large {
    grid-column: span 2;
    grid-row: auto; /* スマホ時は1列・2列の自動流し込み */
  }
  
  .card-small {
    grid-column: span 1;
    grid-row: auto;
  }
}

.event-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 3px solid #ccc;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.border-yellow { border-color: #f39c12; }
.border-red    { border-color: #e74c3c; }
.border-blue   { border-color: #3498db; }
.border-gold   { border-color: #d4ac0d; }
.border-purple { border-color: #8e44ad; }
.border-orange { border-color: #e65100; }
.border-green  { border-color: #2ecc71; }

.img-wrapper {
  width: 100%;
}

.event-details {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sub-caption {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  color: #444;
  margin-bottom: 6px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.badge {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  padding: 2px 15px;
  border-radius: 12px;
}

.badge-date {
  font-size: 20px;
  padding: 3px 20px;
  border-radius: 4px;
}

.badge-date-mini {
	font-size: 10px;
    padding: 3px 15px;
    border-radius: 4px;
}

.bg-blue   { background-color: #1b6ec2; }
.bg-lightblue   { background-color: #4ec1c4; }
.bg-red    { background-color: #d9534f; }
.bg-orange {     background-color: #f3991b; border: 1px solid #f3991b; }
.bg-black  {     background-color: #fff; border: 1px solid #595959; color: #595959; }
.bg-purple { background-color: #8e44ad; }
.bg-yellow { background-color: #d0d649; }
.bg-pink { background-color: #e958c5; }

.time-schedule {
  background-color: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 6px;
  margin: 6px 0;
  text-align: center;
}

.time-schedule p {
  font-size: 20px;
  font-weight: bold;
  display: inline-grid;
}

.time-schedule-mini p {
  font-size: 14px;
  font-weight: bold;
  display: inline-grid;
}

.time-label {
  display: inline-block;
  font-size: 10px;
  background-color: #6c757d;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
  margin-right: 3px;
}

.sub-content-box {
  background-color: #fffde7;
  border: 1px dashed #fbc02d;
  border-radius: 6px;
  padding: 14px;
  margin: 6px 0;
  text-align: left;
}

.sub-box-title {
  font-size: 11px;
  font-weight: bold;
  color: #f57f17;
  margin: 3px 0 10px;
}

.content-list {
  list-style-position: inside;
  font-size: 11px;
}

.event-note {
  font-size: 10px;
  color: #515151;
  text-align: left;
}

/* --- 5. 住宅相談 ＋ 豪華特典バナー --- */
/* ==========================================
   特典バナー アコーディオン（条件・注意事項）
========================================== */
.bonus-conditions-accordion {
  margin-top: 16px;
  background-color: #ffffff;
  border: 1px solid #ffcc80;
  border-radius: 8px;
  overflow: hidden;
}

/* アコーディオンの見出しボタン */
.accordion-summary {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  color: #d32f2f;
  background-color: #fff3e0;
  cursor: pointer;
  text-align: center;
  list-style: none; /* デフォルトの矢印を非表示 */
  user-select: none;
  transition: background-color 0.2s;
}

.accordion-summary::-webkit-details-marker {
  display: none; /* Safari用のデフォルト矢印非表示 */
}

.accordion-summary:hover {
  background-color: #ffe0b2;
}

/* 開いた状態の見出し */
.bonus-conditions-accordion[open] .accordion-summary {
  border-bottom: 1px solid #ffcc80;
}

/* 中身のコンテンツエリア */
.accordion-content {
  padding: 16px;
  font-size: 12px;
  color: #444;
  line-height: 1.6;
  text-align: left;
}

.condition-title {
  font-size: 13px;
  font-weight: bold;
  color: #b71c1c;
  margin-bottom: 6px;
}

.condition-list {
  padding-left: 18px;
  margin-bottom: 10px;
}

.condition-list li {
  margin-bottom: 4px;
}

.condition-notes {
  list-style: none;
  padding-left: 0;
}

.condition-notes li {
  margin-bottom: 2px;
  color: #666;
}
.housing-section {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px 0;
}

.section-intro-text {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  font-weight: bold;
}

.housing-bonus-banner {
  background: linear-gradient(135deg, #fff9e6 0%, #ffecb3 50%, #ffe082 100%);
  border: 4px solid #f57c00;
  border-radius: 16px;
  padding: 24px 16px 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(245, 124, 0, 0.25), inset 0 0 15px rgba(255, 255, 255, 0.8);
  position: relative;
}

.bonus-header {
  text-align: center;
  margin-bottom: 20px;
}

.bonus-tag {
  background: linear-gradient(90deg, #d32f2f, #ff1744);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(211, 47, 47, 0.4);
}

.bonus-title {
  font-size: 22px;
  font-weight: 900;
  color: #b71c1c;
  margin-top: 8px;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
  line-height: 1.3;
}
.sparkle {
  color: #ffb300;
  display: inline-block;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

.bonus-lead {
  font-size: 13px;
  font-weight: bold;
  color: #e65100;
  margin-top: 4px;
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
/* 特典カードグリッド */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 4px;
}
/* ==========================================
   特典バナー グリッド拡張 (3列対応 & リフォーム用)
========================================== */

/* 新築特典：PCで3つ綺麗に並べるグリッド設定 */
.bonus-grid.grid-3col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

@media (max-width: 900px) {
  .bonus-grid.grid-3col {
    grid-template-columns: repeat(1, 1fr); /* タブレット・スマホでは1列縦並び */
  }
}

/* バッジの追加カラー */
.bonus-badge.badge-gold {
  background: linear-gradient(135deg, #f57c00, #ff9800);
}

.bonus-badge.badge-reform {
  background: linear-gradient(135deg, #e65100, #ff6f00);
}

/* 強調テキスト（赤太字） */
.highlight-red {
  color: #d32f2f;
  font-size: 20px;
  font-weight: 900;
}

/* ------------------------------------------
   リフォーム特典専用カラーテーマ
------------------------------------------ */
.housing-bonus-banner.banner-reform {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ffcc80 100%);
  border-color: #e65100;
}

.bonus-tag.tag-reform {
  background: linear-gradient(90deg, #e65100, #f57c00);
}

.bonus-title.title-reform {
  color: #bf360c;
}

.bonus-lead.lead-reform {
  color: #d84315;
}

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

.badge-mini {
    font-size: 8px;
    font-weight: bold;
    padding: 4px 9px;
    border-radius: 9px;
    letter-spacing: normal;
}
}

.bonus-card {
  background-color: #ffffff;
  border: 1px solid #ffb74d;
  border-radius: 12px;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.bonus-card:hover {
  transform: translateY(-3px);
}

.bonus-badge {
  position: absolute;
  top: -12px;
  left: 12px;
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.bonus-badge.badge-special {
  background: linear-gradient(135deg, #e65100, #ff6f00);
}

/* 参考画像枠 */
.bonus-img-wrapper {
  width: 100%;
  max-width: 180px;
  margin: 8px 0 10px;
  border-radius: 8px;
  overflow: hidden;
}

.bonus-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.bonus-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bonus-subtitle {
  font-size: 8px;
  font-weight: bold;
  color: #555;
  background-color: #fff3e0;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
  display: inline-block;
}

.bonus-main-text {
  font-size: 15px;
  font-weight: 900;
  color: #222;
  line-height: 1.3;
}
/* 金額テキストのバツグンの強調表示 */
.highlight-gold {
  color: #d32f2f;
  font-weight: 900;
  display: inline-block;
}
.highlight-gold .num {
  font-size: 32px; /* 数字を大きく */
  font-family: 'Impact', 'Arial Black', sans-serif;
  color: #d32f2f;
  text-shadow: 1px 1px 0 #fff;
  letter-spacing: -1px;
}

.highlight-large .num {
  font-size: 36px; /* 特典2の30,000円はさらに大きくインパクトを */
  color: #b71c1c;
}
.bonus-note {
  font-size: 10px;
  color: #777;
  margin-top: 6px;
}

.housing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

/* --- 6. グルメ＆マルシェ --- */
.gourmet-section {
  padding: 30px 0;
}

.gourmet-category {
  margin-bottom: 24px;
}

.category-title {
  color: #fff;
  padding: 6px 12px;
  font-size: 15px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

/* ショップ画像の枠線とサイズ固定（1:1 正方形） */
.shop-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* 4/3 から 1/1（正方形）に変更 */
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background-color: #f5f5f5;
}

.shop-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を崩さず枠いっぱいに収める */
  object-position: center; /* 画像の中央を基準にトリミング */
}

@media (max-width: 767px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shop-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.shop-date-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
}

.shop-img-wrapper {
  height: 140px;
}

.shop-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shop-name {
  font-size: 13px;
  font-weight: bold;
}

.shop-menu {
  font-size: 11px;
  color: #666;
  margin: 2px 0 6px;
  flex-grow: 1;
}

.shop-insta {
  font-size: 11px;
  color: #e1306c;
  text-decoration: none;
  font-weight: bold;
}

/* --- 7. タイムスケジュール --- */
.timetable-section {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px 0;
}

.tt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.tt-day-title {
  color: #fff;
  padding: 8px;
  text-align: center;
  border-radius: 6px 6px 0 0;
  font-size: 15px;
}

.tt-list {
  list-style: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 12px;
}

.tt-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
}

.tt-time {
  width: 55px;
  font-weight: bold;
  color: #0056b3;
  flex-shrink: 0;
}

.tt-text {
  flex-grow: 1;
}

/* --- 8. アクセスマップ --- */
.access-section {
  padding: 30px 0;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.map-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #ddd;
}

.map-title {
  font-size: 14px;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
}

.map-desc {
  font-size: 11px;
  color: #666;
  margin-top: 6px;
}

/* --- 9. お問い合わせ --- */
.contact-section {
  background-color: #222;
  padding: 32px 0;
  text-align: center;
}

.contact-desc {
  color: #fff;
  margin-bottom: 16px;
  font-size: 13px;
}

/* --- 10. 出店・協賛・協力企業ロゴリンク --- */
.sponsors-section {
  background-color: #fff9e6;
  padding: 40px 0 20px;
}

.sponsors-main-title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #222;
  margin-bottom: 24px;
}

.sponsor-group {
  margin-bottom: 24px;
  text-align: center;
}

.sponsor-sub-title {
  font-size: 15px;
  font-weight: bold;
  color: #444;
  margin-bottom: 12px;
}

.logo-grid {
  display: grid;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.logo-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
  .logo-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.logo-card {
  background-color: #fff;
  border-radius: 6px;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  min-height: 60px;
}

.logo-link {
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.logo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

img.placeholder-logo {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.text-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .text-link-grid {
    grid-template-columns: 1fr;
  }
}

.text-link-card {
  background-color: #fff;
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background-color 0.2s;
}

.text-link-card:hover {
  background-color: #fff3e0;
}

/* --- 11. フッター --- */
.footer {
  background-color: #1a1a1a;
  color: #bbb;
  padding: 20px 0;
  font-size: 11px;
  text-align: center;
}

.company-name {
  font-weight: bold;
  color: #fff;
  font-size: 13px;
}

.address,
.tel {
  margin: 2px 0;
}

.copyright {
  margin-top: 8px;
  color: #777;
}
/* ==========================================
   住宅相談セクション：PC表示で2行2列（左右セット配置）
========================================== */

@media screen and (min-width: 768px) {
  /* 全体を囲むコンテナを2カラムのグリッドに設定 */
  .housing-rows-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 左右に50%ずつ配置 */
    gap: 24px !important;
    align-items: stretch !important;
  }

  /* --- 【上段】新築セット --- */
  .housing-row.row-new {
    grid-column: 1 / 3 !important; /* 上段の全幅（2列分）を使って左右に並べる */
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* 新築の左側（特典）と右側（内容） */
  .housing-row.row-new > .housing-bonus-banner {
    grid-column: 1 / 2 !important;
    margin-bottom: 0 !important;
    height: 100%;
  }
  .housing-row.row-new > .event-card {
    grid-column: 2 / 3 !important;
    margin-bottom: 0 !important;
    height: 100%;
  }

  /* --- 【下段】リフォームセット --- */
  .housing-row.row-reform {
    grid-column: 1 / 3 !important; /* 下段の全幅（2列分）を使って左右に並べる */
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* リフォームの左側（特典）と右側（内容） */
  .housing-row.row-reform > .housing-bonus-banner {
    grid-column: 1 / 2 !important;
    margin-bottom: 0 !important;
    height: 100%;
  }
  .housing-row.row-reform > .event-card {
    grid-column: 2 / 3 !important;
    margin-bottom: 0 !important;
    height: 100%;
  }
}

/* スマホ表示（767px以下）のときは縦1列に安全に戻す */
@media screen and (max-width: 767px) {
  .housing-rows-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .housing-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
}