@charset "utf-8";

/* --------------------- */
/* CSSカスタムプロパティ */

/* 呼び出し変数var(--変数); */
/* --------------------- */
:root {
  /* ILI紫文字カラー */
  --ili-t-color: #6037b7;
  /* 本文カラー */
  --text-color: #333;
  /* topの薄紫背景 */
  --ili-bg-color-1: #fcfbff;
  /* フォント白 */
  --color-f: #ffffff;

  /* フォント設定 */

  --japan-font: "Noto Serif JP", serif;
  --oubun-font: "EB Garamond", serif;
}

/* ━━━━━━━━━━━━━━ */
/* スプラッシュ用 */
/* ━━━━━━━━━━━━━━ */

/* 動作時間の確認は以下のコードをConsoleに入れてリセット */
/* localStorage.removeItem("ili_splash_done"); */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  visibility: visible;

  /* ロゴ終了後すぐフェード */
  animation: splash-bg-hide 0.4s ease forwards;
  animation-delay: 2s;
}

/* ロゴ：短めでキレよく */
.splash-inner {
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  animation: splash-logo 2s ease forwards;
}

.splash-logo {
  width: 70%;
  height: auto;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .splash-logo {
    width: 50%;
    height: auto;
  }
}

@keyframes splash-logo {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes splash-bg-hide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
/* ━━━━━━━━━━━━━━ */

/* 各種リセット */

html {
  font-size: 62.5%; /*62.5にすることで1remが10pxになる（remの計算が楽になる設定）*/
}

h1 {
  margin: 0;
  padding: 0;
}
h2 {
  margin: 0;
  padding: 0;
}

h3 {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
p {
  margin: 0;
  padding: 0;

  color: var(--text-color);

  text-align: justify;
  font-family: var(--japan-font);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.25; /* 225% */
  letter-spacing: 1.28px;
}

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

body {
  font-family: " EB Garamond ", "Noto Serif JP", serif;

  /* font-size:1.6rem; */
}

figure {
  margin: 0;
}

/* dl,dt,ddのリセット */

dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

/* dt と dd を横並びにしたい場合（必要なときだけ） */
dt,
dd {
  /* 上にコメント：横幅調整しやすいようにブロックレベルにする */
  display: block;
}

/* ---------------------
↓ヘッダーナビ用↓
--------------------- */

/* ヘッダーナビ設定 */

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  transition: 0.3s;
  /* background-color: rgba(255, 255, 255, 0.3); */
}

.top-header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
}

/*1100px以下のとき以下を採用*/
@media (max-width: 1100px) {
  .top-header {
    display: none;
  }
}

.top-header__nav-item {
  transition: opacity 0.2s ease;
}
.top-header__nav-item:hover {
  opacity: 0.7;
}

/* ↓文字色白のヘッダーナビ設定 */

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  transition: 0.3s;
  /* background-color: rgba(255, 255, 255, 0.3); */
}
.top-header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
}

/*1100px以下のとき以下を採用*/
@media (max-width: 1100px) {
  .top-header {
    display: none;
  }
}

.top-header__nav-item {
  transition: opacity 0.2s ease;
}
.top-header__nav-item:hover {
  opacity: 0.7;
}
/* ↑文字色白のヘッダーナビ設定 */

/*--------------------- */
/* ↓ハンバーガーメニュー */
/* --------------------- */

/* スマホ用ヘッダーロゴ */

/* topページではロゴ非表示 */
.top-header-logo-none {
  display: none;
}
/* topページ以外でロゴ表示 */
.top-oter-logo-block {
  display: none;
}
/* overlay-styles.css */

.top-header-hamburger {
  display: none;
}

/*1100px以下のとき以下を採用*/
@media (max-width: 1100px) {
  .top-header-logo-sp {
    /* display: block; */
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    width: 148px;
    height: 48px;
    transition: opacity 0.3s ease;
    opacity: 1;
  }

  /* ↓背景暗い時にロゴ白にする用 */
  .is-light-sp img {
    filter: brightness(0) invert(1);
  }

  .top-oter-logo-block {
    display: block;
  }
  .top-header-logo-none {
    display: block;
  }

  .top-header-hamburger {
    display: block;
  }

  .hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    /* background: transparent; */
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
  }

  .hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.6s;
  }

  .hamburger-overlay__line:nth-of-type(1) {
    top: 14px;
  }
  .hamburger-overlay__line:nth-of-type(2) {
    top: 23px;
  }
  .hamburger-overlay__line:nth-of-type(3) {
    top: 32px;
  }

  .hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
  }

  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s;
    z-index: 900;
  }

  .nav-overlay.active {
    visibility: visible;
    opacity: 1;
  }

  .nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }

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

  .nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
  }

  .nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-overlay.active .nav-overlay__item:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-overlay.active .nav-overlay__item:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-overlay.active .nav-overlay__item:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-overlay.active .nav-overlay__item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-overlay__link {
    display: inline-block;
    padding: 20px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
    font-family: var(--oubun-font);
  }

  .nav-overlay__link:hover {
    color: var(--ili-t-color);
  }

  .nav-overlay__sub__title {
    position: relative;

    display: block;
    font-size: 1.1rem;
    font-family: var(--japan-font);
  }

  /* .nav-overlay__sub__title::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 11px;
    height: 1px;
    background-color: #fff;
  }
    .nav-overlay__sub__title::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 11px;
    height: 1px;
    background-color: #fff;
  } */
}

