@charset "UTF-8";
/* -----------------------------------------------------
	variables
----------------------------------------------------- */
.tab {
  /* --- タブメニュー --- */
  /* --- タブコンテンツ --- */
}
.tab-container {
  width: 100%;
}
.tab-menu {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin: 0;
  padding: 0;
  gap: 20px;
  border-bottom: 2px solid #1d4c62;
}
@media screen and (max-width: 768px) {
  .tab-menu {
    gap: 1.3020833333vw;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
}
.tab-menu__item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  background: #1d252f;
}
.tab-menu__link {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 33.3333333333%;
          flex: 1 1 33.3333333333%;
  width: 100%;
  height: 100%;
  padding: 23px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
  color: #fffdf1;
  font-weight: 400;
  font-size: min(2.75vw, 2rem);
  line-height: 1.3;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
}
@media screen and (max-width: 768px) {
  .tab-menu__link {
    -webkit-box-flex: initial;
        -ms-flex: initial;
            flex: initial;
    padding: 2.9947916667vw 1.3020833333vw;
    font-size: 1.4rem;
    white-space: wrap;
  }
}
.tab-menu__link:hover {
  background-color: #1d4c62;
}
.tab-menu__link.active {
  padding: 30px 10px;
  position: relative;
  background-color: #1d4c62;
}
@media screen and (max-width: 768px) {
  .tab-menu__link.active {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
    height: 110%;
    padding: 3.90625vw 1.3020833333vw;
  }
}
.tab-menu__link.active::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 3px; /* border-top 相当 */
  background: -webkit-gradient(linear, left top, right top, from(#a47e3c), color-stop(50%, #edcc85), to(#a47e3c));
  background: linear-gradient(to right, #a47e3c 0%, #edcc85 50%, #a47e3c 100%);
}
.tab-content {
  padding-top: 60px;
}
@media screen and (max-width: 768px) {
  .tab-content {
    padding-top: 7.8125vw;
  }
}
.tab-content__panel {
  display: none;
  -webkit-animation: fadeIn 0.4s ease;
          animation: fadeIn 0.4s ease;
}
.tab-content__panel.active {
  display: block;
}

/* --- フェードインアニメーション --- */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}