@charset "UTF-8";
/* ==========================================================
   aria 1.5 ベースプラン集
   ========================================================== */

:root {
  --ink: #22201d;
  --ink-2: #4c4842;
  --mute: #67635c;
  --accent: #6c5f48;
  --accent-soft: #ddd3c4;
  --btn: #594c33;
  --btn-hover: #453a23;
  --select: #817460;
  --line: #dedbd5;
  --line-2: #c8c5be;
  --subtle: #f7f7f4;
  --tab-hover: #ebe8e3;
  --white: #fff;
  --shadow-card: 0 10px 30px rgba(34, 32, 29, .08);
  --f-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

/* ページ内リンク（#catalog・#exhibition など）はスムーススクロール（「動きを減らす」設定では下の media で解除） */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--f-ja);
  font-size: 16px;
  line-height: 30px;
  letter-spacing: .3px;
  -webkit-font-smoothing: antialiased;
}

body.is-modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; cursor: pointer; }
ul, ol, dl, dd, figure, p, h1, h2, h3 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

.sp-only { display: none; }

@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: revert; }
}

.cmn-cv,
.icj-pagetop {
  display: none;
}

/* ----------------------------------------------------------
   Common
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 96px 0; }
.section--subtle { background: var(--subtle); }

.sec-head { text-align: center; }

.eyebrow {
  display: block;
  color: var(--accent);
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 3.5px;
}

.h2 {
  padding-top: 14px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 1.5px;
}

.sec-head__lead {
  padding-top: 24px;
  color: var(--mute);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.chev {
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 3.5px;
}

.chev--down {
  display: inline-block;
  width: 20px;
  text-align: center;
  letter-spacing: 0;
  transform: rotate(90deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: .3px;
  transition: background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}

.btn--primary {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--white);
}

@media (hover: hover) and (min-width: 769px) {
  .btn--primary:hover {
    background: var(--btn-hover);
    border-color: var(--btn-hover);
  }
}

.btn--primary .chev:not(.chev--down) {
  display: inline-block;
  transition: transform .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .btn--primary:hover .chev:not(.chev--down) { transform: translateX(3px); }
}

.btn--ghost {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}

@media (hover: hover) and (min-width: 769px) {
  .btn--ghost:hover { background: var(--subtle); }
}

.btn--ghost .ret {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: .6px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink-2);
  transition: border-color .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .btn-outline:hover { border-color: var(--ink); }
}

/* Icons */
.i-search,
.i-zoom {
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.i-search { width: 12px; height: 12px; }

.i-search::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  border: 1.2px solid currentColor;
  border-radius: 50%;
}

.i-search::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 4.5px;
  height: 1.2px;
  background: currentColor;
  transform: rotate(45deg);
}

.i-zoom { width: 14px; height: 14px; }

.i-zoom::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--f-en);
  font-size: 10px;
  line-height: 8.5px;
  text-align: center;
  letter-spacing: 0;
}

.i-zoom::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1.5px;
  width: 4.5px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

/* Round buttons */
.zoom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .zoom-btn:hover,
  .plan-figure:hover .zoom-btn {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
  }
}

.cursor-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(31, 29, 26, .25);
  transition: background-color .2s, border-color .2s, color .2s;
}

.cursor-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.3px solid currentColor;
  border-right: 1.3px solid currentColor;
}

.cursor-btn--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.cursor-btn--next::before { transform: translate(-70%, -50%) rotate(45deg); }

@media (hover: hover) and (min-width: 769px) {
  .cursor-btn:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
  }
}

.cursor-btn.swiper-button-disabled { opacity: .35; cursor: default; pointer-events: none; }

/* Spec list（東西向き | 3LDK | 玄関間口） */
.spec {
  display: flex;
  flex-wrap: wrap;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: .8px;
}

.spec li { padding: 0 10px; }
.spec li:first-child { padding-left: 0; }
.spec li + li { border-left: 1px solid var(--line-2); }

.plan-id {
  color: var(--ink);
  font-family: var(--f-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
}

/* Dimension texts */
.dim {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 21px;
  letter-spacing: .4px;
  white-space: pre;
}

.dim--depth { color: var(--mute); text-align: center; }

/* 1行を左へ90°回した形（下から上へ読む）。sideways で漢字も数字と同じ向きにする */
.dim--width {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
}

/* Plan figure（画像全体がクリック可能） */
.plan-figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: var(--white);
  overflow: hidden;
  /* TODO: 高精細版 cursor-zoom@2x.png を用意したら image-set で差し替え */
  cursor: url("/lineup/aria/madori/tmp/img/cursor-zoom.png") 13 13, zoom-in;
}

.plan-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plan-figure .zoom-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

/* Floor switch（1階 / 1.5階） */
.floor-switch {
  display: flex;
  border-radius: 2px;
  overflow: hidden;
}

.floor-switch button {
  flex: 1;
  padding: 10px 1px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--mute);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
  transition: background-color .2s, color .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .floor-switch button:hover {
    background: var(--tab-hover);
    color: var(--ink);
  }
}

.floor-switch button.is-active {
  background: var(--select);
  border-color: var(--select);
  color: var(--white);
}

@media (hover: hover) and (min-width: 769px) {
  .floor-switch button.is-active:hover { box-shadow: inset 0 0 0 1px var(--ink); }
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.header {
  position: relative;
  z-index: 40;
  background: var(--white);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
  padding: 10px 32px;
  border-bottom: 1px solid var(--line);
}

.header__logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__ichijo img { display: block; width: 78px; height: 38px; }

.header__divider {
  width: 1px;
  height: 17px;
  background: var(--line);
}

.header__aria img { display: block; width: 95px; height: auto; }

.region-toggle { display: flex; }

.region-toggle button {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .3px;
  white-space: nowrap;
  transition: border-color .2s;
}

.region-toggle .i-swap { display: block; flex: 0 0 auto; }

@media (hover: hover) and (min-width: 769px) {
  .region-toggle button:hover { border-color: var(--ink); }
}

.region-toggle button.is-active {
  background: var(--select);
  border-color: var(--select);
  color: var(--white);
}

.header__search {
  width: 158px;
  height: 44px;
  margin-left: auto;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: .8px;
}

.breadcrumbs { border-bottom: 1px solid var(--line); }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  padding: 10px 48px 10px 32px;
  color: var(--mute);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  letter-spacing: 0;
}

.breadcrumbs a { transition: color .2s; }
@media (hover: hover) and (min-width: 769px) {
  .breadcrumbs a:hover { color: var(--accent); }
}

/* ----------------------------------------------------------
   Contact dock
   ---------------------------------------------------------- */
.dock {
  position: fixed;
  right: 0;
  top: 200px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 56px;
  transition: opacity .3s, visibility .3s;
}

/* 展示場ブロックが見えている間は隠す（JS） */
.dock.is-hidden { opacity: 0; visibility: hidden; }

