/* =========================
   ユリデン 出張可能エリアページ（色はテーマの緑に合わせる）
========================= */

.yuriden-area-page {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #444444;
  background: #ffffff;
  line-height: 1.8;
}

.yuriden-area-page * {
  box-sizing: border-box;
}

.yd-section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ファーストビュー */
.yd-area-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  background:
    radial-gradient(circle at 85% 20%, rgba(169, 214, 138, 0.45), transparent 32%),
    linear-gradient(110deg, #f8fcf6 0%, #eef6e8 48%, #e3f1d8 100%);
}

.yd-area-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#cfe5bf 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: 0.35;
  width: 260px;
}

.yd-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.yd-badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 22px;
  border-radius: 999px;
  background: #4d8226;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.yd-hero-text h1 {
  margin: 0 0 22px;
  color: #4d8226;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.yd-hero-text p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #444444;
}

.yd-hero-visual {
  position: relative;
  min-height: 320px;
}

.yd-hero-visual::before {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 360px;
  height: 280px;
  border-radius: 55% 45% 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.4)),
    linear-gradient(135deg, #e3f1d8, #a9d68a);
  box-shadow: 0 18px 50px rgba(77, 130, 38, 0.16);
}

.yd-worker-card {
  position: absolute;
  right: 13%;
  bottom: 35px;
  width: 230px;
  min-height: 210px;
  padding: 34px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(77, 130, 38, 0.15);
  text-align: center;
}

.yd-worker-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4d8226, #6fa83f);
  color: #fff;
  font-size: 42px;
}

.yd-worker-card p {
  margin: 0;
  color: #4d8226;
  font-weight: 800;
  line-height: 1.6;
}

.yd-floating-card {
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 14px 35px rgba(77, 130, 38, 0.15);
}

.yd-floating-card span {
  display: block;
  font-size: 30px;
  margin-bottom: 4px;
}

.yd-floating-card p {
  margin: 0;
  color: #4d8226;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.45;
}

.yd-card01 {
  top: 24px;
  right: 0;
}

.yd-card02 {
  top: 142px;
  left: 10px;
}

/* マップ */
.yd-map-section {
  padding: 58px 0 30px;
  background: #ffffff;
}

.yd-map-box {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 30px;
  align-items: stretch;
  padding: 38px;
  border: 1px solid #dde9d3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(44, 74, 26, 0.08);
}

.yd-map-text h2,
.yd-center-title {
  position: relative;
  margin: 0 0 22px;
  color: #4d8226;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.yd-map-text h2::after,
.yd-center-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: #6fa83f;
}

.yd-map-text p {
  margin: 0 0 26px;
  font-size: 16px;
  font-weight: 600;
}

.yd-map-legend {
  display: grid;
  gap: 12px;
  font-weight: 700;
}

.yd-dot {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: -4px;
}

.yd-dot-main {
  background: #6fa83f;
}

.yd-dot-sub {
  background: #dcefd2;
}

.yd-map-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(236, 247, 231, 0.96), rgba(238, 246, 232, 0.9)),
    radial-gradient(circle at 72% 45%, rgba(77, 130, 38, 0.12), transparent 28%);
}

.yd-map-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(30deg, transparent 45%, rgba(255,255,255,0.9) 46%, transparent 47%),
    linear-gradient(120deg, transparent 48%, rgba(255,255,255,0.8) 49%, transparent 50%),
    linear-gradient(160deg, transparent 45%, rgba(255,255,255,0.75) 46%, transparent 47%);
  opacity: 0.75;
}

