
* { box-sizing: border-box; }
body { margin: 0; color: #1d3e34; background: #f8f7f2; font: 16px/1.55 Arial, sans-serif; }
[hidden] { display: none !important; }
header, main, footer { max-width: 1180px; margin: auto; }
header { min-height: 94px; padding: 14px 28px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #d8ded2; }
header img { width: 55px; height: 55px; object-fit: contain; border-radius: 50%; }
header span { font-weight: bold; letter-spacing: .01em; }
header a { margin-left: auto; }
a { color: inherit; text-underline-offset: 4px; }
main { padding: 32px 28px 24px; }
.layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 575px; }
.visual { position: relative; min-height: 250px; background: #355248; overflow: hidden; display: flex; align-items: end; }
.visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #142e26e8); }
.visual p { position: relative; z-index: 1; color: #fff; margin: 32px; font: 25px/1.3 Georgia, serif; }
.panel { background: #fff; border: 1px solid #d8ded2; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 5vw, 72px); }
h1 { margin: 0 0 12px; font: clamp(37px, 5vw, 58px)/1.05 Georgia, serif; letter-spacing: -.035em; }
p { margin: 0 0 22px; }
label { display: block; font-weight: bold; margin: 14px 0 5px; }
input { width: 100%; font: inherit; min-height: 48px; border: 1px solid #a2afa4; border-radius: 3px; padding: 8px 12px; background: #f8f7f2; color: inherit; }
button, .button { font: inherit; color: inherit; cursor: pointer; }
.primary { width: 100%; background: #1d3e34; color: #fff; border: 0; border-radius: 3px; min-height: 48px; padding: 10px 14px; margin-top: 20px; font-weight: bold; }
.link { border: 0; background: transparent; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; margin-top: 11px; }
:focus-visible { outline: 3px solid #ad5935; outline-offset: 3px; }
.notice { margin-top: 12px; margin-bottom: 0; color: #606c63; font-size: 14px; }
.content { padding: 0; margin: 0; list-style: none; }
.content li { background: #e7edde; margin: 10px 0; padding: 12px 16px; }
@media (max-width: 700px) {
  header, main, footer { padding-left: 16px; padding-right: 16px; }
  header { min-height: 72px; font-size: 14px; }
  header img { width: 40px; height: 40px; }
  main { padding-top: 16px; }
  .layout { grid-template-columns: 1fr; }
  .visual { min-height: 175px; }
  .visual p { margin: 18px; font-size: 20px; }
  .panel { min-height: 400px; }
}

#message { margin: 12px 0 0; color: #74401f; }
button:disabled { opacity: .6; cursor: wait; }
.content { white-space: pre-wrap; }

body:has(#content:not([hidden])) .visual { display:none }
body:has(#content:not([hidden])) .panel { grid-column:1 / -1; padding:clamp(12px,3vw,30px) }
.member-catalog { width:100%; height:75vh; min-height:440px; border:1px solid #d8ded2; border-radius:8px; background:white }
