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

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  /* Layout */
  --design: 1600;
  --container: 1300;
  --inner: 1100;
  --pad-sp: 20px;
  --grid-gap: min(40px, calc(40 / var(--design) * 100vw));
  --consultation-card-gap: 20px;
  --voices-card-gap: 25px;
  --after-support-grid-gap: 20px;
  --after-support-item-width: min(230px, calc(230 / var(--design) * 100vw));
  --order-gallery-gap: min(60px, calc(60 / var(--design) * 100vw));
  --header-utility-height: 60px;
  --header-nav-height: 52px;
  --scroll-offset: var(--header-nav-height);
  --scroll-offset-plan-extra: 40px;
  --scroll-reveal-distance: 32px;
  --scroll-reveal-duration: 0.7s;
  --scroll-reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --scroll-reveal-stagger: 0.12s;
  --scroll-reveal-stagger-max: 0.84s;

  /* Base colors */
  --color-white: #fff;
  --page-bg: #fff;
  --text-body: #211d1c;
  --text-secondary: #333;
  --text-footer: #171313;
  --nav-bg: #504340;

  /* Section colors */
  --section-bg-light: #f6f6f6;
  --section-bg-offerings: #fbfbf8;
  --section-lead-bg: #f9f8f5;
  --section-accent: #a9864b;
  --section-lead-accent-top: var(--section-accent);
  --section-lead-accent-bottom: #775b2c;
  --section-eyebrow-color: var(--section-accent);

  /* Component colors */
  --header-support-border: #e60020;
  --header-support-text: #d6001d;
  --urgent-bg: #ed1b24;
  --fixed-phone-text: #d8324a;
  --fixed-phone-border: #e8a2ad;
  --mainvisual-bg: #f6f3eb;
  --btn-common-bg-top: #bd342f;
  --btn-common-bg-bottom: #c64944;
  --btn-common-shadow: #912f2b;
  --border-light: #ddd;
  --border-dotted: #ccc;
  --overlay-lightbox: rgb(0 0 0 / 0.8);
  --overlay-menu: rgb(0 0 0 / 0.55);
  --overlay-control: rgb(0 0 0 / 0.5);
  --nav-divider: rgb(255 255 255 / 0.18);
  --card-shadow: rgb(0 0 0 / 0.08);
  --voice-name-bg: #f3ece0;
  --price-red: #ff0000;
  --consultation-accent: #d01e3a;
  --after-support-accent: #d34a6b;
  --after-support-item-border: #e2c998;
  --faq-divider: #f3f3f3;
  --hurry-catch-label-text: #fefb15;
  --hurry-body-indent: min(50px, calc(50 / var(--design) * 100vw));
  --member-panel: 1200;
  --member-accent: #c74b46;
  --member-overlap: min(130px, calc(130 / var(--design) * 100vw));
  --member-card-offset: min(10px, calc(10 / var(--design) * 100vw));
  --member-card-width: min(458px, calc(458 / var(--design) * 100vw));
  --member-shadow: 0 0 min(5px, calc(5 / var(--design) * 100vw)) rgb(0 0 0 / 0.1);
  --member-radius: min(30px, calc(30 / var(--design) * 100vw));
  --member-price-bg: #fafaf1;
  --member-card-gutter: calc(var(--member-card-width) + min(24px, calc(24 / var(--design) * 100vw)));
  --member-form-bg: #fafafa;
  --member-form-bg-schedule: #f3f3f3;
  --form-input-border: #eeeeee;

  /* Typography */
  --font-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --font-serif2: "Yu Mincho", "YuMincho", "Noto Serif JP", "Yu Mincho", serif;
  --font-number: "Oswald", sans-serif;
  --font-phone: "Roboto", sans-serif;
  --font-nav: "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   Base elements
   ========================================================================== */

.pc_only{
  display: block;
  @media (max-width: 767px) {
    display: none;
  }
}

.sp_only{
  display: none;
  @media (max-width: 767px) {
    display: block;
  }
}

body {
  font-family: system-ui, sans-serif;
  background: var(--page-bg);
  line-height: 1.7;
}

main {
  background: var(--page-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

section[id] {
  scroll-margin-top: var(--scroll-offset);
}

.plan-card[id],
#consultation {
  scroll-margin-top: calc(var(--scroll-offset) + var(--scroll-offset-plan-extra));
}

@media (prefers-reduced-motion: no-preference) {
  main > section.scroll-reveal .scroll-reveal__item {
    opacity: 0;
    transform: translateY(var(--scroll-reveal-distance));
    transition:
      opacity var(--scroll-reveal-duration) var(--scroll-reveal-easing),
      transform var(--scroll-reveal-duration) var(--scroll-reveal-easing);
    transition-delay: min(
      calc(var(--scroll-reveal-index, 0) * var(--scroll-reveal-stagger)),
      var(--scroll-reveal-stagger-max)
    );
    will-change: opacity, transform;
  }

  main > section.scroll-reveal.is-visible .scroll-reveal__item {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
  }
}

/* form input */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea{
  width: 100%;
  font-size: 1.6rem;
  border: 1px solid var(--form-input-border);
  padding: 10px;
  border-radius: 10px;
}

/* ==========================================================================
   Shared full-page content widths
   ========================================================================== */
.header-inner,
.site-footer__inner,
.fixed-contact__inner {
  width: calc(var(--inner) / var(--design) * 100%);
  max-width: calc(var(--inner) * 1px);
  margin-inline: auto;
}

/* ==========================================================================
   Site header
   ========================================================================== */
.site-header {
  position: sticky;
  top: calc(var(--header-utility-height) * -1 + var(--wp-admin--admin-bar--height, 0px));
  z-index: 800;
  background: var(--color-white);
  color: var(--text-body);
}

.site-header__utility {
  height: var(--header-utility-height);
}

.site-header__utility .header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: min(24px, calc(24 / var(--design) * 100vw));
}

.site-logo {
  display: flex;
  flex: 0 0 min(330px, calc(330 / var(--design) * 100vw));
  align-items: center;
}

.site-logo img {
  display: block;
  width: min(330px, calc(330 / var(--design) * 100vw));
  height: auto;
  max-height: min(52px, calc(52 / var(--design) * 100vw));
  object-fit: contain;
  object-position: left center;
}

.site-header__actions {
  display: flex;
  flex: 0 0 min(811px, calc(811 / var(--design) * 100vw));
  align-items: center;
  gap: min(20px, calc(20 / var(--design) * 100vw));
}

.header-link--offerings {
  display: block;
  flex: 0 0 min(216px, calc(216 / var(--design) * 100vw));
}

.header-link--offerings img {
  display: block;
  width: min(216px, calc(216 / var(--design) * 100vw));
  height: auto;
  object-fit: contain;
}

