/* ============================================================
   ともしび不動産 メインCSS
   すべてのスタイルはここで管理します
   ============================================================ */

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

:root {
    --ink: #1a1a1a;
    --sub: #6b6b6b;
    --line: #e8e6e1;
    --bg: #faf9f6;
    --paper: #ffffff;
    --gold: #b89968;
    --gold-deep: #8a7148;
    --navy: #14233a;
    --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 2;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.en-font {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0.25em;
}

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

/* ============================================================
   ローダー
   ============================================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s var(--ease-out), visibility 1.2s;
}

.loader.done { opacity: 0; visibility: hidden; }

.loader-line {
    width: 0;
    height: 1px;
    background: var(--gold);
    animation: loaderLine 1.6s var(--ease-out) forwards;
}

@keyframes loaderLine {
    0% { width: 0; }
    100% { width: 280px; }
}

/* ============================================================
   ヘッダー
   ============================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.6s var(--ease);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.logo { cursor: pointer; line-height: 1.2; }
.logo-jp {
    font-size: 17px;
    letter-spacing: 0.35em;
    color: var(--ink);
    font-weight: 500;
}
.logo-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    letter-spacing: 0.45em;
    color: var(--gold);
    margin-top: 4px;
}

nav ul { display: flex; list-style: none; gap: 44px; align-items: center; }

nav a {
    text-decoration: none;
    color: var(--ink);
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.3em;
    padding: 6px 0;
    position: relative;
    cursor: pointer;
    transition: color 0.5s var(--ease);
}

nav a .jp {
    display: block;
    font-family: 'Shippori Mincho', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--sub);
    margin-top: 3px;
    transition: color 0.5s var(--ease);
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.6s var(--ease-out);
}

nav a:hover,
nav a.active { color: var(--gold-deep); }

nav a:hover .jp,
nav a.active .jp { color: var(--gold); }

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

.header-cta {
    border: 1px solid var(--ink);
    padding: 12px 26px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.35em;
    cursor: pointer;
    transition: all 0.5s var(--ease);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    display: inline-block;
}

.header-cta:hover { background: var(--ink); color: var(--paper); }

/* ハンバーガーボタン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transition: all 0.4s var(--ease);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビゲーション */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 85vw);
    height: 100vh;
    background: var(--paper);
    z-index: 200;
    transition: right 0.6s var(--ease-out);
    padding: 80px 40px;
    overflow-y: auto;
}

.mobile-nav.open { right: 0; }

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ink);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
}

.mobile-nav-inner ul { list-style: none; }

.mobile-nav-inner ul li {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.mobile-nav-inner ul li a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    letter-spacing: 0.3em;
    color: var(--ink);
    text-decoration: none;
    display: block;
}

.mobile-nav-inner ul li a .jp {
    display: block;
    font-family: 'Shippori Mincho', serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--sub);
    margin-top: 4px;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease);
}

.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    inset: 0;
    background: #e0ddd6;
}

.slide {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #b8b4ab 0%, #8c887e 50%, #5e5b54 100%);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 2s var(--ease-out), transform 8s linear;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 35, 58, 0.25), rgba(20, 35, 58, 0.55));
    z-index: 1;
    pointer-events: none;
}

.slide.active { opacity: 1; transform: scale(1); }

.slide-dummy-label {
    position: absolute;
    bottom: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 0.4em;
}

.hero-inner {
    position: relative;
    z-index: 3;
    padding: 0 80px;
    color: #fff;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeUp 1.6s 0.6s var(--ease-out) forwards;
}

.hero h1 {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 1.55;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 1.8s 0.9s var(--ease-out) forwards;
}

.hero h1 .accent {
    color: var(--gold);
    font-weight: 400;
}

.hero-sub {
    font-size: 14px;
    letter-spacing: 0.25em;
    line-height: 2.4;
    max-width: 580px;
    opacity: 0;
    animation: fadeUp 1.8s 1.2s var(--ease-out) forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-meta {
    position: absolute;
    bottom: 50px;
    left: 80px;
    right: 80px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: rgba(255, 255, 255, 0.85);
}

.scroll-indicator {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 0.4em;
    display: flex;
    align-items: center;
    gap: 16px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-indicator-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--gold);
    animation: scrollLine 2.4s var(--ease) infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

.hero-counter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.3em;
}

.hero-counter .current { color: var(--gold); font-size: 16px; }

