@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", "游明朝", "YuMincho", "ヒラギノ明朝 Pr6 W6",
    "Hiragino Mincho Pro", "HG明朝E", "メイリオ", "ＭＳ Ｐ明朝", "MS PMincho",
    "Meiryo, serif";
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/*↑UP時非表示　制作用*/

/* デフォルト上書き */
.temp_page_box {
  margin-bottom: 0;
}

/* メイン */
img {
  max-width: 100%;
}

.m_botm10 {
  margin-bottom: 1rem;
}

.m_botm30 {
  margin-bottom: 3rem;
}

.m_botm60 {
  margin-bottom: 6rem;
}

span.wave-svg {
  position: relative;
  bottom: 1rem;
  z-index: -1;
}

main.concept-main {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
}

.sec_01-text {
  background: #000;
  text-align: center;
  color: #fff;
  padding-top: 1rem;
}

section.sec_01 {
  background: none;
  padding: 0;
  position: relative;
  z-index: 10;
}

.concept-main h2 {
  text-align: center;
  margin: 2rem auto 0;
  letter-spacing: -3px;
  font-size: 50px;
  line-height: 0.5;
}

.concept_lien::after {
  content: "";
  display: block;
  width: 100%;
  height: 16px;
  background-color: #fdf001;
  margin: 0 auto;
  max-width: 450px;
  position: relative;
  bottom: 9px;
  z-index: -1;
}

.system-main_enn .system-main_enn-subT {
  letter-spacing: -3px;
}

.concept-main .system-main_enn {
  background-color: unset;
  box-shadow: none;
  border-radius: unset;
  padding: 0;
}

.concept-main .system-main_enn-p {
  max-width: 84%;
  margin: 0 auto;
  gap: 0;
  line-height: 1.5;
}

.system-main_enn-p .font-style-italic {
  font-weight: normal;
  font-size: 80px;
}

.kakeru {
  font-size: 124px;
  transform: translateX(8px);
}


.time-num {
  width: 26%;
}



