@charset "UTF-8";
/* ==========================================
   Template: modern（https://do.gt-gt.org/）
   Copyright: 2020 do.
   利用規約を遵守の上お使いください。二次配布・販売を禁じます
   ========================================== */
/* ==========================================
  リセットCSS
  基本的には触らないでください
  ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Changa+One:ital@0;1&family=Chango&family=Mochiy+Pop+P+One&display=swap');
input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

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

a {
  text-decoration: none;
}

ol,
ul {
  padding: 0;
}

h1,
h2,
img,
p {
  margin: 0;
  padding: 0;
}

hr {
  border: none;
  height: 1px;
  background: #f1eded;
  margin: 2em auto;
  width: 100%;
}

h1,
h2,
p {
  line-height: 1.6em;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.flex {
  display: -webkit-box;
  display: flex;
}

.wrap {
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

@media (min-width: 768px) {
  .wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
  }
}

@media (min-width: 768px) and (max-width: 1029px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1030px) {
  .container {
    max-width: 960px;
  }
}

body {
  background: #ffffff;
  overflow-x: hidden;
  color: #242424;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: YuGothic,'Yu Gothic','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}

section {
  padding: 30px 0;
}

/* 背景色切り替え */
section.bgcolor2 {
  background: #f5f2f2;
}

section.bgcolor3 {
  background: #e8e8e8;
}

small {
  font-size: 80%;
}

strong.large {
  font-size: 150%;
}

strong.marker {
  background: #98100B;
}

.wrap {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

.wrap .inner {
  -webkit-box-flex: 1;
          flex: 1;
  margin-bottom: 30px;
}

.wrap-3col {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

.wrap-3col .inner {
  -webkit-box-flex: 1;
          flex: 1;
  margin-bottom: 30px;
}

/* サイト名 */
h1 {
  font-family: "Chango", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* コンテンツの見出し */
h2 {
  font-family: "Changa One", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

p.center {
  text-align: center;
}

table, td, th {
  border: 1px solid #dcdcdc;
  border-collapse: collapse;
}

td, th {
  padding: 5px 10px;
}

th {
  background: #fdffda;
}

table.center {
  margin: 20px auto;
}


/* リンクアニメーションここから */
/* 汎用的なリンクスタイル */
a {
    color: #98100B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:focus, a:visited, a:active {
    color: #98100B;
}

/* 本文内のリンクのみに装飾を適用 */
.tab-content a,
main a,
article a,
p a {
    font-weight: bold;
    position: relative;
    padding-bottom: 2px;
}

.tab-content a::after,
main a::after,
article a::after,
p a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #98100B;
    transition: width 0.3s ease;
}

.tab-content a:hover,
main a:hover,
article a:hover,
p a:hover {
    color: #98100B;
}

.tab-content a:hover::after,
main a:hover::after,
article a:hover::after,
p a:hover::after {
    width: 100%;
}
/* リンクアニメーションここまで */


ul ul {
  margin-left: 1em;
  margin-bottom: 10px;
}

/* テキストボックス */
a.btn {
  display: block;
  background: #98100B;
  color: #ffffff;
  font-weight: bold;
  border-radius: 3px;
  padding: 10px 30px;
  text-align: center;
  min-width: 250px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 20px auto;
  -webkit-transition: .2s;
  transition: .2s;
}
/* ボックスオンカーソル */
a.btn:hover {
  transform: scale(1.05, 1.05);
  color: #ffffff;
  text-decoration: none;
}

p {
  margin: 1.5em 0;
}

dl.news {
  font-size: 14px;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  border-bottom: 1px dotted #b8b8b8;
}

dl.news dt {
  font-weight: bold;
  padding: 0;
  line-height: 1.2;
}

dl.news dd {
  padding: 5px 0 10px 0;
  margin: 0;
}

/* ここからナビゾーンその１ */
nav#globalnav {
  position: fixed;
  z-index: 9;
  top: 0;
  width: 100%;
}

/* ヘッダー背景のデザイン */
nav#globalnav .globalnav_bg {
  height: 70px;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
  opacity: 1;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(5%, rgba(230, 230, 230, 0)), color-stop(51%, rgba(255, 255, 255, 0.9)));
  background: linear-gradient(0deg, rgba(230, 230, 230, 0) 5%, rgba(255, 255, 255, 0.9) 51%);
}

