@charset "UTF-8";

/* ========== Base / Modern Reset (2025 slim) ========== */

/* Box sizing */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Lists */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Media */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Tables */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Forms: keep native usability, inherit fonts */

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Buttons */

button {
  cursor: pointer;
}

/* Links */

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
  cursor: pointer;
}

a:hover {
  opacity: 0.85;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Root / Typography */

:root {
  font-size: 100%;
  line-height: 1.5;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;

  --header-h: 110px;
  --header-inner-h: 68px;
  --page-pad: clamp(14px, 2vw, 22px);

  --text-black: #000;
  --text-heavykgray: #111;
  --text-thickgray: #222;
  --text-darkgray: #333;
  --text-lightgray: #666;
  --text-gray: #707070;
  --text-white: #fff;

  --fs-hero-title: clamp(1.725rem, 2.6vw, 2.5rem);
  --fw-hero-title: 700;
  --lh-hero-title: 1.45;
  --ls-hero-title: 3px;

  --fs-hero-copy: clamp(1rem, 1.6vw, 1.25rem);
  --fw-hero-copy: 500;
  --lh-hero-copy: 1.7;

  --fs-section-title: clamp(1.725rem, 2.6vw, 2.5rem);
  --fw-section-title: 700;
  --lh-section-title: 1.45;
  --ls-section-title: 2px;

  --fs-content-default: clamp(1rem, 1.4vw, 1.125rem);
  --fw-content-default: 500;
  --fw-content-default-b: 700;
  --lh-content-default: 1.9;
  --ls-content-default: 1.5px;

  --fs-heading-30: clamp(1.375rem, 2.6vw, 1.875rem);
  --fw-heading-30: 700;
  --lh-heading-30: 1.466;
  --ls-heading-30: 1.5px;

  --fs-heading-24: clamp(1.325rem, 2.6vw, 1.5rem);
  --fw-heading-24: 700;
  --lh-heading-24: 1.458;
  --ls-heading-24: 1.5px;

  --fs-date: 0.875rem;
  --fw-date: 400;

  --fs-tag: 0.6875rem;
  --fw-tag: 600;

  --fs-cta-header: 0.875rem;
  --fw-cta-header: 400;

  --fs-nav-global: 0.875rem;
  --fw-nav-global: 400;

  --fs-nav-global-all: 1rem;
  --fw-nav-global-all: 400;

  --fs-nav-search-title: 0.875rem;
  --fw-nav-search-title: 400;

  --fs-nav-search-input: 0.875rem;
  --fw-nav-search-input: 400;

  --fs-nav-search-close: 0.875rem;
  --fw-nav-search-close: 400;

  --fs-bc: 0.6875rem;
  --fw-bc: 600;

  --fs-nav-footer: 0.875rem;
  --fw-nav-footer: 400;

  --fs-copyright: 0.875rem;
  --fw-copyright: 400;

  --fs-cta-top: 1.25rem;
  --fw-cta-top: 600;

  --fs-figcaption: 1.25rem;
  --fw-figcaption: 500;
  --lh-figcaption: 1.5;
  --ls-figcaption: 1.5px;

  --fs-button-card-more: 0.875rem;
  --fw-button-card-more: 600;

  --fs-button-more: 0.875rem;
  --fw-button-more: 600;
  --ls-button-more: 1px;

  --fs-button-related: 1.25rem;
  --fw-button-related: 500;
  --ls-button-related: 1px;
  --lh-button-related: 1.35;

  --arrow-more-card: 10px;

  --btn-bg: #1e264b;
  --btn-bg-hover: #232c57;
  /* 他のボタン揃える */

  --narrow-text-w: min(860px, 100%);
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200..900&display=swap');

body {
  min-height: 100vh;
  padding-top: var(--header-h, 0px);
  background: #fff;
  font-family:
    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-kerning: normal;
  font-feature-settings: 'palt' 1;
  color: var(--text-gray);
}

/* Reduce motion for accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print */

@media print {
  @page {
    size: 1024px 1366px;
    margin: 0;
  }

  html,
  body {
    width: 1024px;
    height: 1366px;
    margin: 0;
    padding: 0;
  }

  :root {
    font-size: 16px;
    --page-pad: 22px;
  }

  body {
    color: var(--text-black);
    padding-top: 0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header {
    position: static !important;
  }

  .global-nav--desktop {
    position: static !important;
  }

  main {
    margin-top: 0 !important;
  }

  a,
  a:link,
  a:visited {
    text-decoration: none;
    color: var(--text-black);
  }

  a[href]::before,
  a[href]::after {
    content: '' !important;
  }

  .btn,
  .btn--primary,
  .btn--contact,
  .related-btn,
  .content-card__link {
    border: 1px solid var(--text-black);
  }

  .site-header__cta,
  .top-cta__inner a,
  .section__cta .btn--primary,
  .btn--contact,
  .related-btn {
    color: var(--text-white) !important;
    background-color: #1f2b57 !important;
  }

  .footer-nav__list,
  .footer-nav__list a,
  footer,
  .copyright {
    color: var(--text-white) !important;
  }

  .related-btn__icon {
    background: #fff !important;
  }
}

/* Skip Link - SR (Screen Reader) */

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-120%);
  pointer-events: none;
  padding: 8px 12px;
  background: #000;
  z-index: 10000;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s ease;
  font-size: 0.875rem;
  color: var(--text-white);
}

.skip-link:focus,
.skip-link:focus-visible {
  pointer-events: auto;
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7000;
  isolation: isolate;
  pointer-events: auto;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  background: #fff;
}

.site-header,
.site-header * {
  pointer-events: auto;
}

/* Header Inner */

.site-header__inner {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--header-inner-h, 68px);
  padding-block: 12px;
  padding-inline: var(--page-pad);
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-bottom: 12px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__brand img {
  display: block;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 44px;
  border-radius: 20px;
  background-color: #1f2b57;
  font-size: var(--fs-cta-header);
  font-weight: var(--fw-cta-header);
  color: var(--text-white);
}

.site-header__menuToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #1f2b57;
}

