@charset "UTF-8";

@import "variable.css";

/* ユーティリティ
---------------------------------------------- */

@media (max-width: 768px) {
  .u-sm-over-only {
    display: none !important;
  }
}

@media not all and (max-width: 768px) {
  .u-sm-only {
    display: none !important;
  }
}

.u-color-main {
  color: var(--c-main);
}

.u-mt-1em {
  margin-top: 1em;
}

.u-mt-sm {
  margin-top: 40px !important;
}

.u-mt-md {
  margin-top: 60px !important;
}

.u-mt-lg {
  margin-top: 80px !important;
}

.u-mr-auto {
  margin-right: auto !important;
}

.u-ml-auto {
  margin-left: auto !important;
}

.u-tal {
  text-align: left !important;
}

.u-tac {
  text-align: center !important;
}

/* base
---------------------------------------------- */
html {
  font-size: 16px;
}

body {
  color: var(--c-base);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-x: hidden;
  word-break: break-word;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a:hover img {
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}

/* common
---------------------------------------------- */
.c-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-column, 2), 1fr);
  gap: 32px 24px;
}

@media (max-width: 768px) {
  .c-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.c-grid__item {
}

.c-inner {
  max-width: calc(var(--inner-width) + (var(--inner-gutter) * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--inner-gutter);
  padding-left: var(--inner-gutter);
}
.c-inner.c-inner--sm {
  --inner-width: var(--inner-width-sm);
}
.c-inner.c-inner--lg {
  --inner-width: var(--inner-width-lg);
}

.c-heading {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: bold;
}

.c-icon-heading {
  position: relative;
  max-width: fit-content;
  margin-bottom: 1em;
  padding: 0.25em 0.875em;
  padding-left: 2.5em;
  border-radius: 10px;
  background-color: #eee;
  font-size: clamp(20px, 5vw, 24px);
  font-weight: bold;
}

.c-icon-heading::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0.875em;
  translate: 0 -50%;
  width: 1.25em;
  height: 1.25em;
  -webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g><polygon points="93.539,218.584 275.004,218.584 354.699,138.894 355.448,138.145 355.448,125.045 93.539,125.045"></polygon><polygon points="402.213,433.724 46.77,433.724 46.77,78.276 402.213,78.276 402.213,91.467 448.983,56.572 448.983,31.506 0,31.506 0,480.494 448.983,480.494 448.983,289.204 402.213,335.974"></polygon><path d="M229.358,274.708H93.539v28.062h120.476C218.602,292.858,223.932,283.312,229.358,274.708z"></path><path d="M93.539,349.539v28.062h110.935c-3.275-8.796-4.302-18.334-3.649-28.062H93.539z"></path><path d="M290.939,268.789c-15.501,15.501-55.612,80.76-40.11,96.27c15.51,15.51,80.76-24.609,96.27-40.11l63.755-63.77l-56.155-56.15L290.939,268.789z"></path><path d="M500.374,115.509c-15.511-15.502-40.649-15.502-56.15,0l-76.682,76.685l56.156,56.15l76.676-76.685C515.875,156.158,515.875,131.019,500.374,115.509z M400.166,202.361l-9.636-9.628l53.684-53.684l9.619,9.618L400.166,202.361z"></path></g></svg>')
    no-repeat center / contain;
  mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g><polygon points="93.539,218.584 275.004,218.584 354.699,138.894 355.448,138.145 355.448,125.045 93.539,125.045"></polygon><polygon points="402.213,433.724 46.77,433.724 46.77,78.276 402.213,78.276 402.213,91.467 448.983,56.572 448.983,31.506 0,31.506 0,480.494 448.983,480.494 448.983,289.204 402.213,335.974"></polygon><path d="M229.358,274.708H93.539v28.062h120.476C218.602,292.858,223.932,283.312,229.358,274.708z"></path><path d="M93.539,349.539v28.062h110.935c-3.275-8.796-4.302-18.334-3.649-28.062H93.539z"></path><path d="M290.939,268.789c-15.501,15.501-55.612,80.76-40.11,96.27c15.51,15.51,80.76-24.609,96.27-40.11l63.755-63.77l-56.155-56.15L290.939,268.789z"></path><path d="M500.374,115.509c-15.511-15.502-40.649-15.502-56.15,0l-76.682,76.685l56.156,56.15l76.676-76.685C515.875,156.158,515.875,131.019,500.374,115.509z M400.166,202.361l-9.636-9.628l53.684-53.684l9.619,9.618L400.166,202.361z"></path></g></svg>')
    no-repeat center / contain;
  background-color: #000;
}

.c-txt {
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 2;
}

/* ボタン */
.c-btn-container {
  margin-top: 4rem;
  text-align: center;
}

.c-btn-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.c-btn {
  display: inline-grid;
  place-items: center;
  min-width: 15em;
  min-height: 3.25em;
  padding-right: 0.75em;
  padding-left: 0.75em;
  border: 2px solid transparent;
  background-color: var(--c-main);
  color: #fff;
  font-size: clamp(16px, 4vw, 18px);
  font-weight: bold;
  transition: 0.3s ease;
}

.c-btn:hover,
.c-btn:focus {
  border-color: currentColor;
  background-color: #fff;
  color: var(--c-main);
}

.c-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  width: 480px;
  max-width: 100%;
  min-height: 5em;
  border: 2px solid currentColor;
  border-radius: 16px;
  color: #575757;
  font-size: clamp(14px, 3.5vw, 16px);
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.c-icon-btn__icon {
  fill: currentColor;
  width: 2em;
  height: 2em;
}

.c-icon-btn:hover,
.c-icon-btn:focus {
  border-color: transparent;
  background-color: #333;
  color: #fff;
}

/* サイトラッパー
---------------------------------------------- */
.l-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* サイトヘッダー
---------------------------------------------- */
.l-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 10px var(--inner-gutter);
}

