/* 番外編｜社長の所有物件 */

.p-extra .c-fade {
  opacity: 1;
  transform: none;
}

.p-extra {
  --extra-accent: #8c6f4e;
  --extra-accent-deep: #6b5238;
  --extra-hero-bg: #2a2420;
  --extra-paper: #f5f1ea;
}

.p-extra .c-heading__en {
  color: var(--extra-accent);
  letter-spacing: 0.18em;
}

.p-extra .c-btn--fill {
  color: var(--c-white);
  background: var(--extra-accent-deep);
  border-color: var(--extra-accent-deep);
}

.p-extra .c-btn--fill:hover {
  color: var(--c-white);
  background: var(--extra-accent);
  border-color: var(--extra-accent);
}

.p-extra .c-btn:not(.c-btn--fill) {
  border-color: var(--extra-accent);
  color: var(--extra-accent-deep);
}

.p-extra .c-btn:not(.c-btn--fill):hover {
  background: rgb(140 111 78 / 8%);
  color: var(--extra-accent-deep);
}

.p-extra .l-section {
  padding-block: var(--sp-5);
}

/* ヒーロー */
.p-extra-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 18rem;
  padding-block: calc(4.25rem + var(--sp-4)) var(--sp-4);
  color: var(--c-white);
  overflow: hidden;
}

.p-extra-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-extra-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.p-extra-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgb(42 36 32 / 82%) 0%,
    rgb(42 36 32 / 55%) 45%,
    rgb(140 111 78 / 28%) 100%
  );
}

.p-extra-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--w-narrow);
}

.p-extra-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--f-gothic);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgb(255 255 255 / 94%);
  border: 1px solid rgb(255 255 255 / 42%);
  background: rgb(42 36 32 / 35%);
}

.p-extra-hero__badge span {
  font-family: var(--tz-serif);
  letter-spacing: 0.16em;
}

.p-extra-hero__title {
  margin-block-start: var(--sp-2);
  font-family: var(--f-mincho);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
  color: var(--c-white);
}

.p-extra-hero__lead {
  margin-block-start: 0.65rem;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 90%);
}

/* 注意書き */
.p-extra-note {
  padding-block: var(--sp-4);
}

.p-extra-note__box {
  padding: var(--sp-3);
  background: var(--extra-paper);
  border-inline-start: 3px solid var(--extra-accent);
}

.p-extra-note__title {
  font-family: var(--f-mincho);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-ink);
}

.p-extra-note__list {
  margin-block-start: var(--sp-2);
  padding-inline-start: 1.25em;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-body);
}

.p-extra-note__list li + li {
  margin-block-start: 0.35rem;
}

.p-extra-note__aside {
  margin-block-start: var(--sp-2);
  padding-block-start: var(--sp-2);
  border-block-start: 1px solid rgb(0 0 0 / 8%);
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-body);
}

.p-extra-note__more {
  margin-block-start: var(--sp-2);
}

.p-extra-note__more summary {
  font-size: 0.8125rem;
  color: var(--extra-accent-deep);
  cursor: pointer;
}

.p-extra-note__box p {
  margin-block-start: var(--sp-2);
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-body);
}

.p-extra-note__box p + p {
  margin-block-start: var(--sp-1);
}

.p-extra-note__box strong {
  font-weight: 500;
  color: var(--c-ink);
}

/* 物件ジャンプ */
.p-extra-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-block: var(--sp-3) var(--sp-4);
}

.p-extra-jump a {
  padding: 0.35rem 0.7rem;
  font-size: 0.8125rem;
  color: var(--extra-accent-deep);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  text-decoration: none;
}

.p-extra-jump a:hover {
  color: var(--c-white);
  background: var(--extra-accent-deep);
  border-color: var(--extra-accent-deep);
}

.p-extra-jump a.is-sold {
  color: rgb(0 0 0 / 55%);
}

.p-extra-jump a span,
.p-extra-sold {
  display: inline-block;
  margin-inline-start: 0.35rem;
  padding: 0.05rem 0.35rem;
  font-family: var(--f-gothic);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
  background: #6b5238;
}

.p-extra-jump a.is-sold span {
  background: #8a8174;
}

/* 物件カード */
.p-extra-property,
.p-extra-rest__item {
  scroll-margin-top: 5.5rem;
}

.p-extra-property {
  margin-block-start: var(--sp-4);
}

.p-extra-property__board {
  background: var(--c-white);
  border: 1px solid var(--c-line);
}

.p-extra-property__head {
  padding: 1.15rem 1.35rem 1rem;
  border-bottom: 1px solid var(--c-line);
}

.p-extra-property__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0;
  align-items: start;
}

.p-extra-property__visual {
  width: 100%;
  min-width: 0;
  background: #1c1916;
}

.p-extra-property__hero {
  margin: 0;
}

.p-extra-property__info {
  padding: 1.15rem 1.35rem 1.25rem;
  border-inline-start: 1px solid var(--c-line);
}

.p-extra-property__label {
  font-family: var(--tz-serif);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--extra-accent);
}

