html, body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #051730;
}

@media screen and (max-width:428px) {
    html, body {
    font-size: 0.9rem;
    }
}

* {
  box-sizing: border-box;
}

main {
  background: rgba(30, 105, 207, 0.5);
}

p {
  margin: 0;
}

button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}

.preregi_logo {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.preregi_logo_child {
  max-width: 30vw;
  height: auto;
  display: block;
}

/* Logo 可點擊狀態 - 由 JS 動態添加 */
.preregi_logo .preregi_logo_child.clickable,
img.preregi_logo_child.clickable {
  cursor: pointer !important;
}

/* Hover 時白色輕微光芒 */
.preregi_logo_child.clickable:hover {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@media screen and (max-width:1024px) {
  .preregi_logo {
  position: absolute;
  top: 500px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  right: 50%;
  left: 50%;
  }
  .preregi_logo_child {
  max-width: 40vw;
  height: auto;
}
}

@media screen and (max-width:768px) {
  .preregi_logo {
  position: absolute;
  top: 300px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  right: 50%;
  left: 50%;
  }
  .preregi_logo_child {
  max-width: 60vw;
  height: auto;
}
}

@media screen and (max-width:428px) {
  .preregi_logo {
  position: absolute;
  top: 320px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  right: 50%;
  left: 50%;
  }
  .preregi_logo_child {
  max-width: 100vw;
  height: auto;
}
}

@media screen and (max-width:320px) {
  .preregi_logo {
  position: absolute;
  top: 350px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  right: 50%;
  left: 50%;
  }
  .preregi_logo_child {
  max-width: 100vw;
  height: auto;
}
}

.p7g_logo {
  position: absolute;
  top: 15%;
  left: 20%;
  transform: translate(-50%, -50%);
}

.p7g_logo_child {
  max-width: 20vw;
  height: auto;
}

#firstView-sec {
    position: relative;
    width: 100%;
}

.fv_section {
  position: relative;
  z-index: 99999;
}

.fv-headline {
  position: absolute;
  top: 10%;
  right: 15%;
}

.fv-headline img {
  max-width: 10vw;
}

@media screen and (max-width:1024px) {
  .fv-headline {
  position: absolute;
  top: 20%;
  right: 10%;
  }
  .fv-headline img {
  max-width: 15vw;
  }
}

/*------------------------------------------------------------------------
ファーストビュー背景
------------------------------------------------------------------------*/

.firstView_bgimg {
    /* position: absolute; */
    background-image: url(../images/top/TOPgaia.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    margin-top: -65px;
}

@media screen and (max-width:1024px) {
  .firstView_bgimg {
    /* position: absolute; */
    background-image: url(../images/top/TOPgaia.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    margin-top: 0;
  }
}

.background_movie_wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: -1;
}
.background_movie {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*------------------------------------------------------------------------
ファーストビュー背景end
------------------------------------------------------------------------*/

/*------------------------------------------------------------------------
ファーストビュー背景end
------------------------------------------------------------------------*/

#pre_regi-sec {
  position: relative;
  width: 100%;
  /* height: 100%; Remove fixed height if present, let content dictate or min-height */
  min-height: 100vh;
  display: flex;
  justify-content: flex-end; /* Align to right to avoid character on left */
  align-items: center;
  overflow: hidden;
}

.pre_regi-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.pre_regi-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pre-regi-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px; /* Limit width */
  margin-right: 10%; /* Add margin to push away from right edge slightly */
  /* padding: 60px 20px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preRegi-hl {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preRegi-hl::before {
  content: "";
  position: absolute;
  left: -20%;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../images/top/2nd-pop.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 150px;
  height: 150px;
  z-index: 2;
}

.preRegi-hl .second-headline_bg {
  width: 100%;
  display: block;
  height: auto;
}

/* Scoped h3 style for this section only */
.preRegi-hl h3 {
  position: absolute;
  color: #fff;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  margin: 0;
  width: 80%;
  text-align: center;
  z-index: 1;
}

/* Restore .term-hl styles that were accidentally removed */
.term-hl {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 15%;
  right: 25%;
  left: 25%;
  padding-top: 100px;
}

.term-hl h3 {
  position: absolute;
  color: #fff;
  font-size: 2rem;
  top: 50%; /* 親要素 (preRegi-hl) の上端から 50% の位置へ */
  left: 50%; /* 親要素 (preRegi-hl) の左端から 50% の位置へ */
  transform: translate(-50%, -20%); /* 要素自身の幅・高さの半分だけずらして完全に中央に配置 */
  white-space: nowrap; /* テキストが途中で改行しないように（必要に応じて） */
  font-family: "Noto Selif JP", serif;
}

.term-hl .fv_term_bg {
  width: 60%;
  height: 60px;
  display: block;
}

/* Restore #regi-method, #CP-item styles */
#regi-method {
  position: relative;
  width: 100%;
  height: 100%;
}

#CP-item {
  position: relative;
  width: 100%;
  height: 100%;
}

