* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Shippori Mincho', serif;
    background-color: #fff;
    color: #231815;
    overflow-x: hidden;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    min-height: 645px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-section{
    position: relative;
}
.hero-section span{
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
}

/* メインセクション */
.main-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23ECECEC"/></svg>') center/cover;
}

.main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 5.6rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.section-divider {
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, white 50%, transparent 100%);
    margin: 20px auto 30px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 3.2rem;
    letter-spacing: 0.09em;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-content {
    max-width: 712px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.section-content h3 {
    font-size: 3.2rem;
    letter-spacing: 0.06em;
    margin-bottom: 29px;
    line-height: 1.7;
}

.section-content p {
    font-size: 1.8rem;
    line-height: 2;
    margin-bottom: 20px;
}

/* プランカード */
.right{
    width: 762px;
}
.plan-card-container{
    display: flex;
    margin: 18rem auto 0 auto;
    padding: 0 57px;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    max-width: 1440px;
}
.plan-cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    position: absolute;
    left: 57px;
    top: 0;
    width: 502px;
}
.plan-cards.fixed{
    position: fixed;
    top: 60px;
}

.plan-group {
    width: 100%;
    margin-bottom: 23px;
}

.plan-card {
    position: relative;
    background: #C7B299;
    margin-bottom: 2px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}
.plan-card.main .view-more{
    display: none;
}
.plan-card > div:nth-of-type(1){
    text-align: center;
    width: 106px;
    position: relative;
}
.plan-card > div:nth-of-type(1):after{
    position: absolute;
    height: 20px;
    width: 1px;
    content: '';
    display: block;
    background: #fff;
    right: -16px;
    bottom: 23px;
}
.plan-card > div:nth-of-type(2){
    margin: 0 20px;
}
.plan-card.main > div:nth-of-type(2){
    margin: 0 43px;
}

.plan-card.main{
    background: rgba(72, 72, 72,1);
    justify-content: flex-start;
}

.plan-header {
    background: #998675;
    padding-top: 1px;
}
.plan-detail{
    width: 100%;
}

.plan-type {
    font-family: Shippori Mincho;
    font-size: 4.8rem;
    text-align: center;
    color: white;
}
.plan-type span{
    font-size: 3.2rem;
}
.type{
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: white;
    text-align: center;
    letter-spacing: 0.06em;
}

.plan-room {
    font-family: 'Cinzel', serif;
    font-size: 2.0rem;
    color: white;
    text-align: center;
}

.plan-area {
    font-family: 'Cinzel', serif;
    font-size: 4.0rem;
    color: white;
    text-align: center;
    letter-spacing: 0.06em;
}

.plan-unit {
    font-size: 1.4rem;
    color: white;
    text-align: center;
}

.view-more {
    background: #998675;
    color: white;
    border: none;
    padding: 14px 21px;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: block;
    transition: opacity 0.3s ease;
    position: relative;
    width: 160px;
    text-align: center;
}
.view-more::after{
    position: absolute;
    top: 20px;
    right: 10px;
    content: '';
    display: block;
    border-right: solid 2px #fff;
    border-top: solid 2px #fff;
    width: 5px;
    height: 5px;
    rotate: 45deg;
}

.view-more:hover {
    opacity: 0.8;
}

/* 詳細セクション */
.detail-section {
    background: white;
    padding: 60px 20px;
}
.right{
    position: relative;
    border-left: solid 1px #000;
}

.detail-header {
    position: absolute;
    top: 0;
    left: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    width: 124px;
}

.building-label {
    background: #C7B299;
    color: white;
    padding: 4px 40px;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    width: 100%;
}

.type-label {
    background: #998675;
    width: 100%;
    color: white;
    padding: 16px 36px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}
.type-label .plan-type {
    display: flex;
    align-items: flex-end;
}
.detail-header .type-label{
    line-height: 1;
    height: 151px;
    justify-content: center;
}
.room-info {
    font-family: 'Cinzel', serif;
    font-size: 4.2rem;
    color: #484848;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    border-bottom: solid 1px #000;
}

