/*
Theme Name: Ieda Housing
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: 家田ハウジング テーマ
Version: 1.0
*/
:root {
  --green-main: #7ab851; /* メイン */
  --green-tel: #66a75e; /* 電話 */
  --green-cta: #53966b; /* お問い合わせ */
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --header-h: 72px;
  --container: 1100px;
  --container02: 800px;
  --container03: 600px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* a[target="_blank"]::after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
} */

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: var(--header-h);
  background: var(--green-main);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  /* border:1px solid rgba(255,255,255,.35); */
}
.brand-mark svg {
  display: block;
}
.brand-text small {
  display: block;
  font-size: 11px;
  opacity: 0.9;
  font-weight: 600;
}
.brand-text span {
  display: block;
  font-size: 16px;
}
.brand-mark img {
  width: 100%;
}

/* Nav */
.gnav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}
.gnav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.gnav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Right actions */
.header-actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 230px;
}
.action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.action-tel {
  background: var(--green-tel);
}
.action-cta {
  background: var(--green-cta);
}
.action:hover {
  filter: brightness(1.03);
}

/* Mobile button */
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}

/* Mobile nav panel */
.mnav {
  display: none;
  background: var(--green-main);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.mnav a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Responsive */
@media (max-width: 920px) {
  .brand {
    min-width: auto;
  }
  .gnav {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
  .header-inner {
    justify-content: space-between;
  }
  .mnav {
    display: block;
  }
  .mnav[hidden] {
    display: none;
  }
}

/* demo body */
main {
  /* max-width:var(--container); */
  margin: 0 auto;
  /* padding:24px 16px 120px; */
}
.demo {
  height: 1600px;
  background: linear-gradient(#fff, #f5f7f5);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
}
.breadcrumb {
  margin-top: 10px;
  padding-left: 40px;
}
.breadcrumb-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #666;
}
.breadcrumb-item a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin-right: 10px;
  color: #aaa;
}
/* ===== Main Visual ===== */
.mv {
  position: relative;
  height: 420px; /* XDに合わせて後で調整 */
  /* overflow: hidden; */
}

.mv-slider {
  position: absolute;
  inset: 0;
}

.mv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.mv-slide.is-active {
  opacity: 1;
}

.mv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト */
.mv-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
}

.mv-title {
  font-size: 50px;
  font-weight: 500;
  color: #fff;
  padding: 12px 24px;
  -webkit-text-stroke: 0.5px var(--green-cta);
}

/* Quick Links top */
main .quicklinks-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px; /* MV下に少しはみ出させる */
}

/* Quick Links */
main .quicklinks-wrap_02 {
  text-align: center;
  padding-top: 40px;
}

main .quicklinks {
  max-width: var(--container02);
  /* margin: 0 auto; */
  margin-left: 10%;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #7ab851;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}
main .quicklinks_02 {
  margin: 0 auto;
}

main .quicklinks_03 {
  max-width: var(--container03);
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
}

.ql-item {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 10px 16px;
  text-decoration: none;
  color: var(--text);
  border-right: 1px solid #eef2e9;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.ql-item:last-child {
  border-right: 0;
}

.ql-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #8fd06a; /* アイコン薄い緑 */
}
.ql-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.ql-icon svg {
  width: 34px;
  height: 34px;
}

.ql-text {
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  font-weight: 700;
  color: #4b5563;
}

.ql-item:hover {
  background: #f6faf2;
  transform: translateY(-1px);
}

.ql-item.is-active {
  background: #f1f7ea;
  outline: 2px solid rgba(122, 184, 81, 0.35);
  outline-offset: -2px;
}

/* MVの下に飛び出した分の余白を確保 */
.mv + section {
  padding-top: 80px;
}

