body {
  line-height: 1.5em;
  letter-spacing: 0.1em;
  font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic';
  -webkit-text-size-adjust: 100%;
  height: 100%;
  background-color: #ffffff;
  color: #000;
}

html {
  font-size: 20px;
}

@media screen and (max-width:480px) {
  html {
    font-size: 4vw;
  }
}

/*************
Googleフォント
*************/
.mplus {
  font-family: "M PLUS 1p";
}

.roundedmplus {
  font-family: "M PLUS Rounded 1c";
}

.notosansjp {
  font-family: "Noto Sans JP";
}

/*************
文字関連
*************/
p {
  font-size: 1rem;
  /* text-align: justify; */
  margin-bottom: 0.5em;
  line-height: 2;
}

h1,
.h1 {
  font-size: 5rem;
  margin-bottom: 1em;
  line-height: 1.8;
  font-weight: bold;
}

h2,
.h2 {
  font-size: 1.4rem;
  margin-bottom: 1em;
  line-height: 1.9;
  font-weight: bold;
}

h3,
.h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  line-height: 1.4;
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-just {
  text-align: justify;
}

.text p {
  margin-bottom: 1em;
}

.text p:last-of-type {
  margin-bottom: 0;
}

dd {
  font-size: 1rem;
  /* text-align: justify; */
  margin-bottom: 0.5em;
  line-height: 1.8;
}

