@charset "UTF-8";
/* ==========================================================================
   Kyushu Fukko Ouenwari Saga Campaign
   FLOCSS: Foundation -> Layout -> Component -> Project -> Utility
   ========================================================================== */

/* ==========================================================================
   Foundation
   ========================================================================== */
:root {
  --c-navy: #1b2e78;
  --c-navy-deep: #16255f;
  --c-navy-ink: #101c4d;
  --c-navy-tint: #eef0f8;
  --c-yellow: #fedb58;
  --c-yellow-deep: #f3cb3c;

  --c-alert: #c4162b;
  --c-alert-bg: #fff5f6;

  --c-link: #0077c8;
  --c-link-deep: #0069b0;

  --c-text: #1c293c;
  --c-text-mute: #55657d;

  --c-white: #fff;
  --c-bg-sub: #f4f5f8;
  --c-bg-foot: #f1f5f9;
  --c-bg-cream: #fefcf0;

  --c-line: #d5dae8;
  --c-line-soft: #e4e8f1;
  --c-line-strong: var(--c-navy);

  --r-action: 6px;
  --r-box: 0;

  --s-section: 56px;
  --s-divider: 72px;
  --s-block: 68px;

  --l-container: 1120px;
  --l-gutter: 20px;
  --l-header-h: 83px;
  --l-logo: 432px;

  --t-fast: 0.16s;
  --t-base: 0.24s;
  --e-out: cubic-bezier(0.2, 0.7, 0.3, 1);

  --wipe-skew: 446px;

  --ff-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--l-header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
  color: var(--c-text);
  background: var(--c-white);

  line-break: strict;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, dl, dt, dd, ul, li, figure, blockquote {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--e-out);
}

a:where(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: from-font;
}

:focus-visible {
  outline: 3px solid var(--c-navy);
  outline-offset: 2px;
}

.l-header :focus-visible,
.p-hero :focus-visible,
.p-news__head :focus-visible,
.c-skiplink:focus-visible {
  outline-color: var(--c-yellow);
}

::selection {
  color: var(--c-text);
  background: var(--c-yellow);
}

hr {
  border: 0;
}

.c-heading__title,
.c-heading-sub,
.p-news__title {
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}

.l-header__logo-main {
  font-feature-settings: "palt" 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .c-slidectl {
    display: none !important;
  }

  .p-hero__slide.is-active .p-hero__image {
    animation: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Layout
   ========================================================================== */

/* ---------- container ---------- */
.l-container {
  width: 100%;
  max-width: calc(var(--l-container) + var(--l-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--l-gutter);
}

/* ---------- section ---------- */

.l-section--gray {
  padding-block: 0 var(--s-section);
  background: var(--c-bg-sub);
}

/* ---------- header ---------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-yellow);
  transition: box-shadow var(--t-base) var(--e-out);
}

.l-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(13, 22, 51, 0.14);
}

.l-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;

  width: calc(
    max((100% - (var(--l-container) + var(--l-gutter) * 2)) / 2, 0px)
    + var(--l-gutter) + var(--l-logo)
  );
  background: var(--c-navy);

  clip-path: polygon(0 0, 100% 0, calc(100% - 53.5px) 100%, 0 100%);
}

.l-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: calc(var(--l-container) + var(--l-gutter) * 2);
  min-height: var(--l-header-h);
  margin-inline: auto;
  padding: 11px var(--l-gutter);
}

.l-header__logo {
  flex: 0 0 var(--l-logo);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 18px;
  color: var(--c-white);
}

.l-header__logo-link {
  display: flex;
  align-items: center;
  gap: 0 18px;
}

.l-header__logo-link:where(:hover, :focus-visible) {
  text-decoration: none;
}

.l-header__logo-main {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.l-header__logo-pref {
  width: 82px;
  height: auto;
  transform: translate(6px, 1px);
}

.l-header__toggle {
  display: none;
}

/* ---------- global nav ---------- */

.l-nav {
  margin-inline: auto;
}

.l-nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.l-nav__link {
  position: relative;
  display: block;
  padding-block: 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
}

.l-nav__link:where(:hover, :focus-visible) {
  text-decoration: none;
}

.l-nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--c-navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base) var(--e-out);
}

.l-nav__link:where(:hover, :focus-visible)::after {
  transform: scaleX(1);
}

/* ---------- footer ---------- */
.l-footer {
  padding-block: 22px 24px;
  text-align: center;
  background: var(--c-bg-foot);
}

.l-footer__copyright {
  margin-top: 0;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--c-text-mute);
}

/* ==========================================================================
   Component
   ========================================================================== */

/* ---------- skip link ---------- */
.c-skiplink {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-navy);
  transform: translateY(-110%);
}

