:root {
  --header-height-sp: 104px;
  --header-gap-sp: 24px;

  /* colors */
  --c-main: #DC5519;
  --c-main-weak: #FCF5E6;
  --c-blue: #0227AC;
  --c-blue-weak: #E7EAF8;
  --c-line: #06C755;
  --c-black: #373737;
  --c-text: #787878;
  --c-border: #e8e8e8;
  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 3.5vw, 40px);
  --header-height: 120px;
  /* typography */
  --fz-base: 16px;
  --fz-small: 0.875rem;
  --fz-note: 0.8125rem;
  --fz-medium: 1.125rem;
  --fz-large: 1.25rem;
  --fz-title: clamp(1.5rem, 2vw, 1.75rem);
  --fz-display: clamp(1.75rem, 2.6vw, 2.125rem);
  --lh: 1.8;
  --lh-heading: 1.5;
  --tracking-body: 0.02em;
  --tracking-heading: 0.04em;
  --tracking-nav: 0.05em;
  /* spacing: 8px rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
}

/*
===============
   base
   ===============
*/

html {
  font-size: var(--fz-base);
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  color: var(--c-text);
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  line-height: var(--lh);
  letter-spacing: var(--tracking-body);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--c-black);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
  font-feature-settings: "palt";
}

p + p {
  margin-top: 0.75em;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: var(--tracking-body);
}

button, .btn, .header__menu a {
  font-feature-settings: "palt";
}

img {
  height: auto;
}

.bg__main-weak {
  background: var(--c-main-weak);
  padding: var(--space-6) 0;
}

.fade {
  opacity: 0;
  transition: 3s ease;
}

.fade--up {
  transform: translateY(20px);
}

.fade--up.is-show {
  transform: translateY(0);
  opacity: 1;
}

.fade--in.is-show {
  opacity: 1;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--c-main);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
  z-index: 1000;
}

.l-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: var(--space-6) 0;
}

.l-flex img {
  align-self: flex-start;
}

section {
  scroll-margin-top: 100px;
}

.date__list {
  max-width: 950px;
  margin: var(--space-4) auto;
}

.date__row {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: var(--space-2) 0;
}

.date__term {
  width: 200px;
  font-weight: 600;
}

.date__desc {
  flex: 1;
}

.text-color__main {
  color: var(--c-main);
}

.text-color__red {
  color: #DA1313;
}

.text-align__center {
  text-align: center;
  display: block;
}

.text-align__right {
  text-align: right;
  display: block;
}

.text-strong {
  display: block;
  margin: var(--space-3) auto;
  color: var(--c-main);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.03em;
  text-align: center;
}

.text-small {
  display: block;
  margin: var(--space-2) auto;
  font-size: var(--fz-small);
  line-height: 1.7;
}

/*
===============
   header
   ===============
*/

.header__eyebrow {
  margin-bottom: 2px;
  color: var(--c-black);
  font-size: var(--fz-note);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}

.zen-old-mincho {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

header {
  border-bottom: 2px solid var(--c-main);
  color: var(--c-black);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background-color: rgba(255,255,255,0);
  /* 初期 */
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background-color .25s ease, -webkit-backdrop-filter .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
  min-height: 72px;
  /* iOS対策：レイヤーを固定して崩れにくくする */
  transform: none;
  -webkit-transform: none;
  will-change: auto;
}

header .logo, footer .logo {
  max-width: 200px;
}

header.is-scrolled {
  background-color: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1200px, 100% - 32px);
  min-height: 72px;
  margin: 0 auto;
  padding: 8px 0;
}

.header__menu {
  display: flex;
  justify-content: space-around;
  margin-bottom: var(--space-1);
  padding-top: var(--space-1);
  border-top: 1px solid #eee;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--tracking-nav);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__tel a {
  transition: color .3s ease;
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.header__tel a::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url(../img/common/icon_tel.svg) no-repeat center / contain;
  margin-right: 6px;
}

.header__tel a:hover {
  color: var(--c-text);
}

.header__tel p {
  font-size: var(--fz-small);
  line-height: 1.5;
  position: relative;
  bottom: 8px;
  color: var(--c-text);
}

.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-1);
  border-radius: 4px;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  transition: transform .3s ease;
}

.btn.btn--mail,
.btn.btn--main {
  background: var(--c-main);
}

.btn.btn--mail::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../img/common/icon_mail.svg) no-repeat center / contain;
  margin-right: 6px;
}

.btn.btn--line {
  background: var(--c-line);
}

.btn.btn--line::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../img/common/icon_line.svg) no-repeat center / contain;
  margin-right: 6px;
}

header .btn.btn--mail,
header .btn.btn--line {
  width: 100px;
  padding: 6px 8px;
  font-size: 0.9375rem;
  /* transition: transform .15s ease, filter .15s ease; */
}

