/* Penta Koubou Demo Site */
/* ===========================
   Residential Building B - シックで洗練されたデザイン
   =========================== */

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #2c2c2c;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF5F5 100%);
    background-attachment: fixed;
}

.realestate-b-hidden-credit {
    display: none;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 段落のマージン */
p {
    margin-bottom: 0.5rem;
}

/* コンテナ */
.realestate-b-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   ヘッダー
   =========================== */
.realestate-b-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.realestate-b-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.realestate-b-logo {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.realestate-b-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.realestate-b-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.realestate-b-nav a {
    color: #e8e6e3;
    font-weight: 500;
    letter-spacing: 1px;
}

.realestate-b-nav a:hover {
    color: #d4af37;
}

.realestate-b-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.realestate-b-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #e8e6e3;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .realestate-b-nav {
        display: none;
    }
    
    .realestate-b-menu-toggle {
        display: flex;
    }
}

/* ダミー画像の共通スタイル */
.realestate-b-dummy-image {
    background: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

/* ヒーロー用ダミー画像 */
.realestate-b-hero-dummy {
    background: #888;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realestate-b-hero-dummy > span {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

/* 物件カード用ダミー画像 */
.realestate-b-property-dummy {
    background: #888;
    position: relative;
}

.realestate-b-property-dummy .realestate-b-dummy-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    background: transparent;
}

/* 会社写真用ダミー画像 */
.realestate-b-company-dummy {
    background: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

/* サービス・詳細ページ用ダミー画像 */
.realestate-b-service-dummy,
.realestate-b-president-dummy {
    width: 100%;
    height: 100%;
    background: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

/* ===========================
   ヒーローセクション - 左右分割レイアウト
   =========================== */
.realestate-b-hero {
    display: grid;
    grid-template-columns: 45% 55%;
    height: 100vh;
    min-height: 700px;
}

.realestate-b-hero-image {
    position: relative;
    overflow: hidden;
}

.realestate-b-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realestate-b-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    background: rgba(26, 26, 46, 0.9);
}

.realestate-b-hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #fff;
    animation: fadeInLeft 1.2s ease-in-out 0.4s both;
}

.realestate-b-hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #c4c2bf;
    animation: fadeInRight 1.2s ease-in-out 0.7s both;
}

.realestate-b-hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeIn 1.2s ease-in-out 1s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .realestate-b-hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .realestate-b-hero-image {
        height: 50vh;
    }
    
    .realestate-b-hero-title {
        font-size: 40px;
    }
    
    .realestate-b-hero-content {
        padding: 60px 30px;
    }
    
    .realestate-b-hero-buttons {
        flex-direction: column;
    }
}

/* ===========================
   セクション共通
   =========================== */
section {
    padding: 100px 0;
}

.realestate-b-section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    color: #2c2c2c;
    font-weight: 700;
    letter-spacing: 2px;
}

.realestate-b-section-subtitle {
    text-align: center;
    color: #2c2c2c;
    margin-bottom: 60px;
    font-size: 16px;
}

.realestate-b-section-lead {
    text-align: center;
    font-size: 20px;
    color: #2c2c2c;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* ===========================
   ボタン
   =========================== */
.realestate-b-btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #1a1a2e;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.realestate-b-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.realestate-b-btn-secondary {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.realestate-b-btn-secondary:hover {
    background: #d4af37;
    color: #1a1a2e;
}

.realestate-b-btn-text {
    color: #d4af37;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.realestate-b-btn-text:hover {
    transform: translateX(5px);
}

/* ===========================
   コンセプト
   =========================== */
.realestate-b-concept {
    background: rgba(26, 26, 46, 0.8);
}

.realestate-b-concept .realestate-b-section-title,
.realestate-b-concept .realestate-b-section-subtitle,
.realestate-b-concept .realestate-b-section-lead {
    color: #fff;
}

.realestate-b-concept .realestate-b-section-subtitle,
.realestate-b-concept .realestate-b-section-lead {
    color: #c4c2bf;
}

.realestate-b-concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.realestate-b-concept-card {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.realestate-b-concept-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.realestate-b-concept-number {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 20px;
}

.realestate-b-concept-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}