li {
  font-size: 1rem;
  /* text-align: justify; */
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.font-150 {
  font-size: 150%;
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/*************
画像関連
*************/
img {
  max-width: 100%;
  height: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*************
CTA ボタン
*************/
.cta-link {
  margin-top: 2em;
  margin-bottom: 2em;
}

.cta-link a {
  display: block;
  margin-left: auto;
  margin-right: auto;
  /*max-width: 550px;*/
  max-width: 800px;
}

.cta-link a img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

/*************
公式 ボタン
*************/
.cta-link.official a {
  background-color: #2d9f38;
  text-align: center;
  color: #ffffff;
  width: 75%;
  box-sizing: border-box;
  padding: 1em 3em;
  border-radius: 7px;
}

/********************
バナー .bunnar
*********************/
.banner a {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 550px;
  width: 100%;
}

.banner a img {
  display: block;
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/*************

*************/
.w100 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.float-wrap::after {
  content: "";
  display: block;
  clear: both;
}

.float-wrap .float-left {
  float: left;
}

.float-wrap .float-right {
  float: right;
}

.pink {
  color: #eb6da5;
}

.red {
  color: #ff348e;
  font-weight: bold;
}

.marker {
  padding-bottom: 2px;
  background: linear-gradient(transparent 50%, #faf29c 0%);
}

.under-line {
  text-decoration: underline;
  font-weight: bold;
}

.mb-1em {
  margin-bottom: 1em !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.bold {
  font-weight: bold;
}

.full_none {
  display: none;
}

.inline-block {
  display: inline-block;
}

/********************
フッター　footer
*********************/
footer {
  background-color: #cae6da;
  text-align: center;
  box-sizing: border-box;
  padding-top: 35px;
  padding-bottom: 35px;
}

footer .contents {
  margin-bottom: 35px;
}

footer a {
  font-weight: bold;
  font-size: 1.3rem;
}

footer p {
  font-weight: bold;
}

/********************
section
*********************/
section {
  margin-top: 55px;
  margin-bottom: 55px;

}

section .contents {
  max-width: 840px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

section h2 {
  font-size: 2rem;
}

section h2.summary-title {
  color: #3C7E23;
  padding: 0.5em 0;
  border-top: solid 3px #3C7E23;
  border-bottom: solid 3px #3C7E23;
}

section h3 {}

section .contents .text {
  width: 98%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}

section .contents .image {
  margin-top: 2em;
  margin-bottom: 2em;
}

section .contents>*:last-of-type {
  margin-bottom: 0;
}

section .contents .items {
  display: grid;
  gap: 1.5em;
  width: 98%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}

/********************
header
*********************/
header h1 {
  max-width: 980px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.8rem;
  background-color: #dbc0f7;
  box-sizing: border-box;
  padding: 15px 25px;
  margin: auto;

}

header p {
  max-width: 980px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  margin-bottom: 0;
}

/********************
比較表 .table-wrap
*********************/
.table-wrap {
  margin-top: 2rem;
}
.table-wrap.table-scroll {
  width: 100%;
  overflow-x: scroll;
  cursor: grab;
}

  .table-wrap.table-scroll.dragging {
    cursor: grabbing;
  }

.table-wrap.table-scroll table {
  /*width: 3050px;*/
  /*width: max-content;*/
  table-layout: fixed;
  width: 100%;
}

.table-wrap {
  background-color: #3d3b3b;
  box-sizing: border-box;
  padding: 15px;
}

.table-wrap table {}

.table-wrap table thead {}

.table-wrap table thead tr {}

.table-wrap table thead tr th {
  border: 5px solid #3d3b3b;
  box-sizing: border-box;
  padding: 10px;
  background-color: #ffffff;
  vertical-align: middle;
  text-align: center;
  width: 14em;
  font-size: 0.8rem;
}

.table-wrap table thead tr th.size-l {
  width: 30em;
}
@media screen and (max-width: 599px) {
  .table-wrap table thead tr th.size-l {
    width: 30em;
  }

}

.table-wrap table th:first-of-type,
.table-wrap table td:first-of-type {
  border-left: none;
  border-right: none;
}

/*
.table-wrap table th:nth-of-type(2), .table-wrap table td:nth-of-type(2){
    border-left: none;
    border-right: none;
    width: 10em;
}
.table-wrap table th:nth-of-type(3), .table-wrap table td:nth-of-type(3){
    border-left: none;
    border-right: none;
    width: 10em;
    box-sizing: border-box;
    padding: 1em;
}
*/
.table-wrap table thead tr th:first-of-type {
  /*background-color: #f1f1f1;*/
  width: 10em;
}

.table-wrap table tbody {}

.table-wrap table tbody tr {}

.table-wrap table tbody tr td {
  border: 5px solid #3d3b3b;
  box-sizing: border-box;
  padding: 10px;
  background-color: #ffffff;
  vertical-align: text-top;
}

.table-wrap table tbody tr td.maru2 {
  background-color: #fdf8e9;
}

.table-wrap table tbody tr td p.center {
  text-align: center;
}

.table-wrap table tbody tr td.none {
  vertical-align: top;
}

.table-wrap table tbody tr td.rank_item {
  vertical-align: middle;
}

.table-wrap table tbody tr .rank {
  vertical-align: middle;
  text-align: center;
  font-size: 0.8rem;
}

.table-wrap table tbody tr .rank::before {
  content: "";
  display: block;
  width: 40%;
  aspect-ratio: 1/1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: auto;
  margin-right: auto;

}

.table-wrap table tbody tr .rank::after {
  content: "";
  display: block;
  width: 80%;
  aspect-ratio: 4 / 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: auto;
  margin-right: auto;
}

.table-wrap table .rank.rank1::before {
  background-image: url(../img/icon/rank_icon_bg_1.png);
}

.table-wrap table .rank.rank1::after {
  background-image: url(../img/icon/star5.png);
}

.table-wrap table .rank.rank2::before {
  background-image: url(../img/icon/rank_icon_bg_2.png);
}

.table-wrap table .rank.rank2::after {
  background-image: url(../img/icon/star4-5.png);
}

.table-wrap table .rank.rank3::before {
  background-image: url(../img/icon/rank_icon_bg_3.png);
}

.table-wrap table .rank.rank3::after {
  background-image: url(../img/icon/star4.png);
}

.table-wrap table .rank.rank4::before {
  background-image: url(../img/icon/rank_icon_bg_4.png);
}

.table-wrap table .rank.rank4::after {
  background-image: url(../img/icon/star3-5.png);
}

.table-wrap table .rank.rank5::before {
  background-image: url(../img/icon/rank_icon_bg_5.png);
}

.table-wrap table .rank.rank5::after {
  background-image: url(../img/icon/star3.png);
}

.table-wrap table tbody tr .rank_image {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.table-wrap table tbody tr .rank_name {
  font-size: 0.9rem;
  margin-top: 0.5em;
  text-align: center;
}

.table-wrap table tbody tr td p {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8rem;
  line-height: 1.75;
}

.table-wrap table tbody tr td span.icon {
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 35%;
  aspect-ratio: 1;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  margin-bottom: 15px;
}

.table-wrap table tbody tr td.maru2 span.icon {
  background-image: url(../img/icon/rating/2maru.png);
}

.table-wrap table tbody tr td.maru span.icon {
  background-image: url(../img/icon/rating/maru.png);
}

.table-wrap table tbody tr td.sankaku span.icon {
  background-image: url(../img/icon/rating/sankaku.png);
}

.table-wrap table tbody tr td.batsu span.icon {
  background-image: url(../img/icon/rating/batsu.png);
}

.table-wrap table tbody tr td.none span.icon {
  margin: 0;
  display: none;
  width: 0;
  aspect-ratio: initial;
}

.table-wrap table .btn {
  color: #ffffff;
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 3% 10%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border-radius: 5px;
}

.table-wrap table .btn-official {
  background-color: #34b9b9;

}

.table-wrap table tr td:first-of-type {
  position: sticky;
  left: -17px;
  z-index: 9999;
}

.table-wrap table tr th:first-of-type {
  position: sticky;
  left: -17px;
  z-index: 9999;
}

/*
.table-wrap table tr td:nth-of-type(2){
    position: sticky;
    left: 6em;
    z-index: 9999;
}
*/
/*
.table-wrap table tr th:nth-of-type(2){
    position: sticky;
    left: 6em;
    z-index: 9999;
}
*/
/********************
比較表 詳細 .item-wrap
*********************/
.item-contents {
  counter-reset: number 0;
  margin-top: 2rem;
}

.item-wrap {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.item-wrap a:hover {
  opacity: 0.8;
}

.item-wrap h3 {
  color: #3C7E23;
  margin-bottom: 1em;
}

.item-wrap h3:before {
  counter-increment: number 1;
  content: counter(number) "位：";
  display: inline;
  position: static;
  background: none;
  opacity: 1;
}

.item-wrap .img-wrap {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.item-wrap .img-wrap a {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.item-wrap .detail-wrap {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  margin-bottom: 25px;
}

.item-wrap .detail-wrap h4 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.75em;
  line-height: 1.5;
}

.item-wrap .detail-wrap ul {}

.item-wrap .detail-wrap ul li {
  position: relative;
  margin-left: 1.75em;
}

.item-wrap .detail-wrap ul li:before {
  content: "";
  display: block;
  position: absolute;
  top: 0.5em;
  left: -1.5em;
  width: 1em;
  height: 0.5em;
  border-left: 3px solid #e52903;
  border-bottom: 3px solid #e52903;
  transform: rotate(-45deg);
}

.item-wrap .detail-wrap ul li:after {
  content: "";
  display: block;
  position: absolute;
  top: 0.3em;
  left: -1.75em;
  border: 2px solid #e52903;
  width: 1.25em;
  height: 1.25em;

}

.item-wrap .spec-wrap {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
}

.item-wrap .spec-wrap table {
  width: 100%;
}

.item-wrap .spec-wrap table tr {}

.item-wrap .spec-wrap table th {
  padding: 1rem 1.1rem;
  background-color: #f8f8f8;
  border: 1px solid #bababa;
  width: 15em;
  vertical-align: middle;
}

.item-wrap .spec-wrap table td {
  padding: 1rem 1.1rem;
  border: 1px solid #bababa;
}

.item-wrap .spec-wrap table td ul li {
  margin-bottom: 0.25em;
}

.item-wrap .spec-wrap table td ul li:last-of-type {
  margin-bottom: 0;
}

.item-wrap .video-wrap {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.item-wrap .video-wrap h4 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: bold;
}

.item-wrap .video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/********************
.item-toc
*********************/
.item-toc {
  border-radius: 1rem;
  border: 3px solid #2d9f38;
  background-color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.item-toc h3 {
  font-size: 1.25rem;
  color: #fff;
  text-align: center;
  background-color: #2d9f38;
  box-sizing: border-box;
  padding: 0.5em 0.25em;
  margin: 0;
}

.item-toc ul {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  counter-reset: number 0;
}

.item-toc ul li {
  margin-left: 3em;
}

.item-toc ul li:before {
  counter-increment: number 1;
  content: counter(number) "位：";
  margin-left: -3em;
}

.item-toc ul li a {
  text-decoration: underline;
  color: #3d8867;
}

.item-toc ul li a:hover {
  opacity: 0.8;
}

/********************
リスト ul
*********************/
ul.disc {
  list-style: disc;
  margin-left: 1.5em;
}

/********************
メインビジュアル #kv
*********************/
#kv {
  max-width: 980px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

#kv h1 {
  margin-bottom: 0;
}

#kv picture {
  display: block;
  text-align: center;
}

/********************
目次 #toc
*********************/
#toc {}

#toc .toc-wrap {
  position: relative;
  padding: 1.5em 2em;
  background-color: #fff;
  border: 10px solid #2d9f38;
}

#toc h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
  color: #2d9f38;
}

#toc h2:before {
  content: "menu_book";
  font-family: 'Material Icons';
  vertical-align: sub;
  font-size: 125%;
  margin-right: 0.25em;

}

#toc h3::before {
  display: none;
}

#toc .toc-list {
  height: 170px;
  overflow: hidden;
  position: relative;
  display: grid;
  gap: 20px;
}

#toc .toc-list::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12.5vw;
  height: min(100px, 12.5vw);
  background: linear-gradient(transparent, #fff);
  z-index: 1;
  transition: opacity 1s;
  pointer-events: none;
}

#toc .toc-wrap.active .toc-list {
  height: auto;
}

#toc .toc-wrap.active .toc-list::before {
  opacity: 0;
}

#toc .toc-list_section-title {
  line-height: 1.8;
}

#toc ul li ul {
  margin-top: 0.5em;
}

