/* ===== 基本設定 ===== */
:root {
  --color-cream: #faf7f0;
  --color-white: #ffffff;
  --color-green: #2e3d2f;
  --color-green-dark: #1f2a20;
  --color-green-soft: #4a5d47;
  --color-text: #333333;
  --color-text-light: #6b6b6b;
  --color-border: #e3ddd0;
  --max-width: 1100px;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Meiryo", sans-serif;
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-green-soft);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-desc {
  color: var(--color-text-light);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.bg-cream {
  background-color: var(--color-cream);
}

.bg-white {
  background-color: var(--color-white);
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-green-dark);
  line-height: 1.3;
}

.brand-name small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-light);
}

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

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-green);
  border-color: var(--color-green);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-green-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}

.hero-bg-photo {
  flex: 1 1 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-bg-photo--01 {
  background-image: url("property-01-web.jpg");
}

.hero-bg-photo--02 {
  background-image: url("property-02-web.jpg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20, 28, 20, 0.72) 0%,
    rgba(20, 28, 20, 0.6) 45%,
    rgba(20, 28, 20, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background-color: var(--color-white);
  padding: 8px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
}

.hero-title span {
  display: block;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ===== 事業内容 ===== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.business-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.business-card-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green-soft);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.business-card h3 {
  font-size: 1.25rem;
  color: var(--color-green-dark);
  margin-bottom: 14px;
}

.business-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== 選ばれる理由 ===== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.reason-card .reason-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-green);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.reason-card h3 {
  font-size: 1.05rem;
  color: var(--color-green-dark);
  margin-bottom: 10px;
}

.reason-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ===== 対応エリア ===== */
.area-section {
  position: relative;
  color: var(--color-white);
  background-image: linear-gradient(
      180deg,
      rgba(31, 42, 32, 0.88),
      rgba(31, 42, 32, 0.88)
    ),
    url("property-02-web.jpg");
  background-size: cover;
  background-position: center 20%;
  text-align: center;
}

.area-section .section-label {
  color: rgba(255, 255, 255, 0.8);
}

.area-section .section-title {
  color: var(--color-white);
}

.area-section .section-desc {
  color: rgba(255, 255, 255, 0.85);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.area-tag {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.area-tag.is-main {
  background-color: var(--color-white);
  color: var(--color-green-dark);
  font-weight: 700;
  border-color: var(--color-white);
}

/* ===== 会社概要 ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 160px;
  color: var(--color-green-soft);
  font-weight: 700;
  background-color: var(--color-cream);
  white-space: nowrap;
  vertical-align: top;
}

.company-table td a {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== お問い合わせ ===== */
.contact-section {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.contact-card h3 {
  color: var(--color-green-dark);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.contact-tel {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 4px;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ===== フッター ===== */
.footer {
  background-color: var(--color-green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-white);
  padding: 4px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 860px) {
  .business-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 4px;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
  }

  .nav-cta {
    align-self: flex-start;
  }

  section {
    padding: 56px 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 4px;
  }
}
