@charset "utf-8";
.endex-page,
.endex-page *,
.endex-page *::before,
.endex-page *::after {
  box-sizing: border-box;
}

main.endex-page,
.endex-page section,
.endex-page article,
.endex-page aside,
.endex-page nav {
  display: block;
}

.endex-page {
  --endex-ink: #231f20;
  --endex-muted: #645b56;
  --endex-burgundy: #4a1518;
  --endex-burgundy-2: #762329;
  --endex-gold: #c79222;
  --endex-coral: #e96549;
  --endex-orange: #f39a3d;
  --endex-yellow: #f6c653;
  --endex-cream: #fff8ef;
  --endex-peach: #fce9dc;
  --endex-line: #ecd8ca;
  --endex-white: #fff;
  color: var(--endex-ink);
  background: var(--endex-white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  overflow: hidden;
}

.endex-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.endex-page a {
  color: inherit;
  text-decoration: none;
}

.endex-page button {
  font: inherit;
}

.endex-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.endex-section {
  padding: 96px 0;
}

.endex-eyebrow,
.endex-kicker {
  margin: 0 0 14px;
  color: var(--endex-burgundy-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.endex-kicker--gold {
  color: var(--endex-gold);
}

.endex-kicker--coral {
  color: #bd412c;
}

.endex-kicker--light {
  color: #ffd89d;
}

.endex-hero {
  position: relative;
  padding: 82px 0 50px;
  background:
    radial-gradient(circle at 86% 12%, rgba(246, 198, 83, 0.32), transparent 22%),
    radial-gradient(circle at 12% 7%, rgba(233, 101, 73, 0.16), transparent 26%),
    linear-gradient(180deg, #fffaf4 0%, #fff 76%);
}

.endex-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74, 21, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 21, 24, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.endex-hero .endex-container {
  position: relative;
}

.endex-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  align-items: end;
}

.endex-hero h1 {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.endex-hero__lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--endex-muted);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 500;
}

.endex-event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.endex-event-badges span,
.endex-event-badges strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--endex-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.endex-event-badges strong {
  border-color: var(--endex-burgundy);
  color: #fff;
  background: var(--endex-burgundy);
}

.endex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.endex-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.endex-button:hover,
.endex-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 21, 24, 0.15);
}

.endex-page .endex-button--primary {
  color: #fff;
  background: var(--endex-coral);
}

.endex-page .endex-button--sub {
  border-color: var(--endex-burgundy);
  color: var(--endex-burgundy);
  background: #fff;
}

.endex-page .endex-button--burgundy {
  color: #fff;
  background: var(--endex-burgundy);
}

.endex-page .endex-button--light {
  color: var(--endex-burgundy);
  background: #fff;
}

.endex-booth-card {
  padding: 26px 24px;
  border: 1px solid rgba(74, 21, 24, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px rgba(74, 21, 24, 0.1);
}

.endex-booth-card__label {
  display: block;
  color: var(--endex-coral);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.endex-booth-card > strong {
  display: block;
  margin: 2px 0 0;
  color: var(--endex-burgundy);
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.endex-booth-card > span:not(.endex-booth-card__label) {
  font-size: 0.85rem;
  font-weight: 800;
}

.endex-booth-card p {
  margin: 14px 0 0;
  color: var(--endex-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.endex-hero-visual,
.endex-services-visual {
  margin: 48px 0 0;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 30px;
  background: #f7e7d9;
  box-shadow: 0 24px 60px rgba(74, 21, 24, 0.12);
}

.endex-hero-visual img,
.endex-services-visual img {
  width: 100%;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
}

.endex-jump-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.endex-jump-nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--endex-line);
  border-radius: 14px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.endex-jump-nav span {
  flex: 0 0 auto;
  color: var(--endex-coral);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.endex-overview {
  background: #fff;
}

.endex-section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.endex-section-heading h2,
.endex-prayer h2,
.endex-visit h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.endex-section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--endex-muted);
  font-weight: 500;
}

.endex-solution-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.endex-solution-list a {
  position: relative;
  min-height: 150px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--endex-line);
  border-radius: 18px;
  background: var(--endex-cream);
}

.endex-solution-list a::after {
  position: absolute;
  right: 18px;
  bottom: 12px;
  content: "→";
  color: var(--endex-coral);
  font-size: 1.5rem;
  font-weight: 800;
}

.endex-solution-list span,
.endex-solution-list strong {
  display: block;
}

.endex-solution-list span {
  color: var(--endex-coral);
  font-size: 0.8rem;
  font-weight: 900;
}

.endex-solution-list strong {
  margin-top: 8px;
  font-size: 1.12rem;
  line-height: 1.55;
}

.endex-page section.endex-section.endex-prayer {
  display: block;
  color: #fff;
  background-color: #4a1518 !important;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(199, 146, 34, 0.22), transparent 28%),
    linear-gradient(135deg, #401316, #5a1d20 60%, #351012) !important;
}

.endex-prayer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 70px;
  align-items: center;
}

.endex-product-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.endex-product-flags span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 216, 157, 0.45);
  border-radius: 999px;
  color: #3c1718;
  background: #f8e8cb;
  font-size: 0.82rem;
  font-weight: 900;
}

