@charset "UTF-8";
/*
  Theme Name: よりよくなるハウス（合同会社よりよくなる）
  ------------------------------------------------------------
  style.scss は import 専用（スタイル実体は各パーシャルへ）
  モバイルファースト：基準スタイルはSP → over-tab / over-pc で拡張
  ------------------------------------------------------------
*/
/* ============ ブレークポイント ============ */
/* ============ カラー ============ */
/* ============ その他トークン ============ */
/* ============ mixin（既存規約：範囲指定） ============ */
/* ============ mixin（モバイルファースト拡張） ============ */
/* ============ import ============ */
/* ============================================================
   共通（リセット・ベース・ヘッダー・フッター・共通パーツ）
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #37423b;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media screen and (min-width: 769px) {
  body {
    font-size: 1.6rem;
  }
}

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

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

ul,
ol {
  list-style: none;
}

/* ============ ユーティリティ ============ */
.wrap {
  width: 90%;
  max-width: 108rem;
  margin-inline: auto;
}

.mt {
  margin-top: 2.2rem;
}

.center {
  text-align: center;
}

.txt-green {
  color: #5fa671;
}

.txt-deep {
  color: #3f7d52;
}

.br_sp {
  display: inline;
}
@media screen and (min-width: 769px) {
  .br_sp {
    display: none;
  }
}

