@font-face {
  font-family: "Aahgb";
  src: url("../font/Aahgb.woff2") format("woff2");
}
@font-face {
  font-family: "kmpr6nb";
  src: url("../font/kmpr6nb.woff2") format("woff2");
}
@font-face {
  font-family: "kmpr6nm-sub";
  src: url("../font/kmpr6nm_sub.woff2") format("woff2");
}
@font-face {
  font-family: "HannariMin";
  src: url("../font/HannariMincho-Regular.woff2") format("woff2");
}

:root {
  --main-field-size: 10000px;
  --base-text-width: 360px;
  --blue-text-color: #2ca1db;
  --base-text-color: #1a1a1a;
  --orange-text-color: #da9e61;
  --green-text-color: #67a880;
  --gray-zone-color: #f5f5f5;
  --sidebar-width: 240px;
  --margin-blk2blk: 80px;
  --margin-img2blk: 80px;
  --margin-mobile-left-1: 1em;
  --margin-mobile-left-2: 5%;
  --popup-organ-width: 684px;
  --popup-lecture-width: 504px;
  --popup-bookstock-width: 504px;
  --popup-album-width: 684px;
  --popup-album-v-width: 484px;
  --popup-album-sidemargin: 42px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  background-color: rgb(255, 255, 255);
}
body.pc {
  width: auto;
  overflow-x: hidden;
  overflow-y: hidden;
  /* スクロールバー非表示（IE・Edge）*/
  -ms-overflow-style: none;
  /* スクロールバー非表示（Firefox）*/
  scrollbar-width: none;
  /* 自動調整時の倍率を1倍 */
  -webkit-text-size-adjust: 100%;
  touch-action: none;
}
body.pc::-webkit-scrollbar {
  display: none;
}

main {
  width: 100%;
  background-color: white;
  /* background: linear-gradient(to bottom right, blue, purple, red, pink); */
  font-family: "Hiragino Kaku Gothic ProN W3", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴシック", "Noto Sans JP",
    sans-serif;
}
main.pc {
  width: calc(var(--main-field-size) * 2);
  height: calc(var(--main-field-size) * 2);
}

/* コンテンツ埋め込み領域 */
#field {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: static;
  background-color: white;
  /* background: linear-gradient(to bottom right, green, yellow); */
  color: var(--base-text-color);
  font-size: 11px;
  line-height: 18px;
  /* touch-action: pan-y; */
}
#field.pc {
  display: block;
  width: var(--main-field-size);
  height: var(--main-field-size);
  position: absolute;
  top: calc(var(--main-field-size) / 2);
  left: calc(var(--main-field-size) / 2);
  transform: scale(1);
  transform-origin: center;
  animation-fill-mode: forwards;
  cursor: grab;
}
/* フィールドをぼかすためのフィルター*/
.blur {
  -ms-filter: blur(6px);
  filter: blur(3px);
  opacity: 0.5;
}
/* ゾーン */
div.zone,
div.zone-white,
div.zone-green,
div.zone-red {
  cursor: pointer;
  z-index: 1;
}
div.zone {
  background-color: var(--gray-zone-color);
}
div.zone-white {
  background-color: white;
}
div.zone-green {
  background-color: rgb(223, 255, 175);
}
div.zone-red {
  background-color: rgb(255, 175, 182);
}

/* コンテンツ内容素共通 マウスカーソルをポインタにする */
.crs-default {
  cursor: default;
  z-index: 5;
}

/* ページ全体でリンクの下線除去 */
a:link,
a:visited {
  position: relative;
  left: 0;
  top: 0;
  text-decoration: none;
  color: var(--base-text-color);
}
a.white:link,
a.white:visited {
  color: #fffffd;
}
/* ブロックリンク用 */
a.block {
  display: block;
}

/* ページタイトル-番号 */
div.title-num {
  font-size: 55px;
  line-height: 55px;
  color: #3e3a39;
  font-weight: bold;
  font-family: "Aahgb";
  letter-spacing: -3px;
}
/* ページタイトル-文字 */
div.title-word {
  font-size: 60px;
  line-height: 60px;
  color: #3e3a39;
  font-weight: bold;
  font-family: "kmpr6nm-sub", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6",
    "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  letter-spacing: 10px;
  margin-left: 10px;
  margin-bottom: 80px;
}
@media screen and (max-width: 480px) {
  div.title-num {
    font-size: 44px;
    line-height: 44px;
    letter-spacing: -2px;
  }
  div.title-word {
    font-size: 48px;
    line-height: 48px;
  }
}

/* トップ画像右下のMAP文字表示 2025/11/7 使用停止により抑止
div.guide-map {
  font-family: "Aahgb";
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 19.2px;
  color: #3e3a39;
}
  */
/* トップ画像右下のMAP/FullView画像表示 */
img.map-fullview {
  width: 80px;
  height: 30px;
  background: url("../images/cmn_map_full_off.jpg");
}
img.map-fullview:hover {
  background: url("../images/cmn_map_full_on.jpg");
}

