@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --navy: #14213d;
  --navy-light: #1e2f52;
  --gold: #b8925a;
  --gold-light: #d9b98a;
  --bg: #fafaf8;
  --text: #2a2a2a;
  --text-light: #6b6b6b;
  --border: #e5e2db;
  --max-width: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

a { color: inherit; text-decoration: none; }

.br-mobile { display: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-text {
  display: block;
}

.logo-text span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--navy);
  font-weight: 500;
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, rgba(20,33,61,0.88) 0%, rgba(20,33,61,0.75) 55%, rgba(13,23,41,0.92) 100%),
    url('../images/hero-photo.jpg') center 30% / cover no-repeat;
  color: #fff;
  padding: 150px 0 130px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(184,146,90,0.04) 0px, rgba(184,146,90,0.04) 2px, transparent 2px, transparent 40px);
}

.hero .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-bottom: 20px;
  position: relative;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.6;
  text-wrap: balance;
  letter-spacing: 0.04em;
  position: relative;
}

.hero p {
  margin-top: 24px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  position: relative;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}

.page-hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
}

/* Sections */
section {
  padding: 90px 0;
}

section.alt {
  background: #f2f0ea;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.section-head h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy);
  margin-top: 12px;
  letter-spacing: 0.03em;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 0.92rem;
}

/* Grid / Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 33, 61, 0.08);
}

.card .num {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.card h3.biz-name {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  white-space: nowrap;
}

.card h3.biz-name.is-long {
  font-size: 1.25rem;
  letter-spacing: 0.005em;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* News list */
.news-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.news-list li {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.news-list li:hover {
  background: rgba(184, 146, 90, 0.05);
}

.news-list li.news-extra {
  display: none;
}

.news-list.is-expanded li.news-extra {
  display: flex;
}

.news-more-row {
  text-align: center;
  margin-top: 32px;
}

.news-more-btn {
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  background: none;
  border: 1px solid var(--navy);
  padding: 12px 36px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

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

.news-date {
  flex-shrink: 0;
  width: 150px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.03em;
  padding-right: 32px;
  border-right: 1px solid var(--border);
}

.news-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Business label (simplified top-page summary) */
.biz-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 20px;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.biz-label:hover {
  background: #f2f0ea;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 33, 61, 0.08);
}

.biz-label .num {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.biz-label .name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.03em;
}

/* Store media (photo / logo placeholder) */
.store-media {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.store-photo-slot,
.store-logo-slot {
  background: #f2f0ea;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  overflow: hidden;
  text-align: center;
  padding: 8px;
}

.store-photo-slot { aspect-ratio: 3/4; }
.store-logo-slot { aspect-ratio: 1/1; }

.store-photo-slot img,
.store-logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

/* External link buttons (Instagram / Google Map / booking sites) */
.ext-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  color: var(--navy);
  transition: background 0.25s ease, color 0.25s ease;
}

.ext-link:hover {
  background: var(--navy);
  color: #fff;
}

/* Detail page (store / service single page) */
.detail-photo {
  aspect-ratio: 16/9;
  background: #f2f0ea;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 40px;
  overflow: hidden;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 24px;
}

.case-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 20px;
}

.photo-grid {
  columns: 3 220px;
  column-gap: 16px;
  margin: 32px 0;
}

.photo-grid img {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  break-inside: avoid;
}

/* Photo carousel */
.carousel {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f2f0ea;
  margin-bottom: 24px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 33, 61, 0.55);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(20, 33, 61, 0.85);
}

.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
}

.carousel-dot.active {
  background: #fff;
}

.back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.back-link:hover {
  text-decoration: underline;
}

.biz-group {
  margin-bottom: 72px;
  scroll-margin-top: 96px;
}

.biz-group:last-child { margin-bottom: 0; }

.biz-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 16px;
}

.biz-group-head .tag {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.biz-group-head .en {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
}

/* Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

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

.info-table th {
  width: 200px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.05em;
  background: #f2f0ea;
}

/* Property table */
.property-table-wrap {
  overflow-x: auto;
}

.property-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.property-table th,
.property-table td {
  text-align: left;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.property-table th {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  background: #f2f0ea;
}

.property-table tbody tr {
  transition: background 0.2s ease;
}

.property-table tbody tr:hover {
  background: rgba(184, 146, 90, 0.05);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  border: 1px solid;
}

.status-selling {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(184, 146, 90, 0.1);
}

.status-sold {
  color: var(--text-light);
  border-color: var(--border);
  background: #f2f0ea;
}

/* Message page */
.message-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.message-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  overflow: hidden;
}

.message-photo.is-illustration {
  background: none;
  padding: 0;
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 20px;
}

.profile-role {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.message-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.8;
}

.message-body p {
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.message-byline {
  font-size: 0.8rem !important;
  color: var(--gold) !important;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: -6px !important;
  margin-bottom: 24px !important;
}

.profile-meta {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.profile-meta dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 10px;
  font-size: 0.88rem;
}

.profile-meta dt { color: var(--text-light); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 44px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-dark {
  border-color: var(--navy);
  color: var(--navy);
}

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

.cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 44px;
}

.contact-card h3 {
  font-family: 'Noto Serif JP', serif;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.contact-line {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.contact-line .label {
  width: 60px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.contact-note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

form.contact-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

form.contact-form .field {
  margin-bottom: 22px;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
}

form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

form.contact-form button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Recruit */
.recruit-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 56px;
  text-align: center;
}

.recruit-box h3 {
  font-family: 'Noto Serif JP', serif;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.recruit-box p {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.value-list .card {
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  font-family: 'Noto Serif JP', serif;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-brand-text {
  display: block;
}

.footer-brand-text span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  color: var(--gold-light);
  margin-top: 6px;
  letter-spacing: 0.15em;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.82rem;
}

.footer-info {
  font-size: 0.82rem;
  line-height: 2;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 28px;
  letter-spacing: 0.05em;
}

/* Entrance animation (hero, on page load) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow, .hero h1, .hero p, .hero .cta-row,
.page-hero .eyebrow, .page-hero h1 {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero .eyebrow, .page-hero .eyebrow { animation-delay: 0.1s; }
.hero h1, .page-hero h1 { animation-delay: 0.25s; }
.hero p { animation-delay: 0.4s; }
.hero .cta-row { animation-delay: 0.55s; }

/* Scroll reveal (sections, cards, photos) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero p, .hero .cta-row,
  .page-hero .eyebrow, .page-hero h1,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .grid-3, .grid-2, .grid-4, .contact-grid, .value-list {
    grid-template-columns: 1fr;
  }

  .message-layout {
    grid-template-columns: 1fr;
  }

  .message-photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .br-desktop { display: none; }

  .br-mobile { display: inline; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 32px 30px;
  }

  .main-nav li {
    border-bottom: 1px solid var(--border);
  }

  .main-nav a {
    display: block;
    padding: 16px 0;
  }

  .info-table th { width: 130px; font-size: 0.8rem; }
  .info-table th, .info-table td { padding: 16px 14px; }

  .news-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .news-date { width: auto; padding-right: 0; border-right: none; }

  .photo-grid { columns: 2 160px; }

  .footer-grid { flex-direction: column; gap: 28px; }
}
