/*全体*/
:root {
  --PRIMARY_01: #442081;
  --PRIMARY_01-1: #7c63a7;
  --PRIMARY_01-2: #a290c0;
  --PRIMARY_01-3: #dad2e6;
  --PRIMARY_02: #ac34a6;
  --PRIMARY_02-1: #c571c1;
  --PRIMARY_02-2: #d69ad3;
  --PRIMARY_02-3: #eed6ed;
  --SECONDARY_01: #faf2ff;
  --SECONDARY_02: #2a637c;
  --SECONDARY_03: #14cbb6;
  --SECONDARY_04: #ec6354;
}

  .l-text{
	  font-size: 20px;
	  margin: 16px 0 0;
	  line-height: 1.5;
  }
  .m-text{
	  font-size: 16px;
	  margin: 12px 0 0;
	  line-height: 1.5;
  }
  .s-text{
	  font-size: 12px;
	  margin: 8px 0 8px;
	  line-height: 1.2;
  }
  main{
	  font-feature-settings: "palt";
	  overflow-x: hidden;
  }
	  
  #MainVisual_Sec{
	  color: #fff;
	  h1{
		  margin: 8px 8px 5vw;
	  }
	  .heading-1, .heading-2{
		  text-shadow: 3px 3px 6px #000;
	  }
	  .logo{
		  position: absolute;
		  right: 36px;
		  bottom: 20px;
		  width: 28vw;
		  max-width: 180px;
	      @media (max-width: 768px){
		      top: 36px;
	      }
	  }
	  .mv-decoration{
		  color: #fff;
		  background: var(--PRIMARY_01);
		  padding: 16px 8px;
		  width: 70%;
		  min-width: 360px;
		  border-radius: 0 700px 0 0;
		  .anc{
			  color: #fff;
		  }
		  .anc:hover{
			  opacity: 0.7;
		  }
	  }
  }

  #Contents01_Sec{
	  padding: 56px 8px;
  }

  #Contents02_Sec{
	  padding: 56px 8px;
	  background: #aaa;
  }

  .heading-1{
	  font-weight: 900;
	  font-size: 36px;
	  line-height: 1.5;
	  @media (max-width: 768px){
		  font-size: 32px;
	  }
  }
  .heading-1--large{
	  font-weight: 900;
	  font-size: 44px;
	  line-height: 1.5;
	  @media (max-width: 768px){
		  font-size: 36px;
	  }
  }
  .heading-2{
	  font-size: 28px;
	  line-height: 1.5;
	  margin: 16px 8px 8px;
	  @media (max-width: 768px){
		  font-size: 24px;
	  }
  }

  .sub-title{
	  margin: 8px 0;
	  font-size: 20px;
	  color: var(--PRIMARY_02);
	  @media (max-width: 768px){
		  font-size: 18px;
      }
	  @media (max-width: 428px){
		  font-size: 16px;
      }
  }
  .title01{
	  color: var(--PRIMARY_01-1);
	  font-size: 24px;
	  line-height: 1.5;
	  @media (max-width: 768px){
		  font-size: 20px;
	  }
  }

  .title02{
	  color: #fff;
	  background: var(--PRIMARY_01-1);
	  font-size: 20px;
	  line-height: 1.5;
	  padding: 4px 16px 4px 8px;
	  border-radius: 0 24px 0 0;
	  @media (max-width: 768px){
		  font-size: 16px;
	  }
	  @media (max-width: 428px){
		  font-size: 14px;
	  }
  }

  .btn-1{
	  color: #fff;
	  background: #e5004c;
	  border-radius: 24px;
  }
  
  .btn-2{
	  font-size: 20px;
	  color: #092987;
	  background: #fff;
	  border: solid 2px #092987;
	  border-radius: 24px;
  }
  .btn-1:hover{
	  color: #e5004c;
	  background: #fff;
	  border: solid 2px #e5004c;
  }
  .btn-2:hover{
	  color: #fff;
	  background: #092987;
	  border: solid 2px #fff;
  }

  .box{
	  border: solid 1px #ccc;
	  padding: 12px;
      margin: 5%;
      p{
		&:first-of-type {
			margin: 0;
		}
	  }
	}

  /*トップに戻る*/
  .pagetop {
      display: none;
      position: fixed;
      bottom: 8px;
      right: 24px;
      z-index: 100;
  }
  .pagetop a {
	  color: #092987;
      display: block;
      text-align: center;
	  background: #fff;
	  border: solid 2px #092987;
	  border-radius: 10px;
      text-decoration: none;
      padding: 10px;
      filter:alpha(opacity=50);
      -moz-opacity: 0.5;
  }
  .pagetop a:hover {
	  color: #fff;
	  background: #092987;
	  border: solid 2px #fff;
  }

  .fundpage {
      display: none;
      position: fixed;
      bottom: 8px;
      right: 72px;
      z-index: 100;
  }
  .fundpage a {
	  color: #fff;
      display: block;
      text-align: center;
      background: #e5004c;
	  border: solid 2px #e5004c;
	  border-radius: 10px;
      text-decoration: none;
      padding: 10px;
      filter:alpha(opacity=50);
      -moz-opacity: 0.5;
  }
  .fundpage a:hover {
	  color: #e5004c;
	  background: #fff;
	  border: solid 2px #e5004c;
  }


  /*フェードイン設定*/
  .fadein{
      opacity: 0;
      transition: all 0.5s;
  }
  .fadein.scrollin{
    opacity: 1;
    transform: translate(0,0);
  }
  .top{transform: translate(0,-5%);}
  .right{transform: translate(5%,0);}
  .bottom{transform: translate(0,5%);}
  .left{transform: translate(-5%,0);}

  /*アニメーションを遅らせる*/
  .delay02{
      transition-delay: 0.2s;
  }
  .delay04{
      transition-delay: 0.4s;
  }
  .delay06{
      transition-delay: 0.6s;
  }
  .delay08{
      transition-delay: 0.8s;
  }
  .delay10{
      transition-delay: 1.0s;
  }



  .scroll-item {
      flex: 0 0 auto; /* アイテムを横並びに固定 */
      width: 60%; /* 各アイテムの幅 */
      height: auto; /* 各アイテムの高さ */
      background: #fff; /* 背景色 */
      border: 1px solid #ccc; /* 枠線 */
      scroll-snap-align: start; /* スナップ位置を設定 */
      padding: 12px;
      margin: 20px 0;
	  @media (max-width: 768px){
	    width: 85%;;
	  }
  }