.c-skiplink:focus {
  transform: translateY(0);
}

/* ---------- icon ---------- */

.c-icon {
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  color: var(--c-link);
}

/* ---------- breadcrumb ---------- */
.c-breadcrumb {
  padding-block: 18px 0;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--c-text-mute);
}

.c-breadcrumb__list li + li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px;
  border-top: 1px solid var(--c-text-mute);
  border-right: 1px solid var(--c-text-mute);
  transform: rotate(45deg);
  vertical-align: 1px;
}

.c-breadcrumb__list a {
  color: var(--c-link);
}

.c-breadcrumb__list a:where(:hover, :focus-visible) {
  color: var(--c-link-deep);
}

/* ---------- badge ---------- */

.c-badge {
  --badge-cut: 23px;
  display: inline-block;
  padding: 7px 30px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  background: var(--c-yellow);
  border-radius: 0;
  clip-path: polygon(
    var(--badge-cut) 0,
    100% 0,
    calc(100% - var(--badge-cut)) 100%,
    0 100%
  );
  filter: drop-shadow(0 2px 8px rgba(13, 22, 51, 0.22));
}

/* ---------- button ---------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 22px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  border-radius: var(--r-action);
  transition: background-color var(--t-base) var(--e-out),
              color var(--t-base) var(--e-out),
              transform var(--t-fast) var(--e-out);
}

.c-btn:where(:hover, :focus-visible) {
  text-decoration: none;
}

.c-btn:active {
  transform: translateY(1px);
}

.c-btn__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  transition: transform var(--t-base) var(--e-out);
}

.c-btn:where(:hover, :focus-visible) .c-btn__icon {
  transform: translateX(4px);
}

.c-btn--yellow {
  color: var(--c-text);
  background: var(--c-yellow);
}

.c-btn--yellow:where(:hover, :focus-visible) {
  background: var(--c-yellow-deep);
}

/* ---------- section heading ---------- */
.c-heading {
  margin-bottom: 0;
}

.c-heading__bar {
  display: block;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--c-navy) 0 min(240px, 30%),
    var(--c-yellow) min(240px, 30%) 100%
  );
}

.c-heading__title {
  margin-top: 22px;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

/* ---------- sub heading ---------- */
.c-heading-sub {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

/* the note in brackets reads as supporting text, not part of the heading.
   em keeps the ratio when the heading shrinks on small screens */
.c-heading-sub__note {
  font-size: 0.75em;
  font-weight: 500;
}

/* ---------- definition list ---------- */
.c-deflist {
  display: grid;
  grid-template-columns: 176px 1fr;
  margin-top: 18px;
  background: var(--c-white);
  border-top: 2px solid var(--c-navy);
}

.c-deflist__label,
.c-deflist__data {
  padding-block: 18px;
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--c-line);
}

.c-deflist__label {
  padding-left: 28px;
  font-weight: 700;
  color: var(--c-navy);
}

.c-deflist__data {
  padding-right: 28px;
  font-variant-numeric: tabular-nums;
}

.c-deflist__note {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-text-mute);
}

.c-deflist__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* keep the figure and its unit on one line (2万円 must not split) */
.c-deflist__amount {
  margin-left: 0.75em;
  font-weight: 700;
  white-space: nowrap;
  color: var(--c-navy);
}

/* ---------- card ---------- */
.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
  transition: border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out);
}

.c-card__note {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--c-text-mute);
}

.c-card--full {
  grid-column: 1 / -1;
}

.c-card:has(a[href]:not([href="#"])) .c-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.c-card:has(a[href]:not([href="#"])):hover {
  border-color: var(--c-link);
  box-shadow: 0 6px 18px rgba(13, 22, 51, 0.14);
  transform: translateY(-2px);
}

.c-card:has(a[href]:not([href="#"])):hover .c-card__title {
  background: var(--c-link);
}

.c-card:has(a[href]:not([href="#"]):focus-visible) {
  border-color: var(--c-link);
  box-shadow: 0 6px 18px rgba(13, 22, 51, 0.14);
}

.c-card:has(a[href]:not([href="#"]):focus-visible) .c-card__title {
  background: var(--c-link);
}

.c-card__title {
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--c-white);
  background: var(--c-navy);
  transition: background-color var(--t-base) var(--e-out);
}

.c-card__soldout {
  display: inline-block;
  margin-left: 0.5em;
  font-size: 0.875em;
  color: var(--c-yellow);
  white-space: nowrap;
}