/* 1文字 22px 送り */
.dock a {
  display: flex;
  justify-content: center;
  padding: 20px 16px;
  background: var(--btn);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 8px;
  writing-mode: vertical-rl;
  transition: background-color .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .dock a:hover { background: var(--btn-hover); }
}
.dock svg { display: none; }

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero { border-bottom: 1px solid var(--line); }

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

.hero__text { width: 433px; }

.hero__concept {
  padding-bottom: 5px;
  color: var(--mute);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 4.2px;
}

.hero__logo img { display: block; width: 230px; height: auto; }

.hero__sub {
  display: block;
  padding-top: 15px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 3.52px;
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  padding-top: 12px;
}

.hero__body p { width: 100%; }

.hero__notes {
  color: #67635C;
  font-size: 13px;
  margin-right: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 15px 5px;
  border: 0;
  border-radius: 16px;
  background: var(--btn);
  color: var(--white);
  font-size: 15px;
  line-height: 26px;
  transition: background-color .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .pill:hover { background: var(--btn-hover); }
}

.hero__count {
  display: flex;
  align-items: baseline;
  gap: 12.5px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 26px;
}

.hero__count strong {
  color: var(--accent);
  font-family: var(--f-en);
  font-size: 38px;
  font-weight: 600;
  line-height: 38px;
}

.hero__image img { display: block; width: 358px; height: 300px; object-fit: cover; }

/* ----------------------------------------------------------
   Plan lineup
   ---------------------------------------------------------- */
.lineup { padding: 56px 0 87px; }

.lineup .sec-head { padding-bottom: 41px; }

.tabs {
  display: flex;
  justify-content: center;
  margin-top: 43px;
  border-bottom: 1px solid var(--line);
}

.tabs__btn {
  position: relative;
  margin-bottom: -1px;
  padding: 14px 50.5px 16px;
  border: 0;
  background: none;
  color: var(--mute);
  font-size: 15px;
  line-height: 26px;
  letter-spacing: .3px;
}

/* 太字時の幅ブレ防止 */
.tabs__btn span { display: inline-grid; }
.tabs__btn span::after {
  content: attr(data-label);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 500;
  letter-spacing: .8px;
}

.tabs__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--line-2);
  transform: scaleX(0);
  transition: transform .3s ease;
}

@media (hover: hover) and (min-width: 769px) {
  .tabs__btn:hover { color: var(--accent); font-weight: 500; letter-spacing: .8px; }
  .tabs__btn:hover::after { transform: scaleX(1); }
}

.tabs__btn.is-active { color: var(--ink); font-weight: 500; letter-spacing: .8px; }
.tabs__btn.is-active::after { background: var(--accent); transform: none; transition: none; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.lineup-slider {
  position: relative;
  padding-top: 36px;
  overflow: hidden;
}

.lineup-slider .swiper { overflow: visible; }
.lineup-slider .swiper-slide { width: auto; transition: opacity .3s; }
.lineup-slider .lineup-card { transition: box-shadow .3s, transform .3s; }

.lineup-slider .swiper-slide:not(.swiper-slide-active) { opacity: .7; cursor: pointer; }
.lineup-slider .swiper-slide-prev .lineup-card { transform: scale(.8); transform-origin: right center; }
.lineup-slider .swiper-slide-next .lineup-card { transform: scale(.8); transform-origin: left center; }
.lineup-slider .swiper-slide:not(.swiper-slide-active) .lineup-card { pointer-events: none; }

.lineup-slider .cursor-btn {
  position: absolute;
  top: calc(36px + (100% - 36px - 60px) / 2 - 22px);
  z-index: 3;
}

/* カードとカードの間（カード幅の半分 410px ＋ 間 64px の半分） */
.lineup-slider .cursor-btn--prev { left: calc(50% - 442px - 22px); }
.lineup-slider .cursor-btn--next { right: calc(50% - 442px - 22px); }

/* ページを開いたときの動き（JS）：並びが右から約500px滑り、両脇のカードが縮む */
.lineup-slider.is-intro .swiper { transform: translateX(500px); }
.lineup-slider.is-intro .swiper-slide { opacity: 1 !important; transition: none; }
.lineup-slider.is-intro .lineup-card { transform: none !important; transition: none; }
.lineup-slider.is-intro-run .swiper { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.lineup-slider.is-intro-run .swiper-slide,
.lineup-slider.is-intro-run .lineup-card { transition-duration: .6s; transition-timing-function: cubic-bezier(.22, .61, .36, 1); }

/* SP用カード（PCでは非表示） */
.lineup-slider .swiper-slide > .plan-card { display: none; }

.lineup-card {
  width: 820px;
  padding: 37px 0 41px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
  transition: box-shadow .3s, transform .3s;
}

@media (hover: hover) and (min-width: 769px) {
  .lineup-card:hover { box-shadow: var(--shadow-card); }
}

.lineup-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
}

.lineup-card__top .spec { margin-left: auto; }
.lineup-card__top .spec li { padding: 0 16px; }
.lineup-card__top .spec li:last-child { padding-right: 0; }

.lineup-card .dim--depth {
  width: 390px;
  padding: 15px 0 0 40px;
}

.lineup-card__plans {
  display: flex;
  align-items: flex-start;
}

.lineup-card__plans .dim--width {
  width: 40px;
  height: 350px;
  flex: 0 0 auto;
}

.lineup-card__grid {
  display: grid;
  grid-template-columns: 350px 350px;
  gap: 36px;
}

.lineup-card__grid figcaption {
  padding-top: 10px;
  text-align: center;
  font-size: 16px;
  line-height: 30px;
}

.lineup-card__cta {
  padding-top: 26px;
  text-align: center;
}

.lineup-card__cta .btn { width: 280px; min-height: 60px; }

/* Pager */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 34px;
  color: var(--mute);
  font-family: var(--f-en);
  font-size: 16px;
  line-height: 26px;
}

.pager__bar {
  --thumb: 24px;
  position: relative;
  width: 200px;
  height: 1px;
  background: var(--line-2);
}

.pager__bar i {
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--thumb);
  height: 3px;
  background: var(--accent);
  transition: left .3s;
}

/* ----------------------------------------------------------
   Plan card（MadoriCard）
   ---------------------------------------------------------- */
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 27px 0 31px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
  transition: box-shadow .3s;
}

@media (hover: hover) and (min-width: 769px) {
  .plan-card:hover { box-shadow: var(--shadow-card); }
}

.plan-card .plan-id { padding: 0 26px; }

/* 幅の狭いカード（検索の一覧 SP 幅 360px 等）でも折り返さないよう、右の余白を取らずに1行 */
.plan-card .spec { flex-wrap: nowrap; padding: 4px 0 0 26px; white-space: nowrap; }

.plan-card .dim--depth { padding: 10px 26px 0; }

.plan-card__plan {
  display: flex;
  padding-right: 26px;
}

