/* Penta Koubou Demo Site */
/* ===========================
   Residential Building A - 明るく親しみやすいデザイン
   =========================== */

/* リセット・基本設定 */
* {
    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: #4a3f35;
    background: #faf8f5;
}

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

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

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

/* ===========================
   ヘッダー
   =========================== */
.residential-building-a-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.residential-building-a-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #8b6f47;
}

.residential-building-a-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.residential-building-a-nav a {
    color: #4a3f35;
    font-weight: 500;
}

.residential-building-a-nav a:hover {
    color: #8b6f47;
}

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

.residential-building-a-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #4a3f35;
    transition: all 0.3s ease;
}

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

/* ===========================
   ヒーローセクション - フルスクリーンカルーセル
   =========================== */
.residential-building-a-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.residential-building-a-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.residential-building-a-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.residential-building-a-carousel-item.active {
    opacity: 1;
}

.residential-building-a-carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.residential-building-a-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 80px 40px 60px;
    color: #fff;
    text-align: center;
}

.residential-building-a-carousel-overlay h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.residential-building-a-carousel-overlay p {
    font-size: 20px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.residential-building-a-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.residential-building-a-carousel-prev,
.residential-building-a-carousel-next {
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.residential-building-a-carousel-prev:hover,
.residential-building-a-carousel-next:hover {
    background: rgba(255,255,255,0.5);
}

.residential-building-a-carousel-dots {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.residential-building-a-carousel-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.residential-building-a-carousel-dots span.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.residential-building-a-hero-cta {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeInUp 1s ease-out 0.7s both;
}

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

@media (max-width: 768px) {
    .residential-building-a-carousel-overlay h2 {
        font-size: 32px;
    }
    
    .residential-building-a-carousel-overlay p {
        font-size: 16px;
    }
    
    .residential-building-a-carousel-prev,
    .residential-building-a-carousel-next {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

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

.residential-building-a-section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: #4a3f35;
    font-weight: 600;
}

.residential-building-a-section-subtitle {
    text-align: center;
    color: #7a6f65;
    margin-bottom: 50px;
    font-size: 16px;
}

/* ===========================
   ボタン
   =========================== */
.residential-building-a-btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background: #8b6f47;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.3);
}

.residential-building-a-btn-primary:hover {
    background: #6d5536;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
}

.residential-building-a-btn-secondary {
    display: inline-block;
    padding: 18px 50px;
    background: #fff;
    color: #8b6f47;
    border: 2px solid #8b6f47;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.residential-building-a-btn-secondary:hover {
    background: #8b6f47;
    color: #fff;
}

/* ===========================
   お知らせ
   =========================== */
.residential-building-a-news {
    background: #fff;
}

.residential-building-a-news-list {
    max-width: 900px;
    margin: 0 auto;
}

.residential-building-a-news-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #e8e6e3;
}

.residential-building-a-news-date {
    color: #8b6f47;
    font-weight: 600;
    min-width: 100px;
}

.residential-building-a-news-category {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f0eb;
    color: #8b6f47;
    border-radius: 20px;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
}

.residential-building-a-news-item a {
    color: #4a3f35;
    flex: 1;
}

.residential-building-a-news-item a:hover {
    color: #8b6f47;
}

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

/* ===========================
   サービス紹介
   =========================== */
.residential-building-a-services {
    background: #faf8f5;
    padding: 100px 0;
}

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

.residential-building-a-service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.residential-building-a-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.residential-building-a-service-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.residential-building-a-service-card h3 {
    font-size: 22px;
    margin: 25px 25px 15px;
    color: #4a3f35;
}

.residential-building-a-service-card p {
    margin: 0 25px 25px;
    color: #7a6f65;
    line-height: 1.8;
}

.residential-building-a-service-card .residential-building-a-btn-secondary {
    margin: 0 25px 30px;
    padding: 12px 30px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .residential-building-a-services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   施工事例
   =========================== */
.residential-building-a-projects {
    background: #fff;
    padding: 100px 0;
}

.residential-building-a-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.residential-building-a-project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.residential-building-a-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.residential-building-a-project-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.residential-building-a-property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #8b6f47;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.residential-building-a-project-info {
    padding: 25px;
}

.residential-building-a-project-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4a3f35;
}

.residential-building-a-project-info p {
    color: #7a6f65;
    font-size: 14px;
}

.residential-building-a-projects-cta {
    text-align: center;
}

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

/* ===========================
   私たちについて
   =========================== */
.residential-building-a-about {
    background: #f5f0eb;
}

.residential-building-a-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.residential-building-a-about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #4a3f35;
}

.residential-building-a-about-text p {
    margin-bottom: 25px;
    color: #7a6f65;
    line-height: 1.9;
}