.btn.btn--main {
  background: var(--c-main);
  width: 250px;
  margin: 1rem auto;
}

.btn.btn--mail:hover,
.btn.btn--line:hover {
  transform: translateY(-3px);
  filter: brightness(1.02);
}

/*
=========================
   hamburger menu
   =========================
*/

.header__logo {
  display: flex;
  flex-direction: column;
}

.header__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 2600;
  cursor: pointer;
}

.header__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--c-black);
  border-radius: 999px;
  position: absolute;
  left: 8px;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}

.header__hamburger span:nth-child(1) {
  top: 13px;
}

.header__hamburger span:nth-child(2) {
  top: 21px;
}

.header__hamburger span:nth-child(3) {
  top: 29px;
}

.header__hamburger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

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

.header__hamburger.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.header__nav {
  transition: all .3s ease;
}

.header__spCta {
  display: none;
}

/*
===============
   front
   ===============
*/

.fv__bg {
  background: url(../img/front/bg.jpg);
  background-size: cover;
  padding-top: 90px;
}

.hero__container {
  position: relative;
  margin: 3rem auto;
}

.hero__copy {
  position: absolute;
  left: 3.5rem;
  bottom: 4rem;
}

.hero__copy span {
  display: inline-block;
  padding: 4px 16px;
  margin: 4px;
  color: var(--c-black);
  font-size: clamp(1.75rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(6px);
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .1);
}

.hero__img img {
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .1);
}

.hero__img {
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .1);
  width: fit-content;
  margin: 0 auto;
}

.hero--sub {
  margin-top: 0;
  padding-top: 120px;
}

.hero--sub .hero__container {
  position: relative;
  margin: 3rem auto;
}

.hero--sub img {
  width: 100%;
  display: block;
}

.hero--sub .hero__title {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 200px;
  padding: 8px 16px;
  text-align: center;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.hero--sub h1 {
  color: var(--c-main);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.hero__cta {
  position: absolute;
  right: 5rem;
  bottom: 3rem;
}

.hero__btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(
        135deg,
        rgba(102,195,199,.9),
        rgba(47,143,148,.95)
    );
  backdrop-filter: blur(6px);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  box-shadow: 2px 2px 8px rgba(0,0,0,.15);
  transition: .3s;
}

.hero__btn small:after {
  content: "";
  display: inline-block;
  background: url(../img/common/icon_btn.svg);
  width: 15px;
  height: 15px;
  position: relative;
  top: 2px;
  margin-left: 2px;
}

.hero__btn small {
  margin-top: var(--space-1);
  font-size: var(--fz-small);
  line-height: 1.5;
}

.hero__btn:hover {
  transform: scale(1.05);
}

.accept {
  background: var(--c-main-weak);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  color: var(--c-black);
}

.accept__title {
  color: var(--c-main);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.accept__toggle {
  width: 100%;
  text-align: left;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.03em;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.accept__list {
  margin: 0;
}

.accept__item {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted #ddd;
}

.accept__status {
  width: 10px;
  height: 10px;
  justify-self: end;
}

.accept__status.is-ok {
  border-radius: 999px;
  background: #0b5bd3;
}

.accept__status.is-warn {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #f0a000;
}

.accept-note {
  width: 90%;
  margin: 0 auto 0.25rem;
  font-size: var(--fz-small);
  line-height: 1.6;
}

.accept-note__item .accept__status {
  justify-self: start;
}

.accept-note__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-right: 1rem;
  color: var(--c-black);
}

.front-title {
  display: block;
  width: fit-content;
  margin: 0 auto var(--space-3);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-main);
  color: var(--c-main);
  font-size: var(--fz-title);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}

.front-title img {
  max-width: 180px;
}

.about .l-flex {
  margin: 2rem auto 0;
  padding-bottom: 5rem;
}

.about {
  text-align: center;
}

.about__concept span {
  display: block;
  margin-bottom: 4px;
  color: var(--c-text);
  font-size: var(--fz-small);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.about__concept {
  color: var(--c-main);
  font-size: var(--fz-title);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-align: center;
}

.about__residence {
  background: var(--c-main-weak);
  padding: 2rem;
  margin: 3rem auto;
  border-radius: 10px;
  position: relative;
}

.about__residence img {
  margin: auto;
}

.about__figure {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20%;
}

.about__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  color: var(--c-main);
  margin: 3rem auto;
  text-align: center;
}

.about__features img {
  margin: 0 auto 1rem;
}

.about__features li {
  width: 300px;
  border: 2px solid var(--c-main);
  padding: 2rem 1rem;
  border-radius: 10px;
}

.support-life {
  background: var(--c-main-weak);
  padding: 2rem;
  border-radius: 10px;
  margin: 3rem auto;
}

.support-life__nav {
  text-align: center;
}

.support-life__btn {
  background: var(--c-main);
  color: white;
  padding: .5rem 1rem;
  border-radius: 10px;
  margin-right: 1rem;
}

.support-life__btn.support-life__btn--night {
  background: var(--c-blue);
}

.support-life__btn::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/common/icon_arrow.svg);
  transform: scaleY(-1);
  position: relative;
  top: 3px;
  margin-left: .5rem;
}

