/* ============================================================
   minerva不動産  TOP Pattern B — 格式・オークションハウス調
   dark navy × gold × red / serif headings
============================================================ */
:root {
  --red: #b5121f;
  --red-bright: #d81b2a;
  --gold: #c9a55a;
  --gold-pale: #e6d3ab;
  --navy: #0d1626;
  --navy-2: #131f35;
  --navy-3: #1a2942;
  --ink: #e8e4da;
  --muted: #9aa3b5;
  --white: #ffffff;
  --ff-serif: "Shippori Mincho B1", "Noto Serif JP", serif;
  --ff-body: "Noto Sans JP", sans-serif;
  --ff-en: "Cormorant Garamond", "Jost", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--navy);
  line-height: 2;
  font-size: 15.5px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.c-gold { color: var(--gold); }
.c-red { color: var(--red-bright); }

/* ---------- section head ---------- */
.sec-head { text-align: center; margin-bottom: 54px; }
.sec-head__en {
  font-family: var(--ff-en);
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.sec-head__ja {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(25px, 3.6vw, 36px);
  line-height: 1.7;
  color: #fff;
}
.sec-head__ja::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 22px auto 0;
}
.sec-head__lead { margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-serif);
  font-weight: 600;
  padding: 15px 38px;
  border: 1px solid var(--gold);
  color: var(--gold-pale);
  background: transparent;
  font-size: 15px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: .35s;
}
.btn:hover { background: var(--gold); color: var(--navy); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-bright); border-color: var(--red-bright); color: #fff; }
.btn--lg { padding: 18px 46px; font-size: 16px; }
.btn__arrow { font-family: var(--ff-body); }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,22,38,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,165,90,.25);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 24px;
}
.header__logo { display: flex; align-items: center; gap: 12px; }
.header__logo img { height: 50px; width: auto; }
.header__logoname {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  letter-spacing: .08em;
}
.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 2px; }
.gnav__list > li > a {
  font-family: var(--ff-serif);
  font-size: 14.5px;
  letter-spacing: .08em;
  padding: 10px 16px;
  color: var(--ink);
  transition: .25s;
  border-bottom: 1px solid transparent;
}
.gnav__list > li > a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.header__cta {
  background: var(--red);
  color: #fff;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  padding: 12px 24px;
  transition: .3s;
  white-space: nowrap;
}
.header__cta:hover { background: var(--red-bright); }
.menu-btn { display: none; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
  padding: 140px 24px 90px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,22,38,.82) 0%, rgba(13,22,38,.62) 45%, var(--navy) 100%);
}
.hero__frame {
  border: 1px solid rgba(201,165,90,.55);
  padding: clamp(34px, 6vw, 70px) clamp(22px, 7vw, 90px);
  position: relative;
  max-width: 880px;
}
.hero__frame::before, .hero__frame::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--gold);
  border-style: solid;
}
.hero__frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero__frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero__en {
  font-family: var(--ff-en);
  letter-spacing: .4em;
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.8;
  color: #fff;
}
.hero__title em { font-style: normal; color: var(--gold-pale); }
.hero__lead { margin-top: 26px; font-size: 15px; color: var(--ink); }
.hero__btns { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-en);
  letter-spacing: .3em;
  font-size: 11px;
  color: var(--gold);
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 10px auto 0;
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); opacity: 0; } }

/* ============================================================
   CONCEPT MOVIE
============================================================ */
.movie {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,165,90,.1), transparent 55%),
    var(--navy-2);
}
.movie__frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(201,165,90,.5);
  padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.movie__frame::before, .movie__frame::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 2;
}
.movie__frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.movie__frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.movie__video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
}
.movie__sound {
  position: absolute;
  right: 24px; bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,22,38,.78);
  border: 1px solid var(--gold);
  color: var(--gold-pale);
  font-family: var(--ff-serif);
  font-size: 13px;
  letter-spacing: .06em;
  padding: 8px 18px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: .3s;
}
.movie__sound:hover { background: var(--gold); color: var(--navy); }
.movie__sound-ico { font-size: 14px; }
.movie.is-unmuted .movie__sound-txt::after { content: "（オン）"; }

