@charset "UTF-8";

/* ==========================================================================
   Design tokens
   Figma に Variables が未定義のため、デザインの実数値から定義（詳細は CLAUDE.md）
   ========================================================================== */
:root {
  --color-text: #111;
  --color-white: #fff;
  --color-red: #c7161c;
  --color-green: #26983b;
  --color-yellow: #d9b02a;
  --color-gold: #b9944a;
  --color-blue: #1698c7;
  --color-magenta: #c716b5;
  --color-gray-bg: #f4f4f2;
  --color-gray-light: #eaeaea;
  --color-gray: #767676;
  --color-beige: #f3f1ec;
  --color-border: #111;

  --gradient-brand: linear-gradient(119deg, var(--color-red) 7.76%, var(--color-yellow) 60.89%, var(--color-green) 91.37%);

  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-en: "Alexandria", sans-serif;
  --font-hand: "Freehand", cursive;

  --fw-thin: 100;
  --fw-extralight: 200;
  --fw-light: 300;
  --fw-demilight: 350;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  --fs-10: 0.625rem;
  --fs-11: 0.6875rem;
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-22: 1.375rem;
  --fs-24: 1.5rem;
  --fs-30: 1.875rem;
  --fs-55: 3.4375rem;
  --fs-60: 3.75rem;

  --ls-xs: 0.05em;
  --ls-sm: 0.1em;
  --ls-md: 0.15em;
  --ls-lg: 0.2em;
  --ls-xl: 0.25em;

  --lh-body: 1.6;
  --lh-normal: 1.2;

  --shadow-sm: 0 4px 4px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 10px rgba(0, 0, 0, 0.25);

  --container: 62.5rem;
  --container-wide: 83.75rem;
  --gutter: 1.25rem;
  --header-height: 3.75rem;
  --section-space: 3.75rem;

  --transition: 0.3s ease;
  --hover-opacity: 0.7;
}

@media screen and (min-width: 768px) {
  :root {
    --section-space: 6.25rem;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
  scroll-padding-top: var(--header-height);
}

body {
  padding-top: var(--header-height);
  font-family: var(--font-sans);
  font-weight: var(--fw-light);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-white) url("../images/common/bg-dot.svg") repeat 0 0 / 0.75rem 0.75rem;
  overflow-wrap: anywhere;
}

body.is-nav-open {
  overflow: hidden;
}

a,
button {
  transition: opacity var(--transition);
}

@media (hover: hover) {
  a:hover,
  button:hover {
    opacity: var(--hover-opacity);
  }
}

:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

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

/* Header ------------------------------------------------------------------ */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--gutter);
}

.l-header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.l-header__logo img {
  width: 2.5rem;
}

.l-header__logo-text {
  font-size: var(--fs-18);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-xs);
  line-height: 1;
}

.l-header__toggle {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.625rem;
}

.l-header__toggle-bar,
.l-header__toggle-bar::before,
.l-header__toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 1.5rem;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), background-color var(--transition);
}

.l-header__toggle-bar {
  top: 50%;
  transform: translate(-50%, -50%);
}

.l-header__toggle-bar::before,
.l-header__toggle-bar::after {
  content: "";
  transform: translateX(-50%);
}

.l-header__toggle-bar::before {
  top: -0.5rem;
}

.l-header__toggle-bar::after {
  top: 0.5rem;
}

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

.l-header__toggle[aria-expanded="true"] .l-header__toggle-bar::before {
  transform: translateX(-50%) translateY(0.5rem) rotate(45deg);
}

.l-header__toggle[aria-expanded="true"] .l-header__toggle-bar::after {
  transform: translateX(-50%) translateY(-0.5rem) rotate(-45deg);
}

.l-header__nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  padding: 1.25rem var(--gutter) 2.5rem;
  overflow-y: auto;
  background: var(--color-white);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition), visibility var(--transition);
}

.l-header__nav.is-open {
  visibility: visible;
  opacity: 1;
}

.l-header__link {
  display: block;
  padding: 1.125rem 0.25rem;
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-sm);
  line-height: 1.4;
  border-bottom: 1px solid var(--color-gray-light);
}