.form-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: -20px; /* 減少間距，避免太遠 */
}

.input-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.styled_input_bar {
  width: 100%;
  padding: 0.8em 1em;
  font-size: 1.5em;
  border: 2px solid #fff;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: white;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.styled_input_bar::placeholder {
  color: rgba(255,255,255,0.7);
}

.styled_input_bar:disabled {
  opacity: 1;
  cursor: not-allowed;
  background-color: rgba(128, 128, 128, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* 已註冊角色名稱的特殊樣式 */
.styled_input_bar.registered {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
  border-color: rgba(16, 185, 129, 0.6);
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.input-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.styled_input_bar:focus + .input-label,
.styled_input_bar:not(:placeholder-shown) + .input-label {
  opacity: 0;
}

.decision-btn {
  position: relative;
  width: auto;
  margin-top: 10px;
  margin-bottom: 10px; /* 減少間距，避免太遠 */
}

.decbtn_wrap {
  min-width: 200px;
  padding: 15px 50px;
}

.attention-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: 20px; /* 適中的間距 */
}

.attention-exp-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.attention-bg {
  position: absolute;
  /* top: 0; */
  /* left: 0; */
  width: 105%;
  height: 105%;
  z-index: 0;
  object-fit: fill; /* Ensure bg stretches if needed, or contain */
}

.attention-text {
  position: relative;
  z-index: 1;
  width: 100%;
}

.attention-text p {
  color: #FF4C4C;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  line-height: 1.8;
  margin: 0 0 0 10px;
  text-align: left;
}

.preRegi-about {
  position: relative;
  width: 600px;
  max-width: 100%;
  height: auto;
  margin: 20px 0 0 0; /* 移除所有間距 */
  display: block;
  align-self: flex-start; /* 在 flex 容器中靠左對齊 */
  /* transform: rotate(2deg); */
  z-index: 2;
}

@media screen and (max-width: 1024px) {
  #pre_regi-sec {
    justify-content: center; /* On smaller screens, center it back as bg might crop differently or character is hidden */
  }
  
  .pre-regi-content {
    margin-right: 0;
    max-width: 90%;
  }

  .preRegi-hl::before {
    width: 100px;
    height: 100px;
    left: -40px;
  }
  
  .preRegi-about {
    max-width: 60%;
    margin: 0; /* 移除所有間距 */
  }
  
  /* Restore responsive rules for restored elements */
  .term-hl {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 15%;
    right: 25%;
    left: 25%;
    padding-top: 100px;
  }
  
  .term-hl h3 {
    position: absolute;
    color: #fff;
    font-size: 1.5rem;
    top: 50%; /* 親要素 (preRegi-hl) の上端から 50% の位置へ */
    left: 50%; /* 親要素 (preRegi-hl) の左端から 50% の位置へ */
    transform: translate(-50%, 15%); /* 要素自身の幅・高さの半分だけずらして完全に中央に配置 */
    white-space: nowrap; /* テキストが途中で改行しないように（必要に応じて） */
    font-family: "Noto Selif JP", serif;
  }
  
  .term-hl .fv_term_bg {
    width: 70%;
    height: 60px;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .preRegi-hl {
    width: 90%;
  }
  
  .preRegi-hl::before {
    display: none; /* Hide generic pop on mobile if too cluttered */
  }
  
  .attention-exp-wrap {
    padding: 30px 20px;
  }
  
  .preRegi-about {
    max-width: 70%;
    margin: 0; /* 移除所有間距 */
  }
  
  .styled_input_bar {
    font-size: 1.2em;
  }
  
  .pre-regi-content {
    padding: 40px 15px;
    gap: 30px;
  }
}

.regi-contents_wrap {
    color: #0A274D;
    max-width: 1200px;
    padding: 0px 50px 50px 50px;
    margin: 0 auto;
    position: relative;
}


.regi-step {
  padding: 50px;
  margin: 50px 0 ;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

@media screen and (max-width:1024px) {
  .regi-step {
  padding: 25px;
  margin: 50px 0 ;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  }
  .step img {
  max-width: 30vw;
  height: auto;
  }
  .term-hl {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 15%;
  right: 25%;
  left: 25%;
  padding-top: 100px;
  }
  .term-hl h3 {
  position: absolute;
  color: #fff;
  font-size: 1.5rem;
  top: 50%; /* 親要素 (preRegi-hl) の上端から 50% の位置へ */
  left: 50%; /* 親要素 (preRegi-hl) の左端から 50% の位置へ */
  transform: translate(-50%, 15%); /* 要素自身の幅・高さの半分だけずらして完全に中央に配置 */
  white-space: nowrap; /* テキストが途中で改行しないように（必要に応じて） */
  font-family: "Noto Selif JP", serif;
  }
  .term-hl .fv_term_bg {
  width: 70%;
  height: 60px;
  display: block;
  }
}



.step {
    display: flex;
    justify-content: space-between;
}

.step_wrap {
    width: 50%;
}

.step-icon {
    background-color: #0A274D;
    width: 90px;
    height: 35px;
    color: #fff;
    text-align: center;
    border-radius: 100px;
    padding: 5px;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 10px 0;
    }

.step-ttl {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A274D;
    margin-top: 10px;
}

.charge-div {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}

.charge-div span {
    font-weight: 600;
    color: #1E69CF;
}

.charge-div .redtxt {
    color: #FF4C4C;
}

.chargebtn_wrap {
    max-width: 300px;
    display: block;
    text-align: center;
    cursor: pointer;
    position: relative;
    padding: 20px 0;
    font-size: 1.5rem;
    color: #0A274D;
    border: 2px solid #0A274D;
    border-radius: 65px;
    background-color: #fff;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    text-decoration: none;
    word-break: break-word;
    margin: 0 auto;
}

.chargebtn_wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: #0A274D;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.chargebtn_wrap:hover::before {
    scale: 10;
}

.chargebtn_wrap:hover {
    color: #ffffff;
    scale: 1.1;
    box-shadow: 0 0px 20px rgba(30, 105, 207, 0.4);
}

.chargebtn_wrap:active {
    scale: 1;
}

.rightcolumn {
    width: 50%;
    padding: 10px 0px 50px 30px;
}

.rightcolumn img {
    width: 100%;
    height: auto;
    box-shadow: 0px 5px 20px -7px rgba(0, 0, 0, 0.35);
}

.charge-result {
    text-align: center;
    padding: 0 0 50px 0;
}

.result-arrow {
    font-size: 3rem;
    font-weight: 900;
}

.result-img img {
    width: 75%;
    height: auto;
    margin-top: 20px;
    box-shadow: 0px 5px 20px -7px rgba(0, 0, 0, 0.35);
}

.result-txt {
    margin-top: 20px;
    background-color: #0A274D;
    color: #fff;
    max-width: 500px;
    margin: 30px auto 0;
    padding: 10px;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
}

/* .decision-btn 樣式已移至上方，此處移除舊的 absolute 定位定義 */

.decbtn_wrap {
    min-width: 280px;
    display: block;
    text-align: center;
    cursor: pointer;
    position: relative;
    padding: 18px 60px;
    font-size: 1.5rem;
    color: #0A274D;;
    border: 3px solid #0A274D;
    border-radius: 50px;
    /* background: linear-gradient(135deg, #1e69cf 0%, #0A274D 100%); */
    background-color: #fff;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    text-decoration: none;
    word-break: break-word;
    box-shadow: 0 4px 15px rgba(10, 39, 77, 0.3);
    letter-spacing: 0.1em;
}

.decbtn_wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    /* background: linear-gradient(135deg, #2a7de1 0%, #1557a8 100%); */
    background: linear-gradient(135deg, #1e69cf 0%, #0A274D 100%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.decbtn_wrap:hover::before {
    scale: 1;
}

.decbtn_wrap:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 105, 207, 0.5);
    border-color: #1557a8;
}