/* ============================================================
   CONCEPT
============================================================ */
.concept { padding: 120px 0; background: var(--navy); }
.concept__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.concept__text .sec-head { text-align: left; margin-bottom: 30px; }
.concept__text .sec-head__ja::after { margin-left: 0; }
.concept__text p { color: var(--muted); font-size: 14.5px; }
.concept__text p + p { margin-top: 14px; }
.concept__text .btn { margin-top: 34px; }
.concept__catch {
  font-family: var(--ff-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  color: #fff !important;
  line-height: 2;
  margin-bottom: 20px;
}
.concept__img { position: relative; }
.concept__img img:first-child {
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(.85);
  border: 1px solid rgba(201,165,90,.4);
  padding: 10px;
}
.concept__owl {
  position: absolute;
  right: -20px; bottom: -34px;
  width: 120px;
  filter:
    drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
    drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
    drop-shadow(0 8px 18px rgba(0,0,0,.5));
}

/* ============================================================
   WAYS
============================================================ */
.ways { padding: 120px 0; background: var(--navy-2); }
.ways__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,165,90,.3);
  border: 1px solid rgba(201,165,90,.3);
}
.way-card {
  background: var(--navy-2);
  padding: 0 0 34px;
  text-align: center;
  transition: .35s;
  position: relative;
}
.way-card:hover { background: var(--navy-3); }
.way-card figure { overflow: hidden; margin-bottom: 26px; }
.way-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: .5s; filter: saturate(.9); }
.way-card:hover img { transform: scale(1.04); }
.way-card__no {
  font-family: var(--ff-en);
  color: var(--gold);
  letter-spacing: .3em;
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}
.way-card h3 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 21px;
  color: #fff;
  margin-bottom: 10px;
}
.way-card p { font-size: 13.5px; color: var(--muted); padding: 0 20px; }
.way-card--feature h3 { color: var(--gold-pale); }
.way-card--feature::before {
  content: "当社自慢";
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  letter-spacing: .1em;
}
.ways .sec-more { text-align: center; margin-top: 46px; }

/* ============================================================
   AUCTION APP
============================================================ */
.auction {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,165,90,.12), transparent 55%),
    var(--navy);
}
.app-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-showcase__main { position: relative; }
.app-showcase__main img {
  border: 1px solid rgba(201,165,90,.5);
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.app-showcase__body h3 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.9;
  color: #fff;
  margin-bottom: 18px;
}
.app-showcase__body > p { color: var(--muted); font-size: 14.5px; }
.app-points { margin-top: 26px; display: grid; gap: 0; }
.app-points li {
  border-top: 1px solid rgba(201,165,90,.25);
  padding: 13px 4px;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.app-points li:last-child { border-bottom: 1px solid rgba(201,165,90,.25); }
.app-points li::before { content: "―"; color: var(--gold); flex: none; }
.app-showcase__body .btn { margin-top: 30px; }

/* ============================================================
   PROPERTIES
============================================================ */
.works { padding: 120px 0; background: var(--navy-2); }
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work-card { background: var(--navy-3); transition: .35s; border: 1px solid transparent; }
.work-card:hover { border-color: rgba(201,165,90,.45); transform: translateY(-4px); }
.work-card figure { overflow: hidden; }
.work-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: .5s; filter: saturate(.9); }
.work-card:hover img { transform: scale(1.05); }
.work-card__body { padding: 20px 22px 24px; }
.work-card__body h3 { font-family: var(--ff-serif); font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 12px;
  border: 1px solid var(--muted);
  color: var(--muted);
  margin-right: 6px;
  letter-spacing: .08em;
}
.tag--red { border-color: var(--red-bright); color: var(--red-bright); }
.sec-more { text-align: center; margin-top: 48px; }

/* ============================================================
   VOICE
============================================================ */
.voice { padding: 120px 0; background: var(--navy); }
.voice__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice-card {
  border: 1px solid rgba(201,165,90,.3);
  padding: 34px 28px;
  position: relative;
  background: var(--navy-2);
}
.voice-card::before {
  content: "“";
  font-family: var(--ff-en);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  position: absolute;
  top: 14px; left: 20px;
  opacity: .5;
}
.voice-card__catch {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16.5px;
  color: #fff;
  line-height: 1.9;
  margin: 18px 0 14px;
}
.voice-card__text { font-size: 13.5px; color: var(--muted); }
.voice-card footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,165,90,.25);
  font-size: 12.5px;
  color: var(--gold-pale);
  letter-spacing: .05em;
}