.plan-card__plan .dim--width { width: 26px; flex: 0 0 auto; }

.plan-card__plan .plan-figure .zoom-btn { right: 0; bottom: 0; }

.plan-card .floor-switch {
  margin: 14px 26px;
  padding: 0 50px;
}

.plan-card__cta { padding: 0 26px; }
.plan-card__cta .btn { width: 100%; min-height: 54px; }

.rank {
  position: absolute;
  top: -16px;
  left: 20px;
  z-index: 1;
  padding: 4px 14px;
  border-radius: 2px;
  color: var(--white);
  font-family: var(--f-en);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 3.5px;
}

.rank--1 { background: #4c4842; }
.rank--2 { background: #6c5f48; }
.rank--3 { background: #817460; }

/* Card slider（最近チェックしたプラン / よく見られているプラン） */
.card-slider {
  position: relative;
  max-width: 1184px;
  margin: 66px auto 0;
}

.card-slider .swiper { overflow: hidden; padding: 16px 20px 40px; margin: -16px -20px -40px; }
.card-slider .swiper-slide { width: 376px; height: auto; }
.card-slider .plan-card { height: 100%; }

.card-slider .cursor-btn {
  position: absolute;
  top: calc((100% - 60px) / 2 - 13px);
  z-index: 3;
}

.card-slider .cursor-btn--prev { left: -72px; }
.card-slider .cursor-btn--next { right: -72px; }

.popular .card-slider .pager-row { display: none; }

/* ----------------------------------------------------------
   Search form
   ---------------------------------------------------------- */
.plan-search {
  padding: 97px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--subtle);
}

.plan-search [data-search-form] { margin-top: 61px; }

.sf-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.sf {
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
}

.sf__body {
  display: grid;
  grid-template-columns: 120px 1fr 120px 1fr;
}

.sf__field { display: contents; }

.sf__label {
  display: flex;
  align-items: center;
  padding: 17px 18px;
  background: var(--line);
  color: var(--ink);
  font-size: 15px;
  line-height: 26px;
}

.sf__opts {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.sf__field:nth-child(odd):not(.sf__field--full) .sf__opts { border-right: 1px solid var(--line); }
.sf__field--full .sf__opts { grid-column: span 3; }
.sf__field--full .sf__label,
.sf__field--full .sf__opts { border-bottom: 0; }

.chip { position: relative; }

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 19px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 26px;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, color .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .chip span:hover { border-color: var(--ink); color: var(--ink); }
}

.chip input:checked + span {
  background: var(--select);
  border-color: var(--select);
  color: var(--white);
}

@media (hover: hover) and (min-width: 769px) {
  .chip input:checked + span:hover { border-color: var(--ink); }
}

.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.sf__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 23px 0 22px;
  border-top: 1px solid var(--line);
}

.sf--table .sf__foot { padding: 22px 0 21px; }

.sf__result,
.sf__clear-wrap { flex: 1; }

/* 「検索結果」と件数のかたまりは右寄せ、かたまりの中は左揃え */
.sf__result {
  display: grid;
  justify-content: end;
  justify-items: start;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.sf__count {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sf__count strong {
  color: var(--accent);
  font-family: var(--f-en);
  font-size: 38px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0;
}

.sf__submit { width: 340px; min-height: 60px; }
.sf__submit:disabled { opacity: .5; cursor: default; }

.sf__clear {
  padding: 4px 0 5px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: none;
  color: var(--mute);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
  transition: color .2s;
}

@media (hover: hover) and (min-width: 769px) {
  .sf__clear:hover { color: var(--ink); }
}

/* modal layout */
.sf--modal { border: 0; border-radius: 0; }

.sf--modal .sf__body { grid-template-columns: 1fr 1fr; }

.sf--modal .sf__field {
  display: block;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line);
}

.sf--modal .sf__field:nth-child(odd):not(.sf__field--full) { border-right: 1px solid var(--line); }
.sf--modal .sf__field--full { grid-column: 1 / -1; }

.sf--modal .sf__label {
  padding: 0;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}

.sf--modal .sf__opts {
  padding: 12px 0 0;
  border: 0 !important;
}

/* 施工面積の4つ（99・99・99・97px）が1行に収まる幅 */
.sf--modal .chip span { padding: 8px 16.5px; }
.sf--modal .sf__field--full .chip span { padding: 8px 21px; }

/* PC：施工面積の4つは折り返さず、欄の幅を4等分して必ず1行に収める（約99px ずつ） */
@media (min-width: 1024px) {
  .sf--modal [data-field="tsubo_category"] .sf__opts { flex-wrap: nowrap; }
  .sf--modal [data-field="tsubo_category"] .chip { flex: 1 1 0; min-width: 0; }

  .sf--modal [data-field="tsubo_category"] .chip span {
    justify-content: center;
    width: 100%;
    padding: 8px 0;
    white-space: nowrap;
  }
}

.sf--modal .sf__foot {
  position: sticky;
  bottom: 0;
  border-top: 0;
  background: var(--subtle);
}

/* ----------------------------------------------------------
   Recently / Popular / Spec
   ---------------------------------------------------------- */
.spec-banner { padding: 96px 0; }

.spec-banner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  width: 708px;
  min-height: 342px;
  margin: 0 auto;
  padding: 21px 57px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow .3s;
}

@media (hover: hover) and (min-width: 769px) {
  .spec-banner__link:hover { box-shadow: var(--shadow-card); }
}

.spec-banner__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 180px;
  flex: 0 0 auto;
}

.spec-banner__logo { display: block; width: 180px; height: auto; }

.spec-banner__more {
  display: inline-flex;
  gap: 6px;
  color: var(--accent);
  font-size: 15px;
  line-height: 26px;
}

.spec-banner__more-text { text-underline-offset: 4px; }
@media (hover: hover) and (min-width: 769px) {
  .spec-banner__link:hover .spec-banner__more-text { text-decoration: underline; }
}

.spec-banner__img { width: 358px; height: 300px; object-fit: cover; transition: transform .5s ease; }

@media (hover: hover) and (min-width: 769px) {
  .spec-banner__link:hover .spec-banner__img { transform: scale(1.03); }
}

/* ----------------------------------------------------------
   Consultation
   ---------------------------------------------------------- */
.consultation {
  position: relative;
  padding: 100px 0 105px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.consultation__bg,
.consultation__mask {
  position: absolute;
  inset: 0;
}

.consultation__bg {
  background: url("/lineup/aria/madori/tmp/img/consultation_bg.png") center / cover no-repeat;
  transform: scale(1.01);
  transition: transform 1.4s cubic-bezier(.22, .61, .36, 1);
}

.consultation__mask {
  background: var(--ink);
  opacity: .8;
  transition: opacity 1s ease;
}

.consultation__inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}

