.c-global-nav {
  display: block;
  flex: 1 1 auto;
  margin-left: auto;
  min-width: 0;
}

.c-global-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: nowrap;
}

.c-global-nav__item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 8px;
  color: var(--color-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.c-site-nav {
  display: none;
  min-width: 0;
}

.c-site-nav__toggle {
  display: none;
}

.c-site-nav__panel {
  display: block;
  margin-left: auto;
}

.c-site-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.c-site-nav__item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--color-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.c-breadcrumb {
  position: relative;
  z-index: 1;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-breadcrumb__item {
  position: relative;
  color: #8d8a96;
  font-size: 13px;
  line-height: 1.6;
}

.c-breadcrumb__item + .c-breadcrumb__item {
  padding-left: 14px;
}

.c-breadcrumb__item + .c-breadcrumb__item::before {
  content: ">";
  position: absolute;
  top: 0;
  left: 0;
  color: #b9b6c4;
}

.c-breadcrumb__item a {
  color: inherit;
}

.c-page-hero {
  position: relative;
  padding: 108px 0 40px;
  background: #f2f5ff;
}

.c-page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 54px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--color-bg);
}

.c-page-hero__title {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: #574144;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.c-lined-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.c-lined-title__text {
  margin: 0;
  color: #2f2a2b;
  font-size: 34px;
  line-height: 1.4;
  text-align: center;
}

.c-lined-title::after {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-pink);
}

.c-section-title-pink {
  margin: 0;
  padding: 16px 0;
  background: #ffeaec;
  color: #2f2a2b;
  font-size: 34px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 1em;
  border-radius: 10px;
}

.c-section {
  padding: 112px 0;
}

.c-section__header {
  margin-bottom: 32px;
}

.c-section__header--center {
  text-align: center;
}

.c-section__title {
  color: var(--color-heading);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  word-break: keep-all;
}

.c-outline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 20px 58px 20px 22px;
  border: 2px solid rgba(238, 157, 170, 0.68);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.c-outline-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-pink);
  transform: translateY(-50%);
}

.c-outline-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: translateY(-50%) rotate(45deg);
}

.c-outline-card__title {
  color: #574144;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
}

.c-outline-card__text {
  font-size: 14px;
  line-height: 1.75;
}

.c-department-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.c-department-card__image {
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
}

.c-department-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 26px;
}

.c-department-card__title {
  color: #574144;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
}