.br_pc {
  display: none;
}
@media screen and (min-width: 769px) {
  .br_pc {
    display: inline;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.reveal.show {
  opacity: 1;
  transform: none;
}

/* ============ 見出し ============ */
.sec-head {
  text-align: center;
  margin-bottom: 3.4rem;
}
.sec-head .en {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #8fc79a;
  letter-spacing: 0.2em;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.sec-head .ja {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #3f7d52;
  line-height: 1.5;
}
@media screen and (min-width: 769px) {
  .sec-head .ja {
    font-size: 2.96rem;
  }
}
@media screen and (min-width: 1025px) {
  .sec-head .ja {
    font-size: 3.2rem;
  }
}
.sec-head .ja small {
  display: block;
  font-size: 1.38rem;
  color: #66716a;
  margin-top: 1rem;
  font-weight: 500;
}
.sec-head.sec-head-left {
  text-align: left;
  margin-bottom: 1.8rem;
}
.sec-head.sec-head-left .ja {
  font-size: 2.4rem;
}

/* ============ ボタン・リンク ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem 2.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.54rem;
  transition: 0.3s;
  cursor: pointer;
  border: none;
}
.btn .ico {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
}

.btn-line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 0.8rem 2rem rgba(6, 199, 85, 0.26);
}
.btn-line:hover {
  transform: translateY(-0.2rem);
}

.btn-ghost {
  background: #fff;
  color: #3f7d52;
  border: 2px solid #8fc79a;
}
.btn-ghost:hover {
  background: #e8f3ea;
}

.btn-white {
  background: #fff;
  color: #3f7d52;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #3f7d52;
  font-weight: 700;
  font-size: 1.47rem;
  transition: 0.2s;
}
.more svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: 0.25s;
}
.more:hover {
  color: #5fa671;
}
.more:hover svg {
  transform: translateX(0.3rem);
}

/* ============ 画像プレースホルダー ============ */
.ph {
  display: grid;
  place-items: center;
  gap: 0.8rem;
  height: 100%;
  color: #3f7d52;
  font-weight: 700;
  font-size: 1.36rem;
  text-align: center;
  opacity: 0.55;
}
.ph svg {
  width: 4rem;
  height: 4rem;
  opacity: 0.7;
}

/* ============ 周辺地図ブロック（お問い合わせ・施設一覧で共通） ============ */
.access-map-block {
  margin-top: 2.4rem;
  text-align: center;
  /* 小さいラベル型の見出し（お問い合わせページ用） */
  /* セクション見出しを使う場合（施設一覧ページ用）は余白を詰める */
}
@media screen and (min-width: 769px) {
  .access-map-block {
    margin-top: 3.2rem;
  }
}
.access-map-block .map-head {
  display: block;
  color: #8fc79a;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.access-map-block .sec-head {
  margin-bottom: 1.8rem;
}

.access-map {
  min-height: 24rem;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
  background: linear-gradient(135deg, #dcebdd, #c3ddc9);
  /* 支給のイラスト地図は縦長。枠を画像幅に合わせて縮め、高さで頭打ちにする */
}
.access-map iframe {
  width: 100%;
  height: 24rem;
  border: 0;
  display: block;
}
.access-map.is-image {
  display: inline-block;
  max-width: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid #e8f3ea;
}
.access-map.is-image a {
  position: relative;
  display: block;
}
.access-map.is-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 42rem;
}
@media screen and (min-width: 769px) {
  .access-map.is-image img {
    max-height: 56rem;
  }
}
.access-map.is-image .map-zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(63, 125, 82, 0.92);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  transition: 0.25s;
}
.access-map.is-image .map-zoom::before {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  background: currentColor;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E");
}
.access-map.is-image a:hover .map-zoom {
  background: #3f7d52;
}

.map-note {
  margin-top: 1rem;
  font-size: 1.22rem;
  line-height: 1.6;
  color: #66716a;
}

/* ============ ヘッダー ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8f3ea;
  transition: 0.3s;
}
.header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.2rem;
}
@media screen and (min-width: 769px) {
  .header .header-inner {
    height: 7rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  color: #3f7d52;
  font-size: 1.63rem;
  line-height: 1.4;
}
@media screen and (min-width: 769px) {
  .logo {
    font-size: 1.82rem;
  }
}
.logo .mark {
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fc79a, #5fa671);
  display: grid;
  place-items: center;
  color: #fff;
}
@media screen and (min-width: 769px) {
  .logo .mark {
    width: 3.4rem;
    height: 3.4rem;
  }
}
.logo .mark svg {
  width: 1.6rem;
  height: 1.6rem;
}
.logo .mark-img {
  background: none;
  border-radius: 0;
  width: auto;
  height: 3.4rem;
}
.logo .mark-img img {
  height: 100%;
  width: auto;
}
.logo small {
  display: block;
  font-size: 0.96rem;
  color: #66716a;
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 769px) {
  .logo small {
    font-size: 1.02rem;
  }
}

.gnav {
  position: fixed;
  top: 6.2rem;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2.2rem;
  box-shadow: 0 2.2rem 4rem rgba(0, 0, 0, 0.08);
  transform: translateY(-170%);
  transition: 0.4s;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .gnav {
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 2.4rem;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
  }
}
.gnav.open {
  transform: translateY(0);
}
.gnav a {
  padding: 1.2rem;
  font-size: 1.57rem;
  font-weight: 500;
  border-bottom: 1px solid #f4f9f4;
  transition: 0.3s;
}
@media screen and (min-width: 769px) {
  .gnav a {
    position: relative;
    padding: 0;
    border: none;
    font-size: 1.47rem;
  }
}
.gnav a.current {
  color: #5fa671;
}
@media screen and (min-width: 769px) {
  .gnav a:not(.header-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 0;
    height: 2px;
    background: #5fa671;
    transition: 0.3s;
  }
  .gnav a:not(.header-cta):hover::after {
    width: 100%;
  }
}
.gnav a.header-cta {
  background: #06c755;
  color: #fff;
  border: none;
  border-radius: 999px;
  margin-top: 1.2rem;
  font-weight: 700;
  box-shadow: 0 0.6rem 1.6rem rgba(6, 199, 85, 0.25);
}
@media screen and (min-width: 769px) {
  .gnav a.header-cta {
    margin-top: 0;
    padding: 0.9rem 2rem;
  }
}

.hamburger {
  width: 3.8rem;
  height: 3.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
}
@media screen and (min-width: 769px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  width: 2.4rem;
  height: 2px;
  background: #3f7d52;
  border-radius: 2px;
  margin-inline: auto;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(0.8rem) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-0.8rem) rotate(-45deg);
}

/* ============ 下部CTA（TOP） ============ */
.cta {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(500px 300px at 20% 0%, rgba(143, 199, 154, 0.4), transparent 60%), linear-gradient(135deg, #5fa671, #3f7d52);
}
@media screen and (min-width: 769px) {
  .cta {
    padding: 10rem 0;
  }
}
.cta h2 {
  font-size: clamp(2.72rem, 4vw, 3.84rem);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.cta p {
  font-size: 1.5rem;
  opacity: 0.92;
  margin-bottom: 2.6rem;
}
.cta .actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 34rem;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .cta .actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}
.cta small {
  display: block;
  margin-top: 2rem;
  opacity: 0.85;
  font-size: 1.28rem;
}

/* ============ 下部CTA（下層） ============ */
.foot-cta {
  padding: 6rem 0;
  text-align: center;
  color: #fff;
  background: radial-gradient(500px 300px at 20% 0%, rgba(143, 199, 154, 0.4), transparent 60%), linear-gradient(135deg, #5fa671, #3f7d52);
}
.foot-cta h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}
@media screen and (min-width: 769px) {
  .foot-cta h2 {
    font-size: 3.2rem;
  }
}
.foot-cta p {
  font-size: 1.47rem;
  opacity: 0.92;
  margin-bottom: 2.2rem;
}

/* ============ フッター ============ */
.footer {
  background: #2e3d33;
  color: #cdd8cf;
  padding: 5.2rem 0 2.6rem;
}
@media screen and (min-width: 769px) {
  .footer {
    padding: 6.6rem 0 3rem;
  }
}
@media screen and (min-width: 769px) {
  .footer .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}
.footer .logo {
  color: #fff;
  margin-bottom: 1.4rem;
}
.footer .logo small {
  color: #9fb0a3;
}
.footer .company {
  font-size: 1.34rem;
  line-height: 1.95;
  color: #9fb0a3;
  margin-bottom: 3rem;
}
@media screen and (min-width: 769px) {
  .footer .company {
    margin-bottom: 0;
  }
}
.footer .footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 2rem;
  margin-bottom: 3rem;
}
@media screen and (min-width: 769px) {
  .footer .footer-nav {
    margin-bottom: 0;
  }
}
.footer .footer-nav a {
  font-size: 1.41rem;
  color: #cdd8cf;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.2s;
}
.footer .footer-nav a:hover {
  color: #8fc79a;
}
.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2.8rem;
  text-align: center;
  font-size: 1.15rem;
  color: #8a9b8e;
}

/* ============ 下層共通 ============ */
#common .page-hero {
  padding: 9.6rem 0 4.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(500px 300px at 85% -20%, rgba(143, 199, 154, 0.4), transparent 60%), linear-gradient(160deg, #f4f9f4, #e8f3ea);
}
@media screen and (min-width: 769px) {
  #common .page-hero {
    padding: 12rem 0 5.6rem;
  }
}
#common .page-hero .en {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #8fc79a;
  letter-spacing: 0.22em;
  font-size: 1.18rem;
}
#common .page-hero h1 {
  font-size: clamp(2.88rem, 4.5vw, 4.16rem);
  color: #3f7d52;
  margin-top: 0.8rem;
  line-height: 1.4;
}
#common .page-hero .breadcrumb {
  font-size: 1.18rem;
  color: #66716a;
  margin-top: 1.4rem;
}
#common .page-hero .breadcrumb a {
  color: #5fa671;
}
#common .block {
  padding: 5.6rem 0;
}
@media screen and (min-width: 769px) {
  #common .block {
    padding: 8rem 0;
  }
}
#common .block.soft {
  background: #f4f9f4;
}
#common .contact-lead {
  max-width: 62rem;
  margin: 0 auto 0.8rem;
  text-align: center;
  color: #66716a;
  font-size: 1.5rem;
}
#common .info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
}
#common .info-table th,
#common .info-table td {
  text-align: left;
  padding: 1.4rem 1.4rem;
  /* body の keep-all のままだと長い日本語が塊扱いになり、
     セルの最小幅が効いて狭い端末（320px）で表がはみ出すため通常改行に戻す */
  word-break: normal;
  border-bottom: 1px solid #e8f3ea;
  font-size: 1.44rem;
}
@media screen and (min-width: 769px) {
  #common .info-table th,
  #common .info-table td {
    padding: 1.5rem 1.8rem;
  }
}
#common .info-table th {
  width: 36%;
  background: #f4f9f4;
  color: #3f7d52;
  font-weight: 700;
  /* SPは nowrap にすると項目名が長いとき表がはみ出すので折り返させる */
}
@media screen and (min-width: 769px) {
  #common .info-table th {
    white-space: nowrap;
  }
}
#common .info-table tr:last-child th,
#common .info-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   TOP（front-page.php）
   ============================================================ */
