@charset "UTF-8";

/* CSS Document */

/*==================================================

container
=================================================*/

/*< weight>: Use a value from 100 to 900 */
/* <uniquifier>: Use a unique and descriptive class name */


html {
	width: 100%;
}
body {
    position: relative;
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    margin: 0;
    left: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	margin: 0 auto;
}

img {
    max-width: 100%;
}

.sp_only {
		display: none;
	}
	.pc_only {
		display: block;
	}



/*==================================================

size m
=================================================*/

@media only screen and (min-width:1px) and (max-width: 768px) {
	
    body {
        background-size: 100% auto;
        left: 0;
    }
	#wrapper {
		width: 100%;
		min-width: 100%;
	}
	
	/*==================================================
	
	header
	=================================================*/
	

	.sp_only {
		display: block;
	}
	.pc_only {
		display: none;
	}
}


[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示された状態 */
[data-aos="fade-up"].is-aos-show {
  opacity: 1;
  transform: translateY(0);
}

/*==================================================

header
=================================================*/

header {
    width: 100%;
    min-width: 100%;
    position: relative;
    background-color: #fff;
    height: 80px;
}

#header-inner {
	width: 100%;
	margin: 0 auto;
    padding: 0;
    text-align: left;
    position: absolute;
    top:0;
    z-index: 5;
}

/* header PC */
#header-inner h1 {
  font-size: 0;
  padding-top: 10px;
}


#header-logo {
	width: 100%;
	max-width: 280px;
  height: 60px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 40px;
}



@media only screen and (min-width:1px) and (max-width: 768px) {

header {
	width: 100%;
	min-width: 100%;
    position: relative;
    padding-top: 1vw;
    height: 50px;
}

    #header-logo {
	width: 40%;
	max-width: 70%;
    line-height: 50%;
    position: absolute;
    z-index: 5;
    left: 5%;
}

}


main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

main ul li {
    list-style: none;
}





/*==================================================	
mv
=================================================*/


#mv {
  width: 100%;
  overflow: hidden;
}

.mv-outer {
  width: 100%;
  overflow: hidden;
}

/* PC/SP 共通 */
.mv-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1440 / 810;
  margin: 0 auto;

  container-type: inline-size;
}

@media (min-width: 2400px) {
  .mv-inner {
    max-width: 2400px;
  }
}

.mv-inner img {
  position: absolute;
}

.mv-base {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mv-layer {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.mv-layer.is-show {
  opacity: 1;
}


.layer-01 {
  top: 0;
  left: 4cqmin;
  width: 35%;
}

.layer-02 {
  top: 5%;
  right: 4%;
  width: 57%;
}

.layer-03 {
  top: 18%;
  left: 32%;
  width: 34%;
}

.layer-04 {
  top: 18%;
  right: 13%;
  width: 20%;
}

.layer-05 {
  bottom: 5%;
  right: 13%;
  width: 20%;
}



@media (max-width: 768px) {
  .mv-inner {
    aspect-ratio: 780 / 1120; /* ← これが重要 */
    container-type: inline-size;
  }

.mv-base {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
    object-position: center top;
  z-index: 1;
  top: 0;
}

  .mv-layer {
    transform: translateY(2cqmin);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  .mv-layer.is-show {
    transform: translateY(0);
  }

.layer-sp-02 {
  top: 3%;
  left: 5%;
  width: 90%;
}

.layer-sp-01 {
  top: 13%;
  left: 5%;
  width: 35%;
}

.layer-sp-03 {
  top: 13%;
  left: 43%;
  width: 37%;
}

.layer-sp-04 {
  top: 58%;
  left: 5%;
  width: 35%;
}

.layer-sp-05 {
  top: 34%;
  left: 45%;
  width: 33%;
}

}


/*==================================================	
intro
=================================================*/

#intro {
  position: relative;
    background-image: url("../img/intro_bk.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#intro .title {
    width: 450px;
    max-width: 70%;
    margin: auto;
}

#intro .read {
    width: 728px;
    max-width: 80%;
    margin: 60px auto;
}

@media (max-width: 768px) {

  #intro {
  position: relative;
    background-image: url("../img/intro_bk_sp.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

}

#intro .nav_area {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#intro .nav_area .qsn {
    width: 15%;
    margin: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

#intro .nav_area .qsn img {
    width: 20px;
    padding-right: 20px;
}

#intro .nav_area .nav_box {
    width: 85%;
    max-width: 100%;
    margin: auto;
    background-color: #fff;
    padding: 40px 0 3% 10vw;
    display: block;
    justify-content: center;
    
}

#intro .nav_area .nav_box ul {
    width: 1100px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: auto;
    margin-left: -8vw;
}

