/* =============================================
   のれんウェブ — Style
   Mobile-first, 明朝 + Sans, gold & navy palette
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --gold:        #B8860B;
  --gold-light:  #C9A96E;
  --gold-pale:   #E8D5A8;
  --gold-bg:     #F5E6C8;
  --navy:        #2C3E5A;
  --navy-dark:   #1E2D42;
  --cream:       #FDF8F0;
  --cream-warm:  #F9F0E3;
  --white:       #FFFFFF;
  --text:        #3A3226;
  --text-light:  #7A7060;
  --border:      #E8DFD2;

  /* Type */
  --serif:  'Noto Serif JP', serif;
  --sans:   'Noto Sans JP', sans-serif;

  /* Spacing */
  --gap: 24px;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gap);
  background: rgba(253,249,243,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 32px;
  width: auto;
}

/* Bell toggle */
.bell-toggle {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 310;
  position: relative;
}
.bell-icon {
  transition: transform .15s cubic-bezier(.4,0,.2,1);
  transform-origin: 50% 30%;
  margin-top: 7px;
}
.bell-toggle.is-ringing .bell-icon {
  animation: bellRing .55s ease-in-out;
}
.bell-toggle:hover .bell-icon {
  transform: scale(1.08);
}
.bell-toggle.is-ringing .bell-icon {
  animation: bellRing .6s ease-in-out;
}
@keyframes bellRing {
  0%   { transform: rotate(0) }
  10%  { transform: rotate(14deg) }
  20%  { transform: rotate(-12deg) }
  30%  { transform: rotate(10deg) }
  40%  { transform: rotate(-8deg) }
  50%  { transform: rotate(6deg) }
  60%  { transform: rotate(-4deg) }
  70%  { transform: rotate(2deg) }
  80%  { transform: rotate(-1deg) }
  100% { transform: rotate(0) }
}
.bell-ring-wave {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  display: none;
}
.bell-toggle.is-ringing .bell-ring-wave {
  display: block;
  animation: bellWave .8s ease-out forwards;
}
.bell-toggle.is-ringing .bell-ring-wave:nth-child(2) { animation-delay: .1s; }
.bell-toggle.is-ringing .bell-ring-wave:nth-child(3) { animation-delay: .2s; }
@keyframes bellWave {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(7); opacity: 0; }
}

/* ---------- Triangle Drawer Nav ---------- */
.tri-catcher{position:fixed;inset:0;z-index:243;background:transparent;pointer-events:none;}
.tri-catcher.on{pointer-events:auto;}
.tri-tris{position:fixed;inset:54px 0 0 0;width:100%;z-index:244;pointer-events:none;overflow:visible;}
.tri-tree{position:fixed;inset:0;width:100%;height:100%;z-index:245;pointer-events:none;overflow:visible;}
.tri-tree path{fill:none;stroke:rgba(180,190,220,.4);stroke-width:.85;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;}
.tri-brand{display:none;}
.tri-menu{position:fixed;z-index:246;top:54px;right:0;width:66%;max-width:440px;pointer-events:none;padding-top:6px;}
@media(max-width:680px){.tri-menu{width:86%;}}
.tri-row{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:50px;padding:0 18px;text-decoration:none;color:#fff;opacity:0;pointer-events:none;
  border:1px solid rgba(255,255,255,.18);border-radius:3px;margin:3px 10px;}
.tri-menu.open .tri-row{pointer-events:auto;}
.tri-row .tri-idx{font-family:var(--serif);font-size:.64rem;color:rgba(255,255,255,.55);letter-spacing:.1em;order:0;}
.tri-row .tri-lbl{font-family:var(--serif);font-size:1.06rem;letter-spacing:.06em;order:1;color:#fff;
  text-shadow:0 0 6px rgba(10,18,52,.95),0 0 14px rgba(10,18,52,.8),0 0 26px rgba(10,18,52,.6);}