.l-header-logo {
  max-width: 30%;
}

.l-header-nav {
  margin-left: auto;
  font-size: clamp(10px, 1.5vw, 16px);
  font-weight: bold;
}

.l-header-nav__list {
  display: flex;
  align-items: center;
  gap: 2em;
}

.l-header-nav__list a:hover,
.l-header-nav__list a:focus {
  color: var(--c-main);
}

.howto-btn {
  display: inline-grid;
  place-items: center;
  width: 10em;
  height: 5em;
  background-color: var(--c-main);
  color: #fff;
}

@media (max-width: 768px) {
  .l-header {
    flex-wrap: wrap;
    padding: 8px 15px;
  }

  .l-header-nav {
    order: 3;
  }

  .l-header-nav__list {
    gap: 1.5em;
  }

  .l-header-logo-hp {
    order: 2;
    width: 100px;
  }
}

/* サイトメイン
---------------------------------------------- */
.l-main {
  flex-grow: 1;
  padding-bottom: 4rem;
}

.l-page-content {
  padding-top: clamp(40px, 10vw, 64px);
}

/* サイトフッター
---------------------------------------------- */
.l-footer {
  padding: 0.75em 0;
  background-color: var(--c-gray);
}

.l-footer__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 768px) {
  .l-footer__inner {
    justify-content: center;
  }
}

.l-footer-sub-nav {
  font-size: 12px;
  line-height: 1.5;
}

.l-footer-sub-nav__list {
  display: flex;
}
.l-footer-sub-nav__item:not(:first-child) {
  margin-left: 1.5em;
  padding-left: 1.5em;
  border-left: 1px solid #aaa;
}

.l-footer-sub-nav__link {
  display: block;
}
.l-footer-sub-nav__link:hover,
.l-footer-sub-nav__link:focus {
  color: var(--c-main);
  text-decoration: underline;
}

.l-footer__copyright {
  font-size: clamp(10px, 2.5vw, 12px);
}

/* パンクズリスト
---------------------------------------------- */
.l-breadcrumb {
  margin-top: 1em;
  font-size: clamp(10px, 2.5vw, 12px);
}
.l-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 1em;
  max-width: fit-content;
  margin-left: auto;
}
.l-breadcrumb__item {
}