/* ゾーンを示す大きな数字の横に表示するテキスト */
div.guide-big-text {
  font-family: "HannariMin", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  /* font-size: 160px;
  line-height: 192px; */
  /* font-size: 140px; */
  font-size: 120px;
  line-height: 152px;
  font-weight: lighter;
  color: #3e3a39;
  transition: all 0.5s ease-in 1.3s;
  opacity: 0;
}
div.guide-big-text.show {
  opacity: 1;
}

/* ガイドテキスト */
div.guide-text {
  font-family: "HannariMin", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 19.2px;
  color: #3e3a39;
}
div.guide-text:hover a:link,
div.guide-text:hover a:visited {
  color: #989898;
}
/* ガイド矢印 */
div.move-arrow {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../images/cmn_move_arrow.png");
}
div.move-arrow.up {
  transform: translate(0px, 0px) rotate(-90deg);
}
div.move-arrow.right {
  transform: translate(0px, 5px);
}
div.move-arrow.down {
  transform: translate(0px, 0px) rotate(90deg);
}
div.move-arrow.left {
  transform: translate(-5px, 5px) rotate(180deg);
}
/* マウスカーソルが乗ったとき */
div.guide-text:hover div.move-arrow {
  background-image: url("../images/cmn_move_arrow_hover.png");
}
div.guide-text:hover div.move-arrow.up {
  transition: transform 0.3s ease-out;
  transform: translate(0px, -5px) rotate(-90deg);
}
div.guide-text:hover div.move-arrow.right {
  transition: transform 0.3s ease-out;
  transform: translate(5px, 5px);
}
div.guide-text:hover div.move-arrow.down {
  transition: transform 0.3s ease-out;
  transform: translate(0px, 5px) rotate(90deg);
}
div.guide-text:hover div.move-arrow.left {
  transition: transform 0.3s ease-out;
  transform: translate(-10px, 5px) rotate(180deg);
}
/* 矢印がフェードインするアニメーション */
div.move-arrow.up.fadeIn-left,
div.move-arrow.right.fadeIn-down,
div.move-arrow.down.fadeIn-left,
div.move-arrow.left.fadeIn-down {
  opacity: 0;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
  animation-delay: 3.2s;
}
/* 上向き矢印の左方向へのフェードイン */
div.move-arrow.up.fadeIn-left {
  transform: translate(35px, 0px) rotate(-90deg);
  animation-name: upArrowFadeInleft;
}
@keyframes upArrowFadeInleft {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px) rotate(-90deg);
  }
}
/* 右向き矢印の下方向へのフェードイン */
div.move-arrow.right.fadeIn-down {
  transform: translate(0px, -35px);
  animation-name: rightArrowFadeInDown;
}
@keyframes rightArrowFadeInDown {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 5px);
  }
}
/* 下向き矢印の左方向へのフェードイン */
div.move-arrow.down.fadeIn-left {
  transform: translate(35px, 0px) rotate(90deg);
  animation-name: downArrowFadeInleft;
}
@keyframes downArrowFadeInleft {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px) rotate(90deg);
  }
}
/* 左向き矢印の下方向へのフェードイン */
div.move-arrow.left.fadeIn-down {
  transform: translate(-5px, -30px) rotate(180deg);
  animation-name: leftArrowFadeInDown;
}
@keyframes leftArrowFadeInDown {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(-5px, 5px) rotate(180deg);
  }
}
/* ガイド長線 */
div.guide-line-left,
div.guide-line-right {
  border-top: 1px solid #7f7f7f;
  transform: scale(0, 1);
  transition: transform 28s 2.2s;
}
div.guide-line-up,
div.guide-line-down {
  border-left: 1px solid #7f7f7f;
  transform: scale(1, 0);
  transition: transform 28s 2.2s;
}
div.guide-line-up {
  transform-origin: right bottom;
}
div.guide-line-right {
  transform-origin: left top;
}
div.guide-line-down {
  transform-origin: right top;
}
div.guide-line-left {
  transform-origin: right top;
}
div.guide-line-up.expand,
div.guide-line-right.expand,
div.guide-line-down.expand,
div.guide-line-left.expand {
  transform: scale(1, 1);
}

