:root {
  --ink: #182522;
  --muted: #5b6964;
  --paper: #fbfaf6;
  --white: #ffffff;
  --river: #1b6f82;
  --river-dark: #0f3f4a;
  --forest: #2c6b4f;
  --salmon: #c94f38;
  --salmon-dark: #a73f2c;
  --sand: #e8dfcf;
  --mist: #eef5f1;
  --line: #d7e1db;
  --shadow: 0 18px 50px rgba(24, 37, 34, 0.14);
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  margin-bottom: 1em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f3a06d;
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--river-dark);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 10px 16px;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid rgba(215, 225, 219, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.nav-toggle {
  display: grid;
  place-items: center;
  gap: 4px;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.site-nav {
  position: fixed;
  inset: 66px 0 auto 0;
  display: grid;
  gap: 4px;
  padding: 14px 16px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(24, 37, 34, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-125%);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    visibility 0s linear 180ms;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.site-nav a {
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--river);
}

.site-nav .member-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: fit-content;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--river-dark);
  border-radius: 7px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(680px, calc(100svh - 66px));
  overflow: hidden;
  background: var(--river-dark);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 34, 32, 0.68), rgba(10, 34, 32, 0.08)),
    linear-gradient(90deg, rgba(10, 34, 32, 0.78), rgba(10, 34, 32, 0.12));
}

.hero-content {
  position: relative;
  align-self: end;
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 54px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--salmon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero .eyebrow,
.youtube-band .section-kicker {
  color: #f3a06d;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 11vw, 68px);
  line-height: 1.13;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 7.4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.45;
}

.hero p {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--salmon);
}

.button.primary:hover {
  background: var(--salmon-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button.light {
  color: var(--river-dark);
  background: var(--white);
}

.member-strip {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 18px 16px;
  color: var(--white);
  background: var(--river);
}

.member-strip div {
  display: grid;
  gap: 2px;
}

.member-strip strong {
  font-size: 16px;
}

.member-strip span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.member-strip a {
  justify-self: start;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.records-section {
  width: min(1540px, calc(100% - 32px));
}

.split {
  display: grid;
  gap: 24px;
}

.lead-block,
.story-copy,
.section-heading p,
.notice p,
.contact-panel,
.community-copy p,
.member-callout p,
.subpage-card p {
  color: var(--muted);
}

.lead-block {
  font-size: 17px;
}

.lead-block p:last-child,
.story-copy p:last-child,
.contact-panel p:last-child,
.community-copy p:last-child,
.member-callout p:last-child,
.subpage-card p:last-child {
  margin-bottom: 0;
}

.band {
  width: 100%;
  padding: 64px 16px;
  background: var(--mist);
}

.band > .section-kicker,
.band > .section-heading,
.band > .activity-grid {
  width: min(var(--page-width), 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading p {
  margin-bottom: 0;
}

.compact-heading {
  align-items: start;
}

.activity-grid {
  display: grid;
  gap: 14px;
}

.activity-card {
  min-height: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(24, 37, 34, 0.06);
}

.activity-number {
  display: block;
  margin-bottom: 18px;
  color: var(--river);
  font-weight: 800;
}

.activity-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.visual-story {
  display: grid;
  gap: 26px;
  align-items: center;
}

.story-image img {
  width: 100%;
  height: clamp(420px, 60vw, 680px);
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.record-grid {
  display: grid;
  gap: 18px;
}

figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

figure img {
  display: block;
  width: 100%;
  height: min(78vw, 430px);
  object-fit: cover;
  background: var(--mist);
}

.record-card--contain img {
  object-fit: contain;
}

figcaption {
  display: grid;
  gap: 3px;
  padding: 18px 20px 20px;
  font-size: 18px;
  font-weight: 800;
}

figcaption span {
  color: var(--river);
  font-size: 13px;
  font-weight: 800;
}

.community-story {
  position: relative;
  display: grid;
  min-height: 580px;
  overflow: hidden;
  color: var(--white);
  background: var(--river-dark);
}

.community-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10, 34, 32, 0.86), rgba(10, 34, 32, 0.18));
}

.community-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 54px;
}

.community-copy p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.community-copy .section-kicker {
  color: #f3a06d;
}

.youtube-band {
  display: grid;
  gap: 24px;
  padding: 54px 16px;
  color: var(--white);
  background: var(--river-dark);
}

.youtube-band > div {
  width: min(var(--page-width), 100%);
  margin-left: auto;
  margin-right: auto;
}

.youtube-band h2 {
  margin-bottom: 10px;
}

.youtube-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.youtube-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  min-height: 56px;
  padding: 14px 24px;
  color: var(--white);
  background: var(--salmon);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.youtube-icon-link:hover {
  background: var(--salmon-dark);
  transform: translateY(-1px);
}

.youtube-icon {
  width: 28px;
  height: 28px;
  fill: #ff0033;
}

.youtube-icon-badge {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 26px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(16, 41, 38, 0.14);
}

.youtube-play {
  fill: var(--white);
}

.notice-list {
  display: grid;
  gap: 14px;
}

.notice article,
.contact-panel,
.subpage-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notice article:first-child {
  border-color: rgba(27, 111, 130, 0.34);
  box-shadow: 0 12px 32px rgba(24, 37, 34, 0.07);
}

.notice time {
  display: block;
  margin-bottom: 10px;
  color: var(--river);
  font-weight: 800;
}

.member-callout {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 58px 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--river), var(--river-dark));
}