.l-breadcrumb__item + .l-breadcrumb__item {
}
.l-breadcrumb__item + .l-breadcrumb__item::before {
  content: "＞";
  margin-right: 1em;
}

.l-breadcrumb__link {
  text-decoration: underline;
}
.l-breadcrumb__link:hover,
.l-breadcrumb__link:focus {
  color: var(--c-main);
}

/* 投稿ページ
---------------------------------------------- */
.home-news-archive {
}

.post-article {
}

.post-header {
  margin-bottom: 3rem;
}

.post-header__title {
  padding-left: 0.5em;
  border-left: 10px solid var(--c-main);
  font-size: clamp(1rem, 5vw, 2rem);
  font-weight: bold;
  line-height: 1.5;
}

/* トップページ
---------------------------------------------- */
/* MV */
.home-mv {
}

.home-mv-slide {
  display: block;
}

.home-mv-slide:not([href]) {
  pointer-events: none;
}

.home-mv-slide__img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* TOPコンテンツ */
.home-content {
  margin-top: 2.5rem;
}

/* 館蔵資料検索 */
.home-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}

.home-search__keyword {
  flex-grow: 1;
}

.home-search__keyword .form__input,
.home-search__keyword .form__button {
}

.home-search__keyword .form__input {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .home-search {
    flex-direction: column;
    align-items: baseline;
  }

  .home-search__keyword {
    width: 100%;
  }
}

/* トップページボタンナビ */
.home-btn-nav {
  margin-top: 2.5rem;
}
.home-btn-nav__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.home-btn-nav__item {
}
.home-btn-nav__link {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 3.5em;
  /* border-top: 12px solid #69719d; */
  /* border-right: 12px solid #3e435c; */
  /* border-bottom: 12px solid #3e435c; */
  /* border-left: 12px solid #69719d; */
  background: #444c77;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.home-btn-nav__link:hover,
.home-btn-nav__link:focus {
  opacity: 0.8;
  transition: 0.3s;
}

/* トップページお知らせ */
.home-news-section {
  position: relative;
  margin-top: 60px;
  padding: clamp(40px, 10vw, 60px) 0 60px;
  background-color: #f0f0f0;
}

.home-news {
}

.home-news__header {
}

.home-news__heading {
}

.home-news__more {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% -50%;
}

.home-news__body {
}

/* 投稿 */
.home-news__archive {
  display: grid;
  gap: 1rem;
}

.home-news-post {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  padding: 1em;
  border-bottom: 1px solid #ccc;
}

.home-news-post:hover,
.home-news-post:focus {
  color: var(--c-main);
}

/* ページヘッダー
---------------------------------------------- */
.page-header {
  display: grid;
  align-items: center;
}

.page-header > * {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}

.page-header__pic {
}

.page-header__pic img {
  width: 100%;
  min-height: 180px;
  object-fit: cover;
  object-position: right;
}

.page-header__title {
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.page-header__title-txt {
  text-shadow:
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 3px #fff;
}

.page-header__lead {
  place-self: start end;
  padding: 1em;
  padding-left: 3em;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
}

@media (max-width: 768px) {
  .page-header__lead {
    grid-row: 2 / 3;
    clip-path: none;
    padding: 1em;
    font-size: 12px;
    width: 100%;
  }
}

/* 検索フォーム
---------------------------------------------- */

.form {
}

.form__title {
  margin-bottom: 1em;
  text-align: center;
}

.form__box {
  padding: clamp(24px, 6vw, 40px) clamp(20px, 5vw, 48px);
  background-color: var(--c-form-gray);
}

/* form 配置 */
.form-stack > * + * {
  margin-top: 1.2rem;
}

.form-cluster {
  --cluster-row-gap: 20px;
  --cluster-column-gap: clamp(20px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-row-gap) var(--cluster-column-gap);
}

.form-cluster > * {
  flex-grow: 1;
}

.form-cluster__no-grow {
  flex-grow: 0;
}

.form-cluster__half {
  flex-basis: calc((100% - var(--cluster-column-gap)) / 2);
}

@media (max-width: 480px) {
  .form-cluster {
    flex-direction: column;
  }
}

/* form 部品 */
.form__item {
  display: flex;
  align-items: baseline;
  gap: 0.5em 1em;
}

@media (max-width: 768px) {
  .form__item {
    flex-direction: column;
  }
}

.form__label {
  flex-shrink: 0;
  min-width: 6em;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: bold;
}

.form__input,
.form__select {
  width: 100%;
  padding: 1em 1.2em;
  background-color: #fff;
}

.form__select {
  padding-right: 3em;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 12"><path d="m7,12L0,0h14l-7,12Z" fill="%23aaa"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1.5em center;
  background-size: 14px 12px;
}

@media (max-width: 768px) {
  .form__input,
  .form__select {
    padding: 0.5em 0.75em;
  }

  .form__select {
    padding-right: 2.5em;
    background-position: right 1em center;
  }
}

/* ラジオ */
.form__options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}
.form__options.form__options--fill {
  width: 100%;
}
.form__options.form__options--fill .form__option {
  flex-grow: 1;
}

.form__option {
  display: flex;
  align-items: center;
}

.form__radio {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.form__label--radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625em;
  border: 2px solid transparent;
  background-color: #fff;
  cursor: pointer;
}

.form__radio:checked + .form__label--radio {
  background-color: var(--c-main);
  color: #fff;
}

/* アクセシビリティに準拠するためのスタイル */
.form__label--radio:focus,
.form__label--radio:hover {
  outline: none;
  border-color: var(--c-main);
}

.form__radio:focus + .form__label--radio {
  outline: none;
  border-color: var(--c-main);
}

.form__keywords-container {
  width: 100%;
}

.form__keywords-unit {
  display: flex;
}

.form__keywords-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 20px;
}

