/*!
global
------------------------------
*/
:root {
  --color-white: #ffffff; /* 白 */
  --color-black: #151b22; /* 見出し・強い文字 */
  --color-gray: #333b45; /* 本文 */
  --color-primary: #d6287a; /* ブランド色 */
  --color-primary-soft: #f8d5e6; /* ブランドの淡色 */
  --color-gray-light: #dfe6ed; /* 罫線 */
  --color-gray-muted: #64748b; /* 補助文字 */
  --color-gray-lighter: #f1f5f9; /* カード・面背景 */
  --color-black-deep: #111827; /* フッター背景 */
  --font-family-base: "Noto Sans JP", system-ui, sans-serif;
  --font-family-accent: "Inter", sans-serif;
  --container-width: 1000px;
  --container-width-l: 1360px;
  --container-width-s: 800px;
  --header-height-desktop: 86px;
  --header-height-mobile: 68px;
}

/*!
foundation
------------------------------
*/
html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-gray);
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

/*!
layout: 共通コンテナ
------------------------------
*/
.l-container {
  width: min(calc(100% - 64px), var(--container-width));
  margin-inline: auto;
}

@media (max-width: 767px) {
  .l-container {
    width: min(calc(100% - 36px), var(--container-width));
  }
}

.l-grid-pc-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.l-grid-pc-2--start {
  align-items: start;
}

@media (max-width: 767px) {
  .l-grid-pc-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/*!
layout: ヘッダー
------------------------------
*/
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-light);
}

/*!
layout: 固定ヘッダー補正
------------------------------
*/
body {
  padding-top: var(--header-height-desktop);
}

/*!
layout: ヘッダー内部
------------------------------
*/
.l-header-inner {
  width: min(calc(100% - 72px), var(--container-width-l));
  height: var(--header-height-desktop);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.l-header-brand {
  width: 180px;
  flex: 0 0 auto;
}

.l-header-brand img {
  width: 100%;
  display: block;
}

.l-header-nav {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 28px;
  color: var(--color-black);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.l-header-nav a {
  transition: color 0.2s ease;
}

.l-header-nav a:hover {
  color: var(--color-primary);
}

.l-header-contact--mobile {
  display: none;
}

.l-header-nav .l-header-contact.c-button:hover {
  color: var(--color-white);
}

.l-header-menu-button {
  display: none;
}

.l-header-actions {
  display: none;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

@media (max-width: 1024px) {
  .l-header-inner {
    width: min(calc(100% - 72px), var(--container-width-l));
    height: var(--header-height-desktop);
    gap: 32px;
    justify-content: space-between;
  }

  .l-header-menu-button {
    width: 36px;
    height: 36px;
    position: relative;
    display: inline-grid;
    place-items: center;
    color: var(--color-primary);
    cursor: pointer;
    overflow: hidden;
  }

  .l-header-actions {
    display: flex;
  }

  .l-header-menu-button-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition:
      opacity 0.2s ease,
      scale 0.2s ease;
  }

  .l-header-menu-button-graphic {
    font-size: 28px;
    width: 1em;
    height: 1em;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: hidden;
  }

  .l-header-menu-button-icon--menu {
    opacity: 1;
    scale: 1;
  }

  .l-header-menu-button-icon--close {
    opacity: 0;
    scale: 0.85;
  }

  .l-header-menu-button-icon--hidden {
    opacity: 0;
    scale: 0.85;
  }

  .l-header-menu-button-icon--shown {
    opacity: 1;
    scale: 1;
  }

  .l-header-contact--mobile.c-button {
    display: inline-grid;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .l-header-nav .l-header-contact.c-button {
    display: none;
  }

  .l-header-nav {
    position: fixed;
    top: var(--header-height-desktop);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: calc(100dvh - var(--header-height-desktop));
    padding-inline: 32px;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-light);
    overflow-y: auto;
  }

  .l-header-nav.is-open {
    display: flex;
  }

  .l-header-nav a {
    padding-block: 18px;
    border-bottom: 1px solid var(--color-gray-light);
  }
}

@media (max-width: 767px) {
  .l-header-inner {
    width: min(calc(100% - 36px), var(--container-width-l));
    height: var(--header-height-mobile);
  }

  body {
    padding-top: var(--header-height-mobile);
  }

  .l-header-brand {
    width: 120px;
  }

  .l-header-nav {
    top: var(--header-height-mobile);
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(100dvh - var(--header-height-mobile));
    padding-inline: 20px;
  }

  .l-header-nav a {
    padding-block: 18px;
  }

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

/*!
layout: フッター
------------------------------
*/
.l-footer {
  padding: 70px 0 32px;
  color: var(--color-white);
  background-color: var(--color-black-deep);
  background-image: linear-gradient(
    135deg,
    var(--color-black-deep) 0%,
    color-mix(in srgb, var(--color-black-deep) 86%, black) 100%
  );
}

.l-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.l-footer-brand {
  display: block;
  width: 180px;
  margin: 24px 0 16px;
}

.l-footer-brand img {
  width: 100%;
  display: block;
}

.l-footer-nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: start;
  gap: clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px);
}

.l-footer-nav-group {
  display: grid;
  align-content: start;
  min-width: 0;
  row-gap: 12px;
}

.l-footer-link {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: color 0.2s ease;
}

.l-footer-link:hover {
  color: var(--color-white);
}

.l-footer-link--external {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
}

.l-footer-link-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.l-footer-external-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  font-size: 16px;
}