/* Responsive */
@media (max-width: 920px) {
  .mv {
    padding-bottom: 84px;
  }
  main .quicklinks-wrap {
    bottom: -58px;
  }
  main .quicklinks {
    grid-template-columns: repeat(2, 1fr);
  }
  .ql-item:nth-child(2) {
    border-right: 0;
  }
  .ql-item:nth-child(1),
  .ql-item:nth-child(2) {
    border-bottom: 1px solid #eef2e9;
  }

  .ql-item {
    padding: 4px;
    gap: 5px;
  }
  .ql-text {
    font-size: 10px;
  }
}

/* コンテナ（既にあるなら合わせてOK） */
.container {
  width: min(1060px, 92%);
  margin-inline: auto;
}

/* 見出し */
.news .section-head {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 24px;
}
.section-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #444;
  margin: 0;
}
.section-sub {
  margin: 6px 0 0;
  color: #777;
  font-size: 14px;
  letter-spacing: 0.12em;
}

/* お知らせ */
.news {
  padding: 56px 0;
  background: #fff;
}
.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: min(720px, 100%);
  border-top: 1px solid #d9d9d9;
}
.news-item {
  border-bottom: 1px solid #d9d9d9;
}
.news-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 8px;
  text-decoration: none;
  color: inherit;
}
.news-date {
  font-weight: 700;
  color: #222;
  font-size: 14px;
  white-space: nowrap;
}
.news-text {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* hover */
.news-link:hover .news-text {
  color: #333;
  text-decoration: underline;
}

/* ボタン（既にbtnあるなら寄せてOK） */
.news-cta {
  display: grid;
  place-items: center;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 28px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
}

.btn-primary {
  background: #7ab851; /* メイン */
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(0.95);
}

.btn--ghost {
  background: #7ab851; /* メイン */
  color: #fff;
}
.btn--ghost:hover {
  filter: brightness(0.95);
}
.icon-external {
  margin-left: 16px;
}

/* SP調整 */
@media (max-width: 640px) {
  .news-link {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 6px;
  }
  .news-date {
    font-size: 13px;
  }
  .news-text {
    font-size: 13px;
  }
  /* Quick Links */
  main .quicklinks-wrap_02 {
    padding: 40px;
  }
  .mv-title {
    font-size: 8vw;
  }
}

/*===============想い==================*/
.message {
  padding: 80px 0;
  background: #fbfbf7; /* 薄い生成り */
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: center;
}

/* 見出し */
.message-head {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.message-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #333;
  margin: 0;
  border-left: 8px solid #9ae459;
  padding-left: 8px;
}

.message-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #777;
  letter-spacing: 0.12em;
}

/* テキスト */
.message-text p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

/* 画像 */
.message-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #d6d1d1; /* XDのグレー */
  object-fit: cover;
}

/* SP */
@media (max-width: 768px) {
  .message {
    padding: 56px 0;
  }
  .message-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .message-image {
    order: -1; /* SPでは画像を上に */
  }
}

/*===============私たちの強み==================*/
/* セクション共通（前のMessageと揃えるなら使い回しOK） */
.strength .section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 44px;
}
.section-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #333;
  border-left: 8px solid #9ae459;
  padding-left: 8px;
}
.section-sub {
  margin: 0;
  font-size: 13px;
  color: #777;
  letter-spacing: 0.12em;
}

/* 強み */
.strength {
  padding: 80px 0;
  background: #fff;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.strength-card {
  text-align: center;
}

.strength-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #eaf5df;
  /* border: 1px solid #2f6a2b; */
  overflow: hidden;
}

.strength-icon img {
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: scale-down;
  display: block;
}

.strength-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: #555;
}

.strength-text {
  margin: 0 auto;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}

/* タブレット */
@media (max-width: 960px) {
  .strength-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .strength-icon {
    width: 150px;
    height: 150px;
  }
}

/*===============サービス紹介==================*/
/* ===== Service Section ===== */
.service {
  padding: 64px 0 72px;
  background: #fff;
}

.l-container {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
}
.service .section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 44px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.02em;
  margin: 0;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 18px;
  background: #7ab851; /* メイン */
  border-radius: 2px;
}

.section-sub {
  font-size: 14px;
  font-weight: 500;
  color: #777;
}

/* grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 40px;
  align-items: start;
}

/* cards */
.service-card {
  position: relative;
  border-radius: 8px;
  border: #2f6a2b 1px solid;
  background: #fff;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.12);
  /* overflow: hidden; */
  transform: translateY(0);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: block; /* aタグ対策 */
  color: inherit;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 0 rgba(0, 0, 0, 0.14),
    0 16px 28px rgba(0, 0, 0, 0.1);
}
.service-card:hover .service-title {
  color: #6aa848; /* ホバー時タイトル色 */
}

.service-tag {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 12px;
  color: #2f6a2b;
  background: #dff0d9; /* 薄い緑 */
  border: 1px solid #cfe8c5;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.service-thumb {
  width: 100%;
  aspect-ratio: 4 / 3; /* XDに近い比率 */
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #e0e0e0;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* トリミングして全面表示 */
  display: block;
}

.service-body {
  height: 160px;
  padding: 40px 18px 40px;
  text-align: center;
  border-top: 1px solid #e6e6e6;
}

.service-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.service-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

/* CTA */
.service-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* buttons (共通化したいなら別に切り出してOK) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #7ab851;
  color: #fff;
  border-color: #6aa848;
}

.btn-primary:hover {
  background: #9fd67a;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 22px;
  }
}

@media (max-width: 600px) {
  .service {
    padding: 48px 0 56px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-thumb {
    height: 160px;
  }
}

/*===============物件紹介==================*/
/* ====== Property ====== */
.property {
  margin-top: 80px;
  padding: 70px 0;
  background: #f3f7ef; /* 薄いグリーン */
}

.property .section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 44px;
}

.property-block {
  padding: 40px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.property-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.property-subtitle {
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  color: #4a4a4a;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-items: start;
}

/* card */
.property-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.property-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 0 rgba(0, 0, 0, 0.12),
    0 18px 30px rgba(0, 0, 0, 0.1);
}

/* カード全体リンク（全部リンクにしたい用） */
.property-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.property-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff; /* XDの白枠に合わせる */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.property-body {
  padding: 20px 16px 28px;
}

.property-title {
  font-size: 14px;
  font-weight: 700;
  color: #444;
  margin: 0 0 10px;
}

.property-dl {
  margin: 0;
  font-size: 11px;
  color: #666;
  line-height: 1.7;
}

.property-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
}

.property-row dt {
  color: #777;
}

.property-row dd {
  margin: 0;
}

/* cta */
.property-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* 既存btnが無ければ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 44px;
  padding: 0 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: #7ab851;
  color: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  filter: brightness(0.98);
}

/* responsive */
@media (max-width: 980px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .btn {
    min-width: 240px;
  }
}
/* slider base */
.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease;
}

.slider-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  z-index: 3;
}

.slider-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.slider-btn.prev {
  left: 8px;
}
.slider-btn.prev::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.slider-btn.next {
  right: 8px;
}
.slider.is-single .slider-btn {
  display: none;
}
.slider-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  z-index: 3;
}

/* セクション見出し（他でも使ってる想定） */
.container {
  width: min(1060px, 92%);
  margin-inline: auto;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.section-bar {
  width: 6px;
  height: 18px;
  background: #7ab851;
}
.section-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}
.section-sub {
  font-weight: 500;
  color: #8a8a8a;
  font-size: 14px;
  margin-left: 6px;
}

.faq {
  padding: 70px 0;
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  background: #fff;
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Q行 */
.faq-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 40px;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.faq-btn:focus-visible {
  outline: 2px solid #7ab851;
  outline-offset: 2px;
}

.faq-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-left: 4px;
}
.faq-badge--q {
  background: #66a75e;
} /* Q */
.faq-badge--a {
  background: #e56a5e;
} /* A（赤系） */

.faq-text {
  font-size: 14px;
  color: #333;
}

/* 右側の開閉アイコン */
.faq-icon {
  width: 24px;
  height: 24px;
  justify-self: end;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 2px;
  background: #7ab851;
  border-radius: 999px;
}
.faq-icon::after {
  width: 2px;
  height: 16px;
}

