@charset "UTF-8";
/* =========================================================
   スキャンサーム 展示イベント LP
   デスクトップ：D案 ／ スマホ（767px以下）：E案
   ========================================================= */

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: content-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #f7f6f3;
  color: #2b2722;
  font-family: 'IBM Plex Sans JP', sans-serif;
  font-weight: 300;
}
p, h1, h2, h3, ul { margin: 0; }
img { display: block; }
a { color: #2b2722; }
a:hover { color: #3d3832; }
.sp { display: none; }
.pc { display: inline; }

.page { display: flex; flex-direction: column; }

/* セクション共通（中央そろえの縦積み） */
.hero, .event, .about, .models, .lineup, .overview, .place, .hakone, .footer {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.vline { width: 1px; height: 96px; background: #a79a81; }

.sec-title {
  margin: 56px 0 0;
  font-family: 'Noto Serif JP', serif; font-weight: 300;
  font-size: 34px; line-height: 1.9; letter-spacing: .2em;
}

.btn-line {
  display: inline-block;
  background: #4a8229; color: #ffffff; text-decoration: none;
}
.btn-line:hover { color: #ffffff; background: #3f7023; }

/* ---------- ファーストビュー ---------- */
.hero { padding: 72px 5% 140px; order: 1; }
.hero-logo { width: 197px; height: 40px; opacity: .8; }
.hero-line { height: 120px; margin-top: 72px; }
.hero-title {
  margin: 56px 0 0;
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 50px; line-height: 1.9; letter-spacing: .22em;
}
.hero-sub {
  margin: 36px 0 0;
  font-family: 'Noto Serif JP', serif; font-weight: 300;
  font-size: 42px; line-height: 2.1; letter-spacing: .2em; color: #3d3832;
}
.hero-visual { position: relative; width: 100%; display: flex; justify-content: center; }
.fx-ember {
  position: absolute; top: 50px; bottom: -110px; left: 4%; right: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214,132,64,.6) 0%, rgba(214,132,64,.38) 55%, rgba(214,132,64,0) 100%);
  filter: blur(18px); pointer-events: none;
}
.hero-img {
  position: relative;
  width: 2832px; max-width: 80%; height: auto;
  aspect-ratio: 2832 / 1316; object-fit: cover;
  padding: 108px 79px 0;
}

/* ---------- 開催案内 ---------- */
.event { background: #eeece8; padding: 140px 5%; order: 2; }
.event-title {
  margin: 56px 0 0;
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 40px; line-height: 1.9; letter-spacing: .2em;
}
.event-desc { margin: 40px 0 0; max-width: 560px; font-size: 15px; line-height: 2.2; color: #3d3832; }
.info {
  margin-top: 88px; width: 100%; max-width: 960px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid #b8b1a5; border-bottom: 1px solid #b8b1a5;
}
.info-cell { padding: 44px 32px; }
.info-cell:first-child { border-right: 1px solid #b8b1a5; }
.info-label { font-size: 12px; letter-spacing: .3em; color: #3d3832; }
.info-value { margin: 20px 0 0; font-size: 18px; line-height: 1.9; font-weight: 700; color: #3d3832; }
.info-mono { font-family: 'IBM Plex Mono', 'IBM Plex Sans JP', monospace; font-size: 17px; }
.info-sub { margin: 6px 0 0; font-size: 14px; color: #3d3832; }
.info-sns { margin: 14px 0 0; line-height: 0; }
.info-sns a { display: inline-block; color: #3d3832; }
.info-sns a:hover { color: #3d3832; opacity: .6; }
.event-contact { margin: 64px 0 11px; font-size: 14px; letter-spacing: .2em; color: #3d3832; }
.event-btn {
  margin-top: 13px; padding: 22px 72px;
  font-weight: 500; font-size: 16px; letter-spacing: .24em;
}

/* ---------- リビングの写真 ---------- */
.living { padding: 0 5%; background: linear-gradient(#eeece8 50%, #f7f6f3 50%); order: 3; }
.living img { width: 100%; max-width: 1240px; margin: 0 auto; height: 520px; object-fit: cover; }

/* ---------- 「スキャンサーム」について ---------- */
.about { padding: 160px 5% 140px; order: 4; }
.about-text { max-width: 720px; font-size: 15px; line-height: 2.4; color: #3d3832; }
.about-text:first-of-type { margin-top: 40px; }
.about-img { margin-top: 88px; width: 100%; max-width: 960px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- 展示モデル ---------- */
.models { padding: 140px 5%; background: #EDECE9; order: 5; }
.models .sec-title { line-height: normal; }
.model-names {
  margin: 28px 0 0; padding: 0; list-style: none;
  font-family: 'Cormorant Garamond', serif; font-size: 21px; line-height: 1.8; color: #3d3832;
}
.model-grid {
  margin-top: 72px; width: 100%; max-width: 960px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid #b8b1a5; border-bottom: 1px solid #b8b1a5;
}
.model { padding: 56px 32px; }
.model:first-child { border-right: 1px solid #b8b1a5; }
.model img { height: 340px; width: auto; margin: 0 auto; }
.model h3 {
  margin: 36px 0 0;
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 28px; letter-spacing: .06em;
}
.model-desc { margin: 12px 0 0; font-size: 14px; line-height: 2; color: #3d3832; }
.model-price { margin: 20px 0 0; font-family: 'IBM Plex Mono', 'IBM Plex Sans JP', monospace; font-size: 15px; }

/* ---------- その他のラインナップ ---------- */
/* order は場所(7)と同じ値にして、DOM順で場所の直後（箱根の前）に置く */
.lineup { padding: 140px 5%; order: 7; background: #f7f6f3; }
.lineup .sec-title { line-height: normal; }
.lineup-grid {
  margin: 72px 0 0; padding: 0; list-style: none;
  width: 100%; max-width: 960px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #b8b1a5;
}
.lineup-item { padding: 48px 24px; border-bottom: 1px solid #b8b1a5; }
.lineup-item img { width: 100%; height: 240px; object-fit: contain; }
.lineup-item h3 {
  margin: 28px 0 0;
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px; letter-spacing: .04em;
}
.lineup-price { margin: 12px 0 0; font-family: 'IBM Plex Mono', 'IBM Plex Sans JP', monospace; font-size: 15px; }
.lineup-note { margin: 40px 0 0; font-size: 12px; color: #3d3832; }
.lineup-lead { margin: 28px 0 0; font-size: 15px; line-height: 2; color: #3d3832; }
.lineup-legend {
  margin: 16px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  font-size: 13px; color: #3d3832;
}
.lineup-mark { margin-right: .4em; }

/* ---------- イベント概要 ---------- */
.overview { padding: 140px 5%; order: 6; }
.overview .sec-title { line-height: normal; }
.overview-list {
  margin: 64px 0 0; padding: 0; list-style: none;
  width: 100%; max-width: 760px; font-size: 16px; line-height: 2;
  border-top: 1px solid #b8b1a5;
}
.overview-list li { padding: 26px 0; border-bottom: 1px solid #b8b1a5; }

/* ---------- 場所 ---------- */
.place { background: #eeece8; padding: 120px 5%; order: 7; }
.place-title {
  font-family: 'Noto Serif JP', serif; font-weight: 300;
  font-size: 28px; letter-spacing: .16em;
}
.place-text { margin: 28px 0 0; font-size: 15px; line-height: 2.2; color: #3d3832; }
.map { display: block; margin-top: 56px; width: 100%; max-width: 960px; border: 1px solid #b8b1a5; }
.map iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(1); }

/* ---------- 箱根ショールーム ---------- */
.hakone { padding: 140px 5%; order: 8; }
.hakone .sec-title { line-height: normal; }
.hakone-grid {
  margin-top: 72px; width: 100%; max-width: 1080px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  border-top: 1px solid #b8b1a5; border-bottom: 1px solid #b8b1a5;
  text-align: left;
}
.hakone-photo { padding: 48px 48px 48px 0; border-right: 1px solid #b8b1a5; }
.hakone-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.hakone-text { padding: 48px 0 48px 48px; display: flex; flex-direction: column; justify-content: center; }
.hakone-text p { font-size: 15px; line-height: 2.4; color: #3d3832; }
.hakone-contact { margin: 56px 0 0; font-size: 14px; letter-spacing: .2em; color: #3d3832; }
.hakone-btn {
  margin-top: 13px;
  padding: 22px 72px;
  font-weight: 500; font-size: 16px; letter-spacing: .24em;
}

/* ---------- フッター ---------- */
.footer { background: #eeece8; padding: 96px 5% 88px; order: 9; }
.footer-logo { display: block; }
.footer-name a, .footer-name a:hover { color: inherit; text-decoration: none; }
.footer img { width: 60px; height: 60px; border-radius: 8px; }
.footer-name { margin: 24px 0 0; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: .4em; }
.footer-text { margin: 12px 0 0; font-size: 13px; color: #3d3832; }

/* ---------- スマホの固定パーツ（デスクトップでは出さない） ---------- */
.m-header, .m-bar { display: none; }


/* =========================================================
   スマホ（767px以下）：E案
   ========================================================= */
@media (max-width: 767px) {
  .sp { display: inline; }
  .pc { display: none; }
  .page { overflow-x: clip; }
  .vline { height: 40px; }
  .sec-title {
    margin: 28px 0 0; font-weight: 700;
    font-size: 21px; line-height: 1.8; letter-spacing: .08em;
  }
  .models .sec-title, .overview .sec-title, .hakone .sec-title { line-height: normal; }
  .sec-title { font-weight: 400; }

  /* ファーストビュー */
  .hero { padding: 32px 0 0; }
  .hero-logo { width: 120px; height: auto; }
  .hero-line { height: 40px; margin-top: 32px; }
  .hero-title { margin: 28px 0 0; padding: 0 24px; font-size: 28px; line-height: 1.8; letter-spacing: .12em; }
  .hero-sub { margin: 16px 0 0; padding: 0 24px; font-size: 16px; line-height: 2; letter-spacing: .12em; }
  .fx-ember { top: -56px; bottom: -56px; left: -6%; right: -6%; }
  .hero-img {
    margin-top: 32px; padding: 0;
    width: 100%; max-width: none; aspect-ratio: 4 / 3;
  }

  /* 開催案内 */
  .event { padding: 56px 24px 64px; }
  .event-line, .event-contact, .event-btn { display: none; }
  .event-title { margin: 0; font-weight: 400; font-size: 21px; line-height: 1.8; letter-spacing: .06em; }
  .event-desc { margin: 20px 0 0; max-width: none; font-size: 14px; line-height: 2; text-align: left; }
  .info { margin-top: 48px; grid-template-columns: 1fr; max-width: none; }
  .info-cell { padding: 36px 16px; }
  .info-cell:first-child { border-right: 0; border-bottom: 1px solid #b8b1a5; }
  .info-label { font-size: 14px; }
  .info-value { margin-top: 16px; font-size: 17px; }
  .info-mono { font-size: 17px; }
  .info-sub { font-size: 13px; }

  /* リビングの写真 */
  .living { padding: 0; background: none; }
  .living img { max-width: none; height: 240px; }

  /* 「スキャンサーム」について */
  .about { padding: 64px 24px; }
  .about-text { max-width: none; margin-top: 12px; font-size: 13px; line-height: 2; text-align: left; }
  .about-text:first-of-type { margin-top: 24px; }
  .about-img { margin-top: 36px; max-width: none; }

  /* イベント概要（スマホも展示モデルの後） */
  .overview { background: transparent; padding: 64px 24px; }
  .overview-list { margin-top: 28px; max-width: none; font-size: 15px; line-height: 1.9; text-align: left; }
  .overview-list li { padding: 18px 4px; font-size: 13px; }

  /* 展示モデル */
  .models { background: #EDECE9; padding: 64px 16px; }
  .model-names { margin-top: 12px; font-size: 17px; line-height: 1.7; }
  .model-names li { font-size: 15px; }
  .model-grid { margin-top: 32px; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model { padding: 28px 10px 24px; }
  .model img { height: 210px; }
  .model h3 { margin-top: 16px; font-size: 19px; line-height: 1.3; letter-spacing: normal; }
  .model-desc { margin-top: 8px; font-size: 13px; line-height: 1.8; }
  .model-price { margin-top: 14px; font-size: 12px; line-height: 1.7; font-weight: 300; }

  /* その他のラインナップ（スマホは2列） */
  .lineup { padding: 64px 24px; }
  .lineup-grid { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup-item { padding: 24px 8px; }
  .lineup-item img { height: 150px; }
  .lineup-item h3 { margin-top: 16px; font-size: 15px; letter-spacing: normal; }
  .lineup-price { margin-top: 8px; font-size: 11px; }
  .lineup-note { margin-top: 24px; font-size: 11px; }
  .lineup-lead { margin-top: 16px; font-size: 12px; }
  .lineup-legend { margin-top: 12px; font-size: 11px; gap: 6px 16px; }

  /* 場所 */
  .place { padding: 56px 24px; }
  .place-title { font-weight: 400; font-size: 21px; line-height: 1.8; letter-spacing: .06em; }
  .place-text { margin-top: 16px; font-size: 13px; line-height: 2; }
  .map { margin-top: 28px; max-width: none; }
  .map iframe { height: 260px; }

  /* 箱根ショールーム */
  .hakone { padding: 64px 24px; }
  .hakone-grid { display: block; margin-top: 28px; max-width: none; border: 0; }
  .hakone-photo { padding: 0; border: 0; }
  .hakone-photo img { aspect-ratio: 4 / 3; }
  .hakone-text { display: block; padding: 0; }
  .hakone-text p { margin-top: 12px; font-size: 13px; line-height: 2; }
  .hakone-text p:first-child { margin-top: 24px; }
  .hakone-contact { margin-top: 28px; font-size: 12px; }
  .hakone-btn { margin-top: 12px; padding: 16px 40px; font-size: 14px; }

  /* フッター（下の帯のぶん余白を多めに） */
  .footer { padding: 48px 24px 120px; }
  .footer img { width: 48px; height: 48px; }
  .footer-name { margin-top: 16px; font-size: 17px; letter-spacing: .3em; }
  .footer-text { margin-top: 8px; font-size: 13px; line-height: 1.9; }

  /* 上のロゴ（スクロールで表示） */
  .m-header {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; right: 0; z-index: 10;
    height: 52px; box-sizing: border-box;
    background: rgba(247,246,243,.96); border-bottom: 1px solid #d6d1c8;
    opacity: 0; visibility: hidden; transform: translateY(-100%);
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
  }
  .m-header img { width: 104px; height: auto; opacity: .8; }

  /* 下のLINE帯（スクロールで表示） */
  .m-bar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    box-sizing: border-box;
    padding: 12px 16px calc(15px + env(safe-area-inset-bottom));
    background: rgba(247,246,243,.97); border-top: 1px solid #d6d1c8;
    opacity: 0; visibility: hidden; transform: translateY(100%);
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
  }
  .m-bar p {
    flex: 1 1 auto;
    font-family: 'IBM Plex Mono', 'IBM Plex Sans JP', monospace;
    font-size: 12px; line-height: 1.55; font-weight: 700; color: #3d3832;
  }
  .m-bar .btn-line { flex: 0 0 auto; padding: 15px 18px; font-weight: 700; font-size: 15px; letter-spacing: .08em; }

  .is-scrolled .m-header,
  .is-scrolled .m-bar { opacity: 1; visibility: visible; transform: none; }
}


/* =========================================================
   エフェクト
   ========================================================= */
@keyframes fx-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fx-ignite {
  0%   { opacity: 0; filter: blur(8px); color: #d9853f; }
  45%  { opacity: 1; filter: blur(0); color: #c9783f; }
  100% { opacity: 1; filter: blur(0); color: #2b2722; }
}
@keyframes fx-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fx-ember-in { from { opacity: 0; } to { opacity: .85; } }
@keyframes fx-ember {
  0%, 100% { opacity: .85; transform: scale(1); }
  22% { opacity: 1;   transform: scale(1.05); }
  41% { opacity: .6;  transform: scale(.97); }
  63% { opacity: .95; transform: scale(1.03); }
  80% { opacity: .7;  transform: scale(.99); }
}

/* JavaScript が動いていて、動きを減らす設定でない時だけ演出する */
@media (prefers-reduced-motion: no-preference) {
  /* 02 一文字ずつ灯る ／ サブコピー */
  .js .fx-char { display: inline-block; opacity: 0; }
  .js .fx-in .fx-char { opacity: 1; animation: fx-ignite 1.4s ease-out both; }
  .js .fx-fade { opacity: 0; }
  .js .fx-in .fx-fade { opacity: 1; animation: fx-fade 1.2s ease-out both; }

  /* 04 熾火のゆらぎ */
  .js .fx-ember { opacity: 0; }
  .js .fx-in .fx-ember { animation: fx-ember-in 1.6s ease-out .3s both, fx-ember 4s ease-in-out 1.9s infinite; }

  /* 01 線が降りて、見出しが現れる → 見出しが半分の濃さで下の内容 */
  .js .fx-sec .fx-line { transform-origin: top; transform: scaleY(0); transition: transform .55s cubic-bezier(.4,0,.2,1); }
  .js .fx-sec .fx-rise { opacity: 0; transform: translateY(14px); transition: opacity .5s linear .3s, transform .5s cubic-bezier(.2,.7,.2,1) .3s; }
  .js .fx-sec .fx-below { opacity: 0; transform: translateY(12px); transition: opacity .55s ease .55s, transform .55s cubic-bezier(.2,.7,.2,1) .55s; }
  .js .fx-sec.fx-in .fx-line { transform: scaleY(1); }
  .js .fx-sec.fx-in .fx-rise,
  .js .fx-sec.fx-in .fx-below { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-ember { opacity: .8; }
}
