@charset "utf-8";
/* CSS Document */

@media screen and (min-width:641px){.smp{display: none!important;}}
@media screen and (max-width:640px){.pc{display: none!important;}}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

.cf:before,.cf:after{content:"";display:block;overflow:hidden;}
.cf:after{clear:both;}
.cf{zoom:1;}

img{max-width: 100%; height: auto;}



/* もらったhtmlから貼り付け
--------------------------------------*/
:root {
      --cream: #F2EDE3;
      --warm-white: #FAF8F4;
      --ink: #1C1C1A;
      --mid: #4A4A42;
      --light: #8A8A7A;
      --accent: #8B7355;
      --border: #DDD8CE;
    }

html { scroll-behavior: smooth; }

body {
font-family: 'Georgia', 'Times New Roman', serif;
background: var(--warm-white);
color: var(--ink);
line-height: 1.75;
    margin: 0;
}

header{padding: 30px 72px 50px}

/* NAV */
nav {
position: fixed; 
top: 0; 
left: 0; 
right: 0; 
z-index: 100;
display: flex; 
justify-content: space-between; 
align-items: center;
padding: 18px 48px;
/*background: rgba(250,248,244,0.94);
backdrop-filter: blur(10px);*/
border-bottom: 1px solid var(--border);
}
.nav-logo {
    width: 250px; 
    letter-spacing: 0.2em; 
    text-transform: uppercase; 
    color: var(--mid); 
    position: absolute;
    top: 50px;
    left: 72px;
    z-index: 1;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
text-decoration: none; color: #fff; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

/* BUTTONS */
.btn-light {
display: inline-block; padding: 14px 32px;
background: rgba(250,248,244,0.95); color: var(--ink);
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
text-decoration: none; border: none; cursor: pointer;
transition: background 0.2s;
}
.btn-light:hover { background: #fff; }
.btn-ghost {
display: inline-block; 
padding: 14px 32px;
border: 1px solid rgba(250,248,244,0.4); 
color: rgba(250,248,244,0.82);
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 11px; 
letter-spacing: 0.15em; 
text-transform: uppercase;
text-decoration: none; 
transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(250,248,244,0.8); color: #FAF8F4; }
.btn-dark {
display: block; padding: 15px 32px; margin-bottom: 12px; text-align: center;
background: var(--ink); color: #FAF8F4;
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
text-decoration: none; transition: background 0.2s;
}
.btn-dark:hover { background: #2C2C28; }
.btn-outline {
display: block; padding: 15px 32px; text-align: center;
border: 1px solid var(--border); color: var(--mid);
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
text-decoration: none; transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--mid); color: var(--ink); }

.label {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
color: var(--accent); margin-bottom: 14px; display: block;
}

/* ── h2 ── */
h2.type1 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    position: relative;
    display: inline-block;
    padding-left: 52px;
}
h2.type1:before{
  content: '';
  position: absolute;
  top: 50%;
  left:0;
  display: inline-block;
  width: 35px;
  height: 2px;
  border-top: solid 2px #2C2C28;
  border-bottom: solid 2px #2C2C28;
}

@media screen and (max-width: 640px) {
h2.type1 {
    padding-left: 0;
}
h2.type1:before{
  content: '';
  position: absolute;
  top: -20px;
  left:0;
}    
}

/* ── HERO ── */
.hero {
    position: relative; 
    min-height: 100vh;
    display: flex; 
    align-items: center;
    padding: 140px 72px 100px; 
    overflow: hidden;
}
.hero-bg {
position: absolute; inset: 0;
background: url("img/mainimg.jpg") center center / cover no-repeat;
}

@media screen and (max-width: 640px) {
    .hero-bg {background: url("img/mainimg-sp.jpg") center center / cover no-repeat;} 
}
.hero-overlay {
position: absolute; inset: 0;
background: linear-gradient(
  115deg,
  rgba(18,18,16,0.78) 0%,
  rgba(18,18,16,0.55) 55%,
  rgba(18,18,16,0.10) 100%
);
}
.hero-content { position: relative; max-width: 620px; }
.hero-tag {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
color: rgba(200,180,150,0.9); margin-bottom: 28px;
}
.hero h1 {
font-size: clamp(36px, 5.2vw, 66px); font-weight: 400;
line-height: 1.1; color: #FAF8F4; margin-bottom: 22px;
}
.hero .tagline {
font-size: 17px; color: rgba(250,248,244,0.68);
font-style: italic; max-width: 440px; margin-bottom: 10px;
}
.hero .sub {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 12px; color: rgba(250,248,244,0.52);
margin-bottom: 44px; max-width: 400px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── THE THIRD OPTION ── */
.third {
    background-color: var(--cream);
    position: relative;
    padding: 52px 72px 100px; 
}
.third .circleimg{
    position: absolute;
    right: 0px;
    top:-50px;
    max-width:45%; 
    overflow: hidden;
}
.third-inner { max-width: 1080px; margin: 0 auto; }


.third-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 2px; }
.third-card { padding: 40px 30px; background: var(--warm-white); }
.third-card.mid { background: var(--ink); color: #FAF8F4; }
.third-type {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
color: var(--light); margin-bottom: 18px;
}
.third-card.mid .third-type { color: rgba(250,248,244,0.45); }
.third-card h3 { font-size: 20px; font-weight: 400; margin-bottom: 12px; line-height: 1.3;}
.third-card p { font-size: 14px; color: var(--mid); line-height: 1.65; }
.third-card.mid p { color: rgba(250,248,244,0.65); }

/* ── PHILOSOPHY ── */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.philosophy h2{
    font-size: clamp(25px, 2.5vw, 30px);
    font-weight: 400;
    margin-bottom: 48px; 
    max-width: 560px; 
    line-height: 1.2;
    color: var(--accent);
}
.phil-text {
padding: 96px 64px; background: var(--warm-white);
display: flex; flex-direction: column; justify-content: center;
}
.phil-text blockquote {
font-size: clamp(17px, 2vw, 23px); font-style: italic; font-weight: 400;
line-height: 1.68; color: var(--mid); margin: 0 0 28px;
}
.phil-text .src {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--light);
}
.phil-image { overflow: hidden; }
.phil-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

/* ── TIMELINE GRAPH ── */
.timeline-graph-section {
    background-color: var(--cream);
    position: relative;
    padding: 63px 72px 96px;
}
.timeline-graph-section .circleimg{
    position: absolute;
    left: -50px;
    top:-100px;
    max-width:45%; 
    overflow: hidden;
}

.timeline-graph-inner { max-width: 1080px; margin: 0 auto; }
.timeline-graph-inner h2 {
    margin-bottom: 12px;
}

.timeline-graph-inner .sub-note {
font-size: 15px; color: var(--mid); font-style: italic; margin-bottom: 48px;
}
.graph-img {border-radius: 0;}

/* ── TIMELINE DETAIL ── */
.timeline-detail-section { background: #E4E0D6; padding: 80px 72px; }
.timeline-detail-inner {max-width: 1080px; margin: 0 auto; }
.timeline-detail-inner img {display: block; margin: auto;}

/* ── EDITED FOR LIVING CONTEXT ── */
.edited {padding: 50px 0 28px; background: var(--warm-white); }
.edited-header {
padding: 0 72px; margin: 0 auto 40px;
display: flex; align-items: flex-end; justify-content: space-between;
flex-wrap: wrap; gap: 24px;
}

.edited-header-left h2 {
    margin-bottom: 12px;
}

.edited-header-left .desc { font-size: 15px; color: var(--mid); max-width: 480px; color: var(--accent);}
.slider-controls { display: flex; gap: 8px; align-items: center; }
.slider-btn {
width: 44px; height: 44px; border: 1px solid var(--border); background: none;
cursor: pointer; display: flex; align-items: center; justify-content: center;
transition: all 0.2s; color: var(--mid); font-size: 18px; line-height: 1;
}
.slider-btn:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }
.slider-outer { overflow: hidden; }
.slider-track {
display: flex; gap: 2px;
overflow-x: scroll; scroll-snap-type: x mandatory; scroll-behavior: smooth;
padding: 0; -ms-overflow-style: none; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-card {
flex: 0 0 360px; background: var(--cream); overflow: hidden;
cursor: pointer; scroll-snap-align: start; transition: opacity 0.2s;
}
.slider-card:hover { opacity: 0.9; }
.sc-img { aspect-ratio: 4/5; overflow: hidden; position: relative; background: var(--cream); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.slider-card:hover .sc-img img { transform: scale(1.04); }
.sc-hint {
position: absolute; bottom: 0; left: 0; right: 0;
background: linear-gradient(transparent, rgba(28,28,26,0.55));
padding: 32px 18px 14px;
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
color: rgba(250,248,244,0.85); text-align: right;
opacity: 0; transition: opacity 0.2s;
}
.slider-card:hover .sc-hint { opacity: 1; }
.sc-info { padding: 20px 22px 28px; }
.sc-name { font-size: 16px; font-weight: 400; margin-bottom: 6px; }
.sc-note { font-size: 13px; color: var(--mid); line-height: 1.55; }
.sc-quiet {
font-size: 12px; font-style: italic; color: var(--accent);
margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.slider-dots { display: flex; gap: 7px; justify-content: center; padding: 28px 72px 0; }
.slider-dot {
width: 6px; height: 6px; border-radius: 50%;
background: var(--border); border: none; cursor: pointer; padding: 0;
transition: background 0.2s, transform 0.2s;
}
.slider-dot.active { background: var(--ink); transform: scale(1.3); }

/* ── MODAL ── */
.modal-overlay {
position: fixed; inset: 0; z-index: 500;
background: rgba(28,28,26,0.72); backdrop-filter: blur(4px);
display: flex; align-items: center; justify-content: center; padding: 24px;
opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
background: var(--warm-white); max-width: 800px; width: 100%;
display: grid; grid-template-columns: 5fr 6fr; position: relative;
max-height: 90vh; overflow: hidden;
transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-img { overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-body { padding: 52px 44px; display: flex; flex-direction: column; overflow-y: auto; }
.modal-meta {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
color: var(--accent); margin-bottom: 18px;
}
.modal-name { font-size: clamp(24px, 3vw, 36px); font-weight: 400; margin-bottom: 22px; line-height: 1.15; }
.modal-desc { font-size: 15px; color: var(--mid); line-height: 1.72; margin-bottom: 20px; }
.modal-quiet {
font-size: 13px; font-style: italic; color: var(--accent);
padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
margin-bottom: 36px;
}
.modal-link {
display: inline-block; align-self: flex-start; padding: 13px 28px;
background: var(--ink); color: #FAF8F4;
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
text-decoration: none; transition: background 0.2s;
}
.modal-link:hover { background: #2C2C28; }
.modal-close {
position: absolute; top: 16px; right: 20px;
background: none; border: none; cursor: pointer;
font-size: 26px; color: var(--mid); line-height: 1;
font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 300;
transition: color 0.2s; z-index: 1;
}
.modal-close:hover { color: var(--ink); }

/* ── UNIT PHOTOS ── */
.unit-section { padding: 0; }
.unit-header { padding: 80px 72px 40px; }
.unit-header h2 {}
.unit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.unit-img { aspect-ratio: 2/3; overflow: hidden; }
.unit-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.6s; }
.unit-img:hover img { transform: scale(1.04); }

/* ── MONITOR ── */
.monitor { background: var(--cream); padding: 96px 72px; }
.monitor-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.monitor-left h2 { font-size: clamp(22px, 2.8vw, 38px); font-weight: 400; margin-bottom: 16px; line-height: 1.2em;}
.monitor-left p { font-size: 15px; color: var(--mid); margin-bottom: 36px; }
.steps { list-style: none; padding: 0}
.step {
display: flex; gap: 18px; padding: 18px 0;
border-bottom: 1px solid var(--border); font-size: 14px; color: var(--mid);
}
.step:last-child { border-bottom: none; }
.step-n {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 11px; letter-spacing: 0.1em; color: var(--accent); min-width: 24px; padding-top: 2px;
}
.monitor-right { background: var(--ink); padding: 48px; color: #FAF8F4; }
.monitor-right h3 { font-size: 30px; font-weight: 400; margin-bottom: 16px; line-height: 1.4; }
.monitor-right p { font-size: 14px; color: rgba(250,248,244,0.62); line-height: 1.7; margin-bottom: 28px; }
.monitor-right .linen-img { width: 100%; margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
.monitor-right .linen-img img { width: 100%; display: block; object-fit: cover; height: 160px; }

/* ── DETAILS ── */
.details { padding: 96px 72px; background: var(--warm-white); position: relative;}
.details .circleimg{
    position: absolute;
    right: 0px;
    top:-100px;
    max-width:55%; 
    overflow: hidden;
}
.details-inner { max-width: 1080px; margin: 0 auto; }
.details-inner h2 { margin-bottom: 52px; }
.details-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; max-width: 1080px; margin: 0 auto; }
.floorplan-img {margin: auto;}
.detail-rows { margin-bottom: 36px; }
.row {
display: flex; justify-content: space-between; align-items: baseline;
padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.row:first-child { border-top: 1px solid var(--border); }
.row-label {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light);
}
.price { font-size: clamp(42px, 5.5vw, 64px); font-weight: 400; line-height: 1; margin-bottom: 6px; }
.price-sub { font-size: 13px; color: var(--light); margin-bottom: 28px; }
.details-note { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: 28px; }

/* ── CTA FOOTER ── */
.cta-footer {
position: relative; min-height: 55vh; overflow: hidden;
display: flex; align-items: center; justify-content: center;
text-align: center; padding: 120px 48px;
}
.cta-bg {
position: absolute; inset: 0;
background: url('img/footer-bg.jpg') center 35% / cover no-repeat;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(18,18,16,0.5); }
.cta-inner { position: relative; color: #FAF8F4; }
.cta-inner h2 {
font-size: clamp(28px, 4.5vw, 56px); font-weight: 400;
line-height: 1.18; margin-bottom: 14px;
}
.cta-inner p {
font-size: 16px; color: rgba(250,248,244,0.58);
margin-bottom: 44px; font-style: italic;
}
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
padding: 28px 48px; border-top: 1px solid var(--border);
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 10px; letter-spacing: 0.12em; color: var(--light);
}
.copyright{text-align: center;}

/* RESPONSIVE */
@media (max-width: 900px) {
nav { padding: 16px 24px; }
.nav-links { display: none; }
.hero { padding: 100px 28px 72px; min-height: 80vh;}
.nav-logo {width: 175px; top: 23px; left: 16px;}
.third { padding: 50px 20px; }
.third h2 {margin-bottom: 33px;}
.third-grid { grid-template-columns: 1fr; }
.philosophy { grid-template-columns: 1fr; }
.phil-text {padding: 52px 34px;}
.phil-image { min-height: 300px; }
.timeline-graph-section, .monitor, .details {padding: 47px 28px;}
.timeline-detail-section {padding: 40px 20px;}
.edited {padding: 34px 0 50px;}
.edited-header { padding: 0 28px; }
.slider-controls{margin: 0 auto;}    
.slider-dots { padding: 24px 28px 0; }
.slider-card { flex: 0 0 300px; }

.modal-box { grid-template-columns: 1fr; max-width: 420px; }
.modal-img { aspect-ratio: 4/3; width: 100%;}
.modal-body { padding: 36px 28px; }
.unit-grid { grid-template-columns: repeat(2, 1fr); }
.unit-header {padding: 10px 28px 32px;}
.monitor-inner { grid-template-columns: 1fr; gap: 40px; }
.monitor-right {padding: 29px;
}
.details-grid { grid-template-columns: 1fr; gap: 40px; }
footer { flex-direction: column; gap: 8px; text-align: center; }
}


/* スライダーの親コンテナ（sliderTrackを包んでいる要素） */
.slider-container-box { 
  overflow: hidden; /* はみ出しを隠す */
  position: relative;
}

#sliderTrack {
  display: flex;
  scroll-behavior: auto !important; /* JSで制御するため自動スクロールはオフ */
  overflow-x: visible !important;   /* transformで動かすため、はみ出しを許可 */
}

/* カード自体のスタイル */
.slider-card {
  flex: 0 0 360px; /* カードの幅を固定 */
  margin-right: 2px; /* 隙間 */
}



