@charset "UTF-8";



/****************************************************
 * ボックスデザイン｜グレー
 ****************************************************/

.boxGray {
	background-color: #F5F5F5;
	padding: 1em;
}
.boxGray-title {
	font-size: 120%;
	font-weight: bold;
	margin-bottom: .3em;
}
.boxGray-title::before {
	content: '✔ ';
	color: #88ABDA;
	font-size: 1.2em;
}
.boxGray ul,
.boxGray ol {
	margin-bottom: 0!important;
}
.boxGray li a {
/* 	color: #6FB6C3; */
	color: #1A80DA;
	font-weight: bold;
	transition: all .3s;
}
.boxGray li a:hover {
	color: #A3EAF7;
}
.boxGray p {
	margin-bottom: 0!important;
}
.boxGray b {
	color: #5A5A5A;
}



/****************************************************
 * ボックスデザイン｜口コミ＆レビュー
 ****************************************************/

.boxReview {
	display: block;
	justify-content: center;
	align-items: center;
	border: 1px solid #69788A;
	border-radius: 30px;
	padding: 2em 1em;
/* 	background-color: #F7F9FB; */
	background: linear-gradient(to right, #FFF, #F5F7FA);
}
@media screen and (min-width: 768px) {
	.boxReview {
		display: flex;
	}
}
.boxReview .boxReview-person {
	flex-basis: 20%;
	margin-right: 0;
	margin-bottom: 1em;
	text-align: center;
}
@media screen and (min-width: 768px) {
	.boxReview .boxReview-person {
		margin-right: 1em;
		margin-bottom: 0;
	}
}
.boxReview .boxReview-person p:last-child {
	display: none;
}
.boxReview .boxReview-image img {
	width: 50%;
	height: 50%;
	border-radius: 50%;
}
@media screen and (min-width: 768px) {
	.boxReview .boxReview-image img {
		width: 100%;
		height: 100%;
	}
}
.boxReview .boxReview-name {
	font-size: 80%;
	margin-bottom: 0;
}
.boxReview .boxReview-star {
	color: #F8B704;
}
.boxReview .boxReview-reviewDiv,
.boxReview .boxReview-reviewQuote {
	flex-basis: 80%;
	margin-bottom: 0;
	background-color: transparent;
    border: none;
    border-top: 0;
    border-bottom: 0;
    padding: 1em;
}
.boxReview .boxReview-reviewDiv::before,
.boxReview .boxReview-reviewDiv::after,
.boxReview .boxReview-reviewQuote::before,
.boxReview .boxReview-reviewQuote::after {
	color: #69788A;
	font-size: 80%;
}
.boxReview .boxReview-title {
	color: var(--blue-dark);
	font-size: 110%;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 0.2em;
}
.boxReview .boxReview-reviewQuote p {
	font-size: 90%;
}
.boxReview .boxReview-reviewDiv p:nth-last-child(2),
.boxReview .boxReview-reviewQuote p:nth-last-child(2) {
	margin-bottom: 0;
	padding-bottom: 0;
}
.boxReview .boxReview-reviewDiv p br,
.boxReview .boxReview-reviewQuote p br {
	display: none;
}
.boxReview .boxReview-reviewQuote p b {
	color: #D46A6A;
}
.boxReview .boxReview-reviewDiv p:empty {
    display: none;
}
.boxReview .boxReview-reviewQuote cite {
	margin-top: 1.2em;
	border-top: dashed 1px #69788A;
}
.boxReview .boxReview-reviewQuote cite a {
	color: #535252;
	margin-right: 0;
	text-decoration: none;
}
@media screen and (min-width: 768px) {
	.boxReview .boxReview-reviewQuote cite a {
		margin-right: 2em;
	}
}
.boxReview .boxReview-reviewQuote cite a::before {
	content: "引用元：";
}



/****************************************************
 * ボックスデザイン｜メリット＆デメリット
 ****************************************************/

.boxMD {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
@media screen and (max-width: 768px) {
	.boxMD {
		flex-direction: column;
	}
}
.boxMD ul {
	position: relative;
	flex: 1;
	min-width: 300px;
	box-sizing: border-box;
	list-style: none;
	margin: 0;
	padding: 4em 1em .3em 1em !important; /* タイトル帯の高さ分を上部に確保 */
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	color: #777;
	font-size: 90%;
}
.boxMD-merit {
	background-color: #FFF;
	border: 1px solid #A1C9D5;
	margin-bottom: 0!important;
}
.boxMD-demerit {
	background-color: #FFF;
	border: 1px solid #EE8379;
	margin-bottom: 0!important;
}
.boxMD-merit::before,
.boxMD-demerit::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 12px 16px;
	font-size: 1.1em;
	font-weight: bold;
	font-family: "Font Awesome 5 Free";
	color: #fff;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	box-sizing: border-box;
}
.boxMD-merit::before {
	content: "\f004  メリット";
/* 	background: linear-gradient(135deg, #4a90e2, #357abd); */
	background: #A1C9D5;
}
.boxMD-demerit::before {
	content: "\f05e  デメリット";
/* 	background-color: #D55656; */
	background: #EE8379;
}
.boxMD li {
	padding: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.boxMD li:last-child {
	border-bottom: none;
}



/****************************************************
 * ボックスデザイン｜あみあみ
 ****************************************************/

.boxNet {
	background:linear-gradient(-45deg, transparent 25%, #F6F7F8 25%, #F6F7F8 50%, transparent 50%, transparent 75%, #F6F7F8 75%, #F6F7F8);
	background-size: 4px 4px;
	border-top: 4px double #DDDEDF;
	border-bottom: 4px double #DDDEDF;
	background-clip: padding-box;
	color: #666;
	text-align: center;
	padding: 2em 1em;
}



/****************************************************
 * ボックスデザイン｜ズレ
 ****************************************************/

.boxZure {
	position: relative;
	background: none;
	border: 1px solid #ccc;
	margin: 2em auto;
	padding: 2em;
}
.boxZure:after {
	position: absolute;
	top: 7px;
	left: 7px;
	content: '';
	background-color: #eee;
	border: none;
	width: 100%;
	height: 100%;
	z-index: -1;
}



/****************************************************
 * ボックスデザイン｜インフォメーション
 ****************************************************/

/* 型の部分 */
.boxInfo {
	position: relative;
	border-radius: 10px;
	padding: 5px;
	margin-top: 1.8em;
}
.boxInfo-title {
	position: absolute;
	top: -1.35em;
	left: 1.2em;
	background: #FFF;
	font-size: 120%;
	font-weight: bold;
	padding: .5em 1em 0;
	z-index: 2;
}
.boxInfo ul,
.boxInfo ol {
	background: #FFF;
	border-radius: 5px;
	font-size: 90%;
	font-weight: 500;
	margin-bottom: 0em!important;
	padding-top: 1.2em;
	padding-bottom: 1em;
	padding-left: 3em;
	line-height: 2.2em;
}

/* デザイン｜シルバー */
.boxInfo-silver	{ background: linear-gradient(135deg, #DFE3E6, #A8ADB3); }
.boxInfo-silver .boxInfo-title	{ color: #A8ADB3;}

/* デザイン｜ブルー */
.boxInfo-blue	{ background: linear-gradient(135deg, #4F90DA, #1C5FA8); }
.boxInfo-blue .boxInfo-title	{ color: #4F90DA;}



/****************************************************
 * ボックスデザイン｜ポイント
 ****************************************************/

.skin-grayish .blank-box.bb-tab p:not(:last-child) {
	margin-bottom: 1.5em;
}



/****************************************************
 * ボックスデザイン｜リンクを目立たせる用
 ****************************************************/

.boxLink {
	position: relative;
	background-color: #eaf3fa;
	padding: 1.5em 2em 1em;
	
}
.boxLink .boxLink-title {
	position: absolute;
	top: -1em;
	left: 1em;
	display: inline-block;
	width: auto;
	padding: .5em 1em;
	box-shadow: 0 1px 2px rgb(0 0 0 / .1);
	transform: rotate(-2deg);
	background-image: repeating-linear-gradient(-45deg, #eaf3fa 0, #eaf3fa 3px,#fafafa 3px,#fafafa 6px);
	line-height: 1;
	font-size: 0.9em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.boxLink .boxLink-title::before {
	content: "\f304";
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
	margin-right: 5px;
}
.boxLink p {
	margin-bottom: 0;
}



/****************************************************
 * ボックスデザイン｜上位3つを横並びにする奴
 ****************************************************/

/* --- ラッパー --- */
.boxRankingScroll-wrapper {
	position: relative;
}

/* --- スクロール案内ラベル --- */
.boxRankingScroll-label {
	position: absolute;
	top: -28px; /* コンテナの少し上に表示 */
	right: 16px;
	font-size: 13px;
	color: #666;
	background: rgba(255, 255, 255, 0.9);
	padding: 4px 10px;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	animation: boxRankingScroll-arrow 1.5s infinite ease-in-out;
	display: none; /* デフォルト非表示 */
}

/* --- スマホ時のみ表示 --- */
@media (max-width: 767px) {
	.boxRankingScroll-label {
		display: inline-block;
	}
}

/* --- アニメーション（軽く点滅）--- */
@keyframes boxRankingScroll-arrow {
	0%, 100% { opacity: 0.5; transform: translateX(0); }
	50% { opacity: 1; transform: translateX(-4px); }
}

/* --- 全体スクロールコンテナ --- */
.boxRankingScroll {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0 16px 16px; /* スマホ時の左右余白 */
	gap: 10px; /* 各カード間の間隔 */
}
.boxRankingScroll::-webkit-scrollbar {
	display: none;
}

/* --- 各カード --- */
.boxRankingScroll-item {
	flex: 0 0 calc(100vw - 32px); /* スマホで画面いっぱい（左右余白分を差し引く） */
	background: linear-gradient(145deg, #ffffff, #f8faff);
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	scroll-snap-align: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.boxRankingScroll-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.boxRankingScroll-item > p {
	display: none;
}

/* --- 順位バッジ --- */
.boxRankingScroll-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	padding: 5px 12px;
	border-radius: 20px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	z-index: 2;
}
.boxRankingScroll-gold {
	background: linear-gradient(90deg, #FFD75E, #FFB700);
}
.boxRankingScroll-silver {
	background: linear-gradient(90deg, #D9D9D9, #BFBFBF);
}
.boxRankingScroll-bronze {
	background: linear-gradient(90deg, #E0A96D, #B27336);
}

/* --- 画像 --- */
.boxRankingScroll-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.boxRankingScroll-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.boxRankingScroll-item:hover .boxRankingScroll-image img {
	transform: scale(1.03);
}

/* --- コンテンツ領域 --- */
.boxRankingScroll-contents {
	text-align: center;
	padding: 20px 20px 24px;
	background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.boxRankingScroll-contents > p {
	margin-bottom: 0!important;
}

/* --- タイトルと評価（縦並び） --- */
.boxRankingScroll-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
}
.boxRankingScroll-header p {
	display: none;
}
.boxRankingScroll-title {
	font-size: 17px;
	font-weight: 600;
	color: #333;
	position: relative;
	padding-bottom: 3px;
}
.boxRankingScroll-title::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 50%;
	width: 50%;
	height: 2px;
	background: linear-gradient(90deg, #6B8CE3, #70B0E6);
	transform: translateX(-50%);
	border-radius: 2px;
	opacity: 0.7;
}
.boxRankingScroll-rating {
	font-size: 14px;
	font-weight: 600;
	color: #444;
}
.boxRankingScroll-star {
	color: #f5b800;
	font-size: 15px;
	margin-right: 2px;
}

/* --- ボタン --- */
.boxRankingScroll-button {
	display: inline-block;
	padding: 9px 22px;
	border-radius: 30px;
	background: linear-gradient(90deg, #6B8CE3, #70B0E6);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 3px 10px rgba(107, 140, 227, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.boxRankingScroll-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(107, 140, 227, 0.35);
}

/* --- PC時（3枚横並び） --- */
@media (min-width: 768px) {
	.boxRankingScroll {
		overflow: visible;
		scroll-snap-type: none;
		justify-content: center;
		padding: 0;
		gap: 18px;
	}
	.boxRankingScroll-item {
		flex: 1;
		border-radius: 18px;
		max-width: 340px;
	}
}












/****************************************************
 * ボックスデザイン｜何にも使ってないけど改善次第で使えると思って残してる
 ****************************************************/

.box-ranking {
	position: relative;
	padding: 2rem 1rem 1rem 3rem;
	border: solid 2px #adcce8;
	border-radius:8px;
}
.box-ranking:before {
	content: " ";
	position: absolute;
	top: -15px;
	left: 50%;
	margin-left: -75px;
	width: 150px;
	height: 30px;
	background-color: #FF6347;
	opacity: 0.7;
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
			box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
	-webkit-transform: rotate(-4deg);
			transform: rotate(-4deg);
}
.box-ranking li{
	color: #448CCB;
	font-size: 90%;
	font-weight: bold;
}