/* 画像共通 */
div.image-top > img,
div.image-title > img,
div.image-big > img,
div.image-middle > img,
div.image-small > img,
div.image-face-ft > img {
  object-fit: fill;
  width: 100%;
  height: 100%;
}
/* トップ画像 */
div.image-top {
  width: 100%;
  margin-bottom: 30px;
}
div.pc.image-top {
  width: 560px;
  height: 400px;
  cursor: pointer;
}
/* 画像ゾーン見出し */
div.image-zone {
  width: 90%;
  max-width: 640px;
  margin: 80px auto 30px auto;
  flex: 0 0 90%; /* モバイル表示時は単独で一行表示にする */
}
div.image-zone-pc {
  display: none;
}
div.pc.image-zone,
div.pc.image-zone-pc {
  display: block;
  width: 320px;
  height: 320px;
  margin: 0;
}
div.image-zone > img {
  object-fit: fill;
  width: 100%;
}
div.pc.image-zone > img,
div.pc.image-zone-pc > img {
  width: 100%;
}
/* タイトル画像 */
div.pc.image-main {
  width: 360px;
  height: 65px;
}
/* 画像大 */
div.pc.image-big {
  width: 800px;
  height: 564px;
}
/* 画像中*/
div.pc.image-middle {
  width: 160px;
  height: 240px;
}
/* 画像小 */
div.pc.image-small {
  width: 54px;
  height: 54px;
}
/* 画像教師顔写真 */
div.image-face-ft {
  width: 20%;
  margin-left: var(--margin-mobile-left-2);
}
div.pc.image-face-ft {
  width: 160px;
  height: 160px;
  margin: 0;
}

