@charset "utf-8";

p {
  margin: 0;
}
.wrap-tab {
  overflow: hidden;
  width: 70%;
  margin: auto;
}

@media screen and (max-width: 1024px) {
  .wrap-tab {
    width: 80%;
  }
}

@media screen and (max-width: 480px) {
  .wrap-tab {
    width: 100%;
  }
}

.wrap-tab ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.list-tab {
  display: flex;
  margin: 0 -2px;
  border-bottom: 3px solid #f56500;
}
.list-tab > li {
  display: block;
  padding: 0.5em 1em;
  margin: 0 2px;
  width: 100%;
  color: #fff;
  text-align: center;
  background: #999;
  box-sizing: border-box;
  cursor: pointer;
}

.list-tab > li:hover {
  margin-top: 3px;
  color: #fff;
  background: #f56500;
  border-bottom: 2px solid #b84c00;
}

@media screen and (max-width: 480px) {
  .list-tab > li {
    font-size: 0.8rem;
  }
}

.list-tab .active {
  background: #f56500;
}

.tab-content {
  display: none;
  border-bottom: 1px solid #008a9c;
  border-left: 1px solid #008a9c;
  border-right: 1px solid #008a9c;
}
.tab-content.active {
  display: flex;
  flex-wrap: wrap;
}
.tab-content dd,
.tab-content dt {
  width: 50%;
  background: #008a9c;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.3rem;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .tab-content dd,
  .tab-content dt {
    width: 50%;
    font-size: 0.8rem;
  }
}

.tab-content dd {
  background: #fff;
  border: 1px solid #999;
  color: #363636;
}

/* 全体設定 */
* {
  box-sizing: border-box;
}

/* ポップアップウインドウの設定 */
.popup {
  background-color: #efefef;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.8);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 40vw;
  height: 40vw;
  overflow-y: scroll;
}

.popup2 {
  background-color: #efefef;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.8);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 40vw;
  height: 40vw;
  overflow-y: scroll;
}

@media screen and (max-width: 1024px) {
  .popup {
    height: 70vh;
    width: 70vw;
  }

  .popup2 {
    height: 70vh;
    width: 70vw;
  }
}

/* チェックボックスの初期設定 */
#popup-on {
  display: none;
}

#popup-on:active {
  display: none;
}
/* チェックされたらポップアップウインドウを開く */
#popup-on:checked + .popup {
  display: block;
}

/* チェックボックスの初期設定 */
#popup-on2 {
  display: none;
}

#popup-on2:active {
  display: none;
}
/* チェックされたらポップアップウインドウを開く */
#popup-on2:checked + .popup2 {
  display: block;
}

/* 閉じるアイコン（右上） */
.icon-close {
  background: #000;
  color: #fff;
  font-size: 30px;
  padding: 0 10px;
  position: absolute;
  right: 0;
}

/* 閉じるボタン */
.btn-close {
  background: #000;
  border-radius: 10px;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  margin: 10px auto;
  width: 95%;
  text-align: center;
}

/* 開くボタン */
.btn-open {
  background: #fff;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  margin: auto;
  width: 95%;
  text-align: center;
}

/* ポップアップの内容 */
.popup-content {
  margin: 40px auto 40px auto;
  width: 90%;
}