@media (max-width: 560px) {
  .site-header__brand {
    display: block;
    width: 204px;
  }

  .site-header__brand img {
    width: 100%;
  }

  .site-header__brand img[alt='日本財団'] {
    margin-top: 8px;
  }
}

/* Global Navigation */

.global-nav--desktop {
  position: relative;
  z-index: 7100;
  background-color: #1f2b57;
  text-align: center;
}

.global-nav--desktop a {
  color: var(--text-white);
}

.global-nav--desktop a[href*='/research/'] {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  background-color: #3983ce;
  line-height: 1.1;
}

.global-nav__list {
  display: inline-flex;
  gap: 25px;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: var(--fs-nav-global);
  font-weight: var(--fw-nav-global);
}

/* ==============================
   Global menu animation
============================== */

body:not(.is-menu-open) #global-menu.global-menu {
  display: none !important;
}

body.is-menu-open #global-menu.global-menu {
  display: block !important;
}

/* Toggle Menu Icon */

.menuToggle__icon--close {
  display: none;
}
body.is-menu-open .menuToggle__icon--open {
  display: none;
}
body.is-menu-open .menuToggle__icon--close {
  display: block;
}

/* Menu */
/* ===== global-menu base ===== */

.global-menu[hidden] {
  display: none;
}

.global-menu {
  background: #fff;
  will-change: transform, opacity, max-height;
  color: var(--text-heavykgray);
}

#global-menu.global-menu {
  z-index: 6900;
}

.global-menu__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: var(--page-pad);
  padding-block: 24px 40px;
}

.global-menu__search {
  margin-top: 60px;
  margin-bottom: 32px;
  text-align: center;
}

.global-menu__searchLabel {
  max-width: 520px;
  margin: 0 auto;
  margin-bottom: 8px;
  font-size: var(--fs-nav-search-title);
  font-weight: var(--fw-nav-search-title);
  text-align: left;
  color: var(--text-lightgray);
}

.site-search {
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
  height: 44px;
}

.site-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 1px solid #bbb;
  padding: 0 12px;
  font-size: var(--fs-nav-search-input);
}

.site-search button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  background: #111c4f;
  cursor: pointer;
}

.global-menu__heading {
  margin: 0 auto 16px;
  max-width: 1200px;
}

.global-menu__headingLabel {
  margin-bottom: 6px;
  font-size: var(--fs-nav-search-title);
  text-align: left;
  color: var(--text-lightgray);
}

.global-menu__rule {
  border: 0;
  border-top: 2px solid #d9d9d9;
  margin: 0;
}

/* Menu PC */

@media (min-width: 981px) {
  .global-menu {
    position: fixed;
    top: var(--header-h, 0px);
    left: 0;
    right: 0;
    z-index: 6900;
    border-top: 1px solid #e6e6e6;
    background: #fff;
    transform: translateY(-8px);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      max-height 0.45s ease,
      transform 0.45s ease,
      opacity 0.35s ease;
  }

  body.is-menu-open .global-menu {
    transform: translateY(0);
    opacity: 1;
    max-height: 70vh;
    pointer-events: auto;
  }

  .global-menu__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 0;
    margin-top: 10px;
  }

  .global-menu__list li {
    border-bottom: 1px solid #e5e5e5;
  }

  .global-menu__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: var(--fs-nav-global-all);
    font-weight: var(--fw-nav-global-all);
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--text-thickgray);
  }

  .global-menu__list a::after {
    content: '>';
    display: inline-block;
    transform: scaleY(1.5);
    opacity: 0.7;
    margin-left: 8px;
  }

  .global-nav-close {
    display: block;
    margin: 36px auto 0;
    padding: 12px 56px;
    border-radius: 999px;
    background: #111c4f;
    border: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-white);
  }
}

/* Menu SP */

@media (max-width: 980px) {
  .site-header__cta {
    display: none;
  }

  .global-nav--desktop {
    display: none;
  }

  .global-menu {
    position: fixed;
    top: var(--header-inner-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    height: calc(100dvh - var(--header-inner-h));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    transition:
      transform 0.45s ease,
      opacity 0.35s ease;
  }

  #global-menu.global-menu {
    top: var(--header-inner-h, var(--header-h, 0px));
    height: calc(100dvh - var(--header-inner-h, var(--header-h, 0px)));
  }

  body.is-menu-open .global-menu {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .global-menu__search {
    margin-top: 0;
    margin-bottom: 18px;
    text-align: left;
  }

  .global-menu__searchLabel {
    max-width: 100%;
  }

  .site-search {
    max-width: 100%;
    height: 48px;
  }

  .global-menu__list {
    display: block;
    margin-top: 8px;
  }

  .global-menu__list li {
    border-bottom: 1px solid #e5e5e5;
  }

  .global-menu__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-darkgray);
    text-decoration: none;
  }

  .global-menu__list a::after {
    content: '>';
    display: inline-block;
    transform: scaleY(1.6);
    opacity: 0.7;
    margin-left: 8px;
  }

  .global-nav-close {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;

    display: block;
    width: fit-content;
    margin: 24px auto 16px;
    padding: 12px 56px;
    border-radius: 999px;
    background: #111c4f;
    border: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    font-size: var(--fs-nav-search-close);
    font-weight: var(--fw-nav-search-close);
    color: var(--text-white);
  }
}

/* Breadcrumb */

.breadcrumb {
  background: #03939f;
  font-size: var(--fs-bc);
  font-weight: var(--fw-bc);
  color: var(--text-white);
}

.breadcrumb__list {
  display: flex;
  gap: 1rem;
  margin: 0 auto;
  padding: 15px 20px;
  max-width: 870px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '〉';
  display: inline-block;
  transform: translateY(-0.02em);
  margin: 0 0.6rem 0 0;
  font-weight: 100;
}

.breadcrumb__item a {
  color: var(--text-white);
}

/* Footer */

footer {
  padding: 20px 0 60px 0;
  background-color: #1f2b57;
  text-align: center;
}

