.p-hero {
  position: relative;
  overflow: hidden;
  background: #fffdf6;
}

.p-hero__stage {
  position: relative;
  width: 100%;
  height: clamp(540px, calc(100vh - 78px), 720px);
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #fff9ea 0%, #fffef9 58%, #f1f4df 100%);
}

.p-hero__stage::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -24%;
  left: -5%;
  z-index: 1;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0), rgba(239, 244, 220, 0.86));
  pointer-events: none;
}

.p-hero__copy {
  position: absolute;
  top: 20%;
  left: clamp(36px, 4.6vw, 82px);
  z-index: 5;
  width: min(42vw, 560px);
  color: #5a361f;
}

.p-hero__ornament {
  position: absolute;
  top: -28px;
  left: 42%;
  color: #dcae39;
  font-size: 1.3rem;
  line-height: 1;
}

.p-hero__copy h1 {
  margin: 0;
  color: transparent;
  font-family: var(--font-round);
  font-size: clamp(2.75rem, 4.8vw, 5.3rem);
  line-height: 1.14;
  letter-spacing: 0;
  filter: drop-shadow(0 5px 12px rgba(91, 56, 29, 0.1));
}

.p-hero__copy h1 span {
  display: block;
  width: max-content;
  padding-right: 0.08em;
  background: linear-gradient(100deg, #532d1c 0%, #8b5522 48%, #71924e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

.p-hero__copy p {
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0;
}

.p-hero__photo {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  margin: 0;
  border: clamp(5px, 0.55vw, 9px) solid rgba(255, 255, 255, 0.96);
  background: #fff;
  box-shadow: 0 18px 44px rgba(78, 55, 33, 0.2);
}

.p-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-hero__photo--main {
  top: 6%;
  left: 43.5%;
  width: 46%;
  height: 68%;
  border-radius: 20px;
  transform: rotate(-1deg);
}

.p-hero__photo--main img {
  object-position: center 50%;
}

.p-hero__photo--exterior {
  bottom: 3.5%;
  left: 33%;
  z-index: 6;
  width: 18%;
  height: 35%;
  border-radius: 18px;
  transform: rotate(-6deg);
}

.p-hero__photo--exterior img {
  object-position: center 42%;
}

.p-hero__character {
  position: absolute;
  right: 0.2%;
  bottom: -1.5%;
  z-index: 7;
  width: min(20vw, 285px);
  height: 68%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 15px 18px rgba(73, 86, 47, 0.18));
}

.p-hero__botanical {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.p-hero__leaf {
  position: absolute;
  width: clamp(44px, 5.5vw, 88px);
  opacity: 0.9;
}

.p-hero__leaf--1 {
  top: -18px;
  left: -12px;
  transform: rotate(18deg);
}

.p-hero__leaf--2 {
  top: 12px;
  left: 5.5%;
  width: clamp(28px, 3.5vw, 54px);
  transform: rotate(82deg);
}

.p-hero__leaf--3 {
  top: -20px;
  right: 2%;
  transform: scaleX(-1) rotate(12deg);
}

.p-hero__leaf--4 {
  top: 18px;
  right: -14px;
  width: clamp(34px, 4vw, 66px);
  transform: rotate(118deg);
}

.p-hero__leaf--5 {
  bottom: -8px;
  left: 1.5%;
  transform: rotate(-34deg);
}

.p-hero__leaf--6 {
  right: 18%;
  bottom: -10px;
  width: clamp(36px, 4.6vw, 72px);
  transform: scaleX(-1) rotate(-18deg);
}

.p-hero__flower {
  position: absolute;
  color: #e7b33d;
  font-size: clamp(1.1rem, 2.2vw, 2.1rem);
  line-height: 1;
  text-shadow: 0 3px 9px rgba(91, 72, 29, 0.15);
}

.p-hero__flower--1 {
  bottom: 7%;
  left: 6%;
}

.p-hero__flower--2 {
  bottom: 1.5%;
  left: 11%;
  color: #fff;
}

.p-hero__flower--3 {
  right: 29%;
  bottom: 3%;
}

.p-hero__flower--4 {
  right: 24%;
  bottom: 9%;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {

  .p-feature-leaf {
    animation: none;
  }
}

.p-hero__actions,
.p-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.p-hero__copy .p-hero__actions {
  margin-top: 24px;
}

.p-hero__copy .p-hero__actions .c-button {
  min-width: 164px;
}

.c-page-hero--about {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.94) 0%, rgba(255, 250, 240, 0.78) 44%, rgba(255, 250, 240, 0.34) 100%),
    url("/assets/images/hero/home01.webp?v=20260712-opt") center 54% / cover no-repeat;
}

.p-about-history {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
}

.p-about-history strong {
  color: var(--color-main-dark);
  font-family: var(--font-round);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
}

.p-about-history p {
  line-height: 2;
}

.p-home-gallery {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 150px) 0 clamp(96px, 12vw, 170px);
  background:
    radial-gradient(circle at 14% 22%, rgba(246, 200, 86, 0.22), transparent 30%),
    radial-gradient(circle at 86% 64%, rgba(126, 166, 92, 0.2), transparent 28%),
    linear-gradient(180deg, #fff8ea 0%, #fffdf8 48%, #fff4df 100%);
}

.p-home-news {
  position: relative;
  z-index: 8;
  padding: clamp(34px, 4vw, 52px) 0;
  background: #fffdf8;
  border-block: 1px solid rgba(231, 215, 181, 0.75);
}

.p-home-news__link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  color: var(--color-brown);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.p-home-news__link:hover,
.p-home-news__link:focus-visible {
  border-color: var(--color-main);
  box-shadow: 0 18px 38px rgba(90, 63, 42, 0.14);
  transform: translateY(-2px);
}

.p-home-news__label {
  color: var(--color-main-dark);
  font-weight: 700;
}

.p-home-news__link strong {
  font-family: var(--font-round);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.p-home-news__link time {
  color: var(--color-brown-light);
  font-size: 0.92rem;
  white-space: nowrap;
}

.p-news-article {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 58px);
}

.p-news-article__header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--color-border);
}

