/* ============================================================
   fleurir — 水彩ガーリーなコスメ専門店サイト
   palette: dusty rose / lavender / sage / mimosa on warm white
   ============================================================ */
:root {
  --bg: #fbf8f5;
  --bg-rose: #f7eef0;
  --bg-lav: #f2f0f7;
  --card: #fffdfb;
  --ink: #6f5b60;
  --ink-soft: #99838a;
  --rose: #c9818d;
  --rose-deep: #b06877;
  --lavender: #a195c2;
  --sage: #8aa98e;
  --mimosa: #d2b06a;
  --line: rgba(201, 129, 141, 0.38);
  --line-dash: rgba(201, 129, 141, 0.55);
  --shadow: 0 10px 30px -12px rgba(176, 104, 119, 0.25);
  --en: "Cormorant", "Times New Roman", serif;
  --jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--jp);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------------- header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  background: rgba(251, 248, 245, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px dashed var(--line-dash);
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-logo .en {
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  color: var(--rose-deep);
  letter-spacing: 0.04em;
}
.brand-logo .jp {
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
}

.gnav { display: flex; gap: 26px; margin-left: auto; }
.gnav a {
  display: flex; flex-direction: column; align-items: center;
  line-height: 1.3;
  padding: 2px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.gnav a:hover { border-bottom-color: var(--rose); color: var(--rose-deep); }
.gnav .en { font-family: var(--en); font-style: italic; font-size: 19px; font-weight: 600; color: var(--rose-deep); }
.gnav .jp { font-size: 10px; color: var(--ink-soft); letter-spacing: 0.14em; }

.header-cta { display: flex; gap: 12px; align-items: center; }
.btn-contact, .btn-recruit {
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-dash);
  background: var(--card);
  color: var(--rose-deep);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-recruit { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn-contact:hover { background: var(--bg-rose); transform: translateY(-1px); }
.btn-recruit:hover { background: var(--rose-deep); transform: translateY(-1px); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 140px 24px 90px;
  background:
    url("assets/hero-wash.png") center / cover no-repeat,
    var(--bg);
  overflow: hidden;
}

.hero-frame {
  position: relative;
  text-align: center;
  padding: 64px 72px 56px;
  max-width: 720px;
}
/* lace frame: solid + dashed double border */
.hero-frame::before {
  content: "";
  position: absolute; inset: 0;
  border: 1.5px solid rgba(176, 104, 119, 0.55);
  border-radius: 50% 50% 50% 50% / 9% 9% 9% 9%;
  background: rgba(255, 253, 251, 0.35);
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 9px;
  border: 1.5px dashed var(--line-dash);
  border-radius: 50% 50% 50% 50% / 9% 9% 9% 9%;
}

.hero-title .en {
  display: block;
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(56px, 9vw, 96px);
  color: var(--rose-deep);
  line-height: 1.05;
}
.hero-title .jp {
  display: block;
  margin-top: 18px;
  font-size: clamp(15px, 2.2vw, 19px);
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ink);
}
.hero-sub {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-deco { position: absolute; pointer-events: none; }
.hero-deco img { width: 100%; height: auto; }
.hero-flower-1 { width: 170px; top: 12%; left: 7%; animation: bob 7s ease-in-out infinite; }
.hero-flower-2 { width: 120px; bottom: 14%; left: 16%; animation: bob 8s ease-in-out 1s infinite; }
.hero-flower-3 { width: 150px; top: 16%; right: 9%; animation: bob 9s ease-in-out 0.5s infinite; }
.hero-flower-4 { width: 100px; bottom: 11%; right: 18%; animation: bob 7.5s ease-in-out 1.6s infinite; }
.hero-leaf { width: 100px; top: 22%; right: 3%; opacity: 0.85; animation: bob 10s ease-in-out infinite; }
.hero-ribbon { width: 130px; top: 40%; left: 2.5%; animation: bob 9s ease-in-out 2s infinite; }
.hero-lip { width: 60px; bottom: 16%; right: 9%; animation: bob 8s ease-in-out 0.8s infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--en); font-style: italic;
  font-size: 15px; letter-spacing: 0.25em;
  color: var(--ink-soft);
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px; height: 34px;
  margin: 8px auto 0;
  background: linear-gradient(var(--rose), transparent);
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); } 100% { opacity: 0; } }

