@charset "utf-8";
/* CSS Document */

body {
	font-family: "Yu Gothic Medium", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	overflow: hidden;
	text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#wrap {
	width: 100%;
	position: relative;
	height: 100%;
}

#contents {
    position: relative;
    width: 750px;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
#contents {
    width: 90%;
}
}

@media screen and (max-width: 479px) {
#contents {
    width: 100%;
}
}

.text {
	width: 100%;
	margin: 0 auto;
	padding: 5px;
}

p {
	font-size: 17px;
	line-height: 1.7em;
	margin: 0 0 15px;
}

@media screen and (max-width: 979px) {
p {
	font-size: 17px;
}
}

@media screen and (max-width: 767px) {
p {
	font-size: 17px;
}
}

@media screen and (max-width: 479px) {
p {
	font-size: 16px;
}
}

@media screen and (min-width: 979px){   
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 979px){   
  .pc { display:none; }
  .sp { display:block; }
}

p.head_copy01{
	font-size: 21px;
	text-align: center;
	line-height: 1.5;
	margin: 10px auto 0px;
	font-weight: bold;
	color: #6f6b6b;
}

/*----画像装飾----*/

img {
	max-width: 100%;
	max-height: 610px;
}

.arrow {
	width: 0;
	margin: 0 auto;
	border-style: solid;
	border-width: 25px 160px 0 160px;
	border-color: #C5A059 transparent; /*---#4A5568でもいいかも----*/
	margin-top: 15px;
	margin-bottom: 3px;
}

@media screen and (min-width: 979px) {
	.arrow {
		border-width: 37px 250px 0 250px;
		margin-top: 25px;
		margin-bottom: 15px;
	}
}


/*----文字装飾----*/

b {
	font-weight: bold;
}

strong {
	color: #f12a25;
	font-weight: bold;
}

strong_yellow {
	font-weight: bold;
	background: linear-gradient(180deg,#fff 0%,#fff 10%,#ff6 10%,#fff 100%);
}


/*装飾追記*/
.very_strong{
	font-size: 24px;
	color: #f30202;
	text-decoration: underline;
}

.underline {
	text-decoration: underline;
}

.red {
	color: #f30202;
}

.text_middle {
	font-size: 14px;
}

.text_small {
	font-size: 12px;
}

.text_verysmall {
	font-size: 10px;
}

/*注釈*/
.gray_text {
	color: gray;
	padding: 10px;
	background: #f1f1f1;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	margin: 10px 0 0;
}

/*----テーブル----*/

table {
	clear: both;
	width: 100%;
	margin: 0 auto 10px auto;
	border-collapse: collapse;
	border: 1px solid #ccc
}


thead {
  position: sticky;
  z-index: 10;
  top: 0;
}

th {
	background-color: #fdfbdb;
	border: 1px solid #ccc;
	text-align: center;
	font-size: 16px;
	padding: 2px 2px 2px 2px;
}

@media screen and (max-width: 767px) {
th {
	background-color: #fdfbdb;
	border: 1px solid #ccc;
	text-align: center;
	font-size: 14px;
	padding: 1px 0 0;
}
}
@media screen and (max-width: 479px) {
th {
	background-color: #fdfbdb;
	border: 1px solid #ccc;
	text-align: center;
	font-size: 14px;
	padding: 1px 0 0;
}
}

td {
	border: 1px solid #ccc;
	text-align: center;
	font-size: 14px;
	padding: 0 3px;
}

.hikaku-img {
	vertical-align: top;
	padding-top: 10px;
	padding-bottom:5px;
}

/*----運営者情報----*/
.uneisha {
	width: 95%;
	margin: 20px 10px;
	padding: 0;
}

.uneisha th {
	width: 25%;
	background-color: #f1f1f1;
	text-align: center;
	font-size: 14px;
	padding: 3px 0 0;
}

.uneisha td {
	width: 75%;
	background-color: #fff;
	text-align: left;
	font-size: 14px;
	padding: 3px 0 0 10px;
}

/*----ランキング根拠----*/
.basis_table {
	width: 60%;
	margin: 10px 10px 20px;
}

.basis_table th {
	width: 50%;
	background-color: #f1f1f1;
	text-align: center;
	font-size: 14px;
	padding: 3px 0 0;
}

.basis_table td {
	width: 50%;
	background-color: #fff;
	text-align: center;
	font-size: 14px;
	padding: 3px 0 0 10px;
}



/*----ヘッダー,フッター----*/


header {
/*	position: fixed;*/
/*	-webkit-backface-visibility: hidden;*/
	position: relative;
	width: 100%;
	height: 35px;
	background: #fff;
	z-index: 100;
}

h1 img {
	max-width: 100%;
}

h1#logo {
    margin-right: 60%;
}

@media screen and (max-width: 979px) {
h1#logo {
    margin-right: 35%;
}
}

#head_area {
	position: relative;
}

#head_area::after {
	content: "";
	display: block;
	clear: both;
}
/*ナビゲーション
--------------------------------------------*/
#top_nav {
	background: #fff;
	border-top: 1px solid #e8e8e8;
	border-bottom: 2px solid #330600;
	box-sizing: border-box;
	margin: 0 auto;
	width: 750px;
}

@media screen and (max-width: 767px) {
#top_nav {
    width: 100%;
}
}

@media screen and (max-width: 479px) {
#top_nav  {
    width: 100%;
}
}

#top_nav::after {
	content: "";
	display: block;
	clear: both;
}

#top_nav ul {
	display: table;
	table-layout: fixed;
	width: 100%;
	padding: 0;
}