.tri-row::after{content:"";position:absolute;right:18px;width:0;height:1px;background:rgba(255,255,255,.45);bottom:8px;transition:width .35s;}
.tri-row:hover::after{width:calc(100% - 36px);}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 75svh;
  min-height: 560px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px var(--gap) 40px;
  color: var(--text-dark);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-shadow:
    0 0 8px rgba(245,235,218,.9),
    0 0 16px rgba(245,235,218,.7),
    0 0 32px rgba(245,235,218,.5);
}
.hero-eyebrow {
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .1em;
  margin-bottom: 8px;
  color: var(--gold);
}
.hero-title {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.hero-subtitle {
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--text-dark);
}
.hero-divider {
  width: 40px;
  height: 1.5px;
  background: var(--text-dark);
  margin: 20px 0;
  opacity: .25;
}
.hero-desc {
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-dark);
  opacity: .7;
}
.hero-desc-sub {
  margin-top: 16px;
  opacity: .6;
  font-size: .82rem;
}
.hero-desc-full {
  display: block;
}
.hero-desc-sp {
  display: none;
}
@media (max-width: 480px) {
  .hero-desc-full { display: none; }
  .hero-desc-sp { display: block; }
}
.hero-actions {
  margin-top: auto;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.hero-actions .btn {
  box-shadow:
    0 0 8px rgba(245,235,218,.9),
    0 0 16px rgba(245,235,218,.7),
    0 0 32px rgba(245,235,218,.5);
  text-shadow: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 6px;
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .06em;
  transition: background .25s, color .25s, transform .2s;
  min-width: 260px;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: #A07A0A; }

.btn-outline {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  background: rgba(253,248,240,.6);
}
.btn-outline:hover { background: rgba(253,248,240,.85); }

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.arrow { font-size: 1.2em; margin-left: 2px; }

/* ---------- Sections ---------- */
.section {
  padding: 56px var(--gap);
}

.underhero {
  padding: 0 var(--gap) 56px;
}

.section-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: .1em;
  margin-bottom: 12px;
  color: var(--text);
}
.section-title-bar {
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 12px;
}

.flower-icon {
  color: var(--gold-light);
  font-size: .85em;
}

/* ---------- Features ---------- */
.features {
  background: var(--cream);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s;
}
.feature-card:hover {
  box-shadow: 0 2px 12px rgba(184,134,11,.1);
}
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-warm);
  border-radius: 10px;
  color: var(--gold);
}
.feature-text {
  flex: 1;
  min-width: 0;
}
.feature-name {
  display: block;
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.feature-desc {
  display: block;
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.feature-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--gold-light);
}

/* ---------- Info Link Service ---------- */
.info-link-service {
  background: var(--cream-warm);
}
.info-lead {
  text-align: center;
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.info-img-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .85rem;
  margin-bottom: 20px;
}
.info-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
}
.check-icon {
  color: var(--gold);
  font-size: .7rem;
}

/* ---------- Simulator ---------- */
.simulator {
  background: var(--cream);
}
.simulator-lead {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.sim-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .25s;
}
.sim-step.is-active {
  box-shadow: 0 2px 16px rgba(184,134,11,.12);
}

.sim-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sim-step-badge {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.2;
}
.sim-step-badge strong {
  font-size: 1.15rem;
  font-weight: 600;
}
.sim-step-title {
  flex: 1;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.sim-step-toggle {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--gold-light);
  transition: transform .3s;
}
.sim-step.is-active .sim-step-toggle {
  transform: rotate(90deg);
}

.sim-step-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 16px;
}
.sim-step.is-active .sim-step-body {
  max-height: 400px;
  padding: 0 16px 20px;
}

