/* Temporarily pause public WEB-order and chat entry points (2026-09-21).
   Keep the underlying pages, saved carts and LINE consultation intact.
   Remove this block when the service is ready to reopen. */
.chatbot,
.chatbot-launcher-shell,
a[href="/web-order"],
a[href^="/web-order/"],
a[href^="/web-order?"],
a[href^="/web-order#"],
a[href^="https://elements-okinawa-studio.fukuharaken.chatgpt.site/web-order"] {
  display: none !important;
}

#mobile-navigation[hidden] {
  display: none !important;
}

.home-page [hidden] {
  display: none !important;
}

.home-page .hero-lead {
  white-space: pre-line;
}

.managed-news-item {
  display: grid;
  grid-template-columns: minmax(100px, 140px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(13, 61, 58, 0.16);
  color: #0d3d3a;
  text-decoration: none;
}

.managed-news-item time {
  color: #e72b80;
  font-size: 14px;
  font-weight: 900;
}

.managed-news-item strong {
  font-size: clamp(15px, 1.3vw, 18px);
}

.managed-news-item > span {
  color: #e72b80;
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 680px) {
  .managed-news-item {
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
  }

  .managed-news-item time {
    grid-column: 1 / -1;
  }
}

body.restored-menu-open {
  overflow: hidden;
}

body.restored-menu-open :is(.chatbot, .bottom-cta) {
  visibility: hidden !important;
  pointer-events: none !important;
}

.home-item-showcase {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(54px, 6vw, 86px) clamp(22px, 5vw, 76px);
  background: #fff;
}

.home-item-showcase > .container {
  max-width: 1380px;
  margin: 0 auto;
}

.home-item-showcase__heading {
  display: block;
  margin-bottom: 30px;
}

.home-item-showcase__heading p {
  margin: 0 0 8px;
  color: #e72b80;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.home-item-showcase__heading h2 {
  margin: 0;
  color: #0d3d3a;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.home-item-showcase__rail {
  display: grid;
  grid-template-columns: repeat(10, minmax(118px, 1fr));
  gap: clamp(12px, 1.2vw, 20px);
  padding-bottom: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-item-showcase__rail::-webkit-scrollbar {
  display: none;
}

.home-item-showcase__card {
  position: relative;
  display: block;
  min-width: 0;
  color: #102f2d;
  text-decoration: none;
  scroll-snap-align: start;
}

.home-item-showcase__image {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: clamp(18px, 1.8vw, 28px);
  background: #f4f5f5;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.home-item-showcase__image img {
  display: block;
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.home-item-showcase__card strong {
  display: block;
  padding: 15px 22px 0 4px;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 900;
  line-height: 1.35;
}

.home-item-showcase__arrow {
  position: absolute;
  right: 4px;
  bottom: -1px;
  color: #e72b80;
  font-size: 18px;
  font-weight: 900;
}

.home-item-showcase__card:focus-visible {
  outline: 4px solid #e72b80;
  outline-offset: 5px;
  border-radius: 24px;
}

@media (hover: hover) {
  .home-item-showcase__card:hover .home-item-showcase__image {
    transform: translateY(-5px);
    background: #edf9f7;
    box-shadow: 0 14px 28px rgba(13, 61, 58, 0.12);
  }

  .home-item-showcase__card:hover .home-item-showcase__image img {
    transform: scale(1.05);
  }
}

/* Keep the homepage hero edge straight where it meets the next section. */
.home-page > .hero {
  border-radius: 0 !important;
}

@media (max-width: 680px) {
  .home-item-showcase {
    padding: 52px 18px 48px;
  }

  .home-item-showcase__heading {
    display: block;
    margin-bottom: 22px;
    text-align: left;
  }

  .home-item-showcase__heading h2 {
    font-size: 34px;
  }

  .home-item-showcase__rail {
    display: flex;
    gap: 12px;
    margin: 0 -18px;
    padding: 4px 18px 18px;
    overflow-x: auto;
    scroll-padding-left: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-item-showcase__rail::-webkit-scrollbar {
    display: none;
  }

  .home-item-showcase__card {
    flex: 0 0 132px;
    scroll-snap-align: start;
  }

  .home-item-showcase__card strong {
    padding-top: 12px;
    font-size: 15px;
  }

  /* Shift the homepage hero contents 50px upward without changing its total spacing. */
  .home-page > .hero .hero-content {
    padding-top: 76px !important;
    padding-bottom: 122px !important;
  }

  /* Keep homepage section introductions aligned to the mobile content edge. */
  .home-page :where(
    .section-heading,
    .product-choice-heading,
    .product-ranking-heading,
    .campaign-slider__heading,
    .home-news__heading
  ) {
    text-align: left !important;
    align-items: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .home-page :where(
    .section-heading,
    .product-choice-heading,
    .product-ranking-heading,
    .campaign-slider__heading,
    .home-news__heading
  ) :where(.section-kicker, h2, p),
  .home-page :where(.product-choice-heading, .product-ranking-heading) > span {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .home-page .section-heading .section-kicker {
    justify-content: flex-start !important;
    align-self: flex-start !important;
  }
}

/* Make every class T-shirt plan image a reliable, full-card tap target. */
.class-t-glitter-plans__grid > a {
  position: relative;
  z-index: 1;
  display: block;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(231, 43, 128, 0.2);
}

.class-t-glitter-plans__grid > a > img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.class-t-glitter-plans__grid > a:focus-visible {
  outline: 4px solid #e72b80;
  outline-offset: 5px;
  border-radius: 12px;
}

.class-t-glitter-plans__grid > a:active > img {
  transform: scale(0.98);
}

@media (hover: hover) {
  .class-t-glitter-plans__grid > a:hover > img {
    transform: translateY(-4px);
    filter: drop-shadow(0 10px 14px rgba(74, 11, 50, 0.22));
  }
}

/* Keep the page or product being estimated visible even when the cart is empty. */
.order-inquiry-context {
  margin: 32px 0 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 2px solid #b8e6df;
  border-radius: 24px;
  background: #f3fbf9;
  color: #153b36;
}

.order-inquiry-context__eyebrow {
  margin: 0 0 10px;
  color: #d72d7e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.order-inquiry-context h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.order-inquiry-context p:not(.order-inquiry-context__eyebrow) {
  margin: 0;
  line-height: 1.7;
}

.order-inquiry-context__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 22px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #ee4f88;
  box-shadow: 0 7px 0 #c92b66;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.order-inquiry-context__submit:hover,
.order-inquiry-context__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 #c92b66;
}

.order-inquiry-context__back {
  display: inline-block;
  margin: 20px 0 0 20px;
  color: #146f63;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .order-inquiry-context__submit,
  .order-inquiry-context__back {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

.cart-item--page-consultation .cart-item__image {
  display: grid;
  place-items: center;
  background: #eef8f6;
  color: #146f63;
  font-weight: 900;
  text-decoration: none;
}

.cart-item--page-consultation .cart-item__image {
  align-items: center;
  background: linear-gradient(145deg, #fcebf3, #e6f6f3);
  color: #0d4843;
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: .08em;
  text-decoration: none;
}

.cart-item--page-consultation .cart-item__price strong,
.page-consultation-cart .cart-summary__total strong {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.page-consultation-cart .cart-summary dd {
  max-width: 13rem;
  text-align: right;
}
.web-order-hero {
  display: none !important;
}

/* WEB注文: three clearly separated order paths */
.cart-order-actions {
  position: relative;
  overflow: visible;
  background: #fff7d7;
  border: 1px solid #f0d87d;
  padding: clamp(28px, 3.4vw, 46px);
}

.cart-order-actions > div:first-child {
  display: block;
}

.cart-order-actions h2 {
  max-width: 760px;
  font-size: clamp(26px, 2.45vw, 40px);
}

.cart-order-actions p {
  max-width: 780px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
}

.cart-order-actions > div:last-child {
  gap: 16px;
  margin-top: 28px;
}

.cart-order-actions button {
  position: relative;
  min-height: 232px;
  border-width: 2px;
  border-color: #deded8;
  padding: 22px 20px 18px;
  box-shadow: 0 6px 0 rgba(12, 63, 58, .08);
}

.cart-order-actions button:first-child {
  border-color: var(--pink);
  background: #fff8fb;
}

.cart-order-actions button:first-child:not(:has(.cart-order-actions__recommended))::before {
  content: "迷ったらこちら";
  position: absolute;
  top: -14px;
  right: 18px;
  color: #fff;
  background: var(--pink);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 3px 0 rgba(238, 80, 142, .18);
}

.cart-order-actions__recommended {
  position: absolute;
  top: -14px;
  right: 18px;
  color: #fff;
  background: var(--pink);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 3px 0 rgba(238, 80, 142, .18);
}

.cart-order-actions__copy small {
  font-size: 10px;
  line-height: 1.45;
}

.cart-order-actions__copy strong {
  margin-top: 7px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.45;
}

.cart-order-actions__copy > span {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.75;
}

.cart-order-actions button > b {
  min-height: 48px;
  font-size: 11px;
}

.cart-order-actions button:nth-child(2) > b { background: #147ba4; }
.cart-order-actions button:nth-child(3) > b { background: #1b8659; }

/* Make the estimate flow visible before users begin entering details. */
.cart-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cart-steps li {
  min-width: 0;
  padding-inline: 12px;
}

.cart-steps li strong {
  line-height: 1.45;
}

.cart-flow > header {
  max-width: 860px;
}

.cart-flow > header > p:last-child {
  max-width: 760px;
  line-height: 1.85;
}

.cart-flow__navigation button:last-child {
  min-width: min(100%, 260px);
}

@media (max-width: 1100px) {
  .cart-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cart-order-actions {
    padding: 26px 18px;
    border-radius: 24px;
  }

  .cart-order-actions > div:first-child,
  .cart-order-actions > div:last-child {
    grid-template-columns: 1fr;
  }

  .cart-order-actions h2 {
    font-size: 27px;
  }

  .cart-order-actions > div:last-child {
    gap: 18px;
    margin-top: 24px;
  }

  .cart-order-actions button {
    min-height: 0;
    padding: 20px 16px 16px;
  }

  .cart-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cart-steps li {
    min-height: 64px;
  }

  .cart-steps li strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 9px;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .cart-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