/* ============================================================
   セクション共通
   ============================================================ */
section {
    padding: 160px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-head {
    display: flex;
    flex-direction: column;
    margin-bottom: 90px;
    gap: 24px;
}

.section-head.center { align-items: center; text-align: center; }

.section-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-num::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

.section-head.center .section-num { justify-content: center; }

.section-head.center .section-num::after { content: ''; width: 30px; height: 1px; background: var(--gold); }

.section-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--ink);
    line-height: 1;
}

.section-jp { font-size: 13px; letter-spacing: 0.4em; color: var(--sub); }

/* ============================================================
   フィロソフィー（トップ）
   ============================================================ */
.intro {
    padding: 180px 80px;
    background: var(--bg);
    text-align: center;
}

.intro-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 40px;
}

.intro h2 {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 2;
    margin-bottom: 60px;
}

.intro p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 2.6;
    color: var(--sub);
    letter-spacing: 0.15em;
}

/* ============================================================
   サービスグリッド
   ============================================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service-card {
    cursor: pointer;
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--ink);
}

.service-img-wrap {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 5;
    margin-bottom: 32px;
}

.service-img {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2)),
        linear-gradient(135deg, #d8d4cb, #a8a39a);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 0.4em;
    transition: transform 1.4s var(--ease-out);
}

.service-card:hover .service-img { transform: scale(1.06); }

.service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
    transition: color 0.5s var(--ease);
}

.service-card:hover h3 { color: var(--gold-deep); }

.service-card p { font-size: 13px; color: var(--sub); line-height: 2.2; letter-spacing: 0.1em; }

.service-link {
    margin-top: 26px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.35em;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transition: gap 0.5s var(--ease);
}

.service-link::after { content: '→'; transition: transform 0.5s var(--ease); }

.service-card:hover .service-link { gap: 24px; color: var(--gold-deep); }
.service-card:hover .service-link::after { transform: translateX(6px); }

/* ============================================================
   ダークセクション（物件）
   ============================================================ */
.dark-section {
    background: var(--navy);
    color: #fff;
    padding: 160px 80px;
    margin: 0;
}

.dark-section .section-en { color: #fff; }
.dark-section .section-jp { color: rgba(255, 255, 255, 0.6); }

.dark-section-inner { max-width: 1400px; margin: 0 auto; }

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

.property-card {
    cursor: pointer;
    background: transparent;
    display: block;
    text-decoration: none;
    color: inherit;
}

.property-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 24px;
    position: relative;
}

.property-img {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)),
        linear-gradient(135deg, #6e6862, #3a3530);
    background-size: cover;
    background-position: center;
    transition: transform 1.4s var(--ease-out);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    letter-spacing: 0.3em;
}

.property-card:hover .property-img { transform: scale(1.05); }

.property-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    padding: 6px 14px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    letter-spacing: 0.3em;
}

.property-card h4 {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
    color: #fff;
}

.property-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.property-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2;
    letter-spacing: 0.1em;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============================================================
   お知らせ
   ============================================================ */
.news-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
}

.news-list { border-top: 1px solid var(--line); }

.news-item {
    display: grid;
    grid-template-columns: 130px 90px 1fr auto;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: padding 0.5s var(--ease);
    text-decoration: none;
    color: var(--ink);
}

.news-item:hover { padding-left: 20px; }

.news-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--gold-deep);
}

.news-cat {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--sub);
    text-transform: uppercase;
}

.news-title { font-size: 14px; letter-spacing: 0.1em; color: var(--ink); }

.news-arrow {
    font-family: 'Cormorant Garamond', serif;
    color: var(--sub);
    font-size: 13px;
    transition: transform 0.5s var(--ease), color 0.5s var(--ease);
}

.news-item:hover .news-arrow { transform: translateX(8px); color: var(--gold-deep); }

/* ============================================================
   CTAセクション
   ============================================================ */
.cta-section {
    position: relative;
    padding: 180px 80px;
    background: linear-gradient(135deg, #b8b4ab, #5e5b54);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 35, 58, 0.85), rgba(20, 35, 58, 0.95));
    z-index: 1;
    pointer-events: none;
}

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

.cta-section .en-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 30px;
}

.cta-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 14px;
    letter-spacing: 0.25em;
    margin-bottom: 50px;
    line-height: 2.4;
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
    display: inline-block;
    padding: 22px 70px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.4em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.6s var(--ease);
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s var(--ease-out);
    z-index: -1;
}

