@charset "utf-8";

/* =========================================================
   Florica site shell — header, mobile drawer, footer.
   Copied from the live theme (https://florica.jp/public/css/style.css,
   ver 6.7.1) with the cascade already resolved for inner pages, so the
   column pages match the official site at every width.

   Deliberate differences from the live theme, invisible on screen:
   - below 1121 px (drawer) and 769 px (footer) the small links get extra
     padding cancelled by negative margins, so every tap target is at
     least 44 x 44 px while the drawn layout stays identical;
   - the footer noise overlay is omitted: its url() is malformed in the
     live stylesheet, so the live site never paints it either.
   ========================================================= */

.site-header,
.site-footer-new {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-feature-settings: normal;
  line-break: auto;
  line-height: 1.7;
}

/* The column stylesheet makes every svg a shrinkable block; the live theme
   leaves them inline, which keeps the footer Instagram icon from collapsing
   next to its nowrap label on 320 px screens. */
.site-header svg,
.site-footer-new svg {
  display: inline;
  max-width: none;
}

.site-header a,
.site-footer-new a {
  transition: opacity 0.3s ease;
}

.site-header a:hover,
.site-footer-new a:hover {
  opacity: 0.7;
}

/* ---------- header ---------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #f5f5f3;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 67px;
  padding: 0 50px;
  margin: 0;
}

.site-logo img {
  width: 81px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.main-nav__link {
  font-size: 13px;
  font-weight: 400;
  color: #7e869b;
  line-height: 1.4;
}

.main-nav__instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
}

.main-nav__instagram svg {
  width: 21px;
  height: 21px;
}

.main-nav__line {
  width: 25px;
  height: 25px;
}

.main-nav__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50px;
  background: linear-gradient(180deg, #75c1dc 0%, #a1d4e7 42%, #cde9f0 64%, #efc5ac 85%, #e97d45 100%);
}

.main-nav__cart svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 20px;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-cart-btn {
  display: none;
}

@media (min-width: 650.01px) {
  .site-header .sp-only {
    display: none;
  }
}

@media (max-width: 1120px) {
  .main-nav:not(.is-open) {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-cart-btn {
    display: flex;
    width: 34px;
    height: 34px;
    border-radius: 50px;
    background: linear-gradient(180deg, #75c1dc 0%, #a1d4e7 42%, #cde9f0 64%, #efc5ac 85%, #e97d45 100%);
    align-items: center;
    justify-content: center;
  }

  .mobile-cart-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-toggle .main-nav__line {
    width: 34px;
    height: 34px;
  }

  .hamburger-btn .hamburger {
    display: block;
    width: 27px;
    height: 19px;
    background: url("../images/site/hamburger.svg") no-repeat center;
    background-size: contain;
    transition: transform 0.3s ease;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 998;
  }

  body.menu-open {
    overflow: hidden;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -284px;
    width: 264px;
    height: 100vh;
    background: #fffdf8;
    z-index: 999;
    padding: 120px 40px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.is-open {
    right: 0;
  }

  .main-nav a {
    display: block;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #7e869b;
    text-decoration: none;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 20px;
  }

  .main-nav a:last-of-type {
    margin-bottom: 0;
  }

  .main-nav .main-nav__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 154px;
    height: 34px;
    border-radius: 50px;
    background: linear-gradient(90deg, #66bddc 1%, #8ee0fe 51%, #afe5f2 62%, #efc5ac 91%, #e97d45 103%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
    padding: 10px 14px;
  }

  .main-nav .main-nav__cart svg {
    width: 14px;
    height: 14px;
  }

  .main-nav .main-nav__cart svg path {
    fill: #ffffff;
  }

  .hamburger-btn[aria-expanded="true"] .hamburger {
    background: none;
    position: relative;
    width: 21px;
    height: 21px;
  }

  .hamburger-btn[aria-expanded="true"] .hamburger::before,
  .hamburger-btn[aria-expanded="true"] .hamburger::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 27.5px;
    height: 2.2px;
    background: #70788a;
    border-radius: 4px;
  }

  .hamburger-btn[aria-expanded="true"] .hamburger::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .hamburger-btn[aria-expanded="true"] .hamburger::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .menu-open .header-inner::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid rgba(126, 134, 155, 0.2);
  }

  .menu-open .header-inner > a,
  .menu-open .header-inner > .mobile-menu-toggle {
    position: relative;
    z-index: 1001;
  }

  /* 44 px tap targets, drawn exactly like the live theme. */
  .site-logo {
    display: block;
    padding: 10.5px 0;
    margin: -10.5px 0;
  }

  .mobile-cart-btn,
  .mobile-menu-toggle .main-nav__line {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 5px;
    margin: -5px;
    background-clip: content-box;
  }

  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -12.5px -8.5px;
  }

  .main-nav .main-nav__link {
    min-width: 44px;
    padding: 10.8px 0;
    margin: -10.8px 0 9.2px;
  }

  .main-nav .main-nav__instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -11.5px 0 8.5px -11.5px;
  }

  .main-nav .main-nav__line {
    width: 44px;
    height: 44px;
    padding: 9.5px;
    margin: -9.5px 0 10.5px -9.5px;
  }

  .main-nav .main-nav__cart {
    width: 164px;
    height: 44px;
    border: 5px solid transparent;
    background-clip: padding-box;
    margin: 0 0 -5px -5px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 20px;
  }
}