.p-news-article__header h2 {
  font-size: clamp(1.65rem, 4vw, 2.7rem);
}

.p-news-article__header time {
  display: block;
  margin-top: 12px;
  color: var(--color-brown-light);
}

.p-news-summary {
  display: grid;
  gap: 0;
}

.p-news-summary__row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--color-border);
}

.p-news-summary dt {
  font-weight: 700;
}

.p-news-section h3 {
  margin-bottom: 14px;
  color: var(--color-brown);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

.p-news-section p,
.p-news-section li {
  line-height: 1.9;
}

.p-news-alpha-list,
.p-news-bullet-list {
  display: grid;
  gap: 9px;
  padding-left: 1.6em;
}

.p-news-topic-list {
  display: grid;
  gap: 20px;
  list-style: none;
}

.p-news-topic-list > li {
  padding: 20px;
  border-left: 4px solid var(--color-main);
  background: var(--color-bg-light);
}

.p-news-answer {
  margin-top: 10px;
  color: var(--color-main-dark);
  font-weight: 700;
}

.p-home-gallery__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(84px, auto);
  gap: clamp(18px, 3vw, 42px);
  min-height: 1580px;
}

.p-home-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  color: #583923;
}

.p-home-copy h2,
.p-home-copy h3 {
  margin: 0;
  color: transparent;
  background: linear-gradient(110deg, #583923 0%, #bd6727 42%, #7fa45b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-round);
  line-height: 1.28;
  overflow-wrap: anywhere;
  word-break: normal;
  filter: drop-shadow(0 8px 18px rgba(88, 57, 35, 0.12));
}

.p-home-copy h2 {
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
}

.p-home-copy h3 {
  font-size: clamp(2rem, 4.2vw, 4.2rem);
}

.p-home-copy p {
  margin-top: 18px;
  color: #6b452a;
  font-size: clamp(1.1rem, 1.8vw, 1.48rem);
  font-weight: 700;
  line-height: 2;
  overflow-wrap: anywhere;
  word-break: normal;
}

.u-home-copy-break {
  display: none;
}

.p-home-copy.js-scroll-in {
  transform: translateY(46px);
  transition: opacity 1s ease, transform 1s ease, filter 1s ease;
  filter: blur(12px);
}

.p-home-copy.js-scroll-in.is-visible {
  transform: translateY(0);
  filter: blur(0);
}

.p-home-copy--intro {
  grid-column: 1 / 13;
  grid-row: 1 / span 2;
}

.p-home-copy--self {
  grid-column: 6 / 13;
  grid-row: 7 / span 2;
}

.p-home-copy--support {
  grid-column: 1 / 7;
  grid-row: 12 / span 2;
}

.p-home-copy--safe {
  grid-column: 1 / 7;
  grid-row: 20 / span 2;
}

.p-home-photo {
  --photo-float: 0px;
  --photo-rotate: 0deg;
  --photo-delay: 0s;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(75, 51, 32, 0.18);
  transform: translateY(var(--photo-float)) rotate(var(--photo-rotate));
  animation: homePhotoFloat 9.5s ease-in-out infinite;
  animation-delay: var(--photo-delay);
}

.p-home-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.p-home-photo.js-scroll-in {
  opacity: 0;
  transform: translateY(calc(var(--photo-float) + 42px)) rotate(var(--photo-rotate)) scale(0.98);
  transition: opacity 1s ease, transform 1s ease, filter 1s ease;
  filter: blur(14px);
}

.p-home-photo.js-scroll-in.is-visible {
  opacity: 1;
  transform: translateY(var(--photo-float)) rotate(var(--photo-rotate)) scale(1);
  filter: blur(0);
}

.p-home-photo--home {
  --photo-float: 18px;
  --photo-rotate: -2.6deg;
  --photo-delay: -0.4s;
  grid-column: 1 / 6;
  grid-row: 4 / span 5;
  aspect-ratio: 4 / 5;
}

.p-home-photo--living {
  --photo-float: -22px;
  --photo-rotate: 2.2deg;
  --photo-delay: -2s;
  z-index: 2;
  grid-column: 6 / 13;
  grid-row: 3 / span 4;
  aspect-ratio: 4 / 3;
}

.p-home-photo--room-a {
  --photo-float: 26px;
  --photo-rotate: 3deg;
  --photo-delay: -3.1s;
  grid-column: 8 / 12;
  grid-row: 9 / span 5;
  aspect-ratio: 3 / 4;
}

.p-home-photo--room-b {
  --photo-float: -8px;
  --photo-rotate: -2.2deg;
  --photo-delay: -1.2s;
  grid-column: 2 / 7;
  grid-row: 14 / span 5;
  aspect-ratio: 3 / 4;
}

.p-home-photo--toilet {
  --photo-float: 22px;
  --photo-rotate: 1.8deg;
  --photo-delay: -4s;
  grid-column: 7 / 10;
  grid-row: 16 / span 4;
  aspect-ratio: 3 / 4;
}

.p-home-photo--bath {
  --photo-float: -18px;
  --photo-rotate: -1.4deg;
  --photo-delay: -2.8s;
  grid-column: 9 / 13;
  grid-row: 20 / span 5;
  aspect-ratio: 3 / 4;
}

@keyframes homePhotoFloat {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

.p-feature-leaves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  min-height: 300px;
  padding-top: 8px;
}

.p-feature-leaf {
  --leaf-rotate: -7deg;
  --leaf-sway: 1deg;
  --leaf-float: 0px;
  --leaf-delay: 0s;
  --leaf-vein: rgba(90, 63, 42, 0.22);
  --leaf-stem: #7c9a45;
  position: relative;
  z-index: 0;
  display: grid;
  align-content: center;
  width: min(100%, 340px);
  min-height: 170px;
  padding: 36px 40px 34px 58px;
  border: 0;
  border-radius: 88% 10% 82% 18% / 62% 18% 82% 38%;
  box-shadow: 0 16px 30px rgba(90, 63, 42, 0.12);
  transform: translateY(var(--leaf-float)) rotate(var(--leaf-rotate));
  transform-origin: 42% 58%;
  animation: featureLeafFloat 9s ease-in-out infinite;
  animation-delay: var(--leaf-delay);
}

.p-feature-leaf::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 50%;
  width: 62%;
  height: 3px;
  border-radius: 999px;
  background: var(--leaf-vein);
  transform: rotate(-15deg);
  transform-origin: left center;
  z-index: 1;
}

