html, body {
  height: 100%; /* 全体を画面高さに合わせる */
  margin: 0;
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
}
#wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 画面全体の高さを確保 */
}
.flex {
	display: flex;
}
.bold {
  font-weight: bold;
}
.emphasis {
  color: #0f72db;
  font-weight: bold;
}
header {
	padding: 10px;
	overflow: hidden;
  display: flex;
  justify-content: flex-start;
}
header h1 {
  font-size: 2.2rem;
  margin-left: 25px;
}

footer nav {
	background: #eaeaea;
	padding: 10px;
}
footer nav ul {
	display: flex;
}
footer nav li {
	margin: 5px 7px;
}
footer .copyright {
	text-align: center;
	padding: 8px;
	background: #1c1c1c;
	color: #fafafa;
}
footer .copyright p {
  font-size: 1.2rem;
}

main {
  background: -webkit-linear-gradient(90deg, #117411,#02a501,#007b00);/* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(90deg, #117411,#02a501,#007b00);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding-bottom: 20px;
  flex: 1; /* コンテンツ領域を可変にして、余白を埋める */
}
section:not(.hero,.copyright) {
  margin: 10px;
}
.catchcopy,.catchcopy span {
  text-align: center;
  font-size: 5.4vw;
  color: white;
  font-family: "source-han-serif-jp-variable", sans-serif;
  font-variation-settings: 'wght' 900;
}
.catchcopy span {
  font-size: 4.2vw;
}

/*スライダー
----------------*/
.thumbnail {
  background: white;
  border-radius: 10px;
  padding: 5px;
  width: 30%;
}
.swiper-container {
  width: 100%;
  padding: 8px 0 5px;
}

.swiper-slide {
  background: #f0f0f0;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  line-height: 120px;
  height: 120px;
  padding: 10px;
}
.parent-swiper .swiper-slide {
  height: 51vw;

}
.sitename {
  line-height: normal;
  margin: 5px 0;
  text-align: center;
}
.child-swiper h2 {
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
	color: white;
  margin-bottom: 2px;
}
.hikakuList {
  margin-right: 0!important;
  margin-top: 0!important;
  margin-bottom: 20px!important;
}
.osusumedo {
  width: 85%;
  margin: auto;
}
.info {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.2;
}
.info span {
  font-size: 2rem;
  font-weight: bold;
}
.red,.red span {
  color: #f20a0b;
}
.swiper-container:nth-of-type(4) .info,
.swiper-container:nth-of-type(5) .info,
.swiper-container:nth-of-type(6) .info {
  font-size: 2rem;
}

.swiper-container:nth-of-type(4) .info span,
.swiper-container:nth-of-type(5) .info span,
.swiper-container:nth-of-type(6) .info span {
  font-size: 1.6rem;
}
.swiper-slide .cta_button {
  border-radius: 20px;
  font-size: 1.5rem;
  padding: 5px 10px;
  margin: 0 auto;
}
.swiper-slide .cta_button span {
  font-size: 2.2rem;
}

/*ランキング
---------------------*/
.ranking {
  background: white;
  border-radius: 5px;
  border: solid #1c1c1c 3px;
}
article h3 {
  background: #1c1c1c;
  padding: 3px 10px;
  color: white;
  font-size: 1.8rem;
}
article h3 span {
  font-size: 1.2rem;
  display: inline-block;
  position: relative;
  top: -2px;
}
article ul {
  padding: 10px;
}
article:nth-of-type(1) li {
  position: relative;
  padding-left: 28px; /* 余白を確保（アイコン分） */
  margin-bottom: 8px;
}
article:nth-of-type(1) li:last-of-type {
  margin-bottom: 0;
}
article:nth-of-type(1) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("img/check.png") no-repeat center center / contain;
}
.ranking .heroItem figure {
  display: block;
  width: 16vw;
  margin: 10px auto;
}
.ranking .heroItem {
  text-align: center;
}
.ranking .heroItem h2 {
  font-size: 2.0rem;
  font-weight: bold;
}
.hyouka h3 {
  background: #ff5400;
  padding: 3px 0;
  text-align: center;
  color: white;
  font-size: 1.8rem;
}
.hyouka {
  background: #f9f6d7;
}
.hyouka p {
  font-size: 3.4rem;
  color: #f20a0b;
  font-weight: bold;
  padding: 5px;
  text-align: center;
}
.hyouka p span {
  font-size: 1.6rem;
  color: #000000;
}
.yosouIcon_free,
.yosouIcon_paid {
  padding: 4px;
  margin: 7px;
}
.yosouIcon_free {
  background: #2167db;
}
.yosouIcon_paid {
  background: #db2121;
}
.yosouIcon_free span,
.yosouIcon_paid span {
  border: solid 1px white;
  padding: 2px;
  display: block;
}
.yosouIcon_free span span,
.yosouIcon_paid span span {
  color: white;
  font-size: 2.2rem;
  text-align: center;
  font-weight: bold;
  border: solid 1px white;
}
.hyouka + .flex {
  justify-content: center;
  padding: 5px 0;
}
.kuchikomi div {
  padding: 10px;
  background: #f9f6d7;
  border-bottom: dashed 1px #9b9b9b;
}
.kuchikomi div:last-of-type {
  border-bottom: none;
}
.kuchikomi div .user::before {
  content: "";
  background: url(img/icon_hito.png) no-repeat;
  width: 35px;
  height: 35px;
  display: inline-block;
  background-size: contain;
}
.kuchikomi div .user {
  display: flex;               /* ← これがポイント */
  align-items: center;         /* 縦方向中央揃え */
  gap: 8px;
}
.kuchikomi div .star {
  font-size: 2.0rem;
  color: #ff5400;
}
.kuchikomi .star span {
  color: #9d9d9d;
}
.cta_button {
  color: #ffffff;
  font-size: 2.3rem;
  border-radius: 200px;
  font-weight: bold;
  transition: 0.3s;
  background-color: #ff5400;
  padding: 15px;
  border: solid 2px #451802;
  border-bottom: 10px solid #451802;
  margin: 20px auto;
  display: block;
}
.cta_button:hover {
  border-bottom-width: 0;
  transform: translateY(5px);
}
/*下層ページ
--------------------------*/
.lower_page main {
  background: white;
}
.lower_page h2 {
  background: #1c1c1c;
  padding: 5px;
  text-align: center;
  color: white;
  font-weight: bold;
}
.lower_page section {
  margin: 0;
}
.lower_page .contents {
  padding: 15px;
}
.lower_page .contents li {
  padding: 10px 0;
  border-bottom: dashed 1px #ccc;
}
.lower_page .contents h3 {
  font-weight: bold;
  border-left: solid 4px #1c1c1c;
  padding-left: 5px;
}
.lower_page .navWrap {
  margin-top: 40px;
}
.lower_page .contents th,
.lower_page .contents td {
  display: block;
  text-align: left;
}
.lower_page .contents th {
  font-size: 1.7rem;
}
.lower_page .contents td {
  padding-bottom: 10px;
}
.lower_page .contents table {
  border-top: dashed 1px #ccc;
  padding: 10px 0;
  border-bottom: dashed 1px #ccc;
  margin: 15px 0;
}
.about table {
  border-top: none !important;
  border-bottom: none !important;
   width: 100%;
}
.about .contents td {
  padding-bottom: 15px;
}