.carousel-container {
  --img-width: 640px;                               /* スライドの横幅 */
  --img-height: auto;                              /* スライドの高さ */
  .carousel {
    display: flex;                                  /* スライドを横方向に並べる */
    gap: 20px;                                     /* スライド間に隙間をあける */
    overflow-x: auto;                               /* スクロールバー非表示 */
    padding: 0 calc((100% - var(--img-width)) / 2); /* 左右にスライド横幅の半分程度のパディング */
    background-color: var(--PRIMARY_01-2);                         /* 背景色をつける */
    .scroll-item {
      width: var(--img-width);                      /* スライドの横幅 */
      height: var(--img-height);                    /* スライドの高さ */
    }
  }
}
@media (max-width: 768px) {                            /* 画面が狭い時はスライドを小さめに */
  .carousel-container {
    --img-width: 480px;
  }
}
@media (max-width: 428px) {                            /* 画面が狭い時はスライドを小さめに */
  .carousel-container {
    --img-width: 290px;
  }
}

.carousel-container {
  .carousel {
    scroll-snap-type: x mandatory;                  /* X方向に強制的にスナップする */
    scroll-snap-stop: always;                       /* 1枚1枚スナップする */
    .scroll-item {
      scroll-snap-align: center;                    /* コンテンツの中央位置でスナップする */
    }
  }
}