/* 個別画像 */
/* 画像-生活の場-個別 */
div.image-livingplace {
  width: 160px;
  height: 160px;
  margin-left: var(--margin-mobile-left-2);
  margin-bottom: 5px;
}
/* 画像-日本地図 */
div.image-map-japan.pc {
  width: 400px;
  height: 470px;
  margin-left: var(--margin-mobile-left-2);
}
/* 画像-世界地図 */
div.image-map-world {
  width: 620px;
  height: 360px;
  margin-left: var(--margin-mobile-left-2);
}
div.pc.image-livingplace,
div.pc.image-map-japan,
div.pc.image-map-world {
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}
div.image-livingplace > img,
div.image-map-japan > img,
div.image-map-world > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
/* 画像-モノグラフ */
/* 画像-聖書宣教会通信 */
img.image-monograph,
img.image-jbscom {
  object-fit: cover;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
/* アルバムサムネイル用　ポップアップ中の画像はポップアップ部分で設定 */
img.album-tmb {
  width: 100%;
  height: 100%;
}
/* その他ページのマップ用 本番不使用 */
img.map {
  width: 360px;
  height: 360px;
}

/* 教師陣画像アニメーション */
/* div.face-anime-container {
  background-image: url(../images/teachers/back.jpg);
} */
div.face-anime-0,
div.face-anime-1,
div.face-anime-2 {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}
div.face-anime-0 {
  z-index: 6;
}
div.face-anime-1 {
  z-index: 7;
}
div.face-anime-2 {
  z-index: 8;
}
div.face-anime-container:hover div.face-anime-0 {
  animation: 1.5s ease 0s 1 both face-fade-out,
    2s ease-out 5s 1 forwards face-fade-in;
}
div.face-anime-container:hover div.face-anime-1 {
  animation: 1.5s ease 2s 1 forwards face-fade-out;
}
@keyframes face-fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes face-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ゾーン見出し */
div.text-zone {
  font-family: "HannariMin", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 15px;
  width: calc(100% - var(--margin-mobile-left-1));
  margin-left: var(--margin-mobile-left-1);
  margin-top: 80px;
  margin-bottom: 1em;
}
div.pc.text-zone {
  width: var(--base-text-width);
  margin: 0;
}
/* エリア見出し */
div.text-area {
  font-family: "Hiragino Kaku Gothic ProN W3", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴシック", "Noto Sans JP",
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 19.2px;
  color: #3e3a39;
  width: calc(100% - var(--margin-mobile-left-1));
  margin-left: var(--margin-mobile-left-1);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
div.pc.text-area {
  width: var(--base-text-width);
  margin: 0;
}
/* テキスト見出し */
div.text-head {
  font-size: 11px;
  line-height: 20px;
  width: calc(100% - var(--margin-mobile-left-1));
  margin-left: var(--margin-mobile-left-1);
  margin-top: 1em;
}
div.pc.text-head {
  width: var(--base-text-width);
  margin: 0;
}
/* 段落本文 */
div.block-a,
div.block-b,
div.block-c {
  width: calc(100% - var(--margin-mobile-left-2) * 2);
  margin: 1em 5%;
  /* background-color: rgb(223, 255, 175); */
}
div.block-d {
  width: 80px;
  height: 80px;
  text-align: center;
  margin-left: var(--margin-mobile-left-2);
  margin-bottom: 1em;
}
div.pc.block-a,
div.pc.block-b,
div.pc.block-c,
div.pc.block-d {
  margin: 0;
  line-height: 18px;
  overflow-wrap: break-word;
}
/* ブロックリンクか所蔵図書ブロック(width:240px)を内包するblock-bは縮める */
/* hasは効かないブラウザがまだ多いので、縮められなくてもあまり気にしない */
div.block-b.pc:has(> div.block-link),
div.block-b.pc:has(div.bookstock) {
  width: 240px;
}
/* 段落本文 - PC横幅 */
div.pc.block-a {
  width: 580px;
  letter-spacing: 0.18em;
}
div.pc.block-b {
  width: var(--base-text-width);
}
div.pc.block-c {
  width: calc(var(--base-text-width) / 2);
}
/* 全体１文字インデント */
p.indent-1 {
  padding-left: 1em;
}
/* 折り返し後の左１文字インデント */
p.bank {
  text-indent: -1.3em;
  padding-left: 1.3em;
}
/* ブロック内見出し */
span.head-blue {
  color: var(--blue-text-color);
  font-size: 11px;
  line-height: 20px;
}
span.head-green {
  color: var(--green-text-color);
  font-size: 11px;
  line-height: 20px;
}
span.head-orange {
  color: var(--orange-text-color);
  font-size: 11px;
  line-height: 20px;
}
/* 注釈年度 */
span.year {
  font-size: 11px;
  font-weight: normal;
}
/* 注釈日付 */
span.date {
  font-size: 9px;
  font-weight: normal;
}
/* コース　入学費用テーブル */
table.entry-cost td {
  vertical-align: top;
  text-align: left;
}
table.entry-cost td.td-1 {
  width: 4em;
}
table.entry-cost td.td-2 {
  width: 4em;
}
table.entry-cost td.td-3 {
  width: 3.5em;
}
table.entry-cost td.td-4 {
  width: 7em;
}
table.entry-cost td.td-5 {
  width: 5em;
}
table.entry-cost td.bank {
  text-indent: -1em;
  padding-left: 1em;
}
table.entry-cost td.cost {
  text-align: right;
  padding-right: 0.7em;
}
table.entry-cost.sp td.td-2 {
  width: 6em;
}
table.entry-cost.sp td.td-3 {
  width: 3em;
}
table.entry-cost.sp td.td-5 {
  width: 6em;
}
table.entry-cost.sp td.line {
  padding-left: 1em;
}

/* ブロック内テーブル */
table.tbl-in-block {
  width: 100%;
  display: table;
  margin: 0;
}
table.tbl-in-block > tbody > tr > td {
  vertical-align: top;
  padding: 3px 0px 3px 5px;
}

/* 支援献金テーブル タイプ2 */
div.offering-wrap {
  max-width: 360px;
}
table.offering2 {
  width: 100%;
  border-collapse: collapse;
  color: #3e3a39;
}
/* 見出し行全般 */
table.offering2 tr > th {
  text-align: center;
  color: #232815;
  font-weight: bold;
  font-weight: 600;
}
/* 一行目 */
table.offering2 tr:nth-child(1) > th:nth-child(3) {
  padding-bottom: 11px;
  border-bottom: solid 3px #da9e61;
}
/* 二行目 */
table.offering2 tr:nth-child(2) > th {
  height: 38px;
  vertical-align: middle;
}
@media screen and(max-width: 480px) {
  table.offering2 tr:nth-child(2) > th {
    font-size: 0.8em;
  }
}
/* 見出し合計 */
table.offering2 tr:nth-child(2) > th:last-child {
  text-align: right;
  padding-right: 15px;
}
/* データ行全般 */
table.offering2 tr > td {
  text-align: right;
  vertical-align: bottom;
  padding-right: 5px;
  padding-bottom: 1px;
  height: 31px;
  border-bottom: solid 1px #1a1a1a;
}
/* 数字列 */
table.offering2-1 tr > td:nth-child(n + 3):nth-child(-n + 6) {
  width: 60px;
}
table.offering2-2 tr > td:nth-child(n + 3):nth-child(-n + 7) {
  width: 50px;
}
/* 年度(1列目) */
table.offering2 tr > td:first-child {
  width: 40px;
}
/* 空白列(2列目) */
table.offering2 tr > td:nth-child(2) {
  width: 10px;
  border-bottom: none;
}
/* 合計(最終列) */
table.-ffering2 tr > td:last-child {
  font-size: 1em;
}
@media screen and (max-width: 780px) {
  table.offering2 tr > td {
    font-size: 0.9em;
  }
  table.offering2-1 tr > td:nth-child(n + 3):nth-child(-n + 6) {
    width: 55px;
  }
  table.offering2-2 tr > td:nth-child(n + 3):nth-child(-n + 7) {
    width: 45px;
  }
  table.-ffering2 tr > td:last-child {
    width: 60px;
  }
}
@media screen and(max-width: 480px) {
  table.offering2 tr > td {
    font-size: 0.9em;
  }
  table.offering2-1 tr > td:nth-child(n + 3):nth-child(-n + 6) {
    width: 44px;
  }
  table.offering2-2 tr > td:nth-child(n + 3):nth-child(-n + 7) {
    width: 40px;
  }
  table.-ffering2 tr > td:last-child {
    width: 50px;
  }
}

/* pcでは二つ目のテーブルの１列目と２列目（空白列）は表示しない */
.pc table.offering2-2 tr > th:nth-child(1),
.pc table.offering2-2 tr > td:nth-child(1),
.pc table.offering2-2 tr > td:nth-child(2) {
  visibility: collapse;
  border-bottom: none;
}

/* 宣教のひろがりテキスト */
div.text-graduate {
  padding: 1em;
  background-color: #231816;
  color: white;
  line-height: 1.2;
  letter-spacing: normal;
}
div.pc.text-graduate {
  width: 400px;
}

/* 卒業生人数表示 */
div.numlist-graduate {
  color: var(--orange-text-color);
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}
/* 都道府県や国といった個別枠 */
div.numlist-graduate > div {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  margin-right: 3.5em;
}
div.numlist-graduate > div > div:nth-child(2) {
  width: 22px;
  text-align: right;
}
/* PC版は大枠と個別枠を縮め、モバイル版は個別枠だけ縮める */
/* 国内 */
div.numlist-graduate.japan > div {
  width: 66px;
}
div.numlist-graduate.japan > div > div:nth-child(1) {
  width: 44px;
}
.pc div.numlist-graduate.japan,
.pc div.numlist-graduate.japan > div {
  width: 77px;
}
.pc div.numlist-graduate.japan > div > div:nth-child(1) {
  width: 55px;
}
/* 海外 */
div.numlist-graduate.world > div {
  width: 99px;
}
div.numlist-graduate.world > div > div:nth-child(1) {
  width: 77px;
}
.pc div.numlist-graduate.world {
  width: 99px;
}

/* ブロック内正方エリア */
div.square-80 {
  width: 80px;
  height: 80px;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}
div.square-80 > span.small {
  font-size: 0.8em;
}
/* ブロック内背景色 */
div.bgc-black {
  background-color: #231816;
}
div.bgc-gray {
  background-color: var(--gray-zone-color);
}
/* 出願手続き・入学試験 */
div.square-80.invert {
  background-color: #231816;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  flex-flow: row;
  justify-content: start;
  padding-left: 5px;
  text-align: left;
  transition: all 0.3s linear;
}
div.invert:hover {
  background-color: #f5f5f5;
  color: #231815;
}
/* MOVIEボタン */
div.btn-movie-on,
div.btn-movie-off {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s linear;
}
div.btn-movie-on {
  background-image: url("../images/cmn_movie_on.png");
  opacity: 0;
}
div.btn-movie-on:hover {
  opacity: 1;
}
div.btn-movie-off {
  background-image: url("../images/cmn_movie_off.png");
  opacity: 1;
}
div.btn-movie-off:hover {
  opacity: 0;
}
div.text-movie-cap {
  width: 80px;
  height: 80px;
  position: relative;
  top: 80px;
  left: 0;
  text-align: center;
}
/* 講義概要 */
div.square-80.lecture {
  display: block;
  text-align: center;
  padding-top: calc(40px - (1em / 2));
  font-family: "kmpr6nb", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 10px;
  line-height: 12px;
  color: #3e3a39;
  transition: all 0.3s linear;
}
div.square-80.lecture:hover {
  background-color: #231816;
  color: white;
}

/* 年間スケジュールテーブルの一列目セルの横幅 */
table.schedule > tbody > tr > td:first-child {
  width: 4em;
}

/* 新着図書ブロック */
/* div.newbook {
  padding: 7px;
  border: 2px solid #898383;
}
div.pc.newbook {
  width: 240px;
} */
/* 所蔵図書黒ブロック */
div.bookstock {
  padding: 7px;
  background-color: #231816;
  color: #f5f5f5;
  transition: all 0.3s linear;
}
div.bookstock:hover {
  background-color: #f5f5f5;
  color: #231815;
}
div.pc.bookstock {
  width: 240px;
}

/* リンクブロック */
/* ブロック全体でリンクになっている個所。その他情報とか */
div.block-link {
  padding: 7px;
  border: 2px solid #898383;
  font-size: 8px;
}
div.pc.block-link {
  width: 240px;
  height: 80px;
}
div.block-link table.table-link {
  height: 100%;
}
/* リンクブロック内テーブル1列目 */
div.block-link table.table-link td:first-child {
  vertical-align: middle;
}
div.block-link.pc table.table-link.site td:first-child,
div.block-link.pc table.table-link.link td:first-child {
  width: 115px;
}
div.block-link.pc table.table-link.link td:first-child {
  padding-left: 1em;
}
div.block-link.pc table.table-link.news td:first-child {
  width: 240px;
}
/* リンクブロック内大文字 */
div.block-link span.link-title {
  font-family: "Hiragino Kaku Gothic ProN W3", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴシック", "Noto Sans JP",
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 19.2px;
}
/* リンクブロック内テーブル2列目 */
div.block-link table.table-link td:nth-child(2) {
  padding-left: 1em;
}
div.block-link.pc table.table-link td:nth-child(2) {
  padding-left: 0px;
}

/* 通常ブロック内のaタグリンク下にホバー時だけ下線を出す */
div.block-b a::after,
div.block-c a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #a58f60;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}
div.block-b a:hover::after,
div.block-c a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}
div.block-b a,
div.block-c a {
  color: #231815;
}
div.block-b a:hover,
div.block-c a:hover {
  color: #989898;
}
/* 出したくないとき用 */
div.block-b a.no-underline-anime::after,
div.block-c a.no-underline-anime::after {
  opacity: 0;
}

/* コンテンツページ序文段落 */
p.preface {
  font-family: "HannariMin", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 18px;
}
/* ブロック内右寄せ行 */
p.right {
  text-align: right;
}
/* ブロック内信仰基準インデント */
p.canon {
  text-indent: -2em;
  padding-left: 2em;
}
/* 教師陣テキスト太字 */
p.teachers {
  font-weight: 600;
}
/* 出版物説明文段落 */
p.publication {
  font-size: 9px;
  line-height: 12px;
}
/* 文字リンク */
div.text-link {
  font-size: 11px;
}
/* 文章内項目 */
span.item-head {
  color: var(--blue-text-color);
}
/* NEWマーク */
div.circle-new {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #20110c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 7px;
  margin-left: var(--margin-mobile-left-1);
}
div.pc.circle-new {
  transform: translateY(-20px);
}
div.circle-new > div {
  width: 3em;
  color: white;
  text-align: center;
}

/* 動画 */
video.organ {
  width: 100%;
}

/* モバイル用ヘッダー */
#header {
  display: flex;
  position: -webkit-fixed;
  position: fixed;
  top: 0;
  left: 0;
  /* 幅はメッセージ表示用に最初は広げておくが、JS内で1pxに縮める */
  width: 100%;
  height: 62px;
  background-color: rgba(255, 255, 255, 0);
  z-index: 20;
  font-size: 12px;
  text-shadow: white 0 0 10px;
  font-family: "游明朝", "YuMincho", "Hiragino Mincho ProN W3",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝",
    "MS 明朝", serif;
}
#header.pc {
  display: none;
  font-size: 14px;
}
/* ハンバーガーメニューボタン */
#menu-btn-check {
  display: none;
}
label.menu-btn {
  position: fixed;
  top: 5px;
  left: calc(100vw - 50px);
  display: block;
  height: 45px;
  width: 45px;
  justify-content: center;
  align-items: center;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
}
label.menu-btn span.bar,
label.menu-btn span.bar:before,
label.menu-btn span.bar:after {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  width: 22px;
  background-color: rgba(55, 55, 55, 1);
  position: absolute;
}
label.menu-btn span.bar {
  top: 24px;
  left: 12px;
  transition: background-color 0.1s 0.1s;
  background-color: rgba(55, 55, 55, 1);
}
label.menu-btn span.bar:before {
  transition: bottom 0.1s 0s, transform 0.3s 0s;
  bottom: 6px;
  transform: rotate(0);
}
label.menu-btn span.bar:after {
  transition: top 0.1s 0s, transform 0.3s 0s;
  top: 6px;
  transform: rotate(0);
}
/* メニューオープン時　真ん中の線を透明にし、残り２本を傾けてXにする */
#menu-btn-check:checked ~ label.menu-btn span.bar {
  transition: background-color 0.2s 0s;
  background-color: rgba(55, 55, 55, 0);
}
#menu-btn-check:checked ~ label.menu-btn span.bar::before {
  transition: bottom 0.5s 0s, transform 0.5s 0s;
  bottom: 0px;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ label.menu-btn span.bar::after {
  transition: bottom 0.5s 0s, transform 0.5s 0s;
  top: 0px;
  transform: rotate(-45deg);
}