.c-department-card__meta {
  color: var(--color-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.c-department-card__text {
  font-size: 15px;
  line-height: 1.95;
}

.c-department-card__action {
  margin-top: auto;
}

.c-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 40px 0 18px;
  border-radius: 999px;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.c-button::after {
  content: "›";
  position: absolute;
  right: 16px;
  font-size: 16px;
}

.c-news-list {
  border-top: 1px solid var(--color-line);
}

.c-news-list__item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}

.c-news-list__date {
  font-size: 15px;
  line-height: 1.5;
}

.c-news-list__link {
  color: #4d507b;
  font-size: 16px;
  line-height: 1.75;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.c-text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4d507b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.c-text-link::before {
  content: "›";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 15px;
}

.c-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.c-footer-nav__title {
  margin-bottom: 18px;
  color: var(--color-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.c-footer-nav__list {
  display: grid;
  gap: 10px;
}

.c-footer-nav__item a {
  color: var(--color-heading);
  font-size: 14px;
  line-height: 1.8;
}

.c-pagetop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
}

.c-pagetop a {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 1199px) {
  .c-global-nav__list {
    gap: 12px;
  }

  .c-global-nav__item a {
    font-size: 14px;
  }

  .c-section {
    padding: 88px 0;
  }

  .c-section__title {
    font-size: 44px;
  }

  .c-page-hero__title {
    font-size: 44px;
  }

  .c-lined-title__text {
    font-size: 34px;
  }

  .c-outline-card__title {
    font-size: 20px;
  }

  .c-department-card__title {
    font-size: 24px;
  }

  .c-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .c-global-nav {
    display: none;
  }

  body:has(.c-site-nav[open]) {
    overflow: hidden;
  }

  .c-site-nav {
    display: block;
    position: static;
    margin-left: auto;
  }

  .c-site-nav__toggle {
    display: grid;
    place-items: center;
    position: relative;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--color-pink);
    outline: 0;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    list-style: none;
  }

  .c-site-nav__toggle::-webkit-details-marker {
    display: none;
  }

  .c-site-nav__toggle-line,
  .c-site-nav__toggle-line::before,
  .c-site-nav__toggle-line::after {
    display: block;
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: var(--color-white);
  }

  .c-site-nav__toggle-line {
    position: relative;
  }

  .c-site-nav__toggle-line::before,
  .c-site-nav__toggle-line::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .c-site-nav__toggle-line::before {
    top: -7px;
  }

  .c-site-nav__toggle-line::after {
    top: 7px;
  }

  .c-site-nav[open] .c-site-nav__toggle {
    position: relative;
    top: auto;
    right: auto;
    z-index: 160;
    background: var(--color-pink);
  }

  .c-site-nav[open] .c-site-nav__toggle-line {
    width: 22px;
    height: 22px;
    background: transparent;
  }

  .c-site-nav[open] .c-site-nav__toggle-line::before,
  .c-site-nav[open] .c-site-nav__toggle-line::after {
    top: 50%;
    width: 24px;
    background: var(--color-white);
  }

  .c-site-nav[open] .c-site-nav__toggle-line::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .c-site-nav[open] .c-site-nav__toggle-line::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .c-site-nav__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 24px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .c-site-nav:not([open]) .c-site-nav__panel {
    display: none;
  }

  .c-site-nav[open] .c-site-nav__panel {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 140;
    width: auto;
    max-width: 100%;
    max-height: calc(100dvh - 76px);
    padding: 8px 0 18px;
    border-top: 1px solid #ece7e8;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    animation: c-site-nav-panel-in 0.24s ease both;
  }

  .c-site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .c-site-nav[open] .c-site-nav__list {
    gap: 0;
  }

  .c-site-nav[open] .c-site-nav__item {
    width: auto;
    max-width: 100%;
  }

  .c-site-nav__item a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--color-bg);
    font-size: 14px;
  }

  .c-site-nav[open] .c-site-nav__item a {
    position: relative;
    display: flex;
    width: auto;
    min-width: 0;
    align-self: stretch;
    min-height: 58px;
    padding: 0 42px 0 24px;
    box-sizing: border-box;
    border-radius: 0;
    border-bottom: 1px solid #e7e2e3;
    background: transparent;
    color: #574144;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
  }

  .c-site-nav[open] .c-site-nav__item a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-pink);
    border-right: 2px solid var(--color-pink);
    transform: translateY(-50%) rotate(45deg);
  }

  @keyframes c-site-nav-panel-in {
    from {
      opacity: 0;
      transform: translateX(24px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .c-section {
    padding: 52px 0;
  }

  .c-breadcrumb__list {
    gap: 4px 8px;
  }

  .c-breadcrumb__item {
    font-size: 12px;
    line-height: 1.83;
  }

  .c-breadcrumb__item + .c-breadcrumb__item {
    padding-left: 12px;
  }

  .c-page-hero {
    padding: 80px 0 40px;
  }

  .c-page-hero::after {
    height: 24px;
  }

  .c-page-hero__title {
    margin-top: 24px;
    font-size: 24px;
    line-height: 1.5;
  }

  .c-lined-title {
    gap: 10px;
  }

  .c-lined-title__text {
    font-size: 18px;
    line-height: 1.5;
  }

  .c-section-title-pink {
    font-size: 18px;
  }

  .c-lined-title::after {
    width: 24px;
    height: 3px;
  }

  .c-section__header {
    margin-bottom: 18px;
  }

  .c-section__title {
    font-size: 24px;
    line-height: 1.5;
  }

  .c-outline-card {
    min-height: 0;
    padding: 14px 48px 14px 14px;
  }

  .c-outline-card::after {
    right: 14px;
    width: 18px;
    height: 18px;
  }

  .c-outline-card::before {
    right: 20px;
    width: 4px;
    height: 4px;
  }

  .c-outline-card__title {
    font-size: 16px;
  }

  .c-outline-card__text {
    font-size: 11px;
    line-height: 1.7;
  }

  .c-department-card__body {
    gap: 8px;
    padding: 16px 12px 18px;
  }

  .c-department-card__title {
    font-size: 18px;
  }

  .c-department-card__meta {
    font-size: 11px;
    line-height: 1.6;
  }

  .c-department-card__text {
    font-size: 11px;
    line-height: 1.8;
  }

  .c-button {
    min-height: 34px;
    padding: 0 30px 0 14px;
    font-size: 10px;
    white-space: normal;
  }

  .c-button::after {
    right: 12px;
    font-size: 12px;
  }

  .c-news-list__item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .c-news-list__date {
    font-size: 11px;
  }

  .c-news-list__link {
    font-size: 12px;
    line-height: 1.8;
  }

  .c-text-link {
    font-size: 12px;
  }

  .c-text-link::before {
    width: 18px;
    height: 18px;
    font-size: 12px;
  }

  .c-footer-nav {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .c-footer-nav__group {
    padding: 16px 12px 12px;
    border-radius: 12px;
    background: var(--color-white);
  }

  /* .c-footer-nav__group:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    background: transparent;
    border-radius: 0;
  } */

  .c-footer-nav__title {
    position: relative;
    margin-bottom: 12px;
    padding-left: 12px;
    font-size: 14px;
  }

  .c-footer-nav__title::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-pink);
    transform: translateY(-50%);
  }

  .c-footer-nav__item a {
    position: relative;
    display: block;
    padding: 10px 18px 10px 0;
    border-bottom: 1px solid #ececf6;
    font-size: 13px;
    line-height: 1.7;
  }

  .c-footer-nav__item a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--color-pink);
    border-right: 1.5px solid var(--color-pink);
    transform: translateY(-50%) rotate(45deg);
  }

  .c-footer-nav__group:last-child .c-footer-nav__title {
    display: none;
  }

  .c-footer-nav__group:last-child .c-footer-nav__list {
    display: contents;
  }

  .c-footer-nav__group:last-child .c-footer-nav__item a {
    padding: 0;
    border-bottom: 0;
    font-size: 14px;
  }

  .c-footer-nav__group:last-child .c-footer-nav__item a::after {
    display: none;
  }

  .c-pagetop {
    right: 12px;
    bottom: 12px;
  }

  .c-pagetop a {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
}