#toc ul li {
  margin: 0.5em 0;
  margin-left: 2.5em;
  /*list-style: decimal;*/
  /*margin-left: 1.5em;*/
}

#toc ul li:first-of-type {
  margin-top: 0;
}

#toc ul li:last-of-type {
  margin-bottom: 0;
}

#toc ul li:before {
  content: "-";
  color: inherit;
  margin-right: 1em;
  margin-left: -1.5em;
}

#toc ul li a {
  /*color: #1a73e8;
    text-decoration: underline;
    */
  color: #3d8867;
}

#toc .toc-wrap .more-btn {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.5em;
}

#toc .toc-wrap .more-btn::before {
  content: "さらに表示する";
}

#toc .toc-wrap.active .more-btn::before {
  content: "閉じる";
}

/*****************************************************************
@メディアクエリ
1121px以上適用
*****************************************************************/
@media screen and (min-width: 1121px) {}

/*****************************************************************
@メディアクエリ
sm:768pxから991pxまで適用
*****************************************************************/
@media screen and (min-width:768px) and (max-width:991px) {

  /**************************
    入会キャンペーン #campaign
    ***************************/
  #campaign .flex-wrap {
    display: block;
  }

  #campaign .flex-wrap .text {
    width: 100%;
  }

  #campaign .flex-wrap .image {
    width: 100%;
    padding: 0%;
    margin-bottom: 2em;
    margin-top: 2em;
  }
}