.p-feature-leaf::after {
  content: "";
  position: absolute;
  left: -22px;
  bottom: 34px;
  width: 58px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf-stem), rgba(124, 93, 46, 0.7));
  transform: rotate(-18deg);
  transform-origin: right center;
}

.p-feature-leaf h3,
.p-feature-leaf p {
  position: relative;
  z-index: 2;
}

.p-feature-leaf h3 {
  margin-bottom: 12px;
  color: #4f321e;
  font-size: 1.18rem;
}

.p-feature-leaf p {
  color: #68442a;
  font-weight: 600;
}

.p-feature-leaf--red {
  --leaf-rotate: -7deg;
  --leaf-sway: 1.1deg;
  --leaf-float: 8px;
  --leaf-delay: 0s;
  --leaf-stem: #c66f55;
  justify-self: start;
  margin-top: 18px;
  background: linear-gradient(145deg, #ffe7db 0%, #ef8f72 100%);
}

.p-feature-leaf--yellow {
  --leaf-rotate: 4deg;
  --leaf-sway: -0.9deg;
  --leaf-float: 58px;
  --leaf-delay: -1.1s;
  --leaf-stem: #c4a331;
  justify-self: center;
  background: linear-gradient(145deg, #fff4c8 0%, #f4c856 100%);
}

.p-feature-leaf--green {
  --leaf-rotate: -3deg;
  --leaf-sway: 0.9deg;
  --leaf-float: 32px;
  --leaf-delay: -2.2s;
  --leaf-stem: #7fa058;
  justify-self: end;
  background: linear-gradient(145deg, #e8f3d2 0%, #8fb86a 100%);
}

@keyframes featureLeafFloat {
  0%, 100% {
    transform: translateY(var(--leaf-float)) rotate(var(--leaf-rotate));
  }

  50% {
    transform: translateY(calc(var(--leaf-float) - 3px)) rotate(calc(var(--leaf-rotate) + var(--leaf-sway)));
  }
}

.p-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 36px;
  align-items: center;
}

.p-split--start {
  align-items: start;
}

.p-split > *,
.p-data-grid > * {
  min-width: 0;
}

.p-split__panel {
  padding: 28px;
}

.p-recruit-schedule .c-data__row {
  display: grid;
  grid-template-columns: minmax(116px, 158px) minmax(0, 1fr);
  justify-content: initial;
  gap: 16px;
}

.p-recruit-schedule dd {
  white-space: nowrap;
  font-size: 0.95rem;
}

.p-recruit-requirements .c-data__row {
  display: grid;
  grid-template-columns: minmax(112px, 32%) minmax(0, 1fr);
  justify-content: initial;
  gap: 14px;
}

.p-recruit-requirements dd {
  line-height: 1.75;
}

.p-recruit-work-list {
  margin-top: 12px;
}

.p-recruit-requirements-card {
  max-width: 920px;
  margin-inline: auto;
}

.p-recruit-persona {
  max-width: 900px;
}

.p-recruit-persona h3 {
  color: var(--color-brown);
  font-family: var(--font-round);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.35;
}

.p-recruit-persona p {
  max-width: 760px;
  margin-top: 20px;
  color: var(--color-brown-light);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 2;
}

.p-recruit-work-circles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 88px 18px;
  max-width: 1080px;
  margin: 12px auto 40px;
}

.p-recruit-work-circle {
  display: grid;
  align-content: center;
  justify-self: center;
  width: min(100%, 310px);
  aspect-ratio: 1;
  padding: clamp(34px, 4vw, 48px);
  border-radius: 50%;
  text-align: center;
}

.p-recruit-work-circle h3 {
  margin-bottom: 12px;
  color: var(--color-brown);
  font-family: var(--font-round);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.5;
}

.p-recruit-work-circle p {
  color: var(--color-brown-light);
  line-height: 1.8;
}

.p-recruit-work-circle:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.p-recruit-work-circle:nth-child(2) {
  grid-column: 3 / span 2;
  grid-row: 1;
  transform: translateY(64px);
}

.p-recruit-work-circle:nth-child(3) {
  grid-column: 5 / span 2;
  grid-row: 1;
  transform: translateY(10px);
}

.p-recruit-work-circle:nth-child(4) {
  grid-column: 2 / span 2;
  grid-row: 2;
  transform: translateY(-18px);
}

.p-recruit-work-circle:nth-child(5) {
  grid-column: 4 / span 2;
  grid-row: 2;
  transform: translateY(34px);
}

.p-merit-item {
  display: grid;
  gap: 12px;
  align-content: start;
}

.p-merit-item .c-chip {
  width: fit-content;
}

.p-mini-split {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.p-mini-split--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
}

.p-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.p-timeline__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-card);
  border: 1px solid var(--color-border);
}

