@font-face { font-family: "LINE Seed JP"; src: url("assets/fonts/LINESeedJP-ExtraBold.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }

/* Bold type and rounded ink outlines, with accents from the Canva brand reference. */
:root {
  --brand-highlight: #f3e3ee;
  --brand-green: #59bd69;
  --brand-lilac: #e2d3ed;
  --bold-line: 2.5px solid var(--brand-purple);
  --display: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  --serif: var(--display);
  --menu-serif: var(--latin);
}
body { font-weight: 400; }
body a, body button, .nav a, .question-pagination button { font-family: var(--sans); font-weight: 700; }
.faq-list .answer > span { font-family: var(--latin); font-weight: 800; font-size: 22px; line-height: 1.4; }
h1, h2, h3, .section h2, .company-section h2, .contact-panel .join-copy h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: .015em;
  line-height: 1.5;
}
.section h2, .contact-panel .join-copy h2 { font-size: clamp(36px,3.7vw,50px); }
.section-kicker, .section .section-kicker { font-weight: 700; }
.section-kicker > span:not(.copy-phrase), .book-number, .mechanism-caption .step {
  font: 800 18px/1 var(--latin);
  border: 2px solid var(--brand-purple);
  background: var(--brand-highlight);
  color: var(--brand-purple);
}
.section-kicker > .copy-phrase { font-family: var(--sans); font-weight: 700; }
.header { border-bottom: var(--bold-line); background: var(--paper); }
.header.has-scrolled { box-shadow: none; }
.header-contact, .button, .hero-actions > .button {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  border: var(--bold-line);
  box-shadow: 3px 4px 0 var(--brand-purple);
  min-height: 56px;
  padding: 13px 30px;
  color: #fff;
  background: var(--brand-magenta);
}
.button-outline { background: var(--paper); color: var(--brand-purple); }
.header-contact { min-height: 48px; padding: 9px 29px; font-size: 15px; }
.button:disabled { box-shadow: none; }
.text-link { font-family: var(--sans); font-weight: 700; border-bottom-width: 2px; }
.menu-button > span:not(.menu-label) { height: 3px; }
.menu-label { font: 800 10px/1.4 var(--latin); letter-spacing: .06em; }
.nav a > span, .footer-nav a span, .footer-menu-label { font-family: var(--latin); font-weight: 800; letter-spacing: -.025em; }
.nav a > small, .footer-nav a small { font-family: var(--sans); font-weight: 700; }
.social-links svg { stroke-width: 2; }
.hero-copy h1 { font-family: "LINE Seed JP", var(--sans); font-weight: 800; font-size: clamp(42px,5.5vw,76px); letter-spacing: -.025em; line-height: 1.5; }
.hero-copy h1 > .hero-selectors { font-size: clamp(16px,2vw,28px); line-height: 1.7; font-weight: 800; letter-spacing: .03em; white-space: normal; margin-bottom: 10px; }
.hero-copy .eyebrow { font-family: var(--sans); font-weight: 700; font-size: 17px; }
.hero-place { font-family: var(--sans); font-weight: 600; }
.hero-copy .price-caption { opacity: 1; font-weight: 500; }
.hero-actions .button { border-color: var(--paper); box-shadow: 4px 4px 0 var(--brand-magenta); }
.campaign-banner { border: 0; background: var(--brand-magenta); color: #fff; }
.campaign-banner p { font-weight: 800; font-size: 19px; }
.campaign-banner time { font-weight: 600; }
.campaign-banner a { font-weight: 700; text-decoration-thickness: 2px; }
.schedule-content { background: var(--brand-highlight); border: var(--bold-line); box-shadow: 5px 5px 0 var(--brand-purple); }
.schedule-month { font-weight: 800; }
.schedule-hours, .schedule-content > p { color: var(--brand-purple); }
.news-list { border-top: 2px solid var(--brand-purple); }
.news-list li > a, .news-list li > button { border-bottom: 2px solid var(--brand-purple); }
.news-list time, .news-list .news-date { color: var(--brand-magenta); font-weight: 700; }
.event-card { border: var(--bold-line); background: #fff; box-shadow: 5px 5px 0 var(--brand-purple); }
.event-card h3 { font-weight: 900; line-height: 1.5; }
.event-badge { background: var(--brand-highlight); color: var(--brand-purple); border: 2px solid var(--brand-purple); font-weight: 800; }
.event-card:nth-child(even) .event-badge { background: var(--brand-green); }
.event-category { color: var(--brand-magenta); font-weight: 700; }
.pause-card { background: var(--brand-highlight); border: var(--bold-line); }
.pause-card p { font-family: var(--sans); font-weight: 700; }
.illustrated-icon { stroke-width: 2.5; }
.illustrated-icon .icon-wash { fill: var(--brand-highlight); }
.pause-card .icon-wash { fill: var(--paper); }
.entrance-book { stroke-width: 2.8; }
.entrance-book-lines, .entrance-book-spine { stroke-width: 2; }
.entrance-book-wash { fill: var(--brand-highlight); opacity: 1; }
.shelf { background: var(--paper); }
.shelf-photo img { border: var(--bold-line); }
/* Round the photograph itself, including when its aspect ratio leaves spare room. */
.mechanism-item figure, .mechanism-item:nth-child(2) figure {
  height: 520px;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.mechanism-item img, .mechanism-item:nth-child(2) img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: var(--bold-line);
  border-radius: 32px;
}
.book-notes > div { border-bottom: 2px solid var(--brand-purple); }
.book-notes p { font-family: var(--sans); font-weight: 700; }
.question-heading h3 { font-size: clamp(27px,2.7vw,36px); }
.question-leaf { --card-paper: var(--brand-highlight); }
.question-leaf:nth-child(3n + 2) { --card-paper: var(--brand-green); }
.question-leaf:nth-child(3n) { --card-paper: #fff; }
.question-face { border: 3px solid var(--brand-purple); box-shadow: 4px 5px 0 var(--brand-purple); }
.question-text { font-family: var(--display); font-weight: 800; font-size: clamp(23px,2vw,28px); line-height: 1.7; letter-spacing: .01em; }
.question-meta, .question-turn { font-family: var(--sans); font-weight: 700; color: var(--brand-purple); }
.question-meta > span:last-child { font: 800 22px/1 var(--latin); }
.question-turn { border-top: 2px solid var(--brand-purple); }
.question-turn > span { font-weight: 800; color: var(--brand-purple); }
.question-back { background: #fff; }
.question-back .question-meta { color: var(--brand-magenta); }
.question-deck-hint, .question-swipe-guide { font-family: var(--sans); color: var(--brand-purple); }
.question-pagination button { border: 2px solid var(--brand-purple); color: var(--brand-purple); background: var(--brand-highlight); font-weight: 700; }
.question-pagination button:disabled { opacity: .4; background: #fff; }
.question-position { font-family: var(--latin); font-weight: 800; }
.question-rail { scrollbar-color: var(--brand-purple) transparent; }
.question-rail::-webkit-scrollbar-thumb { background: var(--brand-purple); }
.mechanism .handwritten { font-family: var(--sans); font-weight: 700; font-size: 21px; border: 0; }
.mechanism-caption h3 { font-weight: 900; }
.connect { background: var(--brand-highlight); border: var(--bold-line); }
.about-definition { font-family: var(--sans); font-weight: 700; }
.use { background: #eee5f4; }
.use-option { border: var(--bold-line); background: #fff; box-shadow: 4px 5px 0 var(--brand-purple); }
.use-option b { font-family: var(--display); font-weight: 900; font-size: 27px; }
.use-option > span > span { font-family: var(--sans); font-weight: 500; }
.use-option .link-plus { font-weight: 700; color: var(--brand-purple); }
.use-option:nth-child(2) .icon-wash { fill: var(--brand-green); }
.use-option:nth-child(3) .icon-wash { fill: var(--brand-lilac); }
.use-campaign-note { color: var(--brand-magenta); }
.plan-table caption { font-family: var(--display); font-weight: 800; }
.plan-table thead { background: var(--brand-purple); color: #fff; }
.plan-table thead th { font-weight: 700; border-bottom-color: var(--brand-purple); }
.plan-table tbody th, .plan-table td:nth-child(2) { font-weight: 700; }
.plan-table tbody th, .plan-table tbody td { background: #fff; }
.owner-spec dt { font-weight: 700; }
.corporate { background: var(--brand-lilac); border-block: var(--bold-line); }
.corporate-panel { border: 0; }
.business-offers { border-top: 2px solid var(--brand-purple); }
.business-offers h3 { font-weight: 900; }
.business-offers dt { font-weight: 800; }
.faq-list details { border: 2px solid var(--brand-purple); background: #fff; }
.faq-list summary { font-family: var(--sans); font-weight: 700; }
.faq-list .q { font-family: var(--latin); font-weight: 800; border: 2px solid var(--brand-purple); background: var(--brand-highlight); color: var(--brand-purple); }
.faq-list .q > span { transform: translateY(-1px); }
.faq-list details[open] .q { background: var(--brand-green); }
.access-map { border: var(--bold-line); }
.transport-item { border: var(--bold-line); background: #fff; }
.transport-item h3 { font-weight: 900; }
.transport-label { font-family: var(--latin); font-weight: 800; color: var(--brand-magenta); }
.join { background: var(--brand-highlight); }
.join-panel.contact-panel { background: var(--paper); border: var(--bold-line); box-shadow: 6px 6px 0 var(--brand-purple); }
.contact-kicker { font-weight: 800; }
.contact-form .field label { font-weight: 700; }
.contact-form .field input, .contact-form .field textarea, .contact-privacy { border: 2px solid var(--brand-purple); background: #fff; }
.contact-privacy h3 { font-family: var(--sans); font-weight: 700; }
.contact-privacy { overflow-anchor: none; scroll-behavior: auto; }
.footer { background: var(--brand-purple); color: var(--paper); border-top: 3px solid var(--brand-purple); }
.footer-menu-label { font-size: 22px; color: var(--paper); }
.footer-nav a, .footer-nav a small, .footer-social a, .footer .footer-bottom { color: var(--paper); }
.footer-nav a span { font-size: 24px; }
.footer .footer-bottom { border-top: 2px solid rgba(244,239,230,.4); padding-top: 28px; }
.footer .footer-bottom small { color: var(--paper); font: 600 14px/1.8 var(--latin); letter-spacing: .025em; opacity: 1; }
.section-atmosphere::before { opacity: .3; }
.section-atmosphere::after { opacity: .07; }
/* A shallow half ellipse joins one chapter's background to the next. */
.curved-section {
  --section-fill: var(--paper);
  --curve-height: clamp(42px,5.7vw,86px);
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: var(--section-fill);
  padding-bottom: 140px;
}
.curved-section > .section-curve {
  position: absolute;
  z-index: 0;
  inset: auto 0 calc(100% - 1px);
  height: var(--curve-height);
  background: var(--section-fill);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}
.curved-section > .container { position: relative; z-index: 1; }
.news.curved-section, .shelf.curved-section, .about.curved-section, .owner.curved-section, .faq.curved-section { --section-fill: var(--paper); }
.events.curved-section, .access.curved-section { --section-fill: #fff; }
.intro.curved-section { --section-fill: #eee5f4; }
.join.curved-section { --section-fill: var(--paper); }
.mechanism.curved-section, .corporate.curved-section { --section-fill: var(--brand-lilac); }
.use.curved-section { --section-fill: #eee5f4; }
.footer.curved-section { --section-fill: var(--brand-purple); padding-bottom: 28px; }
.curved-section > .section-atmosphere::before { opacity: 0; }
.curved-section .atmosphere-orbit, .curved-section .atmosphere-page { display: none; }
.about .container::before, .about .container::after,
.join > .container::after, .shelf-photo::before,
.shelf .section-head::after, .owner-visual::before, .owner-visual::after,
.mechanism-caption .step::before, .hero-geometry, .intro-geometry { display: none; }
@media (hover: hover) {
  .button:hover, .header-contact:hover { background: var(--brand-purple); color: #fff; box-shadow: 2px 2px 0 var(--brand-purple); }
  .hero-actions .button:hover { box-shadow: 2px 2px 0 var(--brand-magenta); }
  .button-outline:hover { background: var(--brand-highlight); color: var(--brand-purple); }
  .use-option:hover { background: var(--brand-highlight); }
  .footer-nav a:hover, .footer-social a:hover { background: transparent; color: var(--brand-lilac); }
  .footer-nav a:hover small { color: var(--brand-lilac); }
  .question-pagination button:not(:disabled):hover { background: var(--brand-green); }
}
@media (max-width: 1050px) {
  .use-options { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .section h2, .contact-panel .join-copy h2 { font-size: clamp(29px,7.9vw,37px); line-height: 1.55; }
  .hero-copy h1 { font-size: clamp(28px,8.1vw,44px); line-height: 1.55; letter-spacing: -.025em; }
  .hero-copy .eyebrow { font-size: 13px; }
  .hero-actions > .button { font-size: 14px; min-height: 52px; padding-inline: 24px; }
  .hero-actions > .text-link { font-size: 13px; }
  .campaign-banner p { font-size: 18px; }
  .schedule-content, .event-card { box-shadow: 3px 4px 0 var(--brand-purple); }
  .question-face { box-shadow: 3px 4px 0 var(--brand-purple); }
  .question-text { font-size: 24px; line-height: 1.7; }
  .question-meta, .question-turn { font-size: 13px; }
  .question-heading h3 { font-size: 27px; text-wrap: balance; }
  .mechanism-caption h3 { font-size: 27px; }
  .mechanism-item figure, .mechanism-item:nth-child(2) figure { height: auto; }
  .mechanism-item img, .mechanism-item:nth-child(2) img { max-height: none; width: 100%; border-radius: 24px; }
  .use-options { gap: 20px; }
  .use-option b { font-size: 25px; }
  .plan-table tr { border: 2px solid var(--brand-purple); }
  .plan-table tbody th { background: var(--brand-lilac); }
  .plan-table tbody td { background: #fff; }
  .join-panel.contact-panel { box-shadow: 3px 4px 0 var(--brand-purple); }
  .footer-nav a span { font-size: 21px; }
  .curved-section { --curve-height: 32px; padding-bottom: 100px; }
  .footer.curved-section { padding-bottom: calc(100px + env(safe-area-inset-bottom,0px)); }
}
@media (max-width: 360px) {
  .question-text { font-size: 22px; }
}

/* Read the introduction and chapters from the same left edge. */
.section-anchor { position: absolute; top: 0; scroll-margin-top: 120px; }
.concept-copy { max-width: 960px; margin: 0; text-align: left; }
.concept .section-kicker, .shelf .section-kicker, .mechanism .section-kicker, .use .section-kicker { justify-content: flex-start; }
.concept-description { max-width: 780px; margin-top: 32px; font-size: 18px; line-height: 2; }
.concept-description p + p { margin-top: 20px; }
.concept-copy > .text-link { margin-top: 30px; }
.shelf .section-head, .mechanism .section-head, .use .section-head { display: block; text-align: left; }
.shelf .side-caption, .mechanism .handwritten, .use .side-caption { max-width: none; margin: 24px 0 0; text-align: left; }
.mechanism .connect { justify-content: flex-start; text-align: left; }

/* A native horizontal rail keeps event cards usable with touch and keyboard. */
.events .event-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 2.15);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 3px 8px 16px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-purple) var(--brand-highlight);
}
.events .event-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; scroll-snap-align: start; }
.events .event-schedule { flex-direction: column; align-items: flex-start; gap: 10px; }
.events .event-schedule time { font-size: 25px; }
.events .event-card h3 { font-size: 25px; }
.events .event-description { font-size: 15px; line-height: 1.9; }
.events .event-times { font-size: 14px; font-weight: 600; line-height: 1.8; }
.events .event-place { margin-top: auto; padding-top: 8px; align-self: stretch; font-size: 13px; }
.events .event-link { align-self: stretch; margin-top: 4px; min-height: 48px; padding: 12px 14px; font-size: 14px; }
.event-controls { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 20px; }
.event-controls > div { display: flex; gap: 12px; }
.event-controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--brand-purple); border-radius: 50%; background: var(--paper); color: var(--brand-purple); line-height: 1; cursor: pointer; }
.event-controls button svg { display: block; width: 22px; height: 22px; }
.event-controls button:disabled { opacity: .3; cursor: default; }
.event-controls button:not(:disabled):hover { background: var(--brand-highlight); }
@media (max-width: 900px) {
  .events .event-grid { grid-auto-columns: 70%; }
}
@media (max-width: 700px) {
  .concept-description { font-size: 16px; margin-top: 26px; }
  .events .event-grid { grid-auto-columns: 88%; gap: 18px; }
  .events .event-card { padding: 22px 20px; }
  .events .event-card h3 { font-size: 23px; }
  .events .event-schedule time { font-size: 23px; }
  .event-controls { gap: 12px; }
}
.events .event-card:not(:has(.event-place)) .event-link { margin-top: auto; }

.owner-copy > .button { margin-top: 28px; }

/* Comfortable text sizes on the plan table and a clean corporate reading surface. */
.plan-table { font-size: 18px; font-weight: 500; line-height: 1.9; }
.plan-table tbody th { font-size: 19px; font-weight: 800; }
.plan-table tbody td:nth-child(2) { font-size: 20px; font-weight: 800; line-height: 1.8; }
.plan-table td small { font-size: 17px; font-weight: 500; line-height: 1.9; color: var(--ink); }
.corporate-panel, .business-offers > section { background: #fff; }
.business-offers p, .business-offers dd { color: var(--ink); }
@media (max-width: 700px) {
  .plan-table tbody td { font-size: 17px; font-weight: 500; }
  .plan-table tbody th { font-size: 20px; }
  .plan-table tbody td:nth-child(2) { font-size: 21px; }
  .plan-table td small { font-size: 16px; }
  .plan-table td::before { font-size: 14px; font-weight: 600; }
}

/* The hero is an edge-to-edge photograph, not a rounded card. */
.hero, .hero-layout, .hero-visual, .hero-visual > img { border-radius: 0; }
.corporate-panel { border: var(--bold-line); border-radius: 32px; box-shadow: 5px 5px 0 var(--brand-purple); }
.schedule.section { padding-bottom: 58px; }
.news.section { --curve-height: 28px; padding-top: 32px; }
/* A shared envelope gives both portrait and landscape photographs similar presence. */
.mechanism-item figure, .mechanism-item:first-child figure, .mechanism-item:nth-child(2) figure { height: 380px; }
.mechanism-item img, .mechanism-item:first-child img, .mechanism-item:nth-child(2) img { width: auto; height: auto; max-width: min(100%, 400px); max-height: 380px; }
@media (max-width: 700px) {
  .corporate-panel { border-radius: 24px; box-shadow: 3px 4px 0 var(--brand-purple); }
  .schedule.section { padding-bottom: 40px; }
  .news.section { padding-top: 20px; }
  .mechanism-item figure, .mechanism-item:first-child figure, .mechanism-item:nth-child(2) figure { height: 300px; }
  .mechanism-item img, .mechanism-item:first-child img, .mechanism-item:nth-child(2) img { max-width: min(100%, 320px); max-height: 300px; }
}

/* Give the final notices and review button a clear breathing space. */
.contact-form #contact-fields > .join-status { margin-top: 24px; }
.contact-form #contact-fields > .contact-handling-note { margin-top: 12px; }
.contact-form #contact-fields > .contact-submit { margin-top: 32px; min-width: 240px; }
@media (max-width: 700px) {
  .contact-form #contact-fields > .contact-submit { width: 100%; min-width: 0; margin-top: 28px; }
}

/* Keep the warm lounge visible while shading the copy area. */
.hero-visual > img { inset: 0; width: 100%; height: 100%; filter: none; transform: none; }
.hero-visual::after { background: linear-gradient(90deg,rgba(30,20,34,.64) 0%,rgba(30,20,34,.48) 28%,rgba(30,20,34,.20) 52%,rgba(30,20,34,0) 80%); }
@media (max-width: 700px) {
  .hero-visual > img { object-position: 72% center; }
  .hero-visual::after { background: linear-gradient(90deg,rgba(30,20,34,.58),rgba(30,20,34,.38) 70%,rgba(30,20,34,.20)); }
}

@media (max-width: 360px) {
  .hero-layout { padding-bottom: 184px; }
}