.member-callout > div {
  width: min(var(--page-width), 100%);
  margin-left: auto;
  margin-right: auto;
}

.member-callout > .button {
  justify-self: start;
}

.member-callout h2 {
  max-width: 760px;
}

.member-callout p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
}

.member-callout .section-kicker {
  color: #f3a06d;
}

.contact-intro {
  max-width: 38rem;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-list > div {
  display: grid;
  grid-template-columns: minmax(88px, 112px) 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list > div:first-child {
  padding-top: 0;
}

.contact-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  color: var(--river-dark);
  font-weight: 800;
}

.contact-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--river-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-top-button {
  position: fixed;
  right: max(8px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 0;
  color: var(--white);
  background: rgba(15, 63, 74, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(15, 63, 74, 0.28);
  font: inherit;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease,
    background-color 160ms ease;
}

.page-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top-button:hover {
  background: var(--river);
}

.page-top-button:active {
  transform: translateY(1px);
}

.page-top-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .page-top-button {
    right: max(6px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
  }

  .page-top-icon {
    width: 23px;
    height: 23px;
  }
}

.site-footer {
  display: grid;
  gap: 20px;
  padding: 30px 16px;
  color: rgba(255, 255, 255, 0.82);
  background: #102926;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.subpage-main {
  min-height: calc(100svh - 180px);
}

.subpage-hero {
  padding: 72px 16px 58px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(111, 198, 212, 0.35), transparent 38%),
    linear-gradient(135deg, var(--river-dark), #102926);
}

.subpage-hero > div {
  width: min(860px, 100%);
  margin: 0 auto;
}

.subpage-hero h1 {
  font-size: clamp(36px, 10vw, 58px);
}

.subpage-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  color: var(--river-dark);
  background: #d9f0ea;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.subpage-content {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.subpage-grid {
  display: grid;
  gap: 18px;
}

.subpage-card h2 {
  font-size: clamp(24px, 6vw, 32px);
}

.subpage-card ul {
  margin: 0;
  padding-left: 1.25em;
}

.subpage-card li + li {
  margin-top: 8px;
}

.notice-box {
  margin-bottom: 26px;
  padding: 18px 20px;
  color: var(--river-dark);
  background: var(--mist);
  border-left: 5px solid var(--river);
  border-radius: 6px;
}

.notice-box strong {
  display: block;
  margin-bottom: 4px;
}

.back-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--river-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 180px);
  padding: 64px 16px;
  text-align: center;
}

.error-page > div {
  max-width: 680px;
}

.error-code {
  display: block;
  margin-bottom: 6px;
  color: var(--river);
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 520px) {
  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (min-width: 560px) {
  .member-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px 24px;
  }

  .member-strip a {
    justify-self: end;
  }

  .record-grid,
  .notice-list,
  .subpage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-header {
    min-height: 76px;
    padding: 12px clamp(24px, 4vw, 54px);
  }

  .brand strong {
    font-size: 15px;
  }

  .brand-mark {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(11px, 1.6vw, 22px);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .site-nav a {
    padding: 8px 0;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
  }

  .site-nav .member-nav-link {
    justify-self: auto;
    padding: 8px 14px;
    color: var(--white);
  }

  .hero {
    min-height: min(760px, calc(100svh - 76px));
  }

  .hero-content {
    align-self: center;
    width: min(820px, calc(100% - 80px));
    margin-left: clamp(40px, 7vw, 104px);
    padding: 92px 0 116px;
  }

  .member-strip {
    padding: 19px clamp(32px, 7vw, 100px);
  }

  .section {
    width: min(var(--page-width), calc(100% - 64px));
    padding: 90px 0;
  }

  .records-section {
    width: min(1540px, calc(100% - 96px));
  }

  .split {
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(34px, 6vw, 84px);
  }

  .band {
    padding: 90px 32px;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: end;
    gap: 30px;
    margin-bottom: 36px;
  }

  .activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .activity-card {
    min-height: 270px;
    padding: 24px;
  }

  .visual-story {
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.9fr);
    gap: clamp(32px, 6vw, 74px);
  }

  .record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  figcaption {
    min-height: 108px;
    padding: 20px 22px 23px;
    font-size: 20px;
    line-height: 1.35;
  }

  .community-story {
    min-height: 700px;
  }

  .community-story::after {
    background: linear-gradient(90deg, rgba(10, 34, 32, 0.86), rgba(10, 34, 32, 0.1) 72%);
  }

  .community-copy {
    align-self: center;
    width: min(var(--page-width), calc(100% - 96px));
    padding: 100px 0;
  }

  .community-copy h2 {
    max-width: 740px;
  }

  .youtube-band,
  .member-callout {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 70px clamp(32px, 7vw, 96px);
  }

  .youtube-band > div,
  .member-callout > div {
    width: auto;
  }

  .youtube-icon-link {
    justify-self: end;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 30px clamp(24px, 4vw, 54px);
  }

  .site-footer nav {
    justify-content: flex-end;
  }

  .subpage-hero {
    padding: 100px 48px 80px;
  }

  .subpage-content {
    padding: 76px 0 100px;
  }
}