.p-timeline__time {
  color: var(--color-main-dark);
  font-weight: 700;
}

.p-timeline__body h3 {
  font-size: 1rem;
}

.p-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.p-profile-data .c-data__row {
  display: grid;
  grid-template-columns: minmax(118px, 28%) minmax(0, 1fr);
  justify-content: initial;
  gap: 14px;
}

.p-profile-data dd {
  white-space: nowrap;
}

.p-profile-data__highlight {
  font-weight: 800;
}

.p-about-message h2 {
  margin-bottom: 8px;
}

.p-about-message h2 + p {
  line-height: 1.95;
}

.p-about-message h2:not(:first-child) {
  margin-top: 28px;
}

.p-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.p-photo-placeholder {
  display: block;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.p-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-flow {
  counter-reset: flow;
  position: relative;
  display: block;
  width: min(100%, 1060px);
  aspect-ratio: 1;
  margin: clamp(36px, 5vw, 64px) auto 0;
  list-style: none;
}

.p-flow::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 16%;
  width: 68%;
  height: 68%;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(126, 166, 92, 0.48) 0deg 315deg, transparent 315deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.p-flow::after {
  content: "入居へつながる\A 8つのステップ";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(190px, 21vw, 250px);
  aspect-ratio: 1;
  border: 1px solid rgba(126, 166, 92, 0.3);
  border-radius: 50%;
  background: rgba(249, 253, 240, 0.92);
  color: var(--color-main-dark);
  font-family: var(--font-round);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  white-space: pre;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 40px rgba(86, 107, 60, 0.12);
}

.p-flow__item {
  counter-increment: flow;
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: clamp(218px, 21vw, 250px);
  aspect-ratio: 1;
  padding: 54px 28px 28px;
  border-color: rgba(235, 126, 36, 0.36);
  border-radius: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.p-flow__item.js-scroll-in,
.p-flow__item.js-scroll-in.is-visible {
  transform: translate(-50%, -50%);
}

.p-flow__item:hover {
  transform: translate(-50%, -50%) scale(1.02);
}

.p-flow__item:nth-child(1) { top: 16%; left: 50%; }
.p-flow__item:nth-child(2) { top: 26%; left: 74%; }
.p-flow__item:nth-child(3) { top: 50%; left: 84%; }
.p-flow__item:nth-child(4) { top: 74%; left: 74%; }
.p-flow__item:nth-child(5) { top: 84%; left: 50%; }
.p-flow__item:nth-child(6) { top: 74%; left: 26%; }
.p-flow__item:nth-child(7) { top: 50%; left: 16%; }
.p-flow__item:nth-child(8) { top: 26%; left: 26%; }

.p-flow__item::after {
  content: "➜";
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-main);
  font-size: 1.8rem;
  line-height: 1;
}

.p-flow__item:nth-child(1)::after { top: calc(50% + 32px); left: calc(100% - 19px); transform: rotate(23deg); }
.p-flow__item:nth-child(2)::after { top: calc(100% - 19px); left: calc(50% + 32px); transform: rotate(67deg); }
.p-flow__item:nth-child(3)::after { top: calc(100% - 19px); left: calc(50% - 74px); transform: rotate(113deg); }
.p-flow__item:nth-child(4)::after { top: calc(50% + 32px); left: -23px; transform: rotate(157deg); }
.p-flow__item:nth-child(5)::after { top: calc(50% - 74px); left: -23px; transform: rotate(203deg); }
.p-flow__item:nth-child(6)::after { top: -23px; left: calc(50% - 74px); transform: rotate(247deg); }
.p-flow__item:nth-child(7)::after { top: -23px; left: calc(50% + 32px); transform: rotate(293deg); }
.p-flow__item:nth-child(8)::after { display: none; }

.p-flow__item:nth-child(odd) {
  background: #fffdf8;
}

.p-flow__item:nth-child(even) {
  background: #fbfdf4;
}

.p-flow__item h3 {
  margin-bottom: 8px;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.p-flow__item p {
  color: var(--color-brown-light);
  font-size: clamp(0.76rem, 1.05vw, 0.86rem);
  line-height: 1.65;
}

.p-flow__item::before {
  content: counter(flow);
  position: absolute;
  top: 18px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  transform: translateX(-50%);
}

.p-form {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 20px;
  padding: 30px;
}

.p-form__field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.p-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.p-form fieldset.p-form__field {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.p-form label,
.p-form legend {
  max-width: 100%;
  font-weight: 700;
  color: var(--color-brown);
  overflow-wrap: anywhere;
}

.p-form input,
.p-form textarea,
.p-form select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-brown);
}

.p-form textarea {
  min-height: 170px;
  resize: vertical;
}

.p-form__required {
  color: var(--color-main-dark);
  font-size: 0.82rem;
}

.p-form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.p-form__choice {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  font-weight: 400;
}

.p-form__choice input,
.p-form__privacy input {
  flex: 0 0 18px;
  width: 18px;
  max-width: 18px;
  min-height: 18px;
}

.p-form__privacy {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  min-width: 0;
  font-weight: 400;
}

.p-form__privacy input {
  margin-top: 5px;
}

.p-form__privacy-text {
  min-width: 0;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.p-form__privacy-text a {
  color: var(--color-main-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.p-form__message {
  display: none;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-sub-light);
  color: var(--color-sub-dark);
  font-weight: 700;
}

.p-form__message.is-active {
  display: flex;
}

.p-form__message.is-error {
  background: #fff0e8;
  color: #8b3f20;
}

.p-form__message p {
  color: var(--color-sub-dark);
  white-space: pre-line;
}

.p-form__message.is-error p {
  color: #8b3f20;
}

.p-form .c-button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.p-form__thanks-character {
  width: 88px;
  height: 112px;
  object-fit: contain;
}

.p-form__error {
  color: #a04d22;
  font-size: 0.86rem;
}

.c-page-hero--contact {
  padding-block: 44px;
}

.p-contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.p-contact-phone {
  width: 100%;
  margin-bottom: 22px;
  padding: 30px;
}

.p-contact-phone h2 {
  margin-bottom: 16px;
  font-size: 1.7rem;
  line-height: 1.4;
}

.p-contact-phone .c-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.p-contact-phone .c-data__row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: 18px;
  padding-block: 14px;
  font-size: 1.2rem;
}

.p-contact-phone .c-data__row dt {
  font-size: 1.05rem;
}

.p-contact-phone .c-data__row dd {
  font-size: 1.2rem;
  font-weight: 500;
}

#contact-form {
  scroll-margin-top: 96px;
}

.p-access-data .c-data__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding-block: 14px;
}