/* ============================================================
   COMPANY digest
============================================================ */
.company { padding: 120px 0; background: var(--navy-2); }
.company__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.company__grid figure img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(201,165,90,.4);
  padding: 10px;
  filter: saturate(.85);
}
.company__text .sec-head { text-align: left; margin-bottom: 26px; }
.company__text .sec-head__ja::after { margin-left: 0; }
.company__text p { color: var(--muted); font-size: 14.5px; }
.company__sign { margin-top: 18px; color: var(--ink) !important; }
.company__sign strong { font-family: var(--ff-serif); font-size: 18px; color: #fff; }
.company__text .btn { margin-top: 30px; }

/* ============================================================
   FOOT CTA / FOOTER
============================================================ */
.foot-cta {
  padding: 110px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(181,18,31,.35), transparent 60%),
    var(--navy);
  border-top: 1px solid rgba(201,165,90,.3);
}
.foot-cta h2 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.9;
  color: #fff;
  margin-bottom: 14px;
}
.foot-cta p { color: var(--muted); margin-bottom: 34px; }
.foot-cta__btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.foot-cta__tel {
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .04em;
  color: var(--gold-pale);
  display: block;
  margin-bottom: 26px;
}

.footer { background: #0a1220; padding: 60px 0 0; font-size: 13.5px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; }
.footer__logo { height: 82px; width: auto; }
.footer__name { font-family: var(--ff-serif); font-size: 15px; color: #fff; margin: 14px 0 8px; }
.footer__nav { display: flex; gap: 60px; }
.footer__nav a { display: block; padding: 6px 0; transition: .2s; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy {
  text-align: center;
  padding: 26px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(201,165,90,.2);
  font-size: 12px;
  letter-spacing: .1em;
}

/* ---------- design switcher ---------- */
.dswitch {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 200;
  background: rgba(10,18,32,.92);
  border: 1px solid rgba(201,165,90,.5);
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.dswitch a {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--muted);
  color: var(--ink);
  font-weight: 700;
  transition: .2s;
}
.dswitch a:hover { border-color: var(--gold); color: var(--gold); }
.dswitch a.is-cur { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- reveal ---------- */
.js-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js-reveal.is-shown { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .menu-btn {
    display: grid;
    gap: 6px;
    place-content: center;
    width: 48px; height: 48px;
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(201,165,90,.5);
    cursor: pointer;
  }
  .menu-btn span { width: 22px; height: 1.5px; background: var(--gold); transition: .3s; }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .gnav.is-open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-2);
    border-bottom: 1px solid rgba(201,165,90,.4);
    padding: 14px 24px 20px;
  }
  .gnav.is-open .gnav__list { flex-direction: column; }
  .gnav.is-open .gnav__list > li > a { display: block; padding: 12px 4px; }
  .concept__grid, .app-showcase, .company__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .header__cta { display: none; }
  .hero { min-height: 78vh; }
  .ways__cards { grid-template-columns: 1fr; }
  .works__grid, .voice__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__nav { gap: 30px; }
}

/* smartphone-only line break */
.sp { display: none; }
@media (max-width: 760px) { .sp { display: inline; } }

/* ============================================================
   SUB PAGES (B tone)
============================================================ */
:root {
  --ff-head: "Shippori Mincho B1", "Noto Serif JP", serif;
  --red-pale: rgba(216,27,42,.14);
  --red-dark: #e6d3ab;
  --cream-deep: rgba(201,165,90,.3);
  --gold-line: rgba(201,165,90,.3);
}

/* ---- page hero ---- */
.page-hero {
  padding: 175px 0 70px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,165,90,.14), transparent 55%), var(--navy);
}
.page-hero__en {
  font-family: var(--ff-en);
  letter-spacing: .38em;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.page-hero__title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.7;
  color: #fff;
}
.page-hero__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 22px auto 0;
}
.page-hero__lead { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.breadcrumb { margin-top: 24px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---- contact band ---- */
.contact-band {
  padding: 110px 0;
  background: var(--navy-2);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.sec-head--white .sec-head__en { color: var(--gold); }
.sec-head--white .sec-head__lead { color: var(--muted); }
.contact-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-band__item {
  border: 1px solid var(--gold-line);
  background: var(--navy-3);
  padding: 34px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.contact-band__label { font-family: var(--ff-serif); color: #fff; font-size: 15px; }
.contact-band__label em { font-style: normal; color: var(--gold-pale); font-size: 19px; border-bottom: 1px solid var(--gold); }
.contact-band__tel { font-family: "Jost", "Noto Sans JP", sans-serif; font-weight: 500; font-size: 32px; letter-spacing: .04em; color: #fff; }
.contact-band__note { font-size: 12.5px; color: var(--muted); }
.btn--white { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--white:hover { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--navy); }
.btn--navy { background: var(--red); border-color: var(--red); color: #fff; }
.btn--navy:hover { background: var(--red-bright); border-color: var(--red-bright); color: #fff; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps--seven { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--navy-3); border: 1px solid rgba(201,165,90,.25); padding: 28px 24px; }
.auction .step { background: rgba(255,255,255,.04); }
.step__no {
  font-family: var(--ff-en);
  color: var(--gold);
  letter-spacing: .22em;
  font-size: 12.5px;
  display: inline-block;
  margin-bottom: 12px;
}
.step h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 16.5px; color: #fff; margin-bottom: 8px; line-height: 1.7; }
.step p { font-size: 13.5px; color: var(--muted); }
.buy { padding: 120px 0; background: var(--navy-2); }
.buy .step { background: var(--navy-3); }

/* ---- auction target ---- */
.auction__target {
  margin-top: 48px;
  border: 1px solid rgba(201,165,90,.45);
  background: var(--navy-2);
  padding: 36px 34px;
  text-align: center;
}
.auction__target h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 19px; color: var(--gold-pale); margin-bottom: 16px; }
.auction__target ul { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.auction__target li { border: 1px solid var(--gold); color: var(--gold-pale); padding: 6px 22px; font-size: 14px; letter-spacing: .05em; }
.auction__target p { color: var(--muted); }

/* ---- way details ---- */
.way-detail {
  display: grid;
  grid-template-columns: 56px 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  margin-top: 90px;
}
.way-detail--rev { grid-template-columns: 56px 1.05fr 1fr; }
.way-detail--rev .way-detail__body { order: 3; }
.way-detail--rev .way-detail__img { order: 2; }
.way-detail__label {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--ff-serif);
  font-size: 12px;
  color: #4c5871;
  border-left: 1px solid var(--gold-line);
  padding-left: 14px;
  height: 100%;
  justify-content: start;
  letter-spacing: .1em;
}
#way-chukai .way-detail__label span:nth-child(1),
#way-auction .way-detail__label span:nth-child(2),
#way-kaitori .way-detail__label span:nth-child(3) { color: var(--gold); }
.way-detail__en { font-family: var(--ff-en); letter-spacing: .3em; color: var(--gold); font-size: 13px; }
.way-detail__body h3 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(23px, 2.8vw, 30px);
  color: #fff;
  margin: 10px 0 14px;
}
.badge-osusume {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 14px;
  vertical-align: middle;
  margin-left: 10px;
}
.way-detail__body > p { color: var(--muted); font-size: 14.5px; }
.way-detail__catch {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--gold-pale);
  line-height: 1.9;
  margin-bottom: 14px;
}
.way-detail__body .btn { margin-top: 26px; }
.way-detail__img img {
  border: 1px solid rgba(201,165,90,.4);
  padding: 10px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  filter: saturate(.9);
}

/* ---- compare table ---- */
.compare { margin-top: 70px; }
.compare .sec-head { margin-bottom: 34px; }
.compare__scroll { overflow-x: auto; border: 1px solid rgba(201,165,90,.35); }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--navy-2); font-size: 14px; }
.compare th, .compare td {
  padding: 16px 18px;
  border: 1px solid rgba(201,165,90,.18);
  text-align: center;
  vertical-align: middle;
  color: var(--ink);
}
.compare thead th { font-family: var(--ff-serif); font-weight: 600; font-size: 16px; background: var(--navy-3); color: #fff; }
.compare thead th.is-feature { background: var(--red); font-size: 17px; }
.compare tbody th { background: rgba(255,255,255,.03); font-family: var(--ff-serif); color: var(--gold-pale); white-space: nowrap; }
.compare td.is-feature { background: rgba(216,27,42,.13); color: #fff; }
.mk { display: block; font-size: 22px; line-height: 1.2; }
.mk--good { color: var(--gold); }
.mk--ok { color: var(--muted); }
.compare__note { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: right; }

/* ---- app gallery (auction page) ---- */
.app-gallery {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1.3fr .8fr;
  gap: 22px;
  align-items: start;
}
.app-gallery figure { border: 1px solid rgba(201,165,90,.35); background: var(--navy-3); }
.app-gallery img { width: 100%; padding: 8px 8px 0; }
.app-gallery figcaption {
  font-size: 12.5px;
  color: var(--gold-pale);
  text-align: center;
  padding: 12px 10px;
  letter-spacing: .04em;
}
.app-note {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-pale);
  padding: 6px 22px;
  font-size: 14px;
  margin-bottom: 26px;
}

/* ---- works filter (properties/buy) ---- */
.works__filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-bottom: 42px; }
.works__filter-label { font-family: var(--ff-serif); color: var(--gold); margin-right: 8px; }
.works__filter button {
  font-family: var(--ff-body);
  font-size: 13.5px;
  padding: 8px 20px;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: .25s;
  letter-spacing: .05em;
}
.works__filter button:hover { border-color: var(--gold); color: var(--gold); }
.works__filter button.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.works__empty { text-align: center; padding: 30px 0; color: var(--gold-pale); }

/* ---- area search ---- */
.area { padding: 120px 0; background: var(--navy); }
.area__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.area-card {
  position: relative;
  border: 1px solid rgba(201,165,90,.35);
  background: #fff;
  aspect-ratio: 3/4;
  overflow: hidden;
  transition: .3s;
}
.area-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.area-card img { width: 100%; height: 100%; object-fit: contain; padding: 8% 6% 20%; transition: .4s; }
.area-card span {
  position: absolute;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-serif);
  font-size: 15px;
  padding: 5px 20px;
  white-space: nowrap;
}
.area-card--other, .area-card--all { display: grid; place-items: center; aspect-ratio: auto; }
.area-card--other { background: var(--navy-3); }
.area-card--all { background: var(--red); grid-column: span 4; min-height: 90px; }
.area-card--other span, .area-card--all span { position: static; transform: none; background: transparent; font-size: 17px; }

/* ---- company page ---- */
.company__message {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.company__catch { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); color: #fff; margin: 18px 0 16px; }
.company__msg-text p { color: var(--muted); font-size: 14.5px; }
.company__msg-text p + p { margin-top: 14px; }
.company__msg-text .btn { margin-top: 26px; }
.company__msg-img img { border: 1px solid rgba(201,165,90,.4); padding: 10px; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.85); }
.company__msg-img--rep { max-width: 380px; margin: 0 auto; }
.company__msg-img--rep img { aspect-ratio: 3/4; object-fit: cover; object-position: top center; filter: none; }
.company__msg-img--rep figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--ff-serif);
  font-size: 16px;
  color: var(--gold-pale);
  letter-spacing: .08em;
}
.company__overview { max-width: 860px; margin: 0 auto; }
.company__overview > .sec-head__en, .company__overview > .sec-head__ja { display: block; text-align: center; }
.company__overview > .sec-head__ja { margin-bottom: 36px; }
.company__overview > .sec-head__ja::after {
  content: "";
  display: block;
  width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 22px auto 0;
}
.company__table { border: 1px solid var(--gold-line); background: var(--navy-2); text-align: left; }
.company__table > div { display: grid; grid-template-columns: 180px 1fr; }
.company__table > div + div { border-top: 1px solid rgba(201,165,90,.2); }
.company__table dt { background: var(--navy-3); font-family: var(--ff-serif); color: var(--gold-pale); padding: 16px 22px; }
.company__table dd { padding: 16px 24px; color: var(--ink); }