.l-header__cta {
  width: 100%;
  margin-top: 2rem;
}

/* ナビ6項目＋ボタンが1行に収まる幅から PC ヘッダーに切り替える（タブレット調整） */
@media screen and (min-width: 1200px) {
  .l-header__toggle {
    display: none;
  }

  .l-header__nav {
    position: static;
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    background: none;
    visibility: visible;
    opacity: 1;
    transition: none;
  }

  .l-header__menu {
    display: flex;
    gap: 1.875rem;
  }

  .l-header__link {
    padding: 0;
    font-size: var(--fs-14);
    line-height: var(--lh-normal);
    border-bottom: 0;
    white-space: nowrap;
  }

  .l-header__cta {
    width: auto;
    margin: 0 0 0 2.375rem;
  }
}

/* Footer ------------------------------------------------------------------ */
.l-footer {
  background: var(--color-white);
  border-top: 4px solid var(--color-border);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 2.5rem var(--gutter) 1.875rem;
}

.l-footer__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.l-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  align-self: flex-start;
}

.l-footer__logo img {
  width: 2.5rem;
}

.l-footer__logo-text {
  font-size: var(--fs-18);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-xs);
  line-height: 1;
}

.l-footer__address {
  font-size: var(--fs-14);
  line-height: 1.8;
}

.l-footer__menu {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 0.625rem 1.25rem;
}

.l-footer__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-14);
  line-height: 1.45;
}

.l-footer__link::before {
  content: "";
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  background: url("../images/common/icon-dot.svg") no-repeat center / contain;
}

.l-footer__copyright {
  margin-top: 1.875rem;
  font-size: var(--fs-11);
  line-height: 1.45;
}

@media screen and (min-width: 768px) {
  .l-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    padding-block: 3.5rem 3.1875rem;
  }

  .l-footer__address {
    font-size: var(--fs-16);
    white-space: nowrap;
  }

  .l-footer__sub {
    padding-top: 2.0625rem;
  }

  .l-footer__menu {
    grid-template-columns: repeat(3, auto);
    gap: 0.625rem;
  }

  .l-footer__link {
    font-size: var(--fs-16);
    white-space: nowrap;
  }

  .l-footer__copyright {
    margin-top: 1.3125rem;
    text-align: right;
  }
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Heading（Figma: h2） ---------------------------------------------------- */
.c-heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: var(--fw-bold);
}

.c-heading__sub {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-14);
  letter-spacing: var(--ls-lg);
  line-height: var(--lh-normal);
}

.c-heading__sub::before {
  content: "";
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  background: url("../images/common/icon-heading.svg") no-repeat center / contain;
}

.c-heading__main {
  font-family: var(--font-en);
  font-size: clamp(1.75rem, 8.5vw, 2.5rem);
  letter-spacing: var(--ls-sm);
  line-height: 1.2;
}

.c-heading--white {
  color: var(--color-white);
}

.c-heading--white .c-heading__sub::before {
  background-image: url("../images/common/icon-heading-green.svg");
}

@media screen and (min-width: 768px) {
  .c-heading {
    gap: 0.4375rem;
  }

  .c-heading__sub {
    font-size: var(--fs-18);
    line-height: 1.2222;
  }

  .c-heading__main {
    font-size: var(--fs-60);
    line-height: 0.9667;
  }
}

/* Arrow icon ---------------------------------------------------------------- */
.c-arrow {
  flex-shrink: 0;
  width: 1.1875rem;
  margin: -0.0625rem;
  transition: transform var(--transition);
}

/* Button（Figma: in-button） ---------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 2.5rem;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-xs);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

@media (hover: hover) {
  .c-btn--arrow:hover .c-arrow,
  .c-link-arrow:hover .c-arrow {
    transform: translateX(4px);
  }
}

.c-btn--red,
.c-btn--green {
  padding-block: 1.25rem;
  color: var(--color-white);
  border: 0;
}

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

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

.c-btn--black {
  padding-block: 1.25rem;
  color: var(--color-white);
  background: var(--color-text);
  border: 0;
}

/* 押せないボタン（準備中など）。<span> で使い、リンクにはしない */
.c-btn--disabled {
  padding-block: 1.25rem;
  color: var(--color-white);
  background: var(--color-gray);
  border: 0;
  cursor: not-allowed;
  user-select: none;
}