#intro .nav_area .nav_box ul li:nth-child(odd) {
    width: 500px;
    max-width: 45%;
    margin: 0;
}

#intro .nav_area .nav_box ul li {
    width: 600px;
    max-width: 55%;
    margin: 0;
}


@media (max-width: 768px) {

    #intro .nav_area .qsn {
    display: none;
}

  #intro .nav_area .nav_box {
    width: 92%;
    background-color: #fff;
    margin-left: 8%;
    padding: 40px 0 40px 1%;
}

#intro .nav_area .nav_box ul {
    width: 88%;
    max-width: 90%;
    display: block;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
}

#intro .nav_area .nav_box ul li:nth-child(odd) {
    width: 80%;
    max-width:  100%;
}

#intro .nav_area .nav_box ul li {
    width: 80%;
    max-width:  100%;
}

}



/*==================================================	
mystery共通
=================================================*/



/* 外枠 */
.accordion-wrap {
  padding-bottom: 20px;
}

/* 白背景枠 */
.inner {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 30px 0px 50px;
  text-align: center;
  background-color: #fff;
  position: relative;
  list-style: none;
}

/* PC */
@media (min-width: 769px) {
  .inner {
    width: 100%;
  }
}




.in_title {
  cursor: pointer;
  transition: opacity 0.2s ease;   /* 自然な変化にする */
  user-select: none;               /* テキスト選択防止 */
  position: relative;
  -webkit-tap-highlight-color: transparent; /* Androidの青いハイライト消す */
}

/* PCでのホバー */
@media (hover: hover) {
  .in_title:hover {
    opacity: 0.5;
  }
}


/* または、さらに強く戻す方法 */
.in_title:active {
  opacity: 0.5;
}

/* 0.1秒後に強制的に元に戻す（保険） */
.in_title:active {
  transition: opacity 0.2s ease;
}

/* 開いているときは見出し部分にも視覚的変化を（任意） */
.accordion.is-open .in_title {
  /* 例: 背景色を変える、アイコンを回転させるなど */
  /* background: rgba(0,0,0,0.03); */
}


/* アコーディオン中身 */
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

/* 開いた状態 */
.accordion.is-open .accordion-content {
  max-height: 2000px; /* JSで上書きされる */
}