/* Single-select options */
.sim-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sim-opt {
  flex: 1;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 400;
  color: var(--text);
  transition: border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.sim-opt svg { color: var(--gold-light); }
.sim-opt.is-selected {
  border-color: var(--gold);
  background: rgba(184,134,11,.06);
}
.sim-opt.is-selected svg { color: var(--gold); }

/* Multi-select options */
.sim-options-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sim-opt-multi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: .78rem;
  transition: border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.sim-opt-multi svg { color: var(--gold-light); flex-shrink: 0; }
.sim-opt-multi.is-selected {
  border-color: var(--gold);
  background: rgba(184,134,11,.06);
}

/* Result */
.sim-result {
  position: relative;
  background: url('images/bg_meyasu.jpg') center top / cover no-repeat;
  border-radius: 12px;
  padding: 28px 20px 24px;
  margin-top: 24px;
  color: var(--cream);
  overflow: hidden;
}
.sim-result-inner { position: relative; z-index: 1; }
.sim-result-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: .12em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sim-result-title::before,
.sim-result-title::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold-light);
}

.sim-result-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}
.sim-result-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.sim-result-label {
  font-family: var(--serif);
  font-size: .78rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.sim-result-price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #C9A96E;
  line-height: 1.2;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.sim-result-price.is-updating {
  transform: scale(1.06);
}
.sim-result-price-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.sim-result-sep {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,.5);
  margin: 0 2px;
}
.sim-result-monthly {
  font-size: 1.6rem;
  font-weight: 600;
  color: #C9A96E;
}
.sim-result-note {
  text-align: center;
  font-size: .72rem;
  color: rgba(253,248,240,.45);
  margin-top: 12px;
}
.sim-result-flower {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 2rem;
  color: rgba(201,169,110,.2);
}

/* Why chosen */
.why-chosen {
  margin-top: 48px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.why-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s;
}
.why-card:hover { box-shadow: 0 2px 12px rgba(184,134,11,.1); }
.why-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-warm);
  border-radius: 10px;
  color: var(--gold);
}
.why-text { flex: 1; min-width: 0; }
.why-name {
  display: block;
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 500;
}
.why-desc {
  display: block;
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.section-cta {
  text-align: center;
  margin-top: 36px;
}

/* ---------- Works ---------- */
.works {
  background: var(--cream-warm);
}
.works-lead {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.works-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: box-shadow .2s;
}
.work-card:hover { box-shadow: 0 2px 12px rgba(184,134,11,.1); }

.work-card-featured {
  border-color: var(--gold-pale);
}
.work-featured-badge {
  position: absolute;
  top: -1px; left: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: .68rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
  letter-spacing: .06em;
}

.work-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.work-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-family: var(--serif);
  font-size: .7rem;
  text-align: center;
  line-height: 1.4;
}
.work-info {
  flex: 1;
  min-width: 0;
}
.work-name {
  display: block;
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 500;
}
.work-desc {
  font-size: .75rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 4px;
}

