/* ==================================================
   /100th/ 専用CSS
================================================== */


/* ==================================================
   1. 100周年サブナビ
================================================== */

.aniv100-subnav {
  position: relative;
  z-index: 100;
  background: #0c3388;
}

.aniv100-subnav .uk-container {
  position: relative;
}

.aniv100-subnav__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;

  margin: 0;
  padding: 0;

  list-style: none;
}

.aniv100-subnav__item {
  margin: 0;
  padding: 0;
}

.aniv100-subnav__item a {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 10px 24px;

  color: #fff;

  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;

  border-left: 1px solid rgba(255, 255, 255, 0.25);

  box-sizing: border-box;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.aniv100-subnav__item:last-child a {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}


/* hover / focus */

.aniv100-subnav__item a:hover,
.aniv100-subnav__item a:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
}


/* 現在表示中 */

.aniv100-subnav__item a.is-current {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
}

.aniv100-subnav__item a.is-current::after {
  content: "";

  position: absolute;

  left: 20%;
  right: 20%;
  bottom: 5px;

  height: 3px;

  background: #fff;

  border-radius: 2px;
}


/* ==================================================
   2. カウントダウン／花火レイヤー
================================================== */

.fireworks-container,
.countdown-overlay {
  pointer-events: none;
}


/* ==================================================
   3. ウェブページ共通
================================================== */

.aniv100-page {
  min-width: 0;
}

.aniv100-page__body {
  line-height: 1.9;
}

.aniv100-page__body > :first-child,
.aniv100-page__more > :first-child {
  margin-top: 0;
}

.aniv100-page__body > :last-child,
.aniv100-page__more > :last-child {
  margin-bottom: 0;
}

.aniv100-page__more {
  margin-top: 2em;
}


/* ==================================================
   4. ウェブページ タイトルエリア
================================================== */

.aniv100-page__header {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 180px;

  margin: 0 0 40px;
  padding: 30px 40px;

  overflow: hidden;

  background-image: url("/images/100img.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 6px;

  box-sizing: border-box;
}

.aniv100-page__title {
  position: relative;
  z-index: 1;

  margin: 0;

  color: #fff;

  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.03em;

  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4);
}


/* ==================================================
   5. トップページ 記念誌案内
================================================== */

.anniversary-publication {
  font-size: 1.2rem;
  line-height: 1.8;
}

.anniversary-publication p,
.anniversary-publication a {
  font-size: inherit;
}


/* ==================================================
   6. 子ブログトップ タイトル
================================================== */

.aniv100-blog-title {
  background: #fff;
}

.aniv100-blog-title__header {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 180px;

  margin: 40px 0;
  padding: 30px 40px;

  overflow: hidden;

  background-image: url("/images/100img.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 6px;

  box-sizing: border-box;
}

.aniv100-blog-title__text {
  position: relative;
  z-index: 1;

  width: 100%;
  margin: 0;

  color: #fff0b0;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;

  font-size: 3rem;
  font-weight: 600;
  line-height: 1.4;

  letter-spacing: 0.06em;
  text-align: center;

  text-shadow:
    0 0 6px rgba(255, 248, 200, 0.8),
    0 0 14px rgba(255, 236, 150, 0.6),
    0 0 26px rgba(255, 224, 130, 0.4);

  animation: aniv100-title-glow 1.5s ease-in-out infinite;
}


/* 発光アニメーション */

@keyframes aniv100-title-glow {

  0%,
  100% {
    text-shadow:
      0 0 6px rgba(255, 248, 200, 0.8),
      0 0 14px rgba(255, 236, 150, 0.6),
      0 0 26px rgba(255, 224, 130, 0.4);
  }

  50% {
    text-shadow:
      0 0 10px rgba(255, 248, 200, 1),
      0 0 22px rgba(255, 236, 150, 0.8),
      0 0 40px rgba(255, 224, 130, 0.55);
  }

}


/* ==================================================
   7. 子ブログ 配下ページバナー
================================================== */

.aniv100-page-banners .anniv-banner__text {
  color: #fff;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Original Yu Gothic",
    "Yu Gothic",
    YuGothic,
    Verdana,
    Meiryo,
    sans-serif;

  font-weight: 700;

  text-shadow: none;
  animation: none;
}


/* ==================================================
   8. ページ遷移時の停止位置
================================================== */

@media (min-width: 960px) {

  #page-banner {
    scroll-margin-top: 220px;
  }

}


/* ==================================================
   9. 寄附ページ ページ内リンク
================================================== */

.aniv100-page-jump {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;

  margin: -10px 0 40px;
}


/* ボタン */