.room-details {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #484848;
    letter-spacing: 0.06em;
}
.area-container{
    margin-left: 220px;
    text-align: left;
}
.area-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 20px;
}

.area-label {
    font-size: 1.4rem;
    color: #484848;
}

.area-value {
    font-family: 'Cinzel', serif;
    font-size: 55px;
    color: #484848;
}

.area-unit {
    font-size: 1.9rem;
    color: #484848;
}
.room-image{
    width: 533px;
    height: 798px;
    margin: 50px 0 50px 160px;
}
.room-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* フッター */
footer {
    background: #f8f8f8;
    padding: 60px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-number {
    font-size: 5.6rem;
    color: #1A1A1A;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.business-hours {
    font-size: 1.4rem;
    color: #1A1A1A;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.copyright {
    font-size: 1.4rem;
    color: #1A1A1A;
    margin-top: 20px;
}

/* プリントボタン */
.print-btn {
    background: #998675;
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    width: 325px;
    transition: opacity 0.3s ease;
    margin-top: 50px;
}

.print-btn:hover {
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 1366px) {
    .plan-cards{
        width: 300px;
    }
    .plan-card{
    padding: 5px;
    }
    .plan-type{
        display: block;
        line-height: 1.25;
    }
    .plan-type,
    .plan-area{
        font-size: 280%;
    }
    .plan-card > div:nth-of-type(1):after {
        height: 60px;
        bottom: 4px;
    }
    .plan-card > div:nth-of-type(2){
        white-space: nowrap;
        flex: 1;
        padding: 0 20px;
        margin: 0 0 0 10px;
    }
    .right{
        width: calc( 100% - 300px);
    }
    .room-info{
        text-align: right;
    }
    .area-container{
        margin-left: 32%;
    }
    .room-image{
        margin-left: 5%;
        width: 95%;
        height: unset;
        aspect-ratio: .75;
    }
}
@media (max-width: 768px) {
    .building-label{
        padding: 10px;
        text-align: center;
    }
    .type-label{
        padding: 16px;
        height: unset !important;
    }
    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    .section-content h3 {
        font-size: 24px;
    }

    .section-content p {
        font-size: 1.6rem;
        padding: 0 20px;
    }
    .plan-group {
        width: 100%;
    }
    .plan-card-container{
        width: 100%;
        flex-direction: column;
        margin: 0 auto;
        padding: 0 20px;
    }
    .plan-cards{
        position: relative;
        width: 100%;
        left: unset;
    }
    .plan-card{
        padding: 0 10px;
    }
    .plan-card > div:nth-of-type(1){
        width: 65px;
    }
    .plan-card > div:nth-of-type(1):after{
        bottom: 12px;
        height: 26px;
    }
    .right{
        width: 100%;
    }
    .detail-header{
        width: 90px;
    }
    .plan-type{
        font-size: 30px;
    }
    .plan-type span{
        font-size: 2.0rem;
    }
    .type{
        font-size: 10px;
    }
    .plan-area{
        font-size: 28px;
    }
    .view-more{
        padding: 10px 18px 10px 10px;
        width: 110px;
    }

    .contact-number {
        font-size: 36px;
    }

    .footer-logos {
        gap: 20px;
    }

    .print-btn {
        display: none;
    }
    .room-info {
        text-align: center;
        padding-left: 100px;
        line-height: 1.2;
    }
    .area-container{
        margin: 0;
    }
    .area-info{
        margin: 0 0 0 100px;
        justify-content: center;
    }
    .area-info + div{
        padding: 0 5%;
    }
    .room-image{
        width: 100%;
        height: unset;
        aspect-ratio: 0.6;
        padding: 2%;
        margin: 20px 0 0;
    }
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 11px;
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* スクロールエフェクト */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