.accordion-btn {
  width: 180px;
  position: absolute;
  left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  bottom: -60px;   /* 既存 */
  z-index: 10;     /* 追加推奨 */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* 画像はみ出し防止 */
.inner img {
  max-width: 100%;
  height: auto;
}


.box_head {
    width: 880px;
    max-width: 90%;
    padding-left: 10%;
    display: flex;
    justify-content: space-between;
}

.box_head .nazo {
    width: 300px;
    padding-top: 20px;
}

.box_head .agri {
    width: 180px;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

.inner {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 20px 0px 50px;
  text-align: center;
  background-color: #fff;
  position: relative;
  list-style: none;
}

.box_head {
    width: 90%;
    max-width: 90%;
    margin: auto;
    padding-left: 0%;
    display: flex;
    justify-content: space-between;
}

.box_head .nazo {
    width: 300px;
    max-width: 50%;
    padding-top: 20px;
    padding-left: 5vw;
    text-align: left;
}

.box_head .agri {
    width: 180px;
    max-width: 24%;
}


}


/* 既存そのままでOK */
.box_title {
  width: 920px;
  max-width: 98%;
  margin: 60px auto;
  padding-left: 1%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.box_title .mys_qsn {
  width: 9px;
  max-width: 9px;
}

/* ★ 中央タイトル */
.box_title .in_title {
  position: relative;
  width: 780px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 30px;
  text-align: center;
}
.box_title .in_title1-2 {
  position: relative;
  width: 780px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 30px;
  text-align: center;
}

/* 線SVG（in_title基準） */
.line-title {
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
}

.line-title.top {
  top: -12px;
}

.line-title.bottom {
  bottom: -12px;
}

/* 線の描画 */
.line-title line {
  stroke: #000;
  stroke-width: 1;
  stroke-dasharray: 773px;      /* 780 - 7 */
  stroke-dashoffset: 773px;
  transition: stroke-dashoffset 1s ease;
}


/* 黒丸 */
.line-title circle {
  fill: #000;
  transition: transform 1s ease;
}

/* 表示時アニメーション */
.is-show .line-title.top line,
.is-show .line-title.bottom line {
  stroke-dashoffset: 0;
}

.is-show .line-title.top circle {
  transform: translateX(773px);
}

.is-show .line-title.bottom circle {
  transform: translateX(-773px);
}



.box_title .in_title {
    width: 780px;
    max-width: 100%;
    margin: auto;
    padding: 60px 30px;
}
.box_title .in_title1-2 {
    width: 780px;
    max-width: 100%;
    margin: auto;
    padding: 60px 30px;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

.box_title {
    width: 920px;
    max-width: 94%;
    margin: 30px auto;
    padding-left: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box_title .mys_qsn {
    width: 8px;
    max-width: 8px;
}

.box_title .in_title {
    width: 80%;
    max-width: 100%;
    margin: 12px;
    padding: 20px 10px;
}
.box_title .in_title1-2 {
    width: 80%;
    max-width: 100%;
    margin: 12px;
    padding: 20px 10px;
}

}

p {
    color:#000;
    text-align: left;
    font-size: 0.90rem;
    padding: 0;
    font-weight: 300;
    line-height: 2.0;
    letter-spacing: 0.1rem;
}
@media only screen and (min-width:1px) and (max-width: 768px) {

p {
  font-size: 0.8rem;
line-height: 1.9;
letter-spacing: 0.06rem;}

}
/*==================================================	
mystery_box1-2
=================================================*/

#mystery_box1-2 {
  position: relative;
    background-image: url("../img/mys1-2_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#mystery_box1-2 .in_title1-2 img {
    width: 428px;
    max-width: 62%;
    margin: auto;
}


#mystery_box1-2 p {
    text-align: center;
    padding-bottom: 10px;
}


@media only screen and (min-width:1px) and (max-width: 768px) {

#mystery_box1-2 {
  position: relative;
    background-image: url("../img/mys1-2_bk_sp.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    padding: 80px 0 80px;
}

}

/*==================================================	
mystery_box2
=================================================*/

#mystery_box2 {
  padding: 20px 0 100px;
}

#mystery_box2 .in_title1-2 img {
    width: 495px;
    max-width: 68%;
    margin: auto;
}

#mystery_box2 .box_read2 {
    width: 720px;
    max-width: 90%;
    margin: auto;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

#mystery_box2 .box_read2 {
    width: 720px;
    max-width: 90%;
    margin: auto;
    padding-top: 0;
    display: block;
    justify-content: space-between;
}

}

#mystery_box2 .box_read2 p {
    width: 390px;
    max-width: 86%;
    margin: 20px auto;
    text-align: left;
}

#mystery_box2 .box_read2 .tri .tri-item.top {
    width: 66px;
    max-width: 22%;
}

#mystery_box2 .box_read2 .tri .tri-item.left {
    width: 66px;
    max-width: 22%;
}

#mystery_box2 .box_read2 .tri .tri-item.right {
    width: 66px;
    max-width: 22%;
}