#top_nav li {
	display:table-cell;
	height: 35px;
	font-size: 10px;
	text-align: center;
	border-right: 1px solid #d1d1d1;
	box-shadow: 1px 0px 0 #fff;
	text-shadow: 1px 1px 1px #fff;
	vertical-align: middle;
	box-sizing: border-box;
}

#top_nav li a {
	display: block;
	/*padding: 3px 0;*//*iOSで高さが変わる…*/
}

.t_nav {
	padding: 3px 0 3px 20px;
}

.icon01 {
	background: url(/img/items/icon_ranking.png) no-repeat;
	background-size: 16px;
}

.icon02 {
	background: url(/img/items/icon_soku.png) no-repeat;
	background-size: 16px;
}

.icon03 {
	background: url(/img/items/search-24.png) no-repeat;
	background-size: 16px;
}

/*#top_nav li:last-child {
	border-right: none;
	box-shadow: none;
}*/

#top_nav li:first-child {
	width: 65%;
	border-left: 1px solid #d1d1d1;
}

#top_nav li:last-child {
	width: 10%;
}

/*PR表記*/
#top_nav li.top_pr{
	color: #676767;
	font-size: 13px;
}

/*----リスト----*/
#footer {
	clear: both;
	padding: 30px 0 0 0;
	background-color: #2d3e50;
	box-shadow: 2px 0 3px #b5b5b5;
	behavior: url(/PIE.htc);
	font-size: 14px;
}

.footer_contents {
	width: 980px;
	margin: 0 auto;
	padding: 0 0 30px 40px;
	overflow: hidden;
}
@media screen and (max-width: 767px) {
.footer_contents {
	width: 540px;
}
}
@media screen and (max-width: 479px) {
.footer_contents {
	width: 100%;
}
}


.footer_contents a {
	color: #fff;
	text-decoration: none;
}

.footer_contents .sitename {
	font-size: 110%;
	font-weight: bold;
	padding: 0 0 5px 0;
}
@media screen and (max-width: 767px) {
.footer_contents .sitename {
	font-size: 16px;
}
}
@media screen and (max-width: 479px) {
.footer_contents .sitename {
	font-size: 14px;
}
}

.footer_contents .mokuji_waku {
	float: left;
	margin: 0 20px 0 5px;
	padding: 0 20px;
}

.footer_contents .groupname {
	margin: 0 0 0 0;
	padding: 0;
	border-bottom: 1px dotted #333;
	font-size: 95%;
	font-weight: bold;
}

.footer_contents li {
	margin: 5px 0 0 0;
	padding: 0 10px 0px 0;
	font-size: 80%;
	list-style:none;
}
@media screen and (max-width: 767px) {
.footer_contents li {
	font-size: 12px;
}
}
@media screen and (max-width: 479px) {
.footer_contents li {
	font-size: 10px;
}
}

.copylights {
	display: block;
	padding: 10px 0;
	text-align: center;
	font-size: 90%;
	/*background: #f8f8f8;*/
	background: #fff;
}

address {
	margin: 0 0 20px 0;
	text-align: center;
	font-size: 85%;
	background: #f8f8f8;
}

address a {
	color: #039;
}

.mokuji_waku {
	float: left;
}


/*----比較表コンテンツー----*/

h2.hikaku_title {
	align-items: center;
	font-size: 18px;
	color: #fff;
	margin: 5px 0 0 0;
	text-align: center;
	background-color: #1a2b4ce8;
	border-top: 1px solid;
	padding: 5px 0;
	border-right: 1px solid;
	border-left: 1px solid;
	border-color: #8080809c;
	border-radius: 10px 10px 0px 0px;
}
@media screen and (min-width: 979px) {
	h2.hikaku_title {
		font-size: 22px;
		padding: 10px 0;
	}
}

.hikaku_table {
	table-layout: fixed;
		border: 2px solid #2d3e50;
		padding: 10px 0;
}


.hikaku_table th,
.hikaku_table td {
	border: 1px solid #d1d1d1;
	text-align: center;
	vertical-align: middle;
	padding: 5px 2px;
	color: #333;
}


.hikaku_table th {
	background-color: #2d3e50;
	font-size: 13px;
	font-weight: bold;
	width: 19%;
	color: #fff;
}
@media screen and (min-width: 979px) {
	.hikaku_table th {
		height: 55px;
		font-size: 15px;
	}
	.hikaku_table td {
		height: 55px;
		font-size: 16px;
	}
}

.hikaku_table th.first_pc {
	width: 30%;
}

.highlight {
  background-color: #fffdec !important;
}


img.rank_badge {
	width: 34px;
	height: auto;
	display: block;
	margin: 0 auto 7px;
}

.logo_frame{
	border: 1px solid #ccc;
}
@media screen and (min-width: 979px) {
	.logo_frame{
		padding: 0 60px;
		width: 98%;
	}
}


.frame_text {
	font-size: 13px;
	text-decoration: underline;
	color: blue;
	margin: 5px 0 0 0;
	line-height: 1.3;
}

.frame_text2 {
	font-size: 13px;
	text-decoration: underline;
	color: blue;
	margin: 10px 0 7px 0;
}

@media screen and (min-width: 979px) {
	.frame_text {
		font-size: 17px;
		margin: 10px 0 7px 0;
	}
	.frame_text2 {
		font-size: 17px;
	}
}

img.pc_img {
	margin-bottom: 10px;
}

.hosoku01 {
	border-top: 1px solid #d1d1d1;
	margin-top: 4px;
	padding-top: 3px;
}
@media screen and (min-width: 979px) {
	.hosoku01 {
		margin-top: 5px;
		margin-bottom: 5px;
		padding-top: 11px;
	}
}