/* チェックボックス */
.form__checkbox {
  position: relative;
  padding-left: 1.5em;
}

.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* チェックボックスの外観を設定する */
.form__checkbox input[type="checkbox"] + .form__checkbox-label::before,
.form__checkbox input[type="checkbox"] + .form__checkbox-label::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0.25em;
  left: 0;
}

.form__checkbox input[type="checkbox"] + .form__checkbox-label::before {
  width: 1em;
  height: 1em;
  background-color: #fff;
  border: 1px solid #000;
  box-shadow: inset 0 0 0 2px #fff;
}

/* チェックボックスがチェックされた時の外観を設定する */
.form__checkbox input[type="checkbox"]:checked + .form__checkbox-label::after {
  content: "✓";
  text-align: center;
  line-height: 1em;
}

/* ラベルのスタイルを設定する */
.form__checkbox-label {
}

/* 検索ボタンやリセットボタン */
.form__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.form__button {
  display: inline-grid;
  place-items: center;
  min-width: 8em;
  height: 2.8em;
  padding-right: 1em;
  padding-left: 1em;
  background-color: #3c3c3c;
  color: #fff;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: bold;
  white-space: nowrap;
}
.form__button.form__button--reset {
  border: 1px solid currentColor;
  background-color: #fff;
  color: #555;
}

@media (max-width: 768px) {
  .form__button {
    min-width: fit-content;
  }
}

/* 簡易検索窓 */
.keyword-search {
  display: flex;
}

/* キーワードタグ */
.keywords-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1em;
}

.keywords-tag__label {
  flex-shrink: 0;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

.keywords-tag__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
}

.keywords-tag__btn {
  padding: 0.25em 0.75em;
  background-color: #ddd;
  font-size: clamp(14px, 3.5vw, 16px);
}

.keywords-tag__btn:hover,
.keywords-tag__btn:focus {
  outline: 2px solid var(--c-main);
}

/* アーカイブ
---------------------------------------------- */

.result-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: clamp(20px, 5vw, 40px);
}

.result-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 1em 2em;
  font-size: 0.8rem;
}
.result-keywords:not(:empty) {
  margin-bottom: 1.5em;
}

.result-keywords__item {
  display: flex;
}