.c-card__body {
  flex: 1 1 auto;
  padding: 16px 20px 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.c-card__body p {
  margin-top: 0;
}

.c-card__action {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin-top: auto;
  padding: 16px 20px 18px;
}

.c-card__link .c-icon {
  width: 1.3em;
  height: 1.3em;
}

.c-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-text-mute);
}

a.c-card__link {
  color: var(--c-link);
}

a.c-card__link:where(:hover, :focus-visible) {
  color: var(--c-link-deep);
}

/* the action placed right under the title, ahead of the notes */
.c-card__action--lead {
  margin-top: 0;
  padding-bottom: 0;
}

.c-card__action--lead + .c-card__body {
  padding-bottom: 18px;
}

.c-card__link--large {
  font-size: 1.125rem;
}

/* ---------- notice ---------- */

.c-notice {
  position: relative;
  padding: 24px 28px 26px;
  background: var(--c-alert-bg);
  border: 2px solid var(--c-alert);
  border-radius: var(--r-box);
}

.c-notice::before,
.c-notice::after {
  content: "";
  position: absolute;
  border-color: var(--c-alert);
  border-style: solid;
}

.c-notice::before {
  top: 0;
  left: 0;
  border-width: 40px 26px 0 0;
  border-right-color: transparent;
}

.c-notice::after {
  right: 0;
  bottom: 0;
  border-width: 0 0 40px 26px;
  border-left-color: transparent;
}

.c-notice__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  color: var(--c-alert);
}

.c-notice__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.c-notice__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.c-notice__list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.8;
}

.c-notice__list li {
  position: relative;
  padding-left: 20px;
}

.c-notice__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--c-alert);
}

/* ---------- list ---------- */

.c-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-list li {
  position: relative;
  padding-left: 20px;
}

.c-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--c-navy);
}

.c-faq__answer p + .c-list {
  margin-top: 10px;
}

/* ---------- inquiry ---------- */

.c-inquiry {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
}

.c-inquiry__label {
  display: flex;

  flex: 0 0 240px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 16px;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--c-white);
  background: var(--c-navy);
}

.c-inquiry__body {
  display: flex;
  flex: 1 1 auto;

  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;

  padding: 14px 32px 14px 50px;
  background: var(--c-white);
}

.c-inquiry__name {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.c-inquiry__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--c-navy);
}

.c-inquiry__tel a:where(:hover, :focus-visible) {
  color: var(--c-navy-deep);
}

.c-inquiry__note {
  display: flex;

  align-items: baseline;
  max-width: 100%;
  gap: 7px;
  margin-top: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-text-mute);
}

.c-inquiry__note > span,
.p-contact__note > span {
  min-width: 0;
}

.c-inquiry__note .c-icon {
  width: 1.2em;
  height: 1.2em;
}

.c-inquiry__note .c-icon,
.p-contact__note .c-icon {
  transform: translateY(0.17em);
}

.c-inquiry__tel .c-icon {
  width: 0.92em;
  height: 0.92em;
}

/* ---------- banner ---------- */
.c-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.c-banner__item {
  max-width: 100%;
}

.c-banner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 380px;
  max-width: 100%;
  height: 132px;
  padding: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-box);
  transition: border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out);
}

.c-banner__link:where(:hover, :focus-visible) {
  border-color: var(--c-navy);
  box-shadow: 0 6px 18px rgba(13, 22, 51, 0.14);
  transform: translateY(-2px);
  text-decoration: none;
}

.c-banner__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.c-banner__link--text {
  gap: 30px;
}

.c-banner__mark {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
}

.c-banner__text {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
  white-space: nowrap;

  color: #333;
}

/* ---------- faq ---------- */
.c-faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.c-faq__item {
  background: var(--c-bg-cream);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
}

.c-faq__question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--t-base) var(--e-out);
}

.c-faq__question::-webkit-details-marker {
  display: none;
}

.c-faq__question:hover {
  background: rgba(27, 46, 120, 0.04);
}

.c-faq__question::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;

  margin-top: calc(0.5em + 2px);
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--c-link);
  transition: transform var(--t-base) var(--e-out);
}

.c-faq__item[open] > .c-faq__question::before {
  transform: rotate(90deg);
}

.c-faq__answer {
  padding: 18px 24px 20px 42px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-white);

  border-top: 1px solid var(--c-line-strong);
}

/* ---------- campaign mark ---------- */

/* the campaign logo is the h1: the heading text is the image alt */
.p-hero__mark {
  flex: 0 0 auto;
  width: var(--mark-w);
  height: auto;
  margin: 0;
  font-size: inherit;
  line-height: 0;
  transform: translateY(12px);
}

.p-hero__mark img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- slide control ---------- */

