/*
Theme Name: Legit House Theme
Author: 本間 洋
Description: 不動産意思決定支援、歯科医院開業サポート、投資家向け物件仲介の専門サイト。
Version: 1.0.0
*/

:root {
    --color-primary: #2d2d2d;
    /* インダストリアルなチャコール - 知性 */
    --color-secondary: #f2f2f2;
    /* ライトグレー - 空間の広がり */
    --color-accent: #a0522d;
    /* テラコッタ - レンガの温かみ */
    --color-text: #333333;
    --color-bg: #ffffff;
    --color-dark-bg: #111111;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --container-width: 1300px;
    /* 少し広めに設定 */
}

/* --- Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-bg);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- Header --- */
.site-header {
    height: 80px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-logo {
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.site-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

html body .site-header .header-inner .site-logo img {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    display: block;
    transition: opacity 0.3s ease;
}

.site-logo a:hover img {
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    position: relative;
    padding: 10px 0;
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
    color: #c9a063;
    /* ゴールド系アクセント */
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c9a063;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: #000;
    margin: 6px 0;
    transition: 0.4s;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    /* 高さ100%に拡大 */
    display: flex;
    align-items: center;
    justify-content: center;
    /* 中央配置 */
    text-align: center;
    /* テキスト中央揃え */
    position: relative;
    overflow: hidden;
    margin-top: 0;
    /* ヘッダー分を考慮した調整は後ほど */
}

/* 背景画像の上にオーバーレイを重ねる */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* 少し暗めのオーバーレイ */
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease-out;
}

.hero:hover .hero-image {
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #ffffff;
    /* 文字色を白に */
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    color: #ffffff;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.6rem;
    letter-spacing: 0.25em;
    background: rgba(160, 82, 45, 0.95);
    /* テラコッタの背景 */
    display: inline-block;
    padding: 12px 35px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Section Commons --- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.25rem;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

/* --- Concept --- */
.concept-section {
    background-color: var(--color-secondary);
    text-align: center;
}

.concept-text {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3カラム固定でバランスを最適化 */
    gap: 40px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* モバイル・タブレットでは1カラム */
    }
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    border-bottom: 2px solid transparent;
}

.service-card:hover .btn-text {
    border-bottom-color: var(--color-accent);
}

/* --- Case Study --- */
.case-study-section {
    background-color: #f5f5f5;
    /* 落ち着いたグレー背景 */
}

.section-subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #666;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.case-card {
    background: #ffffff;
    border-radius: 4px;
    /* シャープな印象に */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.case-image {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.case-content {
    padding: 30px;
}

.case-category {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 15px;
}

.case-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 25px;
}

.case-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
}

.case-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* --- Decision Base Theme (MUJI Minimal) --- */
.decision-theme {
    background-color: #f7f7f7;
    color: #333;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
}