.realestate-b-concept-card p {
    color: #c4c2bf;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .realestate-b-concept-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   施工事例
   =========================== */
.realestate-b-projects {
    background: #ffffff;
    padding: 100px 0;
}

.realestate-b-projects .realestate-b-section-title {
    color: #2c2c2c;
}

.realestate-b-projects .realestate-b-section-subtitle {
    color: #2c2c2c;
}

.realestate-b-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.realestate-b-project-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.realestate-b-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.realestate-b-project-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.realestate-b-project-card:hover .realestate-b-project-image {
    position: relative;
    transform: scale(1.1);
}

.realestate-b-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #808080;
    padding: 40px 30px;
    color: #fff;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.realestate-b-project-card:hover .realestate-b-project-overlay {
    transform: translateY(0);
}

.realestate-b-project-category {
    display: inline-block;
    padding: 5px 15px;
    background: #d4af37;
    color: #1a1a2e;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.realestate-b-project-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.realestate-b-project-overlay p {
    font-size: 14px;
    color: #c4c2bf;
}

.realestate-b-projects-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .realestate-b-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   サービス
   =========================== */
.realestate-b-services {
    background: rgba(26, 26, 46, 0.8);
    padding: 100px 0;
}

.realestate-b-services .realestate-b-section-title {
    color: #fff;
}

.realestate-b-services .realestate-b-section-subtitle {
    color: #c4c2bf;
}

.realestate-b-services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.realestate-b-service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.realestate-b-service-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.realestate-b-service-item.reverse .realestate-b-service-content {
    order: 1;
}

.realestate-b-service-item.reverse .realestate-b-service-image {
    order: 2;
}

.realestate-b-service-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.realestate-b-service-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
    border-left: 5px solid #d4af37;
    padding-left: 20px;
}

.realestate-b-service-content p {
    color: #c4c2bf;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .realestate-b-service-item,
    .realestate-b-service-item.reverse {
        grid-template-columns: 1fr;
    }
    
    .realestate-b-service-item.reverse .realestate-b-service-content,
    .realestate-b-service-item.reverse .realestate-b-service-image {
        order: unset;
    }
}

/* ===========================
   お知らせ
   =========================== */
.realestate-b-news {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF5F5 100%);
}

.realestate-b-news .realestate-b-section-title {
    color: #2c2c2c;
}

.realestate-b-news .realestate-b-section-subtitle {
    color: #2c2c2c;
}

.realestate-b-news-list {
    max-width: 900px;
    margin: 0 auto;
}

.realestate-b-news-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.realestate-b-news-date {
    color: #d4af37;
    font-weight: 700;
    min-width: 100px;
    font-family: 'Courier New', monospace;
}

.realestate-b-news-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
}

.realestate-b-news-item a {
    color: #2c2c2c;
    flex: 1;
}

.realestate-b-news-item a:hover {
    color: #d4af37;
}

@media (max-width: 768px) {
    .realestate-b-news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ===========================
   会社案内
   =========================== */
.realestate-b-company {
    background: rgba(26, 26, 46, 0.8);
}

.realestate-b-company .realestate-b-section-title {
    color: #fff;
}

.realestate-b-company .realestate-b-section-subtitle {
    color: #c4c2bf;
}

.realestate-b-company-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.realestate-b-company-text p {
    margin-bottom: 25px;
    color: #e8e6e3;
    line-height: 1.6;
}

.realestate-b-company-text .realestate-b-btn-secondary {
    margin-top: 20px;
}

.realestate-b-company-image {
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* ===========================
   CTA
   =========================== */
.realestate-b-cta {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #1a1a2e;
    text-align: center;
}

.realestate-b-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.realestate-b-cta p {
    margin-bottom: 40px;
    font-size: 16px;
    color: #2a2a3e;
}

.realestate-b-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.realestate-b-cta .realestate-b-btn-primary {
    background: #1a1a2e;
    color: #d4af37;
}

.realestate-b-cta .realestate-b-btn-primary:hover {
    background: #0a0a1e;
}

.realestate-b-cta .realestate-b-btn-secondary {
    background: transparent;
    border-color: #1a1a2e;
    color: #1a1a2e;
}

.realestate-b-cta .realestate-b-btn-secondary:hover {
    background: #1a1a2e;
    color: #d4af37;
}

@media (max-width: 768px) {
    .realestate-b-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===========================
   お問い合わせページ
   =========================== */
.realestate-b-contact {
    background: rgba(26, 26, 46, 0.95);
    padding: 100px 0;
}

.realestate-b-contact .realestate-b-section-title {
    color: #fff;
}

.realestate-b-contact .realestate-b-section-subtitle {
    color: #e8e6e3;
}

.realestate-b-contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.realestate-b-contact-intro p {
    color: #e8e6e3;
    line-height: 1.6;
    margin-bottom: 15px;
}

.realestate-b-contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.realestate-b-contact-method {
    background: rgba(26, 26, 46, 0.5);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 2px solid #d4af37;
}

.realestate-b-contact-method h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.realestate-b-contact-tel {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin: 20px 0;
}

.realestate-b-contact-method p {
    color: #e8e6e3;
}

.realestate-b-contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 26, 46, 0.8);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 2px solid #d4af37;
}

.realestate-b-form-group {
    margin-bottom: 30px;
}

.realestate-b-form-group label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.realestate-b-form-group input[type="text"],
.realestate-b-form-group input[type="email"],
.realestate-b-form-group input[type="tel"],
.realestate-b-form-group select,
.realestate-b-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.realestate-b-form-group input:focus,
.realestate-b-form-group select:focus,
.realestate-b-form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255,255,255,0.08);
}

