/* ========================================
   Deen不動産 - Monochrome & Gold
   Phase 2: Design applied (全ページ統一)
   ======================================== */

:root {
  --bg: #FFFFFF;
  --bg-secondary: #F5F5F5;
  --text: #222222;
  --text-muted: #7A7A7A;
  --navy: #1F1F1F;        /* メイン（旧: 紺）— クラス名互換のため変数名は維持 */
  --navy-dark: #000000;   /* メイン濃色（hover / footer） */
  --gold: #C9A96E;
  --gold-dark: #A8854B;
  --border: #E0E0E0;
  /* 補助トークン */
  --gray-100: #F5F5F5;
  --gray-300: #E0E0E0;
  --gray-600: #7A7A7A;
  --gray-900: #1F1F1F;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  position: relative;
}

/* English eyebrow label above section titles */
.section--white .container > .section-title::before,
.section--gray .container > .section-title::before {
  content: attr(data-en);
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: "Noto Serif JP", serif;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 56px;
  position: relative;
  padding-bottom: 24px;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section--white {
  background: var(--bg);
  padding: 80px 0;
}

.section--gray {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.placeholder {
  background: linear-gradient(135deg, #EEEEEE 0%, #E0E0E0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A94A5;
  font-size: 0.8rem;
  border-radius: 2px;
  overflow: hidden;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.1em;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  letter-spacing: 0.08em;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 54, 92, 0.18);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn--secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}

.btn--white:hover {
  background: var(--gold);
  color: #fff;
}

.btn--block {
  display: block;
  width: 100%;
}

.btn--small {
  padding: 9px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* ========================================
   HEADER (transparent at top, dark translucent on scroll)
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
  transition: background 0.35s ease;
}

/* NOTE: do NOT apply backdrop-filter / filter / transform on .header here.
   Those properties turn .header into the containing block for fixed
   descendants, which would clip .mobile-menu to header-bar height. */
.header.is-scrolled {
  background: rgba(31, 31, 31, 0.88);
}

.header__inner {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 16px 28px;
}

.header__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

/* Hide old desktop nav + CTA groups (kept in HTML-wise only as legacy; we drop from markup) */
.header__nav,
.header__cta { display: none !important; }

/* Hamburger toggle input (hidden visually, used for CSS state) */
.hamburger-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger icon (always visible, white lines) */
.hamburger-label {
  position: relative;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  gap: 6px;
}

.hamburger-label span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger morph to X when toggle is checked */
.hamburger-toggle:checked ~ .header__inner .hamburger-label span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger-toggle:checked ~ .header__inner .hamburger-label span:nth-child(2) {
  opacity: 0;
}
.hamburger-toggle:checked ~ .header__inner .hamburger-label span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Click-to-close backdrop (transparent overlay behind the drawer) */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 85;
  cursor: pointer;
}
.hamburger-toggle:checked ~ .menu-backdrop {
  opacity: 1;
  visibility: visible;
}

/* Right-side drawer menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 88vw);
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  z-index: 90;
  overflow-y: auto;
  padding: 100px 32px 48px;
}

.hamburger-toggle:checked ~ .mobile-menu {
  transform: translateX(0);
  visibility: visible;
}

/* Lock page scroll while drawer is open */
html:has(.hamburger-toggle:checked) {
  overflow: hidden;
}

.mobile-menu__inner {
  width: 100%;
  color: #fff;
}

.mobile-menu__section {
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.mobile-menu__heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mobile-menu__nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__nav a {
  display: block;
  padding: 18px 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.mobile-menu__nav a:hover { color: var(--gold); }

.mobile-menu__tel {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.mobile-menu__hours {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========================================
   HERO (full-screen slideshow)
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  width: 100%;
  height: 100vh;
  min-height: 560px;
  max-height: 960px;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: hero-fade 21s infinite linear;
  /* Ken Burns: フェード + 途切れずゆっくりズームイン */
  transform: scale(1);
}

.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 7s; }
.hero__slide:nth-child(3) { animation-delay: 14s; }

@keyframes hero-fade {
  0%   { opacity: 0; transform: scale(1); }
  4%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.2); }
}

/* Dark gradient mask for text readability */
.hero__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(15, 34, 55, 0.15) 0%,
      rgba(15, 34, 55, 0.05) 40%,
      rgba(15, 34, 55, 0.55) 85%,
      rgba(15, 34, 55, 0.75) 100%);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  z-index: 3;
  bottom: 56px;
  left: 0;
  right: 0;
  padding: 0 28px;
  color: #fff;
  text-align: center;
}