.footer-nav__list {
  display: inline-flex;
  gap: 30px;
  margin-bottom: 60px;
  font-size: var(--fs-nav-footer);
  font-weight: var(--fw-nav-footer);
  color: var(--text-white);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__brand img {
  width: 204px;
}

.copyright {
  display: block;
  padding-top: 15px;
  font-size: var(--fs-copyright);
  font-weight: var(--fw-copyright);
  color: var(--text-white);
}

@media (max-width: 414px) {
  .footer-nav__list {
    display: block;
    width: 100%;
  }

  .footer-nav__list li {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Hero */

.hero {
  display: grid;
  position: relative;
  z-index: 0;
  place-items: center;
  padding-inline: var(--page-pad);
  padding-block: clamp(24px, 4vw, 60px);
  min-height: clamp(160px, 16vw, 280px);
  background-color: #1f2b57;
  text-align: center;
  color: var(--text-white);
}

body.home .hero,
body.front-page .hero,
body.post-type-archive-download .hero,
body.single-download .hero {
  background-image: url('../img/bg-blue.png');
  background-repeat: repeat;
}

body.page-template-page-mission-php .hero,
body.page-template-page-english-php .hero {
  background-image: url('../img/bg-green.png');
  background-repeat: repeat;
}

body.page-template-page-education-php .hero,
body.page-template-page-about-php .hero {
  background-image: url('../img/bg-orange.png');
  background-repeat: repeat;
}

body.post-type-archive-evidence .hero,
body.single-evidence .hero,
body.page-template-page-terms-php .hero {
  background-image: url('../img/bg-brown.png');
  background-repeat: repeat;
}

body.post-type-archive-cases .hero,
body.single-cases .hero {
  background-image: url('../img/bg-pblue.png');
  background-repeat: repeat;
}

body.page-template-page-reserch-php .hero {
  background-image: url('../img/bg-pgreen.png');
  background-repeat: repeat;
}

body.page-template-page-collab-php .hero {
  background-image: url('../img/bg-pink.png');
  background-repeat: repeat;
}

body.post-type-archive-news .hero,
body.single-news .hero {
  background-image: url('../img/bg-sky.png');
  background-repeat: repeat;
}

#hero-title {
  margin: 0;
  font-size: var(--fs-hero-title);
  font-weight: var(--fw-hero-title);
  line-height: var(--lh-hero-title);
  letter-spacing: var(--ls-hero-title);
  text-wrap: balance;
}

.hero-title-top {
  margin-bottom: 0;
}

.hero p {
  margin-bottom: 0;
  font-size: var(--fs-hero-copy);
  font-weight: var(--fw-hero-copy);
  line-height: var(--lh-hero-copy);
  letter-spacing: 1px;
  color: var(--text-white);
}

/* Top CTA */

.top-cta {
  background-color: #cce7e9;
}

.top-cta__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px;
}

.top-cta__inner a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 calc((100% - 64px) / 3);
  min-width: 0;
  max-width: 340px;
  height: 108px;
  min-height: 108px;
  padding-inline: 16px;
  border-radius: 54px;
  background-color: #1f2b57;
  font-size: var(--fs-cta-top);
  font-weight: var(--fs-cta-top);
  color: var(--text-white);
  box-shadow: 0 10px 18px rgba(31, 43, 87, 0.25);
}

@media (max-width: 900px) {
  .top-cta__inner {
    gap: 20px;
  }

  .top-cta__inner a {
    padding-inline: 12px;
    font-size: calc(var(--fs-cta-top) * 0.85);
  }
}

@media (max-width: 640px) {
  .top-cta__inner {
    flex-direction: column;
    max-width: 540px;
  }

  .top-cta__inner a {
    width: 100%;
    max-width: 520px;
    height: auto;
    min-height: 104px;
    padding-block: 18px;
    border-radius: 52px;
  }
}

/* =========================
   Common : Section
========================= */

.content__inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--page-pad, clamp(14px, 2vw, 22px));
}

.content__1c,
.content__2c_zz,
.content__2c_imgtext_v,
.content__3c_imgtext,
.content__1c_text,
.content__1c_collab,
.content__1c-research {
  padding-block: clamp(36px, 5vw, 68px);
}

.gray {
  background: #f4f4f4;
}

.gray:has(+ .gray) {
  padding-block-end: 20px;
}

section:where(:not(.gray)) + section:where(:not(.gray, .top-cta)) {
  border-top: 10px solid #f4f4f4;
}

.top-cta + section {
  border-top: 0;
}

.section-title {
  margin-bottom: 40px;
  font-size: var(--fs-section-title);
  font-weight: var(--fw-section-title);
  text-align: center;
  letter-spacing: var(--ls-section-title);
  color: var(--text-gray);
}

section p {
  margin-bottom: 50px;
  font-size: var(--fs-content-default);
  font-weight: var(--fw-content-default);
  line-height: var(--lh-content-default);
  letter-spacing: var(--ls-content-default);
  color: var(--text-gray);
}

#main p a {
  text-decoration: underline;
}

section li {
  margin-bottom: 0.8rem;
  font-size: var(--fs-content-default);
  font-weight: var(--fw-content-default);
  line-height: var(--lh-content-default);
  letter-spacing: var(--ls-content-default);
  color: var(--text-gray);
}

section ol li {
  list-style: decimal inside;
}

/* Images / Video */

.content-img__1c,
.content-img__3c img,
.contents__2c_zz_row img,
.feature-card__figure img,
.content-card__figure img,
.content__2c_imgtext_v figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.video {
  margin-bottom: clamp(40px, 3vw, 60px);
}

.video iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

.content-grid--video .content-card__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 20px;
  background: #000;
  overflow: hidden;
}

.content-grid--video .content-card__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.content-card__figure--bg {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px !important;
}

/* =========================
   1 Column
========================= */

.content__1c .content__inner > h2,
.content__1c .content__inner > h3,
.content__1c .content__inner > p,
.content__1c .content__inner > ul {
  max-width: var(--narrow-text-w);
  margin-inline: auto;
}

