﻿/* ===== top.css ===== */

/* ===== Hero image only ===== */
.hero-image{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  margin-top:0;
  padding:0;
  padding-top:0;
  background:#ddd;
}

.hero-image__frame{
  position:relative;
  width:100%;
  height:clamp(260px, 58vh, 620px);
  margin:0;
  padding:0;
  line-height:0;
  overflow:hidden;
  border-radius:0;
  background:#d9d9d9;
}

.hero-image__media{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  vertical-align:bottom;
}

.hero-image__wave,
.hero-image--blend-fade .hero-image__frame::after{
  display:none;
}

/* ===== Welcome / Value prop ===== */
.valueProp{
  margin-top:18px;
  padding:18px 0 8px;
  display:grid;
  gap:10px;
  text-align:center;
}

.valueProp .eyebrow{
  margin:0;
  font-size:clamp(1.35rem, 3.2vw, 2.2rem);
  letter-spacing:.04em;
  text-transform:none;
  color:var(--text);
  font-weight:700;
  line-height:1.25;
}

.valueProp .lines{
  margin:0;
  font-size:0.95rem;
  line-height:1.95;
}

.valueProp .lines span{ display:block; }

/* Keep language toggle working after block-level span styling */
html[data-lang="ja"] .en{ display:none; }
html[data-lang="en"] .ja{ display:none; }

/* NOTE: section padding — keep single source of truth here */
.section{
  padding: 46px 24px;
}

/* ===== News ===== */
.news{
  margin-top:22px;
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 10px);
  background:#fff;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.newsHead{
  padding:14px 16px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(15,17,19,.02), rgba(15,17,19,0));
}

.newsHead .k{
  margin:0;
  font-size:0.8rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:650;
}

.newsHead .hint{
  margin:0;
  font-size:0.9rem;
  color:var(--muted);
}

.newsList{ padding:12px 16px; }

.newsItem{
  display:flex;
  gap:12px;
  padding:10px 0;
  border-top:1px solid var(--line);
}

.newsItem:first-child{ border-top:0; }

.date{
  font-size:0.8rem;
  color:var(--muted);
  letter-spacing:.08em;
  min-width:86px;
  white-space:nowrap;
}

.newsText{ margin:0; font-size:0.9rem; line-height:1.85; }

.newsText a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(47,189,179,.65);
  text-underline-offset:3px;
}

/* ===== Parking notice ===== */
.parking{
  margin-top:18px;
  border:1px solid rgba(47,189,179,.35);
  background:rgba(47,189,179,.10);
  border-radius:calc(var(--r) + 8px);
  padding:14px 16px;
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.parking .mark{
  width:34px; height:34px;
  border-radius:10px;
  background:rgba(47,189,179,.24);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  color:var(--accent-ink);
  flex:0 0 auto;
}

.parking p{
  margin:0;
  font-size:0.9rem;
  line-height:1.8;
}

.parking b{ font-weight:850; }

.parking a{
  text-decoration:underline;
  text-decoration-color:rgba(47,189,179,.75);
  text-underline-offset:3px;
}

/* ===== Map block ===== */
.mapBlock{
  margin-top:22px;
  margin-bottom:var(--map-gap-after, 64px);
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 10px);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.mapHead{
  padding:14px 16px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(15,17,19,.02), rgba(15,17,19,0));
}

.mapHead .k{
  margin:0;
  font-size:0.8rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:650;
}

.mapHead .hint{
  margin:0;
  font-size:0.9rem;
  color:var(--muted);
}

.mapHeadLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, #34a853, #4cc38a);
  color:#fff;
  text-decoration:none;
  font-size:0.82rem;
  font-weight:700;
  box-shadow:0 8px 18px rgba(52, 168, 83, 0.24);
}

.mapHeadLink:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(52, 168, 83, 0.28);
}

.mapFrame{
  position:relative;
  padding-top:56.25%;
  background:#f6f7f8;
}

.mapFrame iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0;
}

/* ===== Instagram follow ===== */
.snsFollow{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 10px);
  background:#fff;
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.snsK{
  margin:0;
  font-size:0.8rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:650;
}