.result-keywords__label {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

.result-keywords__value {
  padding: 0.25em 0.5em;
  border-radius: 10px;
  background-color: #eee;
}

.result-count {
  font-size: clamp(20px, 5vw, 25px);
  font-weight: bold;
  white-space: nowrap;
}

.result-archive {
}

.result-archive__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.result-archive__item {
}

.result-archive__link {
}

.result-archive__thumb {
  margin-bottom: 4px;
  background-color: var(--c-gray);
}

.result-archive__thumb img {
  width: 100%;
  object-fit: contain;
  aspect-ratio: var(--thumb-ratio, 1 / 1);
}

.result-archive__title {
  font-size: clamp(14px, 3.5vw, 16px);
}

@media (max-width: 768px) {
  .result-archive__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 特別コンテンツの概要欄 */
.special-content-summary {
  margin-bottom: clamp(12px, 3vw, 32px);
  background-color: #ffd1d1;
}

/* 図書検索結果（表形式） */
.result-archive-table {
  width: 100%;
}

.result-archive-table thead {
}

.result-archive-table thead th {
  background-color: var(--c-gray);
}

.result-archive-table th,
.result-archive-table td {
  padding: 0.5em;
  border: 1px solid #ccc;
}

.result-archive-table .date {
  white-space: nowrap;
}

.result-archive-table__link {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  color: var(--c-main);
  text-decoration: underline;
}
.result-archive-table__link::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.44,10.07h-.72l-.26-.25c2.14-2.49,1.85-6.25-.64-8.39C7.33-.7,3.57-.42,1.43,2.07c-2.14,2.49-1.85,6.25.64,8.39,2.23,1.91,5.52,1.91,7.75,0l.25.26v.72l4.57,4.56,1.36-1.36-4.56-4.57Zm-5.48,0c-2.27,0-4.11-1.84-4.11-4.11S3.69,1.84,5.96,1.84s4.11,1.84,4.11,4.11c0,2.27-1.83,4.11-4.1,4.11,0,0,0,0-.01,0Z" fill="%23333"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(20%);
}

.result-archive-table__link:hover,
.result-archive-table__link:focus {
  text-decoration: none;
}

/* ページネーション
---------------------------------------------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin-top: 3rem;
  font-size: clamp(14px, 3.5vw, 16px);
}

.pagination__item {
  display: inline-grid;
  place-content: center;
  min-width: 2.5em;
  min-height: 2.5em;
  padding: 0.25em 0.5em;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pagination__item:hover {
  background-color: #eee;
}

.pagination__item--active {
  background-color: #333;
  color: #fff;
}

/* 詳細ページ
---------------------------------------------- */
.detail-header {
  display: flex;
  background-color: var(--c-gray);
}

.detail-header__label {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  padding: 0.5em 1.5em;
  background-color: var(--c-main);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
}

.detail-header__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  padding: 0.9em 1.5em;
}

.detail-header__aside {
  flex-shrink: 0;
}

.detail-heading {
  display: flex;
  flex-direction: column;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: bold;
}

.detail-heading .kana {
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .detail-header {
    flex-direction: column;
  }

  .detail-header__body {
    flex-direction: column;
  }

  .detail-header__aside {
    margin-top: 12px;
    align-self: flex-end;
  }

  .detail-heading {
  }
}