.decbtn_wrap:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(10, 39, 77, 0.3);
}

.decbtn_wrap:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-color: #6b7280;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.decbtn_wrap:disabled::before {
    display: none;
}

@media screen and (max-width:1024px) {
  .charge-div {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
  }
  
  .preRegi-hl {
    padding-top: 20px;
  }
  
  .preRegi-hl h3 {
    font-size: 1.25rem;
  }
  
  .preRegi-hl::before {
    width: 100px;
    height: 100px;
    left: -20px;
  }
  
  .input-container {
    max-width: 90%;
  }
  
  .styled_input_bar {
    padding: 0.5em;
    font-size: 1.2em;
  }
  
  .input-label {
    font-size: 1em;
  }
  
  .attention-text p {
    font-size: 0.75rem;
  }
  
  .form-area {
    margin-bottom: 10px; /* 減少間距 */
  }
  
  .decision-btn {
    margin-top: 15px;
    margin-bottom: 10px; /* 減少間距 */
  }
  
  .decbtn_wrap {
    padding: 14px 40px;
    font-size: 1.2rem;
    min-width: 200px;
  } 
  
  .attention-wrap {
    margin-top: 15px; /* 減少間距 */
  }
  
  .attention-exp-wrap {
    padding: 20px;
  }
  
  .preRegi-about {
    display: none;
  }
}