#top {
  /* ============ ヒーロー ============ */
}
#top .hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9.6rem 0 5.6rem;
  background: radial-gradient(600px 380px at 88% -6%, rgba(143, 199, 154, 0.4), transparent 62%), radial-gradient(560px 360px at -10% 108%, rgba(95, 166, 113, 0.22), transparent 58%), linear-gradient(160deg, #f4f9f4 0%, #e8f3ea 100%);
}
@media screen and (min-width: 769px) {
  #top .hero {
    min-height: 90vh;
    padding-top: 7rem;
  }
}
#top .hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
#top .hero-deco .leaf {
  position: absolute;
  border-radius: 0 60% 0 60%;
  background: linear-gradient(135deg, #8fc79a, transparent);
  opacity: 0.45;
}
#top .hero-deco .l1 {
  width: 15rem;
  height: 15rem;
  top: -3rem;
  right: -2rem;
  transform: rotate(20deg);
}
#top .hero-deco .l2 {
  width: 9rem;
  height: 9rem;
  bottom: 10%;
  left: -2.4rem;
  transform: rotate(-30deg);
  opacity: 0.35;
}
#top .hero-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 108rem;
  margin-inline: auto;
}
@media screen and (min-width: 769px) {
  #top .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.4rem;
    align-items: center;
  }
}
#top .hero-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  color: #3f7d52;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 1.18rem;
  font-weight: 700;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
  margin-bottom: 1.8rem;
}
#top .hero-copy .badge::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #5fa671;
}
#top .hero-copy h1 {
  font-size: clamp(3.6rem, 5vw, 5.76rem);
  font-weight: 700;
  line-height: 1.4;
  color: #3f7d52;
  margin-bottom: 1.8rem;
}
#top .hero-copy h1 .accent {
  color: #5fa671;
  position: relative;
}
#top .hero-copy h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.4rem;
  width: 100%;
  height: 1rem;
  background: #8fc79a;
  opacity: 0.35;
  z-index: -1;
  border-radius: 0.6rem;
}
#top .hero-copy .lead {
  font-size: 1.6rem;
  color: #37423b;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
#top .hero-copy .sub {
  font-size: 1.44rem;
  color: #66716a;
  margin-bottom: 2.6rem;
}
#top .hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
@media screen and (min-width: 769px) {
  #top .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
#top .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}
#top .hero-tags span {
  font-size: 1.18rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #8fc79a;
  color: #3f7d52;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
}
#top .hero-visual {
  position: relative;
  margin-top: 3.4rem;
}
@media screen and (min-width: 769px) {
  #top .hero-visual {
    margin-top: 0;
  }
}
#top .hero-photo {
  aspect-ratio: 4/3;
  border-radius: 2.2rem;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
  overflow: hidden;
  background: linear-gradient(135deg, #dcebdd, #c3ddc9);
}
@media screen and (min-width: 769px) {
  #top .hero-photo {
    aspect-ratio: 4/5;
  }
}
#top .hero-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#top .hero-float {
  position: absolute;
  right: 1.4rem;
  bottom: -1.8rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.2rem 1.6rem;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
}
#top .hero-float .circle {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: #e8f3ea;
  display: grid;
  place-items: center;
  color: #5fa671;
  font-weight: 700;
  font-size: 1.41rem;
}
#top .hero-float b {
  display: block;
  color: #3f7d52;
  font-size: 1.5rem;
  line-height: 1.3;
}
#top .hero-float small {
  color: #66716a;
  font-size: 1.12rem;
}
#top {
  /* ============ コンセプト ============ */
}
#top .concept {
  padding: 7rem 0;
  background: #fff;
  text-align: center;
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  #top .concept {
    padding: 10rem 0;
  }
}
#top .concept .mark-bg {
  font-size: clamp(5.44rem, 8vw, 9.6rem);
  color: #e8f3ea;
  font-weight: 700;
  line-height: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin-bottom: -0.8rem;
}
#top .concept .lead-copy {
  font-size: 2.24rem;
  font-weight: 700;
  color: #3f7d52;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}
@media screen and (min-width: 769px) {
  #top .concept .lead-copy {
    font-size: 3.2rem;
  }
}
#top .concept .lead-copy .g {
  color: #5fa671;
}
#top .concept p {
  max-width: 62rem;
  margin: 0 auto;
  color: #66716a;
  font-size: 1.5rem;
}
#top .concept {
  /* 本文とリンクが詰まって見えるので離す */
}
#top .concept .concept-link {
  margin-top: 2.6rem;
}
@media screen and (min-width: 769px) {
  #top .concept .concept-link {
    margin-top: 3.2rem;
  }
}
#top {
  /* ============ 選ばれる理由 ============ */
}
#top .reasons {
  padding: 6.6rem 0;
  background: #f4f9f4;
}
@media screen and (min-width: 769px) {
  #top .reasons {
    padding: 9.6rem 0;
  }
}
#top .reasons .reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media screen and (min-width: 769px) {
  #top .reasons .reason-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
  }
}
#top .reasons .reason {
  background: #fff;
  border-radius: 1.8rem;
  padding: 2.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 0.6rem 1.8rem rgba(63, 125, 82, 0.06);
}
#top .reasons .reason .r-ico {
  width: 5rem;
  height: 5rem;
  border-radius: 1.4rem;
  background: #e8f3ea;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  color: #5fa671;
}
#top .reasons .reason .r-ico svg {
  width: 2.6rem;
  height: 2.6rem;
}
#top .reasons .reason b {
  display: block;
  color: #3f7d52;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
