@charset "utf-8";

#tokudai-panel {
	color: #333;
}

#tokudai-panel h2 {
	position: relative;
	margin: 18px 0 0;
	border-radius: 16px;
	min-height: 74px;
	padding: 0;
	font-weight: bold;
	font-size: 34px;
	background: linear-gradient(135deg, #ff8f1f 0%, #ffb347 100%);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

#tokudai-panel h2 img {
	position: absolute;
	left: 16px;
	bottom: 0;
}

#tokudai-panel h2 span {
	display: block;
	padding: 16px 24px 16px 102px;
	color: #fff;
	line-height: 1.35;
}

#tokudai-panel .tokudai-panel-inner {
	padding: 26px 20px 40px;
}

#tokudai-panel .kd-hero {
	margin: 12px 0 18px;
	padding: 24px 24px 28px;
	background: #fff8ef;
	border: 1px solid #ffd7a8;
	border-radius: 18px;
}

#tokudai-panel .kd-hero__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	color: #d76b00;
	font-weight: bold;
	font-size: 13px;
	letter-spacing: 0.05em;
}

#tokudai-panel .kd-hero__lead {
	margin: 18px 0 0;
	font-size: 16px;
	line-height: 1.95;
}

#tokudai-panel .kd-hero__points {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

#tokudai-panel .kd-hero__points li {
	position: relative;
	margin: 0 0 10px;
	padding: 0 0 0 28px;
	line-height: 1.8;
}

#tokudai-panel .kd-hero__points li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #ff9f2f;
	box-shadow: inset 0 0 0 4px #fff;
}

#tokudai-panel .kd-hero__cta {
	margin: 22px 0 0;
	font-size: 0;
}

#tokudai-panel .kd-hero__cta a,
#tokudai-panel .kd-related-links a,
#tokudai-panel .kd-card__btn a {
	display: inline-block;
	margin: 0 12px 12px 0;
	padding: 12px 18px;
	border-radius: 999px;
	background: #1f4aa8;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(31, 74, 168, 0.18);
}

#tokudai-panel .kd-hero__cta a:hover,
#tokudai-panel .kd-related-links a:hover,
#tokudai-panel .kd-card__btn a:hover,
#tokudai-panel .page a:hover {
	opacity: 0.9;
}

#tokudai-panel .kd-anchor-nav {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

#tokudai-panel .kd-anchor-nav li {
	float: left;
	width: 19%;
	margin-right: 1.25%;
}

#tokudai-panel .kd-anchor-nav li:last-child {
	margin-right: 0;
}

#tokudai-panel .kd-anchor-nav a {
	display: block;
	padding: 14px 10px;
	border-radius: 14px;
	background: #f5f7fb;
	border: 1px solid #dde5f2;
	color: #22408d;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	line-height: 1.5;
}

#tokudai-panel .kd-anchor-nav a:hover {
	background: #ebf1ff;
}

#tokudai-panel .kd-section {
	margin: 36px 0 0;
}

#tokudai-panel .kd-section__label {
	margin: 0 0 8px;
	color: #ff8a00;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.12em;
}

#tokudai-panel h3 {
	margin: 0;
	padding: 0 0 12px;
	font-weight: bold;
	font-size: 31px;
	line-height: 1.4;
	border-bottom: 3px solid #333;
	color: #333;
}

#tokudai-panel .kd-section__intro {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.95;
}

#tokudai-panel .kd-card-grid {
	margin: 20px 0 0;
}

#tokudai-panel .kd-card {
	float: left;
	width: calc(50% - 14px);
	margin: 0 28px 28px 0;
	padding: 24px 22px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	box-sizing: border-box;
}

#tokudai-panel .kd-card:nth-child(2n) {
	margin-right: 0;
}

#tokudai-panel .kd-card h4,
#tokudai-panel .kd-scene-item h4,
#tokudai-panel .kd-tip-item h4,
#tokudai-panel .kd-step__body h4 {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.5;
}

#tokudai-panel .kd-card p,
#tokudai-panel .kd-scene-item p,
#tokudai-panel .kd-tip-item p,
#tokudai-panel .kd-step__body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
}

#tokudai-panel .kd-card__meta {
	margin: 14px 0 0 !important;
	color: #6d6d6d;
	font-size: 13px !important;
}

#tokudai-panel .kd-card__btn {
	margin: 18px 0 0 !important;
}

#tokudai-panel .kd-scene-section {
	padding: 28px;
	background: #fffdf8;
	border: 1px solid #ffe6bb;
	border-radius: 20px;
}

#tokudai-panel .kd-scene-list {
	margin: 18px 0 0;
}