.realestate-b-form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.realestate-b-form-submit {
    text-align: center;
    margin-top: 40px;
}

.realestate-b-form-submit button {
    padding: 18px 60px;
    background: #d4af37;
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.realestate-b-form-submit button:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

@media (max-width: 992px) {
    .realestate-b-contact-methods {
        grid-template-columns: 1fr;
    }
    
    .realestate-b-contact-form {
        padding: 30px;
    }
}

/* ===========================
   フッター
   =========================== */
.realestate-b-footer {
    background: #0a0a1e;
    color: #c4c2bf;
    padding: 60px 0 0;
}

.realestate-b-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.realestate-b-footer-info h3 {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 20px;
}

.realestate-b-footer-info p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.realestate-b-footer-links h4 {
    color: #d4af37;
    margin-bottom: 20px;
}

.realestate-b-footer-links ul {
    list-style: none;
}

.realestate-b-footer-links li {
    margin-bottom: 12px;
}

.realestate-b-footer-links a:hover {
    color: #d4af37;
}

.realestate-b-footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

.realestate-b-footer-credit {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .realestate-b-footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===========================
   下層ページ共通
   =========================== */
.realestate-b-page-header {
    background: rgba(26, 26, 46, 0.95);
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
}

.realestate-b-page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d4af37;
}

.realestate-b-page-header p {
    font-size: 16px;
    color: #e8e6e3;
}


/* ===========================
   施工事例一覧ページ
   =========================== */
.realestate-b-projects-list {
    background: #ffffff;
    padding: 100px 0;
}

.realestate-b-projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.realestate-b-projects-filter button {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.realestate-b-projects-filter button:hover,
.realestate-b-projects-filter button.active {
    background: #d4af37;
    color: #1a1a2e;
}

.realestate-b-projects-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.realestate-b-project-detail-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 0;
    transition: all 0.3s ease;
}

.realestate-b-project-detail-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.realestate-b-project-detail-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.realestate-b-project-detail-content {
    padding: 40px;
}

.realestate-b-project-detail-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #fff;
}

.realestate-b-project-meta {
    color: #c4c2bf;
    font-size: 14px;
    margin-bottom: 20px;
}

.realestate-b-project-detail-content p {
    color: #c4c2bf;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .realestate-b-project-detail-card {
        grid-template-columns: 1fr;
    }
    
    .realestate-b-projects-filter {
        flex-wrap: wrap;
    }
}

/* ===========================
   サービス詳細ページ
   =========================== */
.realestate-b-service-detail {
    background: rgba(26, 26, 46, 0.95);
    padding: 100px 0;
}

.realestate-b-service-detail-item {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 50px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.realestate-b-service-detail-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.realestate-b-service-detail-item.reverse .realestate-b-service-detail-content {
    order: 2;
}

.realestate-b-service-detail-item.reverse .realestate-b-service-detail-image {
    width: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    order: 1;
}

.realestate-b-service-detail-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #d4af37;
    border-left: 5px solid #d4af37;
    padding-left: 20px;
}