/* ブロック全体を「お近くの展示場を探す」と同じ飛び先に（PC のみ表示） */
.consultation__hit {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.consultation .eyebrow { color: var(--accent-soft); }
.consultation .h2 { color: var(--white); }

.consultation__text { padding-top: 31px; }

.consultation__topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 32px 0 36px;
}

.consultation__topics li {
  padding: 11px 23px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 2px;
  background: var(--ink);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
  transition: border-color .8s;
}

.consultation__cta {
  width: 480px;
  min-height: 72px;
  gap: 12px;
  transition: background-color .4s, border-color .4s, box-shadow .4s, transform .4s;
}

@media (hover: hover) and (min-width: 769px) {
  .consultation__hit { display: block; }
  .consultation:hover .consultation__bg { transform: scale(1.06); }
  .consultation:hover .consultation__mask { opacity: .6; }
  .consultation:hover .consultation__inner { transform: translateY(-6px); }
  .consultation:hover .consultation__topics li { border-color: rgba(255, 255, 255, .7); }
  .consultation:hover .consultation__cta {
    background: var(--btn-hover);
    border-color: var(--btn-hover);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .4);
    transform: translateY(-2px);
  }
}

/* ----------------------------------------------------------
   Catalog
   ---------------------------------------------------------- */
.catalog__sub {
  color: var(--ink);
  font-weight: 500;
}

.catalog__list {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.catalog__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 586px;
  padding: 41px 49px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  text-align: center;
  transition: box-shadow .3s;
}

/* カード全体がリンク（ボタンと同じ飛び先） */
@media (hover: hover) and (min-width: 769px) {
  .catalog__item:hover { box-shadow: var(--shadow-card); }
  .catalog__item:hover .btn--primary { background: var(--btn-hover); border-color: var(--btn-hover); }
  .catalog__item:hover .btn--primary .chev { transform: translateX(3px); }
}

.catalog__title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.catalog__catch {
  padding-top: 6px;
  color: var(--accent);
}

.catalog__image { margin-top: 22px; width: 440px; }

.catalog__text {
  align-self: stretch;
  padding: 22px 0 26px;
  text-align: left;
}

.catalog__item .btn { min-height: 60px; padding: 0 36px; margin-top: 20px; }

/* ----------------------------------------------------------
   Exhibition
   ---------------------------------------------------------- */
.exhibition__campaign { padding-top: 28px; }

.exhibition__sub {
  padding: 20px 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 1px;
  text-align: center;
}

.exhibition__banners {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.exhibition__banners a { width: 335px; transition: opacity .2s; }

@media (hover: hover) and (min-width: 769px) {
  .exhibition__banners a:hover { opacity: .85; }
}

.exhibition__banners img { display: block; width: 100%; height: 141.68px; object-fit: cover; }

.exhibition__body { padding: 64px 110px 0; }

.area-list {
  margin: 18px 110px 0;
  border-top: 1px solid var(--line);
}

.area-list__row {
  display: flex;
  min-height: 61px;
  border-bottom: 1px solid var(--line);
}

.area-list dt {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 160px;
  flex: 0 0 auto;
  padding: 15px 20px;
  background: var(--subtle);
  font-weight: 500;
}

.area-list dt a + a {
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px dashed var(--mute);
}

/* 最大7件（東北・関東・九州）が1行に収まるよう7列のグリッドで均等割り */
.area-list dd {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-content: center;
  padding: 9px 8px;
}

.area-list dd a {
  gap: 6px;
  padding: 6px 18px;
}

.area-list a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
  color: var(--ink-2);
  transition: color .2s;
}

/* 「›」は欧文フォントでベースライン寄りに描画されるため、和文の中心へ少し持ち上げる */
.area-list a .chev { font-weight: 400; line-height: 1; transform: translateY(-1px); }
@media (hover: hover) and (min-width: 769px) {
  .area-list a:hover { color: var(--accent); }
}

.notes {
  color: var(--mute);
  font-size: 13px;
  line-height: 21px;
  letter-spacing: .4px;
}

.notes p + p { padding-top: 5px; }

.exhibition .notes { padding: 28px 110px 0; }

/* ----------------------------------------------------------
   Search results
   ---------------------------------------------------------- */
.page-head {
  padding-top: 52px;
  text-align: center;
}

.page-head .h2 { padding-top: 14px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 30px;
}

.tags li {
  padding: 4px 14px;
  border-radius: 2px;
  background: var(--subtle);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.results { 
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 56px 0 96px; 
  background: var(--subtle);
}

.results__inner { max-width: 1200px; margin: 0 auto; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 61px;
}

.toolbar__count {
  display: flex;
  align-items: center;
  gap: 6.5px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.toolbar__count strong {
  color: var(--accent);
  font-family: var(--f-en);
  font-size: 26px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 0;
}

.sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort__label {
  color: var(--mute);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.sort .sort__btn {
  width: 236px;
  padding: 7px 12px;
  font-size: 15px;
  line-height: 26px;
}

.sort .sort__btn b { font-weight: inherit; }

.sort .sort__btn.is-active {
  background: var(--select);
  border-color: var(--select);
  color: var(--white);
}

@media (hover: hover) and (min-width: 769px) {
  .sort .sort__btn.is-active:hover { border-color: var(--ink); }
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.result-empty { padding: 60px 0; text-align: center; }

.more { display: none; }

.refine {
  padding: 73px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--subtle);
}

.refine .sec-head__lead {
  padding-top: 12px;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: .3px;
}

.refine [data-search-form] { margin-top: 32px; }

.refine--detail { padding: 97px 0 102px; }
.refine--detail .sec-head__lead { padding-top: 8px; }
.refine--detail [data-search-form] { margin-top: 28px; }

/* ----------------------------------------------------------
   Detail
   ---------------------------------------------------------- */
.detail {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 29px;
}

.detail__back { min-height: 44px; padding: 6px 16px; gap: 5px; }

.detail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}

.detail__title { display: flex; align-items: center; gap: 15px; }
.detail__id { font-size: 26px; line-height: 40px; }

.detail__head .spec li { padding: 0 24px; }
.detail__head .spec li:first-child { padding-left: 0; }
.detail__head .spec li:last-child { padding-right: 0; }

.features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.features li { padding: 2px 0; }

.features li + li::before {
  content: "／";
  margin: 0 9px;
  color: var(--line-2);
}

.overview {
  display: grid;
  grid-template-columns: 342fr 650fr;;
  min-height: 220px;
  margin-top: 18px;
  border: 1px solid var(--line-2);
  background: var(--white);
}

.overview__ext {
  position: relative;
  border-right: 1px solid var(--line);
}

/* 外観は左の列いっぱいに敷く（高さは右の面積情報に合わせる） */
.overview__ext img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.overview__ext figcaption {
  position: absolute;
  left: 20px;
  top: 20px;
  color: var(--mute);
  font-size: 15px;
  line-height: 26px;
}

.overview__area {
  padding: 17px 48px;
  background: var(--subtle);
}

.overview__head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }

.overview__title {
  padding-top: 3px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}

.area-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 7px;
}