.hero__catch {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero__title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-top: 20px;
}

.hero__sub {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 300;
  line-height: 1.8;
}

/* ========================================
   PAGE HEADER (sub pages)
   ======================================== */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
}

.page-header > * { position: relative; z-index: 1; }

.page-header__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: #fff;
  position: relative;
  padding-bottom: 16px;
  display: inline-block;
}

.page-header__title::before {
  content: attr(data-en);
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.4em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.page-header__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.page-header__breadcrumb {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  font-family: "Cormorant Garamond", serif;
  margin-top: 12px;
}

.page-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.page-header__breadcrumb a:hover {
  color: var(--gold);
}

/* ========================================
   SELECTION
   ======================================== */
.selection__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.selection__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.selection__card::before {
  content: "0" counter(card-count);
  counter-increment: card-count;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 1px;
}

.selection__grid { counter-reset: card-count; }

/* 2カード用（借りたい・貸したいを非表示時）: デスクトップで中央2列 */
.selection__grid--2col {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  gap: 28px;
}

.selection__card:hover {
  border-color: var(--navy);
  box-shadow: 0 10px 30px rgba(22, 54, 92, 0.1);
  transform: translateY(-2px);
}

.selection__card-image {
  width: 100%;
  height: 220px;
  border-radius: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--bg-secondary);
}

.selection__card-body {
  padding: 20px 18px 22px;
}

.selection__card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.selection__card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.selection__card .btn {
  width: 100%;
}

/* ========================================
   SEARCH
   ======================================== */
.search__tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}

.search__tab {
  padding: 14px 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  border: none;
  cursor: pointer;
  background: transparent;
  position: relative;
  letter-spacing: 0.1em;
}

.search__tab--active {
  color: var(--navy);
}

.search__tab--active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.search__tab--inactive {
  color: var(--text-muted);
}

.search__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.search__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 16px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.search__card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 54, 92, 0.08);
}

.search__card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.9rem;
}

.search__card-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
}

/* ========================================
   STRENGTHS
   ======================================== */
.strengths__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.strength-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  padding: 28px 24px;
  position: relative;
}

.strength-item--primary {
  border-left: 6px solid var(--navy);
  background: var(--bg-secondary);
}

.strength-item__image {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--bg-secondary);
}

.strength-item__number {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px var(--navy);
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 12px;
}

.strength-item--primary .strength-item__number {
  -webkit-text-stroke: 1px var(--gold);
}

.strength-item__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.strength-item__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ========================================
   SUPPORT
   ======================================== */
.support__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.support__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  border-top: 3px solid var(--navy);
  transition: all 0.3s ease;
}

.support__card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 8px 24px rgba(22, 54, 92, 0.08);
  transform: translateY(-2px);
}

.support__card-image {
  width: 100%;
  height: 140px;
  border-radius: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--bg-secondary);
}

.support__card-body {
  padding: 20px 18px;
}

.support__card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.support__card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ========================================
   LINKS
   ======================================== */
.links__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.links__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 16px;
  text-align: center;
  transition: all 0.25s ease;
}

.links__item:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(22, 54, 92, 0.1);
}

.links__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: #fff;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  overflow: hidden;
}

/* Image icon variant (e.g. Instagram official logo) — no border, no circular clip */
.links__icon--image {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}
.links__icon--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.links__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
}