section.sec_02 {
  background: url(https://tensei-r.com/img/upload/code/system_bk.png) repeat center center;
  padding: 6rem 2rem 2.5rem;
  background-size: contain;
  max-width: 100%;
}

.concept-main .sec_02 h2 {
  margin: 0 0 3rem;
  z-index: 10;
}

.concept-main .sec_02 h2:after {
  content: none;
}

.concept-main .sec_02 h2:before {
  content: "";
  position: absolute;
  border: 3px solid #999999;
  bottom: -38%;
  left: 50%;
  transform: translateX(-50%);
  width: 15%;
  border-radius: 5rem;
  z-index: -1;
}

.concept-main .sec_02-use_case p,
.concept-main .sec_02-use_case_room p {
  color: #fff;
}

.concept-main .sec_02 ul {
  gap: 0;
}

.concept-main .sec_02 ul li {
  width: 100%;
  border: none;
  box-sizing: unset;
  box-shadow: unset;
  border-radius: unset;
  height: 0;
  padding-top: 53.03%;
  box-sizing: border-box;
  text-align: center;
  transition: transform 300ms ease, box-shadow 300ms ease;
  will-change: transform;
  flex-basis: auto;
}

.concept-main .sec_02 ul li:first-of-type:not(.sec_02_botn li) {
  background: url(https://tensei-r.com/img/upload/code/concept_10.png) no-repeat center center;
  background-size: contain;
}

.concept-main .sec_02 ul li:nth-of-type(2):not(.sec_02_botn li) {
  background: url(https://tensei-r.com/img/upload/code/concept_11.png) no-repeat center center;
  background-size: contain;
}

.concept-main .sec_02 ul li:nth-of-type(3) {
  background: url(https://tensei-r.com/img/upload/code/concept_12.png) no-repeat center center;
  background-size: contain;
}

.concept-main .sec_02 ul li:nth-of-type(4) {
  background: url(https://tensei-r.com/img/upload/code/concept_13.png) no-repeat center center;
  background-size: contain;
}

/* 転生先 */
.concept-main .sec_02 .sec_02-use_case_room ul li:first-of-type {
  background: url(https://tensei-r.com/img/upload/code/concept_20.png) no-repeat center center;
  background-size: contain;
}

.concept-main .sec_02 .sec_02-use_case_room ul li:nth-of-type(2) {
  background: url(https://tensei-r.com/img/upload/code/concept_21.png) no-repeat center center;
  background-size: contain;
}

.concept-main .sec_02 .sec_02-use_case_room ul li:nth-of-type(3) {
  background: url(https://tensei-r.com/img/upload/code/concept_22.png) no-repeat center center;
  background-size: contain;
}

.concept-main .sec_02 .sec_02-use_case_room ul li:nth-of-type(4) {
  background: url(https://tensei-r.com/img/upload/code/concept_23.png) no-repeat center center;
  background-size: contain;
}

.concept-main .sec_02 ul li a {
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translate(-50%, -26%);
  width: 100%;
  color: #fff;
  text-align: center;
  padding-top: 0;
}

.play_in {
  text-align: center;
}



/* pc */
@media screen and (min-width: 900px) {
  .concept-main .system-main_enn {
    max-width: 750px;
    margin: 0 auto 3rem;
  }

  img {
    display: block;
    margin: 0 auto;
  }

  .sec_02 ul {
    margin: 1.6rem auto 0;
    max-width: 750px;
  }

  .sec_01-text {
    padding-top: 3rem;
  }

}




/* sp */
@media screen and (max-width: 600px) {
  .f60 {
    font-size: 48px;
  }

  .f30 {
    font-size: 26px;
  }

  .temp_page_box .temp_page_txt {
    padding: 0;
    margin: 0;
  }

  .concept-main .system-main_enn {
    margin: 0;
  }

  .concept-main .system-main_enn-p {
    max-width: 100%;
    position: relative;
    bottom: 1rem;
    line-height: 2.5;
  }

  .concept_lien::after {
    width: 86%;
  }

  section.sec_02 {
    padding: 4rem 1rem 2.5rem;
  }

  .concept-main .sec_02 h2,
  .sec_02 .system-main_text {
    margin: 0 0 1rem;
  }
}

/* 枠のアニメーション */
:root {
  --base-sec: 0.8s;
}

.frame_line {
  position: relative;

  display: inline-block;
  color: #fff;
}

.frame_line span {
  position: relative;
  display: block;
  padding: 10px 1.2rem;
}

.frame_line::before,
.frame_line::after,
.frame_line span::before,
.frame_line span::after {
  background-color: #fff;
  content: '';
  display: block;
  position: absolute;
  z-index: 10;
  transition: all calc(var(--base-sec)) ease;
}

/* 左上から右横線（上） */
.frame_line::before {
  width: 0px;
  height: 1px;
  top: -1px;
  left: -1px;
}

/* 右下から左横線（下） */
.frame_line::after {
  width: 0px;
  height: 1px;
  right: -1px;
  bottom: -1px;
}

/* 左上から下縦線（左） */
.frame_line span::before {
  width: 1px;
  height: 0px;
  left: -1px;
  top: -1px;
  bottom: auto;
}

/* 右上から下縦線（右） */
.frame_line span::after {
  width: 1px;
  height: 0px;
  bottom: -1px;
  right: -1px;
}

/* 左上スタート：右横線→下縦線 */
.frame_line.animate::before {
  width: calc(100% + 1px);
  transition:
    width calc(var(--base-sec)) linear 0s;
}

.frame_line.animate span::after {
  height: calc(100% + 1px);
  transition:
    height calc(var(--base-sec)) linear calc(var(--base-sec));
}

/* 右下スタート：上縦線→左横線（同時スタート） */
.frame_line.animate span::before {
  height: calc(100% + 1px);
  transition:
    height calc(var(--base-sec)) linear 0s;
}

.frame_line.animate::after {
  width: calc(100% + 1px);
  transition:
    width calc(var(--base-sec)) linear calc(var(--base-sec));
}

.concept-main .sec_02-use_case_room .frame_line {
  width: 68%;
}

.concept-main .sec_02 .frame_line span {
  font-style: italic;
  font-weight: bold;
  font-size: 30px;
}


/* --------------ここまで枠のアニメーション ------------- */


/* 提携施設使用料 */
.concept-main .sec_03 {
  padding: 0;
  max-width: 100%;
}

.concept-main .sec_03 div {
  font-size: 0;
}

.concept-main .sec_03 .sec_03-alliance {
  background: url(https://tensei-r.com/img/upload/code/concept_bk.png) no-repeat center center;
  background-size: cover;
  padding: 3rem;
}

.sec_03-alliance h2 {
  position: relative;
  margin-bottom: 2rem;
}

.sec_03-alliance h2:after {
  content: "";
  position: absolute;
  border: 3px solid #999999;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 15%;
  border-radius: 5rem;
}

.sec_03-alliance-content {
  text-align: center;
}

.sec_03-alliance-content h3 {
  font-size: 24px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;

}

.sec_03-alliance-content h4 {
  font-weight: bold;
  font-size: 34px;
  margin-bottom: 1rem;
  font-style: italic;
}

.sec_03-alliance-content p {
  font-size: 20px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 0;
}

/* 注意事項 */

.concept-main .sec_04 {
  /* background: url(https://tensei-r.com/img/upload/code/concept_bk2.png) no-repeat center center; */
  background-size: cover;
  padding: 3rem 7rem;
  max-width: 100%;
}

.concept-main .sec_04 h2,
.concept-main .sec_04 ul li {
  font-size: 20px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: left;
}

.concept-main .sec_04 h2 {
  margin-bottom: 0.5rem;
}

.concept-main .sec_04 ul li {
  font-size: 18px;
}

@media screen and (max-width: 600px) {

  .concept-main .sec_02 .frame_line span,
  .sec_03-alliance-content h3 {
    font-size: 18px;
  }

  .concept-main .sec_02-use_case p,
  .concept-main .sec_02-use_case_room p {
    font-size: 10px;
    margin: 0;
  }

  .concept-main .sec_02 ul {
    margin: 1rem 0 0;
  }

  .concept-main .sec_02 ul li {
    padding-top: 56%;

  }

  .concept-main .sec_02-use_case_room .frame_line {
    width: 84%;
  }

  .concept-main .sec_03 .sec_03-alliance {
    padding: 1rem;
  }

  .f40:not(.f40.system_top_lien, h2.concept_lien, .font-style-italic),
  .sec_03-alliance-content h4 {
    font-size: 20px;
  }

  .sec_03-alliance-content p {
    font-size: 12px;
    margin: 0 0 1rem;
  }

  .concept-main .sec_04 {
    padding: 1rem 1.8rem;
    ;
  }

  .concept-main .sec_04 h2.f40,
  .concept-main .sec_04 ul li {
    font-size: 12px;
  }

  .concept-main .sec_02 .frame_line {
    margin: 0 auto 1rem;
  }
}

/* 修正追加 */
.concept-main .sec_02 .sec_02_botn li {
  padding: 0;
  height: auto;
  display: block;
  width: 80%;
  background-color: #000;
  margin: 0 0 2rem;
  border-radius: 4rem;
  position: static;
  /* 明示的にstaticにして、スタッキングコンテキストを作らない */
  transform: none;
  /* transformを明示的にnoneに */
  will-change: auto;
  /* will-changeを無効化 */
}

.concept-main .sec_02 .sec_02_botn li a {
  display: block;
  position: unset;
  transform: unset;
  font-size: 30px;
  font-weight: bold;
  font-style: italic;
  padding: 2rem 0;
  background: #000;
  height: auto;
  border-radius: 4rem;
  color: #fff !important;
}

@media screen and (max-width: 600px) {
  .concept-main .sec_02 .sec_02_botn li a {
    font-size: 18px;
    padding: 1rem;
  }

  .concept-main .sec_02 .sec_02_botn li {
    width: 90%;
  }
}


/* モーダル全体 */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  /* さらに高く */
  isolation: isolate;
  /* 新しいスタッキングコンテキストを作成 */
}

/* 背景 */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

/* 中身 */
.modal-content {
  position: relative;
  background: #fff;
  padding: 1rem;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  z-index: 10000;
  height: 80vh;
  overflow: hidden;
}


/* 開くボタン */
.open-btn {
  cursor: pointer;
  color: #fff;
  border-radius: 4px;
  font-size: 30px;
  font-weight: bold;
  font-style: italic;
  padding: 2rem;
  width: 80%;
  display: block;
  margin: 0 auto;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.9);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  /* iframeより上に */
  line-height: 1;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ラジオボタンで表示制御 */
#modal-open:checked~.modal {
  display: flex;
}

.sec_02 .modal img {
  opacity: 1;
  max-width: 100%;
}

/* sp */
@media screen and (max-width: 600px) {
  .open-btn {
    font-size: 18px;
    padding: 1rem;
  }

  /* タイトル　フォント */
  .container .sec_01-text.f40.font-style-italic {
    font-size: 20px;
  }

  .concept-main h2 {
    font-size: 40px;
  }

  .container .system-main_enn .system-main_enn-subT {
    font-size: 28px;
  }

  .system-main_enn-p .font-style-italic {
    font-size: 50px;
  }

  .kakeru {
    transform: translateX(0px);
  }
}


/* チャプター */

.lato-thin {
  font-family: "Lato", sans-serif !important;
  font-weight: 300;
  font-style: normal;
}
.sec_01_a p, .sec_01_b p {
  color: #fff;
}

section.sec_01_a,
section.sec_01_b {
  background: var(--pink-color);
  padding: 5rem 0;
  text-align: center;
  color: #fff;
}

section.sec_01_b {
  background: var(--blue-color);
}

.concept-main .sec_01_a h2,
.concept-main .sec_01_b h2 {
  width: 70%;
  margin: 0 auto 2rem;
  letter-spacing: -3px;
  font-size: 36px;
  line-height: normal;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.3rem;
}

.sec_01_a-Chapter_a,
.sec_01_a-Chapter_b {
  max-width: 750px;
  margin: 0 auto;
}
.sec_01_a-Chapter_a a,
.sec_01_a-Chapter_b a {
  display: block;
}

.sec_01_a-Chapter_a a:hover,
.sec_01_a-Chapter_b a:hover {
  opacity: 0.8;
}

.sec_01_a-Chapter_a a:hover .chapter_botn,
.sec_01_a-Chapter_b a:hover .chapter_botn {
  background-color: #fff;
  color: #000;
}

.sec_01_a-Chapter_a h3,
.sec_01_a-Chapter_b h3 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: stretch;
  max-width: 750px;
  color: #fff;
  font-style: italic;
}

.sec_01_a-Chapter_a h3 span,
.sec_01_a-Chapter_b h3 span {
  display: block;
}

.sec_01_a-Chapter_a h3::before,
.sec_01_a-Chapter_b h3::before {
  content: "【";
  font-size: 78px;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  display: block;
}

.sec_01_a-Chapter_a h3::after,
.sec_01_a-Chapter_b h3::after {
  content: "】";
  font-size: 78px;
  font-weight: bold;
  font-style: italic;
  color: #fff;
}

.chapter_botn {
  padding: 0.3rem 0;
  display: block;
  width: 60%;
  margin: 0 auto;
  background-color: #000;
  border-radius: 4rem;
  color: #fff;
}

/* チャプターli要素のバウンドアニメーション（system-main_ennと同じ動き） */
.sec_01_a-Chapter_a ul li,
.sec_01_a-Chapter_b ul li {
  backface-visibility: hidden;
  transform-origin: center;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(24px) scale(0.94);
}

/* スクロールで画面に入ったときにアニメーション発火 */
.sec_01_a-Chapter_a ul li.animate-in,
.sec_01_a-Chapter_b ul li.animate-in {
  animation: zoomInUp 760ms cubic-bezier(.22,.9,.27,1) 1 forwards;
}

/* 動き控えめ対応 */
@media (prefers-reduced-motion: reduce) {
  .sec_01_a-Chapter_a ul li,
  .sec_01_a-Chapter_b ul li {
    animation: none;
    transform: none;
    opacity: 1;
  }
  
  .sec_01_a-Chapter_a ul li.animate-in,
  .sec_01_a-Chapter_b ul li.animate-in {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

@media screen and (max-width: 600px) {
  .concept-main .sec_01_a h2, .concept-main .sec_01_b h2 {
    width: 96%;
    font-size: 20px;
}
section.sec_01_a, section.sec_01_b {
  padding: 2.5rem 0;
}
.sec_01_a-Chapter_a h3::before, .sec_01_a-Chapter_b h3::before,
.sec_01_a-Chapter_a h3::after, .sec_01_a-Chapter_b h3::after {
  font-size: 40px;
}
.sec_01_a-Chapter_a h3, .sec_01_a-Chapter_b h3 {
  font-size: 20px;
}
.sec_01_a-Chapter_a h3 span.f30,
.sec_01_a-Chapter_b h3 span.f30,
.sec_01_a-Chapter_a-more {
  font-size: 14px;
}
.sec_01_a-Chapter_a li p, .sec_01_a-Chapter_b li p {
  font-size: 16px;
}
/* チャプター2 */
.concept-main .sec_01_b h2 {
  letter-spacing: 0px;
}
.sec_01_a-Chapter_a h3::before, .sec_01_a-Chapter_b h3::before, .sec_01_a-Chapter_a h3::after, .sec_01_a-Chapter_b h3::after
{
  font-size: 40px;
  position: relative;
  width: 10%;

}
.sec_01_a-Chapter_a h3::before, .sec_01_a-Chapter_b h3::before {
  left: -16px;
}
.sec_01_a-Chapter_a h3::after, .sec_01_a-Chapter_b h3::after{
  right: -10px;
}
.sec_01_a-Chapter_b h3 span{
  width: calc(100% - -8%);
    position: relative;
    right: 1.8%;
}


}