@media (min-width: 1180px) {
  .activity-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 組合員ページ認証 */
.nav-logout-form {
  display: contents;
}

.nav-logout-button {
  width: fit-content;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--river-dark);
  background: var(--white);
  border: 1px solid rgba(15, 63, 74, 0.26);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.nav-logout-button:hover {
  color: var(--white);
  background: var(--river-dark);
}

.member-login-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
}

.login-header {
  position: relative;
}

.login-home-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--river-dark);
  border: 1px solid rgba(15, 63, 74, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.member-login-main {
  display: grid;
  place-items: center;
  padding: clamp(42px, 8vw, 92px) 16px;
  background:
    radial-gradient(circle at top right, rgba(111, 198, 212, 0.22), transparent 34%),
    linear-gradient(145deg, #eef5f1, #fbfaf6 62%);
}

.member-login-card {
  width: min(100%, 520px);
  padding: clamp(26px, 6vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.member-login-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.member-login-card .status-pill {
  margin-bottom: 16px;
}

.member-login-card h1 {
  margin-bottom: 12px;
  color: var(--river-dark);
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.25;
}

.member-login-intro {
  margin-bottom: 24px;
  color: var(--muted);
}

.member-login-form {
  display: grid;
  gap: 12px;
}

.member-login-form label {
  color: var(--river-dark);
  font-weight: 800;
}

.member-login-form input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aebdb6;
  border-radius: 8px;
  font: inherit;
}

.member-login-form input:focus {
  border-color: var(--river);
  box-shadow: 0 0 0 4px rgba(27, 111, 130, 0.14);
  outline: none;
}

.member-login-submit {
  justify-self: start;
  margin-top: 6px;
}

.login-message {
  margin-bottom: 20px;
  padding: 12px 14px;
  color: var(--salmon-dark);
  background: #fff2ed;
  border-left: 4px solid var(--salmon);
  border-radius: 6px;
  font-weight: 700;
}

.login-message.is-success {
  color: var(--forest);
  background: var(--mist);
  border-left-color: var(--forest);
}

.member-login-help {
  margin: 24px 0 0;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.login-footer {
  grid-template-columns: 1fr;
}

@media (max-width: 560px) {
  .login-header {
    align-items: flex-start;
  }

  .login-header .brand strong {
    max-width: 220px;
  }

  .login-home-link {
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (min-width: 900px) {
  .nav-logout-form {
    display: block;
  }

  .nav-logout-button {
    min-height: 40px;
    padding: 8px 14px;
  }
}

/* 組合員向けお知らせ */
.member-updates {
  margin-bottom: 34px;
}

.member-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.member-section-heading h2 {
  margin: 0;
  color: var(--river-dark);
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.25;
}

.member-section-heading p {
  margin: 0;
  color: var(--muted);
}

.member-notice-list {
  display: grid;
  gap: 16px;
}

.member-notice-card {
  padding: clamp(20px, 5vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--river);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 63, 74, 0.08);
}

.member-notice-card--important {
  border-left-color: var(--salmon);
  background: linear-gradient(135deg, #fff8f4, var(--white) 72%);
}

.member-notice-card--status {
  color: var(--muted);
  border-left-color: #aebdb6;
  box-shadow: none;
}

.member-notice-card--error {
  color: var(--salmon-dark);
  background: #fff2ed;
  border-left-color: var(--salmon);
}

.member-notice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.member-notice-card h3 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.4;
}

.member-notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.member-notice-category,
.member-notice-priority {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
}

.member-notice-category {
  color: var(--river-dark);
  background: var(--mist);
}

.member-notice-priority {
  color: #7f2d1e;
  background: #ffe2d6;
}

.member-attachments {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.member-attachments strong {
  display: block;
  margin-bottom: 8px;
  color: var(--river-dark);
}

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

.member-attachments a {
  display: inline-flex;
  width: fit-content;
  color: var(--river-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.member-guide-grid {
  margin-top: 0;
}

@media (min-width: 720px) {
  .member-section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}
