.title-space {
  width: 100%;
  height: 270px;
  background-color: #fff;
}

.page-title {
  text-align: left;
  margin-left: 200px;
  margin-top: 150px;
  font-size: 60px;
}

.a {
  color: black;
}

.back-color{
background-color: gray;}

.main {
  width: 100%;
  padding-bottom: 0px;
  margin-bottom: 0px;
  margin: -200px;
}

.grid {
  margin-top: 10px;
}

.item a:hover {
  opacity: 0.5;
  transition: 0.7s;
}

h1 a {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-top: 50px;
}

h1 {
  margin-top: 3vw;
  word-break: break-all;
}

h1 a:hover {
  color: #029eb3;
}

.titlesub{
padding-top: 30px;}

.kokai {
  /*親要素*/
  position: static;
  height: 100px;
}

.kokai a {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  /*一応BOX内の文字も中央寄せ*/
}

body::after {
  content: "";
  position: fixed;
  /*固定表示*/
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  /*他のスタッキングコンテキストとかち合った時用*/
  background: #f78152;
  /*シャッターの色*/
  animation: min-anim .5s forwards;
  /*アニメーション付与*/
  animation-delay: 0.9s;
  /*好みで遅延*/
  transform-origin: left;
  /*変化の起点*/
}

/*背景が縮むアニメーション*/
@keyframes min-anim {
  0% {
    transform: scaleY(1);
    /*画面全体を覆う*/
  }

  100% {
    transform: scaleY(0);
    /*高さ0*/
    visibility: hidden;
    /*非表示*/
  }
}

.next-ex2024 {
  text-align: center;
}

/*ボタンデザイン1*/

a.btn_231 {
  margin: auto;
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 160px;
  padding: 1rem 4rem;
  font-weight: bold;
  border: 2px solid #ffffff;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

a.btn_231::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(39, 172, 217);
  transform: translateX(-100%);
  transition: all .3s;
  z-index: -1;
}

a.btn_231:hover::before {
  transform: translateX(0);
}

a.btn_231:hover {
  color: #fff;
}

.btn-area{
padding-bottom: 2%;}



/*ボタンデザイン2*/

a.btn_23 {
  margin: auto;
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 120px;
  padding: 1rem 4rem;
  font-weight: bold;
  border: 2px solid #0e9eb4;
  color: #0e9eb4;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

a.btn_23::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(39, 172, 217);
  transform: translateX(-100%);
  transition: all .3s;
  z-index: -1;
}

a.btn_23:hover::before {
  transform: translateX(0);
}

a.btn_23:hover {
  color: #fff;
}



/*トップへ戻るボタン*/

html {
  scroll-behavior: smooth;
}

.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

/*トップへ戻るボタン
---------ここまで-------*/