/* ---- news ---- */
.news { padding: 110px 0; background: var(--navy-2); }
.news__list { max-width: 860px; margin: 0 auto; }
.news__list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 10px;
  border-bottom: 1px solid rgba(201,165,90,.2);
  transition: .25s;
  flex-wrap: wrap;
}
.news__list a:hover { background: rgba(255,255,255,.04); }
.news__list time { font-family: var(--ff-en); color: var(--gold); letter-spacing: .05em; }
.news__cat { font-size: 11.5px; border: 1px solid var(--muted); color: var(--muted); padding: 1px 12px; }
.news__title { color: var(--ink); }

/* ---- contact form ---- */
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin: 0 auto 60px; }
.contact-info__item { border: 1px solid var(--gold-line); background: var(--navy-3); padding: 26px 22px; text-align: center; }
.contact-info__label { font-family: var(--ff-serif); color: #fff; display: block; margin-bottom: 6px; }
.contact-info__item .contact-band__tel { color: var(--gold-pale); display: block; font-size: 30px; }
.contact-info__item p { color: var(--muted); }
.cform { max-width: 760px; margin: 0 auto; }
.cform__row { margin-bottom: 26px; }
.cform__label { display: flex; align-items: center; gap: 10px; font-family: var(--ff-serif); font-size: 15px; color: #fff; margin-bottom: 10px; }
.cform__req, .cform__opt { font-size: 11px; font-weight: 700; font-family: var(--ff-body); padding: 1px 10px; color: #fff; }
.cform__req { background: var(--red); }
.cform__opt { background: #46506a; }
.cform input[type="text"],
.cform input[type="tel"],
.cform input[type="email"],
.cform select,
.cform textarea {
  width: 100%;
  font: inherit;
  padding: 14px 16px;
  background: var(--navy-3);
  border: 1px solid rgba(201,165,90,.35);
  color: var(--ink);
  transition: border-color .25s;
}
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--gold); }
.cform input::placeholder, .cform textarea::placeholder { color: #566180; }
.cform textarea { min-height: 170px; resize: vertical; }
.cform input[type="checkbox"] { accent-color: var(--gold); }
.cform__agree { text-align: center; font-size: 14px; margin: 30px 0 20px; color: var(--ink); }
.cform__agree a { color: var(--gold); text-decoration: underline; }
.cform__submit { text-align: center; }
.cform__submit .btn { min-width: 300px; justify-content: center; font-size: 16px; }
.cform__note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.cform__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.cthanks { max-width: 680px; margin: 0 auto; border: 1px solid var(--gold); background: var(--navy-2); padding: 44px 34px; text-align: center; }
.cthanks h2 { font-family: var(--ff-serif); font-weight: 600; font-size: 24px; color: var(--gold-pale); margin-bottom: 14px; }
.cthanks p { color: var(--ink); }

/* ---- privacy policy ---- */
.policy p, .policy li { color: var(--muted); }
.policy h2 { color: #fff; font-family: var(--ff-serif) !important; border-left-color: var(--red-bright) !important; }
.policy__date { color: var(--muted) !important; }

/* ---- side cta ---- */
.side-cta { position: fixed; right: 0; top: 40%; z-index: 90; display: grid; gap: 10px; }
.side-cta a {
  writing-mode: vertical-rl;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-serif);
  font-size: 13.5px;
  letter-spacing: .1em;
  padding: 20px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.25);
  border-right: none;
  transition: .25s;
}
.side-cta a:hover { padding-right: 18px; }
.side-cta .side-cta__form { background: var(--navy-2); color: var(--gold-pale); border-color: var(--gold); }
.side-cta img {
  width: 30px;
  filter:
    drop-shadow(1.2px 0 0 #fff) drop-shadow(-1.2px 0 0 #fff)
    drop-shadow(0 1.2px 0 #fff) drop-shadow(0 -1.2px 0 #fff);
}

/* ---- sub pages responsive ---- */
@media (max-width: 1080px) {
  .way-detail, .way-detail--rev { grid-template-columns: 1fr; gap: 26px; }
  .way-detail__label { display: none; }
  .way-detail--rev .way-detail__body { order: 0; }
  .way-detail--rev .way-detail__img { order: 1; }
  .area__grid { grid-template-columns: repeat(3, 1fr); }
  .area-card--all { grid-column: span 2; }
  .company__message { grid-template-columns: 1fr; gap: 36px; }
  .steps--seven { grid-template-columns: repeat(2, 1fr); }
  .app-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 135px 0 50px; }
  .page-hero__title { font-size: 25px; }
  .steps, .steps--seven { grid-template-columns: 1fr; }
  .contact-band__grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .area__grid { grid-template-columns: repeat(2, 1fr); }
  .area-card--all { grid-column: span 2; }
  .company__table > div { grid-template-columns: 1fr; }
  .company__table dt { padding: 10px 22px 8px; }
  .company__table dd { padding: 10px 22px 14px; }
  .app-gallery { grid-template-columns: 1fr; }
  .side-cta { top: auto; bottom: 0; left: 0; right: 0; grid-template-columns: 1fr 1fr; gap: 0; }
  .side-cta a { writing-mode: horizontal-tb; flex-direction: row; justify-content: center; padding: 13px 8px; gap: 8px; border: none; }
  .side-cta a:hover { padding-right: 8px; }
  .side-cta .side-cta__form { border: 1px solid var(--gold); }
  .side-cta img { width: 22px; }
  .footer { padding-bottom: 54px; }
}