/* ========================================
   ABOUT
   ======================================== */
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__image {
  width: 100%;
  height: 260px;
  border-radius: 0;
}

.about__text h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.6;
  position: relative;
  padding-bottom: 16px;
}

.about__text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.about__text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.9;
}

/* ========================================
   SEARCH FORM (rent/buy filter)
   ======================================== */
.search-form {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: 2px;
  padding: 32px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.search-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.search-form__row:last-of-type {
  margin-bottom: 28px;
}

.search-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-form__group label {
  font-family: "Noto Serif JP", serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.search-form select,
.search-form input,
.contact-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.search-form select,
.contact-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}

.search-form select:focus,
.search-form input:focus,
.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.search-form__actions,
.contact-form__actions {
  text-align: center;
  margin-top: 8px;
}

/* ========================================
   PROPERTY GRID (rent/buy)
   ======================================== */
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.property-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.property-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 10px 30px rgba(22, 54, 92, 0.1);
  transform: translateY(-2px);
}

.property-card__body {
  padding: 20px 18px 22px;
}

.property-card__name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.property-card__info {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}

.property-card__price {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.03em;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ========================================
   STAFF
   ======================================== */
.staff__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.staff__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.staff__card:hover {
  border-color: var(--navy);
  box-shadow: 0 10px 30px rgba(22, 54, 92, 0.1);
  transform: translateY(-2px);
}

.staff__card-image {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--bg-secondary);
}

.staff__card-body {
  padding: 24px 22px 28px;
}

.staff__role {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.staff__card-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.staff__card-kana {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.staff__card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.staff__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.staff__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--navy);
  background: var(--bg-secondary);
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination__item {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  color: var(--navy);
  background: #fff;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.pagination__item:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.pagination__item--active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  pointer-events: none;
}

/* ========================================
   STEPS (sell flow)
   ======================================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 24px 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(22, 54, 92, 0.08);
}

.step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  position: relative;
}

.step__number::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.4;
}

.step__content {
  flex: 1;
}

.step__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.step__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ========================================
   MERIT CARDS (sell page)
   ======================================== */
.merit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.merit__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 24px;
  position: relative;
  counter-increment: merit-count;
  transition: all 0.3s ease;
}

.merit__grid { counter-reset: merit-count; }

.merit__card::before {
  content: "0" counter(merit-count);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
}

.merit__card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(22, 54, 92, 0.08);
  transform: translateY(-2px);
}

.merit__card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  padding-right: 48px;
  position: relative;
  padding-bottom: 12px;
}

.merit__card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.merit__card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ========================================
   CONTACT FORM (sell / contact)
   ======================================== */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: 2px;
  padding: 36px 28px;
  max-width: 760px;
  margin: 0 auto;
}

.contact-form__group {
  margin-bottom: 22px;
}

.contact-form__group label {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.8;
}

.required {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 1px;
  letter-spacing: 0.1em;
  margin-left: 8px;
  vertical-align: middle;
}

/* ========================================
   FORM DATETIME (reservation)
   ======================================== */
.form-datetime {
  display: flex;
  gap: 12px;
  align-items: center;
}

.form-datetime__date {
  flex: 1;
}

.form-datetime__time {
  flex: 1;
}

.form-datetime input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}

.form-datetime input[type="date"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183, 152, 105, 0.12);
}

/* ========================================
   ALT CONTACT (contact page)
   ======================================== */
.alt-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.alt-contact__item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: 2px;
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  transition: all 0.3s ease;
}

.alt-contact__item:hover {
  border-left-color: var(--gold);
  box-shadow: 0 6px 20px rgba(22, 54, 92, 0.08);
  transform: translateY(-1px);
}

.alt-contact__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
}

.alt-contact__text { flex: 1; }

