/*
Theme Name: Legit House Third Place
Description: Legit House Renewal Project: Third Place Platform
Version: 1.0.0
Author: Antigravity
*/

/* --- Variables --- */
/*
Theme Name: Legit House
Theme URI: https://legithouse.com/
Author: Legit House Team
Author URI: https://legithouse.com/
Description: A sophisticated, minimal, and structure-driven professional theme for Legit House.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legit-house
*/

: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 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0;
}

.site-logo a {
    text-decoration: none;
    color: #000;
}

.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;
    }
}