/* =========================================
   Re:ホーム LP - 住まいのトミタ
   メインスタイルシート
   ========================================= */

/* --- CSS Variables --- */
:root {
  --primary:     #1a4c3b;    /* ディープグリーン */
  --primary-light: #2a7a5e;
  --primary-dark: #102d23;
  --accent:      #c8a050;    /* ゴールド */
  --accent-light: #e0bc70;
  --reform:      #2e6da4;    /* リフォームブルー */
  --reform-light:#4a90d9;
  --renovation:  #1a4c3b;    /* リノベグリーン */
  --bg:          #f8f7f5;
  --bg-dark:     #1a1a1a;
  --text:        #2c2c2c;
  --text-sub:    #666;
  --white:       #ffffff;
  --border:      #e4e0d8;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.16);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --font-sans:   'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Container --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;gap: 0 20px;align-items: center;
}
.logo-brand {display: inline-block;width: 180px;}
.logo-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-serif);
  letter-spacing: .05em;padding: 3px 0 0 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

@media screen and (min-width : 840px) and (max-width : 1050px) {

.header-inner {
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo {
  display: flex;gap: 0 20px;align-items: center;
}
.logo-brand {display: inline-block;width: 150px;}
.logo-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-serif);
  letter-spacing: .05em;padding: 3px 0 0 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-nav a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

}




.header-nav a:not(.btn-header-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.header-nav a:not(.btn-header-cta):hover::after { right: 0; }
.btn-header-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-header-cta:hover { background: var(--primary-light); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-item {
  padding: 14px 24px;
  font-size: .9375rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav-item.cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  border-bottom: none;
  margin: 8px 16px;
  border-radius: var(--radius);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; border-radius: var(--radius); }
.btn-primary {
  background: var(--primary);
  color: var(--white)!important;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,76,59,.3); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: var(--white)!important;
  border-color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }




/* =========================================
   HERO SECTION (親要素)
   ========================================= */
.hero { position: relative; width: 100%; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; }

/* =========================================
   SWIPER / BACKGROUND (絶対配置で背面に固定)
   ========================================= */
.hero-bg { position: absolute!important; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-bg .swiper-slide { width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); transform: scale(1); transition: transform 12s linear; }
.hero-bg .swiper-slide-active img { transform: scale(1.15); }

/* =========================================
   OVERLAY (緑のグラデーションと斜線テクスチャ)
   ========================================= */
   /*
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(-45deg, transparent 0px, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px), linear-gradient(135deg, rgba(16,45,35,0.85) 0%, rgba(26,76,59,0.65) 40%, rgba(42,122,94,0.55) 70%, rgba(26,76,59,0.85) 100%); opacity: 0.7;}*/

.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(-45deg, transparent 0px, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px), linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(10,30,23,0.85) 40%, rgba(15,45,35,0.75) 70%, rgba(0,0,0,0.95) 100%); opacity: 0.5; }

/* 放射状の光をさらに重ねて奥行きを出す場合（オプション） */
.hero-overlay::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 20%, rgba(16,45,35,0.8) 100%); }

/* =========================================
   HERO CONTENT (文字・ゴールドアクセントの復元)
   ========================================= */
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 860px; margin: 0 auto; padding: 120px 24px 80px; text-align: center; color: #fff; }