.c-slidectl {
  position: absolute;
  right: var(--l-gutter);
  bottom: var(--l-gutter);

  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--c-white);
  background: rgba(16, 28, 77, 0.6);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--t-base) var(--e-out);
}

.c-slidectl:where(:hover, :focus-visible) {
  background: rgba(16, 28, 77, 0.85);
}

.c-slidectl__icon {
  flex: 0 0 auto;
}

.c-slidectl[data-state="playing"] .c-slidectl__icon--play,
.c-slidectl[data-state="paused"] .c-slidectl__icon--pause {
  display: none;
}

/* ---------- page top ---------- */
.c-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--c-text);
  background: var(--c-yellow);

  border-radius: 50%;

  box-shadow: 0 4px 10px rgba(13, 22, 51, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out),
              background-color var(--t-base) var(--e-out),
              visibility var(--t-base) var(--e-out);
}

.c-pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.c-pagetop:where(:hover, :focus-visible) {
  color: var(--c-text);
  background: var(--c-yellow-deep);
  text-decoration: none;
}

/* ==========================================================================
   Project
   ========================================================================== */

/* ---------- hero ---------- */
.p-hero {
  position: relative;
  display: flex;
  align-items: flex-end;

  min-height: 692px;
  overflow: hidden;
  background-color: var(--c-text);
}

.p-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.p-hero__slide.is-active {
  opacity: 1;
}

.p-hero__slide.is-entering {
  animation: p-hero-wipe 0.8s linear both;
}

@keyframes p-hero-wipe {
  from {
    clip-path: polygon(0 0, 0 0, calc(0px - var(--wipe-skew)) 100%, 0 100%);
    opacity: 0;
  }

  85% {
    opacity: 1;
  }

  to {
    clip-path: polygon(0 0, calc(100% + var(--wipe-skew)) 0, 100% 100%, 0 100%);
    opacity: 1;
  }
}

.p-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes p-hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.p-hero__slide.is-active .p-hero__image {
  animation: p-hero-zoom 12s linear forwards;
}

.p-hero.is-paused .p-hero__slide.is-active .p-hero__image {
  animation-play-state: paused;
}

.p-hero__inner {
  position: relative;
  z-index: 3;

  padding-block: 78px 44px;
  color: var(--c-white);
}

.p-hero__copy {
  --mark-w: 248px;
  --mark-gap: 34px;
  position: relative;
  width: fit-content;
}

.p-hero__headline {
  display: flex;
  align-items: flex-end;
  gap: var(--mark-gap);
}

.p-hero__headline-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.p-hero__copy-main {
  min-width: 0;
}

.p-hero__copy::before {
  content: "";
  position: absolute;

  inset: 42px -32px -15px -50vw;
  z-index: -1;
  pointer-events: none;

  background: rgba(16, 28, 77, 0.7);
  background: color-mix(in srgb, var(--c-navy-ink) 70%, transparent);
}

.p-hero__title {
  margin-top: 0;

  font-size: 3.5833rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(13, 22, 51, 0.35);
}

.p-hero__lead {
  margin-top: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.8;
  /* fill each line to the edge: justify closes the gap left when the next
     character does not fit */
  text-align: justify;
  text-shadow: 0 1px 6px rgba(13, 22, 51, 0.4);
}

/* ---------- news ---------- */

.p-news {
  padding-block: var(--s-section) 24px;
}

.p-news__box {
  display: flex;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
}

.p-news__head {
  display: flex;
  flex: 0 0 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px 16px;
  color: var(--c-white);
  background: var(--c-navy);
}

.p-news__title {
  font-size: 2.1875rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.p-news__more {
  line-height: 1;
}

.p-news__body {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--c-white);
}

.p-news__list {
  display: grid;
  height: 100%;
}

.p-news__row {
  position: relative;
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
  padding: 15px 32px 15px 50px;
  border-top: 1px solid var(--c-line);
  transition: background-color var(--t-base) var(--e-out);
}

.p-news__row:first-child {
  border-top: 0;
}

.p-news__row:has(a:hover),
.p-news__row:has(a:focus-visible) {
  background: var(--c-navy-tint);
}

