@charset "UTF-8";

/*=============================================
JavaScriptやアニメーションで使うCSS
=============================================*/

/*------------------------------------
アコーディオン
------------------------------------*/
.c-accordion-wrapper {
  margin-bottom: 2em;
}
.c-accordion-wrapper .details {
  -webkit-box-shadow: 0 0 0 1px #eee;
          box-shadow: 0 0 0 1px #eee;
}
.c-accordion-wrapper .details + .details {
  margin-top: 1em;
}
.c-accordion-wrapper summary::-webkit-details-marker {
  display: none;
}
.c-accordion-wrapper .summary {
  cursor: pointer;
  background-color: #eee;
  padding: 0.5em 1em 0.5em 1em;
  display: grid;
  grid-template-columns: auto 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
  /* アイコンのはみ出し防止 */
  overflow: hidden;
}
.c-accordion-wrapper .summary p::before {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  content: "Q.";
  color: var(--blue-middle);
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  margin-right: 10px;
}
.c-accordion-wrapper .summary::before,
.c-accordion-wrapper .summary::after {
  /* アイコンの位置:1or2 */
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  content: "";
  width: 18px;
  border-bottom: 1px solid #333;
}
.c-accordion-wrapper .summary::before {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.c-accordion-wrapper .is-open > .summary::before {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}
.c-accordion-wrapper .details-content {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  overflow: hidden;
  margin: 0;
  padding: 0 1em;
  opacity: 0;
  min-height: 0.1px; /* 高さが0になるとスクリーンリーダーに認識されなくなるため */
  -webkit-transition: padding 0.2s ease 0.1s, max-height 0.3s, opacity 0.7s;
  transition: padding 0.2s ease 0.1s, max-height 0.3s, opacity 0.7s;
}
.c-accordion-wrapper .details-content p {
  margin-left: 2em;
}
.c-accordion-wrapper .details-content p::before {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  content: "A.";
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  color: var(--blue-light);
  margin-right: 10px;
}
.c-accordion-wrapper .is-open > .details-content {
  padding-block: 1em;
  opacity: 1;
  -webkit-transition: padding 0.3s, max-height 0.3s, opacity 0.7s;
  transition: padding 0.3s, max-height 0.3s, opacity 0.7s;
}

/*======================================================
タブの設定
======================================================*/
/* PCではタブ表示 */
/* .tab-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
} */

.panel section{
    padding:0;
}

.tab-wrap{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
.tab-wrap > button {
    -ms-flex-preferred-size: 14.2857142857%;
    flex-basis: 14.2857142857%;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
}
@media screen and (max-width: 767px) {
  .tab-wrap > button {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    margin: 0;
    border-radius: 0;
  }
}

.tabs {
  width: 100%;
}

.tab-label,
.tab-switch:checked ~ .tab-switch:last-of-type + .tab-label {
  color: #666;
  background: var(--blue-bg);
  /* margin-right: 5px; */
  padding: 6px 0;
  -ms-flex-preferred-size: 16.6666666667%;
      flex-basis: 16.6666666667%;
  text-align: center;
}

.tab-label {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  border: 2px solid #fff;
  border-bottom: none;
  cursor: pointer;
  position: relative;
  border-radius: 20px 20px 0 0;
}

/* .tab-content{
    border-right:1px solid #c9c9c9;
    border-left:1px solid #c9c9c9;
    border-bottom:1px solid #c9c9c9;
    padding:1em;
    background: #fff;
}
.tab-content,
.tab-switch:checked~.tab-content:last-of-type { 
    width: 100%;
    display: none;
} */
.tabs [role=tabpanel] {
  position: relative;
  padding: 1em;
  background: white;
  z-index: 2;
  @media(max-width:767px){
    padding:1em 0;
  }
}


.tabs [aria-selected=true] {
  background: #fff;
  color: var(--blue-main);
  border-top: 4px solid var(--blue-main);
}
.tabs [aria-selected=true]::after {
  color: #fff;
}

/* スマホではボタンの様にみせる */
@media (max-width: 480px) {
  .tab-wrap button {
    padding: 16px 6px;
  }
}

/*======================================================
lightboxのレイアウト（オリジナルver）
======================================================*/
/* モーダルを開くボタン */
.modal-open {
  text-align: center;
  margin: auto;
  font-size: clamp(1.4rem, 1.4545454545vw, 1.6rem);
  font-weight: bold;
  padding: 10px 20px;
  display: block;
  cursor: pointer;
  border: 1px solid #666;
}
.modal-open:hover {
  background: #444;
  color: #fff;
}

/* モーダルと背景の指定 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-sizing: border-box;
          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;
  width: 70%;
  width: 90%;
}
@media screen and (max-width: 767px) {
  .modal-container {
    width: 90%;
  }
}

/* モーダルを閉じるボタンの指定 */
.modal-close {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content {
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
  border-radius: 16px;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p {
  margin: 1em 0;
}

/*---------------------------------------------------
画面に入ったら下からふんわり現れる
---------------------------------------------------*/
.anime-fadeup__Slow {
  -webkit-transition: 512ms;
  transition: 512ms;
  opacity: 0;
}

.fadeup-slow {
  -webkit-animation-name: fadeupSlow;
          animation-name: fadeupSlow;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes fadeupSlow {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeupSlow {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/*---------------------------------------------------
PCの場合、画面に入ったら左からふんわり現れる
---------------------------------------------------*/
@media print, screen and (min-width: 768px) {
  .c-anime-fadeleft__slow {
    -webkit-transition: 8s;
    transition: 8s;
    opacity: 0;
  }
  .fadeleft__slow {
    -webkit-animation-name: fadeleftSlow;
            animation-name: fadeleftSlow;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
  }
  @-webkit-keyframes fadeleftSlow {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-20%);
              transform: translateX(-20%);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
  }
  @keyframes fadeleftSlow {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-20%);
              transform: translateX(-20%);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
  }
}
/*---------------------------------------------------
PCの場合、画面に入ったら右からふんわり現れる
---------------------------------------------------*/
@media print, screen and (min-width: 768px) {
  .c-anime-faderight__Slow {
    -webkit-transition: 8s;
    transition: 8s;
    opacity: 0;
  }
  .faderight__slow {
    -webkit-animation-name: faderightSlow;
            animation-name: faderightSlow;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
  }
  @-webkit-keyframes faderightSlow {
    0% {
      opacity: 0;
      -webkit-transform: translateX(20%);
              transform: translateX(20%);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
  }
  @keyframes faderightSlow {
    0% {
      opacity: 0;
      -webkit-transform: translateX(20%);
              transform: translateX(20%);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
  }
}
/*---------------------------------------------------
画面に入ったら上から下にどーんと降りてきて少しはねる
---------------------------------------------------*/
.anime-fadeup__fast {
  -webkit-transition: 0.1s;
  transition: 0.1s;
  opacity: 0;
}

.fadeup__fast {
  -webkit-animation: fadeupFast 0.4s forwards ease-in .5s;
          animation: fadeupFast 0.4s forwards ease-in .5s;
}

@-webkit-keyframes fadeupFast {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
  }
  50% {
    opacity: 0.7;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  80% {
    opacity: 1;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  90% {
    opacity: 1;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeupFast {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
  }
  50% {
    opacity: 0.7;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  80% {
    opacity: 1;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  90% {
    opacity: 1;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/*---------------------------------------------------
表示を少し遅らせる
---------------------------------------------------*/
.c-anime-fadein {
  -webkit-animation: fadein 2s linear forwards;
          animation: fadein 2s linear forwards;
  opacity: 0;
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.c-anime-fadeup {
  -webkit-animation: fadeup 0.5s linear forwards 0.5s;
          animation: fadeup 0.5s linear forwards 0.5s;
  opacity: 0;
}

@-webkit-keyframes fadeup {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeup {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/*---------------------------------------------------
アニメーションの遅延設定
---------------------------------------------------*/
.c-anime-delay01.is-show ::befoer {
  -webkit-animation-delay: 0.5s !important;
          animation-delay: 0.5s !important;
}

.c-anime-delay02.is-show ::befoer {
  -webkit-animation-delay: 1s !important;
          animation-delay: 1s !important;
}

.c-anime-delay03.is-show ::befoer {
  -webkit-animation-delay: 1.5s !important;
          animation-delay: 1.5s !important;
}

.c-anime-delay04.is-show ::befoer {
  -webkit-animation-delay: 2s !important;
          animation-delay: 2s !important;
}