.realestate-b-service-lead {
    font-size: 18px;
    margin-bottom: 35px;
    color: #e8e6e3;
    line-height: 1.6;
}

.realestate-b-service-features h3,
.realestate-b-service-flow h3,
.realestate-b-service-price h3,
.realestate-b-service-support h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.realestate-b-service-features ul,
.realestate-b-service-price ul {
    list-style: none;
    margin-bottom: 30px;
}

.realestate-b-service-features li,
.realestate-b-service-price li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: #e8e6e3;
    line-height: 1.8;
}

.realestate-b-service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
    font-size: 18px;
}

.realestate-b-service-flow ol {
    counter-reset: step-counter;
    list-style: none;
    margin-bottom: 30px;
}

.realestate-b-service-flow li {
    counter-increment: step-counter;
    padding: 12px 0 12px 40px;
    position: relative;
    color: #e8e6e3;
    line-height: 1.8;
}

.realestate-b-service-flow li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: #d4af37;
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.realestate-b-service-detail-image {
    width: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.realestate-b-note {
    font-size: 14px;
    color: #999;
    margin-top: 15px;
}

.realestate-b-service-support p {
    color: #e8e6e3;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .realestate-b-service-detail-item,
    .realestate-b-service-detail-item.reverse {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .realestate-b-service-detail-item.reverse .realestate-b-service-detail-content,
    .realestate-b-service-detail-item.reverse .realestate-b-service-detail-image {
    width: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
        order: unset;
    }
}

/* ===========================
   会社案内ページ
   =========================== */
.realestate-b-company-message {
    background: rgba(26, 26, 46, 0.8);
    padding: 100px 0;
}

.realestate-b-company-message .realestate-b-section-title {
    color: #d4af37;
}

.realestate-b-company-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.realestate-b-company-photo {
    width: 100%;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.realestate-b-company-text p {
    margin-bottom: 25px;
    color: #e8e6e3;
    line-height: 1.6;
}

.realestate-b-signature {
    text-align: right;
    font-weight: 600;
    color: #d4af37;
    margin-top: 40px;
}

.realestate-b-company-philosophy {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF5F5 100%);
    padding: 100px 0;
}

.realestate-b-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.realestate-b-philosophy-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.realestate-b-philosophy-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.realestate-b-philosophy-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 10px;
}

.realestate-b-philosophy-card p {
    color: #2c2c2c;
    line-height: 1.6;
}

.realestate-b-company-info {
    background: rgba(26, 26, 46, 0.8);
    padding: 100px 0;
}

.realestate-b-company-info .realestate-b-section-title {
    color: #d4af37;
}

.realestate-b-company-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(255,255,255,0.05);
    border: 2px solid #d4af37;
}

.realestate-b-company-table th,
.realestate-b-company-table td {
    padding: 20px 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: left;
}

.realestate-b-company-table th {
    background: #d4af37;
    color: #1a1a2e;
    font-weight: 600;
    width: 200px;
    vertical-align: top;
}

.realestate-b-company-table td {
    background: rgba(26, 26, 46, 0.5);
    color: #fff;
    line-height: 2;
}

.realestate-b-company-history {
    background: #ffffff;
    padding: 100px 0;
}

.realestate-b-history-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.realestate-b-history-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #3a3a4e;
}

.realestate-b-history-item:last-child {
    border-bottom: none;
}