.c-btn--pill {
  padding: 0.625rem 1.875rem;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 1.875rem;
}

/* Text link with arrow ---------------------------------------------------- */
.c-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-xs);
  line-height: var(--lh-normal);
}

/* Category label ---------------------------------------------------------- */
.c-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.625rem;
  height: 1.75rem;
  padding: 0.1875rem 0.625rem;
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-sm);
  line-height: 1;
  white-space: nowrap;
  border: 1px solid currentColor;
}

.c-label--info,
.c-label--red {
  color: var(--color-red);
}

.c-label--seminar,
.c-label--green {
  color: var(--color-green);
}

.c-label--award,
.c-label--yellow {
  color: var(--color-yellow);
}

.c-label--blue {
  color: var(--color-blue);
}

.c-label--auto {
  width: auto;
}

/* Filter tabs（カテゴリー絞り込み。動作は main.js の initFilters） ------- */
.c-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.c-filter__tab {
  padding: 0.25rem 0.625rem;
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-normal);
  color: var(--tab-color, var(--color-text));
  background: var(--color-white);
  border: 1px solid var(--tab-color, var(--color-text));
  transition: opacity var(--transition), color var(--transition), background-color var(--transition);
}

.c-filter__tab--red { --tab-color: var(--color-red); }
.c-filter__tab--green { --tab-color: var(--color-green); }
.c-filter__tab--yellow { --tab-color: var(--color-yellow); }
.c-filter__tab--blue { --tab-color: var(--color-blue); }

.c-filter__tab.is-active {
  color: var(--color-white);
  background: var(--tab-color, var(--color-text));
}

@media screen and (min-width: 768px) {
  .c-filter {
    gap: 0.5rem;
  }

  .c-filter__tab {
    padding: 0.3125rem 1.25rem;
    font-size: var(--fs-16);
  }
}

/* News list（お知らせ一覧。トップの NEWS と /news/ で共用） ------------------ */
.c-news-list {
  display: flex;
  flex-direction: column;
}

.c-news-list__item {
  position: relative;
  margin-bottom: -1px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.c-news-list__item:last-child {
  margin-bottom: 0;
}

.c-news-list__item::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 0.3125rem;
  background: var(--bar-color);
}

.c-news-list__item--red { --bar-color: var(--color-red); }
.c-news-list__item--green { --bar-color: var(--color-green); }
.c-news-list__item--yellow { --bar-color: var(--color-yellow); }
.c-news-list__item--blue { --bar-color: var(--color-blue); }

.c-news-list__link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.5rem 0.625rem;
  padding: 0.9375rem 0.9375rem 0.9375rem 1.25rem;
}

.c-news-list__date {
  font-family: var(--font-en);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
}

.c-news-list__link .c-label {
  justify-self: start;
}

.c-news-list__title {
  grid-column: 1 / -1;
  font-size: var(--fs-16);
  line-height: 1.6;
}

.c-news-list__empty {
  margin-top: 1.875rem;
}

@media screen and (min-width: 768px) {
  .c-news-list__link {
    grid-template-columns: 7.5rem 5.625rem minmax(0, 1fr);
    min-height: 4.875rem;
    padding: 0.625rem 1.25rem 0.625rem 1.875rem;
  }

  .c-news-list__date {
    font-size: var(--fs-20);
  }

  .c-news-list__title {
    grid-column: auto;
    margin-left: 0.625rem;
    font-size: var(--fs-18);
    line-height: var(--lh-normal);
  }
}

/* Pagination（Figma: 前へ ｜1｜2｜…｜7｜ 次へ） ---------------------------- */
.c-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-md);
  line-height: var(--lh-normal);
}

.c-pagination__prev,
.c-pagination__next {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  letter-spacing: var(--ls-xs);
  white-space: nowrap;
}