.residential-building-a-about-text .residential-building-a-btn-secondary {
    margin-top: 20px;
}

.residential-building-a-about-image {
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
    .residential-building-a-about-content {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   お客様の声
   =========================== */
.residential-building-a-voice {
    background: #fff;
}

.residential-building-a-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.residential-building-a-voice-card {
    background: #faf8f5;
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid #8b6f47;
}

.residential-building-a-voice-text {
    color: #4a3f35;
    line-height: 1.9;
    margin-bottom: 20px;
    font-style: italic;
}

.residential-building-a-voice-name {
    text-align: right;
    color: #8b6f47;
    font-weight: 600;
}

@media (max-width: 992px) {
    .residential-building-a-voice-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CTA
   =========================== */
.residential-building-a-cta {
    background: linear-gradient(135deg, #8b6f47 0%, #6d5536 100%);
    color: #fff;
    text-align: center;
}

.residential-building-a-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.residential-building-a-cta p {
    margin-bottom: 35px;
    font-size: 16px;
    opacity: 0.95;
}

.residential-building-a-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.residential-building-a-cta .residential-building-a-btn-primary {
    background: #fff;
    color: #8b6f47;
}

.residential-building-a-cta .residential-building-a-btn-primary:hover {
    background: #f5f0eb;
}

.residential-building-a-cta .residential-building-a-btn-secondary {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.residential-building-a-cta .residential-building-a-btn-secondary:hover {
    background: #fff;
    color: #8b6f47;
}

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

/* 会社概要テーブル */
.residential-building-a-company-info {
    background: #fff;
    padding: 100px 0;
}

.residential-building-a-company-table {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
    background: #faf8f5;
    border: 2px solid #8b6f47;
}

.residential-building-a-company-table th,
.residential-building-a-company-table td {
    padding: 20px 30px;
    border: 1px solid #d4cdc4;
    text-align: left;
}

.residential-building-a-company-table th {
    background: #8b6f47;
    color: #fff;
    font-weight: 600;
    width: 200px;
    vertical-align: top;
}

.residential-building-a-company-table td {
    background: #fff;
    color: #4a3f35;
    line-height: 2;
}

/* ===========================
   お問い合わせページ
   =========================== */
.residential-building-a-contact {
    background: #faf8f5;
    padding: 100px 0;
}

.residential-building-a-contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.residential-building-a-contact-intro p {
    color: #4a3f35;
    line-height: 1.9;
    margin-bottom: 15px;
}

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

.residential-building-a-contact-method {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #8b6f47;
}

.residential-building-a-contact-method h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #4a3f35;
}

.residential-building-a-contact-tel {
    font-size: 32px;
    font-weight: bold;
    color: #8b6f47;
    margin: 20px 0;
}

.residential-building-a-contact-method p {
    color: #4a3f35;
}

.residential-building-a-contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #8b6f47;
}

.residential-building-a-form-group {
    margin-bottom: 30px;
}

.residential-building-a-form-group label {
    display: block;
    margin-bottom: 10px;
    color: #4a3f35;
    font-weight: 600;
}

.residential-building-a-form-group input[type="text"],
.residential-building-a-form-group input[type="email"],
.residential-building-a-form-group input[type="tel"],
.residential-building-a-form-group select,
.residential-building-a-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #d4cdc4;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.residential-building-a-form-group input:focus,
.residential-building-a-form-group select:focus,
.residential-building-a-form-group textarea:focus {
    outline: none;
    border-color: #8b6f47;
}

.residential-building-a-form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.residential-building-a-form-submit {
    text-align: center;
    margin-top: 40px;
}

.residential-building-a-form-submit button {
    padding: 18px 60px;
    background: #8b6f47;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.3);
}

.residential-building-a-form-submit button:hover {
    background: #6d5536;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
}

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

/* アクセス情報 */
.residential-building-a-access {
    background: #fff;
    padding: 100px 0;
}

.residential-building-a-access-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.residential-building-a-access-map iframe {
    border-radius: 15px;
}

.residential-building-a-access-info {
    background: #faf8f5;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.residential-building-a-access-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #8b6f47;
    font-weight: 700;
    border-bottom: 3px solid #8b6f47;
    padding-bottom: 15px;
}

.residential-building-a-access-info p {
    margin-bottom: 20px;
    color: #4a3f35;
    line-height: 1.9;
}

.residential-building-a-access-info p strong {
    display: block;
    color: #8b6f47;
    font-weight: 600;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .residential-building-a-access-content {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   フッター
   =========================== */
.residential-building-a-footer {
    background: #3a3128;
    color: #d4cdc4;
    padding: 60px 0 0;
}

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

.residential-building-a-footer-info h3 {
    color: #8b6f47;
    font-size: 24px;
    margin-bottom: 20px;
}

.residential-building-a-footer-info p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.residential-building-a-footer-links h4 {
    color: #8b6f47;
    margin-bottom: 20px;
}

.residential-building-a-footer-links ul {
    list-style: none;
}

.residential-building-a-footer-links li {
    margin-bottom: 12px;
}

.residential-building-a-footer-links a:hover {
    color: #8b6f47;
}

.residential-building-a-footer-bottom {
    border-top: 1px solid #4a3f35;
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

.residential-building-a-footer-credit {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.8;
}

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

/* ===========================
   下層ページ共通
   =========================== */
.residential-building-a-page-header {
    background: linear-gradient(135deg, #8b6f47 0%, #6d5536 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.residential-building-a-page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.residential-building-a-page-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* ===========================
   施工事例一覧ページ
   =========================== */
.residential-building-a-projects-list {
    background: #faf8f5;
    padding: 100px 0;
}

.residential-building-a-projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.residential-building-a-projects-filter button {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #8b6f47;
    color: #8b6f47;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.residential-building-a-projects-filter button:hover,
.residential-building-a-projects-filter button.active {
    background: #8b6f47;
    color: #fff;
}

.residential-building-a-projects-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.residential-building-a-project-detail-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 0;
}

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

.residential-building-a-project-detail-content {
    padding: 40px;
}

.residential-building-a-project-category {
    display: inline-block;
    background: #8b6f47;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

.residential-building-a-project-detail-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #4a3f35;
}

.residential-building-a-project-meta {
    color: #8b6f47;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.residential-building-a-project-detail-content p {
    color: #4a3f35;
    line-height: 1.9;
}

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

/* ===========================
   サービス詳細ページ
   =========================== */
.residential-building-a-service-detail {
    background: #faf8f5;
    padding: 100px 0;
}

.residential-building-a-service-detail-item {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.residential-building-a-service-detail-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.residential-building-a-service-detail-item.reverse .residential-building-a-service-detail-content {
    order: 2;
}

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

.residential-building-a-service-detail-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #4a3f35;
    border-left: 5px solid #8b6f47;
    padding-left: 20px;
}

.residential-building-a-service-lead {
    font-size: 18px;
    margin-bottom: 35px;
    color: #4a3f35;
    line-height: 1.9;
}

.residential-building-a-service-features h3,
.residential-building-a-service-flow h3,
.residential-building-a-service-price h3,
.residential-building-a-service-support h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #4a3f35;
}

.residential-building-a-service-features ul,
.residential-building-a-service-price ul {
    list-style: none;
    margin-bottom: 30px;
}

.residential-building-a-service-features li,
.residential-building-a-service-price li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: #4a3f35;
    line-height: 1.8;
}

.residential-building-a-service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b6f47;
    font-weight: bold;
    font-size: 18px;
}

.residential-building-a-service-flow ol {
    counter-reset: step-counter;
    list-style: none;
    margin-bottom: 30px;
}

.residential-building-a-service-flow li {
    counter-increment: step-counter;
    padding: 12px 0 12px 40px;
    position: relative;
    color: #4a3f35;
    line-height: 1.8;
}

.residential-building-a-service-flow li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: #8b6f47;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

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

.residential-building-a-note {
    font-size: 14px;
    color: #999;
    margin-top: 15px;
}

.residential-building-a-service-support p {
    color: #4a3f35;
    line-height: 1.9;
}

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

/* ===========================
   会社案内ページ
   =========================== */
.residential-building-a-company-message {
    background: #fff;
    padding: 100px 0;
}

.residential-building-a-company-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.residential-building-a-company-photo {
    width: 100%;
    min-height: 450px;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 3px solid #8b6f47;
}

.residential-building-a-company-text p {
    color: #4a3f35;
    line-height: 2;
    margin-bottom: 25px;
    font-size: 16px;
}

.residential-building-a-signature {
    text-align: right;
    font-weight: 600;
    color: #8b6f47;
    margin-top: 40px;
}

.residential-building-a-company-philosophy {
    background: #faf8f5;
    padding: 100px 0;
}

.residential-building-a-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.residential-building-a-philosophy-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #d4cdc4;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.residential-building-a-philosophy-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #8b6f47;
    font-weight: 700;
}

.residential-building-a-philosophy-card p {
    color: #4a3f35;
    line-height: 1.9;
}

.residential-building-a-company-history {
    background: #faf8f5;
    padding: 100px 0;
}

.residential-building-a-history-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.residential-building-a-history-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #e8e6e3;
}

.residential-building-a-history-item:last-child {
    border-bottom: none;
}

.residential-building-a-history-year {
    display: block;
    background: #8b6f47;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.residential-building-a-history-item p {
    color: #4a3f35;
    line-height: 2;
    font-size: 16px;
}

