/* aタグ */
a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}
.is-white,
.is-white * {
  color: #fff;
}
/* 全ての黒文字 */
body {
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;

  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: #171717; 
}


/* CTA */
/* =========================
   CTA band
========================= */
.ctaBand{
  /* 背景は画像 */
  background-image: url("../image/cta-bc.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: clamp(28px, 4vw, 70px) 0;
  position: relative;
  overflow: hidden;
}

.ctaBand__inner{
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 24px);
}

/* 2カラム */
.ctaBand__grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

/* ===== Left content ===== */
.ctaBand__content{
  color: #fff;
}

.ctaBand__title{
  margin: 0 0 14px;
  display: inline-block;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.2;
}

.ctaBand__desc{
  margin: 0 0 clamp(18px, 2.6vw, 28px);
  font-weight: 600;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 2.0;
  max-width: 58ch;
}

/* ボタン並び */
.ctaBand__buttons{
  display: grid;
  gap: 18px;
  width: min(520px, 100%);
}

/* ===== Photo right ===== */
.ctaBand__photo{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}

.ctaBand__photo img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =========================
   Pill button (メインビュー同型)
========================= */
.pillBtn{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  width: 100%;
  max-width: 420px;

  border-radius: 999px;
  padding: 14px 16px;
  text-decoration: none;

  font-weight: 800;
  letter-spacing: 0.02em;

  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  transition: transform .2s ease, filter .2s ease;
}

.pillBtn__text{
  padding-left: 14px;
  font-size: clamp(14px, 1.8vw, 18px);
}

/* 右の丸いパーツ（>>>） */
.pillBtn__icon{
  display: grid;
  place-items: center;

  min-width: 78px;
  height: 44px;

  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

/* 白ボタン（上） */
.pillBtn--white{
  background: #fff;
  color: #0a2a7a;
}
.pillBtn--white .pillBtn__icon{
  background: #0a2a7a;
  color: #fff;
}

/* 黄ボタン（下） */
.pillBtn--yellow{
  background: #f3d300;
  color: #0a2a7a;
}
.pillBtn--yellow .pillBtn__icon{
  background: #fff;
  color: #0a2a7a;
}

/* hover / focus */
.pillBtn:hover{ transform: translateY(-2px); filter: brightness(0.98); }
.pillBtn:focus-visible{ outline: 3px solid rgba(255,255,255,0.6); outline-offset: 4px; }

/* =========================
   Responsive
========================= */
@media (max-width: 500px){
  .ctaBand__grid{
    grid-template-columns: 1fr;
  }

  /* SPは「画像→テキスト」にしたいなら順番入れ替え */
  .ctaBand__photo{ order: 1; }
  .ctaBand__content{ order: 2; }

  .ctaBand__desc br{ display: none; }
}

@media (max-width: 480px){
  .pillBtn{
    padding: 12px 14px;
  }
  .pillBtn__icon{
    min-width: 64px;
    height: 40px;
  }
}


/* =========================================
   Subpage Main Visual
   ========================================= */
.sub-mv {
  /* 背景画像はここを差し替え（WPならパス調整） */
  --sub-mv-bg: url("../image/mv_kaso.png");

  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 88px) 16px;
  min-height: clamp(280px, 28vw, 420px);

  display: grid;
  place-items: center;

  background-image: var(--sub-mv-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* 文字を読みやすくする薄いベール（不要なら削除OK） */
.sub-mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.10),
    rgba(255, 255, 255, 0.25)
  );
  pointer-events: none;
}

.sub-mv__inner {
  position: relative; /* ::before の上に出す */
  text-align: center;
  width: min(960px, 100%);
}

/* pill */
.sub-mv__eyebrow {
  margin: 0 auto 18px;
  width: min(300px, 86vw);
  padding: 12px 18px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 2px solid #0b2b8f;
  border-radius: 999px;

  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 14px;
  line-height: 1;
  color: #0b2b8f;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* title */
.sub-mv__title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0b2b8f;

  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;

  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* SP微調整 */
@media (max-width: 600px) {
  .sub-mv__eyebrow {
    margin-bottom: 14px;
    padding: 10px 16px;
    font-size: 13px;
  }
}




/* =========================================
   Page Intro
   ========================================= */

.page-intro {
  padding-top: 80px;
  padding-left: 16px;
  padding-right: 16px;
}

.page-intro__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-intro__text {
  margin: 0;

  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;

  color: #333;
}

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

.news-single__section {
  padding: 80px 16px;
}

.news-single__inner {
  max-width: 900px;
  margin: 0 auto;
}

.news-article {
  background: #fff;
  border: 1px solid rgba(11, 43, 143, 0.14);
  border-radius: 16px;
  padding: clamp(18px, 2.6vw, 28px);
}

.news-article__meta {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 14px;
}

.news-article__cat {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 43, 143, 0.10);
  color: #0b2b8f;
  font-weight: 700;
  line-height: 1;
}

.news-article__title {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0b2b8f;
}

.news-article__thumb {
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5fb;
}

.news-article__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* 本文（Gutenberg/entry-content想定） */
.news-article__content {
  color: #333;
  line-height: 1.9;
  font-size: 16px;
}

.news-article__content > *:first-child {
  margin-top: 0;
}

.news-article__content h2,
.news-article__content h3 {
  color: #0b2b8f;
  font-weight: 900;
  margin: 28px 0 12px;
}

.news-article__content a {
  color: #0b2b8f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-article__footer {
  margin-top: 26px;
  text-align: center;
}

.news-article__back {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid #0b2b8f;
  color: #0b2b8f;
  font-weight: 800;
  text-decoration: none;
}

/* 前後ナビ */
.news-nav {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.news-nav__item a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eef1f8;
  color: #0b2b8f;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 600px) {
  .news-nav {
    flex-direction: column;
  }
  .news-nav__item a {
    width: 100%;
    text-align: center;
  }
}


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

.news-archive__section {
  padding: 80px 16px;
}

.news-archive__inner {
  max-width: 900px;
  margin: 0 auto;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  background: #fff;
  border: 1px solid rgba(11, 43, 143, 0.14);
  border-radius: 14px;
  overflow: hidden;
}

.news-item__link {
  display: block;
  padding: 18px 18px;
  color: inherit;
  text-decoration: none;
}

.news-item__meta {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.news-item__cat {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 43, 143, 0.10);
  color: #0b2b8f;
  font-weight: 800;
  line-height: 1;
}

.news-item__title {
  margin: 0 0 8px;
  color: #0b2b8f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.news-item__excerpt {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

/* hover（色は変えずに“浮き”だけ） */
.news-item__link:hover {
  background: rgba(11, 43, 143, 0.04);
}

/* ページネーション */
.news-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;

  margin: 0 4px;
  border-radius: 999px;

  border: 1px solid rgba(11, 43, 143, 0.18);
  color: #0b2b8f;
  text-decoration: none;
  font-weight: 800;
}

.news-pagination .page-numbers.current {
  background: #0b2b8f;
  color: #fff;
  border-color: #0b2b8f;
}

.news-empty {
  text-align: center;
  color: #333;
}