.c-pagination__prev .c-arrow {
  transform: scaleX(-1);
}

.c-pagination__list {
  display: flex;
  align-items: center;
}

.c-pagination__item {
  padding-inline: 0.375rem;
  white-space: nowrap;
  border-left: 1px solid var(--color-text);
}

.c-pagination__item:last-child {
  border-right: 1px solid var(--color-text);
}

.c-pagination__item [aria-current="page"] {
  color: var(--color-red);
}

@media (hover: hover) {
  .c-pagination__prev:hover .c-arrow {
    transform: translateX(-4px) scaleX(-1);
  }

  .c-pagination__next:hover .c-arrow {
    transform: translateX(4px);
  }
}

@media screen and (min-width: 768px) {
  .c-pagination {
    gap: 2.5rem;
    font-size: var(--fs-16);
  }

  .c-pagination__item {
    padding-inline: 0.625rem;
  }
}

/* ==========================================================================
   Lower page parts（下層ページ共通）
   ========================================================================== */

/* Page header（Figma: pagetit） ------------------------------------------ */
.l-page-header {
  position: relative;
  height: 8.75rem;
  overflow: hidden;
  background: var(--color-white);
  border-bottom: 4px solid var(--color-border);
}

.l-page-header__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding-top: 3.125rem;
}

.l-page-header__title {
  position: relative;
  z-index: 1;
  font-size: var(--fs-30);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-normal);
}

.l-page-header__visual {
  position: absolute;
  top: 0.75rem;
  right: 0;
  bottom: 0.75rem;
  left: 45%;
  background: url("../images/common/page-header.jpg") no-repeat center / cover;
}

.l-page-header__visual::before,
.l-page-header__visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.l-page-header__visual::before {
  background: url("../images/common/page-header-overlay.svg") no-repeat 0 0 / 100% 100%;
  mix-blend-mode: screen;
}

.l-page-header__visual::after {
  background: linear-gradient(189.87deg, rgba(255, 255, 255, 0) 30.42%, rgba(255, 255, 255, 0.9) 98.64%);
}

.l-page-header__logo {
  position: absolute;
  top: 1.25rem;
  right: var(--gutter);
  width: 5.5rem;
  aspect-ratio: 148.135 / 124.57;
}

.l-page-header__logo img {
  position: absolute;
  max-width: none;
}

.l-page-header__logo-main {
  top: 0;
  left: 0;
  width: 100%;
}

.l-page-header__logo-association {
  top: 91.07%;
  left: 1.944%;
  width: 97.58%;
}

.l-page-header__logo-advertising {
  top: 79.98%;
  left: 46.65%;
  width: 29.61%;
}

@media screen and (min-width: 768px) {
  .l-page-header {
    height: 12.5rem;
  }

  .l-page-header__inner {
    padding-top: 4.3125rem;
  }

  .l-page-header__title {
    font-size: 3.125rem;
  }

  .l-page-header__visual {
    top: 1.75rem;
    bottom: auto;
    left: calc(50% - 10rem);
    height: 8.75rem;
  }

  .l-page-header__logo {
    top: 2.2925rem;
    right: calc(var(--gutter) + 0.145rem);
    width: 9.2584rem;
  }
}

/* Section（下層ページのセクション） -------------------------------------- */
.l-section {
  padding-top: var(--section-space);
}

.l-section__inner {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

/* Band（上下に線のある白い帯。協会概要の事務局・新潟広告賞の応募導線・入会の流れ） */
.l-band {
  margin-top: var(--section-space);
  padding-block: var(--section-space);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Title（英字ラベル＋日本語大見出し。Figma: 下層の h2） -------------------- */
.c-title {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}

.c-title__en {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-en);
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-lg);
  line-height: var(--lh-normal);
  text-transform: uppercase;
}

.c-title__en::before {
  content: "";
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  background: url("../images/common/icon-heading.svg") no-repeat center / contain;
}

.c-title__ja {
  font-size: 1.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-normal);
}

