:root {
  --bg: #ffffff;
  --ink: #171717;
  --muted: #555;
  --line: #e5e5e5;
  --accent: #0b0b0b;
  --maxw: 1140px;
}

/* Base: Zen Old Mincho 基調 */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}
body {
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
.container { width: min(var(--maxw), 90vw); margin-inline: auto; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.brand {
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 12px;
  color: #111;
  text-decoration: none;
}
.menu {
  display: flex;
  gap: 22px;
  align-items: center;
}
.menu a {
  color: #444;
  text-decoration: none;
  font-size: 13px;
}
.menu a:hover { opacity: 0.7; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  background: #000;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  filter: brightness(0.68);
}
.hero-copy {
  position: absolute;
  bottom: 10%;
  left: 10%;
  z-index: 2;
  color: #fff;
  max-width: 720px;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  margin: 0 0 10px 0;
  opacity: 0.9;
}
.hero-title {
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  font-size: clamp(22px, 4vw, 40px);
  margin: 0 0 10px;
  color: #fff;
}
.hero-lede {
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.7;
  color: #fff;
}
.hero-cta { margin-top: 18px; }
.btn-hero {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-hero:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

/* === CONCEPT === */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.eyebrow {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #111;
}
.hjp {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: clamp(20px, 3.2vw, 28px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #111;
}
.rule {
  height: 1px;
  background: var(--line);
  margin: 16px 0 22px;
}
.lead {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #444;
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 920px) {
  .two-col { grid-template-columns: 1fr; gap: 18px; }
}
/* Concept画像を35%下方へ */
.concept-media .concept-img {
  object-fit: cover;
  object-position: center 65%;
  width: 100%;
  height: 100%;
}

/* === Cards / Grids 共通 === */
.ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.ratio > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.cap { padding: 10px 12px; color: #555; font-size: 13px; }
.cap .en {
  font-family: "Playfair Display", serif;
  color: #111;
}
.cap .jp { margin-top: 2px; color: #6b6b6b; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 840px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* === RESERVE === */
.card-inline {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
@media (max-width: 900px) {
  .card-inline { grid-template-columns: 1fr; }
}
.contacts { text-align: left; padding-left: 0; }
.contacts p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #242424;
  font-weight: 400;
}
.contacts a {
  color: #242424;
  text-decoration: none;
}
.contacts a:hover { text-decoration: underline; }
.reserve-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.btn-primary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  background: #111;
  color: #fff;
  font-size: 12.5px;
}
.btn-primary:hover { opacity: 0.9; }
.btn-ghost {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}
.btn-ghost:hover { border-color: #111; }

/* === FOOTER === */
.footer { padding: 40px 0; }
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-links {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #666;
  font-size: 13px;
}
.foot-links a { color: #666; text-decoration: none; }
.foot-links a:hover { color: #111; }
.foot small { color: #666; }
.dot { opacity: 0.6; }

/* === Responsive === */
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { min-height: 66vh; }
  .hero-copy {
    padding: 52px 6% 60px;
    max-width: 92vw;
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card-inline { grid-template-columns: 1fr; }
}
/* === Reserve内の外部リンク群（Instagram / SUUMO） === */
.ext-links {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: #2a2a2a;
  font-family: "Zen Old Mincho", serif;
  transition: transform .15s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.ext-link:hover {
  transform: translateY(-1px);
  border-color: #d9d9d9;
}
.ext-link .icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
}
.ext-link .label {
  font-size: 13.5px;
  line-height: 1.8;
  letter-spacing: .02em;
}
/* === Reserve内の外部リンク群（■アイコン＋改行） === */
.ext-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ext-link {
  font-size: 13.5px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: #222;
  margin: 0;
}
.ext-link a {
  color: #222;
  text-decoration: none;
}
.ext-link a:hover {
  text-decoration: underline;
}
/* === CONCEPT 画像：縦方向+30%拡大 ＋ 下方向に10%シフト === */
.concept-media {
  overflow: hidden;
  border-radius: 16px;
}
.concept-media .concept-img {
  object-fit: cover;
  object-position: center 90%; /* 下方向10%シフト */
  width: 115%;
  height: 130%;
  transform: translate(-7.5%, -20%);
  transition: transform 0.5s ease, height 0.5s ease, object-position 0.5s ease;
}
@media (max-width: 640px) {
  .concept-media .concept-img {
    width: 110%;
    height: 120%;
    object-position: center 88%;
    transform: translate(-5%, -15%);
  }
}

/* === Reserve内の外部リンク群（■アイコン＋改行） === */
.ext-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ext-link {
  font-size: 13.5px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: #222;
  margin: 0;
}
.ext-link a {
  color: #222;
  text-decoration: none;
}
.ext-link a:hover {
  text-decoration: underline;
}
/* === Hero 安定化調整（上下余白微調整） === */
.hero-copy {
  bottom: 12% !important;  /* 少しだけ上寄せ */
  left: 10% !important;
}

/* === Concept画像 少しだけ拡大微調整＆位置調整 === */
.concept-media .concept-img {
  /* height を少しだけ増やして、下部をさらに見えるように */
  height: 135% !important;
  transform: translate(-7.5%, -22%) !important;
}

/* === 日本語テキストの読みやすさ強化 === */
.lead, .contacts p {
  letter-spacing: 0.025em;  /* 少し字間を広げる */
  line-height: 1.95;        /* 行間をゆるくする */
}

/* === Reserve リンクの余白調整 === */
.ext-links {
  margin-top: 14px !important;
}
.ext-link {
  font-size: 14px !important;
  line-height: 1.9 !important;
}
/* Hero：テキストの上下位置を1～2%だけ上げて安定 */
.hero-copy{ bottom:12%; }

/* Concept：床の見え方をわずかに増やして構図を安定 */
.concept-media .concept-img{
  height:135%;
  transform: translate(-7.5%, -22%);
}

/* 日本語テキストの可読性をわずかに向上 */
.lead, .contacts p{ letter-spacing:.025em; line-height:1.95; }

/* Reserveリンク：行間とサイズを微調整 */
.ext-link{ font-size:14px; line-height:1.9; }
/* === CONCEPT 画像：縦方向+30%拡大 ＋ 下方向に10%シフト === */
.concept-media {
  overflow: hidden;
  border-radius: 16px;
}
.concept-media .concept-img {
  object-fit: cover;
  object-position: center 90%;
  width: 115%;
  height: 130%;
  transform: translate(-7.5%, -20%);
  transition: transform 0.5s ease, height 0.5s ease, object-position 0.5s ease;
}
@media (max-width: 640px) {
  .concept-media .concept-img {
    width: 110%;
    height: 120%;
    object-position: center 88%;
    transform: translate(-5%, -15%);
  }
}

/* === モバイルでFEEL℃ VILLA非表示 === */
@media (max-width: 640px) {
  .brand { display: none !important; }
}

/* === Reserve内の外部リンク群（■アイコン＋改行） === */
.ext-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ext-link {
  font-size: 13.5px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: #222;
  margin: 0;
}
.ext-link a {
  color: #222;
  text-decoration: none;
}
.ext-link a:hover {
  text-decoration: underline;
}
/* SOLD OUT オーバーレイ */
.card.sold .ratio {
  position: relative;
  overflow: hidden; /* 角丸を守る */
}

/* 半透明の暗幕 */
.card.sold .ratio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* 中央のテキスト */
.card.sold .ratio::after {
  content: "SOLD OUT";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* 画面幅に応じて自然に可変 */
  font-size: clamp(14px, 2.4vw, 28px);
  pointer-events: none;
}

/* 画像のトーンを少し落として差別化（任意） */
.card.sold img {
  filter: grayscale(100%) contrast(0.9) brightness(0.9);
}

/* 角丸がある場合にレイヤーも合わせる（サイトの角丸値に合わせて調整） */
.card .ratio,
.card .ratio img,
.card.sold .ratio::before,
.card.sold .ratio::after {
  border-radius: 12px;
}
.sold-overlay {
  position: absolute;
  inset: 0;                       /* 全面に広げる */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45); /* 半透明の黒幕 */
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 12px;             /* 角丸を画像に合わせる */
  pointer-events: none;            /* クリックを通す */
}
/* ================================
   FEELC Corporate Home Hero (/new/home/) 
   page-slug: 12 用
   ここから
================================ */
.page-slug-12 .hero {
  background: #fff;
  min-height: 0;
  padding: 80px 0 60px;
}

.page-slug-12 .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-slug-12 .hero-copy {
  flex: 1 1 320px;
  color: #111;
  position: static;
}

.page-slug-12 .hero-ja {
  font-size: 2.2rem;
  letter-spacing: 0.15em;
  margin: 0 0 16px;
}

.page-slug-12 .hero-en {
  font-size: 1rem;
  line-height: 1.8;
}

.page-slug-12 .hero-image {
  flex: 1 1 320px;
}

.page-slug-12 .hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
/* ================================
   FEELC Corporate Home Hero 
   ここまで
================================ */
/* ================================
   FEELC HOME 専用 HERO 調整
   (/new/home/ のみ)
================================ */
.page-slug-12 .hero-lede {
  color: rgba(255, 255, 255, 0.7); /* 白の70%くらい */
/* ================================
   FEELC HOME 専用 Concept 画像調整
   (/new/home/ のみ・全体表示)
================================ */
.page-slug-12 .concept-media .concept-img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  object-position: center center !important;
  transform: none !important;
}

}
/* ================================
   FEELC HOME HERO 調整
   body.corp-home が付くページ専用
================================ */
body.corp-home .hero-lede {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ================================
   FEELC HOME CONCEPT 画像調整
================================ */
body.corp-home .concept-media .concept-img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}
/* ================================
   FEELC HOME：Resort / Architecture 見出し
   （Resort – 販売物件 の1行表示用）
================================ */
body.corp-home .eyebrow-main {
  font-size: 18px;          /* 元の「販売中・計画中のリゾート物件」と同程度 */
  letter-spacing: 0.06em;
  font-weight: 600;
}
body.corp-home .eyebrow-main .eyebrow-sub {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 4px;
}

/* ================================
   FEELC HOME：物件ステータス表示
   ＜SOLD＞ / ＜For sale＞ / ＜Under planning＞
================================ */
body.corp-home .status {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #555;
}
/* ================================
   FEELC HOME セクション見出し（Resort / Architecture）
================================ */
body.corp-home .hp-section-title {
  margin: 0 0 8px;
  font-weight: 600;
}

body.corp-home .hp-section-main {
  /* h2.hjp のサイズそのまま */
}

body.corp-home .hp-section-sub {
  font-size: 0.85em;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 4px;
}

/* ステータス表示統一 */
body.corp-home .status {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #555;
}
/* ================================
   FEELC HOME：About セクション
================================ */
body.corp-home .about-grid {
  align-items: flex-start;
  gap: 32px;
}

body.corp-home .about-lead {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 18px;
}

body.corp-home .about-list {
  margin: 0;
  padding: 0;
}

body.corp-home .about-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  font-size: 13px;
  margin-bottom: 6px;
}

body.corp-home .about-row dt {
  font-weight: 600;
  color: #333;
}

body.corp-home .about-row dd {
  margin: 0;
  color: #555;
}

body.corp-home .about-links {
  margin-top: 14px;
}

body.corp-home .about-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.corp-home .about-qr-title {
  font-size: 13px;
  color: #555;
  margin: 0 0 8px;
}

body.corp-home .about-qr-grid {
  display: flex;
  gap: 16px;
}

body.corp-home .about-qr-item {
  text-align: center;
  font-size: 12px;
  color: #555;
}

body.corp-home .about-qr-item img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 4px;
}

body.corp-home .about-actions {
  margin-top: 8px;
}

@media (max-width: 840px) {
  body.corp-home .about-grid {
    gap: 24px;
  }
  body.corp-home .about-row {
    grid-template-columns: 88px 1fr;
  }
  body.corp-home .about-qr-grid {
    justify-content: flex-start;
  }
}
/* ================================
   FEELC HOME：About セクション
================================ */
body.corp-home .about-grid {
  align-items: flex-start;
  gap: 32px;
}

body.corp-home .about-lead {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 18px;
}

body.corp-home .about-list {
  margin: 0;
  padding: 0;
}

body.corp-home .about-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  font-size: 13px;
  margin-bottom: 6px;
}

body.corp-home .about-row dt {
  font-weight: 600;
  color: #333;
}

body.corp-home .about-row dd {
  margin: 0;
  color: #555;
}

/* 詳細リンク（紫→通常色へ） */
body.corp-home .about-link {
  color: #222;
  text-decoration: none;
  font-size: 13px;
}
body.corp-home .about-link:hover {
  text-decoration: underline;
}

/* QR ブロック */
body.corp-home .about-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.corp-home .about-qr-title {
  font-size: 13px;
  color: #555;
  margin: 0 0 8px;
}

body.corp-home .about-qr-grid {
  display: flex;
  gap: 16px;
}

body.corp-home .about-qr-item,
body.corp-home .about-qr-link {
  text-align: center;
  font-size: 12px;
  color: #555;
  text-decoration: none;
}

body.corp-home .about-qr-item img,
body.corp-home .about-qr-link img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 4px;
}

body.corp-home .about-qr-link:hover span {
  text-decoration: underline;
}

body.corp-home .about-actions {
  margin-top: 8px;
}

@media (max-width: 840px) {
  body.corp-home .about-grid {
    gap: 24px;
  }
  body.corp-home .about-row {
    grid-template-columns: 88px 1fr;
  }
  body.corp-home .about-qr-grid {
    justify-content: flex-start;
  }
}
/* ================================
   FEELC HOME：Footer
================================ */
body.corp-home .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.corp-home .foot-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

body.corp-home .foot-links a {
  color: #666;
  text-decoration: none;
}
body.corp-home .foot-links a:hover {
  text-decoration: underline;
}

body.corp-home .foot-note {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin: 24px 0 0;
}
/* FEELC Page 共通レイアウト（/new/about など） */
.page-feelc {
  max-width: 960px;
  margin: 80px auto 120px;
  padding: 0 24px;
  line-height: 1.9;
  font-size: 14px;
}

.page-feelc__header {
  margin-bottom: 40px;
  text-align: left;
}

.page-feelc__title {
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: none;
  margin: 0 0 8px;
}

.page-feelc__content p {
  margin: 0 0 8px;
}

/* サブページ用ヘッダー */
.corp-sub-header {
  border-bottom: 1px solid #eee;
}

.corp-sub-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.corp-sub-logo {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: #222;
}

/* サブページ用フッター */
.corp-sub-footer {
  border-top: 1px solid #eee;
  margin-top: 80px;
}

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

.corp-sub-footer__copy {
  font-size: 11px;
  line-height: 1.8;
  color: #555;
}

.corp-sub-footer__copy a {
  color: inherit;
  text-decoration: underline;
}
/* ===========================
   FEELC Villa Detail
   =========================== */
.villa-page {
  max-width: 1080px;
  margin: 80px auto 120px;
  padding: 0 24px;
}

.villa-page__header {
  margin-bottom: 40px;
}

.villa-page__label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 8px;
  opacity: 0.7;
}

.villa-page__title {
  font-size: 24px;
  letter-spacing: 0.12em;
  margin: 0;
}

.villa-page__body {
  display: block;
  line-height: 1.9;
  font-size: 14px;
}

.villa-page__summary p {
  margin: 0 0 8px;
}
/* ===========================
   Villa gallery (A/B棟用)
   =========================== */
.villa-page .wp-block-gallery {
  max-width: 960px;
  margin: 40px auto;
  gap: 24px;
}

.villa-page .wp-block-gallery.has-nested-images figure.wp-block-image {
  margin: 0;
}

.villa-page .wp-block-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ===========================
   Villa gallery lightbox
   =========================== */
.villa-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.villa-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
}

.villa-lightbox__close,
.villa-lightbox__prev,
.villa-lightbox__next {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 8px 12px;
}

.villa-lightbox__close {
  top: 24px;
  right: 32px;
}

.villa-lightbox__prev {
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.villa-lightbox__next {
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}
.villa-status {
  display: inline-block;
  padding: 4px 12px;
  background: #000;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
/* B棟サマリーの余白調整 */
.villa-page .villa-status {
  margin-bottom: 20px !important;
}

/* サマリー箇条書きの行間を美しく */
.villa-page .villa-page__summary p,
.villa-page .villa-page__summary li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* CTAボタンの余白調整 */
.villa-page .wp-block-button {
  margin-top: 28px;
  margin-bottom: 40px;
}
/* Villa summary layout */
.villa-page__summary {
  max-width: 960px;
  margin: 0 auto 40px;
}

.villa-page .villa-status {
  display: inline-block;
  margin-bottom: 20px !important;
}

.villa-page .villa-page__summary p,
.villa-page .villa-page__summary li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* CTAボタンまわりの余白 */
.villa-page .wp-block-button {
  margin-top: 28px;
  margin-bottom: 40px;
}
/* Villa gallery base (PC) */
.villa-page .wp-block-gallery {
  max-width: 960px;
  margin: 40px auto;
}

/* 画像は常に角丸にする（スマホ含む） */
.villa-page .wp-block-gallery img {
  border-radius: 16px !important;
}

/* スマホでは1列表示にする（columns-2 を1列に） */
@media (max-width: 768px) {
  .villa-page .wp-block-gallery.columns-2 .wp-block-image,
  .villa-page .wp-block-gallery.columns-2 figure {
    width: 100% !important;
    flex-basis: 100% !important;
  }
}
/* =====================================
   Villa gallery - smartphone layout
   ===================================== */
@media (max-width: 768px) {
  /* ギャラリー全体は画面幅いっぱいに */
  .villa-page .wp-block-gallery {
    max-width: 100%;
    margin: 24px auto;
  }

  /* 2列指定されていてもスマホでは縦1列にする */
  .villa-page .wp-block-gallery .wp-block-image,
  .villa-page .wp-block-gallery figure.wp-block-image {
    width: 100% !important;
    margin: 0 0 16px !important;
  }

  /* 画像は必ず角丸 */
  .villa-page .wp-block-gallery img {
    border-radius: 16px !important;
  }
}
/* HERO BRAND TITLE */
.hero-brand {
  font-family: "Zen Old Mincho", serif; /* LPと合わせたブランドフォント */
  font-size: 64px;         /* 大きめ表示 */
  font-weight: 600;
  color: white;
  text-align: left;
  line-height: 1.1;
  margin: 0 0 24px 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* スマホ調整 */
@media (max-width: 768px) {
  .hero-brand {
    font-size: 40px;
  }
}
/* Architecture カードをクリック可能に見せる */
.feat.card {
  cursor: pointer;
}
/* Architecture カード（8枚）の行間と揃えを全て統一 */
#architecture .cap {
  padding: 10px 12px;
}

#architecture .cap .en {
  margin: 0 0 2px 0;   /* 上0 / 下2px に固定 */
  line-height: 1.4;
  text-align: left;
}

#architecture .cap .jp {
  margin: 0;           /* 上下のマージンを0に固定 */
  line-height: 1.7;
  text-align: left;
}
/* Architecture カードの行間と揃えを完全統一 */
#architecture .cap .en {
  margin: 0 0 2px 0 !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
#architecture .cap .jp {
  margin: 0 !important;
  line-height: 1.7 !important;
  text-align: left !important;
}
/* ========== FEELC Page の余計なラベルを完全に無効化 ========== */
.page-feelc__header::before,
.page-feelc::before,
.page-feelc__label,
.corp-sub-header::before,
.corp-sub-logo::before {
  content: "" !important;
  display: none !important;
}
/* FEELC サブページ：上部の細い見出しと RESORT ラベルを隠す */
.corp-sub-header {
  display: none;
}