#top .reasons .reason span {
  font-size: 1.28rem;
  color: #66716a;
}
#top .reasons .center {
  margin-top: 2.2rem;
}
#top {
  /* ============ ダイジェスト（施設・入居） ============ */
}
#top .digest {
  padding: 6.6rem 0;
  background: #fff;
}
@media screen and (min-width: 769px) {
  #top .digest {
    padding: 9.6rem 0;
  }
}
#top .digest.alt {
  background: #f4f9f4;
}
#top .digest.alt .mini-tags span {
  background: #e8f3ea;
  border-color: transparent;
}
@media screen and (min-width: 769px) {
  #top .digest.alt .visual {
    order: 2;
  }
}
#top .digest .digest-inner {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
@media screen and (min-width: 769px) {
  #top .digest .digest-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}
#top .digest .visual {
  aspect-ratio: 16/10;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
  background: linear-gradient(135deg, #dcebdd, #c3ddc9);
}
#top .digest .visual img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#top .digest .en {
  color: #8fc79a;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.15rem;
}
#top .digest h2 {
  font-size: 2.4rem;
  color: #3f7d52;
  margin: 0.8rem 0 1.4rem;
  line-height: 1.5;
}
@media screen and (min-width: 769px) {
  #top .digest h2 {
    font-size: 3.04rem;
  }
}
#top .digest p {
  color: #66716a;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
#top .digest .mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
#top .digest .mini-tags span {
  font-size: 1.22rem;
  background: #fff;
  border: 1px solid #8fc79a;
  color: #3f7d52;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}
#top .digest .more {
  margin-top: 1.8rem;
}
#top {
  /* ============ ページ案内 ============ */
}
#top .guide {
  padding: 6.6rem 0;
  background: #e8f3ea;
}
@media screen and (min-width: 769px) {
  #top .guide {
    padding: 9.6rem 0;
  }
}
#top .guide .guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media screen and (min-width: 769px) {
  #top .guide .guide-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
#top .guide .guide-card {
  background: #fff;
  border-radius: 1.8rem;
  padding: 2.4rem 1.8rem;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 0.6rem 1.8rem rgba(63, 125, 82, 0.07);
}
#top .guide .guide-card:hover {
  transform: translateY(-0.4rem);
}
#top .guide .guide-card .g-ico {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: #e8f3ea;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  color: #5fa671;
}
#top .guide .guide-card .g-ico svg {
  width: 2.6rem;
  height: 2.6rem;
}
#top .guide .guide-card b {
  display: block;
  color: #3f7d52;
  font-size: 1.6rem;
}
#top .guide .guide-card span {
  font-size: 1.22rem;
  color: #66716a;
}
#top .guide .guide-card .arrow {
  margin-top: 1rem;
  color: #8fc79a;
  font-weight: 700;
  font-size: 1.28rem;
}

/* ============================================================
   私たちについて（page-about.php）
   ============================================================ */
#common {
  /* ============ 理念 ============ */
}
#common .philosophy {
  text-align: center;
}
#common .philosophy .big {
  font-size: 2.4rem;
  font-weight: 700;
  color: #3f7d52;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
@media screen and (min-width: 769px) {
  #common .philosophy .big {
    font-size: 3.2rem;
  }
}
#common .philosophy .big .g {
  color: #5fa671;
}
#common .philosophy p {
  max-width: 64rem;
  margin: 0 auto;
  color: #66716a;
  font-size: 1.5rem;
}
#common .philosophy {
  /* 会社案内資料の企業理念（濃緑の見出しバー＋クリーム地の枠を再現） */
}
#common .philosophy .credo {
  max-width: 40rem;
  margin: 3.2rem auto 0;
  background: #fbf9ef;
  border: 2px solid #3f7d52;
  border-radius: 1.2rem;
  padding: 0.9rem;
  box-shadow: 0 0.6rem 1.8rem rgba(63, 125, 82, 0.06);
  /* 資料の葉のあしらい */
}
@media screen and (min-width: 769px) {
  #common .philosophy .credo {
    margin-top: 4rem;
    padding: 1.1rem;
  }
}
#common .philosophy .credo .credo-label {
  display: block;
  background: linear-gradient(180deg, #4a8a5e, #3f7d52);
  color: #fff;
  font-size: 1.44rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  padding: 1.1rem;
  border-radius: 0.7rem;
}
#common .philosophy .credo .credo-body {
  padding: 2.2rem 1.4rem 2.4rem;
}
@media screen and (min-width: 769px) {
  #common .philosophy .credo .credo-body {
    padding: 2.6rem 1.6rem 2.8rem;
  }
}
#common .philosophy .credo .credo-text {
  max-width: none;
  color: #3f7d52;
  font-size: 1.92rem;
  font-weight: 700;
  line-height: 1.75;
}
@media screen and (min-width: 769px) {
  #common .philosophy .credo .credo-text {
    font-size: 2.24rem;
  }
}
#common .philosophy .credo .credo-text .g {
  color: #5fa671;
}
#common {
  /* ============ 代表メッセージ ============ */
}
#common .message-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: #fff;
  border-radius: 1.8rem;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
  padding: 2.8rem 2.2rem;
}
@media screen and (min-width: 769px) {
  #common .message-card {
    flex-direction: row;
    align-items: center;
    gap: 3.6rem;
    padding: 4rem;
  }
}
#common .message-card {
  /* 代表写真が未登録のときは本文だけの1カラムにする */
}
#common .message-card.no-photo {
  max-width: 78rem;
  margin-inline: auto;
}
#common .message-card .photo {
  aspect-ratio: 1/1;
  max-width: 18rem;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #dcebdd, #c3ddc9);
}
@media screen and (min-width: 769px) {
  #common .message-card .photo {
    max-width: 20rem;
    flex: none;
  }
}
#common .message-card .photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#common .message-card .txt h3 {
  color: #3f7d52;
  font-size: 1.92rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