/* 親コンテナ */
.tri {
  position: relative;
  width: 320px;
  max-width: 90%;
  height: 360px;
  margin: 0 auto;
}

.tri-item {
  position: absolute;
  width: 64px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 2;
}

/* 画像の固定配置 */
.tri-item.top { top: 0; left: 50%; transform: translateX(-50%); }
.tri-item.left { top: 160px; left: 0; }
.tri-item.right { top: 160px; right: 0; }

.tri-item img { width: 100%; height: auto; }

.tri-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 線の動き：0.8秒で伸びる */
.tri-line line {
  stroke: #000;
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 100; /* 線が短くなったので dasharray も調整 */
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.8s ease-in-out;
}

/* 矢印（塗りつぶし）：線が伸び切った後に表示 */
.tri-line polygon {
  fill: #000;
  opacity: 0;
  transition: opacity 0.1s ease;
  transition-delay: 0.8s;
}

/* 発火用クラス */
[data-line="triangle"].is-show .tri-item { opacity: 1; }
[data-line="triangle"].is-show .tri-line line { stroke-dashoffset: 0; }
[data-line="triangle"].is-show .tri-line polygon { opacity: 1; }



/*==================================================	
mystery_box3
=================================================*/

#mystery_box3 {
  position: relative;
    background-image: url("../img/mys3_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}


#mystery_box3 .in_title img {
    width: 500px;
    max-width: 60%;
    margin: auto;
}

#mystery_box3 p {
    width: 580px;
    max-width: 70%;
    margin: auto;
    padding: 10px 0 30px;
}

#mystery_box3 .box_read3 {
    width: 600px;
    margin: auto;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
}

#mystery_box3 .box_read3 .read {
    width: 60px;
    text-align: left;
}

#mystery_box3 .box_read3 .read3 {
    width: 440px;
    max-width: 100%;
    text-align: left;
}

#mystery_box3 .box_read3 .read3 img {
    margin: 0 0 40px;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

  #mystery_box3 {
  position: relative;
    background-image: url("../img/mys3_bk_sp.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    padding: 80px 0 80px;
}


  #mystery_box3 p {
    width: 580px;
    max-width: 86%;
    margin: auto;
    padding: 30px 0 0;
}

#mystery_box3 .box_read3 {
    width: 600px;
    max-width: 90%;
    margin: auto;
    padding-top: 60px;
    display: block;
    justify-content: space-between;
}

#mystery_box3 .box_read3 .read {
    width: 86%;
    margin: 10px auto 20px;
    padding-bottom: 30px;
    text-align: left;
}

#mystery_box3 .box_read3 .read3 {
    width: 84%;
    max-width: 100%;
    text-align: left;
    margin: auto;
    padding: 0;
}

#mystery_box3 .box_read3 .read3 ul {
    width: 100%;
    max-width: 100%;
    text-align: left;
    margin: auto;
    padding: 0;
}

#mystery_box3 .box_read3 .read3 ul li {
    width: 100%;
    max-width: 100%;
    text-align: left;
    margin: auto;
    padding: 0 0 20px;
}

}


#mystery_box3 .box_read3_movie {
    width: 580px;
    margin: auto;
    padding-top: 60px;
    padding-bottom: 80px;
    display: flex;
    justify-content: flex-start;
}

#mystery_box3 .box_read3_movie .movie {
    width: 15px;
    margin: 0;
    padding: 0 0 0 20px;
}

#mystery_box3 .box_read3_movie ul.movie_box {
    width: 490px;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


/* movieエリアの基本設定 */
#mystery_box3 .box_read3_movie ul.movie_box li {
    width: 46%;
    max-width: 100%;
    margin: 0 0 4px;
    padding: 1% 2%;
}

#mystery_box3 .box_read3_movie ul.movie_box li a {
    position: relative;
    display: block;
    width: 100%;
}

#mystery_box3 .box_read3_movie ul.movie_box li img {
  width: 92%;
  margin: auto;
  padding: 4%;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