.villa-page__label {
  display: none;
}
.brand img {
  height: 20px;    /* 大きさは好みで調整 */
  display: block;
}
/* HEROのロゴ画像のサイズ調整 */
.hero-brand img {
  height: 88px;     /* お好みで 48〜70px の範囲で調整 */
  display: block;
  object-fit: contain;
}
/* ============================
   スマホ調整（縦向き）
   ============================ */
@media (max-width: 640px) {
  .brand img {
    height: 16px;     /* ヘッダーロゴを少し小さく */
  }

  .hero-brand img {
    height: 48px;     /* HEROロゴも少し小さく */
  }
}

/* ============================
   スマホ調整（横向き）
   高さが小さい横長画面（iPhone横 / Android横）
   ============================ */
@media (max-width: 900px) and (max-height: 480px) {
  .brand img {
    height: 14px;     /* ヘッダーロゴ（横向き用） */
  }

  .hero-brand img {
    height: 48px;     /* ← ココが横向き HERO ロゴのサイズ */
  }
}
/* ============================
   スマホ最適化（全体調整）
   ============================ */
@media (max-width: 640px) {

  /* セクションの縦余白を詰める */
  .section {
    padding: 60px 0;
  }

  /* 見出しと画像の距離を詰める */
  .hp-section-title {
    margin-bottom: 8px;
  }
  .rule {
    margin: 10px 0 18px;
  }

  /* HERO 英文テキストの行間を詰める */
  .hero-copy .hero-lede {
    line-height: 1.5 !important;
    margin-top: 6px;
  }

  /* HERO ロゴの位置調整 */
  .hero-brand img {
    margin-left: 4px;  /* 位置を少し中央寄りへ */
  }

  /* カード左右の余白を減らす */
  .container {
    width: 94vw;
  }

  /* カードの下余白を詰める */
  .card {
    margin-bottom: 28px;
  }

  /* 設計実績カードの下の余白 */
  .cap {
    padding: 10px 12px;
  }

  /* Architecture上の余白削減 */
  #architecture.section {
    padding-top: 50px;
  }

  /* About セクションの上下余白 */
  #about.section {
    padding-top: 50px;
    padding-bottom: 60px;
  }
}

