/* レスポンシブ切替 */
@media screen and (min-width: 992px) {
  .pc-display-none { display: none; }
}
@media screen and (max-width: 991px) {
  .sp-display-none { display: none; }
}

/* FV画像をdesign.cssの制限から解除 */
.mainvisual img { height: auto; width: 100%; padding-bottom: 0; }
.mainvisual { background-color: transparent; }

/* ロゴスライダー PC */
.p-logo-slider {
  margin: auto;
  margin-top: -95px;
  overflow: hidden;
  background: transparent;
  padding: .5rem 0;
  position: relative;
  z-index: 10;
  width: 100vw;
  max-width: 100%;
}
.p-logo-slider ul {
  display: flex;
  gap: 0.5rem;
  animation: logo-slider 20s linear infinite;
}
.p-logo-slider ul li {
  background: #fff;
  border: 2px solid #eaeaea;
  border-radius: .35rem;
  overflow: hidden;
  min-width: 15rem;
  padding: 0.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-logo-slider ul li img {
  height: 50px;
  width: auto;
  object-fit: contain;
}
@keyframes logo-slider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ロゴスライダー SP */
.p-logo-slider-sp {
  max-width: 1200px;
  margin: auto;
  margin-top: -57px;
  overflow: hidden;
  background: transparent;
  padding: .3rem 0;
  position: relative;
  z-index: 10;
}
.p-logo-slider-sp ul {
  display: flex;
  gap: 0.2rem;
  animation: logo-slider 15s linear infinite;
}
.p-logo-slider-sp ul li {
  background: #fff;
  border: 2px solid #eaeaea;
  border-radius: .35rem;
  overflow: hidden;
  min-width: 9rem;
  padding: 0.3rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-logo-slider-sp ul li img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* v2-heading */
.v2-heading {
  text-align: center;
  margin: 70px auto 0;
  padding: 0 15px;
  line-height: 1.4;
}
.v2-heading-line1 {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #333;
  letter-spacing: 1px;
}
.v2-heading-line1 .v2-heading-up {
  color: #ff6600;
  font-size: 32px;
}
.v2-heading-line2 {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #4830d0;
  margin-top: 4px;
}
.v2-heading-line-deco {
  display: block;
  width: 60%;
  max-width: 400px;
  height: 3px;
  background: linear-gradient(to right, #4830d0 0%, #4830d0 45%, transparent 45%, transparent 55%, #4830d0 55%, #4830d0 100%);
  margin: 12px auto 0;
  border-radius: 2px;
}
@media only screen and (max-width: 768px) {
  .v2-heading {
    margin-top: 40px;
  }
  .v2-heading-line1 {
    font-size: 20px;
  }
  .v2-heading-line1 .v2-heading-up {
    font-size: 24px;
  }
  .v2-heading-line2 {
    font-size: 18px;
  }
  .v2-heading-line-deco {
    width: 80%;
  }
}

/* 徹底比較ヘッディング */
.v2-table-heading {
  text-align: center;
}
.v2-table-heading-blocks {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.v2-table-heading-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #111;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  border-radius: 0;
}
.v2-table-heading-sub {
  font-size: 40px;
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  color: #533afc;
  background: linear-gradient(transparent 70%, #f5d84e 70%);
  padding: 0 4px;
}
.v2-table-heading h2 {
  margin-top: 10px;
  text-align: center;
}
.v2-table-heading-plain {
  font-size: 30px;
  font-weight: 800;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}
@media only screen and (max-width: 768px) {
  .v2-table-heading-block {
    width: 45px;
    height: 45px;
    font-size: 26px;
  }
  .v2-table-heading-sub {
    font-size: 28px;
  }
  .v2-table-heading-plain {
    font-size: 28px;
  }
}

/* 青背景タイトルバー */
.v2-blue-bar-wrap {
  margin-top: 40px;
  margin-bottom: 50px;
}
.v2-blue-bar {
  background-image: url(../images/main_ttl.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 1920px 100%;
  background-color: #462EF5;
  text-align: center;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  padding: 12px 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}
.v2-blue-bar-date {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 2px;
}
.v2-blue-bar-sub {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff112;
  font-family: 'Noto Sans JP', sans-serif;
}
.v2-blue-bar-sub span {
  color: #fff112;
}
.v2-blue-bar-main {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.3;
  margin-top: 4px;
}
@media only screen and (max-width: 768px) {
  .v2-blue-bar {
    background-image: url(../images/main_ttl_sp.webp);
    background-size: 100% 100%;
    padding: 10px 0;
  }
  .v2-blue-bar-date {
    font-size: 3.7vw;
  }
  .v2-blue-bar-sub span {
    font-size: 3.8vw;
  }
  .v2-blue-bar-main {
    font-size: 3.7vw;
  }
}

/* 目的別タブタイトル */
.section10 h3 {
  font-size: 30px !important;
  font-family: 'Noto Sans JP', sans-serif;
}
.section10 h3 span {
  font-size: 40px !important;
}
.section10 .tab-btn {
  font-size: 26px !important;
  padding: 12px 16px 16px !important;
}
@media only screen and (max-width: 768px) {
  .section10 h3 {
    font-size: 20px !important;
  }
  .section10 h3 span {
    font-size: 30px !important;
  }
  .section10 .tab-btn {
    font-size: 16px !important;
    padding: 8px 10px 12px !important;
  }
}

/* ランク詳細ヘッダー左寄せ */
.rank-simple .box .title h3 {
  padding: 1.5rem 2rem !important;
  text-align: left !important;
  background-image: none !important;
}

/* CTA矢印非表示 */
.lp-ad .rank .box .button-yss .cv a:before,
.lp-ad .rank .box .button-yss .cv a::before,
.lp-ad .rank .box .button-yss .cv a:after,
.lp-ad .rank .box .button-yss .cv a::after,
.lp-ad .rank .box .button .cv a:before,
.lp-ad .rank .box .button .cv a::before,
.lp-ad .rank .box .button .cv a:after,
.lp-ad .rank .box .button .cv a::after {
  display: none !important;
  content: none !important;
}

/* おすすめの理由背景 */
.rank .box .maintext {
  background: #f3fbfb !important;
  margin: 0 !important;
}

/* CTAボタン内のSVGアイコン改行防止 */
.rank-simple .button .cv a,
.rank-simple .button-bottom .cv a,
.rank-simple .button-yss .cv a {
  white-space: nowrap;
}
.rank-simple .button .cv a svg,
.rank-simple .button-bottom .cv a svg,
.rank-simple .button-yss .cv a svg {
  display: inline !important;
  vertical-align: middle;
}

/* SP改行・CTA幅 */
.sp-only { display: none; }
@media only screen and (max-width: 768px) {
  .sp-only { display: inline; }
  .rank-simple .button-bottom .cv a {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* 目的から選びたいボタン */
.v2-choose-purpose {
  margin-top: 50px !important;
}
.v2-choose-purpose a {
  color: #e91e8c !important;
  background: transparent !important;
  border: 2px solid #e91e8c !important;
  border-radius: 4px;
  padding: 10px 30px !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
  display: inline-block;
}
.v2-choose-purpose a:hover {
  background: #e91e8c !important;
  color: #fff !important;
}
@media only screen and (max-width: 768px) {
  .v2-choose-purpose {
    margin-top: 25px !important;
  }
}

/* type-ttl レスポンシブマージン */
.mode .wrap .type-ttl {
  max-width: 600px;
  margin: 1rem auto;
}
.v2-type-ttl {
  margin-top: 30px !important;
}
@media only screen and (max-width: 768px) {
  .v2-type-ttl {
    margin-top: 10px !important;
  }
}

.box-topranking {
  border-collapse: separate !important;
  border-spacing: 0;
}
.box-topranking td:first-child {
  border-left: 3px solid red !important;
  border-right: 3px solid red !important;
}
.box-topranking tr:first-child td:first-child {
  border-top: 3px solid red !important;
}
.box-topranking tr:last-child td:first-child {
  border-bottom: 3px solid red !important;
}
.box-topranking td.skill ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 5px;
  list-style: none;
  margin: 0;
}
.box-topranking td.skill ul li {
  background: #fff;
  width: 49%;
  border-radius: 100px;
  text-align: center;
  border: 1px solid #111;
  padding: 3px 2px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
.box-topranking td.skill ul li:nth-child(1),
.box-topranking td.skill ul li:nth-child(2) {
  margin-top: 0;
}
.box-topranking td.skill ul li.short {
  letter-spacing: -1px;
}
.box-topranking td .star {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: red !important;
  font-size: 1.8rem !important;
  font-weight: 700;
}
.box-topranking td .star img {
  width: 60% !important;
  margin: 0 auto 4px !important;
}
@media only screen and (max-width: 768px) {
  .box-topranking td .star img {
    width: 80% !important;
  }
  .box-topranking td.skill ul {
    padding: 5px 0;
  }
  .box-topranking td.skill ul li {
    font-size: 1.8vw;
  }
}