.support-life__title {
  color: var(--c-main);
  border-bottom: 1px solid var(--c-text);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.support-life__title span {
  display: block;
  margin-top: 4px;
  color: var(--c-text);
  font-size: var(--fz-small);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.support-life__subtitle {
  margin: var(--space-2) 0 var(--space-1);
  color: var(--c-main);
  font-size: var(--fz-medium);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.support-life__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.support-life__list li {
  background: white;
  padding: .25rem 1.5rem;
  margin: .5rem 0;
  border-radius: 20px;
}

.support-life__message {
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  margin: 2rem auto 0;
}

.support-life__message span {
  color: var(--c-main);
}

.support-life--night {
  background: var(--c-blue-weak);
}

.support-life--night .support-life__title {
  color: var(--c-blue);
}

.support-life--night .support-life__subtitle {
  background: var(--c-blue);
  color: white;
  padding: .5rem;
}

.careList {
  margin: 0;
  padding: 0;
}

.careList__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--c-text);
  align-items: center;
}

.careList__term {
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
}

.careList__note {
  display: block;
  font-weight: 500;
  font-size: var(--fz-small);
  line-height: 1.6;
  opacity: .8;
}

.careList__desc {
  margin: 0;
  line-height: 1.8;
}

.night-list {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin: var(--space-4) auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
  line-height: 1.75;
}

.night-list p span {
  display: block;
  color: var(--c-blue);
}

.support-life--night .support-life__message {
  color: var(--c-blue);
}

.features img,
.medical img {
  border-radius: 8px;
}

.features .l-flex {
  justify-content: center;
  gap: var(--space-6);
}

.features__content {
  /* width: 500px; */
  width: 100%;
  margin: auto;
}

.features__copy {
  color: var(--c-main);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.features__content h3 {
  margin-bottom: var(--space-1);
  color: var(--c-main);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.support {
  margin: 5rem auto 1rem;
}

.support__bg {
  background: url(../img/front/support_01.jpg);
  background-repeat: no-repeat;
}

.support__bg img {
  position: relative;
  bottom: 2rem;
  right: 1rem;
}

.support__copy {
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-align: center;
}

.support__copy span {
  background: var(--c-main);
  color: white;
  padding: 0.25rem 1rem;
  margin: 0.5rem 0.25rem 0.5rem 0;
  display: inline-block;
}

.support .l-flex {
  flex-direction: row-reverse;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: 6rem;
}

.support .l-flex div {
  writing-mode: vertical-rl;
  font-size: clamp(1.75rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
  position: relative;
  top: 4.5rem;
}

.medical {
  border: 2px solid var(--c-main);
  border-radius: 8px;
  padding: 3.5rem;
  width: 90%;
  margin: auto;
}

.medical h3 {
  color: var(--c-main);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
}

.medical .l-flex {
  flex-direction: row;
  justify-content: center;
  gap: var(--space-4);
}

.medical a {
  display: inline-block;
  margin-top: 0.5rem;
  text-align: center;
}

.medical ul {
  max-width: 740px;
  margin: auto;
}

.medical ul li {
  border-bottom: 2px dotted var(--c-main);
  padding: .25rem;
  margin: .5rem;
}

.medical ul li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/common/icon_check.svg) no-repeat center / contain;
  margin-right: 6px;
}

.target {
  width: 90%;
  margin: var(--space-4) auto;
  padding: 2rem;
  background: #F8F8F8;
  border-radius: 8px;
  text-align: center;
}

.target h3 {
  margin-bottom: var(--space-2);
  color: var(--c-main);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
}

.target span {
  color: var(--c-main);
  font-weight: 600;
}

.front-cta h2 {
  text-align: center;
  color: var(--c-main);
  margin-bottom: 0.75rem;
}

.front-cta {
  text-align: center;
}

.front-cta__btn {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  margin-top: 1rem;
}

.front-cta__btn .btn {
  width: 250px;
  padding: 0.5rem 1rem;
}

.message {
  margin: var(--space-8) auto;
}

.message__content {
  text-align: center;
}

.company {
  margin: var(--space-8) auto;
}

.philosophy {
  margin: var(--space-8) auto;
}

.philosophy .l-flex {
  gap: var(--space-5);
}

/*
===============
   form
   ===============
*/

.contact .front-title {
  margin: 0 auto var(--space-3);
}

.contact-tel,
.contact-mail {
  margin-top: var(--space-8);
}

.form-wrapper {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 20px;
}

.form-item {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 1.5rem;
}

.form-label {
  width: 250px;
  flex-shrink: 0;
  font-weight: 500;
  line-height: 1.6;
}

.required {
  display: inline-block;
  background: #FF0066;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  border-radius: 10px;
  width: 50px;
  text-align: center;
  margin-right: .5rem;
}

.form-control {
  flex: 1;
}

.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.form-control--radio .wpcf7-radio {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  width: fit-content;
}

.form-control .wpcf7-list-item {
  margin: 0;
  display: inline-block;
  width: auto;
}

.form-control .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}

.form-control .wpcf7-list-item-label {
  display: inline;
  width: auto;
  white-space: nowrap;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  width: 180px;
}

.form-submit {
  text-align: right;
}

.form-submit input[type="submit"] {
  display: inline-block;
  min-width: 240px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: .5rem 1rem;
  border: none;
  border-radius: 6px;
  background: var(--c-main);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.form-submit input[type="submit"]:hover {
  opacity: 0.8;
}

.thanks {
  margin: 200px auto 100px;
}

.thanks h1 {
  color: var(--c-main);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  border-bottom: 1px solid;
}

.thanks h2 {
  margin-bottom: var(--space-2);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

footer {
  font-size: var(--fz-small);
  line-height: 1.7;
  background: var(--c-main-weak);
  padding-top: 1.5rem;
}

.footer__container {
  display: flex;
  justify-content: space-between;
}

.footer-title {
  font-size: var(--fz-note);
  line-height: 1.5;
}

.footer__tel a {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer__tel a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url(../img/common/icon_tel.svg) no-repeat center / contain;
  margin-right: 6px;
}

.footer__tel a:hover {
  color: var(--c-text);
}

.footer__cta {
  display: flex;
  gap: var(--space-1);
  margin-top: 1rem;
  align-items: center;
}

.footer__cta .btn {
  width: 150px;
  padding: 0.5rem 0;
}

.copyright {
  background: var(--c-main);
  color: white;
  text-align: center;
  padding: .25rem;
  margin-top: var(--space-2);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.policy {
    height: 160px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 1rem;
    font-size: 80%;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.policy h2 {
    border-bottom: 0.5px solid #ccc;
    margin-bottom: 0.75rem;
    padding-bottom: .25rem;
    font-weight: 600;
}
.policy h3 {
    margin-top: 1rem;
    font-weight: 500;
    border-left: 1px solid var(--c-main);
    padding-left: .5rem;
}

/* ===== 施設紹介 ===== */

.environment__content {
  margin: 3rem auto;
}

.environment__text h3 {
  margin-bottom: var(--space-2);
  color: var(--c-main);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.environment__content img {
  border-radius: 5px;
}

/*
.environment__content .l-flex{
  gap: var(--space-6);
}
*/

.environment__text {
  width: min(600px, 100%);
}

.room-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 画像エリア */

.room-detail__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #ddd;
  margin-bottom: 32px;
  overflow: hidden;
}

.room-detail__gallery-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 32px));
  min-width: 0;
  padding: 24px 32px;
  border: none;
  background: #ff006e;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.room-detail__gallery-btn:hover {
  opacity: 0.85;
}

.swiper {
  width: 100%;
  max-width: 950px;
  height: 100%;
  margin: 2rem auto 2.5rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--c-main) !important;
}

.swiper-pagination-bullet-active {
  background: var(--c-main) !important;
}

.meal-history {
  padding: 1.5rem 2rem;
  border: 1px solid var(--c-main);
  border-radius: 5px;
}

.meal-history p {
  color: var(--c-main);
  text-align: center;
}

.meal-menu .menu-title {
  text-align: center;
  margin: .5rem auto;
  color: var(--c-main);
}

.reference {
  background: var(--c-main-weak);
  padding: 1.5rem;
}

/* ===== 入居までの流れ ===== */

.flow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--c-main-weak);
}