/* ポップアップ */
/* JSが動くならロード時にnoneクラスをつけてpopup表示内容を詰め込んだdivを消す */
div.popup-organ.none,
div.popup-lecture.none,
div.popup-bookstock.none,
div.popup-album.none {
  display: none;
}
#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 95%;
  max-width: 100%;
  max-height: 100%;
  z-index: 30;
  background-color: rgba(255, 255, 255, 0);
  font-family: "Hiragino Kaku Gothic ProN W3", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴシック", "Noto Sans JP",
    sans-serif;
  font-size: 11px;
  color: var(--base-text-color);
}
#popup.popup-organ {
  background-color: rgba(0, 0, 0, 0.8);
  width: var(--popup-organ-width);
  padding-left: var(--popup-album-sidemargin);
  padding-right: var(--popup-album-sidemargin);
  padding-bottom: var(--popup-album-sidemargin);
}
#popup.popup-lecture {
  width: var(--popup-lecture-width);
}
#popup.popup-bookstock {
  width: var(--popup-bookstock-width);
}
#popup.popup-album {
  background-color: rgba(0, 0, 0, 0.8);
  width: var(--popup-album-width);
}
img.album {
  object-fit: contain;
  width: calc(100% - var(--popup-album-sidemargin) * 2);
  height: calc(100% - 84px);
  display: block;
  margin: 0 auto;
}
div.popup-msg {
  width: 100%;
  min-height: 320px;
  margin: 0;
  padding: 40px;
  background-color: #f5f5f5;
}
@media screen and (max-height: 420px) {
  div.popup-msg {
    padding: 10px;
  }
}
div.popup-msg > p::first-line {
  font-family: "kmpr6nb", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 10px;
}
/* 図書テーブル */
table.bookstock {
  width: calc(100% -24px);
}
table.bookstock td {
  vertical-align: top;
}
/* 図書テーブルの一列目セルの横幅 */
table.bookstock > tbody > tr > td:first-child {
  width: 5.5em;
}
/* 所蔵図書コメントのスクロール */
div.comment {
  max-height: 250px;
  overflow: auto;
}
.pc div.comment {
  max-height: 400px;
}
/* ポップアップ下部  */
div.popup-btm-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}
div.popup-btm-container.all-right {
  justify-content: flex-end;
}
div.popup-btm-left {
  margin-left: 0px;
  padding-top: 17px;
}
#popup.popup-album div.popup-btm-left {
  margin-left: var(--popup-album-sidemargin);
}
span.popup-caption {
  margin-top: 20px;
}
div.popup-cnm {
  padding-top: 17px;
  font-family: "kmpr6nb", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 10px;
  margin-right: 30px;
}
#popup.popup-album span.popup-caption {
  color: #ffffff;
}
div.popup-btm-right {
  width: 78px;
  min-width: 64px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}