.p-news__text a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.p-news__date {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.p-news__text {
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- notice / inquiry ---------- */

.p-notice {
  padding-block: 0 var(--s-section);
}

.p-inquiry {
  padding-block: 0 24px;
}

/* ---------- tourism ---------- */
.p-tourism {
  padding-block: 0 var(--s-section);
}

.p-tourism__lead {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- about ---------- */

.p-about__body {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 22px 50px;
  align-items: start;
  margin-top: 14px;
}

.p-about__text {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 2;
}

.p-about__figure {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.p-about__gallery {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-about__gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-box);
}

.p-about__image {
  width: 100%;
  aspect-ratio: 430 / 291;
  object-fit: cover;
  border-radius: var(--r-box);
}

/* ---------- outline ---------- */
.p-outline {
  margin-top: var(--s-block);
}

/* ---------- operators ---------- */
.p-operators {
  margin-top: var(--s-block);
}

/* the 2nd and 3rd sub-heading follow a list */
.p-operators__list + .c-heading-sub {
  margin-top: 40px;
}

.p-operators__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

/* ---------- booking / forms / programs ---------- */
.p-booking,
.p-forms,
.p-programs {
  margin-top: var(--s-block);
}

.p-forms__list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.p-programs__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

/* ---------- terms ---------- */
.p-terms {
  margin-top: var(--s-block);
}

.p-terms__box {
  margin-top: 18px;
  padding: 26px 28px;
  font-size: 1rem;
  line-height: 1.8;
  background: var(--c-white);
  border-radius: var(--r-box);
}

/* ---------- faq section ---------- */
.p-faq {
  padding-block: 0;
}

.p-faq__more {
  margin-top: 32px;
  text-align: center;
}

.p-faq__more .c-btn {
  min-width: 254px;
}

/* ---------- contact ---------- */
.p-contact {
  padding-block: var(--s-divider) var(--s-section);
}

.p-contact__box {
  display: flex;
  max-width: 896px;
  margin: 28px auto 0;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
}

.p-contact__name {
  display: flex;
  flex: 0 0 314px;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--c-white);
  background: var(--c-navy);
}

.p-contact__detail {
  flex: 1 1 auto;
  padding: 24px 32px;
  background: var(--c-white);
}

.p-contact__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.p-contact__tel {
  margin-top: 2px;
  font-size: 2rem;

  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--c-navy);
}

.p-contact__tel a:where(:hover, :focus-visible) {
  color: var(--c-navy-deep);
}

.p-contact__label .c-icon,
.p-contact__note .c-icon {
  width: 1.2em;
  height: 1.2em;
}

.p-contact__note {
  display: flex;

  align-items: baseline;
  max-width: 100%;
  gap: 7px;
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-text-mute);
}

/* ---------- newslist ---------- */
.p-newslist,
.p-faqlist,
.p-article {
  padding-block: 28px var(--s-section);
}

.p-newslist__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--c-navy);
}

.p-newslist__item {
  border-bottom: 1px solid var(--c-line);
}

.p-newslist__link {
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: baseline;
  gap: 0 8px;
  padding: 22px 24px;
  color: var(--c-text);
  transition: background-color var(--t-base) var(--e-out);
}

.p-newslist__link:where(:hover, :focus-visible) {
  background: var(--c-navy-tint);
  text-decoration: none;
}

.p-newslist__link:where(:hover, :focus-visible) .p-newslist__text {
  text-decoration: underline;
}

.p-newslist__date {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.p-newslist__text {
  font-size: 1rem;
  line-height: 1.7;
}

.p-newslist__empty {
  margin-top: 24px;
  padding: 26px 28px;
  font-size: 1rem;
  background: var(--c-white);
  border: 1px solid var(--c-line-strong);
}

/* ---------- article ---------- */
.p-article__inner {
  max-width: 800px;
  margin-inline: auto;
}

.p-article__head {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--c-navy);
}

.p-article__date {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--c-text-mute);
}

.p-article__title {
  margin-top: 8px;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.p-article__body {
  margin-top: 32px;
  font-size: 1rem;
  line-height: 1.9;
}

.p-article__body > * + * {
  margin-top: 1.4em;
}

.p-article__body h2 {
  margin-top: 2.2em;
  padding-left: 14px;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.5;
  border-left: 4px solid var(--c-navy);
}

.p-article__body h3 {
  margin-top: 2em;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
}

.p-article__body ul {
  padding-left: 1.4em;
  list-style: disc;
}

.p-article__body ol {
  padding-left: 1.4em;
}

.p-article__body ul ul {
  margin-top: 0.5em;
  list-style: circle;
}

.p-article__body li::marker {
  color: var(--c-navy);
}

/* a c-list inside an article keeps only its own square markers */
.p-article__body .c-list {
  padding-left: 0;
  list-style: none;
}

.p-article__body li + li {
  margin-top: 0.5em;
}

.p-article__body a {
  color: var(--c-link);
}

.p-article__body a:where(:hover, :focus-visible) {
  color: var(--c-link-deep);
}

/* an icon leading a link (PDF etc.), sized like the card links on the top page */
.p-article__body a .c-icon {
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.35em;
  vertical-align: -0.3em;
}

.p-article__figure {
  margin: 2em 0 0;
}

.p-article__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r-box);
}