/* 開いたときは「＋」→「－」 */
.faq-item.is-open .faq-icon::after {
  opacity: 0;
}

/* A行（アコーディオン本体） */
.faq-a {
  height: 0;
  overflow: hidden;
  border-top: 1px solid #e8e8e8;
  background: #fff;
}

.faq-a-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 12px 20px;
}

.faq-answer {
  margin: 4px 0 0;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

.faq-note {
  text-align: center;
  margin: 28px 0 40px;
  font-size: 16px;
  color: #666;
}

.faq-cta {
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 44px;
  padding: 0 18px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
}
.btn-primary {
  background: #7ab851;
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(0.95);
}

/*=================== 会社概要top =====================*/
.about {
  padding: 70px 0;
  background: #fff;
}

/* 表（DLを罫線でテーブル風に） */
.about-table {
  width: min(720px, 92%);
  margin: 40px auto 0;
}

.about-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  padding: 10px 6px;
  border-bottom: 1px solid #dcdcdc;
}

.about-row dt {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.04em;
  text-align: center;
  width: 40%;
}

.about-row dd {
  margin: 0;
  font-size: 14px;
  color: #333;
  text-align: left;
}

/* Map */
.about-map {
  width: min(720px, 92%);
  margin: 26px auto 0;
}

.about-map iframe,
.about-map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 8; /* 画像の比率に近づける */
  border-radius: 2px;
  border: 1px solid #dcdcdc;
  overflow: hidden;
}

.about-map-placeholder {
  display: grid;
  place-items: center;
  background: #dcd6d6; /* XDのグレー寄せ */
  color: #6d6d6d;
  font-weight: 600;
}