.db-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.db-title {
    font-size: 3rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.db-subtitle {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 0.05em;
}

.btn-db-primary {
    background: #333;
    color: #fff;
    padding: 20px 45px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.btn-db-primary:hover {
    background: #000;
    transform: translateY(-2px);
}

.serif {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
}

.line-h-2 {
    line-height: 2.2;
}

.text-gray {
    color: #888;
}

.silver-bg {
    background-color: #efefef;
}

/* Logic Diagram */
.db-logic-diagram {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diagram-node {
    padding: 15px 35px;
    border: 1px solid #333;
    background: #fff;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.diagram-connector {
    width: 1px;
    height: 40px;
    background: #333;
}

.diagram-branches {
    display: flex;
    width: 100%;
    justify-content: center;
    position: relative;
}

.diagram-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 1px;
    background: #333;
}

.branch {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branch-line {
    width: 1px;
    height: 30px;
    background: #333;
}

/* Plan Card */
.db-plan-card {
    background: #fff;
    padding: 60px;
    max-width: 700px;
    margin: 50px auto 0;
    border: 1px solid #eee;
}

.plan-price {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-family: var(--font-primary);
}

.plan-price span {
    font-size: 3.5rem;
    font-weight: 700;
}

.plan-note {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* FAQ */
.faq-item {
    margin-bottom: 40px;
}

.faq-q {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.faq-q::before {
    content: 'Q.';
    margin-right: 10px;
    color: #888;
}

.faq-a {
    padding-left: 30px;
    color: #666;
    line-height: 1.8;
}

/* Decision Base Form */
.db-form-container {
    background: #fff;
    padding: 60px;
}

.btn-db-submit {
    background: #000;
    color: #fff;
    padding: 22px 50px;
    width: 100%;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
}

@media (max-width: 768px) {
    .db-title {
        font-size: 2rem;
    }

    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .db-form-container {
        padding: 30px 20px;
    }

    .check-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Detail Common Fixes */
.service-detail-page {
    position: relative;
    overflow: hidden;
}

/* --- Service Detail Pages (Dental etc.) --- */
.service-detail-page .section-padding {
    padding: 120px 0;
}

.dental-hero {
    height: 75vh;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.dental-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.dental-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.9));
    /* ホワイトグラデーション */
    z-index: 2;
}

.dental-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    padding: 0 40px;
}

.dental-hero .page-title {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    color: #333333;
    /* ダークグレー */
    margin-bottom: 45px;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1.3;
}

.dental-hero .highlight {
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 5px;
}

.dental-hero .page-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 2.2;
    max-width: 850px;
    margin: 0 auto;
    letter-spacing: 0.05em;
    text-align: justify;
}

/* Utilities */
.white-bg {
    background-color: #ffffff;
}

.light-gray-bg {
    background-color: #f9f9f9;
}

.text-center {
    text-align: center;
}

.margin-b-40 {
    margin-bottom: 40px;
}

.sub-label {
    display: block;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.title-l {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 35px;
    line-height: 1.3;
}

.description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

/* Grid for Details */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.align-center {
    align-items: center;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

/* Recruitment */
.point-item h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--color-primary);
}

.cta-area {
    margin-top: 80px;
    padding: 80px;
    background: #fff;
    border: 1px solid #eee;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    padding: 20px 50px;
    display: inline-block;
    margin-top: 30px;
    font-weight: 700;
    transition: 0.3s;
    letter-spacing: 0.1em;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    background-image: url('images/dental_hero_clean_modern_clinic_1771754191697.png');
}

/* Story item (Detailed) */
.story-item {
    display: flex;
    gap: 80px;
    align-items: center;
}

.story-image {
    flex: 0 0 500px;
}

.story-image img {
    width: 100%;
    border-radius: 4px;
}

.story-text h3 {
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-size: 1.8rem;
}

.case-tag {
    display: inline-block;
    background: var(--color-secondary);
    padding: 5px 15px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: #666;
}

.story-meta {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 20px;
}

/* --- Portal CTA --- */
.portal-cta-section {
    padding: 120px 0;
    background: var(--color-dark-bg);
    color: #fff;
    text-align: center;
}

.portal-cta-section .cta-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.portal-cta-section .cta-lead {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cta-box {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: 0.3s;
}

.cta-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
}

.cta-box h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.cta-box .btn-cta {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #fff;
    color: #fff;
    align-items: center;
    color: #ccc;
    font-size: 0.95rem;
}

.demand-detail .size {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 2px;
    color: var(--color-accent);
    font-weight: 700;
}

.demand-note {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.8;
}

/* Final CTA Area */
.cta-area-final {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid #eee;
}

/* --- Investment Page Theme (Navy, Charcoal, Gold) --- */
.investment-theme {
    --color-inv-navy: #12244a;
    --color-inv-dark: #1a1a1a;
    --color-inv-gold: #c9a063;
}

.investment-dark-bg {
    background-color: var(--color-inv-dark);
}

.gold {
    color: var(--color-inv-gold);
}

.gold-opacity {
    color: rgba(201, 160, 99, 0.7);
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.7);
}

.investment-hero {
    height: 80vh;
}

.investment-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    /* より薄く、上部に重点を置いたオーバーレイ */
}

.investment-hero .page-title {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-weight: 500;
    /* 文字に芯を持たせるため少し太く */
    font-size: 3.8rem;
    letter-spacing: 0.25em;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    /* 日中背景でも浮き上がらせる強い影 */
    line-height: 1.4;
}

.investment-hero .page-subtitle {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    letter-spacing: 0.1em;
    color: #fff;
    margin-top: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* Strength Cards */
.strength-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.strength-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-inv-gold);
    transform: translateY(-10px);
}

.strength-card .card-icon {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-inv-gold);
    margin-bottom: 30px;
    letter-spacing: 0.2em;
    display: inline-block;
    border-bottom: 1px solid var(--color-inv-gold);
}

.strength-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.strength-card h3 span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-inv-gold);
    margin-top: 5px;
    letter-spacing: 0.1em;
}

.strength-card p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.8;
}

/* Commitment */
.commitment-box {
    padding: 100px 0;
}

.commitment-box .title-l {
    margin-bottom: 30px;
}