#common .message-card .txt .role {
  color: #66716a;
  font-size: 1.31rem;
  margin-bottom: 1.4rem;
}
#common .message-card .txt p {
  font-size: 1.47rem;
  color: #37423b;
  margin-bottom: 1.2rem;
}
#common .message-card .txt .sign {
  font-weight: 700;
  color: #3f7d52;
  margin-bottom: 0;
}
#common .message-card .txt {
  /* 代表プロフィール（資料の年齢・出身・家族構成） */
}
#common .message-card .txt .profile {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e8f3ea;
  font-size: 1.31rem;
  line-height: 1.8;
  color: #66716a;
  margin-bottom: 0;
}
#common {
  /* ============ 5つのサポート（01〜05のカード） ============ */
  /* flex + 中央寄せ折り返し：PC3列で余る2枚が中央に収まる */
}
#common .support-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
@media screen and (min-width: 769px) {
  #common .support-grid {
    gap: 1.8rem;
  }
}
#common .support-item {
  position: relative;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8f3ea;
  border-radius: 1.8rem;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 0.6rem 1.8rem rgba(63, 125, 82, 0.06);
  overflow: hidden;
  transition: 0.3s;
  /* ホバー時に立ち上がる上端ライン */
}
@media screen and (min-width: 769px) {
  #common .support-item {
    flex: 0 1 calc((100% - 1.8rem) / 2);
    padding: 2.8rem 2.4rem;
  }
}
@media screen and (min-width: 1025px) {
  #common .support-item {
    flex: 0 1 calc((100% - 5.4rem) / 4);
    padding: 2.6rem 2rem;
  }
}
#common .support-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.4rem;
  background: linear-gradient(90deg, #3f7d52, #8fc79a);
  opacity: 0;
  transition: 0.3s;
}
#common .support-item:hover {
  border-color: #8fc79a;
  box-shadow: 0 1rem 2.6rem rgba(63, 125, 82, 0.12);
  transform: translateY(-0.4rem);
}
#common .support-item:hover::before {
  opacity: 1;
}
#common .support-item:hover .s-ico {
  background: #3f7d52;
  color: #fff;
}
#common .support-item {
  /* 通し番号（バッジ）。カードの padding と同じ位置に揃える */
}
#common .support-item .s-num {
  position: absolute;
  top: 2.2rem;
  right: 1.8rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #3f7d52;
  background: #e8f3ea;
  border-radius: 999px;
  padding: 0.5rem 1rem;
}
@media screen and (min-width: 769px) {
  #common .support-item .s-num {
    top: 2.8rem;
    right: 2.4rem;
  }
}
@media screen and (min-width: 1025px) {
  #common .support-item .s-num {
    top: 2.6rem;
    right: 2rem;
  }
}
#common .support-item .s-ico {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1.6rem;
  background: #e8f3ea;
  display: grid;
  place-items: center;
  color: #3f7d52;
  margin-bottom: 1.6rem;
  transition: 0.3s;
}
#common .support-item .s-ico svg {
  width: 2.8rem;
  height: 2.8rem;
}
#common .support-item .s-title {
  display: block;
  color: #3f7d52;
  font-size: 1.76rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
#common .support-item .s-text {
  display: block;
  font-size: 1.44rem;
  line-height: 1.9;
  color: #66716a;
  word-break: normal;
}
#common {
  /* ============ 安心のサポート体制（＋4つの体制） ============ */
}
#common .assure {
  margin-top: 2.6rem;
  background: #f4f9f4;
  border: 1px solid #e8f3ea;
  border-radius: 1.8rem;
  padding: 2rem;
}
@media screen and (min-width: 769px) {
  #common .assure {
    margin-top: 3.4rem;
    padding: 2.8rem;
  }
}
#common .assure .assure-head {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: #3f7d52;
  border-radius: 1.4rem;
  padding: 1.8rem;
  color: #fff;
  box-shadow: 0 0.8rem 2.4rem rgba(63, 125, 82, 0.18);
}
@media screen and (min-width: 769px) {
  #common .assure .assure-head {
    gap: 1.8rem;
    padding: 2.2rem 2.6rem;
  }
}
#common .assure .assure-head .a-ico {
  width: 4.6rem;
  height: 4.6rem;
  flex: none;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}
#common .assure .assure-head .a-ico svg {
  width: 2.6rem;
  height: 2.6rem;
}
#common .assure .assure-head .a-body b {
  display: block;
  font-size: 1.76rem;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
#common .assure .assure-head .a-body span {
  display: block;
  font-size: 1.38rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
#common {
  /* ============ 4つの体制（会社案内資料の下部バッジに準拠） ============ */
}
#common .pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
@media screen and (min-width: 769px) {
  #common .pillars {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}
#common .pillars .pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  background: #e8f3ea;
  border-radius: 1.4rem;
  /* SPは2列。「提携医療機関あり」が1行に収まる内寸を確保するため左右を詰める */
  padding: 1.8rem 0.8rem;
  /* 濃緑の丸に白抜きアイコン */
}
@media screen and (min-width: 769px) {
  #common .pillars .pillar {
    padding: 2.2rem 1.4rem;
  }
}
#common .pillars .pillar .p-ico {
  width: 4.4rem;
  height: 4.4rem;
  flex: none;
  border-radius: 50%;
  background: #3f7d52;
  color: #fff;
  display: grid;
  place-items: center;
}
#common .pillars .pillar .p-ico svg {
  width: 2.4rem;
  height: 2.4rem;
}
#common .pillars .pillar .p-body b {
  display: block;
  color: #3f7d52;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
@media screen and (min-width: 769px) {
  #common .pillars .pillar .p-body b {
    font-size: 1.5rem;
  }
}
#common .pillars .pillar .p-body .p-text {
  display: block;
  font-size: 1.28rem;
  line-height: 1.6;
  color: #3f7d52;
  opacity: 0.78;
}

/* ============================================================
   施設一覧・施設詳細（archive-facility.php / single-facility.php）
   ============================================================ */
#common {
  /* ============ 施設カード一覧 ============ */
}
#common .house-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
#common .house-card {
  display: block;
  background: #fff;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
  transition: 0.3s;
}
#common .house-card:hover {
  transform: translateY(-0.5rem);
}
#common .house-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #dcebdd, #c3ddc9);
}
#common .house-card .thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#common .house-card .body {
  padding: 2.2rem;
}
#common .house-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
#common .house-card .tags span {
  font-size: 1.15rem;
  background: #e8f3ea;
  color: #3f7d52;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
#common .house-card h3 {
  color: #3f7d52;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