#mystery_box3 .box_read3_movie {
    width: 580px;
    max-width: 90%;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
    flex-wrap: wrap;
    justify-content: flex-start;
}


#mystery_box3 .box_read3_movie .movie {
    width: 94%;
    margin: 10px auto 20px;
    padding: 0;
    text-align: left;
}


#mystery_box3 .box_read3_movie ul.movie_box {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


/* movieエリアの基本設定 */
#mystery_box3 .box_read3_movie ul.movie_box li {
    width: 44%;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 1% 2%;
}

}

/*==================================================	
mystery_box4
=================================================*/

#mystery_box4 {
  position: relative;
    background-image: url("../img/mys4_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#mystery_box4 .in_title img {
    width: 460px;
    max-width: 54%;
    margin: auto;
}

#mystery_box4 .box_read4 {
    width: 780px;
    max-width: 90%;
    text-align: left;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

#mystery_box4 .box_read4 p {
    width: 300px;
    max-width: 90%;
    text-align: left;
}

/* 親コンテナ */
#mystery_box4 .box_read4 .step {
    width: 420px;
    max-width: 94%;
    margin: 0 auto;
    position: relative;
}

/* 全体を貫く1本の縦線（画像の内側を通る） */
#mystery_box4 .box_read4 .step::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;                    /* 中央に配置（画像の内側） */
    transform: translateX(-50%);  /* 線の太さ分を中央に寄せる */
    width: 1px;
    background-color: #000;
    height: 0;
    z-index: 0;                   /* 画像より後ろ */
    transition: height 2s ease-out; /* 全体の伸びる時間（長めに） */
}

/* ステップが表示されたら全体の線が伸びる */
#mystery_box4 .box_read4 .step.is-active::before {
    height: 100%;
}

/* リストのスタイル */
#mystery_box4 .box_read4 .step ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;  /* 画像は線より手前に */
}

#mystery_box4 .box_read4 .step ul li {
    position: relative;
    padding: 40px 0 40px;          /* 上下の間隔を調整 */
    text-align: center;       /* 画像中央寄せ */
}

/* 各画像 */
#mystery_box4 .box_read4 .step ul li img {
    
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 2;               /* 線より手前 */
}





@media only screen and (min-width:1px) and (max-width: 768px) {

#mystery_box4 {
  position: relative;
    background-image: url("../img/mys4_bk_sp.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0 80px;
}

  #mystery_box4 .box_read4 p {
    width: 300px;
    max-width: 86%;
    margin: auto;
    text-align: left;
    padding-top: 30px;
}

  #mystery_box4 .box_read4 {
    width: 740px;
    max-width: 90%;
    text-align: left;
    margin: auto;
    padding: 0;
    display: block;
    justify-content: space-between;
}

}


/*==================================================	
mystery_box5
=================================================*/

#mystery_box5 {
  position: relative;
    background-image: url("../img/mys5_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#mystery_box5 .in_title img {
    width: 500px;
    max-width: 64%;
    margin: auto;
}

#mystery_box5 .box_read5 p {
    width: 560px;
    max-width: 90%;
    text-align: left;
    margin: auto;
}

#mystery_box5 .box_read5 .topic {
    width: 614px;
    max-width: 90%;
    margin: 60px auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    position: relative;
}

#mystery_box5 .box_read5 .topic img {
    width: 96%;
    max-width: 100%;
    margin: auto;
    padding: 2%;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

#mystery_box5 {
  position: relative;
    background-image: url("../img/mys5_bk_sp.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0 80px;
}

#mystery_box5 .box_read5 p {
    width: 84%;
    max-width: 100%;
    text-align: left;
    margin: 10px auto 30px;
}

/* YouTubeエリアの基本設定 */
#mystery_box5 .box_read5 .topic {
    width: 80%;
    max-width: 100%;
    margin: 10px auto;
    padding: 0px;
    display: flex;
    justify-content: center;
    position: relative;
}

#mystery_box5 .box_read5 .topic img {
    width: 88%;
    max-width: 100%;
    margin: auto;
    padding: 6% 6% 8%;
}

}