.flow img {
  flex: 0 0 32%;
  width: 32%;
  max-width: 335px;
  height: auto;
  object-fit: cover;
}

.flow-content {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin: 0;
}

.flow-content h3 {
  margin-bottom: var(--space-2);
  color: var(--c-main);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.flow-content h3 span {
  background: var(--c-main);
  color: white;
  padding: .25rem 1.5rem;
  font-size: var(--fz-note);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  border-radius: 20px;
}

/* ===== よくある質問 ===== */

.faq {
  display: grid;
  gap: 12px;
  max-width: 1000px;
  margin: var(--space-4) auto var(--space-6);
}

.faq-content {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(55, 55, 55, 0.035);
}

.faq__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  border: 0;
  background: #fff;
  color: var(--c-black);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-align: left;
  overflow-wrap: anywhere;
  transition: background-color .2s ease;
}

.faq__head:hover {
  background: #fffaf5;
}

.faq__head .icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border: 1px solid rgba(220, 85, 25, .22);
  border-radius: 50%;
  color: var(--c-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform .3s ease, background-color .2s ease;
}

.faq__head.active {
  background: #fffaf5;
}

.faq__head.active .icon {
  transform: rotate(45deg);
  background: var(--c-main-weak);
}

.faq__body {
  height: 0;
  overflow: hidden;
  background: var(--c-main-weak);
  transition: height .3s ease-out;
}