#common .house-card p {
  font-size: 1.41rem;
  color: #66716a;
  margin-bottom: 1.4rem;
}
#common {
  /* ============ 施設詳細 ============ */
}
@media screen and (min-width: 769px) {
  #common .detail-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.4rem;
    align-items: center;
  }
}
#common {
  /* 6室の写真を2列×3行で均等に並べる（列幅に応じて4:3を保つ）。下に部屋名＋説明 */
}
#common .gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem 1rem;
}
#common .gallery .g-item {
  margin: 0;
}
#common .gallery .g-item .g-photo {
  aspect-ratio: 4/3;
  border-radius: 1.4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #e3efe4, #cfe3d4);
}
#common .gallery .g-item .g-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#common .gallery .g-item .g-cap {
  margin-top: 0.8rem;
}
#common .gallery .g-item .g-cap b {
  display: block;
  color: #3f7d52;
  font-size: 1.38rem;
  line-height: 1.5;
  margin-bottom: 0.2rem;
}
#common .gallery .g-item .g-cap span {
  display: block;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #66716a;
}
#common .detail-text {
  color: #66716a;
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
}
#common .feat-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.8rem;
}
#common .feat-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 500;
}
#common .feat-list li .chk {
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 50%;
  background: #5fa671;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.28rem;
}
#common {
  /* ============ 周辺環境 ============ */
}
#common .around-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media screen and (min-width: 769px) {
  #common .around-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
#common .around-grid .around-item {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: 0 0.6rem 1.8rem rgba(63, 125, 82, 0.06);
}
#common .around-grid .around-item .ai-ico {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: #e8f3ea;
  display: grid;
  place-items: center;
  margin: 0 auto 0.8rem;
  color: #5fa671;
}
#common .around-grid .around-item .ai-ico svg {
  width: 2.4rem;
  height: 2.4rem;
}
#common .around-grid .around-item b {
  display: block;
  color: #37423b;
  font-size: 1.38rem;
}
#common .around-grid .around-item span {
  color: #5fa671;
  font-weight: 700;
  font-size: 1.25rem;
}

/* ============================================================
   入居案内（page-entry.php）
   ============================================================ */
#common {
  /* ============ 受け入れ ============ */
}
#common .accept {
  background: linear-gradient(135deg, #e8f3ea, #f4f9f4);
  border-radius: 1.8rem;
  padding: 3rem 2.2rem;
  text-align: center;
}
#common .accept h3 {
  color: #3f7d52;
  font-size: 2.08rem;
  margin-bottom: 1.2rem;
}
#common .accept p {
  max-width: 60rem;
  margin: 0 auto 1.6rem;
  color: #37423b;
  font-size: 1.5rem;
}
#common .accept .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
#common .accept .tags span {
  background: #fff;
  color: #3f7d52;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.38rem;
  box-shadow: 0 0.4rem 1.4rem rgba(63, 125, 82, 0.08);
}
#common {
  /* ============ 月額利用料金 ============ */
}
#common .price-box {
  max-width: 62rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
}
#common .price-box .ph-head {
  background: #3f7d52;
  color: #fff;
  text-align: center;
  padding: 2rem;
  font-size: 1.84rem;
  font-weight: 700;
}
#common .price-table {
  width: 100%;
  border-collapse: collapse;
}
#common .price-table tr {
  border-bottom: 1px solid #e8f3ea;
}
#common .price-table tr.total th {
  background: #e8f3ea;
  color: #3f7d52;
  font-weight: 700;
}
#common .price-table tr.total td {
  font-size: 2rem;
}
#common .price-table tr.discount th,
#common .price-table tr.discount td {
  color: #d0574d;
}
#common .price-table th {
  width: 56%;
  text-align: left;
  padding: 1.5rem 2.2rem;
  background: #f4f9f4;
  color: #37423b;
  font-weight: 500;
  font-size: 1.5rem;
}
#common .price-table td {
  text-align: right;
  padding: 1.5rem 2.2rem;
  color: #3f7d52;
  font-weight: 700;
  font-size: 1.68rem;
}
#common .price-note {
  text-align: center;
  color: #66716a;
  font-size: 1.31rem;
  margin-top: 1.4rem;
}
#common {
  /* ============ ご入居までの流れ ============ */
}
#common .steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  counter-reset: step;
  margin-top: 1.4rem;
}
@media screen and (min-width: 769px) {
  #common .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.6rem 2rem;
  }
}
#common .steps .step {
  position: relative;
  background: #f4f9f4;
  border-radius: 1.6rem;
  padding: 2.2rem 2rem 2rem 6.2rem;
}
#common .steps .step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 50%;
  left: 1.6rem;
  transform: translateY(-50%);
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: #5fa671;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0.6rem 1.6rem rgba(95, 166, 113, 0.4);
}
#common .steps .step h4 {
  color: #3f7d52;
  font-size: 1.68rem;
  margin-bottom: 0.4rem;
}
#common .steps .step p {
  font-size: 1.36rem;
  color: #66716a;
}
#common {
  /* ============ 親なきあと連携 ============ */
}
#common .oyanaki {
  background: #3f7d52;
  color: #fff;
  border-radius: 1.8rem;
  padding: 3rem 2.4rem;
  text-align: center;
}
@media screen and (min-width: 769px) {
  #common .oyanaki {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    padding: 4rem;
    text-align: left;
  }
}
#common .oyanaki .badge-circle {
  width: 12rem;
  height: 12rem;
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px dashed rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.55;
  padding: 1.6rem;
}
@media screen and (min-width: 769px) {
  #common .oyanaki .badge-circle {
    margin: 0;
    flex: none;
  }
}
#common .oyanaki h3 {
  font-size: 2.08rem;
  margin-bottom: 1.2rem;
}
#common .oyanaki p {
  max-width: 62rem;
  margin: 0 auto;
  font-size: 1.47rem;
  opacity: 0.92;
}

/* ============================================================
   お問い合わせ（page-contact.php）※LINE誘導のみ・フォーム無し
   ============================================================ */