/* ラベル：枠線と文字をゴールドに */
.hero-label { display: inline-block; border: 1px solid #c8a050; color: #e0bc70; font-size: .75rem; letter-spacing: .15em; padding: 6px 18px; border-radius: 50px; margin-bottom: 24px; font-weight: 500; font-feature-settings: "palt"; text-shadow: #000 2px 2px 18px;}

/* ブランドロゴ：Re:は白、ホームはゴールドに */
.hero-brand { font-family: var(--font-serif); font-size: clamp(3rem, 10vw, 6rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: #fff; letter-spacing: 0.05em; font-feature-settings: "palt"; text-shadow: #333 2px 2px 12px;}
.brand-accent { color: #c8a050; }

/* キャッチコピー */
.hero-catch { font-family: var(--font-serif); font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 400; letter-spacing: 0.2em; color: #fff; margin-bottom: 28px; font-feature-settings: "palt"; text-shadow: #000 2px 2px 12px;}

/* 説明文 */
.hero-sub { font-size: clamp(.8rem, 2vw, 1rem); line-height: 2; color: rgba(255,255,255,0.85); margin-bottom: 44px; font-feature-settings: "palt";text-shadow: #000 2px 2px 12px; }

/* =========================================
   CTA BUTTONS (ボタン配色の復元)
   ========================================= */
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-size: .9375rem; font-weight: 700; transition: .3s cubic-bezier(.4, 0, .2, 1); cursor: pointer; border: none; text-decoration: none; }

/* 左側：白背景に深緑文字 */
.btn-white { background: #fff; color: #1a4c3b; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }

/* 右側：深緑背景に白文字 */
.btn-primary { background: #1a4c3b; color: #fff; }
.btn-primary:hover { background: #2a7a5e; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26, 76, 59, 0.3); }

/* =========================================
   SCROLL INDICATOR
   ========================================= */
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.2em; animation: scrollBounce 2s ease-in-out infinite; text-decoration: none; color: #fff !important;}
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }






/* =========================================
   ANIMATIONS
   ========================================= */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s ease forwards;
}
.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .6s; }
.delay-4 { animation-delay: .8s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVIGATOR (入口2カラム)
   ========================================= */
.navigator {
  background: var(--white);
  padding: 60px 0;
}
.nav-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.nav-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 36px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.nav-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}
.nav-card--reform::before { background: linear-gradient(135deg, rgba(46,109,164,.05), rgba(46,109,164,.1)); }
.nav-card--renovation::before { background: linear-gradient(135deg, rgba(26,76,59,.05), rgba(26,76,59,.1)); }
.nav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.nav-card:hover::before { opacity: 1; }
.nav-card--reform:hover { border-color: var(--reform-light); }
.nav-card--renovation:hover { border-color: var(--primary-light); }
.nav-card-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.nav-card--reform .nav-card-icon { background: rgba(46,109,164,.1); color: var(--reform); }
.nav-card--renovation .nav-card-icon { background: rgba(26,76,59,.1); color: var(--primary); }
.nav-card-tag {
  font-size: .7rem;
  letter-spacing: .15em;
  font-weight: 700;
  margin-bottom: 6px;
}
.nav-card--reform .nav-card-tag { color: var(--reform); }
.nav-card--renovation .nav-card-tag { color: var(--primary); }
.nav-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 12px;
}
.nav-card-desc {
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 16px;
}
.nav-card-link {
  font-size: .875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-card--reform .nav-card-link { color: var(--reform); }
.nav-card--renovation .nav-card-link { color: var(--primary); }

/* =========================================
   SECTION COMMON
   ========================================= */
.section-block {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .2em;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 16px;
}
.tag-dark { color: var(--accent-light); border-color: var(--accent-light); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text);
}
.section-title.white { color: var(--white); }
.section-lead {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.section-lead.white { color: rgba(255,255,255,.75); }
.section-cta {
  text-align: center;
  margin-top: 60px;
}

/* =========================================
   REFORM SECTION
   ========================================= */
.reform-section {
  background: var(--bg);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.menu-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--reform), var(--reform-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.menu-card:hover::after { transform: scaleX(1); }
.menu-icon {
  width: 52px; height: 52px;
  background: rgba(46,109,164,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--reform);
  margin-bottom: 16px;
}
.menu-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.menu-card p {
  font-size: .8rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 16px;
}
.menu-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--reform);
  font-family: var(--font-serif);
}

/* =========================================
   RENOVATION SECTION
   ========================================= */
.renovation-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.reno-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.reno-flow-title, .reno-types-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.6;
}
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px; top: 44px;
  width: 2px;
  height: calc(100% - 28px);
  background: rgba(200,160,80,.3);
}
.step-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.step-body h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  padding-top: 8px;
}
.step-body p {
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
}
.reno-type-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reno-type-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.reno-type-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateX(4px);
}
.reno-type-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(200,160,80,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-light);
}
.reno-type-card h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.reno-type-card p {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 8px;
}
.reno-type-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: var(--font-serif);
}