/*------------------------------------------------------------------------------------------------
ゲームダウンロードボタン
------------------------------------------------------------------------------------------------*/


.top_buttonArea {
  max-width: 100vw;
  position: relative;
  /* left: 10vw; */
  /* font-family: "Noto Selif JP", serif; */
  display: flex; /* flexboxを有効にする */
  gap: 20px; /* ボタンとボタンの間の隙間（不要なら削除） */
}

.top_buttonArea a {
  flex: 1; /* ★これが最重要！利用可能なスペースを均等に分け合う */
  text-decoration: none; /* リンクの下線を消す */
}

.button_lg_gd,
.button_lg_entry {
    display: block;
    width: 100%; /* 親(aタグ)の幅いっぱいに広がるようにする */
    box-sizing: border-box; /* paddingを含めて幅100%にするため */
    text-align: center; /* テキストを中央揃えに */
}

@media screen and (max-width:1024px) {
  .top_buttonArea {
    display: none;
  }
}

.button_gamedownload {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  padding: 16px;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 28px;
  transition: all 0.15s ease;
  top: 40vh;
  left: 7.5vw;
  font-family: "Noto Selif JP", serif;
}

.button_gamedownload::before,
.button_gamedownload::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7d8082;
  transition: all 0.15s ease;
}

.button_gamedownload::before {
  top: 0;
  border-bottom-width: 0;
}

.button_gamedownload::after {
  bottom: 0;
  border-top-width: 0;
}

.button_gamedownload:active,
.button_gamedownload:focus {
  outline: none;
}

.button_gamedownload:active::before,
.button_gamedownload:active::after {
  right: 3px;
  left: 3px;
}

.button_gamedownload:active::before {
  top: 3px;
}

.button_gamedownload:active::after {
  bottom: 3px;
}