.btn:hover::before { transform: scaleX(1); }
.btn:hover { border-color: var(--gold); }

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

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

/* ============================================================
   ページヘッダー（内部ページ）
   ============================================================ */
.page-header {
    height: 480px;
    background:
        linear-gradient(180deg, rgba(20, 35, 58, 0.3), rgba(20, 35, 58, 0.55)),
        linear-gradient(135deg, #b8b4ab, #5e5b54);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 0 80px;
    position: relative;
    padding-top: 80px;
}

.page-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-header .en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 0.25em;
}

.breadcrumb {
    position: absolute;
    bottom: 40px;
    left: 80px;
    right: 80px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.4s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ============================================================
   会社概要ページ
   ============================================================ */
.greeting {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 100px;
    align-items: start;
}

.greeting-img {
    aspect-ratio: 3 / 4;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2)),
        linear-gradient(135deg, #d8d4cb, #8c887e);
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
}

.greeting-text .lead {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 2;
    margin-bottom: 50px;
    color: var(--ink);
}

.greeting-text p {
    font-size: 14px;
    color: var(--sub);
    line-height: 2.5;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.greeting-sign { margin-top: 50px; text-align: right; font-size: 14px; letter-spacing: 0.2em; }

.greeting-sign .role {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 8px;
}

.philosophy {
    background: var(--bg);
    padding: 180px 80px;
    text-align: center;
}

.philosophy-inner { max-width: 900px; margin: 0 auto; }

.philosophy .vision {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0.25em;
    line-height: 2;
    margin: 50px 0;
    color: var(--ink);
}

.philosophy .vision .gold { color: var(--gold-deep); }

.philosophy p {
    font-size: 14px;
    color: var(--sub);
    line-height: 2.6;
    letter-spacing: 0.15em;
    max-width: 640px;
    margin: 0 auto;
}

.info-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; }

.info-table tr { border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease); }
.info-table tr:hover { background: var(--bg); }
.info-table tr:first-child { border-top: 1px solid var(--line); }

.info-table th,
.info-table td { padding: 28px 20px; text-align: left; font-weight: 400; vertical-align: top; }

.info-table th { width: 28%; font-size: 12px; letter-spacing: 0.3em; color: var(--gold-deep); }

.info-table td { font-size: 14px; letter-spacing: 0.1em; color: var(--ink); }

.map-area {
    width: 100%;
    height: 480px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15)),
        linear-gradient(135deg, #dedacf, #b0aca2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    overflow: hidden;
}

.map-area iframe { width: 100%; height: 100%; border: 0; }

.access-info { text-align: center; margin-top: 50px; font-size: 14px; letter-spacing: 0.15em; line-height: 2.4; }

.access-info strong {
    display: block;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.25em;
    color: var(--gold-deep);
    margin-bottom: 12px;
}

/* ============================================================
   事業内容ページ
   ============================================================ */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.strength-item {
    background: var(--paper);
    padding: 70px 40px;
    text-align: center;
    transition: background 0.6s var(--ease);
}

.strength-item:hover { background: var(--bg); }

.strength-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.strength-item h4 { font-size: 20px; font-weight: 400; letter-spacing: 0.25em; margin-bottom: 24px; }
.strength-item p { font-size: 13px; color: var(--sub); line-height: 2.2; letter-spacing: 0.1em; }

.business-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 140px;
    align-items: center;
}

.business-detail:last-child { margin-bottom: 0; }

.business-detail.reverse .business-img-wrap { order: 2; }

.business-img-wrap { aspect-ratio: 5 / 4; overflow: hidden; }

.business-img {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2)),
        linear-gradient(135deg, #c8c4bb, #6e6862);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    transition: transform 1.4s var(--ease-out);
}

.business-img-wrap:hover .business-img { transform: scale(1.05); }

.business-text .label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 14px;
}

.business-text .label::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

.business-text h3 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin: 24px 0 36px;
    line-height: 1.5;
}

.business-text p { font-size: 14px; color: var(--sub); line-height: 2.4; letter-spacing: 0.1em; margin-bottom: 20px; }

/* ============================================================
   お問い合わせページ（CF7対応）
   ============================================================ */
.form-wrap { max-width: 760px; margin: 0 auto; }