.endex-prayer .endex-lead {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.endex-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.endex-feature-chips span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff4e8;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.endex-check-list {
  display: grid;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none !important;
}

.endex-page ul.endex-check-list > li {
  position: relative;
  padding-left: 28px;
  list-style: none !important;
  color: rgba(255, 255, 255, 0.86);
}

.endex-page ul.endex-check-list > li::marker {
  content: "";
}

.endex-page ul.endex-check-list > li::before {
  position: absolute;
  top: 0.07em;
  left: 0;
  content: "✓" !important;
  color: #ffd89d;
  font-weight: 900;
}

.endex-page .endex-prayer .endex-text-link {
  color: #ffe0ab;
}

.endex-page .endex-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--endex-burgundy-2);
  font-weight: 800;
}

.endex-text-link::after {
  content: "↗";
}

.endex-booking-visual {
  position: relative;
  min-width: 0;
  padding: 40px 26px 34px;
}

.endex-laptop__screen {
  position: relative;
  min-height: 380px;
  padding: 28px;
  overflow: hidden;
  border: 13px solid #242426;
  border-radius: 18px 18px 8px 8px;
  color: var(--endex-ink);
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.28);
}

.endex-laptop__base {
  width: 112%;
  height: 18px;
  margin-left: -6%;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(#d4d4d4, #6d6d70);
}

.endex-booking-title {
  padding-bottom: 12px;
  border-bottom: 1px solid #d8d0cc;
  color: var(--endex-burgundy);
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.endex-booking-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 18px 0 22px;
}

.endex-booking-steps > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto;
  border: 1px solid #b8b1ad;
  border-radius: 50%;
  color: #504946;
  background: #fff;
  font-size: 0.7rem;
  font-style: normal;
}

.endex-booking-steps > span::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 50%;
  width: 100%;
  height: 1px;
  content: "";
  background: #d8d0cc;
}

.endex-booking-steps > span:first-child::before {
  display: none;
}

.endex-booking-steps .endex-is-active {
  border-color: var(--endex-burgundy);
  color: #fff;
  background: var(--endex-burgundy);
}

.endex-booking-steps small {
  position: absolute;
  top: 29px;
  left: 50%;
  width: 64px;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.endex-booking-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 18px;
  margin-top: 34px;
}

.endex-calendar > strong,
.endex-times > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
}

.endex-calendar > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.endex-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 10px;
  border: 1px solid #ddd5d1;
  border-radius: 10px;
}

.endex-calendar__grid b,
.endex-calendar__grid i {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 22px;
  border-radius: 5px;
  font-size: 0.58rem;
  font-style: normal;
}

.endex-calendar__grid b:first-child {
  color: #a53030;
}

.endex-calendar__grid b:last-child {
  color: #3763b1;
}

.endex-calendar__grid .endex-is-picked {
  color: #fff;
  background: var(--endex-burgundy-2);
}

.endex-times {
  display: grid;
  gap: 7px;
  align-content: start;
}

.endex-time-option {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid #d1cac6;
  border-radius: 8px;
  color: var(--endex-ink);
  background: #fff;
  font-size: 0.64rem;
  font-weight: 700;
}

.endex-times > span {
  display: grid;
  place-items: center;
  min-height: 34px;
  margin-top: 5px;
  border-radius: 999px;
  color: #fff;
  background: #a8222d;
  font-size: 0.62rem;
  font-weight: 800;
}

.endex-phone {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 120px;
  padding: 8px 7px;
  border: 7px solid #1f2022;
  border-radius: 22px;
  color: var(--endex-ink);
  background: #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.endex-phone__screen {
  display: grid;
  gap: 6px;
  font-size: 0.5rem;
  text-align: center;
}

.endex-phone__screen > span {
  color: var(--endex-burgundy-2);
}

.endex-phone__screen > div {
  padding: 7px 4px;
  border: 1px solid #ddd5d1;
  border-radius: 5px;
}

.endex-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.endex-benefits article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.endex-benefits__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #fff;
  background: #a52b33;
  font-size: 1.25rem;
  font-weight: 900;
}

.endex-benefits__icon--gold {
  color: #3c2116;
  background: #d8a142;
}

.endex-benefits h3 {
  margin: 0;
  color: #ffd7a1;
  font-size: 1.25rem;
}

.endex-benefits p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.endex-warm-services {
  background:
    radial-gradient(circle at 12% 10%, rgba(233, 101, 73, 0.1), transparent 24%),
    linear-gradient(#fff, #fffaf4);
}

.endex-services-visual {
  margin-top: 0;
}

.endex-service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.endex-service-card {
  scroll-margin-top: 100px;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--endex-line);
  border-top: 8px solid var(--endex-coral);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(65, 41, 31, 0.08);
}