.content__1c_text .content__inner > p {
  max-width: var(--narrow-text-w);
  margin-inline: auto;
}

.content__1c .content__inner > p:last-of-type {
  margin-bottom: 0;
}

/* Image-to-paragraph spacing only when directly adjacent */
.content__1c .content__inner :is(img, figure) + p {
  margin-top: 3em;
}

/* =========================
   1 Column : Text + Wide Image
========================= */

.content-img__1c {
  margin-top: 16px;
}

/* =========================
   3 Column Image
========================= */

.content-img__3c {
  margin-block: 18px 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

@media (max-width: 560px) {
  .content-img__3c {
    grid-template-columns: 1fr;
  }
}

/* =========================
   2 Column ZigZag
========================= */

.contents__2c_zz_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  margin-top: clamp(18px, 3vw, 30px);
}

.contents__2c_zz_row p {
  margin: 0;
}

@media (max-width: 560px) {
  .contents__2c_zz_row {
    grid-template-columns: 1fr;
  }

  .contents__2c_zz_row img {
    order: -1;
  }
}

/* =========================
   2 Column : Image + Text in a Row
========================= */

.content__2c_imgtext_row {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content__2c_imgtext__item {
  list-style: none;
  padding: 0;
  margin: clamp(16px, 3vw, 26px) 0 0;
}

.content__2c_imgtext__item article {
  display: grid;
  grid-template-columns: clamp(180px, 22%, 220px) minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 22px);
  align-items: start;
}

.content__2c_imgtext_v .section-title {
  display: inline-block;
  width: fit-content;
  margin-inline: auto;
  background: #fff;
  border-radius: 14px;
  padding-block: 18px;
  --section-title-inline-pad: clamp(20px, 10vw, 150px);
  padding-inline: var(--section-title-inline-pad);
  margin-bottom: 22px;
  position: relative;
}

.content__2c_imgtext_v .section-title::after {
  content: '';
  display: block;
  height: 2px;
  background: #7fcfd6;
  margin: 12px calc(var(--section-title-inline-pad) * -1) 0;
  width: calc(100% + (var(--section-title-inline-pad) * 2));
  border-radius: 2px;
}