/* CTA */
.about-cta {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/*=================== フッター =====================*/
:root {
  --green-main: #7ab851;
  --green-dark: #53966b;
  --text-on-green: #ffffff;
  --line-soft: rgba(255, 255, 255, 0.35);
}

/* footer */
.site-footer {
  background: var(--green-main);
  color: var(--text-on-green);
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 40px 0 40px;
}

/* left */
.footer-logo img {
  width: 80px;
  height: auto;
  display: block;
}

.footer-info {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.95;
}
.footer-info p {
  margin: 0;
}

/* center */
.footer-center {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.footer-contactBox {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.footer-contactTitle {
  margin: 0 0 8px;
  font-size: 12px;
  text-align: center;
  color: #666;
}

.footer-contactActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-tel,
.footer-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ddd;
  background: #fff;
  color: #444;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.footer-tel:hover,
.footer-mail:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.footer-tel .icon,
.footer-mail .icon {
  font-size: 14px;
  line-height: 1;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}

.footer-nav a {
  color: var(--text-on-green);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}

.footer-nav a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

/* right */
.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.footer-sns {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  color: #666;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #eee;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.footer-sns:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* bottom */
.footer-bottom {
  text-align: center;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.06); /* 画像の薄い帯っぽさ */
}
.footer-bottom small {
  font-size: 11px;
  opacity: 0.9;
}

/* responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0 14px;
  }
  .footer-right {
    justify-content: center;
  }
  .footer-left {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

/* =========================
   Page Title
========================= */
.page-title {
  padding: 40px 0 20px;
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--text);
}

.page-title h1 {
  font-size: 28px;
  font-weight: bold;
}

/* =========================
   About
========================= */
.about {
  padding: 80px 0;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 会社情報リスト */
.about-list {
  margin-bottom: 60px;
}

.about-item {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.about-item dt {
  width: 160px;
  font-weight: bold;
  color: #555;
}

.about-item dd {
  flex: 1;
}

/* Google Map */
.about-map {
  margin-bottom: 60px;
}

.about-map iframe {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: 8px;
}

/* CTA */
.about-cta {
  text-align: center;
}

/* SP対応 */
@media (max-width: 768px) {
  .about-item {
    flex-direction: column;
  }

  .about-item dt {
    width: auto;
    margin-bottom: 6px;
  }

  .about-map iframe {
    height: 280px;
  }
}

/* =========================
  service
========================= */
:root {
  --green: #7ab851;
  --text: #333;
  --muted: #666;
  --bg: #fff;
  --line: #e6e6e6;
}

.container {
  width: min(1060px, calc(100% - 40px));
  margin-inline: auto;
}

.page-hero {
  padding: 40px 0 20px;
  background: #fff;
}

.section-head {
  padding: 30px 0 18px;
}

.section-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.section-title small {
  font-weight: 400;
  color: var(--muted);
}

.section-bar {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 2px;
}

.service-detail {
  padding: 10px 0 70px;
}

.service-rows {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-row {
  border-top: 1px solid transparent; /* 見た目調整用（必要なら消してOK） */
}

.service-row__head {
  margin-bottom: 16px;
}

.service-row__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.service-no {
  font-weight: 700;
  color: var(--text);
}

.service-row__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: center;
  padding: 0 20px;
}

.service-row__body--leftMedia {
  grid-template-columns: 320px 1fr;
}

.service-row__text {
  color: var(--text);
  line-height: 1.9;
  font-size: 14px;
}
.service-row__text_right {
  padding-left: 40px;
}

.service-row__text p {
  margin: 0 0 10px;
}

.service-row__media {
  margin: 0;
}

.service-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ddd; /* 画像ない時の保険 */
}

/* 右画像/左画像に合わせた余白の雰囲気（XD寄せ） */
.service-row__body--rightMedia .service-row__media {
  justify-self: end;
}
.service-row__body--leftMedia .service-row__media {
  justify-self: start;
}

/* レスポンシブ（スマホ時は縦積み） */
@media (max-width: 820px) {
  .service-row__body,
  .service-row__body--leftMedia {
    grid-template-columns: 1fr;
  }
  .service-row__media {
    order: -1;
  }
}

/* ==================================================
  property
================================================== */

/* ===== property section ===== */
.property-page {
  padding: 20px 0 80px;
  background: #f3f7ef; /* 薄いグリーン系（XD寄せ） */
}
.property-page02 {
  padding: 20px 0 80px;
  background: #eaf5df; /* 薄いグリーン系（XD寄せ） */
}
.property-block {
  padding: 18px 0 40px;
}

.property-block__head {
  margin-bottom: 16px;
  margin-top: 40px;
}
.property-block__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.property-block__sub {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.property-card {
  background: transparent;
}

.property-media {
  position: relative;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  overflow: hidden;
}

.property-media__viewport {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.property-media__track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.property-media__slide {
  flex: 0 0 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  height: 100%;
}

/* TOPページでは拡大カーソルを出さない */
body.home .property-media__slide,
body.home .property-media__slide img,
body.home .property-media img {
  cursor: default;
}

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

/* nav */
.property-media__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}
.property-media__nav--prev {
  left: 10px;
}
.property-media__nav--next {
  right: 10px;
}

.property-media__nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  rotate: 135deg;
}
.property-media__nav--next::before {
  rotate: -45deg;
}

/* count */
.property-media__count {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 12px;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
}

/* dots */
.property-media__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 6px;
  justify-content: center;
  pointer-events: auto;
}
.property-media__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.property-media__dot.is-active {
  background: #7ab851;
  border-color: #7ab851;
}

.property-title {
  margin: 10px 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.property-desc {
  margin: 0 0 10px;
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

.property-meta {
  margin: 0;
  font-size: 11px;
  color: #666;
}
.property-meta__row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 2px 0;
}
.property-meta dt {
  margin: 0;
  color: #777;
}
.property-meta dd {
  margin: 0;
}

/* CTA */
.property-block__cta {
  text-align: center;
  margin-top: 40px;
}
.property-block__cta02 {
  text-align: center;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 4px;
  line-height: 1.15;
}

.btn--green {
  background: #7ab851;
  color: #fff;
}
.btn--green02 {
  background: #6aac3f;

  color: #fff;
}
.btn--green02:hover {
  background: #9fd67a;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lightbox.is-open {
  display: block;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.lightbox__dialog {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(960px, calc(100% - 24px));
  height: min(80vh, 720px);
  display: grid;
  place-items: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  background: #111;
}
.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

/* 1枚時のUI非表示 */
.property-media.is-single .property-media__nav,
.property-media.is-single .property-media__dots {
  display: none;
}

/* responsive */
@media (max-width: 980px) {
  .property-grid {
    grid-template-columns: 1fr;
  }
  .property-media__viewport {
    aspect-ratio: 16 / 10;
  }
}
/* ===== Lightbox Slider ===== */
.lightbox-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.lightbox-slider__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.lightbox-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.lightbox-slider__slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.lightbox-slider__slide img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  background: #111;
}

.lightbox-slider__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.lightbox-slider__nav--prev {
  left: 12px;
}
.lightbox-slider__nav--next {
  right: 12px;
}

.lightbox-slider__nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  rotate: 135deg;
  opacity: 0.95;
}
.lightbox-slider__nav--next::before {
  rotate: -45deg;
}

.lightbox-slider__count {
  position: absolute;
  top: 12px;
  right: 56px; /* closeボタンと被らない */
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 999px;
}

.lightbox-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.lightbox-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.lightbox-slider__dot.is-active {
  background: #7ab851;
  border-color: #7ab851;
}

.lightbox-slider.is-single .lightbox-slider__nav,
.lightbox-slider.is-single .lightbox-slider__dots {
  display: none;
}

/* =========================
  contact
========================= */
/* =========================
   contact.html 用（追記）
========================= */

.container--narrow {
  max-width: 880px;
}

.contact-section {
  padding: 24px 0 90px;
}

.contact-lead {
  text-align: center;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  margin: 14px 0 22px;
}

.contact-form {
  margin-top: 10px;
}

.contact-table {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.contact-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid #eee;
}
.contact-row:first-child {
  border-top: none;
}

.contact-th {
  background: #fafafa;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  border-right: 1px solid #eee;
  font-size: 13px;
  color: #333;
}

.contact-td {
  padding: 14px 16px;
}

.req {
  color: #d33;
  font-weight: 700;
  margin-left: 6px;
  font-size: 12px;
}

.contact-td input,
.contact-td textarea {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.contact-td textarea {
  resize: vertical;
  min-height: 220px;
}

.contact-td input:focus,
.contact-td textarea:focus {
  border-color: #76b54a;
  box-shadow: 0 0 0 3px rgba(118, 181, 74, 0.15);
}

.contact-error {
  margin: 8px 0 0;
  color: #d33;
  font-size: 12px;
  min-height: 1em;
}

.is-invalid {
  border-color: #d33 !important;
  box-shadow: 0 0 0 3px rgba(211, 51, 51, 0.12) !important;
}

.contact-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-note {
  margin-top: 14px;
  text-align: center;
  color: #888;
  font-size: 12px;
}

/* SP */
@media (max-width: 820px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
  .contact-th {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}

/* ==================================================
  news
================================================== */

.container--narrow {
  max-width: 980px;
}

.news-section {
  padding: 18px 0 90px;
}

.news-list {
  margin-top: 8px;
}

.news-month {
  margin-top: 40px;
}

.news-month__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.news-month__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #76b54a;
  display: inline-block;
}

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

.news-item {
  border-bottom: 1px solid #e6e6e6;
}

.news-link {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
}

.news-date {
  font-size: 16px;
  color: #111;
  font-weight: 700;
}

.news-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.news-link:hover .news-text {
  color: #333;
  text-decoration: underline;
}

/* SP */
@media (max-width: 820px) {
  .news-link {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .news-date {
    color: #333;
  }
}

/* 下の「・・・」っぽいページャ */
.news-pager {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.news-pager__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #cfcfcf;
  display: inline-block;
}

.news-pager__dot.is-active {
  background: #6f6f6f;
}