/* ---------------- common section bits ---------------- */
section { position: relative; }
.inner { max-width: 1040px; margin: 0 auto; padding: 96px 28px; }

.sec-head { text-align: center; margin-bottom: 56px; position: relative; }
.sec-head .en {
  display: block;
  font-family: var(--en); font-style: italic; font-weight: 600;
  font-size: clamp(40px, 6vw, 58px);
  color: var(--rose-deep);
  line-height: 1.1;
}
.sec-head .jp { display: block; font-size: 13px; letter-spacing: 0.3em; color: var(--ink-soft); margin-top: 8px; }
.sec-head .deco-flower {
  width: 52px; margin: 0 auto 10px;
}

/* scallop edges (lace) */
.scallop-down, .scallop-up { height: 22px; position: relative; z-index: 2; }
.scallop-down { background: radial-gradient(circle at 11px -6px, transparent 15px, var(--scallop-color, var(--bg-rose)) 16px) repeat-x; background-size: 22px 22px; transform: scaleY(-1); }
.scallop-up { background: radial-gradient(circle at 11px -6px, transparent 15px, var(--scallop-color, var(--bg-rose)) 16px) repeat-x; background-size: 22px 22px; }

/* dotted doily ring behind headings */
.doily {
  position: absolute;
  width: 150px; height: 150px;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  border: 1.5px dashed var(--line-dash);
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
}
.doily::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px dotted var(--line-dash);
  border-radius: 50%;
}