/* ボタン */
.hikaku_btn {
	display: block;
	background: linear-gradient(to bottom, #ff9800, #f39c12);
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 15px;
	padding: 10px 0;
	border-radius: 4px;
	box-shadow: 0 2px 0 #b35900;
	margin: 5px 0;
}

.hikaku_table .hikaku_oukan_pc {
	width: 9%;
}


/*----コンテンツー----*/
.content_box {
	margin: 40px auto;
	padding: 0 15px;
	color: #333;
	line-height: 1.6;
}


/* タイトル周り */
.content_title {
	color: #1a2a44;
	font-size: 21px;
	margin-bottom: 10px;
	font-weight: bold;
	text-align: center;
}

.strong_gold {
	color: #d4a017;
	font-size: 24px;
}

.content_title .sub {
	font-size: 17px;
	font-weight: normal;
	background: #1a2a44;
	color: #fff;
	padding: 8px 20px;
	display: inline-block;
	margin-bottom: 10px;
}

@media screen and (min-width: 979px) {
	.content_box {
		margin: 70px 65px;
	}
	.content_title .sub {
		font-size: 22px;
		padding: 5px 20px;
		margin-bottom: 17px;
	}
	.content_title {
		font-size: 21px;
		margin-bottom: 13px;
	}

}

.benefit_card .icon {
	font-size: 37px;
	margin-bottom: 10px;
	text-align: center;
}

.benefit_card .icon img {
	width: 60%;
}
@media screen and (min-width: 979px) {
	.benefit_card .icon img {
		width: 44%;
	}
}

.middle_sentent {
	margin: 20px 0;
}

@media screen and (min-width: 979px) {
	.middle_sentent {
		margin: 30px 0;
	}
}


/*-----------------ランキングボックス------------------*/
/* --- 詳細ブロック共通 --- */
.rank_box {
	border: 1px solid #808080;
	border-radius: 8px;
	background: #fff;
	padding: 20px 10px;
	margin-bottom: 40px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.rank01 {
	border-top: 5px solid #d4af37;
}

.rank02 {
	border-top: 5px solid #78909c;
}

.ranku03 {
	border-top: 5px solid #bf8970;
}


.rank_header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

.rank_title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rank_badge01,
.rank_badge02,
.rank_badge03 {
	background: #d4af37;
	color: #fff;
	font-weight: bold;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 14px;
}

.rank_badge02 {
	background: #78909c;
}

.rank_badge03 {
	background: #8d6e63;
}

.rank_name {
	font-size: 20px;
	font-weight: bold;
	margin: 0;
	color: #333;
}

.intro {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 8px;
}

.rank_img {
	width: 100%;
	border: 1px solid #d6d6d6;
	padding: 10px 0;
}

.rank_points {
	background: #fdfdfd;
	border: 1px dashed #d4af37;
	padding: 15px 10px;
	border-radius: 8px;
	margin: 20px 0;
}

.point_list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.point_list li {
	margin-bottom: 12px;
	position: relative;
	padding-left: 25px;
}

.point_list li:last-child {
	margin-bottom: 0;
}

.rank_small {
	font-size: 15px;
	display: block;
	margin-top: 2px;
}

/* 基本データ表 */
.rank_table {
	margin-bottom: 20px;
	font-size: 14px;
	margin-top: 15px;
}

.rank_table th, .rank_table td {
	border-bottom: 1px solid #eee;
	padding: 10px;
	text-align: left;
}

.rank_table th {
	background: #fafafa;
 	width: 30%;
	font-weight: normal;
}

/* CTAボタンエリア */
.rank_cta {
	text-align: center;
	margin-top: 25px;
}

.micro {
	font-size: 13px;
	color: #d32f2f;
	font-weight: bold;
	margin-bottom: 5px;
	animation: flash 2s infinite;
}

.rank_cta_btn {
	display: block;
	width: 100%;
	max-width: 325px;
	margin: 0 auto;
	background: linear-gradient(to bottom, #d4af37, #b8860b);
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 18px;
	padding: 20px;
	border-radius: 50px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: opacity 0.3s;
}

.cta-btn:hover {
	opacity: 0.9;
	transform: translateY(1px);
}

@keyframes flash {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}

/* --- 価格表示 --- */
.price_box {
	background: #fff8e1; /* 薄いゴールド背景 */
	padding: 5px;
	border-radius: 4px;
	text-align: center;
	border: 1px solid #ffe082;
}

.price_label {
	display: block;
	font-size: 9px;
	color: #888;
	margin-bottom: 0;
}

.price {
	color: #d32f2f; /* 赤色で強調 */
	font-weight: bold;
	font-size: 16px;
	font-family: Arial, sans-serif; /* 数字を見やすく */
}

.yen {
	font-size: 10px;
	margin-left: 1px;
}

/* --- 右端の余白調整 --- */
.space {
	flex: 0 0 5px;
}

p.kikaku {
	font-size: 10px;
	text-align: right;
	margin-bottom: 5px;
	color: #666;
}

/*-------------------------------------------
PCランキングとコンテンツの設定
--------------------------------------------*/
@media (min-width: 768px) {
	.pc_frame01 {
		display: flex;
		justify-content: space-between;
		margin-top: 20px;
	}

	.left-contents {
		width: 72%;
		margin: 0 10px 0 0;
	}

	.right-contents {
		width: 25%;
		display: block;
		margin: 0 0 0 10px;
	}
}

/*--スマホでは、非表示---*/
@media screen and (max-width: 768px) {
	.pc_frame01 {
		display: flex;
		justify-content: space-between;
	}

	.left-contents {
		width: 100%;
	}

	.right-contents {
		display: none;
	}
}

/*--サイドコンテンツ---*/
.side_title {
	margin: 0 0 10px 0;
	padding: 5px 5px;
	background: #e8e8e8;
	border-bottom: 2px dotted #626262;
	position: relative;
	text-align: center;
	font-size: 16px;
}

.right-contents ul {
	margin-bottom: 25px;
	list-style-type: none;
	padding-left: 0px;
}

.right-contents li {
	position: relative;
	margin: 0 0 10px 0;
}

#submenu{
	font-size: 14px;
	color: #333;
}


/*初心者マーク*/
.icon_begginer {
	background: url(/img/icon/icon_begginer.jpg) no-repeat 10px 7px;
	background-size: 20px;
}

/*ガマ財布(コスト)*/
.icon_wallet {
	background: url(/img/icon/icon_wallet.jpg) no-repeat -3px 2px;
	background-size: 50px;
}


/*コイン*/
.icon_coin {
	background: url(/img/icon/icon_coin.jpg) no-repeat 5px 6px;
	background-size: 32px;
}

/*分析ツール*/
.icon_service {
	background: url(/img/icon/icon_service.jpg) no-repeat 6px 4px;
	background-size: 29px;
}

.list-purpose li {
	border: 1px solid #bfbfbf;
	border-radius: 4px;
	padding: 10px 0;
	text-align: center;
}

.list-purpose li::before {
	content: "";
	display: block;
	height: 41px;
	position: absolute;
	right: 0;
	top: 0;
	width: 15px;
	border-radius: 0 4px 4px 0;
}

.list-purpose li.list-01::before {
	background: #7da24c;
}

.list-purpose li.list-02::before {
	background: #5375bc;
}

.list-purpose li.list-03::before {
	background: #ee5d43;
}

.list-purpose li.list-04::before {
	background: #f6b83e;
}

.list-purpose li.list-05::before {
	background: #49b9a1;
}

.list-purpose li.list-06::before {
	background: #ff3232;
}

.list-purpose li::after {
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	content: '';
	display: block;
	height: 10px;
	right: 5px;
	margin: -3px 0 0;
	position: absolute;
	top: 44%;
	transform: rotate(45deg);
	width: 10px;
	-webkit-transform: rotate(45deg);
}


.widget {
	margin-bottom: 20px;
}

.widget02 {
	margin-top: 20px;
}

.widget-sticky {
	position: sticky;
	top: 20px;
}

.feature02 {
	display: table;
	margin: 0;
	width: 100%;
}

.feature02 a {
	color: #333;
}

.feature02 ul {
	padding: 5px 0;
	background: rgb(255, 255, 255);
	border-bottom: 1px solid #e1e1e1;
	margin-bottom: 0;
}

.feature02 li {
	position: relative;
	display: table-cell;
	vertical-align: middle;
}

.feature02 li:last-child::after {
	display: block;
	content: '';
	position: absolute;
	top: 47%;
	right: 1.2em;
	width: 8px;
	height: 8px;
	border-right: 2px solid #777;
	border-bottom: 2px solid #777;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.feature02 img {
	margin: 0 0 0 5px;
	border: 1px solid #c5c5c5;
	height: 39px;
	max-width: none;
}

.feature02 h3 {
	margin: 0 0 3px 0;
	padding: 0 10px;
	font-size: 16px;
}

.feature02 p {
	padding: 0 45px 0 10px;
	font-size: 14px;
	margin-bottom: 0px !important;
}

@media screen and (max-width: 479px) {
.feature02 p {
	font-size: 15px;
	margin-bottom: 0px !important;
}
}

.sentent_bottom{
	font-size: 18px;
	margin-bottom: 25px;
}



/* --- ベースリセット --- */
section.text_search ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
section.text_search p {
    margin: 0;
}

/* --- 全体の枠組み --- */
/* 見出し */
#search_box {
    background-color: #2f3e5c;
    color: #fff;
    padding: 15px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 4px 4px 0 0;
    letter-spacing: 0.05em;
}

/* フォームエリア */
section.text_search {
    border: 1px solid #e0e0e0;
    border-top: none;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- 各検索条件の行 --- */
.form_box02 {
    border-bottom: 1px dashed #ddd;
    padding: 15px 0;
}
.form_box02:last-of-type {
    border-bottom: none;
}

/* レイアウト（PC） */
.form_box02 > ul {
    display: flex;
    align-items: flex-start; /* 上揃え */
    flex-wrap: wrap;
}

/* 左側の項目名 */
.form_box02 > ul > li:first-child {
    width: 120px;
    font-weight: bold;
    color: #333;
    padding-top: 8px; /* ボタンとの高さ合わせ */
    flex-shrink: 0;
}

/* 右側の選択肢エリア */
.form_box02 > ul > li:last-child {
    flex-grow: 1;
    width: calc(100% - 120px);
}

/* --- 選択肢（ラジオ・チェックボックス）のデザイン --- */
.form_koumoku {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* HTML内のbrタグを無効化（レイアウト崩れ防止） */
.form_koumoku br {
    display: none;
}

/* デフォルトの丸ポチ・四角を消す */
.form_koumoku input[type="radio"],
.form_koumoku input[type="checkbox"] {
    display: none;
}

/* ラベルをボタン風にする */
.form_koumoku label {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none; /* テキスト選択防止 */
}

/* ホバー時の挙動 */
.form_koumoku label:hover {
    background-color: #e9e9e9;
    border-color: #bbb;
}

/* 選択された状態（チェック時） */
.form_koumoku input:checked + label {
    background-color: #1268d8;
    color: #fff;
    border-color: #1268d8;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.4);
}

/* --- 送信ボタンエリア --- */
.button04 {
    margin-top: 25px;
    text-align: center;
}

.button04 .submit {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    background: linear-gradient(to bottom, #d93d3d, #bf2626); /* 赤系グラデーション */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 0 #9e1e1e; /* 立体的な影 */
    transition: all 0.1s;
    padding: 0; /* 内部pタグで調整するため */
}

.button04 .submit:active {
    transform: translateY(3px); /* 押した沈み込み */
    box-shadow: 0 1px 0 #9e1e1e;
}

.button04 .btn01 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.button04 .btn01 img {
    height: 20px;
    width: auto;
    margin-right: 10px;
    filter: brightness(0) invert(1); /* アイコンを白くする */
    vertical-align: middle;
}

/* --- スマホ対応（レスポンシブ） --- */
@media screen and (max-width: 600px) {
    .form_box02 > ul {
        display: block;
    }
    .form_box02 > ul > li:first-child {
        width: 100%;
        margin-bottom: 8px;
    }
    .form_box02 > ul > li:last-child {
        width: 100%;
    }
    /* ボタンを少し大きく */
    .form_koumoku label {
        padding: 10px 14px;
        font-size: 13px;
        flex-grow: 1; /* 横幅いっぱいに広げる */
        text-align: center;
    }
}

.down_banner {
	margin-bottom: 12px;
}


.rank_title_pc {
	margin: 0 0 14px;
	border-bottom: 3px dotted #626262;
	border-left: 4px solid #000;
	padding: 3px 10px;
	font-size: 20px;
	clear: both;
	text-align: inherit;
}


/* --- 設定・変数（サイトのカラーに合わせて変更してください） --- */
:root {
    --flow-primary: #333; /* メインカラー（黒/濃いグレー） */
    --flow-accent: #d4a373; /* アクセントカラー（レコードっぽいヴィンテージゴールド） */
    --flow-bg: #f9f9f9; /* 背景色 */
}

/*-------------------------------------------
ETCカード比較表
--------------------------------------------*/

/* ----- セクション全体 ----- */
.etc_hikaku {
  width: 100%;
  margin: 16px auto 13px;
  box-sizing: border-box;
}

.etc_hikaku thead {
  position: static;
}

/* ----- タイトル ----- */
.etc_hikaku__title {
  font-size: 14px;
  font-weight: bold;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 8px;
  padding: 0;
  background: none;
  border: none;
  line-height: 1.5;
}
 
/* ----- テーブルリセット＆上書き ----- */
.etc_hikaku table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  table-layout: fixed;
  margin: 0;
}
 
.etc_hikaku th,
.etc_hikaku td {
  border: 1px solid #ccc;
  padding: 4px 2px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
  word-break: break-word;
  font-size: 14px;
}

/* ----- ランキングアイコン ----- */
.etc_hikaku .rank-cell {
  padding: 4px 2px 2px;
  border-bottom: none;
}

th.rank-cell {
  background: #f0f4f8;
}

td.arrange_top {
  vertical-align: top;
}

.etc_hikaku .rank-icon {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.etc_hikaku .rank-num {
  display: block;
  font-size: 12px;
  font-weight: bold;
  margin-top: 2px;
}

.etc_hikaku .rank-1 .rank-num { color: #c8a415; }
.etc_hikaku .rank-2 .rank-num { color: #78909c; }
.etc_hikaku .rank-3 .rank-num { color: #bf8970; }

/* ----- 項目ラベル列（左端） ----- */
.etc_hikaku .col-label {
  background: #f0f4f8;
  color: #333;
  font-weight: bold;
  width: 22%;
}
 
/* ----- カード名ヘッダー列 ----- */
.etc_hikaku th.col-card {
  background: #fff;
  padding: 8px 4px;
  width: 26%;
  vertical-align: top;
}
 
/* ----- カード券面画像プレースホルダー ----- */
.etc_hikaku .card-img-wrap {
  width: 90%;
  max-width: 100px;
  margin: 0 auto 4px;
}
 
.etc_hikaku .card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid #ddd;
  max-height: none;
}
 
/* ----- カード名テキスト ----- */
.etc_hikaku .card-name {
  font-size: 14px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.3;
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
}

/* ----- ◎〇△マーク ----- */
.hikaku-mark {
    width: 50px;
}
 
/* ----- セル値テキスト ----- */
.etc_hikaku .val {
  display: block;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.4;
}
 
/* ----- 加盟店セル ----- */
td.hikaku.store {
    vertical-align: middle;
}
img.hikaku_store {
    margin: 1px 4px 3px;
}

/* ----- キャンペーン行 ----- */
.etc_hikaku .campaign {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.5;
  display: block;
}
 
/* ----- 公式ボタン ----- */
.etc_hikaku .cta-btn {
  display: inline-block;
  padding: 8px 12px;
  background: #e53935;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
 
.etc_hikaku .cta-btn:hover {
  opacity: 0.85;
}


/***************** 比較表注釈アコーディオン *****************/
.peek-accordion {
  font-size: 10px;
  color: gray;
  margin: 0px 5px 15px;
  padding: 5px 10px 10px;
  background: #f1f1f1;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}
.peek-body {
  position: relative;
  overflow: hidden;
  max-height: 50px;
  transition: max-height 0.35s ease;
}
.peek-body.open {
  max-height: 600px;
}
.peek-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.8em;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: linear-gradient(to bottom, transparent, #f1f1f1);
}
.peek-body.open .peek-fade {
  opacity: 0;
}
.peek-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 0 2px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: 12px;
}
.peek-toggle:hover { color: var(--color-text-primary); }
.peek-icon {
  font-size: 14px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.peek-icon.open { transform: rotate(180deg); }

span#peekLabel {
    text-decoration: underline;
}

/* =============================================
   ETCカード作り方バナー
   ============================================= */
.etc_make {
    margin: 0 0 10px;
}

/* =============================================
   ETCカード診断コンテンツ
   ============================================= */

/* ----- セクション全体 ----- */
.diagnosis {
  padding: 30px 10px 45px;
  background: #f0f8ff;
}

.diagnosis__inner {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 10px;
  box-shadow: 0 8px 24px rgba(0, 168, 255, 0.15);
}

/* ----- セクションヘッダー ----- */
.diagnosis__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #00a8ff;
  margin: 0 0 8px;
  text-align: center;
}

.diagnosis__heading {
  font-size: 20px; /* 【変更点】20pxに調整 */
  font-weight: 800;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.4;
  text-align: center;
}

.diagnosis__sub {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  margin: 0 0 32px;
  text-align: center;
}

/* ----- プログレスバー (ドライブ風) ----- */
.diagnosis__progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  position: relative;
  align-items: center;
}

.diagnosis__progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}

.diagnosis__progress-dot {
  flex: 1;
  height: 12px;
  border-radius: 99px;
  background: #e0e0e0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.diagnosis__progress-dot.is-active {
  background: #00a8ff;
  height: 16px;
  box-shadow: 0 0 10px rgba(0, 168, 255, 0.4);
}

.diagnosis__progress-dot.is-active::after {
  content: '🚙';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  0% { transform: translate(-50%, 0); }
  100% { transform: translate(-50%, -4px); }
}

/* ----- 質問ブロック ----- */
.diagnosis__q {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.diagnosis__q.is-visible {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.diagnosis__q-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ff9f43;
  margin: 0 0 8px;
  text-align: center;
}

.diagnosis__q-text {
  font-size: 17px;
  font-weight: 800;
  color: #333;
  margin: 0 0 24px;
  line-height: 1.5;
  text-align: center;
}

/* ----- 選択肢ボタン ----- */
.diagnosis__choices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diagnosis__choice {
  width: 100%;
  box-sizing: border-box; /* 【追加】はみ出し防止 */
  padding: 16px 20px;
  background: #fff;
  border: 2px solid #00a8ff;
  border-radius: 99px;
  font-size: 15px;
  font-weight: bold;
  color: #00a8ff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 0 #00a8ff;
  transition: all 0.1s ease;
  line-height: 1.4;
}

.diagnosis__choice:hover {
  background: #e5f6ff;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #00a8ff;
}

.diagnosis__choice:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #00a8ff;
}

/* ----- 結果ブロック ----- */
.diagnosis__result {
  display: none;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.diagnosis__result.is-visible {
  display: block;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.diagnosis__result-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ff9f43;
  margin: 0 0 8px;
  text-align: center;
}

.diagnosis__result-heading {
  font-size: 18px;
  font-weight: 800;
  color: #333;
  margin: 0 0 24px;
  text-align: center;
}

/* ----- 結果カード ----- */
.diagnosis__card {
  border: 2px solid #ff9f43;
  border-radius: 16px;
  padding: 20px 15px 15px;
  background: #fffdf5;
  box-shadow: 0 8px 0 #ff9f43;
  position: relative;
  box-sizing: border-box; /* 【追加】カード自体のはみ出しも防止 */
}

.diagnosis__card::before,
.diagnosis__card::after {
  content: '✨';
  position: absolute;
  font-size: 24px;
  top: -12px;
}
.diagnosis__card::before { left: -12px; }
.diagnosis__card::after { right: -12px; }

.diagnosis__card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.diagnosis__card-img {
  width: 140px;
  height: 88px;
  object-fit: contain;
  border-radius: 6px;
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.diagnosis__card-name {
  font-size: 17px;
  font-weight: 800;
  color: #333;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.diagnosis__divider {
  border: none;
  border-top: 2px dashed #ffcca3;
  margin: 0 0 16px;
}

.diagnosis__reason-label {
  font-size: 17px;
  font-weight: 800;
  color: #ef8622;
  margin: 0 0 12px;
  text-align: center;
}

.diagnosis__reasons {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diagnosis__reasons li {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
  text-align: left;
}

.diagnosis__reasons li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: -1px;
  color: #ff9f43;
  font-size: 16px;
  font-weight: bold;
}

#result-note {
  grid-column: 1 / span 2;
  grid-row: 5;
}

/* ----- CTAボタン ----- */
.diagnosis__cta {
  display: block;
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box; /* 【変更点】枠内にはみ出さずに収めるための指定 */
  padding: 12px;
  background: linear-gradient(180deg, #ff3d3d 0%, #df2020 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 0 #b91616;
  transition: all 0.15s ease;
  animation: pulse 2s infinite;
}

.diagnosis__cta:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #d50000;
}

.diagnosis__cta:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #d50000;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.diagnosis__retry {
  display: block;
  width: 100%;
  box-sizing: border-box; /* 【追加】はみ出し防止 */
  padding: 12px;
  background: transparent;
  color: #999;
  border: none;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: underline;
}

.diagnosis__retry:hover {
  color: #666;
}

/* ----- レスポンシブ (PC・タブレットでの見栄え最適化) ----- */
@media (min-width: 576px) {
  .diagnosis__card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 24px;
    padding: 32px 24px;
    align-items: start;
  }

  .diagnosis__card-top {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
    gap: 12px;
  }

  .diagnosis__card-img {
    width: 150px;
    height: 94px;
  }

  .diagnosis__card-name {
    text-align: center;
    font-size: 16px;
  }

  .diagnosis__divider {
    display: none;
  }

  .diagnosis__reason-label {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    margin: 0 0 12px;
  }

  .diagnosis__reasons {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 0;
  }

  .diagnosis__cta {
    grid-column: 1 / span 2;
    grid-row: 3;
    margin-top: 24px;
  }

  .diagnosis__retry {
    grid-column: 1 / span 2;
    grid-row: 4;
    margin-top: 8px;
  }
}

@media (min-width: 768px) {
  .diagnosis {
    padding: 64px 24px;
  }
  .diagnosis__heading {
    font-size: 24px; /* PC版も連動して少し小さめに調整 */
  }
  .diagnosis__q-text {
    font-size: 20px;
  }
  .diagnosis__choice {
    font-size: 16px;
  }
  .diagnosis__card {
    grid-template-columns: 180px 1fr;
  }
  .diagnosis__card-img {
    width: 180px;
    height: 110px;
  }
}

/* =============================================
   新ランキングボックス全体
   ============================================= */

.ranking-card {
  width: 100%;
  margin: 24px auto;
  box-sizing: border-box;
}

.ranking-card__inner {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 2px solid #2f80ed;
  border-radius: 22px;
  padding: 13px 15px 20px;
  box-shadow: 0 8px 22px rgba(18, 80, 150, 0.14);
}

/* =========================
   ヘッダー
========================= */

.ranking-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ranking-card__title {
  margin: 0;
  color: #071b45;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: underline;
}

.ranking-card__header-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

/* 順位バッジ */
.ranking-card__badge {
  position: relative;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, #fff7b2 0%, #f6d34a 30%, #d59a00 78%);
  border: 3px solid #f8df67;
  box-shadow:
    0 4px 8px rgba(119, 81, 0, 0.22),
    inset 0 2px 4px rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-card__badge::before,
.ranking-card__badge::after {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 22px;
  height: 34px;
  background: #1268d8;
  z-index: -1;
}

.ranking-card__badge::before {
  left: 16px;
  transform: rotate(14deg);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 40% 74%, 0 100%);
}

.ranking-card__badge::after {
  right: 16px;
  transform: rotate(-14deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 74%, 30% 100%);
}

.ranking-card__badge span {
  color: #9a6500;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

/* =========================
   カード券面
========================= */

.ranking-card__image-wrap {
  text-align: center;
  margin: 7px 0 20px;
}

.ranking-card__image {
  display: inline-block;
  width: min(70%, 300px);
  height: auto;
}

/* =========================
   スペック表
========================= */

.spec-table {
  overflow: hidden;
  border: 1px solid #cdd9e8;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 18px;
}

.spec-table__row {
  display: grid;
}

.spec-table__row--three {
  grid-template-columns: 32% 35% 33%;
}

.spec-table__row--two {
  grid-template-columns: 51% 49%;
  border-top: 1px solid #cdd9e8;
}

.spec-item {
  min-width: 0;
  border-right: 1px solid #cdd9e8;
}

.spec-item:last-child {
  border-right: none;
}

.spec-item__label {
  height: 50px;
  padding: 7px 3px;
  background: linear-gradient(180deg, #2f80ed 0%, #1268d8 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
}

.spec-item__value {
  padding: 9px 0px;
  color: #073f91;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spec-item__value--logos {
  gap: 3px;
  flex-wrap: wrap;
  background: #fff;
  flex-direction: initial;
}

.spec-item__value--logos img {
  max-height: 38px;
  object-fit: contain;
}

.spec-item__value--brands {
  flex-wrap: nowrap;
  gap: 2px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.spec-item__value--brands img {
  width: auto;
  height: auto;
  max-height: 38px;
  max-width: 24%;
  object-fit: contain;
}

/* =========================
   おすすめポイント
========================= */

.recommend-box {
  margin-bottom: 16px;
  padding: 13px 14px 15px;
  background: #f4f9ff;
  border-radius: 14px;
}

.recommend-box__title {
  position: relative;
  margin: 0 0 13px;
  padding-bottom: 7px;
  color: #1268d8;
  font-size: 18px;
  font-weight: 800;
  border-bottom: 2px dotted #2f80ed;
}

.recommend-box__title::before {
  content: "◎";
  display: inline-block;
  margin-right: 8px;
  color: #1268d8;
  font-weight: 900;
}

.recommend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recommend-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #101828;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.recommend-list li:last-child {
  margin-bottom: 0;
}

.recommend-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  transform: none;
  border-radius: 50%;
  background: #2fb344;
  color: #fff;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}

/* =========================
   キャンペーン
========================= */

.campaign-box {
  margin-bottom: 20px;
  padding: 10px 14px 14px;
  border: 1.5px solid #f5c04c;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff9df 0%, #fff3c4 100%);
}

.campaign-box__title {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 9px;
  color: #d86b00;
  font-size: 18px;
  font-weight: 800;
  border-bottom: 2px dotted #e8992e;
}

.campaign-box__title::before {
  content: "🎁";
  margin-right: 8px;
}

.campaign-box__text {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.cp_text {
  color: #e06b00;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* =========================
   CTAボタン
========================= */
.ranking-card__cta {
    margin: 0px 0 20px;
}

.official-button {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 80%;
  padding: 12px 10px;
  border-radius: 50px;
  background: linear-gradient(180deg, #ff3d3d 0%, #df2020 100%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 0 #b91616;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.official-button:hover {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #b91616;
}

/* =========================
   2位・3位・4位以下の色変更用
========================= */

/* 2位：シルバー */
.ranking-card--silver .ranking-card__badge {
  background:
    radial-gradient(circle at 35% 25%, #ffffff 0%, #dfe4ea 36%, #8f9aa6 82%);
  border-color: #e5e9ef;
}

.ranking-card--silver .ranking-card__badge span {
  color: #5f6b78;
}

/* 3位：ブロンズ */
.ranking-card--bronze .ranking-card__badge {
  background:
    radial-gradient(circle at 35% 25%, #ffe0bd 0%, #c9823a 38%, #8f4f1e 82%);
  border-color: #e6aa6d;
}

.ranking-card--bronze .ranking-card__badge span {
  color: #6f3513;
}

/* 4位以下：青系 */
.ranking-card--blue .ranking-card__badge {
  background:
    radial-gradient(circle at 35% 25%, #d9ecff 0%, #4a9eff 38%, #1268d8 82%);
  border-color: #8fc5ff;
}

.ranking-card--blue .ranking-card__badge span {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* =========================
   小さいスマホ向け調整
========================= */

@media (max-width: 374px) {
  .ranking-card__inner {
    padding: 20px 12px 18px;
  }

  .ranking-card__title {
    font-size: 25px;
  }

  .ranking-card__badge {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }

  .ranking-card__badge span {
    font-size: 36px;
  }

  .spec-item__label {
    font-size: 12px;
  }

  .spec-item__value {
    font-size: 17px;
  }

  .recommend-list li {
    font-size: 15px;
  }

  .official-button {
    font-size: 17px;
  }
}


/* =========================
   ETC料金シュミレーションツール
========================= */
.etc-simulator {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #222;
}
.etc-simulator .sim-head {
  padding: 34px 24px 30px;
  text-align: center;
  background: linear-gradient(135deg, #143f8f 0%, #1f6fd6 100%);
  position: relative;
  overflow: hidden;
}
.etc-simulator .sim-head h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.etc-simulator .sim-head p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


.etc-simulator .sim-body {
  padding: 28px 30px 32px;
}
.etc-simulator .select-group {
  margin-bottom: 22px;
}
.etc-simulator .select-label {
  display: block;
  margin-bottom: 9px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
}
.etc-simulator .select-wrap {
  position: relative;
}
.etc-simulator .select-wrap select {
  width: 100%;
  min-height: 58px;
  padding: 0 48px 0 16px;
  border: 2px solid #d8e0ea;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.etc-simulator .select-wrap select:focus {
  border-color: #1556a8;
  outline: 3px solid rgba(21, 86, 168, 0.12);
}
.etc-simulator .select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1556a8;
  border-bottom: 2px solid #1556a8;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.etc-simulator .simulate-button {
  width: 100%;
  min-height: 62px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  background: #0c4e9a;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.etc-simulator .simulate-button:hover {
  opacity: 0.92;
}
.etc-simulator .simulate-button:disabled {
  background: #c9d2de;
  cursor: not-allowed;
  opacity: 1;
}
.etc-simulator .sim-result {
  display: none;
  padding: 30px 28px 34px;
  border-top: 8px solid #f4f7fb;
}
.etc-simulator .sim-result.is-show {
  display: block;
}
.etc-simulator .sim-result-title {
  margin: 0 0 10px;
  text-align: center;
  color: #143f8f;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}
.etc-simulator .sim-result-lead {
  margin: 8px 0 22px;
  text-align: center;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}
.etc-simulator .usage-summary {
  display: none;
}
.etc-simulator .usage-item {
  width: 50%;
  padding: 14px 8px;
  border-radius: 9px;
  background: #f6f8fb;
  text-align: center;
}
.etc-simulator .usage-item small {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 12px;
}
.etc-simulator .usage-item strong {
  display: block;
  font-size: 15px;
}
.etc-simulator .sim-ranking {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.etc-simulator .sim-ranking-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 15px 0 15px 15px;
  padding-left: 54px;
  border: 1px solid #e0e5ec;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.etc-simulator .sim-ranking-card:first-child {
  border: 2px solid #f0ad20;
  background: #fffaf0;
}
.etc-simulator .sim-rank {
  position: absolute;
  top: 14px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef3f8;
  color: #3d5878;
  font-size: 13px;
  font-weight: 800;
}
.etc-simulator .sim-ranking-card:first-child .sim-rank {
  background: #f5b92e;
  color: #fff;
}
.etc-simulator .sim-card-img-wrap {
  flex-shrink: 0;
}
.etc-simulator .sim-card-img {
  width: 90px;
  height: auto;
  display: block;
}
.etc-simulator .sim-card-info {
  flex: 1;
  min-width: 0;
  padding: 0 0 0 10px;
}
.etc-simulator .sim-card-name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}
.etc-simulator .sim-benefit {
  margin-bottom: 8px;
}
.etc-simulator .sim-benefit small {
  color: #666;
  font-size: 12px;
  margin-right: 4px;
}
.etc-simulator .sim-benefit strong {
  color: #e65332;
  font-size: 16px;
  font-weight: 800;
}
.etc-simulator .sim-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: #e6412e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.etc-simulator .sim-cta-sub {
  font-size: 10px;
  font-weight: 600;
  margin-left: 2px;
}
.etc-simulator .sim-note {
  margin: 18px 0 0;
  color: #777;
  font-size: 11px;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .etc-simulator .sim-head { padding: 26px 16px 24px; }
  .etc-simulator .sim-head h2 { font-size: 20px; }
  .etc-simulator .sim-body { padding: 22px 16px 26px; }
  .etc-simulator .select-label { font-size: 16px; }
  .etc-simulator .select-wrap select { min-height: 56px; font-size: 16px; }
  .etc-simulator .sim-result { padding: 26px 16px 28px; }
  .etc-simulator .sim-result-title { font-size: 20px; }
  .etc-simulator .usage-item { width: 100%; }
  .etc-simulator .sim-card-img { width: 70px; }
  .etc-simulator .sim-ranking-card { padding-left: 16px; gap: 10px; }
}

.etc-simulator .sim-reasons {
  margin: 0 0 10px;
  padding-left: 18px;
  list-style: disc;
}
.etc-simulator .sim-reasons li {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2px;
}
.etc-simulator .sim-reasons img {
  vertical-align: middle;
  margin: 0 2px;
}