.content__2c_imgtext_v .content__2c_imgtext_row {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.content__2c_imgtext_v .content__2c_imgtext_row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.content__2c_imgtext_v .content__2c_imgtext__item h3 {
  margin-bottom: clamp(0.9rem, 1.4vw, 1.1rem);
}

.content__2c_imgtext_v .content__2c_imgtext__item p {
  margin: 0;
}

.content__2c_imgtext_v .content__2c_imgtext__item p + p {
  margin-top: clamp(0.9rem, 1.4vw, 1.1rem);
}

.content__2c_imgtext_v a {
  font-weight: 600;
}

.content__2c_imgtext_v figure {
  margin: 0 auto;
  width: 100%;
  max-width: 220px;
  text-align: center;
}

.content__2c_imgtext_v figcaption {
  margin-top: 10px;
  font-size: var(--fs-figcaption);
  font-weight: var(--fw-figcaption);
  line-height: var(--lh-figcaption);
  letter-spacing: var(--ls-figcaption);
  color: #666;
}

.content__2c_imgtext_v figure img {
  width: 40%;
  height: auto;
  min-width: 64px;
  max-width: 120px;
  margin-inline: auto;
  display: block;
}

.content__2c_imgtext .content-card__link {
  padding: 16px;
}

.content__2c_imgtext .content-card__figure {
  margin-bottom: 12px;
}

.content__2c_imgtext .content-card__text {
  margin-bottom: 12px;
}

@media (max-width: 560px) {
  .content__2c_imgtext__item article {
    grid-template-columns: 1fr;
  }
  .content__2c_imgtext_v figure img {
    max-width: 240px;
  }
}

/* =========================
   3 Column : Image + Text
========================= */

.feature-card__title {
  margin-bottom: 10px;
  border-bottom: 2px solid #b9e6ea;
  padding-bottom: 10px;
}

.feature-cards {
  display: grid;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  gap: clamp(14px, 3vw, 22px);
}

.feature-cards--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card__figure {
  margin: 0 0 10px;
}

.feature-card__figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content__3c_imgtext:has(.feature-cards) .section-title {
  display: table;
  position: relative;
  width: fit-content;
  margin-bottom: 22px;
  margin-inline: auto;
  border-radius: 14px;
  padding-block: 18px;
  --section-title-inline-pad: clamp(20px, 10vw, 150px);
  padding-inline: var(--section-title-inline-pad);
  background: #fff;
}

.content__3c_imgtext:has(.feature-cards) .section-title::after {
  content: '';
  display: block;
  height: 2px;
  margin: 12px calc(var(--section-title-inline-pad) * -1) 0;
  width: calc(100% + (var(--section-title-inline-pad) * 2));
  border-radius: 2px;
  background: #7fcfd6;
}

.content__3c_imgtext:has(.content-grid) .section-title {
  margin-bottom: 40px;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.content__3c_imgtext:has(.content-grid) .section-title::after {
  content: none;
}

.content__3c_imgtext:has(.content-grid) .content-card__figure,
.content__3c_imgtext:has(.content-grid) .content-card__figure img {
  border-radius: 0;
  overflow: visible;
}

@media (max-width: 560px) {
  .feature-cards--3col {
    grid-template-columns: 1fr;
  }
}

/* =========================
   3 Column / 2 Column : Image/Video + Text
========================= */

.content-grid .content-card__figure {
  border-radius: 12px;
  overflow: hidden;
}

.content__3c_imgtext.gray {
  padding-block: clamp(28px, 4vw, 52px);
}

.content__2c_imgtext.gray {
  padding-block: clamp(26px, 3.5vw, 46px);
}

.content-grid {
  display: grid;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  gap: clamp(14px, 3vw, 22px);
}

.content-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.content-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  text-decoration: none;
  color: inherit;
}

.content-card__figure {
  margin: 0 0 10px;
}

.content-card__figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-card__figure--wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 560px) {
  .content-grid--3col,
  .content-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   2 Column Image + Text / 3 Column Image + Text
      - Round Corner
   ========================================================= */

.content__2c_imgtext_v .content__inner {
  border-radius: 14px;
  border: 1px solid #ececec;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 22px);
  background: #fff;
}

.content__3c_imgtext:has(.feature-cards) .content__inner {
  border-radius: 14px;
  border: 1px solid #ececec;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 22px);
  background: #fff;
}

.content__2c_imgtext_v .section-title,
.content__3c_imgtext:has(.feature-cards) .section-title {
  display: table;
  width: fit-content;
  margin-bottom: 26px;
  margin-inline: auto;
}

/* =========================
   2 Column : Profile
========================= */

.content__2c_profile {
  padding-block: clamp(20px, 3vw, 40px);
}

.content__2c_profile.gray:has(+ .gray) {
  padding-block-end: clamp(20px, 3vw, 40px);
}

.content__2c_profile .content__inner {
  display: grid;
  grid-template-columns: clamp(220px, 28%, 320px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  border-radius: 14px;
  border: 1px solid #ececec;
  padding: clamp(20px, 4vw, 36px);
  background: #fff;
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
}

.content__2c_profile .content__inner > div:first-child {
  align-self: center;
}

.content__2c_profile .content__inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.content__2c_profile .content__inner h2 {
  margin-bottom: clamp(12px, 2vw, 18px);
  font-size: calc(var(--fs-content-default) + 2px);
  font-weight: 600;
  line-height: var(--lh-content-default);
  letter-spacing: var(--ls-content-default);
  color: var(--text-gray);
}

.content__2c_profile .content__inner p {
  margin: 0;
}

@media (max-width: 560px) {
  .content__2c_profile .content__inner {
    grid-template-columns: 1fr;
  }

  .content__2c_profile .content__inner > div:first-child {
    margin-bottom: 30px;
  }
}

/* =========================
   1 Column : Collab / Research
========================= */

.content__1c_collab .content__inner,
.content__1c-research .content__inner {
  border-radius: 14px;
  border: 1px solid #ececec;
  padding-block: clamp(20px, 3vw, 28px);
  padding-inline: clamp(24px, 8vw, 100px);
  background: #fff;
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
}

.content__1c-research .content__inner {
  padding-top: clamp(40px, 8vw, 80px);
}

.content__1c_collab .section-title {
  display: table;
  width: fit-content;
  margin-inline: auto;
  background: #fff;
  border-radius: 14px;
  padding-block: 18px;
  --section-title-inline-pad: clamp(20px, 10vw, 150px);
  padding-inline: var(--section-title-inline-pad);
  margin-bottom: 22px;
  position: relative;
  text-align: center;
}

.content__1c_collab .section-title::after {
  content: '';
  display: block;
  height: 2px;
  background: #7fcfd6;
  margin: 12px calc(var(--section-title-inline-pad) * -1) 0;
  width: calc(100% + (var(--section-title-inline-pad) * 2));
  border-radius: 2px;
}

.content__1c-research h2,
.content__1c_collab h3 {
  margin-bottom: clamp(24px, 2vw, 30px);
  font-size: var(--fs-heading-30);
  font-weight: var(--fw-heading-30);
  line-height: var(--lh-heading-30);
  letter-spacing: var(--ls-heading-30);
  color: var(--text-gray);
}

.content__1c_collab .gist {
  margin: clamp(18px, 3vw, 30px) 0 clamp(28px, 3.5vw, 40px);
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #9b9b9b;
  border-radius: 12px;
  background: #fff;
}

.content__1c_collab .gist:has(+ h3) {
  margin-bottom: clamp(40px, 5vw, 60px);
}

.content__1c_collab p {
  margin-bottom: clamp(28px, 3vw, 40px);
}

.content__1c_collab p:has(+ h3) {
  margin-bottom: 50px;
}

.content__1c_collab .gist ul {
  margin: 0;
  padding-left: 1.2em;
}

.content__1c_collab .gist li {
  list-style: disc;
  margin: 0 0 clamp(8px, 1.5vw, 12px);
}

.content__1c_collab .gist li:last-child {
  margin-bottom: 0;
}

/* =========================
  Text Article List
========================= */

.news-list {
  margin: 18px 0 0;
  padding: 0;
  border-radius: 14px;
}

.news-list__item {
  display: grid;
  grid-template-columns: 110px 110px 1fr;
  grid-template-columns: max-content max-content 1fr;
  column-gap: 14px;
  align-items: stretch;
  padding: 12px 14px;
  border-bottom: 1px solid #e6e6e6;
}

.search-result .news-list__item {
  grid-template-columns: 1fr;
}

.news-list__date {
  position: relative;
  display: flex;
  align-items: center; /* date文字は縦中央 */
  white-space: nowrap;
  padding-right: 26px; /* 罫線用の余白（被り防止の本体） */
  border-right: 0 !important; /* 以前の border が残っても殺す */
}

.news-list__date::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0; /* ← 行高に追従 */
  right: 10px; /* padding-right 内に配置 */
  width: 1px;
  background: #cfcfcf;
}

.news-list__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  height: 22px;
  padding: 2px 10px;
  border: 1px solid #707070;
  border-radius: 6px;
  background: #fff;
  font-size: var(--fs-tag);
  font-weight: var(--fw-tag);
  white-space: nowrap;
}

.news-list__link {
  min-width: 0;
  display: block;
  font-weight: var(--fw-content-default-b);
  letter-spacing: var(--ls-content-default);
}

.news-list__tag,
.news-list__link {
  align-self: center;
}

.news-list__link:hover {
  text-decoration: underline;
}

.news-list--no-tag .news-list__item {
  grid-template-columns: max-content 1fr;
}

.news-list--no-tag .news-list__link {
  padding-left: 12px;
}

