:root {
  --green: #108238;
  --green-dark: #056125;
  --orange: #f07a12;
  --orange-dark: #df5d00;
  --cream: #fff8ed;
  --paper: #ffffff;
  --text: #1f1f1f;
  --muted: #666;
  --line: #ead9c1;
  --shadow: 0 12px 28px rgba(35, 24, 10, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.65;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 32%, #fff 100%);
  padding-bottom: 76px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234,217,193,.8);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--green); background: #fff; border: 3px solid var(--green); font-weight: 900; letter-spacing: -2px;
  box-shadow: var(--shadow);
}
.brand strong { display: block; font-size: clamp(18px, 5vw, 32px); line-height: 1.1; white-space: nowrap; }
.brand small { color: var(--orange-dark); font-weight: 700; font-size: 12px; display: none; }
.header-badges { display: none; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.header-badges span { background: var(--green); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; }
.header-badges span:first-child { background: var(--orange); }

.section-pad { max-width: 1080px; margin: 0 auto; padding: 22px 16px; }
.hero { padding-top: 16px; }
.hero-card, .contact-card, .support-card, details, .check-card, .property-cards article, .voice-grid article, .property-list article, .president-card {
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { overflow: hidden; }
.license { text-align: center; font-size: 12px; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 18px; padding: 20px; }
.eyebrow { color: var(--orange-dark); font-weight: 900; margin: 0 0 6px; letter-spacing: .03em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 10vw, 58px); line-height: 1.12; margin-bottom: 14px; color: var(--green-dark); }
.lead { font-size: 16px; color: #333; margin-bottom: 18px; }
.hero-actions { display: grid; gap: 10px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 999px; font-weight: 900; padding: 12px 18px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 10px 20px rgba(16,130,56,.24); }
.btn-secondary { color: var(--orange-dark); border: 2px solid var(--orange); background: #fffaf2; }
.btn.large { min-height: 56px; font-size: 18px; }
.president-card { padding: 16px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }

.portrait-placeholder {
  display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(135deg, #ffe7c8, #fff, #e6f4e9); color: var(--green-dark); font-weight: 900;
}
.portrait-placeholder { height: 110px; font-size: 30px; }
.label { display: inline-block; color: #fff; background: var(--green); border-radius: 999px; padding: 3px 10px; font-weight: 900; margin-bottom: 8px; }

.section-title { text-align: center; margin-bottom: 16px; }
.section-title p { color: var(--orange-dark); font-weight: 900; margin-bottom: 4px; }
.section-title h2 { color: var(--green-dark); font-size: clamp(24px, 7vw, 38px); line-height: 1.2; margin-bottom: 0; }
.section-title.compact h2 { font-size: clamp(22px, 6vw, 34px); }

/* --- 新規追加：不動産投資アピールセクション --- */
.investment-section {
  background: #fffaf2;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.investment-section .section-title p {
  color: var(--orange-dark);
  font-size: 18px;
}
.investment-section .section-title h2 {
  color: var(--orange-dark);
  margin-bottom: 16px;
}
.investment-content {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.8;
}
/* ------------------------------------------- */

.support-grid { display: grid; gap: 12px; }
.support-card { padding: 16px; text-align: center; }
.support-card .icon { font-size: 34px; display: block; margin-bottom: 6px; }
.support-card .icon.icon-svg {
  font-size: 0;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f5ec, #fff);
  border: 1px solid var(--line);
  color: var(--green);
}
.support-card .icon.icon-svg svg {
  width: 28px;
  height: 28px;
  display: block;
}
.support-card h3 { color: var(--green-dark); margin-bottom: 6px; font-size: 18px; }
.support-card p { margin-bottom: 0; color: #333; font-size: 14px; }
.support-card.small { padding: 14px 12px; }

.faq-grid { display: grid; gap: 10px; }
details { padding: 0; overflow: hidden; }
details p { margin: 0; padding: 16px; }

/* ↓↓↓ Q&A（summary）の修正箇所 ↓↓↓ */
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  cursor: pointer;
  font-weight: 900;
  color: var(--green-dark);
  list-style: none;
  background-color: #fff4e1; /* 薄いオレンジ色の背景 */
  border-bottom: 1px solid var(--line); /* 区切り線 */
}
summary::-webkit-details-marker { display: none; }
summary::before { display: none; }

/* ------------------------------------------- */

.area-strip {
  background: var(--green);
  color: #fff;
  border-radius: 0;
  max-width: none;
  margin: 10px 0;
}
.area-strip h2 { max-width: 1080px; margin: 0 auto 10px; padding: 0 16px; font-size: 24px; }
.area-strip ul { max-width: 1080px; margin: 0 auto; padding: 0 16px; list-style: none; display: grid; gap: 8px; }
.area-strip li { background: rgba(255,255,255,.15); border-radius: 16px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 8px; }

.two-column { display: grid; gap: 14px; }
.check-card { padding: 18px; }
.check-card h3 { color: var(--orange-dark); font-size: 22px; margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 28px; position: relative; margin: 8px 0; }
.check-list li::before { content: "✅"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }

.property-cards { display: grid; gap: 12px; }
.property-cards article, .property-list article { padding: 10px; text-align: center; overflow: hidden; }
.room-image, .prop-image { border-radius: 16px; height: 132px; background-size: cover; background-position: center; margin-bottom: 10px; }
.room-a { background: linear-gradient(135deg, #f7e6d4, #fff 45%, #d9e7dd); }
.room-b { background: linear-gradient(135deg, #e5ddd4, #fff 42%, #c7d8e7); }
.property-cards h3, .property-list h3 { margin-bottom: 2px; color: var(--green-dark); }
.property-cards p, .property-list p { margin-bottom: 0; font-weight: 800; color: var(--orange-dark); }

.property-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prop-1 { background: linear-gradient(135deg, #fff2df, #f8fbff); }
.prop-2 { background: linear-gradient(135deg, #efe7da, #fff); }
.prop-3 { background: linear-gradient(135deg, #fff, #e7f2e8); }
.prop-4 { background: linear-gradient(135deg, #e7eef7, #fff7ef); }

.flow-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: flow; }
.flow-list li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-weight: 800; }
.flow-list span { background: var(--green); color: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 900; }

.voice-grid { display: grid; gap: 12px; }
.voice-grid article { padding: 18px; }
.voice-grid h3 { color: var(--orange-dark); font-size: 17px; margin-bottom: 8px; }
.voice-grid p { margin-bottom: 8px; }
.voice-grid strong { color: var(--green-dark); }

.contact-section { max-width: 1080px; margin: 0 auto; padding: 22px 16px 34px; }
.contact-card { padding: 22px; background: linear-gradient(135deg, #098433, #12a348); color: #fff; text-align: center; }
.contact-card .eyebrow { color: #ffe985; }
.contact-card h2 { font-size: clamp(30px, 9vw, 48px); line-height: 1.12; margin-bottom: 10px; }
.contact-grid { display: grid; gap: 12px; margin-top: 16px; }
.phone-box { display: grid; gap: 2px; background: #fff; color: var(--green-dark); border-radius: 18px; padding: 12px; font-weight: 900; }
.phone-box strong { font-size: 24px; line-height: 1.1; }
.phone-box small { color: var(--muted); }
.qr { width: 112px; height: 112px; margin: 0 auto; display: grid; place-items: center; background: #fff; border: 7px solid #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.qr img { width: 100%; height: 100%; object-fit: cover; display: block; }

.reference-section { padding-top: 0; }
.reference-section details { padding: 12px; }
.reference-section summary { color: var(--muted); padding: 8px; font-size: 13px; background-color: transparent; border-bottom: none; } /* リファレンス用の上書き */
.reference-section img { border-radius: 14px; margin-top: 12px; border: 1px solid var(--line); }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.3fr .7fr; padding: 10px; gap: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.sticky-cta a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; color: #fff; background: var(--orange); font-weight: 900; }
.sticky-cta a:last-child { background: var(--green); }
.site-footer { text-align: center; padding: 22px 16px; color: var(--muted); font-size: 12px; }

@media (min-width: 560px) {
  .brand small { display: block; }
  .header-badges { display: flex; }
  .hero-actions { grid-template-columns: auto auto; align-items: center; justify-content: start; display: grid; }

  /* 3つのボックスを横並びにし、高さを揃える */
  .contact-grid { 
    display: grid;
    grid-template-columns: 1fr 1fr 120px; 
    gap: 16px;
    align-items: stretch; 
    max-width: 900px;
    margin: 16px auto 0;
  }
  .contact-grid .btn.large { 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0; 
  }
  .contact-grid .phone-box { 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    margin: 0;
  }
  .contact-grid .qr {
    height: 100%;
    margin: 0;
  }
}

@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .site-header { position: sticky; }
  .hero-grid { grid-template-columns: 1.12fr .88fr; align-items: stretch; padding: 32px; }
  .president-card { grid-template-columns: 140px 1fr; }
  .portrait-placeholder { height: 180px; }
  .support-grid.four { grid-template-columns: repeat(4, 1fr); }
  .support-grid.five { grid-template-columns: repeat(5, 1fr); }
  .faq-grid { grid-template-columns: repeat(4, 1fr); }
  .area-strip { border-radius: 26px; max-width: 1080px; margin: 18px auto; padding: 18px 0; }
  .area-strip ul { grid-template-columns: repeat(4, 1fr); }
  .area-strip li { flex-direction: column; text-align: center; }
  .two-column { grid-template-columns: .95fr 1.05fr; }
  .property-list { grid-template-columns: repeat(4, 1fr); }
  .flow-list { grid-template-columns: repeat(6, 1fr); }
  .flow-list li { flex-direction: column; text-align: center; }
  .sticky-cta { display: none; }
}