#tokudai-panel .kd-scene-item {
	float: left;
	width: calc(50% - 12px);
	margin: 0 24px 24px 0;
	padding: 20px 20px 18px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

#tokudai-panel .kd-scene-item:nth-child(2n) {
	margin-right: 0;
}

#tokudai-panel .kd-tip-list {
	margin: 20px 0 0;
}

#tokudai-panel .kd-tip-item {
	float: left;
	width: calc(50% - 12px);
	margin: 0 24px 24px 0;
	padding: 22px;
	background: #f9fbff;
	border: 1px solid #dce8ff;
	border-radius: 18px;
	box-sizing: border-box;
}

#tokudai-panel .kd-tip-item:nth-child(2n) {
	margin-right: 0;
}

#tokudai-panel .kd-memo {
	margin: 4px 0 0;
	padding: 22px 24px;
	background: #fff7e9;
	border-left: 6px solid #ff9a1f;
	border-radius: 0 16px 16px 0;
}

#tokudai-panel .kd-memo h4 {
	margin: 0 0 12px;
	font-size: 20px;
}

#tokudai-panel .kd-memo ul {
	margin: 0;
	padding-left: 20px;
}

#tokudai-panel .kd-memo li {
	margin: 0 0 8px;
	line-height: 1.8;
}

#tokudai-panel .kd-ranking-list {
	margin: 24px 0 0;
}

#tokudai-panel .section-box {
	padding: 0;
}

#tokudai-panel .kd-ranking-card {
	position: relative;
	margin: 0 0 24px;
	padding: 26px;
	background: #fff;
	border: 1px solid #e6e9f0;
	border-radius: 26px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

#tokudai-panel .kd-ranking-card:last-child {
	margin-bottom: 0;
}

#tokudai-panel .kd-ranking-card .img {
	position: relative;
	float: left;
	width: 300px;
}

#tokudai-panel .kd-ranking-card .img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

#tokudai-panel .kd-ranking-card .txt {
	float: right;
	width: 330px;
	padding-top: 6px;
	font-size: 16px;
}

#tokudai-panel .kd-rank-badge {
	position: absolute;
	top: -10px;
	left: -10px;
	z-index: 2;
	display: block;
	width: 58px;
	height: 58px;
	margin: 0;
	border-radius: 50%;
	border: 4px solid #fff;
	background: #f29a1a;
	color: #fff;
	font-size: 28px;
	font-weight: bold;
	line-height: 50px;
	text-align: center;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

#tokudai-panel .kd-ranking-card__subcopy {
	margin: 0 0 10px;
	color: #2f62c9;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.6;
}

#tokudai-panel .kd-ranking-card .txt h4 {
	margin: 0 0 18px;
	padding: 0;
	font-size: 24px;
	line-height: 1.55;
	color: #17386d;
}

#tokudai-panel .kd-ranking-card .txt p {
	line-height: 1.95;
}

#tokudai-panel .btns {
	margin: 18px 0 0;
	font-size: 0;
}

#tokudai-panel .kd-label {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 10px 16px;
	border-radius: 999px;
	background: #eff3fb;
	color: #243958;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
}

#tokudai-panel .page {
	display: inline-block;
	margin: 18px 0 0;
	border-radius: 999px;
	min-height: auto;
	background: #1f5fcc;
	box-shadow: 0 6px 16px rgba(31, 95, 204, 0.22);
}

#tokudai-panel .page a {
	display: block;
	padding: 15px 34px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}

#tokudai-panel .page font {
	color: #fff !important;
}

#tokudai-panel .kd-check-section {
	padding: 28px;
	background: #f8fbff;
	border: 1px solid #dce8ff;
	border-radius: 20px;
}

#tokudai-panel .kd-check-list {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

#tokudai-panel .kd-check-list li {
	display: table;
	width: 100%;
	margin: 0 0 16px;
	padding: 18px 20px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

#tokudai-panel .kd-step {
	display: table-cell;
	width: 110px;
	vertical-align: top;
	color: #ff8a00;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.08em;
}

#tokudai-panel .kd-step__body {
	display: table-cell;
	vertical-align: top;
}

#tokudai-panel .kd-related-links {
	margin: 14px 0 0;
}

#tokudai-panel .clearfix:after,
#tokudai-panel .kd-card-grid:after,
#tokudai-panel .kd-scene-list:after,
#tokudai-panel .kd-tip-list:after,
#tokudai-panel .kd-anchor-nav:after,
#tokudai-panel .kd-related-links:after {
	content: "";
	display: block;
	clear: both;
}