.l-footer-copyright {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-family-accent);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 767px) {
  .l-footer-brand {
    width: 136px;
  }

  .l-footer-nav {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .l-footer-nav-group {
    row-gap: 12px;
  }

}

/*!
utility
------------------------------
*/
.u-text-center {
  text-align: center !important;
}

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

/*!
component: ボタン
------------------------------
*/
.c-button {
  padding: 12px 24px;
  display: inline-grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 12px;
  width: fit-content;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

@media (max-width: 767px) {
  .c-button {
    padding: 10px 16px;
    font-size: 14px;
  }
}

.c-button-label {
  grid-column: 2;
  justify-self: center;
}

.c-button-icon {
  grid-column: 3;
  justify-self: end;
  width: 1.125em;
  height: 1.125em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-button-icon--back {
  grid-column: 1;
  justify-self: start;
}

.c-button--wide {
  width: 100%;
}

.c-button--outline {
  color: var(--color-primary);
  background: var(--color-white);
  border: 1.5px solid var(--color-primary);
}

.c-button--outline:hover {
  color: var(--color-white);
  background: var(--color-primary);
}

.c-button--primary {
  color: var(--color-white);
  background-color: var(--color-primary);
  background-image: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary) 84%, white) 0%,
    var(--color-primary) 100%
  );
}

.c-button--primary:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
  background-image: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    color-mix(in srgb, var(--color-primary) 78%, black) 100%
  );
}

.c-button--sm {
  padding: 6px 12px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .c-button--sm {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/*!
component: パンくず
------------------------------
*/
.c-breadcrumb {
  position: relative;
  z-index: 1;
  display: block;
  margin-block: 4px;
  min-width: 0;
  overflow: hidden;
  color: var(--color-gray-muted);
  font-size: 12px;
}

.c-breadcrumb > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.c-breadcrumb > span > span {
  min-width: 0;
}

.c-breadcrumb a,
.c-breadcrumb-current-item {
  min-width: 0;
  white-space: nowrap;
}

.c-breadcrumb a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--color-gray-muted);
  transition: color 0.2s ease;
}