.p-extra-property__name {
  margin-block-start: 0.25rem;
  font-family: var(--f-mincho);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.p-extra-property__meta {
  margin-block-start: 0.25rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--c-mist);
}

.p-extra-property__note {
  margin-block-start: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgb(0 0 0 / 48%);
}

.p-extra-property__summary {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.75;
  color: var(--c-body);
}

.p-extra-property__link-wrap {
  margin-block-start: 0.65rem;
}

.p-extra-property__link {
  font-size: 0.8125rem;
  color: var(--extra-accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.p-extra-property__link:hover {
  color: var(--extra-accent);
}

.p-extra-facts {
  margin-block-start: 1rem;
  border-top: 1px solid var(--c-line);
}

.p-extra-facts__row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--c-line);
}

.p-extra-facts dt {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-ink);
}

.p-extra-facts dd {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--c-body);
}

.p-extra-property__photos {
  padding: var(--sp-3);
  border-top: 1px solid var(--c-line);
}

/* 出典タブ */
.p-extra-sources__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block-end: 0.85rem;
}

.p-extra-sources__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.p-extra-sources__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--c-mist);
  background: var(--extra-paper);
  border: 1px solid var(--c-line);
  cursor: pointer;
}

.p-extra-sources__tab span {
  font-family: var(--tz-serif);
  font-size: 0.75rem;
  color: rgb(0 0 0 / 45%);
}

.p-extra-sources__tab.is-disabled {
  color: rgb(0 0 0 / 38%);
  background: rgb(0 0 0 / 4%);
  border-color: rgb(0 0 0 / 10%);
  cursor: not-allowed;
  opacity: 0.72;
}

.p-extra-sources:has(.p-extra-sources__radio[data-i="0"]:checked) .p-extra-sources__tab[data-i="0"],
.p-extra-sources:has(.p-extra-sources__radio[data-i="1"]:checked) .p-extra-sources__tab[data-i="1"],
.p-extra-sources:has(.p-extra-sources__radio[data-i="2"]:checked) .p-extra-sources__tab[data-i="2"],
.p-extra-sources:has(.p-extra-sources__radio[data-i="3"]:checked) .p-extra-sources__tab[data-i="3"] {
  color: var(--c-white);
  background: var(--extra-accent-deep);
  border-color: var(--extra-accent-deep);
}

.p-extra-sources:has(.p-extra-sources__radio[data-i="0"]:checked) .p-extra-sources__tab[data-i="0"] span,
.p-extra-sources:has(.p-extra-sources__radio[data-i="1"]:checked) .p-extra-sources__tab[data-i="1"] span,
.p-extra-sources:has(.p-extra-sources__radio[data-i="2"]:checked) .p-extra-sources__tab[data-i="2"] span,
.p-extra-sources:has(.p-extra-sources__radio[data-i="3"]:checked) .p-extra-sources__tab[data-i="3"] span {
  color: rgb(255 255 255 / 78%);
}

.p-extra-sources__panel {
  display: none;
}

.p-extra-sources:has(.p-extra-sources__radio[data-i="0"]:checked) .p-extra-sources__panel[data-i="0"],
.p-extra-sources:has(.p-extra-sources__radio[data-i="1"]:checked) .p-extra-sources__panel[data-i="1"],
.p-extra-sources:has(.p-extra-sources__radio[data-i="2"]:checked) .p-extra-sources__panel[data-i="2"],
.p-extra-sources:has(.p-extra-sources__radio[data-i="3"]:checked) .p-extra-sources__panel[data-i="3"] {
  display: block;
}

.p-extra-sources__title {
  margin-block-end: 0.65rem;
  font-family: var(--f-mincho);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-ink);
}

.p-extra-group__note {
  margin-block: -0.2rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--c-mist);
}

.p-extra-sources__credit {
  margin-block-start: 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgb(0 0 0 / 42%);
}

/* 写真 */
.p-extra,
.p-extra-property__board,
.p-extra-property__intro,
.p-extra-property__info,
.p-extra-gallery,
.p-extra-facts dd {
  min-width: 0;
}

.p-extra-facts dd {
  overflow-wrap: anywhere;
}

.p-extra-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.p-extra-gallery__item {
  margin: 0;
}

.p-extra-shot {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 75%;
  overflow: hidden;
  color: inherit;
  background: #111;
  border: 0;
  line-height: 0;
  cursor: zoom-in;
}

.p-extra-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.p-extra-shot--plan img {
  object-fit: contain;
  background: var(--extra-paper);
}

.p-extra-shot--hero {
  height: auto;
  padding-bottom: 0;
  aspect-ratio: 3 / 2;
}

.p-extra-shot--hero img {
  object-position: center 30%;
}

.p-extra-shot__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.1rem 0.45rem 0.35rem;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: #fff;
  text-align: left;
  background: linear-gradient(transparent, rgb(0 0 0 / 62%));
}