.p-article__figure figcaption {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-text-mute);
}

.p-article__files {
  margin-top: 36px;
  padding: 22px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
}

.p-article__files-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
}

.p-article__files-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}

.p-article__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
  transition: background-color var(--t-base) var(--e-out),
              color var(--t-base) var(--e-out);
}

.p-article__nav-link:where(:hover, :focus-visible) {
  color: var(--c-white);
  background: var(--c-navy);
  text-decoration: none;
}

.p-article__nav-link--next {
  justify-content: flex-end;
  text-align: right;
}

.p-article__nav-link .c-icon {
  flex: 0 0 auto;
  width: 1.3em;
  height: 1.3em;
}

.p-article__back {
  margin-top: 32px;
  text-align: center;
}

/* ---------- faqlist ---------- */

.p-faqlist__index {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-box);
}

.p-faqlist__index-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
}

.p-faqlist__index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.p-faqlist__index-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-link);
}

.p-faqlist__index-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(135deg);
}

.p-faqlist__group {
  margin-top: var(--s-block);
}

.p-faqlist__group .c-faq {
  margin-top: 18px;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.u-nowrap {
  white-space: nowrap;
}

/* scroll target placed before the header. the sticky header itself cannot be
   the target: once stuck it already sits at the top, so the jump does nothing.
   display:block gives the empty element a box, which Safari needs to scroll */
.u-anchor {
  display: block;
}

.u-br-pc {
  display: inline;
}

.u-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---------- ~1200px ---------- */
@media screen and (max-width: 1200px) {
  .p-hero__title {
    font-size: 3.3333rem;
  }
}

/* ---------- ~1100px: nav becomes drawer ---------- */
@media screen and (max-width: 1100px) {
  :root {
    --l-header-h: 70px;
  }

  .l-header::before {
    width: 100%;
    clip-path: none;
  }

  .l-header__inner {
    padding: 11px var(--l-gutter);
  }

  .l-header__logo {
    flex: 0 1 auto;
  }

  .l-nav {
    margin-inline: 0;
  }

  .l-header__logo-main {
    font-size: 1.25rem;
  }

  .l-header__logo-pref {
    width: 72px;
  }

  .l-header__toggle {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-left: auto;
    /* pull the button flush with the container edge, keeping the tap area */
    margin-right: -8px;
    padding: 4px 8px;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-white);
    background: transparent;
    border: 0;
    border-radius: var(--r-action);
    cursor: pointer;
  }

  .l-header__toggle-text {
    white-space: nowrap;
  }

  .l-header__toggle-bars {
    position: relative;
    display: block;
    width: 32px;
    height: 2px;
    /* the outer bars sit 9px above and below, so reserve that space
       and let the flex gap show as the real distance to the label */
    margin-block: 9px;
    background: currentColor;
    transition: background-color var(--t-base) var(--e-out);
  }

  .l-header__toggle-bars::before,
  .l-header__toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 32px;
    height: 2px;
    background: currentColor;
    transition: transform var(--t-base) var(--e-out);
  }

  .l-header__toggle-bars::before {
    top: -9px;
  }

  .l-header__toggle-bars::after {
    top: 9px;
  }

  .l-header__toggle[aria-expanded="true"] .l-header__toggle-bars {
    background: transparent;
  }

  .l-header__toggle[aria-expanded="true"] .l-header__toggle-bars::before {
    transform: translateY(9px) rotate(45deg);
  }

  .l-header__toggle[aria-expanded="true"] .l-header__toggle-bars::after {
    transform: translateY(-9px) rotate(-45deg);
  }

  .l-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--c-yellow);
    box-shadow: 0 12px 24px rgba(13, 22, 51, 0.16);
  }

  .l-nav:not(.is-open) {
    display: none;
  }

  .l-nav__list {
    display: block;
  }

  .l-nav__item + .l-nav__item {
    border-top: 1px solid rgba(28, 41, 60, 0.18);
  }

  .l-nav__link {
    padding: 16px 20px;
  }

  .l-nav__link::after {
    display: none;
  }

  .l-nav__link:where(:hover, :focus-visible) {
    background: var(--c-yellow-deep);
  }

  html {
    scroll-padding-top: calc(var(--l-header-h) + 16px);
  }
}

