/* 080 ぽぷら賃貸管理 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff5f6;
  --c-ink: #3b2a2f;
  --c-red: #d9304a;
  --c-pink: #ffc7d3;
  --c-peach: #ffd9c2;
  --c-yellow: #ffe48a;
  --c-accent-text: #c0233a;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Zen Maru Gothic", sans-serif;
  --font-ja: "Hachi Maru Pop", cursive;
  --font-en: "Baloo 2", sans-serif;
  --col: 720px;
  --shadow: 4px 5px 0 var(--c-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
main { position: relative; z-index: 1; }

/* D03：ぼかした色の雲 */
.clouds { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cloud { position: absolute; width: 60vmax; height: 60vmax; filter: blur(60px); opacity: .55; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.cloud--1 { background: #ffb3c4; left: -20vmax; top: -18vmax; }
.cloud--2 { background: var(--c-peach); right: -24vmax; top: 10vh; }
.cloud--3 { background: #fff0a8; left: 10vw; bottom: -30vmax; }
.cloud--4 { background: #ffd0dc; right: 0; bottom: -10vmax; width: 40vmax; height: 40vmax; }
.is-motion .cloud--1 { animation: blob1 22s ease-in-out infinite alternate; }
.is-motion .cloud--2 { animation: blob2 26s ease-in-out infinite alternate; }
.is-motion .cloud--3 { animation: blob1 30s ease-in-out infinite alternate-reverse; }
.is-motion .cloud--4 { animation: blob2 24s ease-in-out infinite alternate-reverse; }
@keyframes blob1 { 0% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0, 0) scale(1); } 100% { border-radius: 63% 37% 38% 62% / 55% 61% 39% 45%; transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes blob2 { 0% { border-radius: 58% 42% 45% 55% / 50% 38% 62% 50%; transform: translate(0, 0) scale(1.05); } 100% { border-radius: 36% 64% 58% 42% / 62% 47% 53% 38%; transform: translate(-6vw, 8vh) scale(.92); } }

/* スマホのまま横に延長 */
.col { width: 100%; max-width: calc(var(--col) + 40px); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.en { font-family: var(--font-en); font-size: 20px; letter-spacing: .1em; color: var(--c-accent-text); }
.h2 { font-family: var(--font-ja); font-size: clamp(34px, 5vw, 56px); line-height: 1.35; color: var(--c-ink); margin: 4px 0 32px; }
.bubble { position: relative; display: inline-block; background: #fff; border: 3px solid var(--c-ink); border-radius: 24px; padding: 8px 20px; font-weight: 700; color: var(--c-ink); box-shadow: var(--shadow); }
.bubble::after { content: ""; position: absolute; left: 32px; bottom: -14px; width: 20px; height: 20px; background: inherit; border-right: 3px solid var(--c-ink); border-bottom: 3px solid var(--c-ink); transform: rotate(45deg); }
.bubble--yellow { background: var(--c-yellow); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 3px solid var(--c-ink); border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.btn:hover, .btn:focus-visible { transform: translate(2px, 3px); box-shadow: 1px 2px 0 var(--c-ink); }
.btn--red { background: var(--c-red); color: #fff; }
.btn--white { background: #fff; color: var(--c-ink); }
.btn--lg { min-height: 60px; font-size: 18px; padding: 0 32px; }
.btn--xl { min-height: 76px; font-size: 22px; padding: 0 44px; }

/* ===== ヘッダー（最小。どの幅でも三本線） ===== */
.header { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50; background: #fff; border: 3px solid var(--c-ink); border-radius: 999px; box-shadow: var(--shadow); color: var(--c-ink); }
.header__inner { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 16px; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; white-space: nowrap; flex: none; }
.logo__mark { width: 34px; height: 34px; }
.logo__ja { font-family: var(--font-ja); font-size: 20px; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: none; border-width: 2px; }
@media (max-width: 430px) { .header__inner { padding: 0 4px 0 12px; gap: 4px; } .logo__mark { width: 28px; height: 28px; } .logo__ja { font-size: 16px; } .header__btn { padding: 0 12px; } }
@media (min-width: 1080px) { .header { left: 50%; right: auto; width: 1040px; transform: translateX(-50%); } }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 24px; height: 3px; border-radius: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border: 3px solid var(--c-ink); border-radius: 24px; box-shadow: var(--shadow); padding: 12px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-weight: 700; text-decoration: none; border-bottom: 2px dashed var(--c-pink); }
.spmenu__nav a:last-child { border-bottom: 0; }

/* ===== メインビジュアル：イラスト ===== */
.hero { padding: 112px 0 56px; }
.hero__bubble { font-size: 17px; margin-bottom: 20px; }
.hero__title { font-family: var(--font-ja); font-size: clamp(56px, 10vw, 128px); line-height: 1.2; color: var(--c-ink); }
.hero__art { margin: 8px 0 32px; }
.hero__svg { display: block; width: 100%; height: clamp(220px, 34vw, 460px); }
.hero__lead { font-size: 18px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ===== ふたつの入口 ===== */
.doors { padding: 24px 0 0; }
.doors__grid { display: grid; gap: 20px; }
.doors__grid > * { min-width: 0; }
.door { position: relative; display: block; background: #fff; border: 3px solid var(--c-ink); border-radius: 28px; box-shadow: 6px 7px 0 var(--c-ink); padding: 40px 28px 28px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.door:hover, .door:focus-visible { transform: translate(3px, 4px); box-shadow: 2px 3px 0 var(--c-ink); }
.door--pink { background: var(--c-pink); }
.door__sticker { position: absolute; top: -18px; left: 20px; background: var(--c-yellow); border: 3px solid var(--c-ink); border-radius: 999px; padding: 2px 16px; font-weight: 700; font-size: 15px; color: var(--c-ink); transform: rotate(-4deg); }
.door strong { display: block; font-family: var(--font-ja); font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1.35; color: var(--c-ink); }
.door__text { display: block; margin-top: 12px; color: var(--c-ink); }
.door__text::after { content: " →"; color: var(--c-accent-text); font-weight: 700; }
@media (min-width: 768px) { .doors__grid { grid-template-columns: 1fr 1fr; } }
.band { margin: 64px 0 0; border-top: 3px solid var(--c-ink); border-bottom: 3px solid var(--c-ink); overflow: hidden; }
.band img { width: 100%; height: clamp(240px, 40vw, 560px); object-fit: cover; }

/* ===== 空き部屋（スライド） ===== */
.rooms { padding: 96px 0; overflow: hidden; }
.room { position: relative; background: #fff; border: 3px solid var(--c-ink); border-radius: 24px; overflow: hidden; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--c-ink); }
.room__new { position: absolute; z-index: 2; top: 14px; right: 14px; width: 64px; height: 64px; border-radius: 50%; background: var(--c-yellow); border: 3px solid var(--c-ink); display: grid; place-items: center; font-family: var(--font-en); font-size: 18px; color: var(--c-ink); transform: rotate(10deg); }
.room__body { padding: 20px 22px 24px; }
.room h3 { font-weight: 700; font-size: 20px; color: var(--c-ink); }
.room__rent { font-family: var(--font-en); font-size: 40px; line-height: 1.2; color: var(--c-accent-text); }
.room__rent small { font-family: var(--font); font-size: 15px; color: var(--c-ink); margin-left: 4px; }
.room__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.room__tags li { background: var(--c-bg); border: 2px solid var(--c-ink); border-radius: 999px; padding: 0 12px; font-size: 15px; color: var(--c-ink); }
.rooms__note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }
.slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 20px; }
.slider__track { display: flex; gap: 16px; width: max-content; }
.slider__item { width: 78vw; max-width: 380px; flex: none; scroll-snap-align: center; }
.slider.is-swiper .slider__viewport { overflow: hidden; scroll-snap-type: none; }
.slider.is-swiper .slider__track { gap: 0; width: auto; }
.slider.is-swiper .slider__item { width: auto; max-width: none; }
.slider__ctrl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; padding: 0 20px; }
.slider__ctrl[hidden] { display: none; }
.slider__arrow { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--c-ink); background: #fff; box-shadow: 3px 4px 0 var(--c-ink); color: var(--c-ink); cursor: pointer; position: relative; }
.slider__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: translate(-65%, -50%) rotate(45deg); }
.slider__prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.slider__arrow:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--c-ink); }
.slider__arrow.swiper-button-disabled { opacity: .4; }
.slider__dots, .slider__dots.swiper-pagination-horizontal { position: static; width: auto; transform: none; } 
.slider__dots { display: flex; }
.slider__dots .swiper-pagination-bullet { width: 30px; height: 44px; margin: 0 !important; background: transparent; opacity: 1; position: relative; border-radius: 0; }
.slider__dots .swiper-pagination-bullet::before { content: ""; position: absolute; left: 7px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--c-ink); background: #fff; }
.slider__dots .swiper-pagination-bullet-active::before { background: var(--c-red); }
.slider__pause { min-height: 44px; padding: 0 18px; border: 2px solid var(--c-ink); border-radius: 999px; background: #fff; color: var(--c-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }

/* ===== B02：管理サービス ===== */
.service { padding-top: 64px; }
.service__head { position: relative; }
.service__count { display: none; }
.svc { padding: 56px 0; border-top: 3px solid var(--c-ink); }
.svc--1 { background: var(--c-pink); } .svc--2 { background: var(--c-yellow); } .svc--3 { background: #fff; } .svc--4 { background: var(--c-peach); } .svc--5 { background: #ffe0e7; }
.svc__no { font-family: var(--font-en); font-size: 72px; line-height: 1; color: var(--c-ink); }
.svc h3 { font-family: var(--font-ja); font-weight: 400; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.35; color: var(--c-ink); margin: 8px 0 12px; }
.svc p:last-child { color: var(--c-ink); font-size: 18px; }
.service__list { border-bottom: 3px solid var(--c-ink); }
/* 動く版：区画を固定して、1件ずつ入れ替える */
.is-motion .service { padding-top: 0; }
.is-motion .service__pin { position: relative; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding-top: 96px; }
.is-motion .service__head .h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.is-motion .service__count { display: block; position: absolute; right: 20px; top: 0; font-family: var(--font-en); font-size: clamp(56px, 8vw, 96px); line-height: 1; color: var(--c-accent-text); }
.is-motion .service__count i { font-style: normal; font-size: .5em; color: var(--c-ink); }
.is-motion .service__list { position: relative; flex: 1; border-bottom: 0; }
.is-motion .svc { position: absolute; inset: 0; display: flex; align-items: center; }
@media (min-width: 1080px) { .is-motion .service__count { right: max(20px, calc(50% - var(--col) / 2 - 140px)); } }

/* ===== B08：入居までの流れ ===== */
.flow { padding: 96px 0; }
.flow__side { display: none; }
.flow__center { width: 100%; max-width: calc(var(--col) + 40px); margin: 0 auto; padding: 0 20px; }
.steps { display: grid; gap: 24px; }
.step { background: #fff; border: 3px solid var(--c-ink); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.step__no { display: inline-block; font-family: var(--font-en); font-size: 16px; background: var(--c-red); color: #fff; border-radius: 999px; padding: 0 14px; }
.step h3 { font-family: var(--font-ja); font-weight: 400; font-size: 26px; color: var(--c-ink); margin: 8px 0 4px; }
.step img { margin-top: 16px; border-radius: 16px; border: 3px solid var(--c-ink); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 1080px) {
  .flow { display: grid; grid-template-columns: 1fr 440px 1fr; padding: 0; border-top: 3px solid var(--c-ink); border-bottom: 3px solid var(--c-ink); }
  .flow__center { max-width: none; padding: 96px 28px; background: var(--c-bg); border-left: 3px solid var(--c-ink); border-right: 3px solid var(--c-ink); }
  .flow__side { display: block; }
  .flow__side--l { background: var(--c-pink); }
  .flow__side--r { background: var(--c-yellow); }
  .flow__stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 96px 32px 32px; }
  .flow__big { font-family: var(--font-ja); font-size: clamp(48px, 5vw, 80px); line-height: 1.25; color: var(--c-ink); text-align: center; }
  .flow__stage svg { width: min(220px, 70%); }
  .flow__stage .bubble { font-size: 20px; }
}

/* ===== よくある質問 ===== */
.faq { padding: 96px 0; }
.qa { background: #fff; border: 3px solid var(--c-ink); border-radius: 20px; margin-bottom: 14px; }
.qa summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-weight: 700; color: var(--c-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c-red); color: #fff; display: grid; place-items: center; font-family: var(--font-en); }
.qa p { padding: 0 20px 20px 66px; }

/* ===== おといあわせ ===== */
.contact { padding: 72px 0 120px; text-align: center; }
.contact__title { font-family: var(--font-ja); font-size: clamp(40px, 7vw, 88px); line-height: 1.3; color: var(--c-ink); margin: 32px 0 40px; }
.contact__tel { margin-top: 28px; color: var(--c-ink); }
.contact__tel a { font-family: var(--font-en); font-size: 30px; color: var(--c-accent-text); text-decoration: none; }

.footer { position: relative; z-index: 1; background: var(--c-ink); color: #fbe9ee; padding: 56px 0 32px; font-size: 15px; }
.footer__logo { font-family: var(--font-ja); font-size: 26px; color: #fff; margin-bottom: 8px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