.p-extra-shot--hero .p-extra-shot__cap {
  padding: 1.6rem 0.75rem 0.55rem;
  font-size: 0.8125rem;
}

.p-extra-gallery__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  padding: var(--sp-3);
  text-align: center;
  background: var(--c-white);
}

.p-extra-gallery__placeholder-label {
  font-family: var(--f-mincho);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-mist);
}

.p-extra-gallery__placeholder-note {
  font-size: var(--fs-small);
  color: var(--c-mist);
}

/* 写真なし物件 */
.p-extra-rest {
  margin-block-start: var(--sp-5);
}

.p-extra-rest__title {
  margin-block-end: var(--sp-2);
  font-family: var(--f-mincho);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-ink);
}

.p-extra-rest__lead {
  margin-block: -0.35rem var(--sp-2);
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-mist);
}

.p-extra-rest--sold {
  margin-block-start: var(--sp-4);
}

.p-extra-rest__item.is-sold {
  background: #f7f4ee;
}

.p-extra-map {
  border-top: 1px solid var(--c-line);
}

.p-extra-map iframe {
  display: block;
  width: 100%;
  min-height: 20rem;
  height: 20rem;
  border: 0;
  background: #eeece6;
}

.p-extra-map__link {
  margin: 0;
  padding: 0.55rem 1.35rem;
  font-size: var(--fs-small);
  border-top: 1px solid var(--c-line);
}

.p-extra-map__link a {
  color: inherit;
}

.p-extra-rest__item .p-extra-map {
  margin-block-start: var(--sp-2);
  border: 1px solid var(--c-line);
}

.p-extra-rest__item .p-extra-map iframe {
  height: 14rem;
}

.p-extra-rest__item .p-extra-map__link {
  padding: 0.45rem 0.75rem;
}

.p-extra-rest__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-extra-rest__item {
  padding: var(--sp-3);
  background: var(--c-white);
  border: 1px solid var(--c-line);
}

.p-extra-rest__name {
  margin-block-start: 0.2rem;
  font-family: var(--f-mincho);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-ink);
}

.p-extra-rest__summary {
  margin-block-start: 0.65rem;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-body);
}

.p-extra-facts--compact {
  margin-block-start: 0.75rem;
}

.p-extra-facts--compact .p-extra-facts__row {
  padding-block: 0.4rem;
}

/* お問合せ */
.p-extra-contact {
  background: var(--extra-paper);
}

.p-extra-contact__lead {
  margin-block-start: var(--sp-2);
  font-size: var(--fs-body);
  line-height: var(--line-h);
  color: var(--c-ink);
}

.p-extra-contact__sub {
  margin-block-start: var(--sp-2);
  font-size: var(--fs-small);
  line-height: var(--line-h);
  color: var(--c-body);
}

.p-extra-contact__lead a,
.p-extra-contact__sub a {
  color: var(--extra-accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.p-extra-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-block-start: var(--sp-3);
}

.p-extra-contact__home {
  margin-inline-start: auto;
}

/* ライトボックス */
.p-extra-lb {
  width: min(72rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  height: fit-content;
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: hidden;
  background: #111;
  border: 0;
}

.p-extra-lb::backdrop {
  background: rgb(18 16 14 / 82%);
}

.p-extra-lb__frame {
  position: relative;
  padding: 2.25rem 2.75rem 1.1rem;
}

.p-extra-lb__frame img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  background: #111;
}

.p-extra-lb__cap,
.p-extra-lb__credit {
  margin-block-start: 0.4rem;
  color: rgb(255 255 255 / 82%);
}

.p-extra-lb__cap {
  font-size: 0.875rem;
}

.p-extra-lb__credit {
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 48%);
}

.p-extra-lb__close,
.p-extra-lb__nav {
  position: absolute;
  color: #fff;
  background: rgb(0 0 0 / 35%);
  border: 0;
  cursor: pointer;
}

.p-extra-lb__close {
  top: 0.4rem;
  right: 0.4rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
}

.p-extra-lb__nav {
  top: 50%;
  width: 2.25rem;
  height: 2.75rem;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.p-extra-lb__nav--prev {
  left: 0.25rem;
}

.p-extra-lb__nav--next {
  right: 0.25rem;
}

@media (max-width: 960px) {
  .p-extra-property__intro {
    grid-template-columns: 1fr;
  }

  .p-extra-property__info {
    border-inline-start: 0;
    border-top: 1px solid var(--c-line);
  }

  .p-extra-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .p-extra-hero {
    min-height: 16rem;
    padding-block: calc(4.25rem + var(--sp-3)) var(--sp-3);
  }

  .p-extra-property__info,
  .p-extra-property__photos,
  .p-extra-note__box {
    padding: var(--sp-2);
  }

  .p-extra-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-extra-facts__row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .p-extra-contact__home {
    margin-inline-start: 0;
    width: 100%;
  }

  .p-extra-lb__frame {
    padding: 2rem 1rem 0.85rem;
  }

  .p-extra-lb__nav {
    top: auto;
    bottom: 0.35rem;
    transform: none;
  }
}