@media screen and (min-width: 768px) {
  .c-title__en {
    font-size: var(--fs-18);
  }

  .c-title__ja {
    font-size: 2.5rem;
  }
}

/* Small heading（緑丸＋見出し。Figma: h3） -------------------------------- */
.c-subheading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-normal);
}

.c-subheading::before {
  content: "";
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  background: url("../images/common/icon-heading-green.svg") no-repeat center / contain;
}

@media screen and (min-width: 768px) {
  .c-subheading {
    font-size: var(--fs-22);
  }
}

/* Body text ----------------------------------------------------------------- */
.c-text {
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .c-text {
    font-size: var(--fs-18);
  }
}

/* Underlined arrow link ----------------------------------------------------- */
.c-link-arrow--underline {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Table（Figma: 協会概要-table01 / table02） ------------------------------- */
.c-table {
  width: 100%;
  border-collapse: collapse;
}

.c-table th,
.c-table td {
  display: block;
  padding: 0.75rem 1rem;
  line-height: 1.8;
  text-align: left;
  vertical-align: middle;
}

.c-table th {
  font-weight: var(--fw-bold);
  background: var(--color-beige);
}

.c-table td {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.c-table tr:first-child > :first-child {
  border-top: 4px solid var(--color-border);
}

.c-table tr:last-child > :last-child {
  border-bottom-width: 4px;
}

.c-table__link {
  display: flex;
  width: fit-content;
  margin-top: 0.25rem;
}

.c-table--3col tr {
  display: grid;
  grid-template-columns: auto 1fr;
}

.c-table--3col tr:first-child > :not(:last-child) {
  border-top: 4px solid var(--color-border);
}

.c-table--3col td:last-child {
  grid-column: 1 / -1;
}

.c-table__name {
  font-weight: var(--fw-bold);
}

.c-table--3col .c-table__name {
  background: var(--color-white);
  border-bottom: 0;
}

@media screen and (min-width: 768px) {
  .c-table th,
  .c-table td {
    display: table-cell;
    padding: 0.875rem 1.25rem 0.8125rem;
    font-size: var(--fs-18);
    border-bottom: 1px solid var(--color-border);
  }

  .c-table th {
    width: 17.5rem;
  }

  .c-table__link {
    display: inline-flex;
    margin: 0 0 0 1.25rem;
    vertical-align: middle;
  }

  .c-table tr:first-child > * {
    border-top: 4px solid var(--color-border);
  }

  .c-table tr:last-child > * {
    border-bottom-width: 4px;
  }

  .c-table--3col tr {
    display: table-row;
  }

  .c-table--3col th,
  .c-table--3col .c-table__name {
    width: 11.25rem;
    text-align: center;
  }

  .c-table--3col .c-table__name {
    background: none;
    border: 1px solid var(--color-border);
    border-top: 0;
  }

  .c-table--3col tr:first-child .c-table__name {
    border-top: 4px solid var(--color-border);
  }

  .c-table--3col tr:last-child .c-table__name {
    border-bottom-width: 4px;
  }
}

/* Accordion（Figma: 会則。<details> で開閉、JS 不要） ---------------------- */
.c-accordion {
  padding: 1.5rem 1.25rem;
  border: 4px solid var(--color-border);
}

.c-accordion__item {
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--color-border);
}

.c-accordion__item + .c-accordion__item {
  margin-top: 1.25rem;
}

.c-accordion__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.c-accordion__summary {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  line-height: var(--lh-normal);
  list-style: none;
  cursor: pointer;
  transition: opacity var(--transition);
}

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

.c-accordion__summary::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: url("../images/common/icon-plus.svg") no-repeat center / contain;
}

.c-accordion__item[open] > .c-accordion__summary::before {
  background-image: url("../images/common/icon-minus.svg");
}

@media (hover: hover) {
  .c-accordion__summary:hover {
    opacity: var(--hover-opacity);
  }
}

.c-accordion__body {
  margin-top: 0.625rem;
  line-height: 1.8;
}

.c-accordion__body ol,
.c-accordion__body ul {
  padding-left: 1.5em;
}

