@charset "UTF-8";
/* =========================================================
   PRINCIPAL GARDEN  /  design : 1440px (PC)
   breakpoints : iPad  <=1250px   /   SP  <=1000px
   min font    : title 20px  /  body 14px
   ========================================================= */

.pg-page{
  /* 1440px:1240px → 1920px:1720px（左右100pxを維持） */
  --content : clamp(1240px, calc(100vw - 200px), 1720px);
  --col     : 580px;         /* 写真カラム */
  --gap     : 80px;
  --txt     : 505px;         /* テキストカラム */
  --ease    : cubic-bezier(.22,.61,.36,1);
  --dur     : 1.1s;
  --hold    : 60vh;          /* 固定したまま留まる長さ */
  --qh      : 55.92vw;       /* 耐震写真のトリミング高 805/1440（610×120%×110%） */
}
@supports (height:1svh){ .pg-page{ --hold:60svh; } }

.pg-page, .pg-page *, .pg-page *::before, .pg-page *::after { box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body.pg-body {
  margin:0;
  background:#fff;
  color:#000;
  font-family:YuGothic,"Yu Gothic","游ゴシック体","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  font-weight:400;
  line-height:1.8;
  /* 共通CSSの overflow:clip / hidden は position:sticky を無効化するため解除 */
  overflow-x:clip;
  overflow-y:visible;
}
.pg-page img, .pg-page video { display:block; max-width:100%; }
.pg-page h2, .pg-page h3, .pg-page p, .pg-page dl, .pg-page dd, .pg-page dt, .pg-page figure { margin:0; }
.pg-page sup { font-size:.6em; vertical-align:super; }

.pg-inner{
  width:var(--content);
  max-width:90vw;
  margin-inline:auto;
}

/* ---------------------------------------------------------
   上部はヘッダー分の余白のみ
   --------------------------------------------------------- */
.pg-headerGap{ display:none; }

/* ---------------------------------------------------------
   FIRST VIEW  : 1.Garden_image.mp4
   --------------------------------------------------------- */
.pg-fv{
  position:relative;
  width:100%;
  height:100vh;
  height:100svh;
  overflow:hidden;
  background:#e9e6e1;
}
.pg-fv__media{ width:100%; height:100%; object-fit:cover; }
.pg-fv__overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:2.4%;
  padding:0 5vw 5%;
  pointer-events:none;
}
.pg-fv__logo{
  width:29.6%;                 /* 426 / 1440 */
  filter:drop-shadow(0 2px 24px rgba(0,0,0,.28));
  opacity:0; transform:translateY(24px) scale(1.02);
  animation:fvIn 1.6s var(--ease) .35s forwards;
}
.pg-fv__catch{
  color:#fff;
  font-family:"Yu Mincho Demibold","YuMincho Demibold","游明朝体 Demibold",
              "Yu Mincho","YuMincho","游明朝","Hiragino Mincho ProN",serif;
  font-weight:600;
  font-size:clamp(14px,1.39vw,20px);
  letter-spacing:.42em;
  text-indent:.42em;
  text-shadow:0 2px 18px rgba(0,0,0,.38);
  opacity:0; transform:translateY(18px);
  animation:fvIn 1.6s var(--ease) .75s forwards;
}
@keyframes fvIn{ to{ opacity:1; transform:none; } }


/* ---------------------------------------------------------
   CONCEPT  : 2.komorebi.mp4
   --------------------------------------------------------- */
