/* Independent ABOUT trial only. No home styles, scripts, or parent-theme edits. */
#body_wrap.hamuya-about-trial-page #content {
  display: block; width: 100%; max-width: none; margin: 0; padding: 0;
}
#body_wrap.hamuya-about-trial-page :is(#breadcrumb, .p-breadcrumb, #sidebar, .l-sidebar) { display: none; }
#body_wrap.hamuya-about-trial-page #main_content.hamuya-about-trial {
  float: none; width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0;
  background: #F4EFE6; color: #34312D;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px; line-height: 2.15; overflow-wrap: anywhere;
}
.hamuya-about-trial *, .hamuya-about-trial *::before, .hamuya-about-trial *::after { box-sizing: border-box; }
.hamuya-about-trial .hat-shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.hamuya-about-trial :is(h1, h2, p, figure) { margin: 0; padding: 0; }
.hamuya-about-trial :is(h1, h2) {
  border: 0; background: none; box-shadow: none; color: #34312D;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500; line-height: 1.6; letter-spacing: .035em;
}
.hamuya-about-trial :is(h1, h2)::before, .hamuya-about-trial :is(h1, h2)::after { content: none; }
#body_wrap.hamuya-about-zh #main_content.hamuya-about-trial,
#body_wrap.hamuya-about-zh .hamuya-about-trial :is(h1, h2) {
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
}
.hamuya-about-trial .hat-chapter h2 .hat-heading-accent { color: #C8392A; }
.hamuya-about-trial .hat-intro { padding-block: 84px 80px; border-bottom: 1px solid #D7CEC1; }
.hamuya-about-trial .hat-eyebrow { color: #C8392A; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.hamuya-about-trial h1 { margin-top: 18px; font-size: clamp(32px, 4vw, 48px); }
.hamuya-about-trial .hat-chapter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; column-gap: clamp(40px, 7vw, 112px); padding-block: 88px;
}
.hamuya-about-trial .hat-copy { min-width: 0; max-width: 34em; }
.hamuya-about-trial .hat-number { color: #C8392A; font-size: 12px; letter-spacing: .12em; }
.hamuya-about-trial h2 { margin-block: 14px 30px; font-size: clamp(25px, 2.7vw, 34px); }
.hamuya-about-trial .hat-copy p + p { margin-top: 22px; }
.hamuya-about-trial .hat-copy .hat-lead { margin-bottom: 26px; font-weight: 700; }
.hamuya-about-trial .hat-photo { min-width: 0; width: 100%; }
.hamuya-about-trial .hat-photo-placeholder,
.hamuya-about-trial .hat-photo > img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
}
.hamuya-about-trial .hat-chapter--welcome .hat-photo > img { object-position: 40% 50%; }
.hamuya-about-trial .hat-chapter--making .hat-photo > img { aspect-ratio: 5 / 6; object-position: 20% 50%; }
.hamuya-about-trial .hat-chapter--town .hat-photo > img { object-position: 50% 100%; }
.hamuya-about-trial .hat-chapter--freedom .hat-photo > img { aspect-ratio: 2 / 1; object-position: 50% 45%; }
.hamuya-about-trial .hat-chapter--people .hat-photo > img { aspect-ratio: 2.3 / 1; object-position: 50% 60%; }
.hamuya-about-trial .hat-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 32px; border: 1px solid #D7CEC1; background: #E9E2D6;
  color: #686059; text-align: center; font-size: 13px; line-height: 1.8;
}
.hamuya-about-trial .hat-photo-placeholder span:first-child { font-size: 11px; letter-spacing: .16em; }
.hamuya-about-trial .hat-photo--square > :first-child { aspect-ratio: 1; }
.hamuya-about-trial .hat-photo--wide > :first-child { aspect-ratio: 16 / 9; }
.hamuya-about-trial figcaption { margin-top: 12px; color: #686059; font-size: 11px; line-height: 1.8; letter-spacing: .04em; }
.hamuya-about-trial .hat-chapter--making .hat-photo { grid-column: 1; grid-row: 1; }
.hamuya-about-trial .hat-chapter--making .hat-copy { grid-column: 2; grid-row: 1; }
.hamuya-about-trial .hat-chapter--making { padding-top: 56px; }
.hamuya-about-trial .hat-chapter--freedom { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 96px; }
.hamuya-about-trial .hat-chapter--freedom .hat-copy { width: 100%; max-width: 38em; margin-inline: auto; }
.hamuya-about-trial .hat-closing-line { padding-left: 20px; border-left: 2px solid #C8392A; }
.hamuya-about-trial .hat-chapter--town { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.hamuya-about-trial .hat-chapter--people { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 88px; }
.hamuya-about-trial .hat-chapter--people .hat-copy { width: 100%; max-width: 38em; margin-inline: auto; }
.hamuya-about-trial .hat-chapter--people .hat-photo { max-width: 900px; margin-inline: auto; }
.hamuya-about-trial .hat-chapter--people .hat-people-note { width: 100%; max-width: 900px; margin-inline: auto; color: #686059; font-size: 13px; line-height: 1.9; }
.hamuya-about-trial .hat-people-note a { color: #C8392A; text-decoration: underline; text-underline-offset: .25em; }
.hamuya-about-trial .hat-people-note a:focus-visible { outline: 2px solid #34312D; outline-offset: 4px; }
.hamuya-about-trial .hat-draft { color: #686059; }
.hamuya-about-trial .hat-booking { border-top: 1px solid #D7CEC1; padding-block: 56px 72px; text-align: center; }
.hamuya-about-trial .hat-booking h2 { margin-block: 16px 28px; }
.hamuya-about-trial .hat-booking-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 48px;
  min-height: 52px; max-width: 100%; padding: 12px 28px; background: #C8392A;
  color: #FFFFFF; font-size: 16px; font-weight: 700; line-height: 1.8; text-decoration: none;
}
.hamuya-about-trial .hat-booking-link:hover { background: #AB2F23; color: #FFFFFF; text-decoration: none; }
.hamuya-about-trial .hat-booking-link:focus-visible { outline: 3px solid #34312D; outline-offset: 5px; }
.hamuya-about-trial .hat-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 800px) {
  .hamuya-about-trial .hat-chapter--people .hat-photo > img { aspect-ratio: 3 / 2; object-position: 50% 60%; }
  .hamuya-about-trial .hat-shell { width: calc(100% - 48px); }
  .hamuya-about-trial .hat-intro { padding-block: 56px 40px; }
  .hamuya-about-trial .hat-chapter,
  .hamuya-about-trial .hat-chapter--town { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px; }
  .hamuya-about-trial .hat-chapter--welcome { padding-top: 40px; }
  .hamuya-about-trial .hat-chapter--freedom { padding-block: 56px; }
  .hamuya-about-trial .hat-chapter--people { gap: 28px; }
  .hamuya-about-trial h2 { margin-bottom: 24px; }
  .hamuya-about-trial :is(.hat-chapter--making, .hat-chapter--people) :is(.hat-copy, .hat-photo) { grid-column: auto; grid-row: auto; }
  .hamuya-about-trial .hat-copy { max-width: none; }
  .hamuya-about-trial .hat-photo { max-width: 520px; }
  .hamuya-about-trial .hat-chapter--welcome .hat-photo { width: 88%; margin-left: auto; }
  .hamuya-about-trial .hat-chapter--freedom .hat-photo { max-width: none; }
  .hamuya-about-trial .hat-chapter--town .hat-photo { width: 84%; margin-left: auto; }
  .hamuya-about-trial .hat-booking { padding-block: 40px 48px; }
}
