@charset "utf-8";

body {
  background-color: #ca86ee;
  margin: 0%;
}

html {
  scroll-behavior: smooth; /* スムーズスクロールを有効化 */
}

.wave-svg {
    min-width: 800px;
}
@media screen and (max-width: 475px) {
   .wave-svg {
     min-width: 700px;
    }
}

/* ヘッダー */
.header {
  position: relative;
  height: 0px;
  padding-bottom: 230px;
  overflow: hidden;
}
@media screen and (max-width: 817px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 100px;
    overflow: hidden;
  }
}
@media screen and (max-width: 424px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 80px;
    overflow: hidden;
  }
}
@media screen and (max-width: 367px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 60px;
    overflow: hidden;
  }
}

.header-img {
  position: absolute;
  top: 0px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.header-img img {
  width: 170px;
}

.header_logo img {
    padding: 0px;
}

.list_nav_header {
  position: absolute;
  top: 15px;
  display: flex;
  gap: 25px;
  list-style-type: none;
  font-size: 12px;
  left: 650px;
}

.list_nav_header a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding-bottom: 2px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.5s;
}

.list_nav_header li {
  position: relative;
  white-space: nowrap;
}

.list_nav_header a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}

/* ハンバーガーメニュー */
.burger {
  width: 40px;
  height: 40px;
  background-color: #d9304f;
  background-image: url(images/header_firstview/burger.png);
  background-size: 21x;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  cursor: pointer;
  position: fixed;
  top: 14px;
  right: 10px;
  display: block;
  z-index: 10;
}

.burger:hover {
  background-color: rgb(234, 182, 199);
}

.menu {
  position: absolute;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 20%;
  height: 50%;
  background-color: rgb(159, 20, 171);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  display: none;
  opacity: 0.7;
  border-radius: 6px;
}

.menu_list_nav_header li {
  list-style-type: none;
  line-height: 40px;
}

.menu_list_nav_header a {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 2px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.5s;
}
.menu_list_nav_header a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}

.menu.is-active {
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
}

.burger.is-active {
  background-image: url(images/header_firstview/close.png);
  position: fixed;
  top: 14;
  right: 10;
}

.rogo-top-home {
  cursor: pointer;
}

.rogo-top-home:hover {
  cursor: pointer;
  opacity: 3;
}


/* Header レスポンシブ */
@media screen and (max-width: 1110px) {
  .list_nav_header {
    display: none;
  }
}
@media screen and (max-width: 620px) {
  .header-img img {
    width: 150px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 545px) {
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 500px) {
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 487px) {
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 475px) {
  .header-img {
    gap: 10px;
  }
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 465px) {
  .header-img {
    gap: 10px;
  }
  .header-img img {
    width: 110px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 470px) {
  .header-img {
    gap: 8px;
  }
}
@media screen and (max-width: 407px) {
  .header-img img {
    width: 98px;
  }
}
@media screen and (max-width: 360px) {
  .header-img img {
    width: 90px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 338px) {
  .header-img img {
    width: 87px;
  }
}

.Top-button:hover {
  cursor: pointer;
  opacity: 1;
}

.Top-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 4%;
  z-index: 4;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

/* 死亡下層ページ */
.shibou-page01 {
  position: relative;
  width: 100%;
  display: flex;
  margin: auto;
  padding-top: 0%;
  padding-bottom: 15%;
}

.shibou-page02 {
  position: relative;
  width: 78.5%;
  display: flex;
  margin: auto;
  padding-top: 0%;
  padding-bottom: 15%;
  margin-top: -20%;
}

/* 申込みボタンなど */
.Application {
  position: relative;
  margin-top: -31%;
  left: 19%;
  width: 30%;
}

.btn-2 {
  width: 100%;
  margin-left: 108%;
  margin-top: -30%;
  display: flex;
}

.Application-q {
  width: 100%;
  height: 100%;
}

.moushikomi-btn {
  width: 100%;
}

.shiryou-btn {
  width: 100%;
}

img.moushikomi-btn:hover,
img.shiryou-btn:hover {
  opacity: 0.8; /* hoverエフェクト（任意） */
  cursor: pointer;
}



/* 初期状態：下にずらして透明 */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* 表示されたときに適用される */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* 各種リンクロゴ */
.LINKS {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20%;
  padding-bottom: 7%;
  gap: 3%;
  z-index: 4;
}
.kinyu-logo {
  width: 200px;
  margin-bottom: 0%;
}
.shougakutanki-logo { 
  width: 200px;
  margin-top: 11%;
}
.koutekihoken-logo {
  width: 250px;
  margin-top: 12%;
}

@media screen and (max-width: 768px) {
  .LINKS {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 3%;
    gap: 3%;
    z-index: 4;
  }
  .kinyu-logo {
    width: 135px;
    margin-bottom: 0%;
  }
  .shougakutanki-logo { 
    width: 135px;
    margin-top: 11%;
  }
  .koutekihoken-logo {
    width: 135px;
    margin-top: 12%;
  }
}

@media screen and (max-width: 375px) {
  .LINKS {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 40%;
    padding-bottom: 10%;
    gap: 3%;
  }
}



/* ====== フッター全体 ====== */
.wave-footer {
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* ====== フッター内容 ====== */
.footer-content {
  background-color: #4a0e70;
  color: #fff;
  padding: 5rem 1rem 3rem;
  position: relative;
  z-index: 2;
  margin-top: -2%;
}

.footer-content h2 {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: rgb(255, 255, 255);
}

.footer-content h2 span {
  font-size: 1.2rem;
  vertical-align: middle;
  color: gold;
}

.footer-content hr {
  border: none;
  border-top: 1px dotted #d6c9bc;
  width: 60%;
  margin: 1rem auto 3rem;
}

.wave-svg {
  padding-bottom: 0%;
}

.question_btn {
  width: 250px;
  cursor: pointer;
}

.question_btn:hover {
  opacity: 70%;
}

@media screen and (max-width: 430px) {
  .question_btn {
  width: 200px;
}
}

/* ====== メニュー部分 ====== */
.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: auto;
  gap: 1rem;
}

ul.lineup {
  padding: 0%;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
}

.hoken-icon {
  width: 30%;
}

.footer-item .text p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #f5f5f5;
}

.lineup a {
  text-decoration: none;
  color: #ffffff; 
  font-size: 0.8rem;
}

.lineup span {
  font-size: 70%;
}

.lineup li {
  list-style: none;
  color: #ffffff; 
  text-align: left;
}

.lineup a {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 2px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.5s;
}
.lineup a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}

/* ====== コピーライト ====== */
.copyright {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #ddd;
}

/* 承認番号 */
.shounin {
  font-size: 0.7rem;
  color: #ddd;
  margin: 5% 0% 0 60%;
}

/* ====== レスポンシブ対応 ====== */
@media screen and (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
    align-items: center;
  }
  .footer-item {
    width: 80%;
  }
  .footer-content h2 {
    font-size: 1.3rem;
  }
}