@media (max-width: 650px) {
  .header-inner {
    height: 65px;
    padding: 15px 32px;
  }
}

/* ---------- footer ---------- */
.site-footer-new {
  position: relative;
  overflow: hidden;
}

.footer-upper {
  position: relative;
  z-index: 2;
  background-color: #b5bcce;
  padding: 30px 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-upper__nav,
.footer-upper__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-upper__nav a,
.footer-upper__legal a {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.footer-upper__divider {
  width: 1px;
  height: 17px;
  background-color: #fff;
}

.footer-lower {
  position: relative;
  z-index: 2;
  background: linear-gradient(106deg, #979eb0 0%, #717b95 100%);
  padding: 30px 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-lower__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-lower__nav a {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}

.footer-lower__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer-lower__sns-label {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  line-height: 2;
  white-space: nowrap;
  margin-right: 10px;
}

.footer-lower__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.footer-lower__sns-link svg {
  width: 24px;
  height: 24px;
}

.footer-lower__logo {
  display: block;
}

.footer-lower__logo img {
  width: 108px;
  height: auto;
}

.footer-lower__copyright {
  font-size: 8px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .footer-upper,
  .footer-lower {
    padding: 30px 20px;
  }

  .footer-lower__nav {
    gap: 20px;
  }

  .footer-upper__nav,
  .footer-upper__legal {
    flex-direction: column;
    gap: 12px;
  }

  /* 44 px tap targets, drawn exactly like the live theme. */
  .footer-upper__nav a,
  .footer-upper__legal a {
    padding: 13.55px 0;
    margin: -13.55px 0;
  }

  .footer-lower__nav a {
    padding: 10.8px 8px;
    margin: -10.8px -8px;
  }

  .footer-lower__logo {
    padding: 6.5px 0;
    margin: -6.5px 0;
  }

  .footer-lower__sns-link {
    height: 44px;
    margin: -10px 0;
  }
}

@media (max-width: 650px) {
  .footer-upper {
    padding: 30px 80px 40px;
    gap: 30px;
    height: auto;
  }

  .footer-upper__nav,
  .footer-upper__legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 282px;
  }

  .footer-lower {
    padding: 30px 80px 40px;
    gap: 20px;
    height: auto;
  }

  .footer-lower__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 182px;
  }

  .footer-lower__sns {
    flex-direction: column;
  }
}