/*==================================================	
mystery_box6
=================================================*/

#mystery_box6 {
  position: relative;
    background-image: url("../img/mys6_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#mystery_box6 .in_title img {
    width: 770px;
    max-width: 90%;
    margin: auto;
}


#mystery_box6 .box_read6 {
    width: 640px;
    max-width: 90%;
    text-align: left;
    display: flex;
    margin: auto;
    padding: 0 0 40px;
    justify-content: space-between;
}

#mystery_box6 .box_read6 p {
    width: 280px;
    max-width: 90%;
    text-align: left;
}

#mystery_box6 .box_read6 .read_img {
    width: 320px;
    max-width: 95%;
    margin: 0;
}

#mystery_box6 .box_read6_link {
    width: 310px;
    max-width: 90%;
    padding: 60px 160px;
    display: flex;
    margin: 10px auto 30px;
    justify-content: space-between;
    position: relative;
}

#mystery_box6 .box_read6_link img {
    margin: auto;
    position: relative;

}

@media only screen and (min-width:1px) and (max-width: 768px) {

#mystery_box6 {
  position: relative;
    background-image: url("../img/mys6_bk_sp.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0 80px;
}

#mystery_box6 .in_title img {
    width: 100%;
    max-width: 100%;
    margin: auto;
}


#mystery_box6 .box_read6 p {
    width: 86%;
    max-width: 100%;
    margin: 0 auto 30px;
    text-align: left;
}

#mystery_box6 .box_read6 {
    width: 90%;
    max-width: 100%;
    text-align: left;
    display: block;
    margin: auto;
    padding: 0;
    justify-content: space-between;
}

#mystery_box6 .box_read6 .read_img {
    width: 320px;
    max-width: 95%;
    margin: 0 auto 40px;
}


#mystery_box6 .box_read6_link {
    width: 62%;
    max-width: 100%;
    margin: 20px auto;
    padding: 10% 10%;
}

#mystery_box6 .box_read6_link img {
    margin: auto;
    position: relative;

}

}


/*==================================================	
mystery_box7
=================================================*/

#mystery_box7 {
  position: relative;
    background-image: url("../img/mys7_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#mystery_box7 .in_title img {
    width: 460px;
    max-width: 50%;
    margin: auto;
}

#mystery_box7 .box_read7 {
    width: 690px;
    max-width: 90%;
    text-align: left;
    display: flex;
    margin: 60px auto;
    justify-content: space-between;
}

#mystery_box7 .box_read7 p {
    width: 320px;
    max-width: 90%;
    text-align: left;
}

#mystery_box7 .box_read7 .read_img {
    width: 310px;
    max-width: 90%;
    margin: auto;
}


@media only screen and (min-width:1px) and (max-width: 768px) {

  #mystery_box7 {
  position: relative;
    background-image: url("../img/mys7_bk_sp.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0 80px;
}

#mystery_box7 .box_read7 {
    width: 690px;
    max-width: 90%;
    text-align: left;
    display: block;
    margin: 30px auto;
    justify-content: space-between;
}

#mystery_box7 .box_read7 p {
    width: 84%;
    max-width: 100%;
    margin: 0 auto 40px;
    text-align: left;
}


#mystery_box7 .box_read7 .read_img {
    width: 84%;
    max-width: 100%;
    margin: auto;
}

}


/*==================================================	
mystery_box8
=================================================*/

#mystery_box8 {
  position: relative;
    background-image: url("../img/mys8_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#mystery_box8 .in_title img {
    width: 688px;
    max-width: 84%;
    margin: auto;
}

#mystery_box8 .box_read8 p {
    width: 560px;
    max-width: 84%;
    margin: auto;
    text-align: left;
}

#mystery_box8 .box_read8_topic {
    width: 700px;
    max-width: 90%;
    text-align: left;
    display: flex;
    margin: 60px auto;
    justify-content: space-between;
}

#mystery_box8 .box_read8_topic .topic_read {
    width: 58px;
}