.pg-concept{ position:relative; width:100%; aspect-ratio:1440/1050; overflow:hidden; background:#2b3128; }
.pg-concept__media{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pg-concept__shade{
  position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,0) 38%,rgba(0,0,0,.18) 100%);
}
.pg-concept__inner{
  position:absolute;
  left:48.47%;                   /* Figma: 698 / 1440 */
  right:6.94%;                   /* 100 / 1440 */
  top:51.33%;                    /* Figma: section内 539 / 1050 */
  color:#fff;
}
.pg-page .pg-concept__label{
  font-family:"Fira Sans",sans-serif;
  width:126px;
  font-size:24px;
  font-weight:800;
  line-height:29px;
  letter-spacing:.06em;
  text-align:center;
  margin-bottom:40px;
}
.pg-page .pg-concept__mark{
  margin-left:9px;
  margin-bottom:26px;
}
.pg-concept__mark img{ width:498.5px; max-width:100%; height:auto; }
.pg-concept__body{
  font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif;
  font-weight:700;
  font-size:clamp(14px,1.53vw,22px);
  line-height:1.8;
  letter-spacing:.07em;
  text-shadow:0 1px 14px rgba(0,0,0,.34);
}

/* ---------------------------------------------------------
   LEAD / 大見出し＋ワイド本文
   --------------------------------------------------------- */
.pg-lead{ padding:272px 0 0; }
.pg-page .pg-lead__ttl{
  font-family:"Hiragino Sans",YuGothic,"Yu Gothic",sans-serif;
  font-size:32px;
  font-weight:700;
  letter-spacing:.1em;
  line-height:34px;
  margin-bottom:42px;
}
.pg-lead__body{
  width:760px; max-width:100%;
  font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif;
  font-weight:700;
  font-size:clamp(14px,1.39vw,20px);
  line-height:2;
  letter-spacing:.35em;
  text-align:justify;
  text-justify:inter-character;
}
.pg-lead + .pg-pin{ margin-top:180px; }

/* PC表示のときだけ、CONCEPT と「限られた土地から〜」の
   ボディコピーを1px下げる */
@media screen and (min-width:1251px){
  .pg-page .pg-concept__mark{ margin-bottom:27px; }
  .pg-lead .pg-lead__ttl{ margin-bottom:43px; }
}

/* ---------------------------------------------------------
   PINNED SECTION  (3.DSC_5450.jpg)
   ・画像が全部見えた時点で sticky 固定
   ・--hold ぶん固定したまま保持
   ・そのあと下から白地パネル（.pg-brand）がせり上がって覆う
   --------------------------------------------------------- */
.pg-pin{
  position:relative;
  z-index:1;
  height:calc(200vh + var(--hold));
  height:calc(200svh + var(--hold));
  background:#fff;
}
/* pin.jpg は親コンテナ幅に関係なく常に画面幅いっぱいにする */
.pg-pin:not(.pg-pin--quake){
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
}
.pg-pin__stage{
  position:sticky; top:0;
  height:100vh;
  height:100svh;
  overflow:hidden;
}
.pg-pin__img{ position:absolute; inset:0; }
.pg-pin__img img{
  width:100%; height:100%; object-fit:cover;
  transform:scale(calc(var(--pinZoom,1) * var(--pinScale,1)));
  transform-origin:50% 50%;
  will-change:transform;
}

/* ---------------------------------------------------------
   BRAND  : 下からせり上がる白地パネル
   --------------------------------------------------------- */
.pg-brand{
  position:relative;
  z-index:2;
  margin-top:-100vh;
  margin-top:-100svh;
  background:#fff;
  padding:320px 0 0;
  box-shadow:0 -30px 60px rgba(0,0,0,.06);
}

/* --- row ------------------------------------------------ */
.pg-row{
  display:flex;
  justify-content:center;      /* 写真＋コピーの塊を横センターに */
  align-items:center;          /* 写真と文章の中心線を揃える */
  gap:var(--gap);
  margin-bottom:330px;
}
.pg-row--rev{ flex-direction:row-reverse; }
.pg-row__txt{ width:var(--txt); flex:0 0 auto; padding-top:4px; }
.pg-row__fig{
  position:relative;
  width:var(--col); flex:0 0 auto;
  aspect-ratio:580/384;        /* トリミング枠だけ縦120%（320→384） */
  overflow:hidden;
  background:#eceae7;
}
.pg-row__fig img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  object-position:50% 50%;     /* 横センター合わせ */
  transform:scale(1.2);        /* 中の写真も 120%（縦横同率なので歪まない） */
  transform-origin:50% 50%;
  opacity:0;
  transition:opacity 1.2s ease;
}
.pg-row__fig img.pg-is-on{ opacity:1; }