@media (max-width: 980px) {
  .news-list__item {
    grid-template-columns: 90px 90px 1fr;
  }

  .news-list__date {
    padding-right: 22px;
  }

  .news-list__date::after {
    right: 8px;
  }
}

@media (max-width: 560px) {
  .news-list__item {
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    row-gap: 6px;
    align-items: start;
  }

  .news-list__date {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    padding-right: 20px;
  }

  .news-list__tag {
    grid-column: 2;
    grid-row: 1;
  }

  .news-list__link {
    grid-column: 2;
    grid-row: 2;
    padding-left: 0;
  }

  .news-list--no-tag .news-list__item {
    grid-template-rows: auto;
  }
  .news-list--no-tag .news-list__date {
    grid-row: 1;
  }
  .news-list--no-tag .news-list__link {
    grid-row: 1;
  }
}

/* =========================================================
   News list fix (980px - 561px)
   - Prevent date overlap with vertical rule
   ========================================================= */

@media (max-width: 980px) and (min-width: 561px) {
  /* 90px固定をやめ、日付は内容幅（max-content）で確保する */
  .news-list__item {
    grid-template-columns: max-content max-content 1fr;
    column-gap: 14px; /* 念のため明示 */
  }

  /* 日付列の「罫線用余白」を少し確保（被り防止の安全マージン） */
  .news-list__date {
    padding-right: 26px;
  }

  .news-list__date::after {
    right: 10px;
  }
}

/* Buttons for Card Layout */

.content-card__more {
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-button-card-more);
  font-weight: var(--fw-button-card-more);
  line-height: 1;
  padding: 6px 0;
  position: relative;
  transition:
    color 0.15s ease,
    opacity 0.15s ease;
}

.content-card__more::after {
  display: inline-block;
  content: '';
  width: var(--arrow-more-card);
  height: var(--arrow-more-card);
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.content-card__link:hover .content-card__more {
  color: var(--link-hover);
  opacity: 0.9;
}

.section__cta {
  display: flex;
  justify-content: center;
  margin: clamp(40px, 10vw, 60px) 0 12px;
}

.section__cta .btn--primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 46px;
  border: none;
  border-radius: 999px;
  padding: 0 56px 0 56px;
  background: var(--btn-bg);
  font-size: var(--fs-button-more);
  font-weight: var(--fw-button-more);
  letter-spacing: var(--ls-button-more);
  text-align: center;
  text-decoration: none;
  color: var(--text-white);
}

.section__cta .btn--primary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-left: 0;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.section__cta .btn--primary:hover {
  background: var(--btn-bg-hover);
}

/* =========================================================
   Contact
   ========================================================= */

.contact-section {
  padding-block: clamp(50px, 8vw, 60px);
}

.contact-section__lead {
  text-align: center;
}

.contact-section__cta {
  display: flex;
  justify-content: center;
}

.btn--contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(260px, 40vw, 520px);
  height: clamp(52px, 6vw, 70px);
  border-radius: 999px;
  padding: 0 36px;
  background: var(--btn-bg);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-white);
}

.btn--contact:hover {
  background: var(--btn-bg-hover);
}

/* Related Website */

.related-section {
  padding-block: clamp(70px, 8vw, 110px);
}

.related-section__buttons {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}

.related-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: clamp(300px, 28vw, 400px);
  height: clamp(80px, 6vw, 90px);
  border-radius: 14px;
  padding: 0 46px 0 22px;
  background: var(--btn-bg);
  color: var(--text-white);
}

.related-btn:hover {
  background: var(--btn-bg-hover);
}

.related-btn__text {
  font-size: var(--fs-button-related);
  font-weight: var(--fw-button-related);
  line-height: var(--lh-button-related);
  letter-spacing: var(--ls-button-related);
  text-align: center;
}

.related-btn__arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.related-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
}

.related-btn__icon img {
  width: 32px;
  height: 32px;
  display: block;
}

@media (max-width: 680px) {
  .related-btn {
    width: min(92%, 420px);
  }
}

/* =========================================================
   Contact Form Pages (Input / Confirm / Thanks)
   - Scoped: .contact (page templates)
   ========================================================= */

.contact {
  padding-block: clamp(60px, 7vw, 90px);
  padding-inline: var(--page-pad);
}

.contact > * {
  margin-inline: auto;
}

.contact__lead {
  margin: clamp(32px, 4vw, 45px) 0 clamp(42px, 4vw, 50px);
  text-align: center;
}

.contact__error,
.contact-form__error {
  margin: 8px 0 0;
  color: #b00020;
}

.contact-form {
  display: grid;
  gap: clamp(16px, 2.6vw, 22px);
  max-width: 640px;
  margin: 0 auto;
}

.contact-form__row label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-lightgray);
}

.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #b9b9b9;
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-thickgray);
  transition: border-color 0.2s;
}

.contact-form textarea {
  min-height: clamp(180px, 24vw, 300px);
  resize: vertical;
}

.contact-form ::placeholder {
  color: #9b9b9b;
}

.contact-form select {
  padding-right: 40px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--btn-bg);
  box-shadow: 0 0 0 3px rgba(30, 38, 75, 0.18);
}

.contact-form__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(26px, 5vw, 48px);
}

.contact-form__hp {
  display: none !important;
}

.contact .btn,
.collab .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 100%);
  height: clamp(64px, 10vw, 86px);
  border-radius: 9999px;
  border: 0;
  padding: 0 40px;
  background: var(--btn-bg);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-white);
  cursor: pointer;
}

.contact .btn:hover,
.collab .btn:hover {
  background: var(--btn-bg-hover);
}

.contact .btn:active,
.collab .btn:active {
  transform: translateY(0);
}

.contact .btn:focus-visible {
  outline: none;
}

.contact .btn--secondary {
  border: 1px solid #cfcfcf;
  background: #e8e8e8;
  color: var(--btn-bg);
}

.contact .btn--secondary:hover {
  background: #ededed;
}

.contact-confirm dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-confirm dt {
  margin: 0;
  font-size: 12px;
  color: var(--text-lightgray);
}