#mystery_box8 .box_read8_topic ul.read8_box {
    width: 570px;
    max-width: 90%;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


#mystery_box8 .box_read8_topic ul li {
    width: 250px;
    max-width: 100%;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

#mystery_box8 .box_read8_topic ul p {
    width: 570px;
    max-width: 90%;
    display: flex;
    font-size: 0.64rem;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

#mystery_box8 .box_read8_topic {
    width: 90%;
    max-width: 100%;
    text-align: left;
    display: block;
    margin: 30px auto;
    justify-content: space-between;
}


#mystery_box8 .box_read8_topic .topic_read {
    width: 60%;
    max-width: 100%;
    margin: 40px auto 20px;
}

#mystery_box8 .box_read8_topic ul {
    width: 90%;
    max-width: 100%;
    margin: auto;
    padding: 0;
    display: block;
    flex-wrap: wrap;
    justify-content: space-between;
}

#mystery_box8 .box_read8_topic ul li {
    margin: 15px auto;
}

  #mystery_box8 .box_read8_topic ul p {
    width: 90%;
    max-width: 100%;
    display: flex;
    font-size: 0.64rem;
    text-indent: -1rem;
    padding-left: 1rem;
}

}


/*==================================================	
mystery_box9
=================================================*/

#mystery_box9 {
  position: relative;
    background-image: url("../img//mys9_bk.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
}

#mystery_box9 .in_title img {
    width: 650px;
    max-width: 72%;
    margin: auto;
}

#mystery_box9 .box_read9 p {
    width: 560px;
    max-width: 90%;
    margin: 0 auto 40px;
    text-align: left;
}

/* 基本スタイル */
#mystery_box9 .box_read9_line {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px;
    overflow: hidden; /* はみ出し防止 */
}

.reveal-container {
    position: relative;
    width: 100%;
    display: inline-block; /* 画像の本来の幅に合わせる */
    vertical-align: top;
}

.reveal-container img {
    display: block;
    width: 100%;
    height: auto;
}

/* マスク部分 */
.reveal-mask {
    position: absolute;
    inset: 0;
    background: #fff;           /* マスクの色（背景と同化させたい色） */
    transform: translateX(0);   /* 最初は左側から開始 */
    transform-origin: left center;
    pointer-events: none;       /* クリック貫通 */
}

.accordion.is-open .reveal-mask {
    animation: reveal 2.5s cubic-bezier(0.5, 0, 0.1, 1) forwards;
    animation-delay: 0.4s;
}

/* 左→右にマスクが消えるアニメーション */
@keyframes reveal {
    0% {
        transform: translateX(0);
        width: 100%;
    }
    100% {
        transform: translateX(100%);
        width: 100%;
    }
}

/* スマホとPCの画像切り替え（既存のまま想定） */
.pc_only {
    display: block;
}
.sp_only {
    display: none;
}

@media (max-width: 768px) {
    .pc_only {
        display: none;
    }
    .sp_only {
        display: block;
    }
}

@media only screen and (min-width:1px) and (max-width: 768px) {


#mystery_box9 {
  position: relative;
    background-image: url("../img//mys9_bk_sp.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    padding: 80px 0 80px;
}

#mystery_box9 .box_read9 p {
    width: 84%;
    max-width: 100%;
    margin: 0 auto 60px;
    text-align: left;
}


}
/*==================================================	
link
=================================================*/

#link {
  width: 100%;
  max-width: 100%;
    margin: auto;
    padding: 60px 0;
    
    text-align: center;
}

/* YouTubeエリアの基本設定 */
#link .youtube {
    width: 740px;
    max-width: 74%;
    margin: auto;
    padding: 10px;
    display: flex;
    justify-content: center;
    position: relative;
}

#link .youtube a {
    position: relative;
    display: block;
    width: 100%;
}

#link .youtube img {
    width: 94%;
    display: block;
    padding: 3%;
}