.area-table__cell {
  display: flex;
  align-items: center;
  min-height: 53px;
  padding: 0 25px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.area-table__cell:nth-child(odd) { border-right: 1px solid var(--line); }

.area-table__cell dd {
  flex: 1;
  padding-right: 13px;
  color: var(--ink);
  font-family: var(--f-en);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  text-align: right;
}

.area-table__cell small {
  color: var(--mute);
  font-size: 14px;
}

.area-table__solar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 25px;
  background: var(--white);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.area-table__solar dd {
  color: var(--btn);
  font-family: var(--f-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
}

.floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}

.floor { padding: 0 18px 18px; }
.floor:first-child { padding-right: 19px; border-right: 1px solid var(--line); }

.floor__title {
  min-height: 38px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.floor .dim--depth {
  min-height: 29px;
  padding-top: 15px;
  color: var(--ink-2);
}

.floor__plan {
  display: grid;
  grid-template-columns: 34px 420px;
  justify-content: center;
}

.floor__plan--single { grid-template-columns: 420px; }

.floor .plan-figure {
  outline: 1px solid transparent;
  transition: outline-color .3s, box-shadow .3s;
}

@media (hover: hover) and (min-width: 769px) {
  .floor .plan-figure:hover {
    outline-color: var(--line-2);
    box-shadow: var(--shadow-card);
  }
}

.detail__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 12px;
  padding: 19px 0 13px;
  border-top: 1px solid var(--line);
}

/* プラン個別の特別注記（耐水害など）。データがあるときだけ出す */
.detail__foot .notes__special { color: var(--ink-2); }

.detail__foot .notes { padding-top: 21px; }
.detail__foot .notes p { padding-top: 5px; }
.detail__foot .notes p:first-child { padding-top: 10px; }

.detail__foot .btn {
  min-width: 290px;
  min-height: 54px;
  padding: 14px 25px;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: .8px;
}

/* ----------------------------------------------------------
   Modal
   ---------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(1px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 24px 72px rgba(31, 29, 26, .28);
}

.modal__panel--semi { max-width: 600px; }
.modal__panel--zoom { max-width: 720px; box-shadow: none; }

.modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 30px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.modal__panel--semi .modal__head { padding: 23px 30px 19px; }

.modal__title {
  padding-top: 5px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 1.5px;
}

.modal__lead {
  padding-top: 5px;
  color: var(--mute);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.modal__close {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 44px;
  padding: 9px 15px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
}

.modal__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 17px 29px 26px;
}

/* プレゼントキャンペーン（/lp/guide/ の .benefit-modal と同一デザイン） */
/* SP の .modal { align-items: flex-start; padding: 14px; } に負けないよう詳細度を上げる */
.modal.cp-modal { z-index: 10050; align-items: center; padding: 12px; }

.cp-modal .modal__overlay { background: rgba(0, 0, 0, .45); backdrop-filter: none; }

.cp-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  max-height: min(92vh, 880px);
  max-height: min(92dvh, 880px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
  font-family: "Noto Sans JP", sans-serif;
}

.cp-modal__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cp-modal__x.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 0;
  height: 44px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  color: #333;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
}

.cp-modal__x.modal__close:focus-visible { outline: 2px solid #0082c1; outline-offset: 2px; }

.cp-modal__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #f7dec4 url("/guide/img/bg_modal_presentcp.png") no-repeat;
  background-size: contain;
}

.cp-modal__inner { padding: 40px 130px; }

.cp-modal__fig { margin: 0; }

.cp-modal__fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cp-modal__foot {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: none;
  background: #413224;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
}

.cp-modal__foot:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

@media (hover: hover) {
  .cp-modal__x.modal__close:hover { opacity: .85; }
  .cp-modal__foot:hover { opacity: .92; }
}

@media (min-width: 960px) {
  .cp-modal__panel { max-width: 1000px; }
}

@media (max-width: 959px) {
  .cp-modal__x.modal__close { top: .5%; right: 1%; }
  .cp-modal__body { background-image: url("/guide/img/bg_modal_presentcp_sp.png"); }
  .cp-modal__inner { padding: 60px 20px; }
}

/* QUOカード（/guide/ の .quo-modal と同一デザイン） */
/* SP の .modal { align-items: flex-start; padding: 14px; } に負けないよう詳細度を上げる */
.modal.quo-modal {
  z-index: 10050;
  align-items: flex-start;
  padding: 100px 60px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.quo-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
}

.quo-modal__panel {
  position: relative;
  z-index: 1;
  width: 800px;
  max-width: 100%;
  margin: auto;
  padding: 35px 50px;
  background: #fff;
  color: #333;
  line-height: 1.6;
  letter-spacing: 0;
}

.quo-modal__x.modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  min-width: 0;
  height: 50px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.quo-modal__x span {
  position: absolute;
  top: 15px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.quo-modal__x span:nth-child(2) { transform: rotate(135deg); }

.quo-modal__x.modal__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.quo-modal__heading {
  color: #53a6db;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.333;
  text-align: center;
}

.quo-modal__text { margin-top: 20px; font-size: 18px; }

.quo-modal__notes { margin-top: 20px; }

.quo-modal__notes p { font-size: 12px; }

.quo-modal__tab { margin-top: 40px; }

.quo-modal__tab-heading {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
}

.quo-modal__tab-inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.quo-modal__tab-text {
  width: 50%;
  margin-top: 20px;
  padding-left: 30px;
  font-size: 20px;
}

.quo-modal__tab-image {
  width: 50%;
  margin-top: 20px;
  text-align: center;
}

.quo-modal__tab-image img { display: inline-block; max-width: 100%; }

@media (max-width: 768px) {
  .modal.quo-modal { padding: 60px 0; }
  .quo-modal__panel { padding: 25px 15px; }
  .quo-modal__heading { font-size: 15px; }
  .quo-modal__text { margin-top: 13px; font-size: 13px; }
  .quo-modal__notes { margin-top: 7px; }
  .quo-modal__notes p { font-size: 10px; }
  .quo-modal__tab { margin-top: 10px; }
  .quo-modal__tab-heading { font-size: 15px; }
  .quo-modal__tab-inner { display: block; }
  .quo-modal__tab-text { width: 100%; margin-top: 10px; padding-left: 0; font-size: 13px; }
  .quo-modal__tab-image { width: 90%; margin: 10px auto 0; }
}

/* セミオーダー方式とは */
.modal__body.semi { gap: 6px; }

.semi__note,
.semi__step-text {
  color: var(--mute);
  font-size: 13px;
  line-height: 21px;
  letter-spacing: .4px;
}

.semi__steps { padding-top: 16px; }

.semi__step { display: flex; gap: 12px; }

.semi__num {
  display: flex;
  flex: 0 0 44px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--accent);
  font-family: var(--f-en);
  letter-spacing: 0;
  text-align: center;
}