.button_lg_gd {
  position: relative;
  display: block;
  padding: 4vh 30px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_gd::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_gd::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

.button_sl_gd {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -20px;
  width: 0;
  background-image: linear-gradient(to bottom right, #00c6ff, #0072ff);
  transform: skew(-15deg);
  transition: all 0.2s ease;
}

.button_text_gd {
  position: relative;
}

.button_gamedownload:hover {
  color: #0f1923;
}

.button_gamedownload:hover .button_sl_gd {
  width: calc(100% + 45px);
}

.button_gamedownload:hover .button_lg_gd::after {
  background-color: #fff;
}

/*------------------------------------------------------------------------------------------------
ゲームダウンロードボタンend
------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------------------------
会員登録ボタン
------------------------------------------------------------------------------------------------*/


.button_entry {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  padding: 16px;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 28px;
  transition: all 0.15s ease;
  top: 60vh;
  left: 7.5vw;
  font-family: "Noto Selif JP", serif;
}

.button_entry::before,
.button_entry::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7d8082;
  transition: all 0.15s ease;
}

.button_entry::before {
  top: 0;
  border-bottom-width: 0;
}

.button_entry::after {
  bottom: 0;
  border-top-width: 0;
}

.button_entry:active,
.button_entry:focus {
  outline: none;
}

.button_entry:active::before,
.button_entry:active::after {
  right: 3px;
  left: 3px;
}

.button_entry:active::before {
  top: 3px;
}

.button_entry:active::after {
  bottom: 3px;
}

.button_lg_entry {
  position: relative;
  display: block;
  padding: 4vh 16px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_entry::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_entry::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

.button_sl_entry {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -20px;
  width: 0;
  background-image: linear-gradient(to bottom right, #00c6ff, #0072ff);
  transform: skew(-15deg);
  transition: all 0.2s ease;
}

.button_text_entry {
  position: relative;
}

.button_entry:hover {
  color: #0f1923;
}

.button_entry:hover .button_sl_entry {
  width: calc(100% + 45px);
}

.button_entry:hover .button_lg_entry::after {
  background-color: #fff;
}

/*------------------------------------------------------------------------------------------------
会員登録ボタンend
------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------------------------
スライダー2
------------------------------------------------------------------------------------------------*/

.gi_slide_wrap {
  position: relative;
}

.slide-arrow img {
  position: absolute;
}

.dots-gi {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
    display: flex;
    justify-content: center;
    /* margin: 10 auto; */
    list-style: none;
}

.dots-gi li {
    width: 40px;
    height: 10px;
    margin: 0 5px;
    background: #fff;
    cursor: pointer;
    border-radius: 10px;
}

.dots-gi li:hover,
.dots-gi li.slick-active {
    background: #0A274D;
}
.dots-gi li button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

@media screen and (min-width:769px) {
  .gi_slide_SP_wrap {
  display: none;
  }
  .gi_slide_TAB_wrap {
  display: none;
  }
}

@media screen and (max-width:768px) {
  .gi_slide_wrap {
    display: none;
  }
  .gi_slide_TAB_wrap {
  display: block;
  }
  .gi_slide_SP_wrap {
    display: none;
  }

  .dots-gi {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0;
    bottom: 10px;
      display: flex;
      justify-content: center;
      /* margin: 10 auto; */
      list-style: none;
  }

  .dots-gi li {
      width: 20px;
      height: 5px;
      margin: 0 5px;
      background: #fff;
      cursor: pointer;
      border-radius: 10px;
  }

  .dots-gi li:hover,
  .dots-gi li.slick-active {
      background: #0A274D;
  }
  .dots-gi li button {
      display: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      outline: none;
      padding: 0;
      border: none;
      background-color: transparent;
  }
}

@media screen and (max-width:428px) {
  .gi_slide_SP_wrap {
  display: block;
  }
  .gi_slide_wrap {
    display: none;
  }
  .gi_slide_TAB_wrap {
  display: none;
  }
}

.tab-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 150px;
    max-width: 1200px;
    padding-top: 250px;
}

/* .tab-2 > label {
    flex: 1 1;
    order: -1;
} */

.tab-2 input {
    display: none;
}

.tab-2 > div {
    display: none;
    width: 100%;
    padding: 0 0em;
    background-color: transparent;
}

.tab-2 label:has(:checked) {
    opacity: 1;
}

.tab-2 label:has(:checked) + div {
    display: block;
}

.tab-btn {
  flex: 0 0 250px;
  flex-grow: 0;
  order: -1;
  width: 150px;
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
  padding-block: 1.5rem;
  padding-inline: 1.25rem;
  background: linear-gradient(90deg, #00C6FF, #0072FF);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  outline: none;
  overflow: hidden;
  font-size: 1.25rem;
}

.tab-btn:hover,
.tab-btn:has(input:checked) {
  opacity: 1; /* この行を追加 */
  transform: scale(1.15) translate(4px);
  border-color: #fff9;
}

.tab-btn:hover::before,
.tab-btn:has(input:checked)::before {
  opacity: 1;
  animation: shine 1.5s ease-out infinite;
}

.tab-btn::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

.tab-btn:not(:has(input:checked)):not(:hover) {
  opacity: 0.5; /* 70%の透明度（数値は 0.0〜1.0 で調整可能）*/
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.method-hl {
  position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    width: 100%;
    z-index: 10;
}

.method-hl h3 {
  position: absolute;
  color: #fff;
  font-size: 2rem;
  left: 50%; /* 親要素 (preRegi-hl) の左端から 50% の位置へ */
  transform: translate(-50%, -5%); /* 要素自身の幅・高さの半分だけずらして完全に中央に配置 */
  white-space: nowrap; /* テキストが途中で改行しないように（必要に応じて） */
}
.method-hl .third-headline_bg {
  width: 25%;
  display: block;
}

@media screen and (max-width:1024px) {
  .method-hl {
  position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    width: 100%;
    z-index: 10;
  }
  .method-hl h3 {
  position: absolute;
  color: #fff;
  font-size: 1.25rem;
  left: 50%; /* 親要素 (preRegi-hl) の左端から 50% の位置へ */
  transform: translate(-50%, -5%); /* 要素自身の幅・高さの半分だけずらして完全に中央に配置 */
  white-space: nowrap; /* テキストが途中で改行しないように（必要に応じて） */
  }
  .method-hl .third-headline_bg {
    width: 25%;
    display: block;
  }
  .tab-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 150px;
    max-width: 1200px;
    padding-top: 150px;
  }
  .tab-btn {
  flex: 0 0 200px;
  flex-grow: 0;
  order: -1;
  width: 100px;
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 1.25rem;
  padding-inline: 1.25rem;
  background: linear-gradient(90deg, #00C6FF, #0072FF);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  outline: none;
  overflow: hidden;
  font-size: 1rem;
  }
}

.regi_buttonArea {
  max-width: 100vw;
  position: relative;
  /* left: 10vw; */
  /* font-family: "Noto Selif JP", serif; */
  display: flex; /* flexboxを有効にする */
  gap: 20px; /* ボタンとボタンの間の隙間（不要なら削除） */
}

.regi_buttonArea a {
  text-decoration: none;
}

.button_regist {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  /* position: absolute; */
  z-index: 99;
  padding: 16px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 28px;
  transition: all 0.15s ease;
  top: 40vh;
  left: 7.5vw;
  font-family: "Noto Selif JP", serif;
}

.button_regist a {
  text-decoration: none;
}

.button_regist::before,
.button_regist::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7d8082;
  transition: all 0.15s ease;
}

.button_regist::before {
  top: 0;
  border-bottom-width: 0;
}

.button_regist::after {
  bottom: 0;
  border-top-width: 0;
}

.button_regist:active,
.button_regist:focus {
  outline: none;
}

.button_regist:active::before,
.button_regist:active::after {
  right: 3px;
  left: 3px;
}

.button_regist:active::before {
  top: 3px;
}

.button_regist:active::after {
  bottom: 3px;
}

.button_lg_regi {
  position: relative;
  display: block;
  padding: 4vh 72px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_regi::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_regi::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

.button_sl_regi {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -20px;
  width: 0;
  background-image: linear-gradient(to bottom right, #00c6ff, #0072ff);
  transform: skew(-15deg);
  transition: all 0.2s ease;
}

.button_text_regi {
  position: relative;
}

.button_regist:hover {
  color: #0f1923;
}

.button_regist:hover .button_sl_regi {
  width: calc(100% + 45px);
}

.button_regist:hover .button_lg_regi::after {
  background-color: #fff;
}

.button_lg_regi2 {
  position: relative;
  display: block;
  padding: 4vh 30px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_regi2::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_regi2::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

.button_lg_regi3 {
  position: relative;
  display: block;
  padding: 4vh 60px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_regi3::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_regi3::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

@media screen and (max-width:1024px) {
.regi_buttonArea {
  max-width: 100vw;
  position: relative;
  /* left: 10vw; */
  /* font-family: "Noto Selif JP", serif; */
  display: flex; /* flexboxを有効にする */
  gap: 20px; /* ボタンとボタンの間の隙間（不要なら削除） */
}

.button_regist {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  /* position: absolute; */
  z-index: 99;
  padding: 16px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 28px;
  transition: all 0.15s ease;
  top: 40vh;
  left: 7.5vw;
  font-family: "Noto Selif JP", serif;
}

.button_regist a {
  text-decoration: none;
}

.button_regist::before,
.button_regist::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7d8082;
  transition: all 0.15s ease;
}

.button_regist::before {
  top: 0;
  border-bottom-width: 0;
}

.button_regist::after {
  bottom: 0;
  border-top-width: 0;
}

.button_regist:active,
.button_regist:focus {
  outline: none;
}

.button_regist:active::before,
.button_regist:active::after {
  right: 3px;
  left: 3px;
}

.button_regist:active::before {
  top: 3px;
}

.button_regist:active::after {
  bottom: 3px;
}

.button_lg_regi {
  position: relative;
  display: block;
  padding: 2vh 20px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_regi::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_regi::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

.button_sl_regi {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -20px;
  width: 0;
  background-image: linear-gradient(to bottom right, #00c6ff, #0072ff);
  transform: skew(-15deg);
  transition: all 0.2s ease;
}

.button_text_regi {
  position: relative;
  font-size: 1.25rem;
}

.button_regist:hover {
  color: #0f1923;
}

.button_regist:hover .button_sl_regi {
  width: calc(100% + 45px);
}

.button_regist:hover .button_lg_regi::after {
  background-color: #fff;
}

.button_lg_regi2 {
  position: relative;
  display: block;
  padding: 2vh 20px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_regi2::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_regi2::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

.button_lg_regi3 {
  position: relative;
  display: block;
  padding: 2vh 20px;
  color: #fff;
  /* background-color: #0f1923; */
  background-image: url(../images/top/695974.jpg);
  background-position: 450px 650px;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg_regi3::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  /* background-color: #0f1923; */
}

.button_lg_regi3::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0px;
  height: 0px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}
}

.charge-result {
    text-align: center;
    padding: 0 0 50px 0;
}

.result-arrow {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    color: #fff;
}

.result_p {
  margin-top: 10px;
}

.result_wrap {
  margin-left: 100px;
  width: 100%;
}

.result_img {
  margin-right: 100px;
}


.CP-contents_wrap {
    color: #0A274D;
    max-width: 100%;
    padding: 150px 50px 50px 50px;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
}

.CP-hl {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 10%;
  left: 20%;
  padding-top: 50px;
  z-index: 1;
}

.CP-hl::before {
  content: "";
  position: absolute; 
  left: -30px;
  background-image: url(../images/top/4th-pop.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 150px;
  height: 150px;
}

.CP-hl h3 {
  position: absolute;
  color: #fff;
  font-size: 2rem;
  top: 50%; /* 親要素 (preRegi-hl) の上端から 50% の位置へ */
  left: 50%; /* 親要素 (preRegi-hl) の左端から 50% の位置へ */
  transform: translate(-50%, -70%); /* 要素自身の幅・高さの半分だけずらして完全に中央に配置 */
  white-space: nowrap; /* テキストが途中で改行しないように（必要に応じて） */
}

@media screen and (max-width:1024px) {
  .charge-div {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
  }
  .CP-hl {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 10%;
  left: 25%;
  padding-top: 75px;
  }
  .CP-hl h3 {
  position: absolute;
  color: #fff;
  font-size: 1.25rem;
  top: 55%; /* 親要素 (preRegi-hl) の上端から 50% の位置へ */
  left: 50%; /* 親要素 (preRegi-hl) の左端から 50% の位置へ */
  transform: translate(-50%, -20%); /* 要素自身の幅・高さの半分だけずらして完全に中央に配置 */
  white-space: nowrap; /* テキストが途中で改行しないように（必要に応じて） */
  }
  .CP-hl::before {
  content: "";
  position: absolute; 
  left: -30px;
  background-image: url(../images/top/4th-pop.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  }
  .attention-exp-wrap {
  position: absolute;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  }
  .preRegi-about {
  display: none;
  }
}

.second-pop {
  position: absolute;
  width: 7.5%;
}

.CP-hl .second-headline_bg {
  width: 75%;
  display: block;
}

.CP-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 30px;
}

.CP-img img {
  max-width: 20vw;
}

@media screen and (max-width:1024px) {
  .CP-girl {
    display: none;
  }
  .result_wrap {
  margin-left: 0px;
  width: 100%;
  }
  .result_img {
  margin-right: 0px;
  }
}

/*------------------------------------------------------------------------------------------------
table
------------------------------------------------------------------------------------------------*/

table {
    color: #051730;
    margin: 50px auto 0;
    width: 60%;
    font-size: 1rem;
}

.table-width {
    width: 56%;
    float: left;
}

th {
    background-color: #ffce57;
    border: 1px solid #d0e4ff;
    width: 100%;
    vertical-align: middle;
    font-weight: bold;
}
td {
    border: 1px solid #0A274D;
    padding: 1% 10px 1% 10px;
    vertical-align: inherit;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.75);
}

.textCenter {text-align: center;}

/*基本*/
table .td-style01 {
    background: rgba(10, 39, 77, 0.5);
    border: 1px solid #0A274D;
}
/*アイテム名*/
table .td-style02 {
    background: rgba(10, 39, 77, 0.5);
    border: 1px solid #0A274D;
    width: 0%;
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
}

.announce_txt td {
    width: 100%;
}

.annouce_ttl {
    width: 25%;
    background: rgba(10, 39, 77, 0.5);
    color: #fff;
}

.redttl {
    color: #FF4C4C;
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    width: 20%;
}

.bluettl {
    color: #051730;
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    width: 20%;
}

.redtxt {
    color: #FF4C4C;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

@media screen and (max-width:1024px) {
.annouce_ttl {
    font-size: 0.75rem;
  }
  td {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
    #news_article table .td-style02 {
    background-color: #568FDB;
    border: 1px solid #0A274D;
    width: 18%;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    }
    td {
    border: 1px solid #0A274D;
    padding: 2% 10px 2% 10px;
    vertical-align: inherit;
    vertical-align: middle;
    }
    .annouce_ttl {
    width: 67.5%;
    }
    .redttl {
    color: #FF4C4C;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    }
    .bluettl {
    color: #051730;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    }
}

@media (max-width: 428px) {
    #news_article table .td-style02 {
    background-color: #568FDB;
    border: 1px solid #0A274D;
    width: 18%;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    }
    td {
    border: 1px solid #0A274D;
    padding: 2% 10px 2% 10px;
    vertical-align: inherit;
    vertical-align: middle;
    font-size: 0.9rem;
    }
    .annouce_ttl {
    width: 58%;
    font-size: 0.9rem;
    }
    .redttl {
    color: #FF4C4C;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    }
    .bluettl {
    color: #051730;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    }
}

/*------------------------------------------------------------------------------------------------
table
------------------------------------------------------------------------------------------------*/

/* タブ */
.tab-list {
  display: flex;
  justify-content: space-between;
}
.tab-item {
  width: 19%;
  padding: 10px 0;
  border-radius: 6px 6px 0 0;
  background-color: #e28194;
  color: #999;
  text-align: center;
  cursor: pointer;
  transition: .4s ease-in-out;
}
.tab-item:first-child {
  background-color: rgba(226, 129, 148, 0.15);
}
.tab-item:nth-child(2) {
  background-color: rgba(245, 182, 2, 0.15);
}
.tab-item:nth-child(3) {
  background-color: rgba(138, 179, 161, 0.15);
}
.tab-item:nth-child(4) {
  background-color: rgba(92, 183, 212, 0.15);
}
.tab-item:last-child {
  background-color: rgba(177, 121, 196, 0.15);
}

/* タブをクリックした時 ホバーした時 */
.tab-item:hover, .tab-item.is-active {
  color: #333;
}
.tab-item:first-child:hover, .tab-item:first-child.is-active {
  background-color: #e28194;
}
.tab-item:nth-child(2):hover, .tab-item:nth-child(2).is-active {
  background-color: #f5b602;
}
.tab-item:nth-child(3):hover, .tab-item:nth-child(3).is-active {
  background-color: #8ab3a1;
}
.tab-item:nth-child(4):hover, .tab-item:nth-child(4).is-active {
  background-color: #5cb7d4;
}
.tab-item:last-child:hover, .tab-item:last-child.is-active {
  background-color: #b179c4;
}

/* パネル */
.panel-list {
  background-color: #fff;
}
.panel-item {
  display: none;
  width: 100%;
  padding: 40px 30px;
  background-color: #fff;
}
.panel-item.is-active {
  display: block;
  animation: panel-show .9s ease-in-out forwards;
}

/* パネル切り替えのアニメーション */
@keyframes panel-show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#slide-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 100px;
}

.wrapper {
  max-width: 100vw;
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 100%;
}

.next {
  width: 50px;
  height: 50px;
  position: absolute;
  right: 10px;
  bottom: 50%;
  transition: all 0.3s;
  z-index: 10;
  cursor: pointer;
  background-image: url(../images/top/next-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.next::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  right: 15px;
  top: 10px;
}

.next:hover {
  opacity: 0.7;
  transition: all 0.3s;
}

.prev {
  width: 50px;
  height: 50px;
  position: absolute;
  left: 10px;
  bottom: 50%;
  transition: all 0.3s;
  z-index: 10;
  cursor: pointer;
  background-image: url(../images/top/prev-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.prev::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  position: absolute;
  left: 15px;
  top: 10px;
}

.prev:hover {
  opacity: 0.7;
  transition: all 0.3s;
}

.slider {
  width: 400vw;
  display: flex;
  margin: 0 auto;
  position: relative;
}

.slider1 {
  transform: translateX(0);
  transition: all 0.3s;
}

.slider2 {
  transform: translateX(-100vw);
  transition: all 0.3s;
}

.slider3 {
  transform: translateX(-200vw);
  transition: all 0.3s;
}

.slider4 {
  transform: translateX(-300vw);
  transition: all 0.3s;
}

.content {
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content1 {
  width: 100%;
  height: 100vh;
  background-image: url(../images/top/slide-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.content2 {
  background-image: url(../images/top/slide-2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.content3 {
  background-image: url(../images/top/slide-3.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -7px center;
}

@media screen and (max-width:1024px) {
  .content1 {
  background-position: -200px center;
  }
  .content2 {
  background-image: url(../images/top/slide-2_tab.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  }
  .content3 {
  background-image: url(../images/top/slide-3_tab.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  }
}

.letter-hl {
  position: absolute;
  width: 7.5%;
  bottom: 15%;
  left: 15%;
  box-shadow: 0px 5px 20px -7px rgba(0, 0, 0, 0.35);
}

/* モーダルを開くボタン */
.modal-open{
  position: absolute;
  top: 25%;
  left: 5%;
  font-size: 16px;
  font-weight: bold;
  width: 200px;
  height: 250px;
  color: #fff;
  background-image: url(../images/top/letter-before1.png);
  background-size: contain;
  background-repeat: no-repeat;
  /* background-position: 0px 73px; */
  border: none;
  cursor: pointer;
  translate: -50% -50%;
  transition: all 0.5s;
}

.modal-open:hover {
  width: 200px;
  height: 250px;
  background-image: url(../images/top/letter-after1.png);
  /* background-position: 0px 45px; */
  background-size: contain;
  background-repeat: no-repeat;
}

/* モーダルと背景の指定 */
.modal{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  /* padding: 40px 20px; */
  /* overflow: auto; */
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 1000;
}

/* モーダルの擬似要素の指定 */
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active{
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 100%;
}

/* モーダルを閉じるボタンの指定 */
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0px;
  right: -40px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content{
  text-align: center;
  padding: 0px 20px 0 20px;
  width: 100%;
  height: auto;
}

.modal-content img {
  width: 100%;
  height: auto;
}

@media screen and (max-width:1024px) {
  .modal-content img {
  width: 90%;
  height: auto;
  }
}

.letter-word {
  position: absolute;
  width: 4%;
  bottom: 3%;
  left: 3%;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p{
  margin: 1em 0;
}

.modal-open {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}

.letter-word {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}