.description.large {
    font-size: 1.25rem;
    line-height: 2.2;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Investment Form */
.investment-form-container {
    background: #fff;
    padding: 60px;
    border-top: 4px solid var(--color-inv-gold);
}

.investment-form label {
    color: var(--color-inv-dark);
}

.investment-form input,
.investment-form select {
    border: 1px solid #eee;
    background: #fdfdfd;
}

.investment-form select {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
}

.btn-gold {
    background: var(--color-inv-gold);
    color: #fff;
    padding: 22px 55px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: #b38d54;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 160, 99, 0.3);
}

@media (max-width: 992px) {
    .investment-hero {
        height: 70vh;
    }

    .investment-form-container {
        padding: 40px 20px;
    }

    .description.large {
        font-size: 1.1rem;
    }
}

/* Existing Diagnosis Form Styles (re-pushed for position adjustment) */
.container.narrow {
    max-width: 850px;
}

.diagnosis-form-container {
    background: #fff;
    padding: 60px;
    border: 1px solid #eee;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

/* Services Grid Update: 3col Uniform */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3カラム均等 */
    gap: 0;
    /* 境界線を密着させる */
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

.service-card {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.service-card .card-content {
    padding: 60px 45px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 25px;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
}

.service-card h3 span {
    font-size: 0.9rem;
    font-family: var(--font-primary);
    display: block;
    color: #888;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

.service-lead {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.6;
}

/* Decision Base Specific: Minimal & Quiet */
.card-minimal .card-content {
    background-color: #fcfcfc;
    padding: 80px 55px;
    /* 余白を多めに */
}

.card-minimal .card-image {
    height: 100px;
    /* あえて画像を小さく（または背景色のみに） */
    background-color: #f0f0f0;
}

.card-minimal h3,
.card-minimal .service-lead {
    font-weight: 500;
    /* より細身に */
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* About Us Section */
.about-section {
    padding: 120px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto 100px;
}

.philosophy-content .title-l {
    margin-bottom: 40px;
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.philosophy-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
    font-family: "Shippori Mincho", serif;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 100px;
    margin-top: 60px;
}

/* Founder Profile */
.founder-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.founder-image {
    flex: 0 0 320px;
}

.founder-image img {
    width: 100%;
    height: auto;
    filter: brightness(0.95);
}

.founder-info {
    flex: 1;
}

.founder-name {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-family: "Shippori Mincho", serif;
}

.founder-name span {
    font-size: 0.9rem;
    color: #888;
    margin-left: 15px;
    font-family: var(--font-primary);
    letter-spacing: 0.1em;
}

.founder-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.founder-text p {
    margin-bottom: 20px;
}

/* Company Info Table */
.company-info {
    border-top: 1px solid #eee;
    padding-top: 80px;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-family: "Shippori Mincho", serif;
}

.minimal-table {
    width: 100%;
    border-collapse: collapse;
}

.minimal-table th,
.minimal-table td {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    font-size: 1rem;
}

.minimal-table th {
    width: 200px;
    font-weight: 500;
    color: #333;
    font-family: "Shippori Mincho", serif;
}

.minimal-table td {
    color: #666;
}

.minimal-table td a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.minimal-table td a:hover {
    color: #000;
}

@media (max-width: 992px) {
    .founder-flex {
        flex-direction: column;
        gap: 40px;
    }

    .founder-image {
        flex: 0 0 auto;
        max-width: 400px;
    }

    .minimal-table th {
        width: 120px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-item.full-width {
    grid-column: span 2;
}

.form-item label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.form-item input[type="text"],
.form-item textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fdfdfd;
    font-size: 1rem;
    transition: 0.3s;
}

.form-item input[type="text"]:focus,
.form-item textarea:focus {
    border-color: var(--color-accent);
    background: #fff;
    outline: none;
}

.form-item textarea {
    height: 120px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-group label {
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.9rem;
    padding: 10px 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    transition: 0.3s;
}

.radio-group label:hover {
    background: #eee;
}

.radio-group input[type="radio"] {
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 15px;
}

.contact-grid input:last-child {
    grid-column: span 2;
}

.form-footer {
    margin-top: 50px;
}

.privacy-note {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 22px;
}

@media (max-width: 992px) {
    .dental-hero .page-title {
        font-size: 2.8rem;
    }

    .grid-2col,
    .grid-3col,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-item {
        flex-direction: column;
        text-align: center;
    }

    .story-image {
        flex: none;
        width: 100%;
    }

    .condition-list li {
        flex-direction: column;
        gap: 10px;
    }

    .portal-cta-section {
        padding: 80px 0;
    }

    .standard-item {
        flex-direction: column;
        gap: 15px;
    }

    .demand-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .area-tag {
        flex: none;
    }

    .demand-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .diagnosis-form-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-item.full-width {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid input:last-child {
        grid-column: span 1;
    }
}

/* --- Footer --- */
.site-footer {
    padding: 40px 0;
    background: #f8f8f8;
    text-align: center;
    border-top: 1px solid #eee;
}

.site-footer p {
    font-size: 0.85rem;
    color: #999;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .main-nav {
        display: none;
    }
}

/* --- Investment Page (MUJI Minimalism) --- */
.investment-page {
    background-color: #ffffff;
    color: #333333;
}

.investment-page h1,
.investment-page h2,
.investment-page h3 {
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #333333;
}

.gold-text {
    color: #B89355 !important;
}

.border-top-gold {
    border-top: 1px solid #B89355;
}

.investment-hero {
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    color: #ffffff;
    text-align: left;
}

/* investment-page IDを指定することで確実にこのページだけに適用 */
#investment-page .investment-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center 80% !important;
    background-size: cover !important;
    z-index: 1;
}

.investment-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.investment-hero .hero-content {
    position: relative;
    z-index: 3;
}

.investment-hero .page-title {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #ffffff;
}

.investment-hero .page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
    color: #ffffff;
}

.btn-gold-outline {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid #B89355;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.btn-gold-outline:hover {
    background-color: #B89355;
    color: #ffffff;
}

.strength-card {
    padding: 80px 40px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-num {
    display: block;
    font-size: 5rem;
    color: rgba(201, 160, 99, 0.15);
    font-family: "Shippori Mincho", serif;
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 1;
    font-weight: 700;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333333;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.card-text {
    line-height: 1.8;
    color: #666666;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.statement-section {
    background-color: #f9f9f9;
}

.statement-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
}

.evaluation-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.eval-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
}

.eval-num {
    color: #B89355;
    font-weight: 500;
}

.eval-text {
    font-size: 1.2rem;
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.column-item {
    display: block;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.column-item:hover {
    border-color: #B89355;
    transform: translateY(-5px);
}

.column-tag {
    font-size: 0.8rem;
    color: #999999;
    display: block;
    margin-bottom: 12px;
}

.column-title {
    font-size: 1.1rem;
    line-height: 1.5;
}

.investment-form-container {
    padding: 60px;
    background: #ffffff;
    border: 1px solid #eeeeee;
}

@media (max-width: 768px) {
    .investment-hero .page-title {
        font-size: 2rem;
    }

    .investment-hero {
        height: auto;
        padding: 100px 0;
    }
}

/* --- Medical Realestate Page (MUJI & Clean Medical) --- */
.medical-realestate-page {
    background-color: #ffffff;
    color: #333333;
}

.medical-realestate-page h1,
.medical-realestate-page h2,
.medical-realestate-page h3 {
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #333333;
}

.navy-text {
    color: #001f3f !important;
}

.bg-light-blue {
    background-color: #f0f4f8;
}

.border-top-navy {
    border-top: 1px solid #001f3f;
}

.dental-hero {
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    color: #ffffff;
    text-align: left;
}

.dental-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.dental-hero .hero-overlay,
.decision-base-hero .hero-overlay,
.investment-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.dental-hero .hero-content {
    position: relative;
    z-index: 3;
}

.dental-hero .page-title {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #ffffff;
}

.dental-hero .page-subtitle,
.decision-base-hero .page-subtitle,
.investment-hero .page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
    color: #ffffff;
}

.btn-navy {
    display: inline-block;
    padding: 16px 40px;
    background-color: #001f3f;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.btn-navy:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

.stance-message {
    padding: 40px;
    background: #fdfdfd;
    border-left: 4px solid #001f3f;
}

.standard-card {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
    height: 100%;
}

.standard-card:hover {
    border-color: #001f3f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dental-form-container {
    padding-top: 40px;
}

.border-top-navy {
    border-top: 1px solid #001f3f;
}

@media (max-width: 768px) {
    .dental-hero .page-title {
        font-size: 2rem;
    }

    .dental-hero {
        height: auto;
        padding: 100px 0;
    }
}

/* --- Decision Base Page (MUJI Pure Minimalism) --- */
.decision-base-page {
    background-color: #ffffff;
    color: #333333;
}

.decision-base-page .section-padding {
    padding: 120px 0;
}

.decision-base-page .pt-100 {
    padding-top: 100px !important;
}

.decision-base-page .section-header .description {
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 2;
    color: #666666;
}

.decision-base-page h1,
.decision-base-page h2,
.decision-base-page h3 {
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #333333;
}

.decision-base-hero {
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: #ffffff;
    text-align: left;
}

.decision-base-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.decision-base-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.decision-base-hero .hero-content {
    position: relative;
    z-index: 3;
}

.decision-base-hero .hero-statement {
    font-size: 1.1rem;
    line-height: 2;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0.9;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #eeeeee;
}

.status-list li {
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
}

.status-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #999999;
}

.cost-card {
    padding: 80px 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cost-num {
    display: block;
    font-size: 5rem;
    color: rgba(201, 160, 99, 0.25);
    /* ゴールドアクセントを少し強めに設定 */
    margin-bottom: 10px;
    font-family: "Shippori Mincho", serif;
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 1;
    font-weight: 700;
}

.cost-title {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.cost-text {
    position: relative;
    z-index: 2;
}

.process-layout {
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
}

.process-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    filter: none;
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.price-section {
    padding: 180px 0 !important;
}

.price-box {
    padding: 100px 40px;
    border: 1px solid #333333;
    max-width: 600px;
    margin: 0 auto;
}

.price-value {
    font-size: 2rem;
    font-weight: 500;
}

.faq-item {
    margin-bottom: 40px;
}

.faq-q {
    font-weight: 500;
    margin-bottom: 10px;
}

.faq-a {
    color: #666666;
    padding-left: 20px;
}

/* MUJI Style Form Customization */
.decision-form-container input[type="text"],
.decision-form-container input[type="email"],
.decision-form-container textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dddddd;
    background: #fdfdfd;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s;
}

.decision-form-container input:focus,
.decision-form-container textarea:focus,
.dental-form-container input:focus,
.dental-form-container textarea:focus {
    border-color: #001f3f;
}

.dental-form-container input[type="text"],
.dental-form-container input[type="email"],
.dental-form-container textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dddddd;
    background: #fdfdfd;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s;
}

.dental-form-container input[type="submit"] {
    background: #001f3f;
    color: #ffffff;
    padding: 20px 60px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.dental-form-container input[type="submit"]:hover {
    opacity: 0.8;
}

.decision-form-container input[type="submit"] {
    background: #333333;
    color: #ffffff;
    padding: 20px 60px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.decision-form-container input[type="submit"]:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .decision-base-hero {
        height: auto;
        padding: 120px 0;
    }
}

/* --- Front Page (MUJI Silent Design) --- */
.front-page .section-padding {
    padding: 120px 0;
}

.top-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.top-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/top-hero.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.top-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content-center {
    position: relative;
    z-index: 3;
}

.top-logo {
    max-width: 180px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hero-main-title {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    /* テキストストロークを使用して物理的に太さを細く調整 (2px -> 1.3px) */
    -webkit-text-stroke: 1.3px #ffffff;
    paint-order: stroke fill;
}

.hero-sub-copy {
    font-size: 1.8rem;
    letter-spacing: 0.3em;
    opacity: 0.8;
}

.expertise-grid {
    gap: 0;
}

.expertise-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

.expertise-card:hover {
    border-color: #333333;
    z-index: 10;
}

.card-thumb {
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.expertise-card:hover .card-thumb img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.card-body {
    padding: 50px 40px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 500;
}

.card-title small {
    font-size: 0.8rem;
    color: #999999;
    font-weight: 400;
    display: block;
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.card-lead {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #666666;
}

.philosophy-body p {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #333333;
}

.ceo-body p {
    font-size: 1.25rem;
    line-height: 2.5;
    color: #333333;
}

.ceo-signature {
    margin-top: 60px;
}

.signature-name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.bg-dark {
    background-color: #111111;
}

.footer-cta {
    padding: 140px 0;
}

.color-white {
    color: #ffffff !important;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

/* --- About Page (Corporate & Profile) --- */
.about-page .section-padding {
    padding: 120px 0;
}

.about-philosophy-section {
    padding-top: 220px !important;
    /* 標準(120px) + 調整分(100px) */
}

.about-hero {
    height: 40vh;
    min-height: 300px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    position: relative;
    color: #ffffff;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

.signature-name-l {
    font-size: 2.2rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    color: #333333;
}

.signature-name-l .en {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 10px;
}

.profile-body {
    font-size: 1.15rem;
    line-height: 2.2;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
}

.company-info-box {
    border: 1px solid #eeeeee;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: 30%;
    font-weight: 500;
    color: #999999;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.company-table td {
    color: #333333;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .signature-name-l {
        font-size: 1.8rem;
    }

    .company-table th {
        width: 100%;
        display: block;
        padding: 10px 0 5px;
        border-bottom: none;
    }

    .company-table td {
        width: 100%;
        display: block;
        padding: 0 0 15px;
    }
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 24px 60px;
    font-size: 1.1rem;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

.minimal-table.thin-line {
    border-collapse: collapse;
    width: 100%;
}

.minimal-table.thin-line tr {
    border-bottom: 1px solid #f0f0f0;
}

.minimal-table.thin-line tr:first-child {
    border-top: 1px solid #f0f0f0;
}

.minimal-table.thin-line th,
.minimal-table.thin-line td {
    padding: 35px 20px;
    text-align: left;
    font-weight: 400;
}

.minimal-table.thin-line th {
    width: 25%;
    color: #999999;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 3.5rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn-outline-white {
        width: 100%;
        max-width: 320px;
    }

    .front-page .section-padding {
        padding: 80px 0;
    }
}

/* --- Refined Post Hero Section --- */
.post-hero .post-hero-title,
.post-hero .post-meta-top {
    color: #ffffff !important;
}

.post-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-align: center;
}

.post-hero.no-thumbnail {
    background-color: #2d2d2d;
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* コントラスト確保のため50%以上に設定 */
    z-index: 1;
}

.post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.post-hero-title {
    font-size: 3rem;
    line-height: 1.3;
    margin-top: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.post-meta-top {
    font-size: 1rem;
    letter-spacing: 0.1em;
}

/* --- Refined Post Article Body --- */
.post-article-body {
    max-width: 760px;
    margin: 80px auto;
    color: #333;
}

/* 1. 記事本文のリンクを自然な青に */
.post-article-body a {
    color: #2a6db0;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    text-decoration-thickness: 1px;
}

/* 2. ホバー時は少しだけ濃く */
.post-article-body a:hover {
    color: #1f4f80;
}

/* 3. 記事末尾の回遊リンクは少しだけ余白を整える */
.post-article-body .next-article,
.post-article-body .series-footer {
    margin-top: 3.5rem;
}

.post-article-body p {
    font-size: 1.125rem !important;
    line-height: 2.2 !important;
    margin-bottom: 2.8rem !important;
    text-align: justify !important;
}

/* Lead Paragraph (First Paragraph) */
.post-article-body>p:first-of-type,
.post-article-body .post-lead {
    font-size: 1.25rem !important;
    font-family: "Shippori Mincho", "Noto Serif JP", serif !important;
    line-height: 2.2 !important;
    color: #555555 !important;
}

.post-article-body>p:first-of-type {
    margin-bottom: 3rem !important;
}

/* Headings */
.post-article-body h2.wp-block-heading,
.post-article-body h2 {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 2rem;
    font-weight: 500;
    margin-top: 6rem !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.4;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #eeeeee !important;
    padding: 0 0 15px 0;
}

.post-article-body h3.wp-block-heading,
.post-article-body h3 {
    font-size: 1.4rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    border-left: 4px solid var(--color-accent);
    padding-left: 1.2rem;
}

/* List Items */
.post-article-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

.post-article-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.post-article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background-color: #bbbbbb;
    /* 控えめなグレーの四角マーカー */
}

/* Emphasis */
.post-article-body strong,
.post-article-body b {
    font-weight: 700 !important;
    color: #000000 !important;
    /* 黒色を強制 */
    background: linear-gradient(transparent 70%, #f0f0f0 70%) !important;
    /* 薄いグレーのマーカー線 */
    padding: 0 2px !important;
}

/* Custom Block: Legit Insight (Summary Column) */
.post-article-body .legit-insight {
    background-color: #f9f9f9 !important;
    border-left: 6px solid var(--color-accent) !important;
    padding: 2.5rem !important;
    margin: 4rem 0 !important;
    position: relative;
}

.post-article-body .legit-insight p:last-child {
    margin-bottom: 0 !important;
}

/* Custom Block: Closing Statement (Article Conclusion) */
.post-article-body .closing-statement,
.post-article-body .closing-statement p {
    background-color: #fcfcfc !important;
    border-top: 1px solid #eeeeee !important;
    border-bottom: 1px solid #eeeeee !important;
    padding: 4rem 3.5rem !important;
    margin: 6rem 0 !important;
    text-align: center !important;
    font-family: "Shippori Mincho", "Noto Serif JP", serif !important;
    font-size: 1.25rem !important;
    letter-spacing: 0.15em !important;
    line-height: 2.2 !important;
    color: #333 !important;
}

/* --- Decision Base 記事末尾ナビの修正（横並び＋装飾） --- */
.post-article-body .article-nav {
    margin: 2rem 0 0 !important;
    display: flex !important;
    width: 100% !important; /* 横幅いっぱいに広げる指定を追加 */
    gap: 20px !important;
    white-space: normal !important;
}

.post-article-body .article-nav a.nav-prev,
.post-article-body .article-nav a.nav-next {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    width: auto !important; /* 50%指定は計算がずれる原因になるため auto に変更 */
    min-width: 0 !important; /* テキストが正しく折り返されるための定石設定を追加 */
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 1px solid #e8e8e8 !important;
    background: #fafafa !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* マウスを乗せた時の反応 */
.post-article-body .article-nav a.nav-prev:hover,
.post-article-body .article-nav a.nav-next:hover {
    background: #f6f6f6 !important;
    border-color: #d9d9d9 !important;
}

/* 「前の記事」「次の記事」というラベルの装飾 */
.post-article-body .article-nav .nav-label {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #888 !important;
    margin-bottom: 6px !important;
}

/* 記事タイトルの装飾 */
.post-article-body .article-nav .nav-title {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    font-weight: 500 !important;
}

/* --- Archive & Post Grid --- */
.archive-page {
    padding-top: 40px;
}

.archive-container {
    padding-top: 80px;
    padding-bottom: 100px;
}

.archive-header {
    margin-bottom: 60px;
    text-align: center;
}

.archive-title {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.post-card {
    border: 1px solid #f5f5f5;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

.card-link {
    display: block;
    height: 100%;
}

.post-thumbnail {
    aspect-ratio: 4 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ccc;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.post-content {
    padding: 35px 30px;
}

.post-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
}

.post-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 40px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #888;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    font-size: 0.7rem;
    opacity: 0.5;
}

.breadcrumb a {
    color: #888;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

/* Pagination */
.pagination {
    margin-top: 60px;
    text-align: center; /* 中央揃えの担保 */
}

/* WordPressが生成する .nav-links に対して flex を適用 */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    font-size: 0.9rem;
    transition: 0.3s;
    text-decoration: none;
    color: #333;
}

/* 矢印（PREV/NEXT）の幅調整 */
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    width: auto;
    padding: 0 15px;
}

.pagination .page-numbers.current {
    background: #333;
    color: #fff;
    border-color: #333;
}

.pagination .page-numbers:hover:not(.current) {
    border-color: #333;
    background: #f9f9f9;
}

@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .archive-title {
        font-size: 2rem;
    }

    .post-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .post-article-body .article-nav {
        flex-direction: column !important;
    }
}

.no-posts {
    text-align: center;
    padding: 100px 0;
    color: #888;
    border: 1px dashed #eee;
    background: #fafafa;
}

/* --- Investment LP Redesign (MUJI Silent Design) --- */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&display=swap');

.silent-design {
    color: #1a1a1a;
    background-color: #fcfcfc;
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-size: 1.15rem;
}

.style-shippori {
    font-family: 'Shippori Mincho', "Noto Serif JP", serif;
    font-weight: 500;
}

.investment-hero-panorama {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
}

.investment-hero-panorama .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 70%; /* Balanced crop for head and hands */
    background-repeat: no-repeat;
    z-index: 1;
}

.investment-hero-panorama .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.investment-hero-panorama .hero-content {
    position: relative;
    z-index: 3;
}

.investment-hero-panorama .page-title {
    color: #ffffff;
    margin-bottom: 35px;
    line-height: 1.4;
    font-size: 2.8rem;
}

.investment-hero-panorama .page-subtitle {
    color: #ffffff;
    margin-bottom: 50px;
    line-height: 2;
    font-size: 1.25rem;
}

.silent-block {
    padding: 30px 0; /* Reduced padding */
}

.silent-block .sub-label {
    display: inline-block;
    font-size: 0.85rem;
    color: #888888;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.silent-block .title-l {
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #111111;
}

.silent-block .block-body p {
    font-size: 1.15rem;
    color: #1a1a1a;
    line-height: 2.4;
}

.silent-block .block-body b {
    font-weight: 600;
    color: #111111;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 2px;
}

.insight-panorama-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.panorama-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    transition: all 0.4s ease;
    text-decoration: none;
    padding: 40px 50px;
}

.panorama-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-color: #dddddd;
    transform: translateY(-3px);
}

.panorama-card .card-content {
    flex: 1;
}

.panorama-card .card-date {
    display: block;
    font-size: 0.8rem;
    color: #999999;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.panorama-card .card-title {
    font-size: 1.4rem;
    color: #222222;
    margin-bottom: 15px;
    line-height: 1.5;
}

.panorama-card .card-excerpt {
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.8;
}

.insight-panorama-grid-link {
    max-width: 900px;
    margin: 40px auto 0; /* Reduced spacing */
    text-align: left;
}

.cta-silent-section {
    padding: 100px 0; /* Reduced slightly */
}

.btn-silent, .btn-silent-large {
    display: inline-block;
    background: transparent;
    border: 1px solid #111111;
    color: #111111;
    padding: 20px 60px;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-silent:hover {
    background: #111111;
    color: #ffffff;
}

.btn-silent-large {
    padding: 24px 80px;
    font-size: 1.2rem;
}

.btn-white.btn-silent-large {
    border-color: #ffffff;
    color: #ffffff;
}

.btn-white.btn-silent-large:hover {
    background: #ffffff;
    color: #001f3f;
}

.entry-header-section {
    padding-top: 140px;
}

.silent-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.silent-form-container input[type="text"],
.silent-form-container input[type="email"],
.silent-form-container textarea {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid #dddddd;
    background: #fafafa;
    border-radius: 0;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.silent-form-container input:focus,
.silent-form-container textarea:focus {
    border-color: #111111;
    background: #ffffff;
}

.silent-form-container input[type="submit"] {
    background: #111111;
    color: #ffffff;
    padding: 24px 80px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    transition: opacity 0.4s ease;
    width: 100%;
}

.silent-form-container input[type="submit"]:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .investment-hero-panorama {
        aspect-ratio: auto;
        padding: 100px 20px;
    }
    
    .silent-block .title-l {
        font-size: 1.6rem;
    }
    
    .panorama-card {
        padding: 30px;
    }
}

/* --- Added for LP Revamp v2 --- */

.silent-bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.silent-bullet-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #333333;
    line-height: 1.8;
}

.silent-bullet-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: #aaaaaa;
    font-weight: bold;
}

.silent-check-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.silent-check-list li {
    position: relative;
    padding: 24px 30px 24px 60px;
    margin-bottom: 15px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    font-size: 1.15rem;
    font-weight: 500;
    color: #222222;
    transition: box-shadow 0.3s ease;
}

.silent-check-list li:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.silent-check-list li::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #111111;
    border-radius: 50%;
}

.axis-item {
    position: relative;
    padding-top: 15px;
    border-top: 1px solid #dddddd;
}

.axis-num {
    display: block;
    font-size: 1.2rem;
    color: #888888;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Shippori Mincho', serif;
}

.axis-title {
    font-size: 1.5rem;
    color: #111111;
    margin-bottom: 15px;
}

.cta-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-buttons-wrap.justify-center {
    justify-content: center;
}

.btn-silent-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    border: none;
    padding: 24px 60px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-silent-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-silent-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #111111; /* Stronger contrast */
    border: 2px solid #a5a5a5; /* Slightly thicker, darker border */
    padding: 22px 58px; /* Adjusted for 2px border */
    font-size: 1.15rem;
    font-weight: 700; /* Bolder text */
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-silent-secondary:hover {
    background: #fcfcfc;
    border-color: #888888;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.series-badge {
    display: inline-block;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.axis-series-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
    margin-top: 15px; /* Added spacing from the grid bottom */
}

.axis-series-link:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .cta-buttons-wrap {
        flex-direction: column;
    }
    
    .cta-buttons-wrap a {
        width: 100%;
        text-align: center;
    }
    
    .silent-check-list li {
        padding: 20px 20px 20px 50px;
        font-size: 1.05rem;
    }
}

/* --- Added for LP Revamp v3 (Cards) --- */

.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.target-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 40px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.target-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.target-card .target-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.7;
    word-break: auto-phrase;
}

.axis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.axis-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.axis-card .axis-num {
    font-size: 1.25rem;
    color: #888888;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Shippori Mincho', serif;
}

.axis-card .axis-title {
    font-size: 1.6rem;
    color: #111111;
    margin-bottom: 20px;
    line-height: 1.5;
}

.axis-card p {
    font-size: 1.2rem;
    color: #1a1a1a;
    line-height: 1.8;
    margin-bottom: 0;
    flex: 1;
    word-break: auto-phrase;
}

.axis-link-wrap {
    margin-top: auto;
}

.axis-link {
    display: inline-flex;
    align-items: center;
    color: #111111;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #111111;
    padding-bottom: 2px;
    transition: opacity 0.3s;
}

.axis-link:hover {
    opacity: 0.7;
}

.service-list-3 {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Increased gap */
}

.service-card {
    background: #ffffff;
    border-left: 6px solid #1a1a1a; /* Stronger accent */
    padding: 35px 45px; /* Increased padding */
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.service-card h3 {
    font-size: 1.4rem; /* Increased size */
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.5;
}

/* --- CTA Landing Page Template (Shared single column design) --- */

.cta-landing-page {
    padding: 160px 20px 100px;
    background-color: #f7f7f7; /* Very subtle background */
    min-height: 80vh;
}

.cta-landing-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 70px 80px;
    border: 1px solid #eeeeee;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.cta-header {
    margin-bottom: 50px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 30px;
}

.cta-header .page-title {
    font-size: 2.2rem;
    color: #111111;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.cta-entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1a1a1a;
}

.cta-entry-content p {
    margin-bottom: 25px;
}

.cta-entry-content h2,
.cta-entry-content h3 {
    font-family: 'Shippori Mincho', serif;
    color: #111111;
    margin-top: 50px;
    margin-bottom: 25px;
}

.cta-entry-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 12px;
}

.cta-entry-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    border-left: 4px solid #1a1a1a;
    padding-left: 15px;
}

.cta-entry-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.cta-entry-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.cta-entry-content ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: #aaaaaa;
}

@media (max-width: 768px) {
    .cta-landing-page {
        padding: 120px 15px 60px;
    }
    
    .cta-landing-container {
        padding: 40px 20px;
    }
    
    .cta-header .page-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .target-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .target-card {
        padding: 30px 20px;
    }
    
    .axis-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .axis-card {
        padding: 40px 30px;
    }
}