/* ============================
   スマホ横向き（ランドスケープ）
   ============================ */
@media (max-width: 900px) and (max-height: 480px) {

  /* section 全体をさらに詰める */
  .section {
    padding: 40px 0;
  }

  /* HERO ロゴさらに小さくして位置補正 */
  .hero-brand img {
    height: 45px !important;
    margin-left: 2px;
  }

  /* 英文の行間最適化 */
  .hero-lede {
    line-height: 1.4 !important;
  }

  /* ライトボックス（スライダー）を広く */
  .villa-lightbox__img {
    max-width: 96vw;
  }
}
/* LP Concept画像の縦位置調整（PC用） */
.concept-media .ratio > img {
  transform: translateY(-10%);
}
/* 言語切替（デフォルト：PC） */
.lang-switch {
  margin-left: 16px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch a {
  text-decoration: none;
  color: #333;
  opacity: 0.7;
}

.lang-switch a:hover {
  opacity: 1;
}
/* 言語切替（PCデフォルト） */
.lang-switch {
  margin-left: 16px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch a {
  text-decoration: none;
  color: inherit;
}

/* スマホ縦画面：ヘッダーを2段にして、言語切替を右側に収める */
@media (max-width: 768px) {

  /* ヘッダーコンテナを折り返し可能に */
  .header .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  /* ロゴがつぶれないように最大幅だけ制御 */
  .header .nav .brand img {
    max-width: 140px;
    height: auto;
  }

  /* 言語切替：2段目右寄せ・少し小さめ */
  .lang-switch {
    margin-left: auto;
    margin-right: 16px;
    margin-top: 4px;
    font-size: 11px;
  }
}
/* スマホで画像タップがスクロールを邪魔しないようにする */
@media (max-width: 768px) {
  .ratio img {
    pointer-events: none;
    touch-action: pan-y;
  }
}
/* スマホで物件詳細ページの画像タップがズームにならないようにする */
@media (max-width: 768px) {

  /* page-villa テンプレート内の画像リンクをタップ無効化 */
  body.page-template-page-villa .ratio a {
    pointer-events: none;
    touch-action: pan-y;
  }
}
/* スマホで物件詳細ページの画像タップが拡大にならないようにする（強制版） */
@media (max-width: 768px) {
  body.page-template-page-villa img {
    pointer-events: none !important;
    touch-action: pan-y;
  }
}