.c-breadcrumb-current-item {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb_last {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c-breadcrumb a:hover {
  color: var(--color-primary);
}

.c-breadcrumb-divider {
  flex: 0 0 auto;
  flex-shrink: 0;
  color: var(--color-gray-muted);
  font-size: 1.25em;
  line-height: 0.65;
}

@media (max-width: 767px) {
  .c-breadcrumb {
    gap: 5px;
    font-size: 11px;
  }
}

/*!
component: セクション見出し
------------------------------
*/
.c-section-label {
  color: var(--color-primary);
  font-family: var(--font-family-accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/*!
component: お知らせ一覧
------------------------------
*/
.c-news-item {
  width: 100%;
  display: grid;
  grid-template-columns: 92px minmax(92px, 148px) minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding-block: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-light);
}

.c-news-date {
  color: var(--color-gray-muted);
  font-family: var(--font-family-accent);
  font-size: 12px;
  white-space: nowrap;
}

.c-news-label {
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  padding: 2px 8px;
  color: var(--color-gray-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--color-gray-lighter);
  border-radius: 6px;
}

.c-news-title {
  grid-column: 3;
}

.c-news-title-link {
  display: block;
  color: var(--color-black);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.c-news-title-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .c-news-item {
    padding-block: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
  }

  .c-news-date {
    line-height: 1.5;
  }

  .c-news-label {
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
  }

  .c-news-title {
    flex: 0 0 100%;
  }
}

/*!
component: ページネーション
------------------------------
*/
.c-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.c-pagination-item {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--color-primary);
  font-family: var(--font-family-accent);
  font-weight: 700;
  border: 1px solid rgba(214, 40, 122, 0.26);
  border-radius: 50%;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.c-pagination-item--prev,
.c-pagination-item--next {
  position: relative;
  color: var(--color-primary);
}

.c-pagination-item--prev::before,
.c-pagination-item--next::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  display: block;
  background-color: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.c-pagination-item--prev::before {
  -webkit-mask-image: url("../icons/arrow-back.svg");
  mask-image: url("../icons/arrow-back.svg");
}

.c-pagination-item--next::before {
  -webkit-mask-image: url("../icons/arrow-forward.svg");
  mask-image: url("../icons/arrow-forward.svg");
}

a.c-pagination-item--prev:hover,
a.c-pagination-item--next:hover,
a.c-pagination-item--prev:focus-visible,
a.c-pagination-item--next:focus-visible {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

a.c-pagination-item:hover,
a.c-pagination-item:focus-visible,
.c-pagination-item.is-current {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.c-pagination-numbers {
  display: flex;
  gap: 8px;
}

.c-pagination-current-sp {
  display: none;
}

@media (max-width: 767px) {
  .c-pagination {
    gap: 8px;
    margin-top: 40px;
  }

  .c-pagination-numbers {
    display: none;
  }

  .c-pagination-current-sp {
    display: inline-flex;
  }

  .c-pagination-item {
    width: 40px;
    height: 40px;
  }
}

/*!
component: 下層ページタブ
------------------------------
*/
.c-subpage-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
  margin-bottom: 72px;
}

.c-subpage-tab {
  padding: 12px 12px 12px 16px;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  color: var(--color-primary);
  font-size: clamp(15px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--color-white);
  border: 1px solid rgba(214, 40, 122, 0.4);
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.c-subpage-tab::after {
  content: "";
  display: block;
  width: 0.56em;
  height: 0.56em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
}

.c-subpage-tab:hover,
.c-subpage-tab--current {
  color: var(--color-white);
  background: var(--color-primary);
}

@media (max-width: 767px) {
  .c-subpage-tabs {
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
    gap: 16px;
  }

  .c-subpage-tab {
    padding: 10px 12px 10px 16px;
  }
}

/*!
component: 下層ページ見出し
------------------------------
*/
.c-subpage-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 250px;
  overflow: hidden;
  padding: 0;
  background: var(--color-gray-lighter);
}

.c-subpage-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: max(20px, calc((100vw - var(--container-width)) / 2 + 20px));
  width: 300px;
  height: 250px;
  background: url("../images/subpage-header-bg-item.png") center / contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.c-subpage-header-inner {
  position: relative;
  z-index: 1;
}

.c-subpage-header-title {
  color: var(--color-black);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .c-subpage-header {
    min-height: 200px;
  }

  .c-subpage-header::after {
    content: none;
  }

  .c-subpage-header-title {
    font-size: 28px;
    line-height: 1.5;
  }
}

/*!
component: 下層ページセクション
------------------------------
*/
.c-subpage-section {
  padding-block: 72px;
  background: var(--color-white);
}

.c-subpage-section-title {
  margin: 0 0 32px;
  color: var(--color-black);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .c-subpage-section {
    padding-block: 40px;
  }

  .c-subpage-section-title {
    font-size: 24px;
    line-height: 1.4;
  }
}