.aniv100-page-jump__button {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 64px;

  padding: 14px 22px;

  background: linear-gradient(
    135deg,
    #0c3388 0%,
    #174da8 100%
  );

  color: #fff;

  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.04em;

  text-align: center;
  text-decoration: none;

  border: 1px solid rgba(255, 240, 176, 0.7);
  border-radius: 8px;

  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.18);

  box-sizing: border-box;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


/* 通常のページ内リンク */

.aniv100-page-jump__button::after {
  content: "▼";

  margin-left: 10px;

  color: #fff0b0;

  font-size: 0.75em;
}


/* 申込フォーム */

.aniv100-page-jump__button--form::after {
  content: "▶";
}


/* 外部リンクを使う場合 */

.aniv100-page-jump__button--external::after {
  content: "↗";
  font-size: 0.9em;
}


/* hover / focus */

.aniv100-page-jump__button:hover,
.aniv100-page-jump__button:focus {
  color: #fff;
  text-decoration: none;

  background: linear-gradient(
    135deg,
    #174da8 0%,
    #2563c7 100%
  );

  transform: translateY(-3px);

  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.25);
}


/* ==================================================
   10. ページ内リンクの停止位置
================================================== */

@media (min-width: 640px) {

  #guideline,
  #prospectus,
  #contact {
    scroll-margin-top: 180px;
  }

}


/* ==================================================
   11. Excel名リスト
================================================== */

.excel-list-table {
  display: grid;

  /* PC・タブレット：3列 */
  grid-template-columns: repeat(3, 1fr);

  width: 100%;

  margin: 1.5rem 0 2rem;

  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;

  box-sizing: border-box;
}


/* 各セル */

.excel-list-table__cell {
  display: flex;
  align-items: center;

  min-height: 48px;

  padding: 10px 15px;

  color: #333;
  background: #fff;

  font-size: 1rem;
  line-height: 1.5;

  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;

  box-sizing: border-box;
}


/* PC：2行目・4行目… */

.excel-list-table__cell:nth-child(6n + 4),
.excel-list-table__cell:nth-child(6n + 5),
.excel-list-table__cell:nth-child(6n + 6) {
  background: #eee;
}


/* hover */

.excel-list-table__cell:hover {
  background: #fffacd;
}


/* ==================================================
   12. 申込フォーム モーダル
================================================== */

.aniv100-form-modal {
  display: flex;
  flex-direction: column;

  width: 100%;

  height: 100vh;
  height: 100dvh;

  background: #fff;
}


/* モーダル上部 */

.aniv100-form-modal__header {
  position: relative;

  flex: 0 0 auto;

  padding: 18px 60px 18px 25px;

  background: #fff;

  border-bottom: 1px solid #ddd;

  box-sizing: border-box;
}

.aniv100-form-modal__title {
  margin: 0;

  color: #0c3388;

  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}


/* フォーム表示部分 */

.aniv100-form-modal__body {
  flex: 1 1 auto;

  min-height: 0;

  overflow-x: hidden;
  overflow-y: auto;

  -webkit-overflow-scrolling: touch;

  padding: 20px;

  background: #f5f5f5;

  box-sizing: border-box;
}


/* iframe */

.aniv100-form-iframe {
  display: block;

  width: 100%;
  max-width: 100%;

  min-height: 700px;

  margin: 0;

  border: 0;

  background: #fff;
}


/* ==================================================
   13. 下部 申込フォームボタン
================================================== */

.aniv100-form-link {
  margin: 35px 0;

  text-align: center;
}

.entry .aniv100-form-link__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 280px;
  min-height: 56px;

  padding: 14px 30px;

  background: linear-gradient(
    135deg,
    #0c3388 0%,
    #174da8 100%
  );

  color: #fff;

  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;

  text-align: center;
  text-decoration: none;

  border: 1px solid rgba(255, 240, 176, 0.7);
  border-radius: 8px;

  box-sizing: border-box;

  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.18);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


/* 矢印 */

.entry .aniv100-form-link__button::after {
  content: "▶";

  margin-left: 10px;

  color: #fff0b0;

  font-size: 0.8em;
}


/* hover / focus */

.entry .aniv100-form-link__button:hover,
.entry .aniv100-form-link__button:focus {
  color: #fff;
  text-decoration: none;

  background: linear-gradient(
    135deg,
    #174da8 0%,
    #2563c7 100%
  );

  transform: translateY(-2px);

  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.25);
}


/* ==================================================
   14. スマートフォン
================================================== */