.c-accordion__body ol {
  list-style: decimal;
}

.c-accordion__body ul {
  list-style: disc;
}

@media screen and (min-width: 768px) {
  .c-accordion {
    padding: 2.5rem;
  }

  .c-accordion__summary {
    font-size: var(--fs-20);
  }
}

/* Accordion bar（Figma: アコーディオン。項目ごとのベージュ帯＋右に開閉アイコン） */
.c-accordion--bar {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0;
  border: 0;
}

.c-accordion--bar .c-accordion__item,
.c-accordion--bar .c-accordion__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.c-accordion--bar .c-accordion__item + .c-accordion__item {
  margin-top: 0;
}

/* 項目どうしは10px。開いた項目の下側だけ間隔を広げる（SP 20px / PC 30px） */
.c-accordion--bar .c-accordion__item[open] {
  margin-bottom: 0.625rem;
}

.c-accordion--bar .c-accordion__item[open]:last-child {
  margin-bottom: 0;
}

.c-accordion--bar .c-accordion__summary {
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  font-size: var(--fs-16);
  letter-spacing: var(--ls-sm);
  line-height: 1.6;
  background: var(--color-beige);
  border: 1px solid var(--color-border);
  border-left-width: 5px;
}

.c-accordion--bar .c-accordion__summary::before {
  content: none;
}

.c-accordion--bar .c-accordion__summary::after {
  content: "";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: url("../images/common/icon-plus-lg.svg") no-repeat center / contain;
}

.c-accordion--bar .c-accordion__item[open] > .c-accordion__summary::after {
  background-image: url("../images/common/icon-minus-lg.svg");
}

@media screen and (min-width: 768px) {
  .c-accordion--bar {
    padding: 0;
  }

  .c-accordion--bar .c-accordion__item[open] {
    margin-bottom: 1.25rem;
  }

  .c-accordion--bar .c-accordion__item[open]:last-child {
    margin-bottom: 0;
  }

  .c-accordion--bar .c-accordion__summary {
    padding: 0.8125rem 1.25rem;
    font-size: var(--fs-18);
  }

  .c-accordion--bar .c-accordion__summary::after {
    width: 1.875rem;
    height: 1.875rem;
  }

  .c-accordion--bar .c-accordion__body {
    font-size: var(--fs-18);
  }
}

/* CTA（Figma: JOIN。inc/join.php） ---------------------------------------- */
.c-cta {
  margin-block: var(--section-space);
  padding-block: var(--section-space);
  color: var(--color-white);
  background:
    linear-gradient(rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.63)),
    url("../images/common/cta-bg.jpg") no-repeat center / cover;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.c-cta__catch {
  margin-top: 1.25rem;
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-sm);
  line-height: 1.6;
}

.c-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.875rem;
}

@media screen and (min-width: 768px) {
  .c-cta {
    width: calc(100% - 6.25rem);
    max-width: var(--container-wide);
    margin-inline: auto;
  }

  .c-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.875rem;
  }

  .c-cta__catch {
    margin-top: 1.75rem;
    font-size: var(--fs-30);
  }

  .c-cta__buttons {
    flex-direction: row;
    gap: 1.3125rem;
    margin: 0 0 1.125rem;
  }
}

/* Policy（個人情報の取り扱い本文。inc/privacy-policy.php） ------------------ */
.c-policy {
  font-size: var(--fs-14);
  line-height: 1.8;
}

.c-policy > * + * {
  margin-top: 0.75rem;
}

.c-policy__heading {
  margin-top: 1.5rem;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
}

.c-policy__list {
  padding-left: 1.5em;
  list-style: disc;
}

.c-policy__list--num {
  list-style: decimal;
}

.c-policy__list li + li {
  margin-top: 0.25rem;
}

.c-policy strong {
  font-weight: var(--fw-bold);
}

.c-policy__date {
  margin-top: 1.5rem;
  text-align: right;
}

@media screen and (min-width: 768px) {
  .c-policy {
    font-size: var(--fs-16);
  }

  .c-policy__heading {
    font-size: var(--fs-18);
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.u-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