/* 資料解説 */
.detail-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .detail-summary {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 画像 */
.detail-thumb-main {
  display: grid;
}

.detail-thumb-main__img-btn:not(:has(.is-active)) {
  height: 0;
}

.detail-thumb-main__img {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  height: 0;
  width: 100%;
  background-color: #eee;
  opacity: 0;
  visibility: hidden;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}
.detail-thumb-main__img.is-active {
  height: auto;
  opacity: 1;
  visibility: visible;
  transition: 0.3s ease-in-out;
}

.detail-thumb-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.detail-thumb-nav__btn {
}

.detail-thumb-nav__btn img {
  background: #eee;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

/* 画像ビューワ */
.lg-backdrop {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.lg-img-wrap {
  padding-top: 60px !important;
  padding-bottom: 120px !important;
}

.lg-download {
  display: none;
}

/* 資料データ */
.detail-info {
  margin-top: 3rem;
  font-size: clamp(12px, 3vw, 16px);
}

.detail-info-desc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.detail-info-desc__block {
  display: grid;
  grid-template-columns: 13em 1fr;
}

.detail-info-desc__label,
.detail-info-desc__txt {
  padding: 0.75em 1em;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  letter-spacing: 0;
}

.detail-info-desc__label {
  background-color: var(--c-gray);
  font-weight: bold;
}

.detail-info-desc__txt {
}

@media not all and (max-width: 768px) {
  .detail-info-desc__block.detail-info-desc__block--full {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .detail-info-desc {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* カスタムブロック
---------------------------------------------- */
.p-banner-list {
  display: grid;
  grid-template-columns: repeat(var(--grid-col, 2), minmax(0, 1fr));
  gap: 20px;
}

.p-banner-item {
}

.p-banner-item__link {
  overflow: hidden;
  position: relative;
  display: grid;
  aspect-ratio: var(--bnr-aspect-ratio, 3 / 1);
}

.p-banner-item__link:hover,
.p-banner-item__link:focus {
  --img-scale: 1.05;
  --arrow-bgc: var(--c-main);
  --overlay-color: rgba(17, 17, 17, 0.1);
}

.p-banner-item__link::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: var(--overlay-color, rgba(17, 17, 17, 0.3));
  transition: background-color 0.3s ease-in-out !important;
}
.p-banner-item__link::after {
  --svg-icon-arrow: url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 6 11" xmlns="http://www.w3.org/2000/svg"><path d="M4.192 5.498L0.220998 1.339C0.0796674 1.18876 0.000976563 0.990266 0.000976563 0.784C0.000976563 0.577734 0.0796674 0.379238 0.220998 0.229C0.289389 0.156923 0.371738 0.0995249 0.463028 0.0603008C0.554318 0.0210767 0.652638 0.00084877 0.751998 0.00084877C0.851358 0.00084877 0.949678 0.0210767 1.04097 0.0603008C1.13226 0.0995249 1.21461 0.156923 1.283 0.229L5.783 4.942C5.91958 5.08823 5.99736 5.27974 6.00142 5.47979C6.00548 5.67984 5.93554 5.87435 5.805 6.026L1.286 10.771C1.21776 10.8433 1.13546 10.901 1.04415 10.9404C0.952837 10.9797 0.854442 11.0001 0.754998 11.0001C0.655554 11.0001 0.557158 10.9797 0.465848 10.9404C0.374538 10.901 0.292238 10.8433 0.223998 10.771C0.0826676 10.6208 0.00397682 10.4223 0.00397682 10.216C0.00397682 10.0097 0.0826676 9.81124 0.223998 9.661L4.192 5.498Z" fill="%23fff"/></svg>');
  content: "";
  display: grid;
  align-items: center;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  padding: 0.25em;
  background-image: var(--svg-icon-arrow);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 13px;
  background-color: var(--arrow-bgc, #111);
  color: #fff;
  font-size: 18px;
  transition: background-color 0.3s ease-in-out !important;
}

.p-banner-item__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 1 !important; /* hover時の透過を防ぐ */
  scale: var(--img-scale, 1);
  transition: scale 0.3s ease-in-out !important;
}

.p-banner-item__title {
  --text-shadow: 0 0 5px rgba(17, 17, 17, 0.3);
  place-self: center;
  position: absolute;
  z-index: 3;
  inset: 0;
  margin: auto;
  color: #fff;
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: bold;
  text-shadow: var(--text-shadow), var(--text-shadow), var(--text-shadow);
}

@media not all and (max-width: 768px) {
  .p-banner-list.p-banner-list--col3 {
    --grid-col: 3;
    --bnr-aspect-ratio: 2 / 1;
  }
}

@media (max-width: 768px) {
  .p-banner-list {
    grid-template-columns: repeat(var(--sm-grid-col, 1), minmax(0, 1fr));
  }
}
