@charset "UTF-8";
/* =============================
   CSS Reset / Normalize Base
============================= */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  text-align: center;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  outline: none;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

/* =============================
   Font Face (Noto Sans JP + YakuHanJP)
============================= */
/* Regular - 約物フォント */
@font-face {
  font-family: "YakuHanJP";
  src: url("../fonts/YakuHanJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Bold - 約物フォント */
@font-face {
  font-family: "YakuHanJP";
  src: url("../fonts/YakuHanJP-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* Regular - 本体フォント */
@font-face {
  font-family: "NotoSansJP";
  src: url("../fonts/NotoSans_Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Bold - 本体フォント */
@font-face {
  font-family: "NotoSansJP";
  src: url("../fonts/NotoSans_Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* =============================
   Font Family設定（Yakuhan先）
============================= */
:root {
  --font-base: "YakuHanJP", "NotoSansJP", sans-serif;
}

/*
mixin
■ JPG → WebP
@include webp-bg("path/to/image")（第2引数省略）
■ PNG → WebP
@include webp-bg("path/to/image", "png")
*/
html {
  margin: 0;
  padding: 0;
  font-size: clamp(10px, 1.11vw, 16px);
}

body {
  font-family: var(--font-base), sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.br-pc {
  display: inline;
}
@media (max-width: 430px) {
  .br-pc {
    display: none;
  }
}

.br-sp {
  display: none;
}
@media (max-width: 430px) {
  .br-sp {
    display: inline;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.content-wrapper {
  width: 100%;
}

.view_pc {
  display: inherit;
}

.view_sp {
  display: none;
}

.mv {
  width: 100%;
  min-width: 48.875rem;
  max-height: 52.5rem;
  aspect-ratio: 1440/840;
  position: relative;
  overflow: hidden;
  background: center top/cover no-repeat url("../img/mv_bg_01.png");
}
@supports (background-image: url("image.webp")) {
  .mv {
    background-image: url("../img/mv_bg_01.webp");
  }
}
@media (min-width: 90rem) {
  .mv {
    background: center top/auto 100% no-repeat url("../img/mv_bg_02.png");
  }
  @supports (background-image: url("image.webp")) {
    .mv {
      background-image: url("../img/mv_bg_02.webp");
    }
  }
}
.mv-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.mv-inner-title {
  width: 100%;
  margin: auto;
  padding: 3.4rem 2vw 1.4rem;
}
.mv-inner-title img {
  width: 70%;
  max-width: 64rem;
  margin: auto;
}
.mv-inner-title h1, .mv-inner-title h2, .mv-inner-title h3 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.mv-inner p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.rule {
  width: 100%;
  min-width: 48.875rem;
  background: #FFF3F3;
  color: #000;
}
.rule-inner {
  padding: 7rem 0;
  text-align: center;
  background: left bottom no-repeat url("../img/rule_bg.png");
  background-size: 27rem auto;
}
.rule-inner h2 {
  width: clamp(28rem, 35vw, 39rem);
  margin: 0 auto 1.6rem;
  text-align: center;
}
.rule-inner p {
  font-size: 1.3rem;
}

.benefit {
  position: relative;
  width: 100%;
  min-width: 48.875rem;
  background: #F9FFF3;
  color: #000;
}
.benefit::after {
  content: "";
  position: absolute;
  top: -5rem;
  right: 2rem;
  width: 13rem;
  height: auto;
  aspect-ratio: 414/382;
  background: url("../img/benefit-img.png") no-repeat center/contain;
  pointer-events: none;
  z-index: 1;
}
.benefit-inner {
  padding: 7.4rem 0;
  text-align: center;
  background: right bottom no-repeat url("../img/benefit_bg.png");
  background-size: 27rem auto;
}
.benefit-inner h2 {
  width: clamp(28rem, 35vw, 39rem);
  margin: 0 auto 1.6rem;
  text-align: center;
}
.benefit-inner ul {
  max-width: 58rem;
  margin: auto;
  padding-left: 3rem;
  font-size: 1.3rem;
  text-align: left;
}
.benefit-inner ul li {
  margin-bottom: 0.8rem;
  list-style: disc;
}

.ranking {
  position: relative;
  width: 100%;
  min-width: 48.875rem;
  background: #EEFBFF;
  color: #000;
}
.ranking::after {
  content: "";
  position: absolute;
  top: -5rem;
  left: 2rem;
  width: 13rem;
  height: auto;
  aspect-ratio: 414/382;
  background: url("../img/ranking-img.png") no-repeat center/contain;
  pointer-events: none;
  z-index: 1;
}
.ranking-inner {
  padding: 7.4rem 1rem;
  text-align: center;
}
.ranking-inner h2 {
  width: clamp(28rem, 35vw, 39rem);
  margin: 0 auto 1.6rem;
  text-align: center;
}
.ranking-inner ul {
  width: 55rem;
  margin: auto;
  padding-left: 3rem;
  font-size: 1.3rem;
  text-align: left;
}
.ranking-inner ul li {
  margin-bottom: 0.8rem;
  list-style: disc;
}
.ranking-inner .ranking-meta .ranking-date-range {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5rem;
  background-color: white;
  margin-bottom: 0.6rem;
  padding: 0.5rem 1rem;
}
.ranking-inner .ranking-meta .ranking-last-updated {
  display: block;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.ranking-inner .table_wrap .ranking-table {
  width: 92%;
  max-width: 90rem;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1.1rem;
  color: #555;
  background-color: #fff;
  /* ✅ 順位による色付けは tr にクラス付与される想定 */
}
.ranking-inner .table_wrap .ranking-table th,
.ranking-inner .table_wrap .ranking-table td {
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  padding: 0.75em 1em;
}
.ranking-inner .table_wrap .ranking-table th {
  text-align: center;
  background-color: #07B2E7;
  color: white;
  font-weight: bold;
}
.ranking-inner .table_wrap .ranking-table td {
  background-color: white;
}
.ranking-inner .table_wrap .ranking-table td:first-child {
  text-align: center;
}
.ranking-inner .table_wrap .ranking-table td:last-child {
  text-align: right;
}
.ranking-inner .table_wrap .ranking-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}
.ranking-inner .table_wrap .ranking-table th:last-child,
.ranking-inner .table_wrap .ranking-table td:last-child {
  border-right: 1px solid #ddd;
}
.ranking-inner .table_wrap .ranking-table thead tr:last-child th {
  border-bottom: 1px solid #ddd;
}
.ranking-inner .table_wrap .ranking-table tbody tr:last-child td {
  border-bottom: 1px solid #ddd;
}
.ranking-inner .table_wrap .ranking-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.ranking-inner .table_wrap .ranking-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}
.ranking-inner .table_wrap .ranking-table thead tr:first-child th:first-child {
  border-top-left-radius: 12px;
}
.ranking-inner .table_wrap .ranking-table thead tr:first-child th:last-child {
  border-top-right-radius: 12px;
}
.ranking-inner .table_wrap .ranking-table .rank-icon {
  width: 2.5em;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
.ranking-inner .table_wrap .ranking-table .rank-1st {
  font-weight: 700;
  color: #B18727;
}
.ranking-inner .table_wrap .ranking-table .rank-2nd {
  font-weight: 700;
  color: #333;
}
.ranking-inner .table_wrap .ranking-table .rank-3rd {
  font-weight: 700;
  color: #C66243;
}
.ranking-inner .ranking-toggle-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 2rem auto 0;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  color: #07B2E7;
  border: 2px solid #07B2E7;
  background: white;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 4;
}
.ranking-inner .ranking-toggle-button .icon {
  width: 1.5em;
  height: 1.5em;
  background: url("../img/btn-icon_down.png") no-repeat center;
  background-size: contain;
  transition: transform 0.3s;
}
.ranking-inner .ranking-toggle-button.is-expanded .icon {
  background-image: url("../img/btn-icon_up.png");
}

footer {
  width: 100%;
  background: #fff;
  margin: auto;
  padding: 4rem 2rem;
  color: #333;
}
footer .content {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto auto;
  row-gap: 1rem;
}
footer .content p {
  margin: 0;
  font-size: 1em;
}
footer .footLogo {
  width: 160px;
  height: 34px;
  background-image: url("../img/footer-logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}
footer .address {
  text-align: left;
  line-height: 1.6;
}
footer .copy {
  text-align: right;
}

@media (max-width: 430px) {
  html {
    font-size: 4.267vw;
  }
  .view_pc {
    display: none;
  }
  .view_sp {
    display: inherit;
  }
  .mv {
    height: 46.2rem;
    min-width: inherit;
    background: center top/100% auto no-repeat url("../img/mv_bg_sp.png");
  }
  @supports (background-image: url("image.webp")) {
    .mv {
      background-image: url("../img/mv_bg_sp.webp");
    }
  }
  .mv-inner {
    max-width: 100%;
  }
  .mv-inner-title {
    padding: 1.4rem 1.6rem 1rem;
  }
  .mv-inner-title img {
    width: 100%;
  }
  .mv-inner-title h1, .mv-inner-title h2, .mv-inner-title h3 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .mv-inner-title .pc {
    display: none;
  }
  .mv-inner-title .sp {
    display: inherit;
  }
  .mv-inner p {
    padding: 0 4rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  .rule {
    min-width: inherit;
  }
  .rule-inner {
    padding: 5rem 1.6rem 10rem;
    background-size: 100% auto;
    text-align: left;
  }
  .rule-inner h2 {
    width: 100%;
    max-width: 16rem;
    margin: 0 auto 1.6rem;
  }
  .rule-inner p {
    font-size: 1rem;
  }
  .benefit {
    width: 100%;
    min-width: inherit;
    color: #000;
  }
  .benefit::after {
    content: none;
  }
  .benefit::before {
    content: "";
    position: absolute;
    bottom: 8rem;
    right: 0.5rem;
    width: 12rem;
    aspect-ratio: 414/382;
    background: url("../img/benefit-img.png") no-repeat center/contain;
    pointer-events: none;
    z-index: 1;
  }
  .benefit-inner {
    padding: 2rem 1.6rem 17rem;
    background-size: 100% auto;
  }
  .benefit-inner h2 {
    width: 100%;
    max-width: 16rem;
    margin: 0 auto 1.6rem;
  }
  .benefit-inner ul {
    width: 100%;
    margin: auto;
    padding-left: inherit;
    font-size: 1rem;
    text-align: left;
  }
  .ranking {
    width: 100%;
    min-width: inherit;
  }
  .ranking::after {
    content: none;
  }
  .ranking::before {
    content: "";
    position: absolute;
    bottom: 2rem;
    left: 0.5rem;
    width: 12rem;
    height: auto;
    aspect-ratio: 414/382;
    background: url("../img/ranking-img.png") no-repeat center/contain;
    pointer-events: none;
    z-index: 1;
  }
  .ranking-inner {
    padding: 5rem 1.6rem 16rem;
  }
  .ranking-inner h2 {
    width: 100%;
    max-width: 16rem;
    margin: 0 auto 1.6rem;
  }
  .ranking-inner ul {
    width: 55rem;
    margin: auto;
    padding-left: 3rem;
    font-size: 1.3rem;
    text-align: left;
  }
  .ranking-inner ul li {
    margin-bottom: 0.8rem;
    list-style: disc;
  }
  .ranking-inner .ranking-meta .ranking-date-range {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.8rem;
  }
  .ranking-inner .ranking-meta .ranking-last-updated {
    display: block;
    font-size: 1.1rem;
  }
  .ranking-inner .table_wrap {
    width: 100%;
    margin: auto;
    overflow: scroll;
  }
  .ranking-inner .table_wrap .ranking-table {
    width: 55rem;
    max-width: inherit;
    margin: auto;
    font-size: 0.9rem;
    color: #555;
    background-color: #fff;
    /* ✅ 順位による色付けは tr にクラス付与される想定 */
  }
  .ranking-inner .table_wrap .ranking-table th,
  .ranking-inner .table_wrap .ranking-table td {
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 0.75em 1em;
  }
  .ranking-inner .table_wrap .ranking-table th {
    text-align: center;
    background-color: #07B2E7;
    color: white;
    font-weight: bold;
  }
  .ranking-inner .table_wrap .ranking-table td {
    background-color: white;
  }
  .ranking-inner .table_wrap .ranking-table td:first-child {
    text-align: center;
  }
  .ranking-inner .table_wrap .ranking-table td:last-child {
    text-align: right;
  }
  .ranking-inner .table_wrap .ranking-table tr:nth-child(even) td {
    background-color: #f9f9f9;
  }
  .ranking-inner .table_wrap .ranking-table th:last-child,
  .ranking-inner .table_wrap .ranking-table td:last-child {
    border-right: 1px solid #ddd;
  }
  .ranking-inner .table_wrap .ranking-table thead tr:last-child th {
    border-bottom: 1px solid #ddd;
  }
  .ranking-inner .table_wrap .ranking-table tbody tr:last-child td {
    border-bottom: 1px solid #ddd;
  }
  .ranking-inner .table_wrap .ranking-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
  }
  .ranking-inner .table_wrap .ranking-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
  }
  .ranking-inner .table_wrap .ranking-table thead tr:first-child th:first-child {
    border-top-left-radius: 12px;
  }
  .ranking-inner .table_wrap .ranking-table thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
  }
  .ranking-inner .table_wrap .ranking-table .rank-icon {
    width: 2.5em;
    height: auto;
    display: inline-block;
    vertical-align: middle;
  }
  .ranking-inner .table_wrap .ranking-table .rank-1st {
    font-weight: 700;
    color: #B18727;
  }
  .ranking-inner .table_wrap .ranking-table .rank-2nd {
    font-weight: 700;
    color: #333;
  }
  .ranking-inner .table_wrap .ranking-table .rank-3rd {
    font-weight: 700;
    color: #C66243;
  }
  .ranking-inner .ranking-toggle-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: #07B2E7;
    border: 2px solid #07B2E7;
    background: white;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 4;
  }
  .ranking-inner .ranking-toggle-button .icon {
    width: 1.5em;
    height: 1.5em;
    background: url("../img/btn-icon_down.png") no-repeat center;
    background-size: contain;
    transition: transform 0.3s;
  }
  .ranking-inner .ranking-toggle-button.is-expanded .icon {
    background-image: url("../img/btn-icon_up.png");
  }
  .ranking-inner .scroll-hint-icon {
    background-color: rgba(0, 0, 0, 0.7); /* 黒ベース */
    border-radius: 6px;
    padding: 6px;
  }
  .ranking-inner .scroll-hint-icon::before,
  .ranking-inner .scroll-hint-icon::after {
    filter: invert(1) brightness(1.5); /* 白反転 */
  }
  .ranking-inner .scroll-hint-icon span {
    color: #fff !important;
    font-weight: bold;
  }
  .ranking-inner .scroll-hint-text {
    color: white !important;
  }
  footer {
    width: 100%;
    background: #fff;
    margin: auto;
    padding: 4rem 2rem;
    color: #333;
  }
  footer .content {
    width: 100%;
    max-width: 78rem;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto auto auto;
    row-gap: 1rem;
  }
  footer .content p {
    margin: 0;
    font-size: 0.8em;
  }
  footer .footLogo {
    width: 160px;
    height: 34px;
    background-image: url("../img/footer-logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
  }
  footer .address {
    text-align: left;
    line-height: 1.6;
  }
  footer .copy {
    text-align: right;
  }
}