.endex-service-card--smile {
  border-top-color: var(--endex-orange);
}

.endex-service-card--reader {
  border-top-color: var(--endex-yellow);
}

.endex-service-card__audience {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #9d3525;
  background: var(--endex-peach);
  font-size: 0.72rem;
  font-weight: 900;
}

.endex-service-card--smile .endex-service-card__audience {
  color: #9a4f0f;
  background: #fff0dd;
}

.endex-service-card--reader .endex-service-card__audience {
  color: #725415;
  background: #fff4cf;
}

.endex-service-card h3 {
  margin: 18px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.35;
}

.endex-service-card > strong {
  display: block;
  color: #3b302b;
  line-height: 1.6;
}

.endex-service-card > p {
  margin: 16px 0 0;
  color: var(--endex-muted);
  font-size: 0.94rem;
}

.endex-service-card dl {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--endex-line);
}

.endex-service-card dt {
  color: #bd412c;
  font-size: 0.78rem;
  font-weight: 900;
}

.endex-service-card dd {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.6;
}

.endex-pdf-link {
  margin: 32px 0 0;
  text-align: center;
}

.endex-visit {
  padding: 36px 0 96px;
  background: #fffaf4;
}

.endex-visit__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  padding: 58px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(246, 198, 83, 0.32), transparent 30%),
    linear-gradient(135deg, #a93b2c, #e96549);
  box-shadow: 0 26px 60px rgba(132, 48, 35, 0.18);
}

.endex-visit__panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.endex-visit__details {
  align-self: center;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.endex-visit__details dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.endex-visit__details dl > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
}

.endex-visit__details dt {
  color: #ffe3bd;
  font-size: 0.82rem;
  font-weight: 800;
}

.endex-visit__details dd {
  margin: 0;
  font-weight: 700;
}

.endex-visit__details dd strong {
  font-size: 1.35rem;
}

.endex-page .endex-phone-link {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

@media (max-width: 1300px) {
  .endex-hero__grid,
  .endex-prayer__grid,
  .endex-visit__panel {
    grid-template-columns: 1fr;
  }

  .endex-booth-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 18px;
    align-items: center;
  }

  .endex-booth-card__label,
  .endex-booth-card p {
    grid-column: 1 / -1;
  }

  .endex-booth-card > strong {
    font-size: 3.2rem;
  }

  .endex-solution-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endex-prayer__grid {
    gap: 46px;
  }

  .endex-service-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .endex-page {
    font-size: 14.5px;
  }

  .endex-container {
    width: min(100% - 28px, 1120px);
  }

  .endex-section {
    padding: 68px 0;
  }

  .endex-hero {
    padding: 56px 0 32px;
  }

  .endex-hero__grid {
    gap: 28px;
  }

  .endex-hero h1 br,
  .endex-section-heading h2 br,
  .endex-prayer h2 br,
  .endex-visit h2 br {
    display: none;
  }

  .endex-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .endex-button {
    width: 100%;
  }

  .endex-hero-visual,
  .endex-services-visual {
    margin-top: 30px;
    border-width: 4px;
    border-radius: 18px;
  }

  .endex-hero-visual img,
  .endex-services-visual img {
    aspect-ratio: 1.45 / 1;
    object-position: center;
  }

  .endex-jump-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endex-jump-nav a {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 13px;
    font-size: 0.78rem;
  }

  .endex-section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .endex-solution-list {
    grid-template-columns: 1fr;
  }

  .endex-solution-list a {
    min-height: 112px;
  }

  .endex-booking-visual {
    padding: 20px 6px 24px;
  }

  .endex-laptop__screen {
    min-height: 310px;
    padding: 20px 16px;
    border-width: 9px;
  }

  .endex-booking-title {
    font-size: 0.86rem;
  }

  .endex-booking-content {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
  }

  .endex-phone {
    right: -4px;
    width: 92px;
  }

  .endex-benefits {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .endex-benefits article {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 20px;
  }

  .endex-benefits__icon {
    width: 52px;
    height: 52px;
  }

  .endex-service-card {
    padding: 24px;
  }

  .endex-visit {
    padding-bottom: 68px;
  }

  .endex-visit__panel {
    gap: 30px;
    padding: 32px 22px;
    border-radius: 22px;
  }

  .endex-visit__details {
    padding: 20px;
  }

  .endex-visit__details dl > div {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .endex-event-badges span,
  .endex-event-badges strong {
    width: 100%;
    justify-content: center;
  }

  .endex-booth-card {
    grid-template-columns: 1fr;
  }

  .endex-jump-nav {
    gap: 7px;
  }

  .endex-booking-content {
    grid-template-columns: 1fr;
  }

  .endex-times {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .endex-times > strong {
    grid-column: 1 / -1;
  }

  .endex-phone {
    display: none;
  }