.realestate-b-history-year {
    display: block;
    background: #d4af37;
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

.realestate-b-history-item p {
    color: #2c2c2c;
    line-height: 2;
    font-size: 16px;
}

@media (max-width: 992px) {
    .realestate-b-company-profile {
        grid-template-columns: 1fr;
    }
    
    .realestate-b-philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .realestate-b-company-table th {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .realestate-b-company-table th,
    .realestate-b-company-table td {
        display: block;
        width: 100%;
    }
    
    .realestate-b-company-table th {
        padding-bottom: 10px;
    }
    
    .realestate-b-company-table td {
        padding-top: 10px;
    }
}

.realestate-b-contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.realestate-b-contact-intro p {
    color: #c4c2bf;
    line-height: 1.6;
    margin-bottom: 15px;
}

.realestate-b-contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.realestate-b-contact-method {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.realestate-b-contact-method h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.realestate-b-contact-tel {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.realestate-b-contact-method p {
    color: #c4c2bf;
}

.realestate-b-contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.realestate-b-form-group {
    margin-bottom: 30px;
}

.realestate-b-form-group label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.required {
    color: #d9534f;
    font-size: 12px;
    margin-left: 5px;
}

.realestate-b-form-group input[type="text"],
.realestate-b-form-group input[type="email"],
.realestate-b-form-group input[type="tel"],
.realestate-b-form-group select,
.realestate-b-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
    color: #e8e6e3;
}

.realestate-b-form-group input:focus,
.realestate-b-form-group select:focus,
.realestate-b-form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.realestate-b-form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.realestate-b-form-submit {
    text-align: center;
    margin-top: 40px;
}

.realestate-b-form-submit button {
    background: #d4af37;
    color: #1a1a2e;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.realestate-b-form-submit button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.realestate-b-access {
    background: rgba(26, 26, 46, 0.8);
    padding: 100px 0;
}

.realestate-b-access-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.realestate-b-access-map iframe {
    border-radius: 10px;
    border: 2px solid #d4af37;
}

.realestate-b-access-info {
    background: rgba(26, 26, 46, 0.5);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #d4af37;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.realestate-b-access-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #d4af37;
    font-weight: 700;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 15px;
}

.realestate-b-access-info p {
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.6;
}

.realestate-b-access-info p strong {
    display: block;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .realestate-b-contact-methods {
        grid-template-columns: 1fr;
    }
    
    .realestate-b-contact-form {
        padding: 30px;
    }
    
    .realestate-b-access-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .realestate-b-contact-tel {
        font-size: 24px;
    }
}

/* ===========================
   個別記事ページ（single.php）
   =========================== */
.realestate-b-single-content {
    background: #ffffff;
    padding: 100px 0;
}

.realestate-b-single-article {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    padding: 50px;
    border-radius: 10px;
}

.realestate-b-single-thumbnail {
    margin-bottom: 40px;
}

.realestate-b-single-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.realestate-b-single-body {
    margin-bottom: 40px;
    line-height: 1.8;
    color: #2c2c2c;
}

.realestate-b-single-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #1a1a2e;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 10px;
}

.realestate-b-single-body h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #1a1a2e;
    border-left: 5px solid #d4af37;
    padding-left: 15px;
}

.realestate-b-single-body p {
    margin-bottom: 20px;
}

.realestate-b-single-body table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.realestate-b-single-body table th,
.realestate-b-single-body table td {
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: left;
}

.realestate-b-single-body table th {
    background: #d4af37;
    color: #1a1a2e;
    font-weight: 600;
}

.realestate-b-single-body table td {
    background: rgba(212, 175, 55, 0.05);
    color: #2c2c2c;
}

.realestate-b-single-categories {
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.realestate-b-category-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 10px;
}

.realestate-b-single-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.realestate-b-prev-post,
.realestate-b-next-post {
    flex: 1;
}

.realestate-b-prev-post a,
.realestate-b-next-post a {
    display: block;
    padding: 15px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #d4af37;
    border-radius: 5px;
    color: #1a1a2e;
    transition: all 0.3s ease;
    text-align: center;
}

.realestate-b-prev-post a:hover,
.realestate-b-next-post a:hover {
    background: #d4af37;
    color: #1a1a2e;
}

.realestate-b-back-link {
    text-align: center;
}

/* 物件テーブル（カード内表示用） */
.realestate-b-property-table table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    font-size: 14px;
}

.realestate-b-property-table table th,
.realestate-b-property-table table td {
    padding: 8px 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: left;
}

.realestate-b-property-table table th {
    background: #d4af37;
    color: #1a1a2e;
    font-weight: 600;
    width: 30%;
}

.realestate-b-property-table table td {
    background: rgba(255, 249, 230, 0.5);
    color: #1a1a2e;
}

@media (max-width: 768px) {
    .realestate-b-single-article {
        padding: 30px 20px;
    }
    
    .realestate-b-single-nav {
        flex-direction: column;
    }
}