nav#globalnav h1 a {
  color: #000000;
  display: block;
}

/* サイトロゴ */
.custom-logo h1 {
  position: fixed;
  color: #ffffff;
  top: 13px;
  left: 15px;
  font-size: 35px;
}
@media screen and (min-width: 1024px) {
.custom-logo h1 {
  top: 20px;
  left: 60px;
 }
}

/* ヘッダーのサイトロゴの色変化 */
nav#globalnav h1 a:hover {
  color: #98100B;
}

/* スマホ */
nav#globalnav ul {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

/* ロゴが黒いときのホバー色変化 */
nav#globalnav ul li a:hover {
  color: #98100B;
}

/* メニューの見た目 */
nav#globalnav ul#navmenu {
  list-style: none;
  position: fixed;
  background: #98100B;
  border-radius: 0px 0px 0px 10px;
  width: 250px;        /* ← モバイル横 */
  max-width: 300px;
  height: 385px;
  top: 0px;
  z-index: 5;
  right: -100%;
  margin: 0;
  padding: 40px 20px 20px;
  overflow-x: hidden; 
  overflow-y: auto; 
  box-shadow: 0px 0px 0px 4px #98100B;
  -webkit-transition: right .4s;
  transition: right .4s;
  display: inline-block;
}

/* PCメニュー枠のサイズ */
@media screen and (min-width: 1024px) {
  nav#globalnav ul#navmenu {
    width: 350px;   /* ← PC横 */
    height: 415px;
  }
}

/* メニューの文字の位置や色 */
  nav#globalnav ul#navmenu li a {
    padding: 10px 20px;
    text-align: left;
    color: #ffffff;
    height: 0;
    text-align: center;
    margin: 0;
    font-size: 26px;
    font-weight: normal;
    text-decoration: none;
  font-family: "Changa One", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  transition: transform 0.3s ease;
  display: inline-block;
  }

/* PCメニュー項目の文字サイズ */
@media screen and (min-width: 1024px) {
  nav#globalnav ul#navmenu li a {
    font-size: 30px;
 }
}

/* メニュー項目 */
nav#globalnav ul#navmenu li {
  border-bottom: 1px solid #dddddd;  /* 区切り線 */
  padding: 10px 0;                   /* 上下の余白 */
}
/* 最後の項目だけ区切り線を消す */
nav#globalnav ul#navmenu li:last-child {
  border-bottom: none;
}

/* メニューイラスト */
nav#globalnav ul#navmenu li.nav-illustration {
  margin-top: 10px;
  text-align: end;
}
nav#globalnav ul#navmenu li.nav-illustration img {
  max-width: 78%;
  height: auto;
  display: block;
  margin: auto;
}
/* PCメニューイラスト */
@media screen and (min-width: 1024px) {
nav#globalnav ul#navmenu li.nav-illustration img {
  max-width: 85%;
  height: auto;
  display: block;
  margin: auto;
}
}

/* メニューを右端から出す */
nav#globalnav ul#navmenu.checked {
  right: 0;
}

/* リスト表示の最初の点を消す */
nav#globalnav ul#navmenu ul {
  list-style: none;
}

nav#globalnav.colorchange {
  background: transparent;
}
/* TOP画像範囲内のときヘッダーの白グラデを消す */
nav#globalnav.colorchange .globalnav_bg {
  opacity: 0;
}

/* TOP画像範囲のサイトロゴの色と影 */
nav#globalnav.colorchange h1 a {
  color: #ffffff;
  -webkit-filter: drop-shadow(0px 0px 3px #00000066);
          filter: drop-shadow(0px 0px 3px #00000066);
}
/* TOP画像範囲でカーソルのせたときのサイトロゴ色 */
nav#globalnav.colorchange h1 a:hover {
  color: #98100B;
}

/* ここまでナビゾーンその１ */


header {
  background-color: #000000;
  height: 100vh;
}

header img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

header img.top-pc {
  display: none;
}

main.subpage {
  margin-top: 50px;
}

input[type=checkbox]#menubtncheck {
  display: none;
}