/* ---------- ~900px ---------- */
@media screen and (max-width: 900px) {
  :root {
    --wipe-skew: 358px;
  }

  .p-hero {
    min-height: 556px;
  }

  .p-hero__title {
    font-size: 2.8333rem;
  }

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

  .p-hero__copy {
    --mark-w: 189px;
  }

  .p-about__text,
  .p-about__gallery,
  .p-about__figure {
    grid-column: auto;
    grid-row: auto;
  }

  .p-about__figure {
    order: -1;
  }

  .p-about__image {
    aspect-ratio: 16 / 9;
  }

  .c-heading__title {
    font-size: 2.125rem;
  }

  .c-heading-sub {
    font-size: 1.625rem;
  }

  .p-operators__list {
    grid-template-columns: 1fr;
  }

  .p-outline,
  .p-operators,
  .p-terms,
  .p-booking,
  .p-forms,
  .p-programs,
  .p-faqlist__group {
    margin-top: 48px;
  }

  .c-deflist {
    grid-template-columns: 144px 1fr;
  }

  .p-news__row {
    padding-inline: 24px;
  }

  .c-inquiry__body {
    padding-left: 24px;
  }

  .p-contact {
    padding-block: var(--s-divider) 48px;
  }
}

/* ---------- ~767px: phone ---------- */
@media screen and (max-width: 767px) {
  body {
    font-size: 0.9375rem;
  }

  :root {
    --s-divider: 48px;

    --wipe-skew: 277px;
  }

  .l-section--gray {
    padding-block: 0 40px;
  }

  .p-hero {
    /* the pause button is anchored to this too, so it tracks the band top */
    --hero-pad-top: 275px;
    --hero-pad-top: clamp(235px, calc(30svh + 35px), 315px);
    min-height: 0;
    align-items: stretch;
  }

  .p-hero__inner {
    /* the bottom padding matches the band overhang so the band ends with the photo.
       the 35px it used to take is moved to the top, keeping the same overall height */
    padding-block: var(--hero-pad-top) 5px;
  }

  .p-hero__copy {
    --mark-w: clamp(76px, 27vw, 150px);
    --mark-gap: 14px;
    width: auto;
  }

  .p-hero__headline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px var(--mark-gap);

    align-items: center;
  }

  .p-hero__headline-body {
    display: contents;
  }

  .p-hero__headline .c-badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .p-hero__mark {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;

    transform: translateY(0);
  }

  .p-hero__title {
    grid-column: 2;
    grid-row: 2;
  }

  .p-hero__copy::before {
    inset: -10px -20px -5px -50vw;
  }

  /* sits on the photo, above the band (10px overhang + the button + 10px) */
  .c-slidectl {
    top: calc(var(--hero-pad-top) - 64px);
    right: 12px;
    bottom: auto;
  }

  .c-badge {
    --badge-cut: 16px;
    padding: 5px 16px;
    font-size: 0.75rem;
    word-break: keep-all;
  }

  .p-hero__title {
    margin-top: 0;
    font-size: clamp(1.375rem, 7.4vw, 2.25rem);
  }

  .p-hero__lead {
    margin-top: 8px;
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .c-heading {
    margin-bottom: 0;
  }

  .c-heading__title {
    margin-top: 16px;
    font-size: 1.625rem;
  }

  .p-about__body {
    margin-top: 10px;
  }

  .c-heading-sub {
    font-size: 1.25rem;
  }

  /* the note moves to its own line */
  .c-heading-sub__note {
    display: block;
  }

  .p-news {
    padding-block: 40px 18px;
  }

  .p-news__box {
    display: block;
  }

  .p-news__head {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
  }

  .p-news__title {
    font-size: 1.375rem;
  }

  .c-btn {
    min-height: 44px;
    padding: 6px 16px;
    font-size: 0.875rem;
  }

  .p-news__row {
    display: block;
    padding: 14px 16px;
  }

  .p-news__date {
    font-size: 0.875rem;
    color: var(--c-text-mute);
  }

  .p-news__text {
    margin-top: 2px;
    font-size: 0.9375rem;
  }

  .p-about__text {
    font-size: 1rem;
    line-height: 1.9;
  }

  .c-deflist {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .c-deflist__label {
    padding: 14px 20px 0;
    border-bottom: 0;
  }

  .c-deflist__data {
    padding: 2px 20px 14px;
    font-size: 0.9375rem;
  }

  .c-deflist__data br {
    display: none;
  }

  .p-operators__list {
    margin-top: 14px;
  }

  .c-card__title {
    padding: 12px 16px;
    font-size: 0.9375rem;
  }

  .c-card__action {
    padding: 12px 16px 14px;
  }

  .c-card__action--lead {
    padding-bottom: 0;
  }

  .c-card__action--lead + .c-card__body {
    padding: 10px 16px 14px;
  }

  .c-card__link--large {
    font-size: 1.0625rem;
  }

  .p-terms__box {
    margin-top: 14px;
    padding: 18px 20px;
    font-size: 0.9375rem;
  }

  .p-faq {
    padding-block: 0;
  }

  .c-faq {
    margin-top: 20px;
  }

  .p-contact__box {
    margin-top: 20px;
  }

  .c-faq__question {
    padding: 14px 16px;
    font-size: 0.9375rem;
  }

  .c-faq__answer {
    padding: 14px 16px 16px 34px;
    font-size: 0.9375rem;
  }

  .p-faq__more {
    margin-top: 24px;
  }

  .p-faq__more .c-btn {
    min-width: 0;
    width: 100%;
  }

  .p-notice,
  .p-tourism {
    padding-block: 0 40px;
  }

  .p-inquiry {
    padding-block: 0 18px;
  }

  .c-notice {
    padding: 18px 20px 20px;
  }

  .c-notice::before {
    border-width: 28px 18px 0 0;
  }

  .c-notice::after {
    border-width: 0 0 28px 18px;
  }

  .c-notice__icon {
    width: 24px;
    height: 24px;
  }

  .c-notice__title {
    font-size: 1.125rem;
  }

  .c-notice__list {
    font-size: 0.9375rem;
  }

  .c-inquiry {
    display: block;
  }

  .c-inquiry__label {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .c-inquiry__body {
    gap: 4px;
    padding: 16px 16px 18px;
  }

  .c-inquiry__tel {
    font-size: 1.5rem;
  }

  .c-inquiry__tel a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .p-tourism__lead {
    font-size: 0.9375rem;
  }

  .u-br-pc {
    display: none;
  }

  .p-contact {
    padding-block: var(--s-divider) 40px;
  }

  .p-contact__box {
    display: block;
  }

  .p-contact__name {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .p-contact__detail {
    padding: 16px 20px 20px;
  }

  .p-contact__tel {
    font-size: 1.75rem;
  }

  .p-contact__tel a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .c-breadcrumb {
    padding-block: 14px 0;
  }

  .c-breadcrumb__list {
    font-size: 0.75rem;
  }

  .p-newslist,
  .p-faqlist,
  .p-article {
    padding-block: 20px 40px;
  }

  .p-newslist__link {
    display: block;
    padding: 14px 16px;
  }

  .p-newslist__date {
    display: block;
    font-size: 0.875rem;
    color: var(--c-text-mute);
  }

  .p-newslist__text {
    display: block;
    margin-top: 2px;
    font-size: 0.9375rem;
  }

  .p-article__title {
    font-size: 1.375rem;
  }

  .p-article__body {
    margin-top: 24px;
    font-size: 0.9375rem;
  }

  .p-article__body h2 {
    font-size: 1.125rem;
  }

  .p-article__files {
    margin-top: 28px;
    padding: 18px 20px;
  }

  .p-article__nav {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 32px;
    padding-top: 20px;
  }

  .p-article__nav-link--next {
    justify-content: flex-start;
    text-align: left;
  }

  .p-faqlist__index {
    padding: 16px 18px;
  }

  .p-faqlist__group {
    margin-top: 40px;
  }

  .l-footer {
    padding-block: 20px 22px;
  }

  .c-pagetop {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- ~400px: narrow phone ---------- */
@media screen and (max-width: 400px) {
  .p-hero__copy {
    --mark-gap: 12px;
  }

  .c-badge {
    --badge-cut: 15px;
    padding: 4px 12px;
    font-size: 0.6875rem;
  }

  .l-header__logo-main {
    font-size: 1.125rem;
  }

  .l-header__logo-pref {
    width: 64px;
  }

  .l-header__toggle {
    margin-right: -6px;
    padding: 4px 6px;
  }
}

/* ---------- ~374px: the badge needs the width back ----------
   Hiragino sets the badge text about 4% wider than the webfont did, so on
   the narrowest phones the logo gives back what it took in the 767px block */
@media screen and (max-width: 374px) {
  .p-hero__copy {
    --mark-w: clamp(76px, 24vw, 150px);
  }
}

/* ---------- ~340px: keeps the menu button clear of the logo ---------- */
@media screen and (max-width: 340px) {
  .l-header__logo-main {
    font-size: 1rem;
  }

  .l-header__logo-pref {
    width: 56px;
  }
}

/* ---------- print ---------- */
@media print {
  .l-header__toggle,
  .l-nav,
  .c-skiplink,
  .c-pagetop,
  .c-slidectl {
    display: none !important;
  }

  .c-notice {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    break-inside: avoid;
  }

  .l-header {
    position: static;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .p-hero {
    min-height: 0;
  }

  .p-hero__title,
  .p-hero__lead {
    text-shadow: none;
  }

  .c-faq__item {
    break-inside: avoid;
  }

  .c-faq__answer {
    display: block !important;
  }
}