.alt-contact__label {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.alt-contact__detail {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   MAP PLACEHOLDER (contact)
   ======================================== */
.map-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, #EEEEEE 0%, #E0E0E0 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A94A5;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
}

.cta > * { position: relative; z-index: 1; }

.cta__heading {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.cta__heading::before {
  content: "CONTACT";
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.4em;
  margin-bottom: 12px;
  font-weight: 500;
}

.cta__phone {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.cta__hours {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  letter-spacing: 0.15em;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta__buttons .btn { width: 100%; }

/* ========================================
   MODAL / POPUP
   ======================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-overlay.is-active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 4px;
  padding: 48px 36px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.8rem;
  line-height: 64px;
  margin: 0 auto 20px;
}

.modal__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.modal__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.modal__close {
  display: inline-block;
  padding: 12px 40px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
}

.modal__close:hover {
  background: var(--gold);
}

/* ========================================
   COMPANY TABLE
   ======================================== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  max-width: 800px;
  margin: 0 auto;
}

.company-table th,
.company-table td {
  padding: 18px 20px;
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

.company-table th {
  width: 28%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.company-table td {
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 24px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__logo img {
  height: 42px;
  filter: brightness(0) invert(1) opacity(0.85);
  margin-bottom: 28px;
}

.footer__nav { margin-bottom: 32px; }

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__nav a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__copy {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  letter-spacing: 0.15em;
}

/* ========================================
   TABLET (640px+)
   ======================================== */
@media (min-width: 640px) {
  .search-form__row {
    grid-template-columns: repeat(3, 1fr);
  }

  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .merit__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   DESKTOP (768px+)
   ======================================== */
@media (min-width: 768px) {
  /* Header stays hamburger-only on all breakpoints */

  .hero__overlay {
    bottom: 88px;
    left: auto;
    right: auto;
    padding: 0 40px;
  }

  .hero__title { font-size: 3.6rem; letter-spacing: 0.08em; }
  .hero__title::after {
    margin-left: auto;
    margin-right: auto;
    width: 64px;
  }
  .hero__catch { font-size: 0.95rem; letter-spacing: 0.4em; }
  .hero__sub { font-size: 1rem; }

  .page-header {
    padding: 80px 24px 72px;
  }

  .page-header__title {
    font-size: 2.2rem;
  }

  .selection__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .selection__grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .selection__card-image { height: 280px; }

  .search__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .strength-item {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 40px;
  }

  .strength-item__image {
    width: 320px;
    min-width: 320px;
    height: 240px;
    margin-bottom: 0;
  }

  .strength-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .support__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .support__card-image { height: 150px; }

  .staff__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .staff__card-image { height: 360px; }

  .links__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .about__image {
    width: 50%;
    min-width: 50%;
    height: 360px;
  }

  .cta__phone { font-size: 2.2rem; }

  .cta__buttons {
    flex-direction: row;
    max-width: 780px;
    gap: 16px;
  }

  .section-title { font-size: 2rem; }

  .property-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .step {
    padding: 28px 32px;
    gap: 28px;
  }

  .step__number {
    width: 64px;
    height: 64px;
    font-size: 1.7rem;
  }

  .step__number::after {
    width: 74px;
    height: 74px;
  }

  .step__title {
    font-size: 1.2rem;
  }

  .alt-contact {
    grid-template-columns: repeat(3, 1fr);
  }

  .alt-contact__item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 20px;
    border-left: none;
    border-top: 3px solid var(--navy);
  }

  .alt-contact__item:hover {
    border-top-color: var(--gold);
  }
}

/* ========================================
   NOTICE BAR（営業開始前の告知）
   ======================================== */
.notice-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--gold);
  color: #1F1F1F;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.notice-bar p { margin: 0; }

/* 既存ヘッダーを告知バーの分だけ下げる */
.notice-bar ~ .header { top: 40px; }

@media (max-width: 600px) {
  .notice-bar { font-size: 0.78rem; padding: 8px 14px; }
  .notice-bar ~ .header { top: 56px; }
}