/* 受賞ロゴ（04のみ） */
.pg-award{ display:flex; align-items:flex-end; gap:18px; margin-bottom:20px; }
.pg-award__mark{ width:67px; height:auto; flex:0 0 auto; transform:translateY(10px); }
.pg-page .pg-award__sub{
  font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif;
  font-size:14px; font-weight:700;
  letter-spacing:.35em; margin-bottom:10px; line-height:1.75;
  transform:translateX(-7px);
}
.pg-award__name{
  font-family:"Hiragino Sans",YuGothic,"Yu Gothic",sans-serif;
  font-size:38px; font-weight:700; letter-spacing:.24em; line-height:34px;
}

.pg-page .pg-row__label{
  font-family:"Fira Sans",sans-serif;
  font-size:38px;
  font-weight:700;
  letter-spacing:0;
  line-height:34px;
  margin-bottom:47px;
}
.pg-page .pg-row__label--rooftop{
  font-family:"Fira Sans",sans-serif;
  letter-spacing:0;
}
.pg-page .pg-row__label--balcony{ letter-spacing:0; }
.pg-page .pg-row__label--garage{ letter-spacing:0; }
.pg-page .pg-row__label.pg-jp{
  font-family:"Hiragino Sans","Yu Gothic",YuGothic,sans-serif;
  font-size:38px;
  letter-spacing:.14em;
}

.pg-page .pg-row__ttl{
  font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif;
  font-size:24px;
  font-weight:700;
  letter-spacing:.15em;
  line-height:1.5;
  margin-bottom:47px;          /* 上下47pxで英字見出しと本文の中央に配置 */
}
/* 04 高天井の家 / 07 GARAGEHOUSE：
   写真と文章が横並びのときだけ、サブタイトル前後をさらに80% */
@media screen and (min-width:1001px){
  .pg-row--tight .pg-award{ margin-bottom:45px; }
  .pg-page .pg-row--tight .pg-row__label{ margin-bottom:45px; }
  .pg-page .pg-row--tight .pg-row__ttl{ margin-bottom:45px; }
}

/* SkyLivings-Balcony のサブタイトル1行目を折り返さない（PCのみ） */
@media screen and (min-width:1251px){
  .pg-row__ttl .pg-nb{ white-space:nowrap; }
}
.pg-row__body{
  font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif;
  font-weight:700;
  font-size:14px;
  line-height:1.75;
  letter-spacing:.18em;
  text-align:justify;
  text-justify:inter-character;
}

/* ---------------------------------------------------------
   耐震
   --------------------------------------------------------- */
/* 画面いっぱいの写真を固定 → --hold 分保持 → 下から .pg-quake がせり上がる */
.pg-pin--quake{
  height:auto;
  background:#fff;
}
.pg-pin--quake .pg-pin__img{ --pinZoom:1.32; }  /* 中の写真も同率（120% × 110%） */
/* 建物建設が見えるよう下部を必ず入れ、上は成り行きでトリミング */
.pg-pin--quake .pg-pin__img img{
  object-position:50% 100%;
  transform-origin:50% 100%;
}
.pg-pin--quake .pg-pin__stage{
  height:100vh;
  height:100svh;
  top:0;                       /* 写真が画面いっぱいになった位置で固定 */
}

.pg-quake{
  position:relative;
  z-index:2;
  background:#fff;
  margin-top:var(--hold);
  padding:210px 0 150px;
  box-shadow:0 -30px 60px rgba(0,0,0,.06);
}
.pg-page .pg-quake .pg-lead__ttl{ margin-bottom:42px; }