.carousel-container {
  position: relative;                               /* スクロールボタン配置用 */
  .carousel {
    scroll-behavior: smooth;                        /* ボタン押下時にスムーススクロールする */
    &::scroll-button(*) {                           /* スクロールボタン */
      position: absolute;                           /* カルーセルの親要素に対して */
      z-index: 100;
/*      top: calc(var(--img-height) / 2 - 10px);      /* 画像高さの1/2のちょっと上に配置 */
      top: 0;
      width: calc((100% - var(--img-width)) / 2 - 20px);                                  /* ボタンの横幅 */
      min-width: 20px;
      height: calc(100% - 10px);                                 /* ボタンの高さ */
/*      border-radius: 50%;                           /* 丸型ボタンにする */
      border: none;                                 /* ボーダーは不要 */
      background-color: #0005;                      /* 背景色をすこし透明で設定 */
      font-size: 16px;
      color: #fff;
      font-style: normal;
      font-variant: normal;
      text-rendering: auto;
      -webkit-font-smoothing: antialiased;
      font-family: "Font Awesome 5 Free"; 
      font-weight: 900;
      padding: 0;
    }
    &::scroll-button(*):hover {
      background-color: #0006;                      /* マウスを乗せると少し透明度を変える */
    }
    &::scroll-button(right) {                       /* 右ボタン */
      right: 0;                                  /* 右端から少し内側に配置 */
      content: '▶';
    }
    &::scroll-button(left) {                        /* 左ボタン */
      left: 0;                                   /* 左端から少し内側に配置 */
      content: "◀";                             /* 左矢印 */
    }
  }
}

.carousel-container {
  margin-bottom: 40px;                              /* マーカー分下部に余白をつける */
  .carousel {
    scroll-marker-group: after;                     /* マーカーを下部に表示する */
    &::scroll-marker-group {                        /* マーカーグループ */
      margin-top: 10px;
      display: flex;
      justify-content: center;
      gap: 10px;
    }
    .scroll-item {
      &::scroll-marker {                            /* 個々のマーカーアイテム */
        content: "";
        width: 20px;
        height: 10px;
        border: 1px solid var(--PRIMARY_02-1);
      }
      &::scroll-marker:target-current {             /* 表示中のマーカースタイル */
        background-color: var(--PRIMARY_02);
      }
    }
  }
}

.details {
	margin: 4px 8px;
	border-top: 1px solid var(--PRIMARY_01-2);
	border-left: 1px solid var(--PRIMARY_01-2);
	border-right: 1px solid var(--PRIMARY_01-2);
	border-bottom: 1px solid var(--PRIMARY_01-2);
	&:last-of-type {
		border-bottom: 1px solid var(--PRIMARY_01-2);
	} 
}
.details-summary {
	position: relative;
	display: block;
	padding: 12px;
	color: var(--PRIMARY_01);
	font-weight: bold;
	background-color: var(--PRIMARY_01-3);
	&:hover {
		cursor: pointer;
		opacity: 0.8;
	}
	p{
        margin: 0 calc(3% + 24px);
	}
	.qa-mark {
		position: absolute;
		color: var(--PRIMARY_01-1);
		font-size: 30px;
        top: 5px;
        left: 3%;
        transform-origin: center center;
    }
	.btn {
		position: absolute;
        top: 36%;
        right: 3%;
        width: 18px;
        height: 18px;
        transform-origin: center center;
        transition-duration: 0.2s;

        &:before,
        &:after {
            content: "";
            background-color: var(--PRIMARY_01-1);
            border-radius: 10px;
            width: 18px;
            height: 4px;
            position: absolute;
            top: 7px;
            left: 0;
            transform-origin: center center;
        }
        &:before {
            width: 4px;
            height: 18px;
            top: 0;
            left: 7px;
        }
    }
	&.is-active {
		.btn {
			-webkit-transform: rotate(-180deg);
			transform: rotate(-180deg);
			&:before {
            	content: none;
        	}	
		}
    }
}

.details-summary::-webkit-details-marker {
	display: none;
}

.details-content {
	position: relative;
	padding: 20px 12px 20px calc(3% + 36px);
	p {
		text-align: left;
		&:first-of-type {
			margin: 0;
		}
	}
	.qa-mark {
		position: absolute;
		color: var(--PRIMARY_02-1);
		font-size: 30px;
		font-weight: bold;
        top: 10px;
        left: 3%;
        transform-origin: center center;
    }
}