/* 伸びる線とドットの共通スタイル（以前のものと同じ） */
.frame-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.dot-tl { top: 0; left: 0; transform: translate(-50%, -50%); }
.dot-br { bottom: 0; right: 0; transform: translate(50%, 50%); }

.frame-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    opacity: 0;
}

.frame-svg .line-path {
    fill: none;
    stroke: #000;
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 1.2s ease-in-out;
}

/* 表示時アニメーション */
[data-line="rect"].is-show .frame-dot { opacity: 1; }
[data-line="rect"].is-show .frame-svg { opacity: 1; }
[data-line="rect"].is-show .line-path { stroke-dashoffset: 0; transition-delay: 0.2s; }

/* モーダルのスタイル */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: 0.3s; z-index: 9999;
}
.modal-overlay.is-active { opacity: 1; visibility: visible; }
.modal-content { position: relative; width: 90%; max-width: 800px; }
.modal-video { position: relative; padding-top: 56.25%; } /* 16:9比率 */
.modal-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.modal-close {
    position: absolute; top: -40px; right: 0;
    background: none; border: none; color: #fff; font-size: 30px; cursor: pointer;
}

#link .btn {
    width: 740px;
    max-width: 74%;
    margin: 0 auto 30px;
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#link .btn li {
    width: 344px;
    max-width: 46%;
    list-style: none;
    position: relative;
}

#link .btn li a {
    display: block;
    padding: 10px;
}

.frame-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* ドットを線の角にピッタリ合わせる */
.dot-tl { top: 0; left: 0; transform: translate(-50%, -50%); }
.dot-br { bottom: 0; right: 0; transform: translate(50%, 50%); }

.frame-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.frame-svg .line-path {
    fill: none;
    stroke: #000;
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    
    /* 1000に増やすことで、横長の矩形でも線が最後まで到達します */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1.2s ease-in-out;
}

/* 表示時 */
[data-line="rect"].is-show .frame-dot,
[data-line="rect"].is-show .frame-svg {
    opacity: 1;
}

[data-line="rect"].is-show .line-path {
    stroke-dashoffset: 0;
    transition-delay: 0.2s;
}

#link .bnr {
    width: 380px;
    max-width: 100%;
    margin: auto;
    padding: 40px 0 20px;
}

.link a:hover img {
    opacity: 0.8;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

#link .btn {
    margin: 10px auto 10px;
    padding: 0;
    width: 90%;
}
#link .bnr {
    width: 50%;
    max-width: 100%;
    margin: auto;
    padding: 20px 0 20px;
}

}




/*==================================================	
footer
=================================================*/

footer {
    width: 100%;
    margin-top: 0;
}


footer .footer_inner {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0 5px;
    text-align: center;
    border-top: #111 solid 1px;
}

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

footer .footer_inner .footer_logo {
    width: 240px;
    max-width: 74%;
    margin: 10px auto ;
}

footer .footer_inner .copyright {
    width: 95%;
    max-width: 95%;
    text-align: right;
}

footer .footer_inner .copyright img {
    width: 220px;
    max-width: 100%;
}

@media (max-width: 768px) {
    footer .footer_inner .footer_logo {
    width: 54%;
    max-width: 54%;
    margin: 10px auto ;
}

footer .footer_inner .copyright {
    width: 50%;
    max-width: 50%;
    margin: 20px auto 0;
    text-align: center;
}
}

.footer_recruit {
    width: 96%;
    border-top: #111 solid 1px;
    padding: 2%;
    background-color: #fff;
    text-align: left;
}

.footer_recruit img {
    width: 258px;
}



.pagetop {
	width: 150px;
	height: 45px;
	position: fixed;
	right: -150px;
	bottom: 200px;
	z-index: 1001!important;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.pagetop-visible {
	right: 0;
}
#footer-pagetop {
	width: 100%;
	max-width: 49px;
	text-align: center;
	margin: 5% auto 0;
}

    .pagetop {
        bottom: 100px;
    }
	.pagetop-visible {
		right: -100px;
	}

  
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}
.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
}
.modal-video {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
}
.modal-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}