/* ---------- Case Study ---------- */
.case-study {
  background: var(--cream);
}
.case-lead {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.case-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.case-step-num {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.case-badge {
  width: 32px; height: 32px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 600;
}
.case-step-icon {
  color: var(--gold-light);
}
.case-step-body {
  flex: 1;
}
.case-step-body h3 {
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.case-step-body p {
  font-size: .8rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Case points */
.case-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.case-points-title {
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.point-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: .78rem;
  transition: background .2s;
}
.point-item:hover { background: var(--cream-warm); }
.point-item svg { flex-shrink: 0; color: var(--gold-light); }
.point-item span { flex: 1; }

/* Owner quote */
.owner-quote {
  margin-top: 36px;
  padding: 28px 20px;
  background: var(--cream-warm);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.quote-mark {
  font-size: 2rem;
  color: var(--gold-pale);
  line-height: 1;
}
.quote-open { display: block; margin-bottom: 4px; }
.quote-close { display: block; text-align: right; margin-top: 4px; }
.owner-quote blockquote {
  font-family: var(--serif);
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
}
.quote-label {
  font-size: .72rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* ---------- Flow ---------- */
.flow {
  background: var(--cream-warm);
}
.flow-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  transition: box-shadow .2s;
}
.flow-step:hover { box-shadow: 0 2px 12px rgba(184,134,11,.1); }
.flow-badge {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 600;
}
.flow-icon {
  flex-shrink: 0;
  color: var(--gold-light);
}
.flow-text { flex: 1; }
.flow-name {
  display: block;
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 500;
}
.flow-desc {
  display: block;
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.flow-connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

/* Policy note */
.policy-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 20px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.policy-note svg { flex-shrink: 0; color: var(--gold-light); margin-top: 2px; }
.policy-note strong {
  display: block;
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.policy-note p {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Contact CTA ---------- */
.contact-cta {
  text-align: center;
  background: var(--cream);
}
.contact-lead {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.contact-bottom-note {
  margin-top: 36px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.contact-bottom-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--gold-light);
}
.contact-bottom-note p {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.7;
}
.contact-bottom-flower {
  position: absolute;
  bottom: 8px; right: 12px;
  color: var(--gold-pale);
  font-size: 1.2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 24px var(--gap);
  text-align: center;
  font-size: .72rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

/* ---------- Contact Modal ---------- */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(30,45,66,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .3s;
}
.contact-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.contact-modal {
  background: var(--cream);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 28px var(--gap) 40px;
  position: relative;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.contact-modal-overlay.is-open .contact-modal {
  transform: translateY(0);
}
.contact-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.contact-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.contact-modal-header h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-modal-sub {
  font-size: .82rem;
  color: var(--text-dark);
  letter-spacing: .04em;
}
.contact-modal-rep {
  display: inline-block;
  margin-left: 8px;
  font-size: .78rem;
  color: var(--text-light);
}
.contact-modal-career {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.6;
}
.contact-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: .03em;
}
.contact-input,
.contact-textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .88rem;
  font-family: var(--sans);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color .2s;
}
.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-textarea {
  resize: vertical;
  min-height: 80px;
}
.contact-approach {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.contact-chip {
  display: block;
  cursor: pointer;
}
.contact-chip input {
  display: none;
}
.contact-chip span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  transition: background .2s, border-color .2s, color .2s;
}
.contact-chip input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.contact-submit {
  width: 100%;
  margin-top: 8px;
}
.contact-note {
  margin-top: 16px;
  font-size: .72rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.7;
}

/* ---------- Sakura Petals ---------- */
.sakura-global {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.sakura-global canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =============================================
   WEB DEMO（うちのお店なら、こう見える）
   既存スタイルに影響しない追記セクション
   ============================================= */

.noren-demo {
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.noren-demo-lead {
  text-align: center;
  font-size: .95rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.noren-demo-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---- 入力エリア ---- */
.noren-demo-label {
  display: block;
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: 18px;
}
.noren-demo-input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.noren-demo-input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(201,169,110,.2);
}
.noren-demo-input::placeholder { color: var(--text-light); opacity: .7; }

.noren-demo-group {
  border: none;
  margin-bottom: 18px;
}
.noren-demo-legend {
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: 8px;
  padding: 0;
}

.noren-demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.noren-demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  min-height: 40px; /* タップしやすい高さ */
  font-size: .85rem;
  letter-spacing: .03em;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.noren-demo-chip:hover {
  border-color: var(--gold-light);
}
.noren-demo-chip.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(184,134,11,.25);
}
.noren-demo-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.noren-demo-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid;
  flex-shrink: 0;
}
.noren-demo-chip.is-selected .noren-demo-swatch {
  box-shadow: 0 0 0 2px rgba(255,255,255,.5);
}

/* ---- スマホプレビュー ---- */
.noren-demo-preview-wrap {
  display: flex;
  justify-content: center;
}

.noren-demo-phone {
  /* テーマ用ローカル変数（初期：紺金） */
  --demo-bg: #1E2D42;
  --demo-accent: #C9A96E;
  --demo-text: #FDF8F0;

  width: 100%;
  max-width: 320px;
  background: #2B2B2B;
  border-radius: 32px;
  padding: 14px 10px 18px;
  box-shadow:
    0 10px 30px rgba(58,50,38,.25),
    inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.noren-demo-phone-speaker {
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.18);
  margin: 0 auto 10px;
}

.noren-demo-phone[data-demo-theme="konkin"]  { --demo-bg:#1E2D42; --demo-accent:#C9A96E; --demo-text:#FDF8F0; }
.noren-demo-phone[data-demo-theme="enji"]    { --demo-bg:#5A1E2D; --demo-accent:#E8C7A2; --demo-text:#FFF8F0; }
.noren-demo-phone[data-demo-theme="cream"]   { --demo-bg:#FDF8F0; --demo-accent:#B8860B; --demo-text:#3A3226; }
.noren-demo-phone[data-demo-theme="kurokin"] { --demo-bg:#171717; --demo-accent:#C9A96E; --demo-text:#FDF8F0; }
.noren-demo-phone[data-demo-theme="pink"]    { --demo-bg:#FFF3F6; --demo-accent:#C98A9E; --demo-text:#3A3226; }

.noren-demo-screen {
  background: var(--demo-bg);
  color: var(--demo-text);
  border-radius: 20px;
  padding: 28px 20px 18px;
  text-align: center;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: background .4s, color .4s;
}

.noren-demo-biz {
  align-self: center;
  font-size: .68rem;
  letter-spacing: .2em;
  padding: 3px 12px;
  border: 1px solid var(--demo-accent);
  border-radius: 999px;
  color: var(--demo-accent);
  margin-bottom: 12px;
  transition: color .4s, border-color .4s;
}

.noren-demo-shopname {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.4;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.noren-demo-screen-divider {
  width: 32px;
  height: 2px;
  background: var(--demo-accent);
  margin: 0 auto 12px;
  transition: background .4s;
}

.noren-demo-catch {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.7;
  margin-bottom: 12px;
}

.noren-demo-intro {
  font-size: .78rem;
  line-height: 1.9;
  text-align: left;
  opacity: .88;
  margin-bottom: 14px;
}

.noren-demo-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.noren-demo-points li {
  font-size: .78rem;
  letter-spacing: .03em;
  padding: 7px 10px;
  border: 1px solid var(--demo-accent);
  border-radius: var(--radius-sm);
  transition: border-color .4s;
}
.noren-demo-points li::before {
  content: "✿ ";
  color: var(--demo-accent);
  font-size: .85em;
}

.noren-demo-cta {
  display: block;
  margin-top: auto;
  padding: 12px 10px;
  font-family: var(--serif);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  background: var(--demo-accent);
  color: var(--demo-bg);
  border-radius: var(--radius-sm);
  transition: background .4s, color .4s;
}

.noren-demo-sample-note {
  font-size: .65rem;
  opacity: .55;
  margin-top: 10px;
  letter-spacing: .05em;
}

/* プレビュー更新時のふわっとした切り替え */
.noren-demo-screen.is-updating .noren-demo-shopname,
.noren-demo-screen.is-updating .noren-demo-catch,
.noren-demo-screen.is-updating .noren-demo-intro,
.noren-demo-screen.is-updating .noren-demo-points {
  opacity: 0;
}
.noren-demo-shopname,
.noren-demo-catch,
.noren-demo-intro,
.noren-demo-points {
  transition: opacity .18s ease;
}

/* ---- 下部導線 ---- */
.noren-demo-followup {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  margin: 32px 0 16px;
  line-height: 2;
}
.noren-demo-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.noren-demo-btn-sub {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: var(--white);
}
.noren-demo-btn-sub:hover {
  background: var(--gold-bg);
}

/* ---- PC幅：左右2カラム ---- */
@media (min-width: 820px) {
  .noren-demo-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    max-width: 880px;
    margin: 0 auto;
  }
  .noren-demo-controls { flex: 1 1 55%; }
  .noren-demo-preview-wrap {
    flex: 1 1 45%;
    position: sticky;
    top: 80px;
  }
  .noren-demo-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .noren-demo-screen,
  .noren-demo-screen * {
    transition: none !important;
  }
}