@media screen and (min-width: 769px) {
  #common .contact-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
#common {
  /* ============ LINE誘導カード ============ */
}
#common .line-card {
  background: linear-gradient(135deg, #e8f7ee, #f4f9f4);
  border: 2px solid #06c755;
  border-radius: 1.8rem;
  padding: 3rem 2.4rem;
  text-align: center;
}
#common .line-card .l-ico {
  width: 6.4rem;
  height: 6.4rem;
  margin: 0 auto 1.4rem;
  border-radius: 2rem;
  background: #06c755;
  display: grid;
  place-items: center;
  color: #fff;
}
#common .line-card .l-ico svg {
  width: 3.4rem;
  height: 3.4rem;
}
#common .line-card h3 {
  color: #3f7d52;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
#common .line-card p {
  color: #66716a;
  font-size: 1.44rem;
  margin-bottom: 2rem;
}
#common .line-card .qr {
  width: 12rem;
  height: 12rem;
  margin: 1.6rem auto 0;
  border-radius: 1.4rem;
  background: #fff;
  border: 1px solid #e8f3ea;
  display: grid;
  place-items: center;
  color: #66716a;
  font-size: 1.15rem;
  text-align: center;
  overflow: hidden;
}
#common .line-card .qr img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
#common {
  /* ============ アクセス情報 ============ */
}
#common .access-info {
  background: #f4f9f4;
  border-radius: 1.8rem;
  padding: 2.6rem 2.2rem;
  margin-top: 2rem;
}
@media screen and (min-width: 769px) {
  #common .access-info {
    margin-top: 0;
  }
}
#common .access-info dl {
  margin-bottom: 1.8rem;
}
#common .access-info dl.last {
  margin-bottom: 0;
}
#common .access-info dt {
  color: #8fc79a;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
#common .access-info dd {
  color: #37423b;
  font-size: 1.54rem;
  font-weight: 500;
}
#common .access-info dd.big {
  color: #3f7d52;
  font-size: 1.73rem;
  font-weight: 700;
}
#common {
  /* 周辺地図ブロックは _common.scss（お問い合わせ・施設一覧で共通） */
}

/* ============================================================
   メールフォーム（Contact Form 7 ／ Multi-Step 対応）
   ・入力画面：氏名 / フリガナ / メール / 電話 / 内容 / 同意
   ・確認画面：[multiform] の値表示 ＋ 戻る・送信
   ・完了画面：完了メッセージ
   ============================================================ */
#common .wpcf7 {
  max-width: 76rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.8rem;
  box-shadow: 0 1rem 3.4rem rgba(63, 125, 82, 0.1);
  padding: 3rem 2.2rem;
}
@media screen and (min-width: 769px) {
  #common .wpcf7 {
    padding: 4.4rem 4rem;
  }
}
#common .wpcf7 {
  /* CF7が自動で挿入する <p> ラッパー */
}
#common .wpcf7 form > p {
  margin-bottom: 2.2rem;
}
#common .wpcf7 form > p:last-child {
  margin-bottom: 0;
}
#common .wpcf7 {
  /* ============ ラベル ============ */
}
#common .wpcf7 label {
  display: block;
  color: #3f7d52;
  font-size: 1.54rem;
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 2.2rem;
}
#common .wpcf7 label:last-child {
  margin-bottom: 0;
}
#common .wpcf7 {
  /* 必須・任意バッジ */
}
#common .wpcf7 .red,
#common .wpcf7 .blue {
  display: inline-block;
  margin-left: 0.8rem;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 2px;
}
#common .wpcf7 .red {
  background: #d0574d;
}
#common .wpcf7 .blue {
  background: #5b86ad;
}
#common .wpcf7 {
  /* ============ 入力欄 ============ */
}
#common .wpcf7 input[type=text],
#common .wpcf7 input[type=email],
#common .wpcf7 input[type=tel],
#common .wpcf7 textarea {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  padding: 1.4rem 1.6rem;
  background: #f7faf7;
  border: 1px solid #e8f3ea;
  border-radius: 1.4rem;
  color: #37423b;
  font-family: "Zen Maru Gothic", "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.7;
  transition: 0.25s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
#common .wpcf7 input[type=text]::-moz-placeholder, #common .wpcf7 input[type=email]::-moz-placeholder, #common .wpcf7 input[type=tel]::-moz-placeholder, #common .wpcf7 textarea::-moz-placeholder {
  color: #66716a;
  opacity: 0.6;
  font-weight: 400;
}
#common .wpcf7 input[type=text]::placeholder,
#common .wpcf7 input[type=email]::placeholder,
#common .wpcf7 input[type=tel]::placeholder,
#common .wpcf7 textarea::placeholder {
  color: #66716a;
  opacity: 0.6;
  font-weight: 400;
}
#common .wpcf7 input[type=text]:hover,
#common .wpcf7 input[type=email]:hover,
#common .wpcf7 input[type=tel]:hover,
#common .wpcf7 textarea:hover {
  border-color: #8fc79a;
}
#common .wpcf7 input[type=text]:focus,
#common .wpcf7 input[type=email]:focus,
#common .wpcf7 input[type=tel]:focus,
#common .wpcf7 textarea:focus {
  outline: none;
  background: #fff;
  border-color: #5fa671;
  box-shadow: 0 0 0 0.3rem rgba(95, 166, 113, 0.16);
}
#common .wpcf7 textarea {
  min-height: 18rem;
  resize: vertical;
}
#common .wpcf7 {
  /* ============ 同意チェック ============ */
}
#common .wpcf7 .policy {
  text-align: center;
  margin-top: 2.6rem;
  margin-bottom: 2.6rem;
}
#common .wpcf7 .policy .wpcf7-list-item {
  margin: 0;
}
#common .wpcf7 .policy .wpcf7-list-item-label {
  font-size: 1.47rem;
  font-weight: 500;
  color: #37423b;
}
#common .wpcf7 .policy a {
  color: #5fa671;
  text-decoration: underline;
}
#common .wpcf7 input[type=checkbox] {
  width: 2rem;
  height: 2rem;
  margin-right: 0.8rem;
  border: 2px solid #8fc79a;
  border-radius: 0.5rem;
  background: #fff;
  vertical-align: -0.4rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: 0.2s;
}
#common .wpcf7 input[type=checkbox]:checked {
  background: #5fa671;
  border-color: #5fa671;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-size: 1.4rem;
  background-position: center;
  background-repeat: no-repeat;
}
#common .wpcf7 input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.3rem rgba(95, 166, 113, 0.2);
}
#common .wpcf7 {
  /* ============ ボタン ============ */
}
#common .wpcf7 .form-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.6rem;
}
@media screen and (min-width: 769px) {
  #common .wpcf7 .form-btns {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 1.6rem;
  }
}
/* CF7のautopがボタン2つを1つの <p> にまとめ <br> で繋ぐため、
   このままだとフレックスアイテムが1つになり gap が効かず密着する。
   <p> を透過させてボタン自体をフレックスアイテムにする */