.yd-map-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(77, 130, 38, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.yd-circle01 {
  width: 320px;
  height: 320px;
}

.yd-circle02 {
  width: 470px;
  height: 470px;
}

.yd-center-area {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 180px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(135deg, #8cc05e, #5f9a32);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 14px 32px rgba(77, 130, 38, 0.25);
}

.yd-center-area span {
  font-size: 22px;
  font-weight: 800;
}

.yd-center-area strong {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
}

.yd-center-area em {
  font-style: normal;
  font-size: 28px;
}

.yd-city {
  position: absolute;
  z-index: 3;
  padding: 7px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #4d8226;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(44, 74, 26, 0.12);
}

.yd-city01 { left: 14%; top: 30%; }
.yd-city02 { left: 38%; top: 10%; }
.yd-city03 { right: 16%; top: 20%; }
.yd-city04 { right: 12%; top: 50%; }
.yd-city05 { right: 28%; bottom: 18%; }
.yd-city06 { left: 13%; bottom: 22%; }

/* エリア一覧 */
.yd-area-list-section {
  padding: 24px 0 50px;
  background: #ffffff;
}

.yd-center-title {
  text-align: center;
}

.yd-center-title::after {
  margin-left: auto;
  margin-right: auto;
}

.yd-area-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.yd-area-card {
  min-height: 150px;
  padding: 22px 12px;
  border: 1px solid #dde9d3;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(44, 74, 26, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yd-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(44, 74, 26, 0.1);
}

.yd-area-icon {
  margin-bottom: 8px;
  color: #4d8226;
  font-size: 30px;
}

.yd-area-card h3 {
  margin: 0 0 8px;
  color: #4d8226;
  font-size: 20px;
  font-weight: 900;
}

.yd-area-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.yd-note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  color: #666666;
}

/* 選ばれる理由 */
.yd-reason-section {
  padding: 40px 0 70px;
  background: #ffffff;
}

.yd-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fcf6, #eef6e8);
  box-shadow: 0 12px 32px rgba(44, 74, 26, 0.08);
}

.yd-reason-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  padding: 36px 28px;
  border-right: 1px solid #dde9d3;
}

.yd-reason-card:last-child {
  border-right: none;
}

.yd-reason-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #4d8226;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(44, 74, 26, 0.1);
}

.yd-reason-card h3 {
  margin: 0 0 8px;
  color: #4d8226;
  font-size: 20px;
  font-weight: 900;
}

.yd-reason-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* スマホ対応 */
@media (max-width: 980px) {
  .yd-hero-inner,
  .yd-map-box {
    grid-template-columns: 1fr;
  }

  .yd-hero-visual {
    min-height: 260px;
  }

  .yd-area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .yd-reason-grid {
    grid-template-columns: 1fr;
  }

  .yd-reason-card {
    border-right: none;
    border-bottom: 1px solid #dde9d3;
  }

  .yd-reason-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .yd-section-inner,
  .yd-hero-inner {
    width: min(100% - 24px, 1120px);
  }

  .yd-area-hero {
    padding: 50px 0 40px;
  }

  .yd-hero-text h1 {
    font-size: 42px;
  }

  .yd-hero-text p {
    font-size: 15px;
  }

  .yd-hero-visual {
    display: none;
  }

  .yd-map-box {
    padding: 24px 16px;
  }

  .yd-map-visual {
    min-height: 280px;
  }

  .yd-center-area {
    width: 160px;
    height: 140px;
  }

  .yd-center-area span {
    font-size: 17px;
  }

  .yd-center-area strong {
    font-size: 26px;
  }

  .yd-city {
    padding: 5px 12px;
    font-size: 14px;
  }

  .yd-area-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .yd-reason-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .yd-reason-icon {
    margin: 0 auto;
  }
}

/* 本文用の見出し飾り（下線・左の線）を打ち消す */
.ns-entry .yuriden-area-page h1,
.ns-entry .yuriden-area-page h2,
.ns-entry .yuriden-area-page h3 {
  margin-top: 0;
  padding: 0;
  border: none;
}
.ns-entry .yuriden-area-page h2::after { position: static; }
.ns-entry .yuriden-area-page h3::after { display: none; }

/* 「出張可能エリア」が1行に収まる大きさに。リード文も1文ずつ1行に */
.yd-hero-text h1 { font-size: clamp(36px, 5vw, 60px); }
.yd-hero-text p { font-size: 16px; }

/* PC：エリア一覧は4列（7列だと文字が細切れになる） */
@media (min-width: 981px) {
  .yd-area-grid { grid-template-columns: repeat(4, 1fr); }
}

/* お問い合わせ */
.yd-contact-section {
  padding: 0 0 80px;
  background: #ffffff;
}
.yd-contact-box {
  padding: 40px 24px;
  border-radius: 18px;
  background: #f8fcf6;
  text-align: center;
}
.yd-contact-box p { margin: 0 0 16px; font-weight: 600; }
.yd-contact-tel {
  display: inline-block;
  color: #4d8226;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.yd-contact-box .yd-contact-sub { margin: 8px 0 0; font-size: 14px; }
.yd-contact-sub a { color: inherit; }

/* トップのキャッチコピー（4行）の大きさ */
.ns-fv__copy { font-size: clamp(24px, 3.4vw, 42px); }