@media (max-width: 639px) {


  /* ----------------------------------------
     100周年サブナビ
  ---------------------------------------- */

  .aniv100-subnav .uk-container {
    padding-left: 0;
    padding-right: 0;
  }

  .aniv100-subnav__list {
    width: 100%;
  }

  .aniv100-subnav__item {
    width: 50%;
  }

  .aniv100-subnav__item a {
    width: 100%;

    min-height: 50px;

    padding: 8px 10px;

    font-size: 14px;

    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);

    box-sizing: border-box;
  }

  .aniv100-subnav__item:nth-child(even) a {
    border-right: 0;
  }

  .aniv100-subnav__item a.is-current::after {
    left: 25%;
    right: 25%;
    bottom: 4px;

    height: 2px;
  }


  /* ----------------------------------------
     ウェブページタイトル
  ---------------------------------------- */

  .aniv100-page__header {
    min-height: 120px;

    margin-bottom: 25px;

    padding: 20px;
  }

  .aniv100-page__title {
    font-size: 1.5rem;
    line-height: 1.4;
  }


  /* ----------------------------------------
     子ブログトップタイトル
  ---------------------------------------- */

  .aniv100-blog-title__header {
    min-height: 120px;

    margin: 25px 0;

    padding: 20px;
  }

  .aniv100-blog-title__text {
    font-size: 1.8rem;
    line-height: 1.4;
  }


  /* ----------------------------------------
     配下ページバナー
  ---------------------------------------- */

  .aniv100-page-banners .anniv-banner__text {
    font-size: 1.1rem;
  }


  /* ----------------------------------------
     寄附ページ ページ内リンク
  ---------------------------------------- */

  .aniv100-page-jump {
    grid-template-columns: 1fr;

    gap: 10px;

    margin: -5px 0 30px;
  }

  .aniv100-page-jump__button {
    min-height: 52px;

    padding: 12px 16px;

    font-size: 1rem;
  }


  /* ----------------------------------------
     ページ内リンク停止位置
  ---------------------------------------- */

  #guideline,
  #prospectus,
  #contact {
    scroll-margin-top: 120px;
  }


  /* ----------------------------------------
     Excel名リスト
  ---------------------------------------- */

  .excel-list-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .excel-list-table__cell {
    min-height: 44px;

    padding: 8px 10px;

    font-size: 0.9rem;
  }


  /*
   * PC用の3列交互色を解除
   */

  .excel-list-table__cell:nth-child(6n + 4),
  .excel-list-table__cell:nth-child(6n + 5),
  .excel-list-table__cell:nth-child(6n + 6) {
    background: #fff;
  }


  /*
   * スマホ：2列
   * 2行目・4行目…をグレーにする
   */

  .excel-list-table__cell:nth-child(4n + 3),
  .excel-list-table__cell:nth-child(4n + 4) {
    background: #eee;
  }

  .excel-list-table__cell:hover {
    background: #fffacd;
  }


  /* ----------------------------------------
     申込フォーム モーダル
  ---------------------------------------- */

  .aniv100-form-modal__header {
    padding: 15px 50px 15px 15px;
  }

  .aniv100-form-modal__title {
    font-size: 1.1rem;
  }

  .aniv100-form-modal__body {
    padding: 10px;
  }

  .aniv100-form-iframe {
    min-height: 600px;
  }


  /* ----------------------------------------
     下部 申込フォームボタン
  ---------------------------------------- */

  .aniv100-form-link {
    margin: 25px 0;
  }

  .entry .aniv100-form-link__button {
    width: 100%;
    min-width: 0;

    padding: 13px 16px;

    font-size: 1rem;
  }

}

/* ==================================================
   100周年 メインビジュアルを画面幅いっぱいに表示
================================================== */

.img-wrap {
  width: 100vw !important;
  max-width: none !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  overflow: hidden;
}

.pharmacy-banner-container {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;
}

.pharmacy-banner-svg {
  display: block;

  width: 100% !important;
  max-width: none !important;
  height: auto;
}

.sponsor-section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.sponsor-slider {
  margin-top: 1rem;
}

.sponsor-slider .uk-slider-items {
  align-items: center;
}

.sponsor-slider li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-banner-link {
  display: block;
  width: 100%;
  padding: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  transition: opacity .2s ease;
}

.sponsor-banner-link:hover {
  opacity: .8;
}

.sponsor-banner-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  margin: 0 auto;
}

/* ==================================================
   寄附ページ 本文内アクションボタン
================================================== */

.aniv100-action-buttons {
  display: flex;
  justify-content: center;

  margin: 30px 0 40px;
}

.aniv100-action-buttons .aniv100-page-jump__button {
  width: 100%;
  max-width: 420px;
}


/* スマートフォン */

@media (max-width: 639px) {

  .aniv100-action-buttons {
    margin: 25px 0 30px;
  }

  .aniv100-action-buttons .aniv100-page-jump__button {
    max-width: none;
  }

}