input[type=checkbox]#menubtncheck:checked + nav#globalnav {
  opacity: 1;
  z-index: 9;
}


/* ハンバーガーボタンここから */
p#menubtn {
  display: block;
  width: 60px;
  height: 60px;
  position: fixed;
  background: #98100B;
  border-radius: 0 0 0 5px;
  top: 0px;
  right: 0px;
  margin: 0;
  -webkit-transition: color 0.4s;
  transition: color 0.4s;
  z-index: 9999;
  cursor: pointer;
  /* 中央配置用 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px; /* 線の間隔 */
}

  user-select: none; /* テキスト選択を無効化 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  outline: none; /* アウトラインも削除 */
  -webkit-tap-highlight-color: transparent; /* タップハイライト削除 */
  caret-color: transparent; /* キャレット（カーソル）を透明に */
}

/* span要素も同様に */
p#menubtn span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;

  user-select: none;
  -webkit-user-select: none;
  pointer-events: none; /* span自体はクリックイベントを受け取らない */
}

/* contenteditable対策 */
p#menubtn {
  -webkit-user-modify: read-only;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  caret-color: transparent;
}

p#menubtn[contenteditable],
p#menubtn *[contenteditable] {
  cursor: pointer !important;
  caret-color: transparent !important;
}

@media screen and (min-width: 1024px) {
  p#menubtn {
    gap: 8px; /* PC用は少し広く */
  }
}

/* 三本線のデザイン */
p#menubtn span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media screen and (min-width: 1024px) {
  p#menubtn span {
    width: 35px;
    height: 4px;
  }
}

@media screen and (min-width: 1024px) {
p#menubtn {
  font-size: 40px;
  }
}

p#menubtn:hover {
  cursor: pointer;
}

p#menubtn#inmenu {
  color: white;
}

p#menubtn#inmenu-back {
  opacity: 0;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: -1;
}
/* ハンバーガーボタンここまで */

/* メニューが開いているときの× */
p#menubtn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

@media screen and (min-width: 1024px) {
  p#menubtn.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }
}

p#menubtn.active span:nth-child(2) {
  opacity: 0; /* 真ん中の線を消す */
}

p#menubtn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media screen and (min-width: 1024px) {
  p#menubtn.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }
}


footer {
  background: #000000;
  color: #ffffff;
  padding: 30px 0 10px;
}

footer p.memo {
  margin: 0 auto 10px;
  font-size: 12px;
}

/* 最上部に戻るボタン */
a#totop {
  display: block;
  position: fixed;
  z-index: 4;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: #98100B;
  border-radius:5px 0px 0px 0px ;
}
a#totop:before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin: auto;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: .3s;
  transition: .3s;
}
a#totop:hover:before {
  -webkit-transform: translateY(-3px) rotate(-45deg);
          transform: translateY(-3px) rotate(-45deg);
}
/* 最上部に戻るボタンここまで */

@media only screen and (min-width: 768px) {
  .wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: justify;
            justify-content: space-between;
  }
  .wrap .inner {
    width: 46%;
    -webkit-box-flex: 0;
            flex: none;
  }
  .wrap-3col {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: justify;
            justify-content: space-between;
  }
  .wrap-3col .inner {
    width: 31%;
    -webkit-box-flex: 0;
            flex: none;
  }
  section {
    padding: 80px 0;
  }
  h2 {
    font-size: 40px;
  }
  dl.news {
    max-width: 700px;
    margin: auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
  }
  dl.news dd, dl.news dt {
    padding: 10px;
    line-height: 1.6;
  }
  header {
    max-height: 1080px;
  }
  header img.top-pc {
    display: block;
  }
  header img.top-phone {
    display: none;
  }


/* ここからナビゾーンその２ */
  nav#globalnav {
    position: fixed;
    top: 0;
    z-index: 9;
  }

  nav#globalnav ul {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }

nav#globalnav h1 a {
   font-size: 35px;
}

/* ロゴが黒いときのホバー色変化 */
nav#globalnav ul li a:hover {
  color: #98100B;
}

/* メニュー項目にカーソルのせたときの変化 */
  nav#globalnav ul#navmenu li a:hover {
  transform: translateX(-5px);
}