#popup.popup-album div.popup-btm-right {
  width: calc(78px + var(--popup-album-sidemargin));
}
#popup-close,
#popup-back,
#popup-next {
  height: 30px;
  margin-bottom: 12px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴ Pro",
    "ヒラギノ角ゴシック", "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-weight: 100;
  font-weight: 1;
  color: #000000;
}
#popup.popup-organ #popup-close a,
#popup.popup-album #popup-close a,
#popup.popup-album #popup-back a,
#popup.popup-album #popup-next a {
  color: #ffffff;
}

#popup-close {
  display: block;
  width: 100%;
  margin-left: 0px;
}
#popup.popup-album #popup-close {
  margin-left: var(--popup-album-sidemargin);
}
#popup-back,
#popup-next {
  display: inline-block;
}
#popup-back {
  margin-right: 0px;
}
#popup-next {
  margin-left: 0px;
  margin-right: 0px;
}
#popup.popup-album #popup-next {
  margin-right: var(--popup-album-sidemargin);
}

/* サイドバー */
#sidebar,
#sidebar-dummy {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  min-height: 100vh;
  position: fixed;
  display: none;
}
#sidebar-dummy {
  z-index: 12;
}
#sidebar {
  z-index: 10;
  flex-flow: column;
  justify-content: start;
  align-items: start;
  background-color: rgba(255, 255, 255, 0.9);
}
#sidebar.pc {
  width: var(--sidebar-width);
}
#sidebar-dummy.pc {
  width: calc(var(--sidebar-width) / 3 * 2.8);
}
#sidebar:hover {
  display: flex;
}