.form-intro {
    text-align: center;
    margin-bottom: 80px;
    font-size: 14px;
    line-height: 2.4;
    letter-spacing: 0.15em;
    color: var(--sub);
}

/* CF7フォームのスタイルリセット＆カスタマイズ */
.wpcf7 fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.wpcf7 form .wpcf7-form-control-wrap { display: block; }

.wpcf7 p { margin-bottom: 40px; }

.wpcf7 p label {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--ink);
    line-height: 2.4;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    padding: 18px 4px;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
    transition: border-color 0.5s var(--ease);
    border-radius: 0;
    -webkit-appearance: none;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    outline: none;
    border-color: var(--gold);
}

.wpcf7-textarea { min-height: 160px; resize: vertical; }

.wpcf7-radio .wpcf7-list-item { display: inline-block; margin-right: 32px; }

.wpcf7-radio .wpcf7-list-item label {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--sub);
    margin-bottom: 0;
}

/* acceptance の wpcf7-form-control-wrap は block にしない */
.wpcf7 form .wpcf7-form-control-wrap:has(.wpcf7-acceptance) {
    display: inline-flex !important;
    width: auto;
    vertical-align: middle;
}

/* p タグ内でチェックボックスとテキストを横並び・中央揃え */
.wpcf7 p:has(.wpcf7-acceptance) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--sub);
}

.wpcf7-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--gold);
    margin: 0;
}

/* ============================================================
   サンクスページ
   ============================================================ */
.thanks-wrap {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 80px 0;
}

.thanks-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 30px;
}

.thanks-heading {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.25em;
    margin-bottom: 40px;
    line-height: 1.8;
}

.thanks-body {
    font-size: 14px;
    color: var(--sub);
    line-height: 2.4;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
}

.wpcf7 p.submit-area { text-align: center; }

.wpcf7-submit {
    display: inline-block;
    padding: 22px 70px;
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.4em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.6s var(--ease);
    width: auto;
    border-radius: 0;
}

.wpcf7-submit:hover { background: var(--ink); color: #fff; }

.wpcf7-not-valid-tip {
    font-size: 11px;
    color: #c0392b;
    margin-top: 6px;
    display: block;
}

.wpcf7-response-output {
    display: none;
    margin-top: 30px;
    padding: 16px 20px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-align: center;
    border: 1px solid var(--line);
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    display: block;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #27ae60;
    color: #27ae60;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #c0392b;
    color: #c0392b;
}

/* プライバシーポリシー欄 */
.privacy-box {
    background: var(--bg);
    padding: 32px;
    font-size: 12px;
    color: var(--sub);
    margin: 50px 0;
    max-height: 180px;
    overflow-y: auto;
    line-height: 2;
    letter-spacing: 0.1em;
}

.privacy-box strong {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-deep);
    letter-spacing: 0.3em;
    font-weight: 400;
}

.required {
    font-family: 'Cormorant Garamond', serif;
    background: var(--gold);
    color: #fff;
    font-size: 9px;
    padding: 3px 10px;
    letter-spacing: 0.25em;
}

.cf7-notice {
    text-align: center;
    color: var(--sub);
    font-size: 13px;
    letter-spacing: 0.1em;
    padding: 60px 0;
}

/* ============================================================
   投稿記事（single.php）
   ============================================================ */
.single-post { max-width: 860px; margin: 0 auto; }

.single-post-header { margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.single-post-title { font-size: 28px; font-weight: 400; letter-spacing: 0.18em; line-height: 1.8; }

.single-post-content {
    font-size: 15px;
    line-height: 2.4;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.single-post-content p { margin-bottom: 24px; }
.single-post-content img { max-width: 100%; height: auto; }

.single-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid var(--line);
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
    flex: 1;
    max-width: 45%;
}

.post-nav-link.next { text-align: right; align-items: flex-end; }

.nav-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--gold);
}

.nav-title { font-size: 13px; letter-spacing: 0.08em; color: var(--sub); }

/* ============================================================
   物件詳細（single-property.php）
   ============================================================ */
.property-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.property-detail-img-wrap { position: relative; overflow: hidden; }

.property-detail-img { width: 100%; height: auto; display: block; }

.property-detail-img-dummy {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #6e6862, #3a3530);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    position: relative;
}

.property-tag-detail { top: 24px; left: 24px; }

.property-detail-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    line-height: 1.6;
}

.property-price-large { font-size: 36px; margin-bottom: 30px; }