.faq-txt {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(220, 85, 25, .12);
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: var(--tracking-body);
}

.faq-txt .text-color__red {
  display: inline;
  margin-right: 6px;
  color: var(--c-main);
  font-weight: 600;
}

/*
===============
   news / blog
   ===============
*/

/* 一覧・詳細共通 */

.news-archive,
.single-news {
  padding-bottom: 5rem;
}

/* 下層KVの下にくる想定 */

.news-archive__inner,
.single-news__inner {
  width: min(1000px, 100% - 32px);
  margin: 2.5rem auto 0;
}

/*
----------------------
   breadcrumb
----------------------
*/

.breadcrumb {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto var(--space-3);
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: var(--fz-note);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* 投稿一覧・投稿詳細：固定ヘッダーの下にパンくずを配置 */
body.blog .breadcrumb,
body.single-post .breadcrumb {
  padding-top: 180px;
}

/* 一覧・詳細本体はパンくずの下から開始 */
body.blog .news-archive,
body.single-post .single-news {
  padding-top: 0;
}

body.blog .news-archive__inner,
body.single-post .single-news__inner {
  margin-top: var(--space-5);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb__item a {
  color: var(--c-text);
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumb__item a:hover {
  color: var(--c-main);
}

.breadcrumb__item:not(:last-child)::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin: 0 12px;
  border-top: 1px solid #b8b8b8;
  border-right: 1px solid #b8b8b8;
  transform: rotate(45deg);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--c-black);
  font-weight: 500;
}

/*
----------------------
   archive list
----------------------
*/

.news-archive__list {
  display: grid;
  gap: var(--space-3);
}

.post-card {
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.post-card__link {
  display: grid;
  grid-template-columns: 280px 1fr;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.post-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f3f3;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card__date {
  display: inline-block;
  margin-bottom: var(--space-1);
  color: var(--c-main);
  font-size: var(--fz-small);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.post-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--c-black);
}

.post-card__excerpt {
  margin-top: var(--space-2);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: var(--tracking-body);
  color: var(--c-text);
}

/* 投稿なし */

.post-none {
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  padding: 2rem;
  text-align: center;
}

.post-none__text {
  margin: 0;
}

/*
----------------------
   pagination
----------------------
*/

.navigation.pagination {
  margin-top: 2.5rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--c-black);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.page-numbers.current {
  background: var(--c-main);
  border-color: var(--c-main);
  color: #fff;
}

/*
----------------------
   single
----------------------
*/

.single-news .page-header {
  padding-top: 56px;
}

.single-news__article {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 2rem;
}

.single-news__header {
  margin-bottom: 1.5rem;
}

.single-news__date {
  display: inline-block;
  color: var(--c-main);
  font-size: var(--fz-small);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.single-news__title {
  margin: 0;
  color: var(--c-black);
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.single-news__thumb {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.single-news__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-news__content {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: var(--tracking-body);
}

.single-news__content > *:first-child {
  margin-top: 0;
}

.single-news__content p {
  margin: var(--space-2) 0 0;
}

.single-news__content h2,
.single-news__content h3,
.single-news__content h4 {
  color: var(--c-black);
  line-height: 1.55;
  margin: var(--space-6) 0 var(--space-2);
}

.single-news__content h2 {
  color: var(--c-main);
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid var(--c-main);
  padding-bottom: 0.4rem;
}

.single-news__content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  padding-left: var(--space-2);
  border-left: 4px solid var(--c-main);
}

.single-news__content ul,
.single-news__content ol {
  margin: 1.2rem 0 0;
  padding-left: 1.5rem;
}

.single-news__content ul {
  list-style: disc;
}

.single-news__content ol {
  list-style: decimal;
}

.single-news__content li + li {
  margin-top: 0.4rem;
}

.single-news__content a {
  color: var(--c-main);
  text-decoration: underline;
}

.single-news__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-news__content blockquote {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--c-main-weak);
  border-left: 4px solid var(--c-main);
}

.single-news__content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.single-news__content th,
.single-news__content td {
  border: 1px solid var(--c-border);
  padding: 0.75rem;
  text-align: left;
}

.single-news__content iframe {
  width: 100%;
  max-width: 100%;
}

/* WP本文の画像配置崩れ予防 */

.single-news__content .aligncenter {
  display: block;
  margin: 1.5rem auto 0;
}

.single-news__content .alignright {
  display: block;
  margin: 1.5rem 0 0 auto;
}

.single-news__content .alignleft {
  display: block;
  margin: 1.5rem auto 0 0;
}

/*
----------------------
   single nav
----------------------
*/

.single-nav {
  margin-top: 2rem;
}

.single-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.single-nav__prev,
.single-nav__next,
.single-nav__archive {
  display: flex;
}

.single-nav__prev {
  justify-content: flex-start;
}

.single-nav__next {
  justify-content: flex-end;
}

.single-nav__archive {
  justify-content: center;
}

.single-nav__prev a,
.single-nav__next a,
.single-nav__archive a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-black);
  text-align: center;
}

.single-nav__archive a {
  background: var(--c-main);
  border-color: var(--c-main);
  color: #fff;
}

/* ======================================
   404
====================================== */

.error-404 {
  padding-top: 180px;
  padding-bottom: 120px;
  text-align: center;
}

.error-404__inner {
  width: min(720px, 100% - 32px);
  margin: 0 auto;
}

.error-404__code {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 1;
  color: var(--c-main);
}

.error-404__title {
  margin-top: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.5;
}

.error-404__text {
  margin-top: 1.5rem;
  line-height: 2;
}

.error-404 .btn {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .error-404 {
    padding-top: 120px;
    padding-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .error-404 {
    padding-top: 104px;
    padding-bottom: 64px;
  }

  .error-404__title,
  .error-404__text {
    margin-top: var(--space-2);
  }

  .error-404 .btn {
    margin-top: var(--space-3);
  }
}

/* ======================================
   responsive
====================================== */

/* Large desktop */

@media (min-width: 1280px) {
  .hero__copy {
    left: 4.5rem;
    bottom: 5rem;
  }
}

/* Desktop acceptance cards */
@media (min-width: 1024px) {
  .accept-note {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    margin: 0 auto var(--space-2);
    font-size: var(--fz-small);
    line-height: 1.5;
  }

  .accept-note__item {
    gap: var(--space-1);
    margin-right: 0;
  }

  .accept {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.7;
  }

  /*
   * front-page.php には一部のaccept-groupをまとめる中間divがあるため、
   * PCではdisplay: contentsで6カテゴリを同じグリッド階層に揃える。
   */
  .accept > div:not(.accept-group) {
    display: contents;
  }

  .accept-group {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(220, 85, 25, 0.14);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(55, 55, 55, 0.04);
  }

  .accept__title {
    margin: 0;
  }

  .accept__toggle {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: var(--c-main-weak);
    color: var(--c-main);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.03em;
    text-align: left;
    cursor: default;
  }

  .accept__toggle::after {
    content: none;
  }

  .accept__body,
  .accept__body[hidden] {
    display: block !important;
    padding: 4px 16px 8px;
    background: #fff;
  }

  .accept__list {
    margin: 0;
  }

  .accept__item {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
  }

  .accept__item:last-child {
    border-bottom: 0;
  }

  .accept__label {
    color: var(--c-text);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .accept__status {
    justify-self: center;
  }
}
@media (min-width: 901px) {
.header__nav.container .logo{
      display: none;
}
}

/* Tablet */

@media (max-width: 1100px) and (min-width: 768px) {
  .flow {
    gap: var(--space-3);
    padding: var(--space-3);
  }

  .flow img {
    flex-basis: 30%;
    width: 30%;
  }
}

@media (max-width: 1024px) {
  .hero__copy {
    left: 2rem;
    bottom: 2.5rem;
  }
}

@media (max-width: 1023px) {
  /*
   * 受け入れ状況
   * 1023px以下はアコーディオン表示。
   * 大きな1枚のベージュ箱ではなく、カテゴリごとのカードUIにする。
   */
  .accept {
    display: block;
    margin-bottom: var(--space-6);
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .accept-group {
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(220, 85, 25, 0.14);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(55, 55, 55, 0.04);
  }

  .accept__title {
    margin: 0;
  }

  .accept__toggle {
    position: relative;
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 14px 48px 14px 16px;
    border: 0;
    background: #fff;
    color: var(--c-black);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.03em;
    text-align: left;
    cursor: pointer;
  }

  .accept__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--c-main);
    border-bottom: 2px solid var(--c-main);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
  }

  .accept__toggle[aria-expanded="true"]::after {
    transform: translateY(-25%) rotate(225deg);
  }

  .accept__body {
    height: 0;
    overflow: hidden;
    padding: 0 16px;
    background: #fff;
    transition: height .3s ease-out, padding-bottom .3s ease-out;
  }

  .accept__toggle[aria-expanded="true"] + .accept__body {
    padding-bottom: 8px;
  }

  .accept__list {
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid var(--c-border);
  }

  .accept__item {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 13px 2px;
    border-bottom: 1px solid var(--c-border);
  }

  .accept__item:last-child {
    border-bottom: 0;
  }

  .accept__label {
    color: var(--c-text);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .accept__status {
    justify-self: center;
    width: 9px;
    height: 9px;
  }

  .accept__status.is-ok {
    border-radius: 50%;
  }

  .accept__status.is-warn {
    width: 0;
    height: 0;
    border-left-width: 7px;
    border-right-width: 7px;
    border-bottom-width: 12px;
  }
}

/* Header switches to hamburger before desktop layout becomes cramped. */
@media (max-width: 900px) {
  header {
    min-height: 72px;
  }

  .header__container {
    width: calc(100% - 32px);
    min-height: 72px;
    padding: 8px 0;
    justify-content: space-between;
    align-items: center;
  }

  .header__container img {
    margin: 0;
  }

  .header__logo {
    max-width: calc(100% - 60px);
  }

  .header__hamburger {
    display: block;
    flex-shrink: 0;
  }

  .header__cta {
    display: none;
  }

  /*
   * navにはcontainerクラスも付いているため、
   * SP時だけcontainer幅を明示的に解除して100vwに戻す。
   */
  .header__nav.container {
    position: fixed;
    /*top: 72px;*/
    top: 0;
    left: 0;
    width: 100vw;
    max-width: none;
    height: calc(100dvh - 72px);
    margin: 0;
    padding: 24px 24px calc(32px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2400;
  }


  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: var(--tracking-nav);
  }

  .header__menu li {
    border-bottom: 1px solid var(--c-border);
  }

  .header__menu a {
    display: block;
    padding: 18px 8px;
    color: var(--c-black);
  }

  .header__spCta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  /*
   * PCヘッダー用 width:100px より詳細度を上げて、
   * SPメニュー内は3ボタンすべて同じ幅にする。
   */
  .header__spCta .btn.btn--main,
  .header__spCta .btn.btn--mail,
  .header__spCta .btn.btn--line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 16px;
    font-size: 1rem;
  }

  body.is-fixed {
    overflow: hidden;
    touch-action: none;
  }

  /* 投稿一覧・詳細：タブレット/SPヘッダーは72pxなので余白を縮小 */
  body.blog .breadcrumb,
  body.single-post .breadcrumb {
    padding-top: 104px;
  }
}

/* Smartphone */

@media (max-width: 767px) {
  .container {
    width: calc(100% - 32px);
  }

  .breadcrumb {
    width: calc(100% - 32px);
    margin-bottom: var(--space-3);
    padding: 14px 0 12px;
    font-size: 0.8125rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb__list {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
  }

  .breadcrumb__item {
    white-space: nowrap;
  }

  .breadcrumb__item:not(:last-child)::after {
    margin: 0 10px;
  }

  /*
   * 受け入れ状況 / SP
   * 見出し・凡例・カードの情報階層を整理する。
   */
  .fv__bg main > section:first-child > .front-title {
    max-width: 100%;
    font-size: 1.25rem;
    line-height: 1.55;
  }

  .accept-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin: 0 auto var(--space-2);
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .accept-note__item {
    gap: 8px;
    margin-right: 0;
  }

  .accept-group {
    margin-bottom: 8px;
  }

  .accept__toggle {
    min-height: 54px;
    padding: 13px 46px 13px 16px;
  }

  .accept__body {
    padding: 0 16px;
  }

  .accept__toggle[aria-expanded="true"] + .accept__body {
    padding-bottom: 6px;
  }

  .accept__item {
    padding: 12px 2px;
  }

  .l-flex {
    flex-direction: column;
    align-items: stretch;
    row-gap: 20px !important;
  }

  .features__content {
    width: 100%;
  }

  /* SPの縦方向リズムを統一 */
  .message,
  .company,
  .philosophy {
    margin: var(--space-6) auto;
  }

  .about__residence,
  .support-life {
    margin: var(--space-5) auto;
  }

  /* =========================
     Front hero / SP
     ========================= */

  .fv__bg {
    padding-top: 72px;
  }

  .hero__container {
    width: calc(100% - 32px);
    margin: var(--space-3) auto var(--space-5);
    padding-top: 16px;
  }

  .hero__img {
    display: block;
    width: 100%;
    height: auto;
    padding: 14px;
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 24px rgba(55, 55, 55, 0.08);
  }

  .hero__img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: initial;
    box-shadow: 0 2px 8px rgba(55, 55, 55, 0.06);
  }

  .hero__copy {
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
  }

  .hero__copy span {
    display: inline-block;
    position: absolute;
    margin: 0;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--c-black);
    box-shadow: 0 4px 14px rgba(55, 55, 55, 0.08);
    backdrop-filter: blur(4px);
    writing-mode: vertical-rl;
    white-space: nowrap;
    font-size: clamp(1.125rem, 4.6vw, 1.25rem);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.05em;
  }

  /* 右コピー：上側に固定して画面幅によるズレを防ぐ */
  .hero__copy span:first-child {
    top: 40px;
    right: -10px;
    bottom: auto;
  }

  /* 左コピー：下側を基準に固定。文字高が変わってもFVからはみ出さない */
  .hero__copy span:last-child {
    top: auto;
    left: -10px;
    bottom: 6%;
  }

  .hero__cta {
    right: 18px;
    bottom: 18px;
  }

  .hero__btn {
    width: clamp(140px, 36vw, 152px);
    height: clamp(140px, 36vw, 152px);
    font-size: clamp(0.9375rem, 4vw, 1.0625rem);
    line-height: 1.5;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  }

  .hero__btn small {
    margin-top: 6px;
    font-size: clamp(0.75rem, 3.2vw, 0.8125rem);
    line-height: 1.45;
  }

  /* 下層ページの横長ヒーローをSPでは3:2で自然にトリミング */
  .hero--sub {
    margin-top: 0;
    padding-top: calc(var(--header-height-sp) + var(--header-gap-sp));
  }

  .hero--sub .hero__container {
    width: calc(100% - 32px);
    aspect-ratio: 3 / 2;
    margin: var(--space-3) auto var(--space-3);
    overflow: hidden;
  }

  .hero--sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero--sub .hero__title {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: auto;
    min-width: 180px;
    padding: 12px 20px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .84);
    backdrop-filter: blur(4px);
  }

  .hero--sub h1 {
    font-size: 1.375rem;
    line-height: 1.5;
    white-space: nowrap;
  }

  .features__content h3 {
    text-align: center;
  }

  .support .l-flex {
    display: block;
    margin: 0 auto;
    padding-bottom: 6rem;
  }

  .support .l-flex div {
    writing-mode: initial;
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: center;
  }

  .support__bg {
    background-position: center;
  }

  .support__bg img {
    right: 0;
    bottom: 0;
    margin: auto;
  }

  .support__copy {
    font-size: 1.25rem;
    line-height: 1.65;
  }

  .medical {
    padding: 1rem;
  }

  .medical .l-flex {
    flex-direction: column;
    align-items: center;
    margin: var(--space-4) auto;
  }

  .front-cta__btn,
  .company__row,
  .footer__container,
  .about__features,
  .support-life__list,
  .night-list,
  .support-life__nav {
    flex-direction: column;
  }
  .about__features{
    align-items: center;
  }

  .front-cta__btn .btn {
    width: min(100%, 320px);
  }

  .to-top {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .company__term {
    width: 100%;
    padding: 0.5rem;
    background: var(--c-main-weak);
  }

  .company__desc {
    margin-top: 0.5rem;
  }

  .about__figure {
    bottom: 20%;
  }

  .support-life {
    padding: 1rem;
  }

  .support-life__title {
    font-size: 1.25rem;
    line-height: 1.55;
    text-align: center;
  }

  .support-life__list {
    gap: 0;
  }

  .support-life--night .support-life__subtitle {
    font-size: 0.95rem;
    text-align: center;
  }

  .night-list {
    padding: 1rem;
  }

  .support-life__nav {
    display: flex;
    gap: var(--space-1);
  }

  .support-life__btn {
    margin-right: 0;
  }

  .room-swiper,
  .flow-content,
  .environment__text {
    width: 100%;
  }

  .meal-history,
  .meal-menu {
    margin: auto;
  }

  .date__row{
    flex-direction: column;
  }

  .flow {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-3);
  }

  .flow img {
    width: 100%;
    max-width: none;
  }

  .form-item {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .form-label {
    width: 100%;
  }

  .form-submit {
    text-align: center;
  }

  .form-submit input[type="submit"] {
    width: min(100%, 320px);
    min-width: 0;
  }

  .faq {
    gap: 10px;
    margin-top: var(--space-3);
  }

  .faq__head {
    min-height: 60px;
    padding: 16px 14px 16px 16px;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .faq__head .icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 17px;
  }

  .faq-txt {
    padding: 16px;
    font-size: 0.9375rem;
    line-height: 1.85;
  }
  .news-archive__inner,
  .single-news__inner {
    margin-top: 1.5rem;
  }

  .post-card__link {
    grid-template-columns: 1fr;
  }

  .post-card__body {
    padding: 1rem;
  }

  .post-card__title {
    font-size: 1.125rem;
  }

  .single-news__article {
    padding: 1.25rem;
  }

  .single-news__title {
    font-size: 1.5rem;
  }

  .single-news__content h2 {
    font-size: 1.25rem;
  }

  .single-nav__inner {
    grid-template-columns: 1fr;
  }

  .single-nav__prev,
  .single-nav__next,
  .single-nav__archive {
    justify-content: stretch;
  }

  .single-nav__prev a,
  .single-nav__next a,
  .single-nav__archive a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .careList__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .careList__note {
    display: inline;
    margin-left: 6px;
  }
}

@media (min-width: 640px) {
  .c-form__item {
    flex-wrap: nowrap;
  }

  .c-form__label {
    width: 40%;
  }

  .c-form__input {
    width: 55%;
  }
}