/*****************************************************************
@メディアクエリ
xs:767pxまで適用
*****************************************************************/
@media screen and (max-width: 767px) {

  /********************

    *********************/
  .full_none {
    display: block;
  }

  section {
    width: 100%;
    margin-top: 35px;
    margin-bottom: 35px;
  }

  section h2 {}

  section h3 {
    margin-top: 1em;
    margin-bottom: 1em;
  }

  section .image {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
  }

  section .image img {
    width: 100%;
  }

  /*************
    CTA ボタン
    *************/
  .cta-link {
    margin-top: 1.3em;
    margin-bottom: 1.3em;
  }

  /********************
    メインビジュアル #kv
    *********************/
  #kv {
    width: 100%;
  }

  /********************
    header
    *********************/
  header h1 {
    font-size: 1.4rem;
    line-height: 1.5;
    width: 100%;
  }

  header p {
    width: 98%;
  }

  /********************
    ON-LABO NEXTとは
    *********************/
  main .contents.about {
    width: 100%;
    box-sizing: border-box;
    padding-left: 5%;
    padding-right: 5%;
  }

}

/*****************************************************************
@メディアクエリ
xs:550pxまで適用
*****************************************************************/
@media screen and (max-width: 550px) {
  .image {
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
  }

  .sp-text-justify {
    text-align: justify !important;
  }

  section .contents .text p .inline-block {
    display: inline;
  }

  /********************
    フッター　footer
    *********************/
  footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  footer p {
    font-size: 0.65rem;
    margin-bottom: 0;
  }

  /********************
    比較表 .table-wrap
    *********************/
  .table-wrap table tr td:nth-of-type(2) {
    position: static;
  }

  .table-wrap table tr th:nth-of-type(2) {
    position: static;
  }

  /********************
    比較表 詳細 .item-wrap
    *********************/
  .item-wrap .spec-wrap table {
    display: block;
    width: 100%;
  }

  .item-wrap .spec-wrap table tbody {
    display: block;
    width: 100%;
  }

  .item-wrap .spec-wrap table tr {
    display: block;
    width: 100%;
  }

  .item-wrap .spec-wrap table th {
    display: block;
    width: 100%;
  }

  .item-wrap .spec-wrap table td {
    display: block;
    width: 100%;
  }
}


.text-marker {
  font-weight: bold;
  padding-bottom: 3px;
  background: linear-gradient(transparent 50%, #977dff 0%);
}


.footer-menu-list {
  display: flex;
  justify-content: center;
  padding-top: 0px;
  padding-bottom: 0px;
  flex-direction: column;
}

.footer-menu-list li {
  padding-top: 16px;
  padding-left: 4%;
  padding-right: 4%;
  padding-bottom: 16px;
  font-size: 13.2px;
  font-weight: normal;
  color: #666666;
  border-bottom: 2px solid #f1f1f1;
}

@media screen and (min-width: 576px) {
  .footer-menu-list {
    flex-direction: row;
    padding-bottom: 20px;
  }

  .footer-menu-list li {
    padding-top: 4px;
    padding-left: 1.2%;
    padding-right: 1.2%;
    padding-bottom: 4px;
    margin-left: 16px;
    margin-right: 16px;
    width: max-content;
  }
}

footer .footer-menu-block .footer-menu-list li a {
  font-size: 15.8px;
}


/**アフィ文言**/
.afi-att {
  max-width: 992px;
  width: 100%;
  margin: 20px auto 0;
}

.afi-att p {
  margin: 0 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .afi-att p {
    text-align: left;
  }
}