/* =========================================
   FEATURES
   ========================================= */
.features-section { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}
.feature-num-wrap {
  display: contents;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.feature-num {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--primary);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 50px;
}
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(26,76,59,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 12px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: .8125rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* 数字ブロック */
.numbers-block {
  background: var(--primary);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}
.numbers-title {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  letter-spacing: .15em;
  margin-bottom: 36px;
  font-weight: 500;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.number-item { text-align: center; }
.number-val {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.number-plus { font-size: 1.4rem; }
.number-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}

.data_update {text-align: right;padding: 10px 10px 0 0}

/* =========================================
   CASES
   ========================================= */
.cases-section { background: var(--bg); }
.case-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--text-sub);
  background: var(--white);
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}


/*SP*/
@media screen and (max-width : 840px) {
  .case-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
  }
  .filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--text-sub);
    background: var(--white);
    transition: var(--transition);
  }
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card.hidden { display: none; }
.case-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.case-img--1 { background: linear-gradient(135deg, #3a5a4a, #1a3028); }
.case-img--2 { background: linear-gradient(135deg, #2e4a7a, #1a2d4f); }
.case-img--3 { background: linear-gradient(135deg, #4a5a3a, #2a3820); }
.case-img--4 { background: linear-gradient(135deg, #4a3a2e, #2d2018); }
.case-img--5 { background: linear-gradient(135deg, #2a4a5a, #152830); }
.case-img--6 { background: linear-gradient(135deg, #5a4a3a, #302518); }
/* 疑似施工写真的なグラデーション装飾 */
.case-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(255,255,255,.05) 0%, transparent 50%);
}
.case-img span {display: block;height: 100%;text-align: center;}
.case-img span img {height: 100%;width: 100%;object-fit: cover;display: inline-block;}

.case-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.case-lightbox.is-active { opacity: 1; pointer-events: auto; }
.case-lightbox-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 1; }
.case-lightbox-close { position: absolute; top: 25px; right: 25px; color: #fff; font-size: 30px; cursor: pointer; z-index: 10; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.case-lightbox-close:hover { transform: rotate(90deg); }
.case-lightbox-inner { position: relative; width: 90%; max-width: 1100px; height: 80%; max-height: 80vh; z-index: 2; display: flex; align-items: center; justify-content: center; }

.swiper-lightbox { width: 100%; height: 100%; display: flex; align-items: center; }
.swiper-lightbox .swiper-slide { display: flex; align-items: center; justify-content: center; background: transparent; }
.swiper-lightbox .swiper-slide img { max-width: 100%; max-height: 80vh; object-fit: contain; box-shadow: 0 4px 20px rgba(0,0,0,0.3); border-radius: 4px; }
.swiper-lightbox .swiper-button-next, .swiper-lightbox .swiper-button-prev { color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }

.btn-more {font-size: 15px; color: #004d40; text-decoration: underline; font-weight: bold;}


.case-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.badge-reno { background: var(--primary); color: var(--white); }
.badge-reform { background: var(--reform); color: var(--white); }
.case-body { padding: 24px; }
.case-body h3 {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}
.case-body p {
  font-size: .8rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 16px;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-meta span {
  font-size: .7rem;
  color: var(--text-sub);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =========================================
   PRICE
   ========================================= */
.price-section { background: var(--white); }
.price-note {
  background: rgba(26,76,59,.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: .85rem;
  color: var(--text-sub);
  margin-bottom: 48px;
  line-height: 1.8;
}
.price-note i { color: var(--primary); margin-right: 8px; }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.price-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card--featured {
  border-color: var(--primary);
  transform: scale(1.02);
}
.price-card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.price-card-header {
  padding: 32px 28px 24px;
  color: var(--white);
}
.reform-header { background: linear-gradient(135deg, var(--reform), #1a4a7a); }
.reno-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.price-type {
  font-size: .7rem;
  letter-spacing: .15em;
  margin-bottom: 8px;
  opacity: .7;
}
.price-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-card-header p { opacity: .8; font-size: .875rem; color:#ccc}
.price-card-body { padding: 28px; background: var(--white); }
.price-list {
  list-style: none;
  margin-bottom: 24px;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.price-list li:last-child { border-bottom: none; }
.price-item-name { color: var(--text); }
.price-item-val { font-weight: 700; color: var(--primary); font-family: var(--font-serif); }
.subsidy-box {
  background: rgba(26,76,59,.06);
  border-radius: var(--radius);
  padding: 16px;
  font-size: .8rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 20px;
}
.subsidy-box i { color: var(--primary); margin-right: 6px; }
.subsidy-box strong { color: var(--primary); }

/* =========================================
   VOICE
   ========================================= */
.voice-section { background: var(--bg); }
.voice-slider { position: relative; overflow: hidden; }
.voice-track {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
}
.voice-card {
  flex: 0 0 calc(33.33% - 16px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.voice-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.voice-text {
  font-size: .875rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
  font-style: italic;
}
.voice-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voice-avatar {
  font-size: 2rem;
  color: var(--primary-light);
}
.voice-name { font-weight: 700; font-size: .875rem; }
.voice-tag {
  font-size: .75rem;
  color: var(--text-sub);
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 4px;
}
.voice-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.voice-prev, .voice-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  font-size: .875rem;
  transition: var(--transition);
}
.voice-prev:hover, .voice-next:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.voice-dots { display: flex; gap: 8px; }
.voice-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.voice-dot.active { background: var(--primary); transform: scale(1.3); }

/* =========================================
   FAQ
   ========================================= */
.faq-section { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 8px;
  font-size: .9375rem;
  font-weight: 700;
  text-align: left;
  color: var(--text);
  transition: var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 27px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;padding: 0 0 0 1px;
  color: var(--primary);
  font-weight: 300!important;
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 8px 24px;
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner-label {
  font-size: .75rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.5;
}
.cta-banner-text p {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.cta-banner-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-section { background: var(--bg); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-method-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(26,76,59,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--primary);
}
.contact-method-label {
  font-size: .75rem;
  color: var(--text-sub);
  margin-bottom: 4px;
  letter-spacing: .1em;
}
.contact-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-serif);
  letter-spacing: .05em;
}
.contact-address { font-size: .875rem; font-weight: 500; }
.contact-hours { font-size: .8rem; color: var(--text-sub); margin-top: 4px; }
.contact-guarantee {
  margin-top: 24px;
  background: rgba(26,76,59,.06);
  border-radius: var(--radius);
  padding: 20px;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
  padding: 6px 0;
}
.guarantee-item i { color: var(--primary); }
.guarantee-item strong { color: var(--primary); }

/* フォーム */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.req {
  background: #e74c3c;
  color: var(--white);
  font-size: .65rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: .9375rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26,76,59,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- ラジオボタン・チェックボックスの横長化を防止するリセット --- */
.form-group input[type="radio"],
.form-group input[type="checkbox"] { width: auto; height: auto; appearance: radio; -webkit-appearance: radio; background: transparent; border: none; padding: 0; box-shadow: none; border-radius: 0; }
.form-group input[type="radio"]:focus,
.form-group input[type="checkbox"]:focus { box-shadow: none; background: transparent; }

/* お好みに応じて：ラジオボタンと文字の並びを綺麗に整えるスタイル */
.form-radio-group { display: flex; gap: 8px 20px; margin-top: 10px; flex-wrap:wrap}
.radio-label { display: flex; align-items: center; gap: 6px; font-size: 0.9rem!important; color: var(--text); cursor: pointer; }
.radio-label input[type="radio"] { margin: 0; cursor: pointer; width: 16px; height: 16px; }


.form-privacy {
  margin-bottom: 24px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  cursor: pointer;
}
.checkbox-label input { width: auto; }
.checkbox-label a { color: var(--primary); text-decoration: underline; }
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-success p {
  font-size: .875rem;
  color: var(--text-sub);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
}
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: .8rem;
  color: var(--accent-light);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: .8125rem;
  line-height: 1.9;
  color: rgba(255,255,255,.5);
}
.footer-links { display: flex; gap: 48px; }
.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-col h4 {
  font-size: .7rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer-link-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
.footer-link-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* =========================================
   FLOATING CTA
   ========================================= */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white)!important;
  font-size: .6rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(26,76,59,.4);
  transition: var(--transition);
}
.floating-cta-btn i { font-size: 1.2rem; }
.floating-cta-btn:hover { background: var(--primary-light); transform: scale(1.1); }
.floating-cta-phone { background: var(--reform); box-shadow: 0 4px 16px rgba(46,109,164,.4); }
.floating-cta-phone:hover { background: var(--reform-light); }

/* ページトップ */
.page-top {
  position: fixed;
  bottom: 180px; right: 34px;
  z-index: 990;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 2px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
}
.page-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.page-top:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reno-content { grid-template-columns: 1fr; gap: 40px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .section-block { padding: 72px 0; }

  .logo-brand {display: inline-block;width: 40vw;}
  .logo-sub {
  font-size: 3.5vw;


.data_update {text-align: right;padding: 3vw 1vw 0 0}
}


  .hero-content { padding: 24vw 16px 60px; }
  .hero-sub {margin-bottom: 6vw;}

  /* Hero */
  .hero-cta { flex-direction: column; align-items: center; }

  /* Navigator */
  .nav-cards { grid-template-columns: 1fr; }
  .nav-card { flex-direction: column; padding: 28px; }

  /* Menus */
  .menu-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }

  /* Price */
  .price-grid { grid-template-columns: 1fr; }
  .price-card--featured { transform: none; }

  /* Voice */
  .voice-card { flex: 0 0 100%; }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* CTA banner */
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-btns { width: 100%; }
  .cta-banner-btns .btn { width: 100%; justify-content: center; }

  /* Numbers */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 100px 16px 60px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .page-top { bottom: 168px; right: 16px; }
  .floating-cta { bottom: 16px; right: 16px; }
}

#newspapers {padding-top: 120px;margin-bottom: 60px;}
#cases {padding-top: 120px;}
#interviews {padding-top: 80px;}
.interviews_list {padding-top: 120px!important;}


/*　■■■■■■■■■■■■　Re:ホーム新聞 　■■■■■■■■■■■■*/ 

.news-list { display: flex; flex-wrap: wrap; gap: 40px 30px; max-width: 1000px; margin: 0 auto 80px auto; padding: 0 20px; box-sizing: border-box; }
.news-item { width: calc((100% - 60px) / 3); box-sizing: border-box; }
.news-item a { text-decoration: none; color: #333; display: block; }
.news-thumbnail img { width: 100%; height: auto; box-shadow: 0 4px 12px rgba(0,0,0,0.12); display: block; transition: transform 0.3s ease; }
.news-item a:hover img { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.news-item h3 { margin-top: 14px; font-size: 16px; text-align: center; font-weight: bold; line-height: 1.4; color: #333; }
.page_news {padding-top: 100px!important;}

@media screen and (max-width: 767px) {
.news-list { gap: 30px 16px; padding: 0 16px; margin-bottom: 10vw;}
.news-item { width: calc((100% - 16px) / 2); }
.news-item h3 { font-size: 13px; margin-top: 10px; }
.page_news {padding-top: 30vw!important;}
}