.contact-confirm dd {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #b9b9b9;
  border-radius: 2px;
  line-height: 1.7;
  color: var(--text-thickgray);
}

.contact-confirm__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: stretch;
  max-width: 640px;
  margin: 0 auto;
  margin-top: clamp(26px, 5vw, 48px);
}

.contact-confirm__actions .btn {
  width: 100%;
  max-width: none;
}

.contact-confirm__actions--center {
  display: flex;
  justify-content: center;
}

.contact-confirm__actions--center .btn {
  width: auto;
  min-width: 240px;
}

@media (min-width: 640px) {
  .contact-confirm__actions {
    grid-template-columns: 1fr 1fr;
  }
  .contact-confirm__actions .btn {
    width: 100%;
  }

  .contact-confirm__actions--center .btn {
    width: 33.333%;
    max-width: 360px;
    min-width: 280px;
  }
}

/* =========================================================
   PageNavi
   ========================================================= */

.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(60px, 3vw, 90px) 0 clamp(40px, 3vw, 60px);
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  box-sizing: border-box;
}

.wp-pagenavi a {
  background: #1f2a44;
  color: #fff;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.wp-pagenavi a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.wp-pagenavi span.current {
  background: #cfd3dd;
  color: #fff;
}

.wp-pagenavi span.extend {
  background: #cfd3dd;
  color: #fff;
  padding: 0 16px;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.first,
.wp-pagenavi a.last {
  background: #1f2a44;
  color: #fff;
  min-width: 44px;
}

.wp-pagenavi span.first,
.wp-pagenavi span.last,
.wp-pagenavi span.pages {
  background: #cfd3dd;
  color: #fff;
}

/* =========================
   News
   ========================= */

.news .content__inner {
  padding-top: clamp(60px, 3vw, 90px);
  padding-bottom: 0;
}

/* =========================
   News filter (Category/Tag)
   ========================= */

#news-cat {
  margin: 0 auto;
  border-radius: 18px;
  background: #fff;
  padding: clamp(22px, 3vw, 34px) clamp(14px, 2.4vw, 26px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#news-cat-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: var(--fs-nav-search-title, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-gray, #707070);
}

#news-cat-list,
#news-tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
}

#news-cat-list {
  margin-bottom: 14px;
  border-bottom: 2px solid #d9d9d9;
  padding-bottom: 14px;
}

#news-cat a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border: 1px solid #707070;
  border-radius: 6px;
  padding: 0 14px;
  background: #fff;
  white-space: nowrap;

  font-size: var(--fs-tag, 0.6875rem);
  font-weight: var(--fw-tag, 600);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--text-gray, #707070);

  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
}

#news-cat a:hover {
  opacity: 1;
  background: #f6f6f6;
}

#news-cat a.current {
  border-color: var(--btn-bg, #1e264b);
  color: var(--btn-bg, #1e264b);
  background: #fff;
}

#news-cat a:focus-visible {
  outline: 2px solid var(--btn-bg, #1e264b);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  #news-cat {
    border-radius: 16px;
    padding: 18px 14px;
  }

  #news-cat-list,
  #news-tag-list {
    gap: 10px 10px;
  }

  #news-cat a {
    height: 28px;
    padding: 0 12px;
  }
}

/* =========================
   News Single (single-news)
   ========================= */

.single-news .content__inner {
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(50px, 7vw, 90px);
}

.single-news .news-single {
  margin: 0 auto;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 60px 90px 60px;
  background: #fff;
}

.single-news .news-single__title {
  margin: 0 0 25px;
  font-size: var(--fs-section-title);
  font-weight: var(--fw-section-title);
  line-height: var(--lh-section-title);
  letter-spacing: var(--ls-section-title);
  color: var(--text-gray);
}

.single-news .news-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 10px;
  margin: 0 0 14px;
}

.single-news .news-single__date {
  font-size: var(--fs-date);
  font-weight: var(--fw-date);
  color: var(--text-gray);
  white-space: nowrap;
}

.single-news .news-single__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  border: 1px solid #707070;
  border-radius: 6px;
  padding: 2px 10px;
  background: #fff;
  font-size: var(--fs-tag);
  font-weight: var(--fw-tag);
  white-space: nowrap;
  color: var(--text-gray);
}

.single-news .news-single__rule {
  margin: 16px 0 24px;
  border: 0;
  border-top: 1px solid #e6e6e6;
}

.single-news .news-single__content {
  color: var(--text-gray);
}

.single-news .news-single__content p {
  margin: 0 0 18px;
  line-height: 2;
}

.news-single__content a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: currentColor;
  color: var(--link, #1e264b);
  transition:
    color 0.15s ease,
    text-decoration-thickness 0.15s ease,
    text-underline-offset 0.15s ease;
}

.news-single__content a:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  color: var(--link-hover, #0f1738);
}

.news-single__content a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

.news-single__content a {
  overflow-wrap: anywhere;
}

.single-news .news-single__content h1 {
  margin: 34px 0 12px;
  font-size: var(--fs-heading-30);
  font-weight: var(--fw-heading-30);
  line-height: var(--lh-heading-30);
  color: var(--text-gray);
}

.single-news .news-single__content h2 {
  margin: 26px 0;
  font-size: var(--fs-heading-24);
  font-weight: var(--fw-heading-24);
  line-height: var(--lh-heading-24);
  color: var(--text-gray);
}

.single-news .news-single__content h3 {
  margin: 26px 0;
  color: var(--text-gray);
}

.single-news .news-single__content ul,
.single-news .news-single__content ol {
  margin: 0 0 18px;
  padding-left: 1.4em;
}

.single-news .news-single__content li {
  margin: 0 0 8px;
}

.single-news .news-single__content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.single-news .news-single__content img.is-large {
  width: 66.6667%;
}

.single-news .news-single__content img.is-medium {
  width: 50%;
}

.single-news .news-single__content img.is-small {
  width: 33.3333%;
}

