@charset "UTF-8";

/* =====================================================
   基本設定
===================================================== */

:root {
  --color-text: #555;
  --color-sub-text: #777;
  --color-green: #b8d943;
  --color-green-light: #f5fae5;
  --color-green-border: #dceca6;
  --color-orange: #f09a00;
  --color-border: #ddd;
  --color-bg: #f8f8f2;
  --color-white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family:
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    sans-serif;
  font-size: 15px;
  line-height: 1.9;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #558000;
  text-decoration: underline;
}

a:hover {
  color: var(--color-orange);
  text-decoration: none;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin-top: 0;
}

address {
  font-style: normal;
}

.large {
  font-size: 16px;
  font-weight: 600;
}

.affiliated_companies-logo {
  width: 120px;
  height: auto;
  margin-top: 12px;
}

/* =====================================================
   全体レイアウト
===================================================== */

.page {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--color-white);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
}

.main-content {
  width: 860px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 28px 0 48px;
}

/* =====================================================
   ヘッダー
===================================================== */

.site-header {
  background: var(--color-white);
}

.header-image img {
  width: 100%;
  display: block;
}

.header-info {
  margin: 18px auto 8px;
  padding: 0 20px;
  text-align: center;
  color: var(--color-sub-text);
  font-size: 15px;
}

.header-info p {
  margin: 0.15em 0;
}

.site-lead {
  margin: 14px 20px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
}

.separator {
  width: calc(100% - 80px);
  margin: 18px auto;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

/* =====================================================
   ナビゲーション
===================================================== */

.global-nav ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 20px;
  list-style: none;
  flex-wrap: wrap;
}

.global-nav a {
  display: block;
  min-width: 180px;
  padding: 8px 18px;
  color: #666;
  background: #fafafa;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

.global-nav a:hover {
  color: var(--color-white);
  background: var(--color-orange);
  border-color: var(--color-orange);
}

/* =====================================================
   見出し
===================================================== */

h1 {
  margin: 0 0 30px;
  padding: 0 0 16px;
  color: #555;
  border-bottom: 3px solid var(--color-green-border);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.45;
}

h2 {
  margin: 34px 0 18px;
  padding: 10px 16px;
  color: #555;
  background: var(--color-green-light);
  border-left: 8px solid var(--color-green);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

h3 {
  margin: 32px 0 16px;
  padding: 0 0 8px;
  color: #555;
  border-bottom: 1px solid var(--color-green-border);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

h4 {
  margin: 0 0 8px;
  color: #555;
  font-size: 17px;
  font-weight: 600;
}

/* =====================================================
   目次
===================================================== */

.toc-box {
  margin: 0 0 38px;
  padding: 22px 24px;
  background: #fffdf4;
  border: 1px solid #eadfbc;
}

.toc-box h2 {
  margin-top: 0;
}

.toc-category {
  margin-bottom: 8px;
  color: #666;
  font-weight: 600;
}

.toc-box ol {
  margin: 0;
  padding-left: 1.5em;
}

.toc-box li {
  margin: 0.25em 0;
}

/* =====================================================
   セクション
===================================================== */

.content-section {
  margin-bottom: 44px;
}

.simple-list,
.staff-list,
.note-list {
  padding-left: 1.3em;
}

.simple-list li,
.staff-list li,
.note-list li {
  margin-bottom: 0.35em;
}

.notice-text {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #fff8df;
  border-left: 5px solid var(--color-orange);
  color: #666;
}

/* =====================================================
   5つの安心
===================================================== */

.point-list {
  display: grid;
  gap: 12px;
}

.point-item {
  padding: 16px 18px;
  background: #fbfff0;
  border: 1px solid var(--color-green-border);
}

.point-item h4 {
  color: #5d7d00;
}

/* =====================================================
   入居フロー
===================================================== */

.flow-list {
  width: 540px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.flow-item {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.flow-title {
  display: block;
  color: #5d7d00;
  font-size: 18px;
  font-weight: 600;
}

.flow-item p {
  margin: 6px 0 0;
  text-align: left;
}

.flow-arrow {
  color: var(--color-orange);
  font-size: 20px;
  line-height: 1.8;
}

/* =====================================================
   間取り・写真
===================================================== */

.floor-note {
  font-weight: 600;
}

.floor-map {
  margin: 18px 0 34px;
  text-align: center;
}

.floor-map img {
  border: 1px solid #ccc;
}

.photo-block {
  display: grid;
  grid-template-columns: 48% 1fr;
  gap: 24px;
  align-items: center;
  margin: 30px 0;
  padding: 18px;
  background: #fafafa;
  border: 1px solid #e6e6e6;
}

.photo-block-reverse {
  grid-template-columns: 1fr 48%;
}

.photo-block-reverse figure {
  order: 2;
}

.photo-block figure {
  margin: 0;
}

.photo-block img {
  width: 100%;
  border: 1px solid #ddd;
}

.photo-text h4 {
  color: #5d7d00;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.photo-grid figure {
  margin: 0;
  background: #fafafa;
  border: 1px solid #e6e6e6;
}

.photo-grid img {
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
}

.photo-grid figcaption {
  padding: 12px 14px 14px;
  font-size: 14px;
  line-height: 1.7;
}

.photo-grid strong {
  display: block;
  margin-bottom: 4px;
  color: #5d7d00;
}

/* =====================================================
   一日の流れ
===================================================== */

.daily-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.daily-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--color-border);
}

.daily-list time {
  color: var(--color-orange);
  font-weight: 600;
}

.daily-list small {
  color: #777;
}

/* =====================================================
   料金表
===================================================== */

.price-box {
  margin: 24px 0 34px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.price-box h4 {
  padding: 8px 12px;
  color: #5d7d00;
  background: var(--color-green-light);
  border-left: 6px solid var(--color-green);
}

.table-note {
  color: #666;
}

.table-wrap {
  overflow-x: auto;
  margin: 12px 0 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid #d7d7d7;
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

th {
  background: #f0f6d9;
  color: #555;
  font-weight: 600;
}

.total-row td {
  background: #fff8df;
  color: #555;
  font-weight: 700;
}

.note-text {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

/* =====================================================
   会社情報
===================================================== */

.company-section {
  margin: 46px 0 0;
  padding: 24px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
}

.company-section h3 {
  margin-top: 0;
}

.related-company {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #ddd;
}

.related-title {
  color: #666;
  font-weight: 600;
}

.related-company h4 {
  margin-top: 20px;
  color: #5d7d00;
}

/* =====================================================
   フッター
===================================================== */

.site-footer {
  padding: 22px 20px;
  text-align: center;
  color: #777;
  background: #f1f1e8;
  border-top: 1px solid #ddd;
}

.site-footer p {
  margin: 0;
}

/* =====================================================
   スマホ対応
===================================================== */

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .main-content {
    max-width: calc(100% - 28px);
    padding-top: 22px;
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 19px;
  }

  h3 {
    font-size: 18px;
  }

  .global-nav ul {
    display: block;
  }

  .global-nav li {
    margin-bottom: 8px;
  }

  .global-nav a {
    width: 100%;
    min-width: 0;
  }

  .separator {
    width: calc(100% - 40px);
  }

  .toc-box {
    padding: 18px;
  }

  .photo-block,
  .photo-block-reverse {
    grid-template-columns: 1fr;
  }

  .photo-block-reverse figure {
    order: 0;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .daily-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .company-section {
    padding: 18px;
  }
}