.header-support {
  display: flex;
  flex: 0 0 min(280px, calc(280 / var(--design) * 100vw));
  align-items: center;
  justify-content: center;
  padding: min(6px, calc(6 / var(--design) * 100vw)) min(16px, calc(16 / var(--design) * 100vw));
  border: 2px solid var(--header-support-border);
  border-radius: 3px;
  color: var(--header-support-text);
  font-size: min(16px, calc(16 / var(--design) * 100vw));
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.header-support__num {
  font-family: var(--font-number);
  font-size: min(20px, calc(20 / var(--design) * 100vw));
  font-weight: 700;
}

.header-phone {
  display: flex;
  flex: 0 0 min(275px, calc(275 / var(--design) * 100vw));
  align-items: center;
  font-family: var(--font-phone);
  font-size: min(32px, calc(32 / var(--design) * 100vw));
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.header-phone__icon {
  display: block;
  width: auto;
  height: min(32px, calc(32 / var(--design) * 100vw));
  margin-right: min(8px, calc(8 / var(--design) * 100vw));
  flex-shrink: 0;
}

.site-header__sp-nav {
  display: none;
}

.menu-overlay,
.mobile-menu {
  display: none;
}

.global-nav {
  height: var(--header-nav-height);
  background: var(--nav-bg);
  color: var(--color-white);
}

.global-nav__inner {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.global-nav__list {
  display: flex;
  flex: 1;
  align-items: stretch;
  justify-content: space-between;
}

.global-nav__list li {
  display: flex;
  align-items: stretch;
}

.global-nav__list a {
  display: flex;
  align-items: center;
  gap: min(9px, calc(9 / var(--design) * 100vw));
  padding-inline: min(9px, calc(9 / var(--design) * 100vw));
  font-family: var(--font-nav);
  font-size: min(14px, calc(14 / var(--design) * 100vw));
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.global-nav__list a span {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-white);
  color: transparent;
  font-size: 0;
}

.global-nav__list a span::after {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 4px;
  height: 4px;
  border-right: 1px solid var(--nav-bg);
  border-bottom: 1px solid var(--nav-bg);
  content: "";
  transform: rotate(45deg);
}

.global-nav__urgent {
  display: flex;
  flex: 0 0 min(172px, calc(172 / var(--design) * 100vw));
  align-items: center;
  justify-content: center;
  gap: min(15px, calc(15 / var(--design) * 100vw));
  margin-left: min(12px, calc(12 / var(--design) * 100vw));
  background: var(--urgent-bg);
  font-family: var(--font-nav);
  font-size: min(15px, calc(15 / var(--design) * 100vw));
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ==========================================================================
   Site footer
   ========================================================================== */
.site-footer {
  min-height: 440px;
  padding-top: 64px;
  background: var(--color-white);
  color: var(--text-footer);
}

.site-footer__top {
  position: relative;
  min-height: 170px;
}

.site-footer__logo {
  position: absolute;
  top: 42px;
  left: 0;
  display: block;
  width: 330px;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.site-footer__description {
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer__content {
  display: grid;
  grid-template-columns: minmax(260px, 370px) 1fr;
  gap: clamp(24px, 2.5vw, 40px);
}

.site-footer__address {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 22px;
}

.site-footer__links a {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-footer__copyright {
  margin-top: 45px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.side-actions {
  display: none;
}

/* ==========================================================================
   Fixed contact banner
   ========================================================================== */
.fixed-contact {
  --fixed-contact-top-gap: 6px;
  position: fixed;
  z-index: 900;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100px;
  background: transparent;
  color: var(--text-body);
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.45s;
}

.fixed-contact::before {
  position: absolute;
  z-index: 0;
  inset: var(--fixed-contact-top-gap) 0 0;
  background: var(--color-white);
  content: "";
}

.fixed-contact.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.fixed-contact__inner {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: min(10px, calc(10 / var(--design) * 100vw));
}

.fixed-contact__logo {
  flex: 0 1 300px;
  min-width: 0;
}

.fixed-contact__logo img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.fixed-contact__staff {
  display: block;
  width: min(76px, calc(76 / var(--design) * 100vw));
  height: min(76px, calc(76 / var(--design) * 100vw));
  flex: 0 0 auto;
  align-self: center;
  object-fit: contain;
  object-position: center;
}

.fixed-contact__actions {
  display: flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  gap: min(14px, calc(14 / var(--design) * 100vw));
}

.fixed-contact__phone,
.fixed-contact__cta {
  flex: 0 1 min(333px, calc(333 / var(--design) * 100vw));
  min-width: 0;
}

.fixed-contact__phone img,
.fixed-contact__cta img {
  display: block;
  width: 100%;
  max-width: 333px;
  height: auto;
  max-height: min(76px, calc(76 / var(--design) * 100vw));
  object-fit: contain;
}

.fixed-contact__sp {
  display: none;
}

/* ==========================================================================
   Main visual
   ========================================================================== */
.mainvisual {
  position: relative;
  height: min(35.625vw, 570px);
  min-height: 360px;
  overflow: hidden;
  background: var(--color-white);
}

.mainvisual::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: var(--mainvisual-bg);
  background-image: url("../img/mainvisual_bg.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: min(100%, 1600px) auto;
  clip-path: ellipse(
    min(80%, 1280px) min(19.625vw, 314px)
    at 50% min(5.5625vw, 89px)
  );
  content: "";
}

.mainvisual__inner {
  position: relative;
  z-index: 1;
  width: calc(var(--container) / var(--design) * 100%);
  max-width: calc(var(--container) * 1px);
  height: 100%;
  margin-inline: auto;
}

.mainvisual__title {
  position: absolute;
  top: min(2.0625vw, 33px);
  left: min(0.9375vw, 15px);
  width: min(41.385%, 538px);
  margin: 0;
}

.mainvisual__title img,
.mainvisual__satisfaction {
  display: block;
  width: 100%;
  height: auto;
}

.mainvisual__satisfaction {
  position: absolute;
  top: min(0.75vw, 12px);
  right: min(1.25vw, 20px);
  width: min(15.077%, 196px);
}

.mainvisual__banners {
  position: absolute;
  top: min(27.1875vw, 435px);
  left: 50%;
  width: calc(var(--inner) / var(--container) * 100%);
  max-width: calc(var(--inner) * 1px);
  height: 130px;
  transform: translateX(-50%);
}

.mainvisual__banner {
  position: absolute;
  display: block;
}

.mainvisual__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.mainvisual__banner--phone {
  top: 0;
  left: 0;
  width: min(48.546%, 534px);
}

.mainvisual__banner--consultation {
  top: 0;
  left: 53.637%;
  width: min(52.273%, 575px);
}

.mainvisual__sp {
  display: none;
}

/* ==========================================================================
   Shared section layout

   1300px sections use .container. 1100px sections nest .inner within it.
   ========================================================================== */
section {
  width: 100%;
}

.container {
  width: calc(var(--container) / var(--design) * 100%);
  max-width: calc(var(--container) * 1px);
  margin-inline: auto;
}

.inner {
  width: calc(var(--inner) / var(--container) * 100%);
  max-width: calc(var(--inner) * 1px);
  margin-inline: auto;
  padding-block: 4rem;
}

section h1,
section h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

section p {
  color: var(--text-secondary);
}

/* Shared section backgrounds */
.section--light {
  background: var(--section-bg-light);
  color: var(--text-body);
}

.section--white {
  background: var(--color-white);
  color: var(--text-body);
}

/* Shared section heading */
.section-heading {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(8 / var(--design) * 100vw);
  margin-bottom: calc(12 / var(--design) * 100vw);
  color: var(--section-eyebrow-color);
  font-family: var(--font-serif);
  font-size: clamp(13px, calc(16 / var(--design) * 100vw), 18px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-eyebrow__mark {
  flex-shrink: 0;
  width: 23px;
  height: 7px;
  border: 1px solid var(--section-eyebrow-color);
  background: transparent;
}

.section-heading__title {
  margin-bottom: calc(48 / var(--design) * 100vw);
  font-family: var(--font-serif);
  font-size: clamp(21px, calc(36 / var(--design) * 100vw), 36px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.section-heading__quote {
  letter-spacing: 0;
}

/* Shared responsive images used by content sections */
.plan-card__image,
.order-gallery__thumb > img:first-child,
.philosophy-section__image,
.feature-item__image,
.consultation-card__image,
.consultation-section__tel-banner-img,
.voice-card__thumb > img:first-child,
.cta-banners__item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Phone links: tap-to-call on mobile only (768px+) */
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }

  .hurry-section__phone-link:hover {
    opacity: 1;
  }
}

/* ==========================================================================
   Funeral plans
   ========================================================================== */
.plan-section .container {
  padding-block: calc(80 / var(--design) * 100vw);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.plan-card {
  --plan-color: #623136;
  --plan-price-red: #e4171a;
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--plan-color);
  border-radius: calc(8 / var(--design) * 100vw);
  background: var(--color-white);
  box-shadow: 0 calc(4 / var(--design) * 100vw) calc(16 / var(--design) * 100vw) var(--card-shadow);
}

.plan-card--wide {
  grid-column: span 3;
  --plan-wide-inner: calc(470 / 600 * 100%);
}

.plan-card--wide .plan-card__steps {
  width: var(--plan-wide-inner);
  max-width: 470px;
  margin-inline: auto;
}

.plan-card--wide .plan-card__footer {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.plan-card--one-day {
  --plan-color: #c07811;
}

.plan-card--family {
  --plan-color: #5f8451;
}

.plan-card--temple {
  --plan-color: #75409d;
}

.plan-card--general {
  --plan-color: #dd568f;
}

.plan-card__title {
  margin-bottom: calc(16 / var(--design) * 100vw);
  color: var(--plan-color);
  font-family: var(--font-serif);
  font-size: clamp(20px, calc(28 / var(--design) * 100vw), 28px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.plan-card__image {
  margin-bottom: 5px;
  border-radius: calc(4 / var(--design) * 100vw);
}

.plan-card__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 5px;
}

.plan-card__steps li {
  display: grid;
  place-items: center;
  min-height: calc(32 / var(--design) * 100vw);
  padding: calc(2 / var(--design) * 100vw);
  border: 1px solid #eeeeee;
  border-radius: 5px;
  background: var(--color-white);
  color: #6d6767;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.plan-card__steps li.is-active {
  border-color: var(--plan-color);
  background: var(--plan-color);
  color: var(--color-white);
}

.plan-card__footer {
  margin-top: auto;
}

.plan-card__discount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
  width: 100%;
  margin-bottom: 5px;
  padding: calc(6 / var(--design) * 100vw) calc(12 / var(--design) * 100vw);
  border: 1px solid var(--plan-color);
  border-radius: calc(4 / var(--design) * 100vw);
  background: var(--color-white);
  line-height: 1.3;
  text-align: center;
}

.plan-card__discount-lead {
  color: var(--plan-color);
  font-size: clamp(12px, calc(14 / var(--design) * 100vw), 14px);
  font-weight: 400;
}

.plan-card__discount-value {
  color: var(--plan-price-red);
  font-size: clamp(18px, calc(24 / var(--design) * 100vw), 24px);
  font-weight: 400;
  line-height: 1.2;
}

.plan-card__discount-num {
  font-family: var(--font-number);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.plan-card__discount--stacked {
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: auto;
  margin-bottom: 0;
  padding: 5px 10px;
}

.plan-card__discount--stacked .plan-card__discount-lead {
  font-size: 18px;
}

.plan-card__discount--stacked .plan-card__discount-value {
  font-size: 20px;
  line-height: 1.2;
}

.plan-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: calc(10 / var(--design) * 100vw);
}

.plan-card__price-main {
  display: flex;
  align-items: flex-end;
  gap: calc(4 / var(--design) * 100vw);
  line-height: 1;
}

.plan-card__price-num {
  color: var(--plan-price-red);
  font-family: var(--font-number);
  font-size: clamp(36px, calc(60 / var(--design) * 100vw), 60px);
  font-weight: 100;
  letter-spacing: -0.02em;
}

.plan-card__price-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: calc(1 / var(--design) * 100vw);
  padding-bottom: calc(3 / var(--design) * 100vw);
  color: var(--plan-price-red);
  font-weight: 600;
  line-height: 1.1;
}

.plan-card__price-tax {
  font-size: clamp(9px, calc(10 / var(--design) * 100vw), 10px);
}

.plan-card__price-yen {
  font-size: clamp(14px, calc(18 / var(--design) * 100vw), 18px);
}

.plan-card__price-included {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: calc(2 / var(--design) * 100vw);
  padding-bottom: calc(4 / var(--design) * 100vw);
  line-height: 1.2;
  text-align: left;
}

.plan-card__price-included-label {
  color: var(--text-body);
  font-size: clamp(10px, calc(11 / var(--design) * 100vw), 11px);
  font-weight: 600;
}

.plan-card__price-included-num {
  color: var(--text-body);
  font-family: var(--font-number);
  font-size: clamp(16px, calc(20 / var(--design) * 100vw), 20px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.plan-card__footer--horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20 / var(--design) * 100vw);
}

.plan-card__footer--horizontal .plan-card__discount--stacked {
  flex-flow: row nowrap;
  align-items: baseline;
  flex-shrink: 0;
  white-space: nowrap;
}

.plan-card__footer--horizontal .plan-card__price-row {
  flex: 0 1 auto;
  gap: calc(16 / var(--design) * 100vw);
}

/* ==========================================================================
   Flower and offering orders
   ========================================================================== */
.order-section .container {
  background: transparent;
}

.order-section__intro {
  padding-block: calc(80 / var(--design) * 100vw) calc(48 / var(--design) * 100vw);
}

.order-section__hours {
  margin-bottom: calc(32 / var(--design) * 100vw);
  color: var(--text-secondary);
  font-size: clamp(13px, calc(15 / var(--design) * 100vw), 15px);
  line-height: 1.7;
  text-align: center;
}

.order-flow {
  display: flex;
  align-items: center;
  gap: calc(24 / var(--design) * 100vw);
  margin-bottom: calc(48 / var(--design) * 100vw);
  padding-block: calc(24 / var(--design) * 100vw);
  border-block: 1px dotted var(--border-dotted);
}

.order-flow__label {
  flex-shrink: 0;
  padding: calc(6 / var(--design) * 100vw) calc(20 / var(--design) * 100vw);
  border: 1px solid var(--section-eyebrow-color);
  border-radius: 999px;
  color: var(--section-eyebrow-color);
  font-family: var(--font-serif);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.order-flow__steps {
  flex: 1 1 auto;
  font-size: clamp(13px, calc(15 / var(--design) * 100vw), 15px);
  line-height: 1.8;
  list-style: none;
}

@media (min-width: 768px) {
  .order-flow {
    display: grid;
    width: 80%;
    max-width: 880px;
    grid-template-columns: calc(240 / 880 * 100%) calc(640 / 880 * 100%);
    margin-inline: auto;
    gap: 0;
  }

  .order-flow__label {
    justify-self: start;
  }

  .order-flow__steps {
    width: 100%;
  }
}

.order-flow__steps li {
  position: relative;
  padding-left: 1.6em;
}

.order-flow__steps li::before {
  position: absolute;
  left: 0;
}

.order-flow__steps li:nth-child(1)::before { content: "①"; }
.order-flow__steps li:nth-child(2)::before { content: "②"; }
.order-flow__steps li:nth-child(3)::before { content: "③"; }
.order-flow__steps li:nth-child(4)::before { content: "④"; }
.order-flow__steps li:nth-child(5)::before { content: "⑤"; }

.order-flow__steps li + li {
  margin-top: calc(4 / var(--design) * 100vw);
}

.order-block__title {
  margin-bottom: calc(32 / var(--design) * 100vw);
  text-align: center;
}

.order-block__title-text {
  position: relative;
  display: inline-block;
  padding: calc(8 / var(--design) * 100vw) calc(16 / var(--design) * 100vw);
  font-family: var(--font-serif);
  font-size: clamp(18px, calc(24 / var(--design) * 100vw), 24px);
  font-weight: 600;
  line-height: 1.5;
}

.order-block__title-text::before,
.order-block__title-text::after {
  position: absolute;
  width: calc(14 / var(--design) * 100vw);
  max-width: 14px;
  height: calc(14 / var(--design) * 100vw);
  max-height: 14px;
  content: "";
}

.order-block__title-text::before {
  top: 0;
  left: 0;
  border-top: 1px solid var(--section-accent);
  border-left: 1px solid var(--section-accent);
}

.order-block__title-text::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--section-accent);
  border-bottom: 1px solid var(--section-accent);
}

.order-block--flowers {
  margin-bottom: calc(48 / var(--design) * 100vw);
}

.order-block--offerings {
  padding-block: calc(48 / var(--design) * 100vw) calc(80 / var(--design) * 100vw);
  background: var(--section-bg-offerings);
}

.order-block--offerings .container {
  background: transparent;
}

.order-gallery {
  display: flex;
  margin-bottom: calc(32 / var(--design) * 100vw);
  list-style: none;
  gap: var(--order-gallery-gap);
}

.order-gallery--flowers {
  justify-content: space-between;
}

.order-gallery--offerings {
  justify-content: center;
}

.order-gallery__item {
  flex: 0 1 auto;
  min-width: 0;
}

.order-gallery--flowers .order-gallery__item,
.order-gallery--offerings .order-gallery__item {
  width: calc(200 / var(--inner) * 100%);
  max-width: 200px;
}

.order-gallery__trigger {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.order-gallery__thumb {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: calc(12 / var(--design) * 100vw);
  border: 1px solid #eeeeee;
}

.order-gallery__zoom {
  position: absolute;
  right: 3%;
  bottom: 3%;
  width: 16%;
  max-width: 32px;
  height: auto;
  pointer-events: none;
}

.order-gallery__name {
  margin-bottom: calc(4 / var(--design) * 100vw);
  font-size: clamp(12px, calc(14 / var(--design) * 100vw), 14px);
  font-weight: 600;
  line-height: 1.5;
}

.order-gallery__price {
  font-size: clamp(14px, calc(14 / var(--design) * 100vw), 16px);
  line-height: 1.5;
}

.order-gallery__price-num {
  font-family: var(--font-number);
  /*font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);*/
  font-size: clamp(24px, calc(28 / var(--design) * 100vw), 28px);
  font-weight: 500;
}

/* ==========================================================================
   Shared button
   ========================================================================== */
.btn-common {
  position: relative;
  display: flex;
  width: 100%;
  max-width: calc(600 / var(--inner) * 100%);
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 5px;
  padding: calc(16 / var(--design) * 100vw) calc(56 / var(--design) * 100vw);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--btn-common-bg-top) 0%, var(--btn-common-bg-bottom) 100%);
  box-shadow: 0 5px 0 var(--btn-common-shadow);
  color: var(--color-white);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: opacity 0.2s ease;
}

button.btn-common {
  border: none;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
}

.btn-common:hover {
  opacity: 0.9;
}

.btn-common__label {
  flex: 1 1 auto;
}

.btn-common__icon {
  position: absolute;
  top: 50%;
  right: calc(20 / var(--design) * 100vw);
  display: flex;
  width: calc(24 / var(--design) * 100vw);
  max-width: 24px;
  height: calc(24 / var(--design) * 100vw);
  max-height: 24px;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  line-height: 1;
  transform: translateY(-50%);
}

.btn-common__icon::before {
  display: block;
  content: "›";
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1;
}

/* ==========================================================================
   Image lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--pad-sp);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  border: none;
  background: var(--overlay-lightbox);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.lightbox.is-active .lightbox__overlay {
  opacity: 1;
}

.lightbox.is-active .lightbox__dialog {
  opacity: 1;
  transform: scale(1);
}

.lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  margin-inline: auto;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: calc(-16 / var(--design) * 100vw);
  right: calc(-16 / var(--design) * 100vw);
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  background: var(--overlay-control);
  color: var(--color-white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.lightbox__close span {
  display: block;
  margin-top: -0.05em;
}

.lightbox__dialog--privacy {
  width: min(90vw, 800px);
  background: var(--color-white);
  border-radius: calc(10 / var(--design) * 100vw);
}

.lightbox--pdf {
  padding: max(20px, var(--pad-sp));
}

.lightbox__dialog--pdf {
  display: flex;
  width: min(92vw, 900px);
  height: min(85vh, 820px);
  max-width: none;
  max-height: none;
  flex-direction: column;
  background: var(--color-white);
  border-radius: calc(10 / var(--design) * 100vw);
  overflow: hidden;
}

.lightbox__pdf-toolbar {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

.lightbox__pdf-toolbar > * {
  pointer-events: auto;
}

.lightbox__pdf-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 2px solid var(--color-white);
  border-radius: 999px;
  background: var(--overlay-control);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.lightbox__pdf-download[hidden] {
  display: none;
}

.lightbox__pdf-ios-note {
  flex-shrink: 0;
  margin: 0;
  padding: 48px 12px 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.lightbox__pdf-ios-note[hidden] {
  display: none;
}

.lightbox__pdf-ios-note strong {
  font-weight: 700;
}

.lightbox__dialog--pdf .lightbox__close {
  position: static;
  top: auto;
  right: auto;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  font-size: 20px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
}

.lightbox__pdf-view {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding: 48px 12px 12px;
  background: var(--color-white);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lightbox__pdf-page + .lightbox__pdf-page {
  margin-top: 12px;
}

.lightbox__pdf-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.lightbox__pdf-status,
.lightbox__pdf-fallback {
  margin: 0;
  padding: 48px 16px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.lightbox__pdf-fallback a {
  color: var(--consultation-accent);
  font-weight: 600;
  text-decoration: underline;
}

.lightbox__content {
  max-height: min(70vh, 640px);
  padding: calc(32 / var(--design) * 100vw) calc(24 / var(--design) * 100vw);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lightbox__content.entry-content {
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
}

.lightbox__content.entry-content > * + * {
  margin-top: 1.25em;
}

/* ==========================================================================
   Philosophy
   ========================================================================== */
.philosophy-section .container {
  padding-block: calc(80 / var(--design) * 100vw);
  background: transparent;
}

.philosophy-section__lead {
  position: relative;
  margin-bottom: calc(32 / var(--design) * 100vw);
  padding: calc(12 / var(--design) * 100vw) calc(20 / var(--design) * 100vw);
  padding-left: calc(24 / var(--design) * 100vw);
  background: var(--section-lead-bg);
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: clamp(17px, calc(22 / var(--design) * 100vw), 22px);
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

.philosophy-section__lead::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--section-lead-accent-top) 0,
    var(--section-lead-accent-top) 50%,
    var(--section-lead-accent-bottom) 50%,
    var(--section-lead-accent-bottom) 100%
  );
  content: "";
}

@media (min-width: 768px) {
  .philosophy-section__lead {
    width: fit-content;
  }
}

.philosophy-section__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, calc(560 / var(--container) * 100%));
  align-items: center;
  gap: calc(40 / var(--design) * 100vw);
  margin-bottom: calc(48 / var(--design) * 100vw);
}

.philosophy-section__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1em;
  min-width: 0;
  color: var(--text-secondary);
  font-size: clamp(16px, calc(18 / var(--design) * 100vw), 18px);
  font-weight: 400;
  line-height: 1.2;
}

.philosophy-section__text p {
  margin: 0;
  text-align: center;
  line-height: 1.5;
  font-family: var(--font-serif);
  font-weight: 100;
  color: #393939;
  &.under_line_yellow span{
    background: linear-gradient(transparent 70%, #ffec21 70%);
    box-decoration-break: clone;
  }
}

.philosophy-section__text-em {
  font-weight: 700;
}

.philosophy-section__image {
  max-width: 560px;
  justify-self: end;
  align-self: start;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-section .inner {
  padding-block: calc(80 / var(--design) * 100vw);
}

.features-list {
  display: grid;
  gap: calc(64 / var(--design) * 100vw);
}

.feature-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--grid-gap);
}

.feature-item--reverse .feature-item__image {
  order: -1;
}

.feature-item__body {
  min-width: 0;
}

.feature-item__badge {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: calc(8 / var(--design) * 100vw);
  margin-bottom: calc(28 / var(--design) * 100vw);
  color: var(--section-eyebrow-color);
  font-family: system-ui, sans-serif;
  line-height: 1;
}

.feature-item__badge-slash {
  display: block;
  width: 1px;
  height: 80px;
  flex-shrink: 0;
  background: currentColor;
  transform: rotate(42deg);
}

.feature-item__badge-slash--left {
  align-self: flex-start;
  margin-right: calc(14 / var(--design) * 100vw);
  transform: rotate(42deg) translateY(calc(-8 / var(--design) * 100vw));
}

.feature-item__badge-slash--right {
  align-self: flex-end;
  margin-left: calc(28 / var(--design) * 100vw);
  transform: rotate(42deg) translateY(calc(10 / var(--design) * 100vw));
}

.feature-item__badge-label {
  font-size: clamp(18px, calc(22 / var(--design) * 100vw), 22px);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.feature-item__badge-num {
  font-family: var(--font-number);
  font-size: clamp(56px, calc(72 / var(--design) * 100vw), 72px);
  font-weight: 500;
  line-height: 1;
}

.feature-item__title {
  margin-bottom: calc(24 / var(--design) * 100vw);
  color: var(--text-body);
  font-family: var(--font-serif);
  font-size: clamp(22px, calc(28 / var(--design) * 100vw), 28px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
}

.feature-item__text {
  color: var(--text-secondary);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-align: left;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ==========================================================================
   Advance consultation
   ========================================================================== */
.consultation-section {
  position: relative;
  overflow: hidden;
}

.consultation-section__bg {
  position: absolute;
  z-index: 0;
  top: min(190px, calc(190 / var(--design) * 100vw));
  right: 0;
  pointer-events: none;
}

.consultation-section__bg > img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.consultation-section .container {
  position: relative;
  z-index: 1;
  padding-block: calc(80 / var(--design) * 100vw);
  background: transparent;
}

.consultation-section__cta {
  margin-bottom: calc(48 / var(--design) * 100vw);
}

.consultation-section__intro {
  margin-bottom: calc(40 / var(--design) * 100vw);
  text-align: center;
}

.consultation-section__stat {
  display: flex;
  justify-content: center;
  margin-bottom: calc(24 / var(--design) * 100vw);
}

.consultation-section__stat-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: calc(88 / var(--design) * 100vw);
  max-height: 88px;
  padding: calc(4 / var(--design) * 100vw) calc(32 / var(--design) * 100vw) calc(30 / var(--design) * 100vw);
  background: url("../img/fukidashi_bg.png") no-repeat center / 100% 100%;
  color: var(--consultation-accent);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(18px, calc(24 / var(--design) * 100vw), 24px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.consultation-section__stat-em {
  font-family: var(--font-number);
  font-size: calc(1em + 2px);
  font-weight: 600;
}

.consultation-section__title {
  margin-bottom: calc(16 / var(--design) * 100vw);
  color: var(--text-body);
  font-family: var(--font-serif);
  font-size: clamp(22px, calc(36 / var(--design) * 100vw), 36px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.consultation-section__lead {
  color: var(--text-secondary);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  line-height: 1.8;
}

.consultation-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--consultation-card-gap);
  margin-bottom: calc(48 / var(--design) * 100vw);
}

.consultation-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: calc(20 / var(--design) * 100vw) calc(16 / var(--design) * 100vw) calc(24 / var(--design) * 100vw);
  border: 1px solid var(--border-light);
  border-radius: calc(4 / var(--design) * 100vw);
  background: var(--color-white);
  box-shadow: 0 calc(2 / var(--design) * 100vw) calc(8 / var(--design) * 100vw) var(--card-shadow);
}

.consultation-card__header {
  display: flex;
  align-items: center;
  gap: calc(12 / var(--design) * 100vw);
  margin-bottom: calc(16 / var(--design) * 100vw);
}

.consultation-card__num {
  flex-shrink: 0;
  color: var(--consultation-accent);
  font-family: var(--font-number);
  font-size: clamp(40px, calc(56 / var(--design) * 100vw), 56px);
  font-weight: 600;
  line-height: 1;
}

.consultation-card__title {
  display: flex;
  min-width: 0;
  min-height: clamp(40px, calc(56 / var(--design) * 100vw), 56px);
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  color: var(--text-body);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(17px, calc(20 / var(--design) * 100vw), 20px);
  font-weight: 700;
  line-height: 1.25;
}

.consultation-card__title-line {
  display: block;
  line-height: 1.25;
}

.consultation-card__title-em {
  color: var(--consultation-accent);
  font-size: clamp(20px, calc(24 / var(--design) * 100vw), 24px);
  line-height: 1.25;
}

.consultation-card__image {
  margin-bottom: calc(16 / var(--design) * 100vw);
  border-radius: 10px;
}

.consultation-card__text {
  color: var(--text-secondary);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  line-height: 1.8;
}

.consultation-section__tel-banner {
  display: block;
}

.consultation-section__tel-banner .consultation-section__tel-banner-img--sp {
  display: none;
}

/* ==========================================================================
   Customer voices
   ========================================================================== */
.voices-section .container {
  padding-block: calc(80 / var(--design) * 100vw);
  background: transparent;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--voices-card-gap);
  list-style: none;
}

.voice-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: calc(8 / var(--design) * 100vw);
  background: var(--color-white);
  box-shadow: 0 calc(2 / var(--design) * 100vw) calc(12 / var(--design) * 100vw) var(--card-shadow);
}

.voice-card__trigger {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.voice-card__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: calc(8 / var(--design) * 100vw) calc(8 / var(--design) * 100vw) 0 0;
}

.voice-card__zoom {
  position: absolute;
  right: 2.61%;
  bottom: 2.61%;
  width: 11.76%;
  max-width: 36px;
  height: auto;
  pointer-events: none;
}

.voice-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: calc(8 / var(--design) * 100vw);
  padding: 0 calc(12 / var(--design) * 100vw) calc(8 / var(--design) * 100vw);
}

.voice-card__avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(56 / var(--design) * 100vw);
  max-width: 56px;
  height: auto;
  flex-shrink: 0;
  margin-top: calc(-14 / var(--design) * 100vw);
  border-radius: 5px;
}

.voice-card__info {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: calc(8 / var(--design) * 100vw);
}

.voice-card__name {
  padding: calc(4 / var(--design) * 100vw) calc(12 / var(--design) * 100vw);
  border-radius: 999px;
  background: var(--voice-name-bg);
  color: var(--text-body);
  font-size: clamp(12px, calc(14 / var(--design) * 100vw), 14px);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.voice-card__date {
  flex-shrink: 0;
  color: var(--text-secondary);
  font-family: var(--font-number);
  font-size: clamp(11px, calc(13 / var(--design) * 100vw), 13px);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   After-support
   ========================================================================== */
.after-support-section {
  background-image: url("../img/after-support_bg.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.after-support-section .container {
  padding-block: calc(80 / var(--design) * 100vw);
  background: transparent;
}

.after-support-section__heading .section-heading__title {
  margin-bottom: calc(24 / var(--design) * 100vw);
}

.after-support-section__title-em {
  color: var(--after-support-accent);
}

.after-support-section__title-break {
  display: none;
}

.after-support-section__lead {
  max-width: calc(900 / var(--design) * 100vw);
  margin-inline: auto;
  margin-bottom: calc(40 / var(--design) * 100vw);
  color: var(--text-secondary);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  line-height: 1.9;
  text-align: center;
}

.after-support-grid {
  display: grid;
  width: min(100%, calc(var(--after-support-item-width) * 4 + var(--after-support-grid-gap) * 3));
  grid-template-columns: repeat(4, minmax(0, var(--after-support-item-width)));
  gap: var(--after-support-grid-gap);
  list-style: none;
}

.after-support-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(20 / var(--design) * 100vw) calc(16 / var(--design) * 100vw) calc(16 / var(--design) * 100vw);
  border: 1px solid var(--after-support-item-border);
  border-radius: calc(8 / var(--design) * 100vw);
  background: var(--color-white);
  text-align: center;
}

.after-support-item__icon {
  display: block;
  width: 80px;
  height: 80px;
  margin-bottom: calc(12 / var(--design) * 100vw);
  object-fit: contain;
}

.after-support-item__label {
  color: var(--text-body);
  font-size: clamp(12px, calc(14 / var(--design) * 100vw), 14px);
  font-weight: 600;
  line-height: 1.5;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section .inner {
  padding-block: calc(80 / var(--design) * 100vw);
}

.faq-section__header {
  margin-bottom: calc(40 / var(--design) * 100vw);
  padding-bottom: calc(32 / var(--design) * 100vw);
  border-bottom: 1px solid var(--section-accent);
}

.faq-section__header .section-heading__title {
  margin-bottom: 0;
}

.faq-list {
  list-style: none;
}

.faq-item {
  padding-block: calc(32 / var(--design) * 100vw);
  border-bottom: 1px solid var(--faq-divider);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: calc(12 / var(--design) * 100vw);
}

.faq-row.faq-row--single-line {
  align-items: center;
}

.faq-row + .faq-row {
  margin-top: calc(20 / var(--design) * 100vw);
}

.faq-row__label {
  font-family: var(--font-number);
  font-size: clamp(20px, calc(28 / var(--design) * 100vw), 28px);
  font-weight: 600;
  line-height: 1.5;
}

.faq-row--question .faq-row__label {
  color: var(--text-body);
}

.faq-row--answer .faq-row__label {
  color: var(--after-support-accent);
}

.faq-row__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  font-weight: 400;
  line-height: 1.85;
}

.faq-row--question .faq-row__text {
  color: var(--text-body);
  font-size: clamp(14px, calc(20 / var(--design) * 100vw), 20px);
  font-weight: 700;
}

/* ==========================================================================
   Urgent contact
   ========================================================================== */
.hurry-section {
  background-image: url("../img/hurry_bg.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hurry-section .inner {
  padding-block: calc(80 / var(--design) * 100vw);
}

.hurry-section__content {
  width: 100%;
  max-width: min(710px, calc(710 / var(--design) * 100vw));
}

.hurry-section__title {
  margin-bottom: calc(24 / var(--design) * 100vw);
  color: var(--text-body);
  font-family: var(--font-serif);
  font-size: clamp(22px, calc(32 / var(--design) * 100vw), 32px);
  font-weight: 600;
  line-height: 1.5;
}

.hurry-section__phone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(12 / var(--design) * 100vw) calc(16 / var(--design) * 100vw);
  margin-bottom: calc(12 / var(--design) * 100vw);
}

.hurry-section__phone-link {
  display: inline-flex;
  align-items: center;
  gap: calc(12 / var(--design) * 100vw);
  color: var(--consultation-accent);
  text-decoration: none;
}

.hurry-section__phone-link:hover {
  opacity: 0.85;
}

.hurry-section__phone-icon {
  display: block;
  width: calc(40 / var(--design) * 100vw);
  max-width: 40px;
  height: auto;
  flex-shrink: 0;
}

.hurry-section__phone-num {
  font-family: var(--font-number);
  font-size: clamp(36px, calc(56 / var(--design) * 100vw), 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.hurry-section__badges {
  display: flex;
  gap: calc(8 / var(--design) * 100vw);
  list-style: none;
}

.hurry-section__badge {
  display: grid;
  min-width: calc(56 / var(--design) * 100vw);
  padding: calc(4 / var(--design) * 100vw) calc(8 / var(--design) * 100vw);
  border: 1px solid var(--consultation-accent);
  background: var(--color-white);
  color: var(--consultation-accent);
  font-size: clamp(11px, calc(13 / var(--design) * 100vw), 13px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.hurry-section__catch-em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(2 / var(--design) * 100vw) calc(10 / var(--design) * 100vw);
  border-radius: calc(4 / var(--design) * 100vw);
  background: var(--consultation-accent);
  color: var(--hurry-catch-label-text);
  font-weight: 700;
}

.hurry-section__body {
  margin-left: var(--hurry-body-indent);
}

.hurry-section__catch {
  display: flex;
  align-items: center;
  gap: calc(8 / var(--design) * 100vw);
  margin-bottom: calc(24 / var(--design) * 100vw);
  color: var(--text-body);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  font-weight: 600;
  line-height: 1.5;
}

.hurry-section__panel {
  padding: calc(24 / var(--design) * 100vw) calc(28 / var(--design) * 100vw);
  border-radius: calc(8 / var(--design) * 100vw);
  background: var(--color-white);
  box-shadow: 0 calc(2 / var(--design) * 100vw) calc(12 / var(--design) * 100vw) var(--card-shadow);
}

.hurry-section__panel-lead {
  display: flex;
  align-items: flex-start;
  gap: calc(10 / var(--design) * 100vw);
  margin-bottom: calc(12 / var(--design) * 100vw);
  color: var(--consultation-accent);
  font-size: clamp(15px, calc(18 / var(--design) * 100vw), 18px);
  font-weight: 700;
  line-height: 1.6;
}

.hurry-section__panel-lead-icon {
  display: block;
  width: calc(24 / var(--design) * 100vw);
  max-width: 24px;
  height: auto;
  flex-shrink: 0;
  margin-top: calc(2 / var(--design) * 100vw);
}

.hurry-section__panel-text {
  color: var(--text-body);
  font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
  font-weight: 400;
  line-height: 1.8;
}

.hurry-section__panel-text + .hurry-section__panel-text {
  margin-top: calc(4 / var(--design) * 100vw);
}

/* ==========================================================================
   Membership
   ========================================================================== */
.member-section {
  background: var(--section-bg-light);
  color: var(--text-body);
}

.member-section .container {
  background: transparent;
}

.member-section__head {
  padding-top: calc(80 / var(--design) * 100vw);
  padding-bottom: var(--member-overlap);
  background: var(--member-accent);
}

.member-section__heading .section-eyebrow,
.member-section__heading .section-heading__title {
  color: var(--color-white);
}

.member-section__heading .section-eyebrow__mark {
  border-color: var(--color-white);
}

.member-section__title-br {
  display: none;
}

.member-section__body {
  width: calc(var(--member-panel) / var(--design) * 100%);
  max-width: calc(var(--member-panel) * 1px);
  margin-inline: auto;
  margin-top: calc(var(--member-overlap) * -1);
  padding-bottom: calc(80 / var(--design) * 100vw);
}

.member-section__panel {
  position: relative;
  overflow: visible;
  padding: calc(40 / var(--design) * 100vw) calc(48 / var(--design) * 100vw) 0;
  border-radius: var(--member-radius);
  background: var(--color-white);
  box-shadow: var(--member-shadow);
}

.member-section__card {
  position: absolute;
  top: calc(var(--member-card-offset) * -1);
  right: calc(48 / var(--design) * 100vw);
  z-index: 1;
  display: block;
  width: var(--member-card-width);
  height: auto;
}

.member-section__top {
  padding-right: var(--member-card-gutter);
  margin-bottom: calc(24 / var(--design) * 100vw);
}

.member-section__lead {
  margin-bottom: calc(8 / var(--design) * 100vw);
  color: var(--text-secondary);
  font-size: clamp(18px, calc(24 / var(--design) * 100vw), 24px);
  font-weight: 400;
  line-height: 1.75;
}

.member-section__lead-em {
  color: var(--member-accent);
  font-weight: 700;
}

.member-section__price {
  display: block;
  width: 100%;
  padding: calc(8 / var(--design) * 100vw) calc(16 / var(--design) * 100vw);
  background: var(--member-price-bg);
  color: var(--text-secondary);
  font-size: clamp(18px, calc(24 / var(--design) * 100vw), 24px);
  font-weight: 600;
  line-height: 1.6;
}

.member-section__price-em {
  color: var(--member-accent);
  font-family: var(--font-number);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.member-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(5 / var(--design) * 100vw) calc(5 / var(--design) * 100vw);
  list-style: none;
}

.member-benefits__item {
  display: flex;
  align-items: center;
  gap: calc(15 / var(--design) * 100vw);
  min-width: 0;
}

.member-benefits__badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: calc(15 / var(--design) * 100vw) calc(10 / var(--design) * 100vw);
  border: 1px solid var(--member-accent);
  border-radius: calc(4 / var(--design) * 100vw);
  background: var(--color-white);
  color: var(--member-accent);
  font-size: clamp(14px, calc(18 / var(--design) * 100vw), 18px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.member-benefits__text {
  color: var(--text-body);
  font-family: var(--font-serif);
  font-size: clamp(16px, calc(22 / var(--design) * 100vw), 22px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.member-section__note {
  margin-top: calc(12 / var(--design) * 100vw);
  color: #999;
  font-size: clamp(10px, calc(11 / var(--design) * 100vw), 11px);
  line-height: 1.6;
  text-align: right;
}

.member-section__form-placeholder {
  margin-top: calc(40 / var(--design) * 100vw);
  padding-top: calc(40 / var(--design) * 100vw);
  padding-bottom: calc(40 / var(--design) * 100vw);
  border-top: 1px solid var(--faq-divider);
}

.member-section__form-placeholder > .section-heading {
  margin-bottom: calc(32 / var(--design) * 100vw);
  text-align: center;
}

.member-section__form-placeholder > .section-heading .section-heading__title {
  color: var(--text-secondary);
  font-size: clamp(20px, calc(28 / var(--design) * 100vw), 28px);
}

.member-section__form-placeholder .wpcf7 {
  margin: 0;
}

/* ==========================================================================
   Shared CTA banners
   ========================================================================== */
.cta-banners {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--grid-gap);
}

.cta-banners__item {
  display: block;
  flex: 0 0 auto;
}

.cta-banners__item--phone {
  width: min(calc(534 / var(--container) * 100%), 534px);
}

.cta-banners__item--consultation {
  width: min(calc(575 / var(--container) * 100%), 575px);
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .fixed-contact {
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* ==========================================================================
   Responsive: mobile and tablet (767px and below)
   Keep this breakpoint aligned with js/script.js.
   ========================================================================== */
@media (max-width: 767px) {
  .entry-content .u-br-sp {
    display: block;
    height: 0;
    overflow: hidden;
  }

  br.br-sp {
    display: initial;
  }

  br.br-pc {
    display: none !important;
  }

  /* Page state */
  body.menu-open {
    overflow: hidden;
  }

  /* Main visual */
  .mainvisual {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .mainvisual::before {
    content: none;
  }

  .mainvisual__sp {
    display: block;
    width: 100%;
    height: auto;
  }

  .mainvisual__inner {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0 var(--pad-sp) 16px;
  }

  .mainvisual__title,
  .mainvisual__satisfaction {
    display: none;
  }

  .mainvisual__banners {
    position: static;
    display: grid;
    width: 100%;
    max-width: none;
    height: auto;
    gap: 8px;
    transform: none;
  }

  .mainvisual__banner--phone,
  .mainvisual__banner--consultation {
    position: static;
    width: 100%;
  }

  /* Site footer */
  .site-footer {
    min-height: 0;
    padding: 48px var(--pad-sp) calc(24px + 111 / 768 * 100vw);
  }

  .site-footer__top {
    display: grid;
    min-height: 0;
    gap: 22px;
  }

  .site-footer__logo {
    position: static;
    width: min(100%, 300px);
  }

  .site-footer__description {
    text-align: left;
    font-size: 11px;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 38px;
  }

  .site-footer__address {
    font-size: 12px;
    white-space: normal;
  }

  .site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    gap: 0;
    border-top: 1px solid var(--border-light);
  }

  .site-footer__links li {
    border-bottom: 1px solid var(--border-light);
  }

  .site-footer__links li:nth-child(odd) {
    border-right: 1px solid var(--border-light);
  }

  .site-footer__links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding-inline: 10px;
    font-size: 12px;
  }

  .site-footer__copyright {
    margin-top: 30px;
    text-align: left;
    font-size: 11px;
  }

  /* Fixed contact banner */
  .fixed-contact {
    z-index: 1002;
    height: calc(111 / 768 * 100vw);
    max-height: 111px;
  }

  .fixed-contact::before {
    content: none;
  }

  .fixed-contact__inner {
    display: block;
    padding: 0;
  }

  .fixed-contact__logo,
  .fixed-contact__staff,
  .fixed-contact__actions {
    display: none;
  }

  .fixed-contact__sp {
    display: block;
    height: 100%;
    max-height: 111px;
    background: var(--color-white);
  }

  .fixed-contact__sp-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    background: #ccc;
  }

  .fixed-contact__sp-banners a,
  .fixed-contact__sp-banners img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .fixed-contact__sp-banners img {
    object-fit: fill;
  }

  /*
  .fixed-contact__sp-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-white);
  }

  .fixed-contact__sp-nav-item,
  .fixed-contact__sp-nav .menu-toggle {
    display: grid;
    min-width: 0;
    height: 100%;
    place-content: center;
    justify-items: center;
    gap: calc(6 / 768 * 100vw);
    border: 0;
    background: #524343;
    color: var(--color-white);
    font-size: clamp(10px, calc(20 / 768 * 100vw), 20px);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .fixed-contact__sp-nav .menu-toggle {
    width: 100%;
    padding: 0;
    background: var(--color-white);
    color: #333;
    cursor: pointer;
  }

  .fixed-contact__sp-nav .menu-toggle__lines {
    display: grid;
    gap: calc(7 / 768 * 100vw);
  }

  .fixed-contact__sp-nav .menu-toggle__lines i {
    display: block;
    width: calc(40 / 768 * 100vw);
    max-width: 40px;
    height: max(2px, calc(4 / 768 * 100vw));
    max-height: 4px;
    border-radius: 999px;
    background: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .fixed-contact__sp-nav .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(1) {
    transform: translateY(calc(11 / 768 * 100vw)) rotate(45deg);
  }

  .fixed-contact__sp-nav .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(2) {
    opacity: 0;
  }

  .fixed-contact__sp-nav .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(3) {
    transform: translateY(calc(-11 / 768 * 100vw)) rotate(-45deg);
  }

  .fixed-contact__sp-nav-item img {
    display: block;
    width: calc(40 / 768 * 100vw);
    max-width: 40px;
    height: calc(40 / 768 * 100vw);
    max-height: 40px;
    object-fit: contain;
  }

  .fixed-contact__sp-nav-item--urgent {
    background: #e4171a;
  }
  */

  /* Site header and drawer navigation */
  .header-inner,
  .site-footer__inner,
  .fixed-contact__inner {
    width: 100%;
    max-width: none;
  }

  .header-inner {
    padding-inline: var(--pad-sp);
  }

  :root {
    --scroll-offset: calc(88 / 768 * 100vw);
  }

  .site-header {
    top: var(--wp-admin--admin-bar--height, 0px);
  }

  .site-header__utility {
    --sp-header-base: 768;
    --sp-header-pad-y: calc(9 / var(--sp-header-base) * 100vw);
    --sp-header-pad-right: calc(34 / var(--sp-header-base) * 100vw);
    --sp-header-logo-w: calc(370 / var(--sp-header-base) * 100vw);
    --sp-header-nav-gap: calc(30 / var(--sp-header-base) * 100vw);
    --sp-header-icon-box: calc(40 / var(--sp-header-base) * 100vw);
    --sp-header-icon-gap: calc(12 / var(--sp-header-base) * 100vw);
    --sp-header-label-size: calc(18 / var(--sp-header-base) * 100vw);
    --sp-header-bar-w: calc(44 / var(--sp-header-base) * 100vw);
    --sp-header-bar-h: calc(7 / var(--sp-header-base) * 100vw);
    --sp-header-bar-gap: calc(9.5 / var(--sp-header-base) * 100vw);
    height: auto;
    min-height: 0;
    padding-block: var(--sp-header-pad-y);
  }

  .site-header__utility .header-inner {
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-header-nav-gap);
    padding-inline: var(--pad-sp) var(--sp-header-pad-right);
  }

  .site-logo {
    flex: 0 1 auto;
    width: var(--sp-header-logo-w);
    min-width: 0;
    max-width: 100%;
    justify-content: flex-start;
  }

  .site-logo img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: left center;
  }

  .site-header__sp-nav {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    align-items: center;
    justify-content: flex-end;
    gap: var(--sp-header-nav-gap);
  }

  .site-header__sp-nav-item {
    display: grid;
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    grid-template-rows: var(--sp-header-icon-box) auto;
    align-items: center;
    justify-items: center;
    gap: var(--sp-header-icon-gap);
    color: #333;
    font-size: var(--sp-header-label-size);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.11em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-header__sp-nav-item img {
    display: block;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }

  .site-header__sp-nav-item--plan img {
    width: var(--sp-header-icon-box);
    height: var(--sp-header-icon-box);
  }

  .site-header__sp-nav-item--urgent img {
    width: calc(30 / var(--sp-header-base) * 100vw);
    height: calc(51 / var(--sp-header-base) * 100vw);
  }

  .site-header__sp-nav-item--accent {
    color: #e4171a;
  }

  .site-header__actions {
    display: none;
  }

  .header-link,
  .header-support {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: auto;
    padding: 0;
    border: 0;
    cursor: pointer;
  }

  .site-header__sp-nav .menu-toggle {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    background: transparent;
    color: #333;
  }

  .site-header__sp-nav .menu-toggle__lines {
    display: grid;
    gap: var(--sp-header-bar-gap);
  }

  .site-header__sp-nav .menu-toggle__lines i {
    display: block;
    width: var(--sp-header-bar-w);
    max-width: none;
    height: max(2px, var(--sp-header-bar-h));
    max-height: none;
    border-radius: calc(2 / var(--sp-header-base) * 100vw);
    background: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-header__sp-nav .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(1) {
    transform: translateY(calc(16.5 / var(--sp-header-base) * 100vw)) rotate(45deg);
  }

  .site-header__sp-nav .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(2) {
    opacity: 0;
  }

  .site-header__sp-nav .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(3) {
    transform: translateY(calc(-16.5 / var(--sp-header-base) * 100vw)) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    background: var(--color-white);
    color: #333;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.35s ease, visibility 0.35s;
  }

  .global-nav__inner {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 100%;
    padding: 0 0 24px;
  }

  .global-nav__list {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu__header {
    display: flex;
    height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 3px 10px;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu__logo {
    display: block;
    width: min(50vw, 200px);
  }

  .mobile-menu__logo img {
    display: block;
    width: 100%;
    height: auto;
  }

  .mobile-menu__close {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    line-height: 1;
    place-content: center;
    justify-items: center;
  }

  .mobile-menu__close > span {
    height: 34px;
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 0.8;
  }

  .mobile-menu__close small {
    font-size: 10px;
  }

  .mobile-menu__banners {
    display: grid;
    padding: 3px 16px 0;
  }

  .mobile-menu__banners a,
  .mobile-menu__banners img {
    display: block;
    width: 100%;
  }

  .mobile-menu__banners img {
    height: auto;
  }

  .mobile-menu__links {
    margin-top: 10px;
  }

  .mobile-menu__section-link {
    display: flex;
    min-height: 51px;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px 0 30px;
    border-bottom: 1px solid #eee;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .mobile-menu__section-link > span {
    display: grid;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #524343;
    color: var(--color-white);
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    place-items: center;
  }

  .mobile-menu__plans {
    display: grid;
    gap: 7px;
    padding: 6px 22px 11px;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu__plan {
    --mobile-plan-color: #623136;
    display: grid;
    min-height: 48px;
    overflow: hidden;
    grid-template-columns: 41% 29% 20% 10%;
    align-items: stretch;
    border: 1px solid var(--mobile-plan-color);
    border-radius: 4px;
    background: #fffafa;
    color: #333;
  }

  .mobile-menu__plan--one-day {
    --mobile-plan-color: #c07811;
  }

  .mobile-menu__plan--family {
    --mobile-plan-color: #5f8451;
  }

  .mobile-menu__plan--temple {
    --mobile-plan-color: #75409d;
  }

  .mobile-menu__plan--general {
    --mobile-plan-color: #dd568f;
  }

  .mobile-menu__plan-name {
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: var(--mobile-plan-color);
    font-family: var(--font-serif);
    font-size: clamp(14px, 4.7vw, 19px);
    font-weight: 600;
    white-space: nowrap;
  }

  .mobile-menu__plan-price {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e4171a;
    white-space: nowrap;
  }

  .mobile-menu__plan-price strong {
    font-family: var(--font-number);
    font-size: clamp(18px, 5.7vw, 23px);
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .mobile-menu__plan-price small {
    margin-left: 2px;
    font-size: clamp(6px, 1.7vw, 8px);
    font-weight: 700;
    line-height: 1.05;
  }

  .mobile-menu__plan-tax {
    display: grid;
    align-content: center;
    justify-items: start;
    white-space: nowrap;
  }

  .mobile-menu__plan-tax > small {
    font-size: clamp(7px, 1.9vw, 9px);
    font-weight: 700;
  }

  .mobile-menu__plan-tax strong {
    font-family: var(--font-number);
    font-size: clamp(13px, 3.9vw, 16px);
    font-weight: 500;
  }

  .mobile-menu__plan-tax strong small {
    margin-left: 1px;
    font-family: sans-serif;
    font-size: 7px;
  }

  .mobile-menu__plan-arrow {
    display: grid;
    background: var(--mobile-plan-color);
    color: var(--color-white);
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    place-items: center;
  }

  .global-nav__urgent {
    display: none;
  }

  .menu-overlay {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--overlay-menu);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }

  body.menu-open .global-nav {
    visibility: visible;
    transform: translateX(0);
  }

  body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open .fixed-contact {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  /* Shared section layout */
  .container {
    width: 100%;
    max-width: none;
    padding-inline: var(--pad-sp);
  }

  .inner {
    width: 100%;
    max-width: none;
    padding-block: 2.5rem;
  }

  .plan-section .container {
    padding-block: 3rem;
  }

  .section-heading__title {
    margin-bottom: 2rem;

  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plan-card,
  .plan-card--wide {
    grid-column: auto;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--card-shadow);
  }

  .plan-card__footer--horizontal {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .plan-card__discount--stacked {
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .plan-card--wide .plan-card__steps,
  .plan-card--wide .plan-card__footer {
    width: 100%;
    max-width: none;
  }

  .plan-card__price-row {
    gap: 12px;
  }

  /* Flower and offering orders */
  .order-section__intro {
    padding-block: 3rem 2rem;
  }

  .order-flow {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .order-gallery--flowers,
  .order-gallery--offerings {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 16px;
  }

  .order-gallery--flowers .order-gallery__item,
  .order-gallery--offerings .order-gallery__item {
    width: calc(50% - 8px);
    max-width: none;
  }

  .order-gallery__zoom {
    width: 16%;
    max-width: 32px;
  }

  .order-block--offerings {
    padding-block: 2.5rem 3rem;
  }

  .btn-common {
    max-width: none;
    padding-block: 1em;
    padding-inline: 40px 48px;
  }

  .btn-common__icon {
    right: 5%;
  }

  .lightbox__close {
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
    font-size: 18px;
    line-height: 1;
  }

  .lightbox__close span {
    margin-top: -0.05em;
  }

  .lightbox__content {
    max-height: min(75vh, 640px);
    padding: 24px 20px;
  }

  .lightbox--pdf {
    padding: 16px;
  }

  .lightbox__dialog--pdf {
    width: min(100%, 900px);
    height: min(82vh, 820px);
  }

  .lightbox__pdf-toolbar {
    top: 10px;
    right: 10px;
    left: 10px;
    gap: 8px;
  }

  .lightbox__pdf-download {
    min-height: 30px;
    padding: 4px 12px;
    font-size: 12px;
  }

  .lightbox__dialog--pdf .lightbox__close {
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
    font-size: 18px;
  }

  .lightbox__pdf-view {
    padding: 44px 10px 10px;
  }

  .lightbox__pdf-ios-note {
    padding: 44px 10px 0;
    font-size: 11px;
  }

  .lightbox__pdf-ios-note:not([hidden]) + .lightbox__pdf-view {
    padding-top: 8px;
  }

  /* Philosophy */
  .philosophy-section__lead {
    padding-left: 24px;
    margin-bottom: calc(80 / var(--design) * 100vw);
  }

  /* Features */
  .features-section .inner {
    padding-block: 3rem;
  }

  .features-list {
    gap: 3rem;
  }

  .feature-item,
  .feature-item--reverse {
    grid-template-columns: 1fr;
  }

  .feature-item__body {
    display: contents;
  }

  .feature-item__badge {
    order: 1;
    gap: 10px;
    margin-bottom: 20px;
  }

  .feature-item__image,
  .feature-item--reverse .feature-item__image {
    order: 2;
  }

  .feature-item__title {
    order: 3;
    margin-bottom: 0;
    letter-spacing: 0.06em;
  }

  .feature-item__text {
    order: 4;
  }

  .feature-item__badge-slash {
    height: 56px;
  }

  .feature-item__badge-num {
    font-size: 52px;
  }

  /* Advance consultation */
  .consultation-section .container {
    padding-block: 3rem;
  }

  .consultation-section__bg {
    opacity: 0.45;
  }

  .consultation-section .consultation-section__bg > img {
    width: min(640px, calc(640 / var(--design) * 100vw * 1.68));
    max-width: none;
    height: auto;
  }

  .consultation-section__cta {
    margin-bottom: 2rem;
  }

  .consultation-section__intro {
    margin-bottom: 2rem;
  }

  .consultation-section__stat-text {
    width: min(100%, 360px);
    min-height: 76px;
    max-height: none;
    padding: 24px 28px 18px;
    font-size: 20px;
  }

  .consultation-section__stat-content {
    display: inline-flex;
    align-items: center;
    transform: translateY(-15px);
  }

  .consultation-section__title {
    margin-bottom: 12px;
  }

  .consultation-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 2rem;
  }

  .consultation-card {
    padding: 20px 16px 24px;
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--card-shadow);
  }

  .consultation-card__header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .consultation-card__num {
    font-size: 48px;
  }

  .consultation-card__title {
    min-height: 48px;
    font-size: 20px;
    line-height: 1.25;
  }

  .consultation-card__title-line,
  .consultation-card__title-em {
    line-height: 1.25;
  }

  .consultation-card__title-em {
    font-size: 24px;
  }

  .consultation-card__image {
    margin-bottom: 16px;
  }

  .consultation-section__tel-banner .consultation-section__tel-banner-img--pc {
    display: none;
  }

  .consultation-section__tel-banner .consultation-section__tel-banner-img--sp {
    display: block;
  }

  /* Customer voices */
  .voices-section .container {
    padding-block: 3rem;
  }

  .voices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--voices-card-gap);
  }

  .voice-card {
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--card-shadow);
  }

  .voice-card__thumb {
    border-radius: 8px 8px 0 0;
  }

  .voice-card__zoom {
    width: 11.76%;
    max-width: 36px;
    right: 2.61%;
    bottom: 2.61%;
  }

  .voice-card__meta {
    gap: 8px;
    padding: 0 12px 8px;
  }

  .voice-card__avatar {
    width: 48px;
    max-width: 48px;
    margin-top: -12px;
  }

  .voice-card__info {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 4px;
  }

  .voice-card__name {
    padding: 4px 10px;
  }

  .voice-card__date {
    line-height: 1.2;
  }

  /* After-support */
  .after-support-section .container {
    padding-block: 3rem;
  }

  .after-support-section__heading .section-heading__title {
    margin-bottom: 20px;
  }

  .after-support-section__title-break {
    display: block;
  }

  .after-support-section__lead {
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
  }

  .after-support-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--after-support-grid-gap);
  }

  .after-support-item {
    padding: 16px 12px 14px;
    border-radius: 8px;
  }

  .after-support-item__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }

  /* FAQ */
  .faq-section .inner {
    padding-block: 3rem;
  }

  .faq-section__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .faq-item {
    padding-block: 1.5rem;
  }

  .faq-row {
    gap: 10px;
  }

  .faq-row + .faq-row {
    margin-top: 16px;
  }

  /* Urgent contact */
  .hurry-section {
    background-position: 60% top;
  }

  .hurry-section .inner {
    padding-block: 3rem;
  }

  .hurry-section__content {
    max-width: 100%;
  }

  .hurry-section__title {
    margin-bottom: 20px;
  }

  .hurry-section__phone {
    gap: 12px 16px;
    margin-bottom: 12px;
  }

  .hurry-section__phone-link {
    gap: 10px;
  }

  .hurry-section__phone-icon {
    width: 32px;
    max-width: 32px;
  }

  .hurry-section__body {
    margin-left: 0;
  }

  .hurry-section__catch {
    gap: 8px;
    margin-bottom: 20px;
  }

  .hurry-section__catch-em {
    padding: 2px 8px;
    border-radius: 4px;
  }

  .hurry-section__panel {
    padding: 20px;
    border-radius: 8px;
  }

  .hurry-section__panel-lead {
    gap: 8px;
    margin-bottom: 10px;
  }

  .hurry-section__panel-lead-icon {
    width: 20px;
    max-width: 20px;
    margin-top: 2px;
  }

  .hurry-section__panel-text + .hurry-section__panel-text {
    margin-top: 4px;
  }

  /* Membership */
  .member-section {
    --member-card-offset: 10px;
    --member-radius: 16px;
  }

  .member-section__title-br {
    display: block;
  }

  .member-section__head {
    padding-top: 3rem;
  }

  .member-section__body {
    width: 100%;
    max-width: none;
    padding-inline: var(--pad-sp);
    padding-bottom: 3rem;
  }

  .member-section__panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10px 8px;
    padding: 28px 20px 0;
  }

  .member-section__card {
    position: static;
    grid-column: 2;
    grid-row: 1;
    width: 92%;
    max-width: 128px;
    justify-self: center;
    align-self: center;
  }

  .member-section__top {
    display: contents;
    margin-bottom: 0;
  }

  .member-section__lead {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    align-self: center;
    font-size: clamp(15px, calc(16 / 768 * 100vw), 16px);
    line-height: 1.6;
  }

  .member-section__price {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
    padding: 8px 10px;
    font-size: clamp(13px, 3.6vw, 16px);
    letter-spacing: -0.02em;
    line-height: 1.45;
    text-align: center;
    white-space: nowrap;
  }

  .member-benefits {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .member-benefits__badge {
    padding: calc(15 / 768 * 100vw) calc(10 / 768 * 100vw);
    border-radius: 3px;
  }

  .member-section__note {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .member-section__form-placeholder {
    grid-column: 1 / -1;
    margin-top: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  /* Philosophy and CTA banners */
  .philosophy-section .container {
    padding-block: 3rem;
  }

  .philosophy-section__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .philosophy-section__text {
    justify-content: flex-start;
    gap: 0.35em;
  }

  .philosophy-section__text p{
    text-align: center;
    margin-bottom: 10px;
  }

  .philosophy-section__image {
    justify-self: center;
    max-width: none;
  }

  .cta-banners {
    flex-direction: column;
    gap: 8px;
  }

  .cta-banners__item--phone,
  .cta-banners__item--consultation {
    width: 100%;
  }
}

/* ==========================================================================
   Responsive: desktop side actions (768px and above)
   ========================================================================== */
@media (min-width: 768px) {
  .side-actions {
    position: fixed;
    z-index: 850;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    transform: translateY(-50%);
  }

  .side-actions__link {
    display: block;
    flex-shrink: 0;
    box-shadow: none;
  }

  .side-actions__image {
    display: block;
    width: 104px;
    height: auto;
  }
}

/* ==========================================================================
   Responsive: small mobile header (520px and below)
   ========================================================================== */
@media (max-width: 520px) {
  .site-header__actions {
    display: none;
  }
}

/* ==========================================================================
   Fixed page / archive / single (editor content)
   ========================================================================== */
.page-main,
.archive-main,
.single-main {
  background: var(--color-white);
}

.page-section {
  padding: calc(60 / var(--design) * 100vw) 0;
}

body.application-thanks .page-section,
body.consultation-thanks .page-section {
  background: #efefef;
}

/* Block editor: responsive line breaks (span is reliable; br is best-effort fallback) */
.entry-content .u-br-pc,
.entry-content .u-br-sp {
  display: none;
}

br.br-sp {
  display: none;
}

@media (min-width: 768px) {
  .entry-content .u-br-pc {
    display: block;
    height: 0;
    overflow: hidden;
  }
}

.page-header {
  margin-bottom: calc(40 / var(--design) * 100vw);
}

.entry-content {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content a {
  color: var(--section-eyebrow-color);
  text-decoration: underline;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.entry-content :where(.wp-block-group, .wp-block-columns, .wp-block-column) {
  max-width: 100%;
}

.entry-content :where(p, li, td, th, figcaption, .wp-block-paragraph) {
  color: var(--text-body);
}

.entry-content :where(h1, h2, h3, h4, h5, h6) {
  color: var(--text-body);
  font-weight: 600;
  line-height: 1.5;
}

.entry-content :where(ul, ol) {
  padding-left: 1.5em;
}

.entry-content :where(ul) {
  list-style: disc;
}

.entry-content :where(ol) {
  list-style: decimal;
}

.page-links {
  margin-top: 2em;
}

/* ==========================================================================
   Archive / Single (post list & detail)
   ========================================================================== */
.archive-section,
.single-section {
  padding: calc(60 / var(--design) * 100vw) 0;
}

.archive-header__description {
  margin-top: calc(20 / var(--design) * 100vw);
}

.archive-list {
  display: grid;
  gap: calc(40 / var(--design) * 100vw);
  margin-top: calc(40 / var(--design) * 100vw);
}

.archive-card {
  padding-bottom: calc(30 / var(--design) * 100vw);
  border-bottom: 1px solid var(--faq-divider, #f3f3f3);
}

.archive-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.archive-card__title {
  margin: 0;
  font-size: clamp(20px, calc(24 / var(--design) * 100vw), 24px);
  font-weight: 600;
  line-height: 1.5;
}

.archive-card__title a {
  color: var(--text-body);
  text-decoration: none;
}

.archive-card__title a:hover {
  color: var(--section-eyebrow-color);
}

.archive-card__meta,
.single-header__meta,
.single-footer__tags {
  margin: 0.75em 0 0;
  font-size: 14px;
  color: #666;
}

.entry-meta a {
  color: inherit;
  text-decoration: none;
}

.entry-meta a:hover {
  color: var(--section-eyebrow-color);
}

.entry-meta__sep {
  margin: 0 0.5em;
}

.archive-card__thumb {
  display: block;
  margin-top: 1em;
}

.archive-card__image,
.single-featured__image {
  display: block;
  width: 100%;
  height: auto;
}

.archive-card__excerpt {
  margin-top: 1em;
  font-size: 15px;
}

.archive-card__more {
  margin: 1em 0 0;
}

.archive-card__link {
  color: var(--section-eyebrow-color);
  font-weight: 600;
  text-decoration: none;
}

.archive-card__link:hover {
  text-decoration: underline;
}

.single-featured {
  margin: calc(30 / var(--design) * 100vw) 0 0;
}

.single-footer {
  margin-top: calc(40 / var(--design) * 100vw);
  padding-top: calc(30 / var(--design) * 100vw);
  border-top: 1px solid var(--faq-divider, #f3f3f3);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin-top: calc(24 / var(--design) * 100vw);
}

.post-navigation a {
  color: var(--section-eyebrow-color);
  text-decoration: none;
  font-size: 14px;
}

.post-navigation a:hover {
  text-decoration: underline;
}

.posts-pagination {
  margin-top: calc(40 / var(--design) * 100vw);
}

.posts-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
}

.posts-pagination a,
.posts-pagination span {
  display: inline-block;
  min-width: 2.5em;
  padding: 0.4em 0.75em;
  border: 1px solid var(--faq-divider, #f3f3f3);
  color: var(--text-body);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

.posts-pagination a:hover,
.posts-pagination .current {
  border-color: var(--section-eyebrow-color);
  color: var(--section-eyebrow-color);
}

.archive-empty {
  margin-top: calc(40 / var(--design) * 100vw);
  text-align: center;
  color: #666;
}

.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52vh;
  padding: clamp(72px, 10vw, 140px) var(--pad-sp);
  text-align: center;
}

.error-404__code {
  color: var(--text-body);
  font-family: var(--font-number);
  font-size: clamp(88px, 14vw, 168px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.error-404__message {
  margin-top: 0.35em;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .menu-toggle__lines i,
  .global-nav,
  .menu-overlay,
  .fixed-contact,
  .lightbox__overlay,
  .lightbox__dialog {
    transition-duration: 0.01ms;
  }
}

/* ==========================================================================
   member_application_form 会員申込フォーム（CF7）
   ========================================================================== */

.member_application_form {
  dl {
    max-width: calc(1000 / var(--design) * 100vw);
    margin: 0 auto calc(12 / var(--design) * 100vw);
    padding: calc(25 / var(--design) * 100vw);
    border-radius: calc(10 / var(--design) * 100vw);
    background-color: var(--member-form-bg);
  }

  dt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
  }

  .required {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    align-self: center;
    justify-content: center;
    padding: calc(2 / var(--design) * 100vw) calc(10 / var(--design) * 100vw);
    border-radius: 999px;
    background: var(--member-accent);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
    margin-right: 12px;
  }

  .note {
    color: #999;
    font-size: clamp(11px, calc(13 / var(--design) * 100vw), 13px);
    font-weight: 400;
    line-height: 1.6;
    display: block;
  }

  dd {
    margin: 0;
  }

  dd p {
    margin-top: calc(10 / var(--design) * 100vw);
    color: var(--text-secondary);
    font-size: clamp(12px, calc(14 / var(--design) * 100vw), 14px);
    line-height: 1.7;
  }

  dd p a {
    color: var(--member-accent);
    text-decoration: underline;
  }

  dd p a:hover {
    opacity: 0.85;
  }

  .wpcf7-form-control-wrap {
    display: block;
  }

  .wpcf7-list-item {
    margin: 0;
    padding: 0 15px;
  }

  .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: calc(8 / var(--design) * 100vw);
    color: var(--text-secondary);
    font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
    font-weight: 600;
    line-height: 1.6;
  }

  .wpcf7-list-item label:has([type="checkbox"]) {
    gap: 10px;
  }

  input[type="checkbox"] {
    width: calc(18 / var(--design) * 100vw);
    max-width: 18px;
    height: calc(18 / var(--design) * 100vw);
    max-height: 18px;
    margin: 0;
    accent-color: var(--member-accent);
  }

  input[type="radio"] {
    margin: 0;
    accent-color: var(--member-accent);
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    width: 100%;
    padding: calc(12 / var(--design) * 100vw) calc(16 / var(--design) * 100vw);
    border: 1px solid var(--form-input-border);
    border-radius: calc(6 / var(--design) * 100vw);
    background: var(--color-white);
    color: var(--text-body);
    font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
    line-height: 1.6;
  }

  select {
    appearance: none;
    padding-right: calc(40 / var(--design) * 100vw);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(16 / var(--design) * 100vw) center;
    background-size: 12px 8px;
    cursor: pointer;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
  }

  textarea {
    /* rows 属性由来の初期高さを上書き（min-height だけでは縮まない） */
    height: calc(75 / var(--design) * 100vw);
    min-height: calc(75 / var(--design) * 100vw);
    resize: vertical;
  }

  > p:has([type="submit"]) {
    position: relative;
    display: grid;
    width: 100%;
    max-width: calc(600 / var(--inner) * 100%);
    margin: calc(32 / var(--design) * 100vw) auto 0;
  }

  [type="submit"] {
    grid-area: 1 / 1;
    position: relative;
    display: block;
    width: 100%;
    padding: calc(16 / var(--design) * 100vw) calc(56 / var(--design) * 100vw);
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--btn-common-bg-top) 0%, var(--btn-common-bg-bottom) 100%);
    box-shadow: 0 5px 0 var(--btn-common-shadow);
    color: var(--color-white);
    font-size: clamp(14px, calc(16 / var(--design) * 100vw), 16px);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    appearance: none;
    transition: opacity 0.2s ease;
  }

  [type="submit"]:hover {
    opacity: 0.9;
  }

  > p:has([type="submit"])::after {
    content: "›";
    grid-area: 1 / 1;
    align-self: center;
    justify-self: end;
    z-index: 1;
    margin-right: calc(20 / var(--design) * 100vw);
    color: var(--color-white);
    font-size: clamp(18px, calc(22 / var(--design) * 100vw), 22px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
  }

  .wpcf7-not-valid-tip {
    margin-top: calc(6 / var(--design) * 100vw);
    color: var(--member-accent);
    font-size: clamp(12px, calc(13 / var(--design) * 100vw), 13px);
  }

  .wpcf7-response-output {
    max-width: calc(1000 / var(--design) * 100vw);
    margin: calc(16 / var(--design) * 100vw) auto 0;
    padding: calc(12 / var(--design) * 100vw) calc(16 / var(--design) * 100vw);
    border-radius: calc(6 / var(--design) * 100vw);
    font-size: clamp(13px, calc(14 / var(--design) * 100vw), 14px);
    line-height: 1.6;
  }

  .consultation-form__schedule[hidden] {
    display: none;
  }

  dl.consultation-form__schedule {
    background-color: var(--member-form-bg-schedule);
  }

  dl.consultation-form__schedule input[name="hope-date"],
  dl.consultation-form__schedule select[name="hope-time"] {
    width: 33.333%;
    max-width: 100%;
    min-width: 11em;
  }
}

.consultation_application_form .consultation-form__schedule[hidden] {
  display: none;
}

.consultation_application_form dl.consultation-form__schedule {
  background-color: var(--member-form-bg-schedule);
}

.consultation_application_form dl.consultation-form__schedule input[name="hope-date"],
.consultation_application_form dl.consultation-form__schedule select[name="hope-time"] {
  width: 33.333%;
  max-width: 100%;
  min-width: 11em;
}

@media (max-width: 767px) {
  .member_application_form dl {
    max-width: 100%;
    padding: 20px;
  }

  .member_application_form .required {
    padding: 4px 10px;
  }

  .member_application_form > p:has([type="submit"]) {
    max-width: none;
    width: 100%;
  }

  .member_application_form [type="submit"],
  .member_application_form .wpcf7-submit {
    padding-block: 1em;
    padding-inline: 40px 48px;
  }

  .member_application_form > p:has([type="submit"])::after {
    margin-right: 5%;
    font-size: 1.4em;
  }

  .member_application_form .wpcf7-form-control-wrap:has(.wpcf7-radio) {
    display: flex;
    justify-content: center;
  }

  .member_application_form .wpcf7-radio {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }

  .member_application_form .wpcf7-radio .wpcf7-list-item {
    margin: 0;
    padding: 0;
  }

  .member_application_form textarea {
    height: calc(225 / var(--design) * 100vw);
    min-height: calc(225 / var(--design) * 100vw);
  }

  .member_application_form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
  }
}