@media (max-width: 560px) {
  .single-news .news-single__content img.is-large,
  .single-news .news-single__content img.is-medium,
  .single-news .news-single__content img.is-small {
    width: min(80vw, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

.single-news .news-single__content iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 20px;
}

.gallery-item {
  margin-bottom: 20px;
}

.single-news .news-single__back {
  margin-top: clamp(30px, 5vw, 60px);
  display: flex;
  justify-content: center;
}

.single-news .news-single__back .btn--primary {
  padding: 0 56px 0 56px;
}

.single-news .news-single__back .btn--primary::after {
  content: none;
}

.single-news .news-single__back .btn--primary::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
}

.single-news .news-single__title,
.single-news .news-single__meta,
.single-news .news-single__rule,
.single-news .news-single__content,
.single-news .news-single__back {
  max-width: 940px;
  margin-inline: auto;
}

@media (max-width: 980px) {
  .single-news .news-single {
    padding: 32px 28px 30px;
  }
}

@media (max-width: 560px) {
  .single-news .news-single {
    padding: 26px 20px 26px;
    border-radius: 14px;
  }
}

.taxonomy-title {
  font-weight: var(--fw-content-default-b);
  text-align: center;
}

/* =========================================================
   About
   ========================================================= */

.about {
  padding-top: clamp(40px, 3vw, 90px);
  padding-bottom: clamp(60px, 3vw, 120px);
}

.about h3 {
  margin-bottom: clamp(30px, 2.6vw, 50px);
  font-size: var(--fs-heading-24);
  font-weight: var(--fw-heading-24);
  text-align: center;
}

.kv-list {
  margin: 0;
  margin-bottom: clamp(60px, 3vw, 90px);
}

.kv-list__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e6e6;
}

.kv-list__term {
  margin: 0;
  font-weight: 700;
}

.kv-list__desc {
  margin: 0;
  min-width: 0;
}

@media (max-width: 560px) {
  .kv-list__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.timeline {
  margin: 0;
}

.timeline__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e6e6;
}

.timeline__year {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.timeline__event {
  margin: 0;
  min-width: 0;
}

@media (max-width: 560px) {
  .timeline__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* =========================================================
   Collab
   ========================================================= */

.collab h2 {
  margin-bottom: 30px;
  font-size: var(--fs-heading-24);
  font-weight: var(--fw-heading-24);
  line-height: var(--lh-heading-24);
  letter-spacing: var(--ls-heading-24);
  text-align: center;
}

.collab h3 {
  margin-bottom: 30px;
  font-size: var(--fs-content-default);
  font-weight: var(--fw-content-default-b);
  line-height: var(--lh-content-default);
  letter-spacing: var(--ls-content-default);
}

.collab ul {
  margin-bottom: 30px;
}

.collab li {
  margin-bottom: 10px;
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.5rem;
  font-size: var(--fs-content-default);
  font-weight: var(--fw-content-default-b);
  line-height: var(--lh-content-default);
  letter-spacing: var(--ls-content-default);
}

.collab-form__lead {
  text-align: center;
}

/* =========================================================
   English
   ========================================================= */

.english {
  padding-top: clamp(40px, 3vw, 90px);
  padding-bottom: clamp(40px, 3vw, 90px);
}

.english p {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.english .content__inner > p:last-of-type {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.english img {
  margin-bottom: clamp(40px, 3vw, 90px);
}

/* =========================================================
   Evidence
   ========================================================= */

.evidence {
  padding-block: unset;
  padding-top: clamp(30px, 10vw, 40px);
  padding-bottom: clamp(60px, 10vw, 120px);
}

/* =========================================================
   Cases
   ========================================================= */

.cases {
  padding-top: clamp(40px, 3vw, 90px);
  padding-bottom: clamp(40px, 3vw, 90px);
}

.cases__lead {
  text-align: center;
}

.single-cases .news-single__thumb {
  margin: 18px auto 26px;
  max-width: 940px;
}

.single-cases .news-single__thumb-img {
  width: 100%;
  height: auto;
  max-width: none !important;
  height: auto !important;
  width: 100% !important;
  display: block;
  border-radius: 12px;
}

/* =========================================================
   Terms
   ========================================================= */

.terms {
  padding-top: clamp(40px, 3vw, 90px);
  padding-bottom: clamp(40px, 3vw, 90px);
}

.terms h2 {
  margin-bottom: 30px;
}

.terms ol {
  margin-bottom: 50px;
}

/* =========================================================
   Mission
   ========================================================= */

.mission h2 {
  margin-bottom: 45px;
  font-size: var(--fs-heading-30);
  font-weight: var(--fw-heading-30);
  text-align: center;
}

.mission h3 {
  margin-bottom: 30px;
  font-size: var(--fs-heading-24);
  font-weight: var(--fw-heading-24);
}

.mission p {
  margin-bottom: 60px;
  font-size: var(--fs-content-default);
  font-weight: var(--fw-content-default);
}

.mission .content__inner > p:last-child {
  margin-bottom: 0;
}

.mission p.mission-statement {
  text-align: center;
}

.mission ul {
  margin-bottom: 60px;
  font-size: var(--fs-content-default);
  font-weight: var(--fw-content-default);
}

.mission li {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.5rem;
}

/* =========================================================
   Research
   ========================================================= */

.research h2 {
  margin-bottom: 45px;
  font-size: var(--fs-heading-30);
  font-weight: var(--fw-heading-30);
  text-align: center;
}

.research p {
  margin-bottom: 60px;
  font-size: var(--fs-content-default);
  font-weight: var(--fw-content-default);
}

/* =========================================================
   404
   ========================================================= */

.error-404__actions {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .error-404__actions {
    grid-template-columns: 1fr;
  }
}

.error-404__subtitle {
  margin: 28px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-lightgray);
}

.error-404__list {
  margin: 0;
  padding-left: 1.2em;
}

/*
Color直書きはrootのvarにあとで書き換え
BoxShadow確認
singleのブロックをarticleに
padding調整
clamp見直し
*/