/* 2秒目に消え始めて4秒目で消える */
#sidebar.fade-out {
  animation: 2s ease-in 2s 1 forwards sidebar-fadeout;
}
@keyframes sidebar-fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* サイドバーを右へ動かす */
#sidebar.fade-in {
  animation: 1s ease-in-out 0s 1 forwards sidebar-rightin;
}
@keyframes sidebar-rightin {
  from {
    transform: translateX(calc(var(--sidebar-width) * -1));
  }
  to {
    transform: translateX(0);
  }
}
/* サイドバーを左へ動かす */
#sidebar.left-out {
  animation: 500ms ease-in-out 100ms 1 forwards sidebar-leftout;
}
@keyframes sidebar-leftout {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(var(--sidebar-width) * -1));
  }
}

img.menu-top-jbs {
  margin-left: 0;
  margin-right: auto;
}

#sidebar > .up {
  margin-left: 30px;
  flex-grow: 1;
}
#sidebar.pc > .up {
  width: 210px;
}

/* サイドバー共通 */
#sidebar ul {
  list-style-type: none;
  flex-flow: row wrap;
  font-family: "游明朝", "YuMincho", "Hiragino Mincho ProN W3",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝",
    "MS 明朝", serif;
}
#sidebar.pc ul {
  flex-flow: column;
}
#sidebar a {
  text-decoration: none;
}
#sidebar a:link,
#sidebar a:visited {
  color: #281815;
}
#sidebar a:hover {
  color: #989898;
}
#sidebar span.text-cont-number {
  font-weight: bold;
  font-family: "Aahgb";
  font-size: 10px;
  letter-spacing: -0.5px;
  vertical-align: 15%;
}
#sidebar span.text-Aahgb {
  font-family: "Aahgb";
  font-weight: bold;
  font-size: 12px;
  letter-spacing: -0.5px;
  color: #281815;
}