.property-detail-meta { margin-bottom: 30px; }

.property-detail-text {
    font-size: 14px;
    color: var(--sub);
    line-height: 2.4;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--bg);
}

.property-detail-excerpt { font-size: 14px; color: var(--sub); line-height: 2.4; margin-bottom: 40px; }

.property-detail-cta { margin-top: 40px; }

/* ============================================================
   ページネーション
   ============================================================ */
.pagination-wrap { margin-top: 80px; text-align: center; }

.pagination { display: inline-block; }

.pagination ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination ul li { }

.pagination ul li a,
.pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--ink);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: all 0.4s var(--ease);
}

.pagination ul li a:hover { border-color: var(--gold); color: var(--gold); }
.pagination ul li .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   フッター
   ============================================================ */
footer {
    background: #0f1a2c;
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 80px 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-jp { color: #fff; font-size: 18px; letter-spacing: 0.35em; margin-bottom: 6px; }

.footer-logo-en {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.45em;
    margin-bottom: 28px;
}

.footer-address { font-size: 12px; line-height: 2.2; letter-spacing: 0.1em; }

footer h5 {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.4em;
    margin-bottom: 28px;
    font-weight: 400;
}

footer ul { list-style: none; }

footer ul li { margin-bottom: 14px; }

footer ul li a {
    font-size: 12px;
    letter-spacing: 0.15em;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.4s var(--ease), padding 0.4s var(--ease);
    display: inline-block;
}

footer ul li a:hover { color: var(--gold); padding-left: 8px; }

.copyright {
    text-align: center;
    padding-top: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   スクロールアニメーション
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}

.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1200px) {
    .header-inner { padding: 20px 40px; }
    nav ul { gap: 28px; }
    section { padding: 120px 40px; }
    .dark-section, .cta-section { padding: 120px 40px; }
    .intro, .philosophy { padding: 120px 40px; }
}

@media (max-width: 968px) {
    /* ヘッダー */
    .header-inner { padding: 18px 24px; }
    #global-nav { display: none; }
    .header-cta { display: none; }
    .hamburger { display: flex; }

    /* ヒーロー */
    .hero-inner,
    .hero-meta { padding: 0 24px; }
    .hero-meta { left: 24px; right: 24px; }
    .hero h1 { font-size: 30px; letter-spacing: 0.12em; }
    .hero-tagline { font-size: 12px; }
    .hero-sub { font-size: 13px; }

    /* セクション */
    section { padding: 80px 24px; }
    .intro, .philosophy, .dark-section, .cta-section { padding: 80px 24px; }

    /* ページヘッダー */
    .page-header { padding: 0 24px; height: 320px; padding-top: 70px; }
    .page-header h1 { font-size: 32px; letter-spacing: 0.18em; }
    .breadcrumb { left: 24px; right: 24px; }

    /* セクション見出し */
    .section-en { font-size: 34px; }
    .section-head { margin-bottom: 50px; }

    /* グリッド */
    .service-grid,
    .property-grid,
    .strength-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr 1fr; }

    /* 挨拶・ビジネス */
    .greeting,
    .business-detail,
    .news-wrap { grid-template-columns: 1fr; gap: 40px; }

    .business-detail.reverse .business-img-wrap { order: 0; }
    .business-detail { margin-bottom: 80px; }

    /* 物件詳細 */
    .property-detail { grid-template-columns: 1fr; gap: 40px; }

    /* 記事ナビ */
    .single-post-nav { flex-direction: column; }
    .post-nav-link.next { align-items: flex-start; text-align: left; }

    /* フッター */
    footer { padding: 60px 24px 30px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }

    /* CTA */
    .cta-section h3 { font-size: 40px; }

    /* ニュース */
    .news-item { grid-template-columns: auto auto 1fr auto; gap: 12px; }
    .news-date { font-size: 12px; }
    .news-title { font-size: 13px; }

    /* お問い合わせ */
    .form-wrap { padding: 0 10px; }

    /* intro */
    .intro h2 { font-size: 26px; }
    .philosophy .vision { font-size: 24px; }
}

@media (max-width: 600px) {
    .news-item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
    .footer-inner { grid-template-columns: 1fr; }
    .btn { padding: 18px 40px; font-size: 12px; }
    .hero h1 { font-size: 24px; }
    .cta-section h3 { font-size: 32px; }
}