/* round buttons */
.btn-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; letter-spacing: 0.18em;
  padding: 13px 38px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-dash);
  color: var(--rose-deep);
  box-shadow: var(--shadow);
  transition: transform 0.25s, background 0.25s;
}
.btn-more::after { content: "❀"; font-size: 12px; color: var(--rose); transition: transform 0.3s; }
.btn-more:hover { transform: translateY(-2px); background: var(--bg-rose); }
.btn-more:hover::after { transform: rotate(40deg); }
.center { text-align: center; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* staggered reveals */
.js .brand-grid .brand-card:nth-child(2) { transition-delay: 0.12s; }
.js .brand-grid .brand-card:nth-child(3) { transition-delay: 0.24s; }
.js .brand-grid .brand-card:nth-child(4) { transition-delay: 0.36s; }
.js .feature-media.reveal { transition-delay: 0.15s; }
.js .news-list.reveal .news-item {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .news-list.reveal.in .news-item { opacity: 1; transform: none; }
.js .news-list.reveal.in .news-item:nth-child(1) { transition-delay: 0.05s; }
.js .news-list.reveal.in .news-item:nth-child(2) { transition-delay: 0.15s; }
.js .news-list.reveal.in .news-item:nth-child(3) { transition-delay: 0.25s; }
.js .news-list.reveal.in .news-item:nth-child(4) { transition-delay: 0.35s; }
.js .news-list.reveal.in .news-item:nth-child(5) { transition-delay: 0.45s; }
.js .news-list.reveal.in .news-item:nth-child(6) { transition-delay: 0.55s; }

/* ---------------- entrance (page load) ---------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes enter-up {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes enter-down {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes enter-frame {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes bloom {
    0%   { opacity: 0; transform: scale(0.4) rotate(-14deg); }
    70%  { opacity: 1; transform: scale(1.06) rotate(3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
  }
  @keyframes enter-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .js .site-header { animation: enter-down 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
  .js .hero-frame  { animation: enter-frame 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
  .js .hero-title .en { display: block; animation: enter-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
  .js .hero-title .jp { animation: enter-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both; }
  .js .hero-sub       { animation: enter-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.92s both; }
  .js .scroll-hint    { animation: enter-fade 1s ease 1.7s both; }

  /* flowers bloom in one by one (on the img, so the wrapper keeps bobbing) */
  .js .hero-deco img { animation: bloom 0.9s cubic-bezier(0.34, 1.45, 0.64, 1) both; }
  .js .hero-flower-1 img { animation-delay: 0.5s; }
  .js .hero-flower-3 img { animation-delay: 0.65s; }
  .js .hero-flower-2 img { animation-delay: 0.8s; }
  .js .hero-flower-4 img { animation-delay: 0.95s; }
  .js .hero-ribbon   img { animation-delay: 1.1s; }
  .js .hero-leaf     img { animation-delay: 1.2s; }
  .js .hero-lip      img { animation-delay: 1.3s; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .news-list.reveal .news-item { opacity: 1; transform: none; transition: none; }
  .hero-deco, .scroll-hint::after { animation: none !important; }
}

/* ---------------- concept ---------------- */
.concept { background: var(--bg); }
.concept .inner { text-align: center; max-width: 760px; }
.concept-copy { font-size: clamp(15px, 2vw, 17.5px); font-weight: 500; line-height: 2.5; }
.concept-copy strong { color: var(--rose-deep); font-weight: 700; }
.concept-deco { width: 70px; margin: 34px auto 0; opacity: 0.9; }

/* ---------------- shops banners ---------------- */
.shops-top { background: var(--bg-rose); }
.shop-label {
  display: flex; align-items: center; gap: 18px;
  justify-content: center;
  font-family: var(--en); font-style: italic;
  font-size: 19px; letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin: 0 0 26px;
}
.shop-label::before, .shop-label::after {
  content: ""; width: 70px; height: 1px;
  background: var(--line-dash);
}

.select-card {
  display: block;
  max-width: 640px;
  margin: 0 auto 70px;
  background: var(--card);
  border-radius: 26px;
  padding: 44px 36px 38px;
  text-align: center;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.select-card::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1.5px dashed var(--line-dash);
  border-radius: 20px;
  pointer-events: none;
}
.select-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -14px rgba(176, 104, 119, 0.35); }
.select-card .flower { width: 84px; margin: 0 auto 10px; }
.select-card .name { display: block; font-family: var(--en); font-style: italic; font-weight: 600; font-size: 44px; color: var(--rose-deep); line-height: 1.2; }
.select-card .desc { display: block; font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.14em; margin: 10px auto 0; max-width: 32em; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.brand-card {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 30px 18px 26px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.brand-card::before {
  content: "";
  position: absolute; inset: 7px;
  border: 1.2px dashed var(--line-dash);
  border-radius: 14px;
  pointer-events: none;
}
.brand-card:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 18px 36px -14px rgba(176, 104, 119, 0.35); }
.brand-card .flower { width: 62px; margin: 0 auto 8px; }
.brand-card .name { font-family: var(--en); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--ink); }
.brand-card .tag { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.16em; margin-top: 6px; }
.brand-card[data-tone="lavender"] .name { color: #8579ab; }
.brand-card[data-tone="rose"] .name { color: var(--rose-deep); }
.brand-card[data-tone="blue"] .name { color: #7991b1; }
.brand-card[data-tone="mimosa"] .name { color: #b2924a; }

/* ---------------- news ---------------- */
.news { background: var(--bg); }
.news-list {
  max-width: 860px; margin: 0 auto 44px;
  border-top: 1px dashed var(--line-dash);
}
.news-item {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 10px;
  border-bottom: 1px dashed var(--line-dash);
  flex-wrap: wrap;
  transition: background 0.25s;
}
.news-item:hover { background: var(--bg-rose); }
.news-date { font-family: var(--en); font-size: 16px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.08em; white-space: nowrap; }
.news-tag {
  font-size: 10.5px; letter-spacing: 0.12em;
  padding: 3px 0;
  min-width: 74px;
  text-align: center;
  border-radius: 999px;
  background: var(--bg-rose);
  border: 1px solid var(--line);
  color: var(--rose-deep);
  white-space: nowrap;
}
.news-tag.lav { background: var(--bg-lav); border-color: rgba(161, 149, 194, 0.4); color: #8579ab; }
.news-tag.sage { background: #eef3ee; border-color: rgba(138, 169, 142, 0.4); color: #6d8f72; }
.news-title { font-size: 14.5px; font-weight: 500; flex: 1; min-width: 240px; }

/* ---------------- tour & shoplist feature rows ---------------- */
.feature { background: var(--bg-lav); }
.feature.alt { background: var(--bg); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row.flip .feature-media { order: 2; }
.feature-copy .sec-head { text-align: left; margin-bottom: 24px; }
.feature-copy p { font-size: 14.5px; color: var(--ink); margin-bottom: 30px; }

.feature-media { position: relative; }
.lace-photo {
  position: relative;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.feature-row.flip .lace-photo { transform: rotate(1.2deg); }
.lace-photo::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1.2px dashed var(--line-dash);
  border-radius: 17px;
  pointer-events: none;
  z-index: 1;
}
.lace-photo image-slot { width: 100%; height: 320px; }
.photo-deco { position: absolute; pointer-events: none; z-index: 2; }
.photo-deco img { width: 100%; }
.deco-tl { width: 86px; top: -34px; left: -30px; }
.deco-br { width: 72px; bottom: -26px; right: -22px; transform: rotate(20deg); }

/* ---------------- information ---------------- */
.info { background: var(--bg-rose); }

/* ---------------- footer ---------------- */
.site-footer {
  background: #f1e2e5;
  padding: 70px 28px 110px;
  text-align: center;
  position: relative;
}
.site-footer .brand-logo { align-items: center; margin-bottom: 26px; }
.site-footer .brand-logo .en { font-size: 40px; }
.foot-nav { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.foot-nav a { font-family: var(--en); font-style: italic; font-size: 17px; font-weight: 600; color: var(--rose-deep); border-bottom: 1px dashed transparent; }
.foot-nav a:hover { border-bottom-color: var(--rose); }
.copyright { font-size: 11.5px; letter-spacing: 0.2em; color: var(--ink-soft); }
.foot-flowers { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.foot-flowers img { width: 40px; height: 40px; }

/* ---------------- fixed bits ---------------- */
.pagetop {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--card);
  border: 1.2px dashed var(--line-dash);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  font-family: var(--en); font-style: italic; font-size: 12px;
  color: var(--rose-deep);
  z-index: 90;
  transition: transform 0.25s;
}
.pagetop:hover { transform: translateY(-3px); }

.side-ribbon {
  position: fixed;
  right: 0; top: 46%;
  z-index: 90;
  writing-mode: vertical-rl;
  background: var(--rose);
  color: #fff;
  font-size: 12px; letter-spacing: 0.22em;
  white-space: nowrap;
  padding: 18px 9px;
  border-radius: 12px 0 0 12px;
  box-shadow: var(--shadow);
  transition: background 0.25s, padding 0.25s;
}
.side-ribbon:hover { background: var(--rose-deep); padding-right: 16px; }

/* floating petals */
#petals { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.petal {
  position: absolute;
  top: -8vh;
  will-change: transform;
  animation: fall linear infinite, sway ease-in-out infinite alternate;
  opacity: 0.8;
}
@keyframes fall { to { transform: translateY(115vh) rotate(300deg); } }
@keyframes sway { from { margin-left: -2vw; } to { margin-left: 2vw; } }
@media (prefers-reduced-motion: reduce) { .petal { display: none; } }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .gnav { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-media { order: 0; }
  .hero-frame { padding: 48px 30px 42px; }
  .hero-flower-2, .hero-lip, .hero-ribbon { display: none; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .header-cta .btn-contact { display: none; }
  .inner { padding: 70px 20px; }
  .news-item { gap: 10px; }
  .news-title { flex-basis: 100%; min-width: 0; }
  .side-ribbon { display: none; }
  .hero-sub { letter-spacing: 0.16em; font-size: 11px; }
  .brand-grid { gap: 14px; }
  .select-card { padding: 34px 22px 30px; }
  .select-card .name { font-size: 34px; }
  .lace-photo image-slot { height: 240px; }
}
