@charset "UTF-8";

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

:root {
    --accent: #6B4D1D;
    --accent-light: #F2EEE9;
    --bg-main: #FFFFFF;
    --text-main: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* セクションパディング設定 */
.section-padding {
    padding: 60px 20px;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 128px 0;
    }
}

/* 画像ホバーエフェクト（ピル型へのモーフィング） */
.img-container {
    overflow: hidden;
    border-radius: 16px;
    transition: border-radius 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    background-color: #EAE5DF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 間取り図用：プレースホルダーを中央に */
.img-container.contain {
    background-color: #F9F9F9;
    border: 1px solid #EAE5DF;
}

.img-container.contain img {
    object-fit: contain;
}

.img-container:hover {
    border-radius: 100px;
}

/* アニメーション */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 1.2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* タイポグラフィ */
.section-label {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}

.heading-main {
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* 修正: 指定テキストのPCサイズ調整 (14px -> 16px) */


/* スクロールライン */
@keyframes line-anim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: #E2E2E2;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    animation: line-anim 2.5s infinite;
}

/* 画像が読み込めない時のプレースホルダー */
.img-placeholder-text {
    color: #A8A29E;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

/* ==========================================
   Semantic Layout Styles (Replacing Tailwind)
   ========================================== */

/* Utility / Common */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    /* 32px (was 64px) */
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 2.5rem;
        /* 40px (was 80px) */
    }
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    .container {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

/* Hero Section */
/* #hero is already defined but needed more specific styles for layout */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #FAFAFA;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4), transparent);
}

.hero__content {
    position: relative;
    z-index: 20;
    padding-top: 6rem;
    padding-left: 20px;
}

@media (min-width: 768px) {
    .hero__content {
        padding-top: 8rem;
    }
}

.hero__desc {
    font-size: 0.875rem;
    /* text-sm */
    color: #78716c;
    /* text-stone-500 */
    line-height: 2;
    /* leading-loose */
    letter-spacing: 0.2em;
    /* tracking-[0.2em] */
    font-weight: 300;
    /* font-light */
    max-width: 28rem;
    /* max-w-md */
}

@media (min-width: 768px) {
    .hero__desc {
        font-size: 1rem;
        /* text-base */
    }
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
}

.hero__scroll-text {
    font-size: 9px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #a8a29e;
    /* stone-400 */
    font-weight: 700;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Aspect Ratios */
.aspect-16-10 {
    aspect-ratio: 16 / 10;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Exterior Features */
.exterior__desc_stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* space-y-6 */
}

.exterior__text {
    color: #78716c;
    /* text-stone-500 */
    /* Tailwind defaults handled by reset, but ensure these match */
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* space-y-4 */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background-color: #fff;
    border: 1px solid #f5f5f4;
    /* stone-100 */
    border-radius: 1rem;
    transition: border-color 0.3s;
}



.feature-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8F4F0;
    color: #6B4D1D;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 9999px;
}

.feature-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0;
    /* Override layout.css p margin if needed */
}

/* Plan Section */
.plan__section {
    background-color: var(--accent-light);
    border-top: 1px solid #EAE5DF;
    border-bottom: 1px solid #EAE5DF;
}

.plan__flex {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    /* 24px on SP (was 40px) */
}

@media (min-width: 768px) {
    .plan__flex {
        flex-direction: row;
        gap: 3rem;
        margin-bottom: 5rem;
        /* 80px on PC */
    }
}

.plan__img-wrapper {
    width: 100%;
    max-width: 28rem;
}

@media (min-width: 768px) {
    .plan__img-wrapper {
        width: 45%;
    }
}

.plan__label {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #a8a29e;
}

.plan__desc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    /* 16px on SP (was 24px) */
    align-items: start;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .plan__desc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        /* 48px on PC */
    }
}

.plan__desc-text {
    padding: 1rem;
    color: #78716c;
    /* text-stone-500 */
}

@media (max-width: 768px) {
    .plan__desc-text {
        padding: 0.5rem 0;
    }
}

.plan__table-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    border: 1px solid #f5f5f4;
}

@media (min-width: 768px) {
    .plan__table-card {
        padding: 3rem;
    }
}

.plan__table {
    width: 100%;
    font-size: 0.875rem;
    font-weight: 500;
    border-collapse: collapse;
}

.plan__table th {
    padding: 1rem 0;
    color: #6B4D1D;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid #f5f5f4;
}

.plan__table td {
    padding: 1rem 0;
    text-align: right;
    border-bottom: 1px solid #f5f5f4;
}

/* Interior Section */
.bg-white {
    background-color: #fff;
}

/* Living Section */
.living__section {
    background-color: #6B4D1D;
    color: #fff;
    border-radius: 3.75rem;
    /* 60px */
    overflow: hidden;
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (min-width: 768px) {
    .living__section {
        margin-left: 2.5rem;
        margin-right: 2.5rem;
    }
}

.living__container {
    max-width: 56rem;
    /* 4xl */
    margin: 0 auto;
    text-align: center;
}

.living__label {
    color: rgba(255, 255, 255, 0.4);
    display: block;
}

.living__label.is-white {
    color: #fff;
}

.living__heading-large {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 2rem;
    /* 32px (was 64px) */
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1;
}

@media (min-width: 768px) {
    .living__heading-large {
        font-size: 3.75rem;
        /* 6xl */
        margin-bottom: 2.5rem;
        /* 40px */
    }
}

.living__image-wrapper {
    margin-bottom: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* shadow-2xl */
    background-color: rgba(255, 255, 255, 0.05);
}

.living__subheading {
    font-size: 1.25rem;
    /* xl */
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .living__subheading {
        font-size: 1.5rem;
        /* 2xl */
    }
}

.living__text-body {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
    max-width: 42rem;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .living__text-body {
        font-size: 1rem;
    }
}


/* Shared Hamburger, Footer and CTA styles are now handled in layout.css */