.p-access-actions {
  margin-top: 20px;
}

.p-policy {
  display: grid;
  gap: 24px;
  padding: 30px;
}

.p-policy h2 {
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .p-home-gallery {
    padding: 72px 0 96px;
  }

  .p-home-gallery__stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .p-home-copy,
  .p-home-copy--intro,
  .p-home-copy--self,
  .p-home-copy--support,
  .p-home-copy--safe,
  .p-home-photo,
  .p-home-photo--home,
  .p-home-photo--living,
  .p-home-photo--room-a,
  .p-home-photo--room-b,
  .p-home-photo--toilet,
  .p-home-photo--bath {
    grid-column: auto;
    grid-row: auto;
  }

  .p-home-copy {
    max-width: 640px;
  }

  .p-home-copy h2 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }

  .u-home-copy-break {
    display: block;
  }

  .p-home-copy h3 {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .p-home-copy p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .p-home-photo {
    width: min(92%, 520px);
    min-height: auto;
    justify-self: center;
    aspect-ratio: 4 / 3;
  }

  .p-home-photo--home,
  .p-home-photo--room-a,
  .p-home-photo--room-b,
  .p-home-photo--toilet,
  .p-home-photo--bath {
    aspect-ratio: 3 / 4;
  }

  .p-home-photo--home,
  .p-home-photo--room-b {
    justify-self: start;
  }

  .p-home-photo--living,
  .p-home-photo--room-a,
  .p-home-photo--toilet {
    justify-self: end;
  }

  .p-home-photo--bath {
    justify-self: center;
  }

  .p-feature-leaves {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .p-feature-leaf {
    width: min(92%, 430px);
    min-height: 170px;
  }

  .p-feature-leaf--red {
    --leaf-float: 0px;
    justify-self: start;
    margin-top: 0;
  }

  .p-feature-leaf--yellow {
    --leaf-float: 8px;
    justify-self: center;
  }

  .p-feature-leaf--green {
    --leaf-float: 0px;
    justify-self: end;
  }

  .p-split,
  .p-data-grid {
    grid-template-columns: 1fr;
  }

  .p-mini-split,
  .p-mini-split--reverse {
    grid-template-columns: 1fr;
  }

  .p-photo-grid {
    grid-template-columns: 1fr;
  }

  .p-flow {
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: auto;
    gap: 34px;
    margin-top: 34px;
  }

  .p-flow::before {
    top: 44px;
    bottom: 44px;
    left: 50%;
    width: 3px;
    height: auto;
    border: 0;
    border-radius: 0;
    background: rgba(126, 166, 92, 0.36);
    -webkit-mask: none;
    mask: none;
    box-shadow: none;
    transform: translateX(-50%);
  }

  .p-flow::after {
    display: none;
  }

  .p-flow__item,
  .p-flow__item:nth-child(n),
  .p-flow__item.js-scroll-in,
  .p-flow__item.js-scroll-in.is-visible {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    width: min(70vw, 270px);
    margin: 0 auto;
    padding: 52px 24px 24px;
    transform: none;
  }

  .p-flow__item:hover {
    transform: scale(1.01);
  }

  .p-flow__item:nth-child(n)::after {
    top: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .p-flow__item:last-child::after {
    display: none;
  }

  .p-flow__item p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .p-recruit-schedule .c-data__row {
    grid-template-columns: minmax(96px, 116px) minmax(0, 1fr);
  }

  .p-recruit-requirements .c-data__row {
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
  }

  .p-profile-data .c-data__row {
    grid-template-columns: minmax(112px, 32%) minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .p-profile-data .c-data__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .p-profile-data dd {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .p-recruit-work-circles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
  }

  .p-recruit-work-circle {
    width: min(82vw, 310px);
    padding: 38px;
  }

  .p-recruit-work-circle:nth-child(n) {
    transform: none;
  }

  .p-recruit-work-circle:nth-child(odd) {
    align-self: flex-start;
  }

  .p-recruit-work-circle:nth-child(even) {
    align-self: flex-end;
  }

  .p-home-news {
    padding-block: 26px;
  }

  .p-home-news__link {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 20px;
  }

  .p-home-news__link strong {
    line-height: 1.5;
  }

  .p-home-news__link time {
    font-size: 0.86rem;
  }

  .p-news-article {
    padding: 24px 20px;
  }

  .p-news-summary__row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .p-news-topic-list > li {
    padding: 16px;
  }

  .p-home-gallery {
    padding-top: 62px;
  }

  .p-home-copy h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.35;
  }

  .p-home-copy h3 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .p-home-photo {
    width: min(88vw, 430px);
    border-radius: 14px;
  }

  .p-home-photo--home,
  .p-home-photo--room-b {
    margin-left: -4vw;
  }

  .p-home-photo--living,
  .p-home-photo--room-a,
  .p-home-photo--toilet {
    margin-right: -4vw;
  }

  .p-feature-leaf {
    width: min(76vw, 300px);
    min-height: 150px;
    padding: 30px 26px 30px 44px;
    justify-self: center;
  }

  .p-feature-leaf--red {
    --leaf-rotate: -4deg;
    --leaf-sway: 0.6deg;
  }

  .p-feature-leaf--yellow {
    --leaf-rotate: 2deg;
    --leaf-sway: -0.5deg;
  }

  .p-feature-leaf--green {
    --leaf-rotate: -2deg;
    --leaf-sway: 0.5deg;
  }

  .p-feature-leaf h3 {
    font-size: 1.05rem;
  }

  .p-feature-leaf p {
    font-size: 0.92rem;
  }

  .p-hero__stage {
    height: clamp(640px, 88vh, 720px);
  }

  .p-hero__copy {
    top: 8%;
    left: 20px;
    width: calc(100% - 40px);
  }

  .p-hero__ornament {
    top: -20px;
    left: 58%;
  }

  .p-hero__copy h1 {
    font-size: clamp(2.2rem, 10.5vw, 2.85rem);
    line-height: 1.12;
  }

  .p-hero__copy h1 span {
    width: 100%;
    white-space: nowrap;
  }

  .p-hero__copy p {
    margin-top: 16px;
    font-size: 1rem;
  }

  .p-hero__copy .p-hero__actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .p-hero__copy .p-hero__actions .c-button {
    min-width: 0;
    padding: 11px 7px;
    font-size: 0.82rem;
  }

  .p-hero__photo--main {
    top: 42%;
    left: 7%;
    width: 86%;
    height: 38%;
    border-radius: 16px;
    transform: rotate(-1deg);
  }

  .p-hero__photo--exterior {
    bottom: 2.5%;
    left: 6%;
    width: 40%;
    height: 27%;
    border-radius: 14px;
    transform: rotate(-5deg);
  }

  .p-hero__character {
    right: -1%;
    bottom: -1%;
    width: 43%;
    height: 39%;
  }

  .p-hero__leaf--2,
  .p-hero__leaf--6,
  .p-hero__flower--4 {
    display: none;
  }

  .p-hero__actions,
  .p-section-actions {
    display: grid;
  }

  .p-timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .p-form,
  .p-policy {
    padding: 22px;
  }

  .p-form {
    gap: 18px;
  }

  .p-about-history {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .c-page-hero--about {
    background:
      linear-gradient(90deg, rgba(255, 250, 240, 0.94) 0%, rgba(255, 250, 240, 0.78) 44%, rgba(255, 250, 240, 0.34) 100%),
      url("/assets/images/hero/home01-mobile.webp?v=20260712-opt") center 54% / cover no-repeat;
  }

  .c-page-hero--contact {
    padding-block: 28px;
  }

  .c-page-hero--contact .c-page-hero__inner {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 8px;
  }

  .c-page-hero--contact h1 {
    font-size: 2rem;
  }

  .c-page-hero--contact p {
    margin-top: 10px;
    font-size: 0.92rem;
  }

  .c-page-hero--contact .c-character {
    height: 132px;
  }

  .p-contact-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .p-contact-quick-actions .c-button {
    padding: 11px 7px;
    font-size: 0.82rem;
  }

  .p-contact-phone {
    margin-bottom: 14px;
    padding: 22px;
  }

  .p-contact-phone h2 {
    margin-bottom: 10px;
    font-size: 1.45rem;
  }

  .p-contact-phone .c-data {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .p-contact-phone .c-data__row {
    gap: 16px;
    padding-block: 12px;
    font-size: 1.05rem;
  }

  .p-contact-phone .c-data__row dd {
    font-size: 1.05rem;
  }

  .p-access-data .c-data__row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .p-form__message.is-active {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}
