/* 古着衛門 会員ページ v1.1.0 */
body.he-subpage--member .outline {
  padding-top: 38px;
}

.he-member-page {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.he-member-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-top: 9px solid var(--he-red);
  background: #fff;
  box-shadow: var(--he-shadow);
}

.he-member-hero-copy {
  padding: 44px 42px 40px;
}

.he-member-kicker,
.he-member-section-head > p,
.he-member-proof-copy > p,
.he-member-visit > div > p {
  margin: 0 0 9px;
  color: var(--he-red-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
}

.he-member-hero h1 {
  margin: 0;
  color: var(--he-ink);
  font-size: clamp(35px, 4.7vw, 56px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.he-member-hero h1 span {
  display: block;
}

.he-member-lead {
  margin: 20px 0 0;
  color: var(--he-text);
  font-size: 17px;
  line-height: 1.85;
}

.he-member-facts {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.he-member-facts div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-left: 5px solid var(--he-red);
  background: #f6f6f6;
}

.he-member-facts strong {
  color: #111;
  font-weight: 950;
}

.he-member-facts span {
  color: #555;
  font-size: 13px;
  line-height: 1.55;
}

.he-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.he-member-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 2px solid #111;
  border-radius: 4px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
}

body.he-subpage .outline .he-member-button-red {
  border-color: var(--he-red);
  background: var(--he-red);
  color: #fff;
}

body.he-subpage .outline .he-member-button-dark {
  border-color: #111;
  background: #111;
  color: #fff;
}

body.he-subpage .outline .he-member-button-light {
  border-color: #fff;
  background: #fff;
  color: #111;
}

body.he-subpage .outline .he-member-button-outline {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.he-member-hero-photo {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 28px;
  background: linear-gradient(135deg, #151515, #2a0007);
}

.he-member-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  border: 5px solid #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.38);
}

.he-member-hero-photo figcaption {
  margin-top: 12px;
  color: #eee;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.he-member-local-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid #d7d7d7;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.04);
}

body.he-subpage .outline .he-member-local-nav a {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-right: 1px solid #e2e2e2;
  color: #222;
  text-decoration: none;
}

body.he-subpage .outline .he-member-local-nav a:last-child {
  border-right: 0;
}

.he-member-local-nav span {
  color: var(--he-red);
  font-size: 12px;
  font-weight: 900;
}

.he-member-local-nav strong {
  font-size: 15px;
}

.he-member-section {
  margin-top: 24px;
  padding: 36px 38px;
  border: 1px solid #d7d7d7;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.045);
  scroll-margin-top: 90px;
}

.he-member-section-alt {
  background: #f8f8f8;
}

.he-member-section-head {
  margin-bottom: 26px;
}

.he-member-section-head h2,
.he-member-proof h2,
.he-member-visit h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(27px, 3.5vw, 40px);
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.he-member-section-head > span,
.he-member-proof-copy > span,
.he-member-visit > div > span {
  display: block;
  margin-top: 8px;
  color: #555;
  line-height: 1.8;
}

/* Four registration methods */
.he-member-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.he-member-method {
  padding: 24px;
  border: 1px solid #d7d7d7;
  border-top: 6px solid var(--he-red);
  background: #fff;
}

.he-member-method-head {
  display: flex;
  gap: 13px;
  align-items: center;
}

.he-member-method-no {
  display: flex;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--he-red);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.he-member-method-head p {
  margin: 0 0 2px;
  color: var(--he-red-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.he-member-method h3 {
  margin: 0;
  color: #171717;
  font-size: 25px;
  font-weight: 950;
}

.he-member-method-summary {
  margin: 15px 0 0;
  color: #444;
  line-height: 1.75;
}

.he-member-steps {
  margin: 15px 0 0;
  padding-left: 1.45em;
  color: #555;
  line-height: 1.8;
}

.he-member-guide-link {
  display: block;
  margin-top: 18px;
  text-decoration: none;
}

.he-member-guide-link img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  background: #fff;
}

.he-member-guide-link span {
  display: block;
  margin-top: 7px;
  color: var(--he-red-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.he-member-card-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.he-member-card-gallery a {
  display: block;
}

.he-member-card-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  background: #fff;
}

.he-member-image-note {
  margin: 8px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

.he-member-note {
  margin: 18px 0 0;
  padding: 13px 15px;
  border-left: 5px solid var(--he-red);
  background: #f5f5f5;
  color: #555;
  font-size: 13px;
  line-height: 1.75;
}

/* Benefits */
.he-member-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.he-member-benefit-grid article {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #ddd;
  border-top: 6px solid var(--he-red);
  background: #fff;
}

.he-member-number,
.he-member-percent {
  color: var(--he-red);
  font-size: clamp(66px, 9vw, 108px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.07em;
}

.he-member-percent span {
  display: inline-block;
  margin-left: 4px;
  font-size: .28em;
  letter-spacing: 0;
}

.he-member-benefit-grid article > p {
  margin: 14px 0 6px;
  color: var(--he-red-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.he-member-benefit-grid h3 {
  margin: 0;
  color: #171717;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.35;
}

.he-member-benefit-grid strong {
  display: block;
  margin-top: 8px;
  color: #222;
}

.he-member-benefit-grid article > span {
  display: block;
  margin-top: 10px;
  color: #555;
  line-height: 1.75;
}

.he-member-benefit-grid .he-member-button {
  margin-top: 18px;
}

/* Actual physical card */
.he-member-proof {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 36px 38px;
  border: 1px solid #d7d7d7;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.045);
}

.he-member-proof figure {
  margin: 0;
}

.he-member-proof img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* Visit */
.he-member-visit {
  margin-top: 24px;
  padding: 38px;
  background: #111;
  color: #fff;
}

.he-member-visit h2 {
  color: #fff;
}

.he-member-visit > div > span {
  color: #ddd;
}

.he-member-visit dl {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
}

.he-member-visit dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #444;
}

.he-member-visit dt {
  color: #ccc;
  font-weight: 900;
}

.he-member-visit dd {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 900px) {
  .he-member-hero,
  .he-member-proof {
    grid-template-columns: 1fr;
  }

  .he-member-hero-photo {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body.he-subpage--member .outline {
    padding-top: 18px;
  }

  .he-member-hero-copy,
  .he-member-section,
  .he-member-proof,
  .he-member-visit {
    padding: 25px 20px;
  }

  .he-member-hero-photo {
    padding: 20px;
  }

  .he-member-local-nav,
  .he-member-method-grid,
  .he-member-benefit-grid {
    grid-template-columns: 1fr;
  }

  body.he-subpage .outline .he-member-local-nav a {
    min-height: 56px;
    border-right: 0;
    border-bottom: 1px solid #e2e2e2;
  }

  body.he-subpage .outline .he-member-local-nav a:last-child {
    border-bottom: 0;
  }

  .he-member-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .he-member-actions {
    flex-direction: column;
  }

  .he-member-button {
    width: 100%;
  }

  .he-member-visit dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