.snsText{
  margin:0;
  font-size:0.9rem;
  line-height:1.9;
}

.snsBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  font-size:0.9rem;
  letter-spacing:.06em;
  background:rgba(47,189,179,.92);
  color:#08312d;
  font-weight:900;
  border:1px solid rgba(47,189,179,.0);
}

.snsBtn:hover{ opacity:.92; }

.igIcon{
  width:18px;
  height:18px;
  display:block;
}

.snsSub{
  margin:0;
  font-size:0.8rem;
  color:var(--muted);
}

/* ===== Gallery (moved below map) ===== */
.gallery{
  margin-top:34px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:14px;
}

.gallery img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:var(--r);
  border:1px solid var(--line);
  display:block;
  background:#fff;
}

/* ===== Quick info ===== */
.quickInfo{
  padding: 0 24px;
  margin: 18px 0 10px;
}

.quickGrid{
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 14px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.qItem{
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.05);
}

.qLabel{
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #6b7a76;
  margin-bottom: 6px;
}

.qValue{
  font-size: 0.92rem;
  line-height: 1.55;
  color: #22312d;
}

.qActions{
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 2px;
}

.qBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.6);
  text-decoration: none;
  color: #1f2b28;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.qBtn:hover{ transform: translateY(-1px); }

.qBtn--ghost{
  border-color: rgba(47,189,179,.28);
  background: rgba(47,189,179,.10);
  color: #15534b;
}

.qBtn--map{
  border-color: rgba(52, 168, 83, 0.20);
  background: linear-gradient(135deg, #34a853, #4cc38a);
  color: #fff;
  box-shadow: 0 10px 22px rgba(52, 168, 83, 0.22);
}

@media (max-width: 820px){
  .quickGrid{ grid-template-columns: 1fr; }
  .qActions{ justify-content: stretch; }
  .qBtn{ width: 100%; }
}

/* ===== Modal (forced popup) ===== */
dialog{
  border:0;
  border-radius:calc(var(--r) + 12px);
  padding:0;
  max-width:640px;
  width:calc(100% - 28px);
  box-shadow: 0 40px 120px rgba(0,0,0,.28);
  background:#fff;
  color:var(--text);
}

dialog::backdrop{ background:rgba(0,0,0,.45); }

.modal{ padding:18px 18px 16px; }

.modalTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
  margin-bottom:12px;
}

.modalTop .title{
  margin:0;
  font-size:0.8rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:650;
}

.xbtn{
  border:1px solid var(--line);
  background:var(--soft);
  border-radius:999px;
  padding:8px 10px;
  cursor:pointer;
  font-size:0.8rem;
  letter-spacing:.08em;
}

.xbtn:hover{ opacity:.92; }

.modal p{ margin:0; line-height:1.85; font-size:0.9rem; color:#202326; }
.modal .muted{ color:var(--muted); font-size:0.8rem; margin-top:10px; }

/* ===== Image strip ===== */
.image-strip{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.image-strip__bleed{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}

.image-strip__bleed img{
  width: 100%;
  height: clamp(180px, 22vw, 420px);
  object-fit: cover;
  display: block;
}

.seo-context{
  max-width:760px;
  margin:28px auto 0;
  padding:0 24px;
  color:var(--muted);
  text-align:center;
}

.seo-context p{
  margin:0;
  font-size:0.82rem;
  line-height:1.9;
}

/* ===== Top responsive ===== */
@media (max-width: 1024px){
  .image-strip__bleed{ grid-template-columns: repeat(2, 1fr); }
  .image-strip__bleed img{ height: clamp(160px, 28vw, 320px); }
}

@media (max-width: 520px){
  .image-strip__bleed{ grid-template-columns: 1fr; }
  .image-strip__bleed img{ height: clamp(180px, 56vw, 340px); }
}

@media (max-width: 980px){
  .gallery{ grid-template-columns:1fr; }
  .gallery img{ height:220px; }
}

@media (max-width: 768px){
  .hero-image__frame{ height:clamp(220px, 42vh, 420px); }
}