/*--------------------- */
/* ↑ハンバーガーメニュー */
/* --------------------- */

/* ナビのリンクを装飾なしにする */
.top-header__nav-item a {
  /* 下線を消す */
  text-decoration: none;
  /* 上下中央合わせのための補強 */
  display: flex;
  align-items: center;
  color: var(--ili-t-color);
}

/* 欧文16px */

.eb-garamond-nav {
  font-family: var(--oubun-font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1.28px;
  font-size: 1.6rem;
}
/* eb-garamond変換 */

.eb-garamond-fv-main {
  font-family: var(--oubun-font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #232247;
}
.fv-catch-glay {
  color: #6d6e71;
}

.eb-garamond {
  font-family: var(--oubun-font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.top-header__container {
  margin: 0 auto;
  width: 95vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  background-color: rgba(255, 255, 255, 0);
}

.top-header__logo {
  width: 150px;
}

.top-header-logo-none {
  display: none;
}

.top-header__nav-list {
  display: flex;
  flex-direction: row;
  gap: 3.9rem;
}

/* ↓ヘッダーナビ内ロゴ白、文字白にするためのコード
.nav-light-headerクラスのある要素に対して行う */

.nav-light-header .top-header__logo.is-logo-light img {
  filter: brightness(0) invert(1);
}

.nav-light-header
  .top-header__logo.is-logo-light
  ~ .top-header__nav
  .top-header__nav-item
  a {
  color: #fff;
}
/* ↑ヘッダーナビ内ロゴ白、文字白にするためのコード */

/* ---------------------
↑ヘッダーナビ用↑
--------------------- */

/* NEWSリンクを一時非表示 */
.header-nav-hide {
  display: none;
}

.top-news-more-wrapper a {
  display: none;
}

/* ---------------------
↓フッター用↓
--------------------- */
.footer {
  position: relative;
  background-color: var(--ili-t-color); /* ベース色（濃いまま） */
  overflow: hidden;
}

/* 疑似要素に模様画像を入れる → こっちだけ薄くする */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/footer-line.png");
  background-repeat: repeat-x;
  background-size: auto 6.5rem;
  background-position: center center;

  opacity: 0.1; /* ← 模様だけ薄くなる。0.1〜0.4 推奨 */

  pointer-events: none;
}

.footer-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1.8rem 0;
}

.copylight {
  color: #fff;
  font-family: var(--oubun-font);
  font-size: 1.3rem;
  font-style: normal;
  line-height: 1.53; /* 153.846% */
}

.footer-contents-link {
  font-family: var(--oubun-font);
  font-size: 1.3rem;

  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.footer-link-left-p {
  padding-left: 9px;
  border-left: 1px solid #fff;
}

.footer-link-right-p {
  padding-right: 6px;
}

.footer-contents-link:hover {
  opacity: 0.7;
}
/* ---------------------
↑フッター用↑
--------------------- */

/* ()と」の被り対策 */

.jp-bracket {
  letter-spacing: 0.1em;
}

/* ---------------------
戦略ページ（3ページ用）のリンク用
--------------------- */

/* ------------------------------
ページ下部ナビ（左右）
------------------------------ */

/* ページ下部ナビ全体 */
.ili-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 18px;
  width: min(470px, 92%);
  margin: 0 auto 5rem;
  padding-top: 10px;
  padding-left: 9px;
}

/* リンク共通 */
.ili-pager__link {
  display: inline-block;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  padding: 12px 8px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

/* 左右配置 */
.ili-pager__link--prev {
  justify-self: start;
}
.ili-pager__link--next {
  justify-self: end;
}

/* テキスト幅を固定して中央基準を安定させる */
.ili-pager__text {
  display: inline-block;
  min-width: 180px;
}

/* 左右の文字揃え */
.ili-pager__link--prev .ili-pager__text {
  text-align: right;
}
.ili-pager__link--next .ili-pager__text {
  text-align: left;
}

/* 区切り線 */
.ili-pager__divider {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.35);
}

/* ホバー */
.ili-pager__link:hover {
  opacity: 0.5;
}

/* 片側だけ無効にしたい場合（将来用） */
.ili-pager__link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0;
}
@media (max-width: 768px) {
  .ili-pager {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  /* 左右の寄せ指定を無効化 */
  .ili-pager__link--prev,
  .ili-pager__link--next {
    justify-self: auto;
  }

  /* テキスト幅制限を解除 */
  .ili-pager__text {
    min-width: auto;
    text-align: center;
  }
}

/*500px以下のとき以下を採用*/
@media (max-width: 500px) {
  .ili-pager__link {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 12px 8px;
  }
  .ili-pager__text {
    display: inline-block;
    min-width: 150px;
  }
}
/*360px以下のとき以下を採用*/
@media (max-width: 360px) {
  .ili-pager__link {
    font-size: 10px;
    padding: 12px 0px;
  }
}