.semi__num span { font-size: 13px; line-height: 21px; }
.semi__num strong { font-size: 26px; font-weight: 600; line-height: 40px; }

/* 次のステップまでの点線（最後のステップには出さない） */
.semi__step:not(:last-child) .semi__num::after {
  content: "";
  flex: 1 0 1px;
  border-left: 1px dashed var(--line-2);
}

.semi__step-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 6px 0 20px;
}

.semi__step:last-child .semi__step-body { padding-bottom: 0; }

.semi__step-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: .8px;
}

.semi__lineup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 12px 14px;
  border-radius: 2px;
  background: var(--subtle);
}

.semi__group { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.semi__group--order { gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

.semi__chip {
  padding: 1px 8px;
  border-radius: 2px;
  background: var(--btn);
  color: var(--white);
  font-family: var(--f-en);
  font-size: 13px;
  line-height: 21px;
  letter-spacing: 0;
}

.semi__options { display: flex; align-items: center; gap: 6px; }

.semi__option {
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 20.4px;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.semi__or {
  color: var(--mute);
  font-family: var(--f-en);
  font-size: 13px;
  line-height: 21px;
  letter-spacing: 0;
}

.semi__products { display: flex; flex-wrap: wrap; gap: 8px 14px; }

.semi__products li {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.semi__products [lang="en"] {
  color: var(--ink);
  font-family: var(--f-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
}

.semi__products small {
  color: var(--mute);
  font-size: 12px;
  line-height: 20.4px;
  letter-spacing: 0;
}

.zoom__head { align-items: center; padding: 20px 30px; }
.zoom__head .plan-id { padding-top: 2px; }

.zoom__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 40px 28px;
}

/* 図は 560px。画面の高さが低いときは見出し帯・切替ぶんを引いた高さまで縮める */
.zoom__figure {
  --fig: min(560px, calc(100vh - 290px));
  --fig: min(560px, calc(100dvh - 290px));
  display: grid;
  grid-template-columns: 40px var(--fig) 40px;
}

.zoom__figure img { width: var(--fig); height: var(--fig); object-fit: contain; background: var(--white); }

.zoom__body .dim--depth { color: var(--ink-2); }
.zoom__body .floor-switch { width: 320px; }
.zoom__body .floor-switch button { min-height: 44px; }
.zoom__body .is-hidden { visibility: hidden; }

/* ==========================================================
   SP
   ========================================================== */
/* 矢印が画面の外にはみ出す幅（〜1327px）は画面の内側に置く */
@media (max-width: 1327px) {
  .card-slider .cursor-btn--prev { left: -10px; }
  .card-slider .cursor-btn--next { right: -10px; }
}

/* タブレット・SP 共通（〜1023px） */
@media (max-width: 1023px) {
  /* dock：画面の下 */
  .dock {
    top: auto;
    right: 20px;
    bottom: 20px;
    left: 20px;
    flex-direction: row;
    gap: 0;
    width: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(31, 29, 26, .35);
  }

  .dock a {
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 8px 6px;
    writing-mode: horizontal-tb;
    letter-spacing: 0;
  }

  .dock a + a { border-left: 1px solid var(--accent); }
  .dock svg { display: block; width: 20px; height: 20px; }

  /* プランを見る：SP用カードのスライダー */
  .lineup-slider { padding-bottom: 20px; }
  .lineup-slider .swiper-slide { opacity: 1 !important; }
  .lineup-slider .swiper-slide .lineup-card { transform: none !important; }
  .lineup-slider .swiper-slide .plan-card { pointer-events: auto; }
  .lineup-card { display: none; }
  .lineup-slider .swiper-slide > .plan-card { display: flex; width: 335px; }

  .pager-row {
    display: flex;
    align-items: center;
    padding: 22px 14px 0;
  }

  .pager-row .pager { flex: 1; gap: 12px; padding: 0; }
  .pager__bar { --thumb: 17px; width: 120px; }

  .lineup-slider .cursor-btn,
  .card-slider .cursor-btn { position: relative; inset: auto; flex: 0 0 auto; }

  .popular .card-slider .pager-row { display: flex; }
}

/* タブレット（769〜1023px）：PC の組みのまま横にはみ出さないように */
@media (min-width: 769px) and (max-width: 1023px) {

  .hero__inner { gap: 32px; padding: 30px 20px; }
  .hero__text { flex: 0 0 433px; }
  .hero__image { flex: 0 1 358px; min-width: 0; }
  .hero__image img { width: 100%; height: auto; aspect-ratio: 358 / 300; }

  .sf--table .sf__body { grid-template-columns: 120px 1fr; }
  .sf--table .sf__field:nth-child(odd):not(.sf__field--full) .sf__opts { border-right: 0; }
  .sf--table .sf__field--full .sf__opts { grid-column: auto; }

  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .overview { grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); }
  /* 幅が足りないので PC より余白を詰める */
  .overview__area { padding: 17px 22px; }
  .area-table__cell,
  .area-table__solar { padding: 0 12px; }
  .floors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .floor__plan { grid-template-columns: 34px minmax(0, 420px); }
  .floor__plan--single { grid-template-columns: minmax(0, 420px); }

  .exhibition__body { padding: 64px 0 0; }
  .area-list { margin: 18px 0 0; }
  .area-list dd { grid-template-columns: repeat(4, 1fr); }
  .exhibition .notes { padding: 28px 0 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }

  .h2 { padding-top: 3px; font-size: 20px; line-height: 32px; letter-spacing: 1px; }
  .sec-head__lead {
    padding-top: 7px;
  }
  /* header（付いてくるのはヘッダーだけ。パンくずはページと一緒に流れる） */
  .header { position: sticky; top: 0; }
  [id] { scroll-margin-top: 55px; }
  .header__inner { gap: 12px; height: 55px; padding: 8px 14px; }
  .header__logos { gap: 12px; }
  .header__ichijo img { width: 58px; height: 28px; }
  .header__divider { height: 24px; }
  .header__aria img { width: 84px; }
  .region-toggle { display: none; }
  .header__search { width: 128px; padding: 10px 12px; }
  .breadcrumbs ol { gap: 0 8px; padding: 7px 14px; }
  .breadcrumbs li + li::before { margin-right: 8px; }

  /* hero */
  .hero__inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 20px 20px 10px;
  }

  .hero__text { display: contents; }
  .hero__title-wrap { flex: 1; min-width: 0; }
  /* 幅 360px でも折り返さない（はみ出した分は画像の上に重ねる） */
  .hero__concept { position: relative; z-index: 1; letter-spacing: 3.2px; white-space: nowrap; }
  .hero__logo img { width: 150px; }
  .hero__sub { padding-top: 10px; }
  .hero__image { width: 161px; }
  .hero__image img { width: 161px; height: 135px; }
  .hero__body { width: 100%; padding-top: 12px; }
  .hero__count { width: 100%; margin-top: 12px; padding-top: 9px; flex-wrap: wrap; align-items: center; gap: 0 8px; }
  .hero__count strong { font-size: 26px; line-height: 40px; }

  /* lineup（下の 20px は矢印の影が切れないための余白） */
  .lineup { padding: 36px 0; }
  .lineup .sec-head { padding-bottom: 0; }
  .tabs { margin-top: 24px; }
  .tabs__btn { padding: 10px 21.5px 12px; }
  .lineup-slider { padding-top: 24px; }

  /* card：左 14px・間 10px（右に次のカードが 16px のぞく） */
  .card-slider { margin-top: 34px; }
  .card-slider .swiper { padding: 16px 14px 40px; }
  .card-slider .swiper-slide { width: 335px; }
  .card-slider .pager-row { margin: 0 -6px; padding-right: 0; padding-left: 0; }
  .rank { left: 15px; padding: 3px 10px; letter-spacing: 3px; }

  /* search form */
  .plan-search { padding: 49px 0; }
  .plan-search [data-search-form] { margin-top: 29px; }

  .sf__body,
  .sf--modal .sf__body { display: block; }

  .sf__field,
  .sf--modal .sf__field {
    display: block;
    padding: 16px 16px 19px;
    border-bottom: 1px solid var(--line);
    border-right: 0 !important;
  }

  .sf__field--full { border-bottom: 0; }

  .sf__label {
    padding: 0;
    border: 0;
    background: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
  }

  .sf__opts { padding: 12px 0 0; border: 0 !important; }
  .sf .chip span,
  .sf--modal .chip span,
  .sf--modal .sf__field--full .chip span { padding: 8px 13px; }

  /* 検索モーダル：チップ・入れ物の幅を Figma に合わせる（「書斎」が「1.5階トイレ」と同じ行に） */
  .sf--modal .sf__field { padding: 16px 17px 19px; }
  .sf--modal .chip span,
  .sf--modal .sf__field--full .chip span { padding: 8px 13.5px; }

  .sf__foot,
  .sf--table .sf__foot {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 17px 16px 18px;
  }

  .sf__result { display: flex; flex-direction: row; align-items: center; gap: 5px; justify-content: flex-start; }
  .sf__result > span { width: 36px; padding-right: 5px; line-height: 16px; }
  .sf__clear-wrap { grid-column: 2; grid-row: 1; }
  .sf__submit { grid-column: 1 / -1; width: 100%; min-height: 52px; }

  /* sections */
  .spec-banner { padding: 56px 0; }
  .spec-banner__link { flex-direction: column; gap: 0; width: 100%; max-width: 335px; padding: 0; }
  .spec-banner__img { order: -1; width: 251px; height: 210px; margin: 12px 0 1px; }
  .spec-banner__text { width: 100%; padding: 20px; gap: 7px; }
  .spec-banner__logo { width: 120px; }

  .consultation { padding: 56px 0 59px; }
  .consultation__text { text-align: left; padding-top: 13px; }
  .consultation__topics { flex-direction: column; align-items: stretch; padding: 24px 0 28px; }
  .consultation__topics li { padding: 9px 23px; }
  .consultation__cta { width: 100%; min-height: 62px; }

  .catalog__sub,
  .catalog__title { font-size: 15px; line-height: 26px; letter-spacing: .8px; }
  .catalog__sub { padding-top: 0; margin-top: -6px;}
  .catalog__list { padding-top: 22px;}
  .catalog__item { width: 100%; padding: 22px 19px; }
  .catalog__catch { padding-top: 6px; font-size: 14px; line-height: 22px; letter-spacing: .6px; }
  .catalog__image { margin-top: 19px; width: 293px; }
  .catalog__text { padding: 13px 0 17px; }
  .catalog__item .btn { min-height: 56px; width: 294px; max-width: 100%; }

  .exhibition .h2 { padding-top: 7px; }
  .exhibition__campaign { padding-top: 11px; }
  .exhibition__sub { font-size: 15px; padding: 20px 0 9px;}
  .exhibition__banners { flex-direction: column; align-items: center; gap: 12px; }
  .exhibition__body { padding: 35px 0 0; }
  .area-list { margin: 11px 0 0; }
  .area-list__row { display: block; }
  .area-list dt { width: auto; padding: 8px 0 7px; background: none; }
  .area-list dd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px 0; padding: 0 0 5px; }
  .area-list dd a { width: auto; padding: 5px 0; gap: 2px; font-size: 15px; line-height: 26px; }
  .exhibition .notes { padding: 28px 0 0; }

  /* results */
  .page-head { padding: 32px 20px 0; }
  .tags { gap: 6px; padding-top: 12px; }
  .tags li { padding: 3px 10px; font-size: 13px; line-height: 21px; letter-spacing: .4px; }
  .results { padding: 24px 20px 56px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 14px; }
  .toolbar__count { justify-content: center; font-size: 13px; }
  .toolbar__count strong { font-size: 20px; line-height: 32px; }
  .sort { gap: 10px; justify-content: flex-end; }
  .sort__label { font-size: 13px; }
  /* 「施工面積（坪数）が」と「大きい順」を上下2行に */
  .sort .sort__btn { flex: 1; flex-direction: column; gap: 0; align-items: flex-start; width: auto; min-width: 0; max-width: 130px; padding: 5px 8px; font-size: 13px; line-height: 19px; letter-spacing: -1px; white-space: nowrap; text-align: left;}
  .sort .sort__btn b { display: block; font-size: 15px; font-weight: 500; line-height: 22px; letter-spacing: .8px; }
  .result-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .result-grid > [data-sp-hidden] { display: none; }
  .more { display: flex; justify-content: center; padding-top: 24px; }
  .more .btn { width: 100%; min-height: 54px; padding: 12px 24px; gap: 8px; font-size: 15px; line-height: 26px; letter-spacing: .8px; }
  .refine,
  .refine--detail { padding: 49px 0; }
  .refine .sec-head__lead { padding-top: 6px; }
  .refine [data-search-form] { margin-top: 20px; }

  /* detail */
  .detail { padding: 20px 16px 35px; }
  .detail__title {gap: 10px}
  .detail__back { width: 184px; min-height: 35px; padding: 0 10px; }
  .detail__head { display: block; padding-top: 14px; }
  .detail__id { font-size: 20px; line-height: 32px; }
  .detail__head .spec { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
  .detail__head .spec li { display: flex; align-items: center; justify-content: center; padding: 7px 5px; text-align: center; border-left: 0; border-right: 1px solid var(--line); }
  .detail__head .spec li:first-child { padding-left: 5px; }
  .detail__head .spec li:last-child { border-right: 0; padding-right: 5px; }
  .features { margin-top: 12px; padding: 10px 0; font-size: 12px; line-height: 20.4px; }
  .features li + li::before { margin: 0 5px; }
  .overview { display: block; margin-top: 14px; border: 0; }
  .overview__ext { padding: 0; border: 0; }
  .overview__ext img { position: static; height: auto; }
  .overview__ext figcaption { left: 0; top: 6px; font-size: 13px; }
  .overview__area { padding: 9px 8px; }
  .overview__head { padding-bottom: 7px; }
  .overview__head .eyebrow { display: none; }
  .overview__title { padding-top: 0; }
  .area-table { padding-top: 5px; }
  /* 項目名と値を1行に */
  .area-table__cell { min-height: 41px; padding: 0 6px 0 5px; color: var(--mute); font-size: 15px; line-height: 26px; letter-spacing: .3px; }
  .area-table__cell:nth-child(even) { padding-right: 5px; }
  .area-table__cell dt { white-space: nowrap; }
  /* 「1階 床面積」の間のスペースは PC のみ（共通 CSS の .pc-only は display: block で改行されるため使わない） */
  .area-table__gap { display: none; }
  .area-table__cell dd { padding-right: 0; white-space: nowrap; }
  .area-table__cell small { display: none; }
  /* 値は右の列の中で右から 16px */
  .area-table__solar { min-height: 40px; padding: 0 21px 0 5px; color: var(--mute); font-size: 15px; line-height: 26px; letter-spacing: .3px; }
  .floors { display: block; margin-top: 22px; }
  .floor,
  .floor:first-child { padding: 16px 0 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .floor__title { min-height: 35px; text-align: left; }
  .floor .dim--depth { min-height: 0; padding-top: 6px; }
  .floor .dim--depth:empty { display: none; }
  .floor__plan { grid-template-columns: 25px 1fr; }
  .floor__plan--single { grid-template-columns: 1fr; }
  .detail__foot { flex-direction: column; align-items: stretch; margin-top: 0; padding-top: 0; border-top: 0; }
  .detail__foot .notes { padding-top: 16px; }
  .detail__foot .btn { min-width: 0; }

  /* modal */
  .modal { align-items: flex-start; padding: 14px; }
  .modal__panel { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
  .modal__head { padding: 22px 16px 20px; }
  .modal__title { font-size: 15px; font-weight: 500; line-height: 26px; letter-spacing: .8px; }
  /* リードは「閉じる」より下の行なので、ボタンの下まで広げて折り返しを防ぐ（閉じる 64px ＋ 間 16px） */
  .modal__lead { margin-right: -80px; }
  .modal__close { min-width: 64px; padding: 9px 11px; }
  .modal__panel--semi .modal__head { padding: 21px 18px 19px; }
  .modal__body { padding: 16px 18px 20px; }
  .semi__lead { font-size: 15px; line-height: 26px; }
  .modal#semiOrderModal,
  .modal#zoomModal { align-items: center; }
  .zoom__head { padding: 16px 18px; }
  .zoom__body { padding: 16px 18px 20px; }
  .zoom__figure { grid-template-columns: 24px 1fr; width: 100%; }
  .zoom__figure > :last-child { display: none; }
  /* 画面の高さが低いときは図を縮めて収める（余白は contain で吸収） */
  .zoom__figure img { width: 100%; height: auto; max-height: calc(100vh - 250px); max-height: calc(100dvh - 250px); aspect-ratio: 1 / 1; }
  .zoom__body .dim--depth { padding-left: 24px; }
  .zoom__body .floor-switch { width: 100%; }
}

/* ----------------------------------------------------------
   Adjustments
   ---------------------------------------------------------- */
.refine .h2 { padding-top: 0; }

/* 枚数が少なくスライド不要な場合（Swiper の watchOverflow でロック中） */
.card-slider.is-locked .pager-row,
.lineup-slider.is-locked .pager-row { display: none !important; }
.catalog__sub { padding-top: 0; }

/* 端末の「動きを減らす」設定：カルーセルの送り・ホバーの動き・開いたときの動きを止める（Swiper の speed は JS で 0） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .consultation:hover .consultation__bg,
  .consultation:hover .consultation__inner,
  .consultation:hover .consultation__cta,
  .spec-banner__link:hover .spec-banner__img,
  .btn--primary:hover .chev:not(.chev--down),
  .catalog__item:hover .btn--primary .chev { transform: none; }
}

@media (max-width: 768px) {
  .hero__title-wrap { order: 1; }
  .hero__image { order: 2; }
  .hero__body { order: 3; gap:5px }
  .hero__notes { line-height: 21px;}
  .hero__count { order: 4; }
  .results { padding: 24px 0 56px; }
}

/* 寒冷地版のヘッダー色 */
body[data-region="cold"] .header { background-color: #D5D9DE; }

/* 地域の公開JSONに存在しない検索候補 */
.chip.is-disabled span,
.chip.is-disabled span:hover {
  border-color: #dedede;
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
}


/* 共通CSSのfixedと、SPのrelative !importantをaria内で上書きする。
   ヘッダーを通常フローにも残し、パンくずがヘッダーの裏に入らないようにする。 */
#icj-header.header {
  position: sticky !important;
  top: 0;
}

.region-switch-slot--sp { display: none; }

/* 寒冷地版：MVの「寒冷地版」タグ（PCは「ベースプラン集」の右・SPは下） */
.hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 20px;
}
.hero__logo { flex: 0 0 100%; }
.hero__region-tag {
  width: 133px;
  height: 28px;
  margin-top: 15px;
  border-radius: 2px;
  background: var(--select);
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: .3px;
  text-align: center;
}

/* 寒冷地版：間取りカードの積雪タグ（プラン番号の右） */
.plan-card__head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 26px;
}
.plan-card .plan-card__head .plan-id { padding: 0; }
.lineup-card__top .snow-badge { margin-left: -1px; }
.snow-badge {
  flex: 0 0 auto;
  margin: -2px 0;
  padding: 3px 10px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .region-switch-slot--pc { display: none; }
  /* SP：パンくず下の帯（高さ48・ボタン168×36を右寄せ・上下中央） */
  .region-switch-slot--sp {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 48px;
    padding: 6px 14px 6px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }
  .region-toggle { display: flex; }
  .region-toggle button { justify-content: center; width: 141px; max-width: 100%; }
  .region-toggle button[data-region="normal"] { width: 168px; }

  /* パンくず：折り返さずに横スクロール */
  .breadcrumbs ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .breadcrumbs ol::-webkit-scrollbar { display: none; }
  .breadcrumbs li { flex: 0 0 auto; }

  /* 間取りカード：番号は折らずに右の余白なしで1行、入らないときはタグを下の行へ */
  .plan-card__head { flex-wrap: wrap; row-gap: 6px; padding-right: 0; padding-left: 12px; gap: 10px; }
  .plan-card .spec {padding-left: 12px;}
  .plan-card .plan-card__head .plan-id { white-space: nowrap; }

  .hero h1 { flex-direction: column; }
  .hero__logo { flex: 0 0 auto; }
  .hero__region-tag { margin-top: 7px; }
}