.pg-spec{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:120px;
  margin-top:170px;
}
.pg-page .pg-spec__fig{ aspect-ratio:560/332; overflow:hidden; background:#111; margin-bottom:28px; }
.pg-spec__fig img{ width:100%; height:100%; object-fit:cover; }
.pg-page .pg-spec__sub{ font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif; font-size:clamp(14px,1.25vw,18px); font-weight:500; line-height:1.8; letter-spacing:.1em; margin-bottom:2px; }
.pg-page .pg-spec__ttl{
  font-size:22px;
  font-weight:800; line-height:2; letter-spacing:.1em;
  display:inline-block;
  border-bottom:0;
  padding-bottom:0;
  text-decoration-line:underline;
  text-decoration-thickness:1px;
  text-underline-offset:6px;
  text-decoration-skip-ink:none;
  margin-bottom:34px;
}
.pg-spec__body{
  font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif;
  font-size:clamp(14px,1.25vw,18px); font-weight:500; line-height:1.81; letter-spacing:.2em;
  text-align:justify; text-justify:inter-character;
}
.pg-point{ display:grid; grid-template-columns:auto 1fr; column-gap:22px; row-gap:20px; }
.pg-point dt{ font-family:"Fira Sans Condensed","Fira Sans",sans-serif; font-size:clamp(14px,1.25vw,18px); font-weight:500; letter-spacing:.05em; line-height:1.5; white-space:nowrap; }
.pg-point dd{ margin:0; font-family:YuGothic,"Yu Gothic","游ゴシック体",sans-serif; font-size:clamp(14px,1.11vw,16px); font-weight:500; line-height:1.56; letter-spacing:.2em; text-align:justify; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.pg-js-rv{
  opacity:0;
  transition:opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change:opacity,transform;
}
.pg-rv-up{ transform:translateY(40px); }
.pg-js-rv.is-in{ opacity:1; transform:none; }

/* 写真：横からふわっと / テキスト：下からふわっと（同時） */
.pg-js-row .pg-row__fig,
.pg-js-row .pg-row__txt{
  opacity:0;
  transition:opacity 1.25s var(--ease), transform 1.25s var(--ease);
  will-change:opacity,transform;
}
.pg-js-row[data-from="left"]  .pg-row__fig{ transform:translateX(-70px); }
.pg-js-row[data-from="right"] .pg-row__fig{ transform:translateX(70px); }
.pg-js-row .pg-row__txt{ transform:translateY(46px); }
.pg-js-row.is-in .pg-row__fig,
.pg-js-row.is-in .pg-row__txt{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  .pg-js-rv,.pg-js-row .pg-row__fig,.pg-js-row .pg-row__txt{ opacity:1 !important; transform:none !important; transition:none; }
  .pg-fv__logo,.pg-fv__catch{ animation:none; opacity:1; transform:none; }
  .pg-pin__img img{ transform:none !important; }
}

/* =========================================================
   iPad   :  ～1250px
   ========================================================= */
@media screen and (max-width:1250px){
  .pg-page{ --gap:56px; }
  .pg-inner{ width:90vw; max-width:none; }

  .pg-row__txt{ width:44%; }
  .pg-row__fig{ width:50%; }
  .pg-row{ margin-bottom:clamp(140px,20vw,280px); }

  .pg-lead{ padding-top:clamp(90px,11vw,150px); }
  .pg-lead__body{ width:100%; letter-spacing:.14em; }
  .pg-lead + .pg-pin{ margin-top:clamp(100px,13vw,170px); }

  .pg-brand{ padding-top:clamp(140px,22vw,300px); }

  .pg-quake{ padding:clamp(100px,14vw,190px) 0 clamp(80px,10vw,140px); }
  .pg-spec{ gap:clamp(40px,6vw,90px); margin-top:clamp(90px,13vw,160px); }
  .pg-spec__body{ line-height:2.2; }

  .pg-concept__inner{ left:44%; right:5vw; top:30%; }
  .pg-award__mark{ width:42px; }
  .pg-fv__logo{ width:35.5%; }        /* 29.6% × 1.2 */
}

/* =========================================================
   SP   :  ～1000px
   ========================================================= */
@media screen and (max-width:1000px){
  .pg-page{ --hold:34vh; }
  @supports (height:1svh){ .pg-page{ --hold:34svh; } }

  .pg-fv{ aspect-ratio:auto; }
  /* 1000px をまたいでロゴが跨いで大きくならないよう、
     iPad幅の値（約266px）から連続して縮めていく */
  .pg-fv__logo{ width:calc(205px + 11.48vw); max-width:82%; }
  .pg-fv__catch{ font-size:14px; letter-spacing:.3em; text-indent:.3em; text-align:center; }

  /* コピーは縦並びでも木漏れ日動画の上に白文字で重ねる */
  .pg-concept{ aspect-ratio:auto; }
  .pg-concept__media{ position:absolute; inset:0; width:100%; height:100%; }
  .pg-concept__shade{ inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,.34) 38%,rgba(0,0,0,.60) 100%); }
  .pg-concept__inner{ position:relative; left:auto; right:auto; top:auto;
    width:90vw; margin-inline:auto; padding:46vw 0 14vw; color:#fff; }
  .pg-page .pg-concept__label{ width:auto; margin-bottom:16px; text-align:left; }
  .pg-page .pg-concept__mark{ margin-left:0; }
  .pg-concept__mark img{ width:78%; max-width:360px;
    filter:drop-shadow(0 2px 12px rgba(0,0,0,.55)); }
  .pg-concept__body{ font-size:14px; letter-spacing:.06em; text-align:justify;
    text-shadow:0 1px 14px rgba(0,0,0,.5); }

  .pg-lead{ padding-top:80px; }
  .pg-page .pg-lead__ttl{ font-size:clamp(20px,5.4vw,26px); margin-bottom:28px; }
  .pg-lead__body{ font-size:14px; letter-spacing:.08em; line-height:2.1; }
  .pg-lead + .pg-pin{ margin-top:80px; }

  .pg-brand{ padding-top:110px; }

  /* 1カラムに切替 */
  .pg-row,
  .pg-row--rev{ display:flex; flex-direction:column-reverse; gap:0; margin-bottom:90px; }
  .pg-row__txt,
  .pg-row__fig{ width:100%; }
  .pg-page .pg-row__fig{ aspect-ratio:16/12; margin:0 0 26px; }   /* 縦120% */
  .pg-row__txt{ padding-top:0; }

  .pg-award{ gap:14px; margin-bottom:20.8px; }
  .pg-award__mark{ width:40px; }
  .pg-award__sub{ font-size:14px; letter-spacing:.1em; }
  .pg-award__name{ font-size:clamp(24px,calc(5.2vw + 4px),28px); }
  .pg-page .pg-row__label{ font-size:clamp(20px,5.2vw,24px); letter-spacing:.2em; margin-bottom:16px; }
  .pg-page .pg-row__label.pg-jp{ font-size:clamp(24px,calc(5.2vw + 4px),28px); }
  .pg-page .pg-row__ttl{ font-size:clamp(20px,4.4vw,22px); letter-spacing:.06em; margin-bottom:16px; }
  .pg-row__body{ letter-spacing:.06em; line-height:2; }

  /* SPでは写真は常に「下からふわっと」に統一
     （:not(.is-in) を付けないと登場後も 40px 下にずれたままになる） */
  .pg-js-row:not(.is-in)[data-from="left"]  .pg-row__fig,
  .pg-js-row:not(.is-in)[data-from="right"] .pg-row__fig{ transform:translateY(40px); }

  .pg-page{ --qh:82.5vw; }        /* 16/10 の縦120% × 110% */
  .pg-quake{ padding:80px 0 70px; }
  .pg-spec{ grid-template-columns:1fr; gap:64px; margin-top:70px; }
  .pg-spec__ttl{ font-size:20px; }
  .pg-spec__body{ line-height:2; letter-spacing:.06em; }
  .pg-point{ grid-template-columns:1fr; row-gap:6px; }
  .pg-point dt{ margin-top:14px; }
  .pg-point dd{ letter-spacing:.06em; }
}

@media screen and (max-width:640px){
  .pg-fv__catch{ letter-spacing:.18em; text-indent:.18em; }
  .pg-row__fig{ aspect-ratio:10/9; }   /* 4/3 の縦120% */
}