/* メインメニュー */
div.map-link {
  display: none;
}
#sidebar.pc div.map-link {
  display: block;
  width: calc(100% - 25px);
  margin-left: 25px;
}
/* 大項目 */
input.side-btn-check {
  display: none;
}
div.sidemenu-box {
  /* -webkit-backface-visibility: hidden;
  backface-visibility: hidden; */
  transform: translateZ(0);
  transition: all 0.3s;
}
label.page-title {
  width: 100%;
  margin-left: 10px;
  font-family: "游明朝", "YuMincho", "Hiragino Mincho ProN W3",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝",
    "MS 明朝", serif;
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 18px;
}
/* 中項目 */
div.sidemenu-box {
  width: 100%;
  height: 0;
  overflow: hidden;
  font-size: 8px;
  line-height: 18px;
}
div.sidemenu-box > ul {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  flex-flow: row wrap;
}
#sidebar.pc div.sidemenu-box > ul {
  margin-left: 25px;
  width: 100%;
  flex-flow: column;
}
/* 中項目を開閉 */
input.side-btn-check:checked + label.page-title + div.sidemenu-box {
  height: auto;
  transition: all 0.3s;
}
#sidebar.pc
  input#block-01.side-btn-check:checked
  + label.page-title
  + div.sidemenu-box {
  height: calc(18px * 14 + 40px);
}
#sidebar.pc
  input#block-02.side-btn-check:checked
  + label.page-title
  + div.sidemenu-box {
  height: calc(18px * 7 + 40px);
}
#sidebar.pc
  input#block-03.side-btn-check:checked
  + label.page-title
  + div.sidemenu-box {
  height: calc(18px * 5 + 40px);
}
#sidebar.pc
  input#block-11.side-btn-check:checked
  + label.page-title
  + div.sidemenu-box {
  height: calc(18px * 6 + 40px);
}
#sidebar.pc
  input#block-12.side-btn-check:checked
  + label.page-title
  + div.sidemenu-box {
  height: calc(18px * 6 + 40px);
}
#sidebar.pc
  input#block-13.side-btn-check:checked
  + label.page-title
  + div.sidemenu-box {
  height: calc(18px * 3 + 40px);
}
div.sidemenu-box > ul > li {
  width: 90px;
  position: relative;
}
#sidebar.pc div.sidemenu-box > ul > li {
  width: 100%;
}

/* 小項目 */
/* モバイルでは常時出す */
.accordion {
  display: block;
  position: relative;
  top: 0;
  left: 1em;
  z-index: 11;
}
/* PCではマウスホバー時だけ出す */
#sidebar.pc .accordion {
  display: none;
  position: absolute;
  width: 95px;
  height: 180px;
  top: 0;
  left: 90px;
}
#sidebar.pc .hover-switch:hover .accordion {
  display: block;
}
.accordion:hover {
  display: block;
}
/* 無理やりマージンを取るためのdiv */
div.space {
  width: 100%;
  height: 0;
}
#sidebar.pc div.space {
  height: 40px;
}
#sidebar.pc input#block-03.side-btn-check:checked ~ div.space {
  height: 0;
}
/* サイドバー下部 */
#sidebar > .down {
  text-align: center;
  flex-grow: 0;
}

/* 中央へ戻るボタン（抑止中） */
.btn-move-center {
  width: 165px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  height: 1.8em;
  background-color: rgb(64, 63, 65, 1);
  color: white;
  position: relative;
}
.btn-move-center > p {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}
.btn-move-center:hover {
  background-color: rgb(19, 12, 12);
  color: white;
}
.btn-move-center:active span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  content: "";
  background: white;
  border-radius: 100%;
  opacity: 0;
  animation: 0.3s ease-out 0s 1 ripple;
}
@keyframes ripple {
  from {
    opacity: 1;
    transform: scale(0);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}

/* メッセージ表示 */
div#msg {
  font-family: "HannariMin", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 7px;
  letter-spacing: 2px;
  color: #989898;
}
/* 中央点 */
div.test-center-circle {
  display: none;
}
div.pc.test-center-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transform: translate(-35px, -35px);
  background-color: rgb(226, 226, 226);
  display: flex;
  align-items: center;
  justify-content: center;
}
div.test-center-circle > div {
  width: 3em;
}

/* チェック用マーカー */
span.checkmaker-1 {
  background: linear-gradient(transparent 60%, rgb(245, 247, 152) 60%);
}
span.checkmaker-2 {
  background: linear-gradient(transparent 60%, rgb(125, 243, 160) 60%);
}
span.checkmaker-3 {
  background: linear-gradient(transparent 60%, rgb(247, 145, 213) 60%);
}
span.checkmaker-4 {
  background: linear-gradient(transparent 60%, rgb(125, 243, 160) 60%);
}

/* デバッグ用フッター */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgb(255, 255, 255, 0);
  text-align: right;
}