#common .wpcf7 .form-btns > p {
  display: contents;
}
#common .wpcf7 .form-btns br {
  display: none;
}
#common .wpcf7 input[type=submit],
#common .wpcf7 .wpcf7-previous,
#common .wpcf7 button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24rem;
  padding: 1.5rem 2.6rem;
  border: none;
  border-radius: 999px;
  background: #5fa671;
  color: #fff;
  font-family: "Zen Maru Gothic", "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.54rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
#common .wpcf7 input[type=submit]:hover,
#common .wpcf7 .wpcf7-previous:hover,
#common .wpcf7 button:hover {
  background: #3f7d52;
  transform: translateY(-0.2rem);
}
#common .wpcf7 input[type=submit]:disabled,
#common .wpcf7 .wpcf7-previous:disabled,
#common .wpcf7 button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
#common .wpcf7 {
  /* 「戻る」はゴーストボタン */
}
#common .wpcf7 .wpcf7-previous {
  background: #fff;
  color: #3f7d52;
  border: 2px solid #8fc79a;
}
#common .wpcf7 .wpcf7-previous:hover {
  background: #e8f3ea;
  color: #3f7d52;
}
#common .wpcf7 {
  /* 単独配置時も中央に */
}
#common .wpcf7 input[type=submit] {
  display: block;
  margin: 2.6rem auto 0;
}
#common .wpcf7 .form-btns input[type=submit] {
  margin: 0;
}
#common .wpcf7 {
  /* ============ 確認画面（[multiform] の値表示） ============ */
}
#common .wpcf7.confirm label {
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid #e8f3ea;
}
#common .wpcf7.confirm label:last-of-type {
  border-bottom: none;
}
#common .wpcf7 {
  /* [multiform] はラッパー無しの素のテキストを返すため、
     フォーム側で <span class="confirm-value">[multiform ...]</span> と囲む */
}
#common .wpcf7 .confirm-value {
  display: block;
  margin-top: 0.6rem;
  padding: 1.2rem 1.6rem;
  background: #f4f9f4;
  border-radius: 1.4rem;
  color: #37423b;
  font-size: 1.6rem;
  font-weight: 500;
  word-break: break-all;
}
#common .wpcf7 {
  /* ============ エラー・レスポンス表示 ============ */
}
#common .wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.6rem;
  color: #d0574d;
  font-size: 1.31rem;
  font-weight: 700;
}
#common .wpcf7 .wpcf7-not-valid {
  border-color: #d0574d !important;
  background: #fdf6f5;
}
#common .wpcf7 .wpcf7-response-output {
  margin: 2.4rem 0 0;
  padding: 1.4rem 1.8rem;
  border: 2px solid #8fc79a;
  border-radius: 1.4rem;
  color: #37423b;
  font-size: 1.44rem;
  font-weight: 500;
  text-align: center;
}
#common .wpcf7.invalid .wpcf7-response-output, #common .wpcf7.unaccepted .wpcf7-response-output, #common .wpcf7.payment-required .wpcf7-response-output {
  border-color: #d0574d;
  color: #d0574d;
}
#common .wpcf7 .wpcf7-spinner {
  display: block;
  margin: 1.4rem auto 0;
}
#common {
  /* フォーム下の注記（個人情報の取扱い） */
}
#common .form-note {
  max-width: 76rem;
  margin: 1.6rem auto 0;
  color: #66716a;
  font-size: 1.31rem;
  line-height: 1.9;
  text-align: center;
  /* body の keep-all のままだと句点だけが行頭に落ちるため通常の禁則に戻す */
  word-break: normal;
}
#common .form-note a {
  color: #5fa671;
  text-decoration: underline;
}
#common {
  /* ============ 完了画面 ============ */
}
#common .form-thanks {
  max-width: 62rem;
  margin: 0 auto;
  text-align: center;
  /* 完了画面のボタンは .wpcf7 の外にあるので、ここで並びを定義する */
}
#common .form-thanks .form-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
@media screen and (min-width: 769px) {
  #common .form-thanks .form-btns {
    flex-direction: row;
    justify-content: center;
    gap: 1.6rem;
  }
}
#common .form-thanks .thanks-ico {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: #e8f3ea;
  display: grid;
  place-items: center;
  color: #5fa671;
}
#common .form-thanks .thanks-ico svg {
  width: 4rem;
  height: 4rem;
}
#common .form-thanks h2 {
  color: #3f7d52;
  font-size: 2.4rem;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}
#common .form-thanks p {
  color: #66716a;
  font-size: 1.5rem;
  margin-bottom: 2.6rem;
}

/* ============================================================
   プライバシーポリシー（page-privacy.php）
   ============================================================ */
#common .privacy-body {
  max-width: 76rem;
  margin: 0 auto;
}
#common .privacy-body h3 {
  color: #3f7d52;
  font-size: 1.84rem;
  margin: 3.2rem 0 1rem;
  padding-left: 1.4rem;
  border-left: 4px solid #8fc79a;
  line-height: 1.6;
}
#common .privacy-body h3:first-child {
  margin-top: 0;
}
#common .privacy-body p {
  font-size: 1.47rem;
  color: #37423b;
  margin-bottom: 1.6rem;
}
#common .privacy-body ul {
  margin: 0 0 1.6rem 1.8rem;
}
#common .privacy-body ul li {
  font-size: 1.47rem;
  color: #37423b;
  list-style: disc;
}
#common .privacy-body a {
  color: #5fa671;
  text-decoration: underline;
}/*# sourceMappingURL=style.css.map */