/* ranking spacing adjustment */
#tokudai-panel .kd-ranking-card {
	display: flex;
	align-items: flex-start;
	gap: 22px;
}

#tokudai-panel .kd-ranking-card .img,
#tokudai-panel .kd-ranking-card .txt {
	float: none;
}

#tokudai-panel .kd-ranking-card .txt p {
	margin: 0;
}


/* 画像サイズはCSS側で管理 */
#tokudai-panel .kd-ranking-card .img a {
	display: block;
}

#tokudai-panel .kd-ranking-card .img img {
	width: 100% !important;
	height: auto !important;
	max-width: none;
	object-fit: cover;
}


/* ranking width rebalance */
#tokudai-panel .kd-ranking-card {
	gap: 26px;
}

#tokudai-panel .kd-ranking-card .img {
	width: 250px;
	flex: 0 0 250px;
}

#tokudai-panel .kd-ranking-card .txt {
	width: auto;
	flex: 1 1 auto;
	padding-top: 10px;
}

#tokudai-panel .kd-ranking-card .txt h4 {
	max-width: none;
}

/* --------------------------------------------------------------------------------
   SP layout overrides
-------------------------------------------------------------------------------- */
html,
body {
	-webkit-text-size-adjust: 100%;
}

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

@media screen and (max-width: 767px) {
	body {
		min-width: 100%;
	}

	#container,
	#wrapper,
	#main,
	#sub1,
	#footer,
	#header {
		width: 100%;
		min-width: 0;
		float: none;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	#container {
		overflow: hidden;
	}

	#header .headline {
		padding: 8px 12px;
	}

	#header .h-txt h1 {
		font-size: 12px;
		line-height: 1.5;
	}

	#header .h-menu {
		display: none;
	}

	#header .logo-fax {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 10px 12px;
	}

	#header .h-logo,
	#header .h-txt-fax {
		float: none;
	}

	#header .h-logo {
		width: 44%;
	}

	#header .h-txt-fax {
		width: 52%;
		text-align: right;
	}

	#header .h-nav ul {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		padding: 10px 12px;
		margin: 0;
		list-style: none;
	}

	#header .h-nav li {
		float: none;
		width: calc(50% - 4px);
		margin: 0;
	}

	#header .h-nav li img {
		width: 100%;
		height: auto;
		display: block;
	}

	#wrapper {
		padding: 0 0 24px;
	}

	#main {
		padding: 0 12px;
	}

	#sub1 {
		display: none;
	}

	#tokudai-panel .breadcrumb {
		display: none;
	}

	#tokudai-panel .kd-hero {
		margin: 12px 0 14px;
		padding: 16px 14px 18px;
		border-radius: 16px;
	}

	#tokudai-panel h2 {
		margin-top: 10px;
		min-height: 0;
		border-radius: 14px;
		font-size: 24px;
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	}

	#tokudai-panel h2 img {
		left: 12px;
		bottom: 0;
		width: 56px;
	}

	#tokudai-panel h2 span {
		padding: 13px 14px 13px 76px;
		font-size: 24px;
		line-height: 1.35;
	}

	#tokudai-panel .tokudai-panel-inner {
		padding: 18px 0 24px;
	}

	#tokudai-panel .kd-hero__eyebrow {
		margin-bottom: 10px;
		font-size: 11px;
	}

	#tokudai-panel .kd-hero__lead,
	#tokudai-panel .kd-section__intro,
	#tokudai-panel .kd-card p,
	#tokudai-panel .kd-scene-item p,
	#tokudai-panel .kd-tip-item p,
	#tokudai-panel .kd-step__body p {
		font-size: 14px;
		line-height: 1.85;
	}

	#tokudai-panel .kd-hero__points {
		margin-top: 14px;
	}

	#tokudai-panel .kd-hero__points li {
		padding-left: 24px;
		margin-bottom: 8px;
	}

	#tokudai-panel .kd-hero__points li:before {
		top: 6px;
		width: 14px;
		height: 14px;
		box-shadow: inset 0 0 0 3px #fff;
	}

	#tokudai-panel .kd-hero__cta,
	#tokudai-panel .kd-related-links {
		display: block;
		margin-top: 16px;
	}

	#tokudai-panel .kd-hero__cta a,
	#tokudai-panel .kd-related-links a,
	#tokudai-panel .kd-card__btn a {
		display: block;
		width: 100%;
		margin: 0 0 10px;
		padding: 13px 16px;
		font-size: 14px;
		text-align: center;
		box-sizing: border-box;
	}

	#tokudai-panel .kd-anchor-nav {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 14px;
	}

	#tokudai-panel .kd-anchor-nav li {
		float: none;
		width: calc(50% - 4px);
		margin: 0;
	}

	#tokudai-panel .kd-anchor-nav a {
		padding: 11px 8px;
		font-size: 13px;
		line-height: 1.45;
	}

	#tokudai-panel .kd-section {
		margin-top: 26px;
	}

	#tokudai-panel h3 {
		padding-bottom: 10px;
		font-size: 24px;
		line-height: 1.45;
	}

	#tokudai-panel .kd-card-grid,
	#tokudai-panel .kd-scene-list,
	#tokudai-panel .kd-tip-list {
		margin-top: 16px;
	}

	#tokudai-panel .kd-card,
	#tokudai-panel .kd-scene-item,
	#tokudai-panel .kd-tip-item {
		float: none;
		width: 100%;
		margin: 0 0 14px;
		padding: 18px 16px;
		border-radius: 16px;
	}

	#tokudai-panel .kd-card h4,
	#tokudai-panel .kd-scene-item h4,
	#tokudai-panel .kd-tip-item h4,
	#tokudai-panel .kd-step__body h4 {
		margin-bottom: 10px;
		font-size: 18px;
		line-height: 1.5;
	}

	#tokudai-panel .kd-card__meta {
		font-size: 12px !important;
	}

	#tokudai-panel .kd-scene-section,
	#tokudai-panel .kd-check-section {
		padding: 18px 14px;
		border-radius: 18px;
	}

	#tokudai-panel .kd-memo {
		padding: 18px 16px;
		border-left-width: 5px;
	}

	#tokudai-panel .kd-memo h4 {
		font-size: 17px;
	}

	#tokudai-panel .kd-memo ul {
		padding-left: 18px;
	}

	#tokudai-panel .kd-ranking-list {
		margin-top: 18px;
	}

	#tokudai-panel .kd-ranking-card {
		display: block;
		margin-bottom: 16px;
		padding: 16px;
		border-radius: 18px;
	}

	#tokudai-panel .kd-ranking-card .img,
	#tokudai-panel .kd-ranking-card .txt {
		width: 100%;
		flex: none;
	}

	#tokudai-panel .kd-ranking-card .img {
		margin-bottom: 14px;
	}

	#tokudai-panel .kd-ranking-card .img img {
		border-radius: 16px;
	}

	#tokudai-panel .kd-rank-badge {
		top: -8px;
		left: -6px;
		width: 46px;
		height: 46px;
		font-size: 22px;
		line-height: 38px;
	}

	#tokudai-panel .kd-ranking-card__subcopy {
		margin-bottom: 8px;
		font-size: 12px;
	}

	#tokudai-panel .kd-ranking-card .txt {
		padding-top: 0;
		font-size: 14px;
	}

	#tokudai-panel .kd-ranking-card .txt h4 {
		margin-bottom: 12px;
		font-size: 19px;
		line-height: 1.55;
	}

	#tokudai-panel .btns {
		margin-top: 14px;
	}

	#tokudai-panel .kd-label {
		margin: 0 8px 8px 0;
		padding: 8px 12px;
		font-size: 12px;
	}

	#tokudai-panel .page {
		display: block;
		margin-top: 14px;
	}

	#tokudai-panel .page a {
		padding: 13px 18px;
		font-size: 14px;
	}

	#tokudai-panel .kd-check-list li {
		display: block;
		margin-bottom: 12px;
		padding: 16px 14px;
	}

	#tokudai-panel .kd-step,
	#tokudai-panel .kd-step__body {
		display: block;
		width: auto;
	}

	#tokudai-panel .kd-step {
		margin-bottom: 8px;
		font-size: 12px;
	}

	#footer .heading img,
	#footer .sheading img,
	#footer .f-icon-credit img,
	#footer .btn-details img,
	#footer .bnrs img {
		max-width: 100%;
		height: auto;
	}

	#footer .sitemap,
	#footer .shop-information {
		padding: 0 12px;
	}

	#footer .sitemap-box,
	#footer .col1,
	#footer .col2,
	#footer .col3,
	#footer .col4 {
		float: none;
		width: 100%;
		margin: 0 0 14px;
	}

	#footer .bnrs ul {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 0 12px;
	}

	#footer .bnrs li {
		width: 100%;
		margin: 0;
	}
}

@media screen and (max-width: 374px) {
	#main {
		padding: 0 10px;
	}

	#tokudai-panel h2 span {
		font-size: 21px;
		padding-left: 70px;
	}

	#tokudai-panel h2 img {
		width: 50px;
	}

	#tokudai-panel .kd-anchor-nav li {
		width: 100%;
	}
}