@charset "utf-8";

/*
基本的に弄らない記述　↓↓
---------------------------------------------------------------------------*/
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 80%;
	--min-font-limit: 0.75rem;
}

/*PC*/
@media (min-width: 768px) {
	html {font-size: 100%;  --min-font-limit: 0px;}
	.sp{display: none;}
}

body{
	font-size: 1rem;
	line-height: 1.7;
	color: #333333;
	font-family: "Noto Sans JP", sans-serif;
}

:root {
	/*ヘッダー・フッター*/
	--main: #262F3E;
	--main-back:#eff4f7;
	--main-accent:#eda43d;
	--main-gray:#999999;
	
	
	--border:#c9caca;
	--link:#069;
	--link-hover:#FF3300;
	
	/*案件部*/
	--rank-main:#008F7B;
	--rank-main-dark:#003f36;
	--rank-main-light:#66BCB1;
	--rank-main-pale:#EBFBF6;
	--rank-sub:#FFD127;
	--rank-gray:#EBEBEC;
	--rank-back:#cdf5ef;
	--rank-back-sub:#FFF6DE;
	--rank-back-sub-pale:#faf8eb;
	
	/*タイマー*/
	--timer-back:#fefff1;
	
	/*文字色*/
	--attention:#EA4A00;
	--attention-dark:#972F00;
	--yel:#fff700;
	--gray:#666666;
	--red:#FE0004;
	--red-dark:#a30404;
	--orange:#EEAD40;
}

img,video {
	width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: var(--link);
}

a::hover{
	olor: var(--link-hover);
}

p {
  margin-bottom: 1.5em; /* 段落の下マージンは em で指定すると文字サイズに比例して便利 */
}

/*****　ヘッダー　*********************************************************/
header{
	position: relative;
    z-index: 99;
    background-color: var(--main);
    border-bottom: 2px solid var(--main-accent);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	color: #fff;
	padding: 10px;
	height: auto;
}

#header-inner {
	max-width: 750px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-brand {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.header-logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: 30px;
}

@media (min-width: 768px) {
	.header-logo img {max-height: 50px;}	
}

.header-letter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header-title {
	margin: 0;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
}
.header-subtitle {
	margin: 0;
	color: #fff;
	font-size: 0.7rem;
}
/*SP*/
@media (max-width: 768px) {
	.header-subtitle {display: none;}
}

.update_box{font-size: 1rem;}


.fv-obi{
	background: var(--rank-main);
	color: #fff;
	text-align: center;
}

/*****　メイン　*********************************************************/
section{
	margin-bottom: 3rem;
}

main{
	max-width: 750px;
	margin: 0 auto;
}

.main-pad{
	padding:0 8px;
}

.back-green-pale{
	background: #CDEEE5;
	padding: 2rem;
}
.waku-white{
	background: #fff;
	padding: 2rem;
	border-radius: 10px;
}


/*****　口コミ　*********************************************************/
.voice .title{
	background: #008F7B;
	color: #fff;
	text-align: center;
	padding: 5px;
	border-radius: 10px 10px 0px 0px;
	font-size: 1rem;
	font-weight: bold;
	margin-top: 1rem;
}

.voice .in{
	background: #FFFAE8;
	padding: 2rem;
}

.voice .komidashi{
	font-weight: bold;
	padding-left: 5px;
}
/*****　タイマー　*********************************************************/
.timer_box {
	display: none;
    text-align: center;
	background: var(--timer-back);
    width: 84%;
    margin: 0 auto 0.5rem;
    border: 3px solid var(--rank-sub);
    border-radius: 10px;
	font-weight: bold;
}

.timer_ttl {
	font-size: 1.2rem;
    background:var(--rank-sub);
    border-radius: 6px 6px 0px 0px;
    padding: 3px 5px 5px 5px;
	color: var(--rank-main-dark);
}
.timer_set {
	font-size: 2.5rem;
    color: var(--attention);
	margin:5px 10px 10px 10px;
}
.timer-unit {
    font-size: 1rem;
    color: var(--gray);
    margin-left: 2px;
    margin-right: 8px;
}

@media (min-width: 768px) {
	.timer_box{width: 76%;}
}


/*****　比較表　*********************************************************/
table{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	text-align: center;
	background: #fff;
}
table th,table td{
	border: 1px solid var(--main-gray);
}

.table{
	background: var(--rank-main);
	border-radius: 5px;
	padding: 5px;
}

.table .title{
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	color: var(--rank-sub);
	padding: 5px;
	letter-spacing: -3px;
}

@media (min-width: 768px) {
	.table .title{font-size: 1.8rem;}
}

.title-icon {
	color: #DBCE78;
	margin: 0 4px;
}

/* 王冠アイコン（SVG）のデザイン一括管理 */
.table .title-icon {
	fill: currentColor;
    width: 1.5em;
    height: 1.5em;
    vertical-align: -0.3em;
}


.table .title .sub{
	width: 90%;
	margin: 0 auto;
	background: #fff;
	padding: 3px;
	color: var(--rank-main);
	font-weight: bold;
	border-radius: 5px;
}


.table table th{
	background: var(--rank-main-pale);
	/*width: 25%;*/
	width: 17%;
	padding: 5px;
}

.table table td{
/*	padding: 15px 15px 5px 15px;*/
	padding: 10px 2px;
	vertical-align:top;
	line-height: 1.3;
}

.rank-icon {
	max-width: 30px;
	margin: 0 auto;
}

/*** 比較表 1行目 ***/
/**************************************/
.table-point{
    color: var(--red);
    font-weight: bold;
    border: dotted 1px var(--red);
	width: 96%;
    margin: 0 auto 10px;
	letter-spacing: -1px;
}

.table table td img{
	max-width: 70px;
	margin: 0 auto 5px;
}

.table table td a{
	font-weight: bold;
}

/*** 比較表 最後（CTA） ***/
/**************************************/
.table table td.cta_btn_set{
	padding:5px;
}

.cta_btn_set a {
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
    background: var(--red);
    border-bottom: 4px solid var(--red-dark);
    position: relative;
    overflow: hidden;
	display: block;
}

/* 光のエフェクト */
.cta_btn_set a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%; /* 光の帯の太さ */
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine-light 2s ease-in-out infinite; /* 繰り返しの間隔 */
}
@keyframes shine-light {
  0% {left: -100%;}
  25% {left: 150%;}
  100% {left: 150%;}
}



/*** 比較表 注釈 ***/
/**************************************/
.accordion-cb {display: none;}
.accordion-item {
	padding: 10px;
	font-size: 0.6rem;
	color: #fff;
}

.accordion-trigger {
	display: block;
	cursor: pointer;
	user-select: none;
	text-align: center;
	border: 1px solid #04775E;
	width: 90%;
	margin: 0 auto;
	padding: 3px;
}

.accordion-content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.accordion-item:has(.accordion-cb:checked) .accordion-content-wrapper {
  grid-template-rows: 1fr;
}

.accordion-content {
	overflow: hidden;
	min-height: 0;
	padding: 0px 10px;
	transition: padding 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item:has(.accordion-cb:checked) .accordion-content {padding: 10px;}
.rank-cta .accordion-item{padding: 0px;}

/*** 比較表 アイコンスタイル ***/
/**************************************/
.ico-niju, .ico-maru, .ico-sankaku, .ico-batsu,.ico-line {margin: 0 auto 8px;}

/* ◎ 二重丸 */
.ico-niju {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--attention);
    border-radius: 50%;
    position: relative;
}
.ico-niju::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--attention);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* 〇 丸 */
.ico-maru {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--orange);
    border-radius: 50%;
}

/* △ 三角 */
.ico-sankaku {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 21px solid #999;
}

/* × バツ */
.ico-batsu {
    width: 22px;
    height: 22px;
    position: relative;
}
.ico-batsu::before, .ico-batsu::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ccc;
    transform: translateY(-50%) rotate(45deg);
}
.ico-batsu::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* - ハイフン */
.ico-line {
    width: 22px;
    height: 22px;
    position: relative;
}
.ico-line::before {
    content: "";
    position: absolute;
    top: 200%;/*50%;*/
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ccc;
    transform: translateY(-50%);
}



/*****案件部******************************************************************************/
/*.waku-red {
    border: 3px solid #FE0004 !important;
    box-shadow: 0 0 10px rgba(254, 0, 4, 0.3);
}*/
.waku-red-border {
    border-left: 3px solid #FE0004 !important;
    border-right: 3px solid #FE0004 !important;
}

.table tr:first-child .waku-red-border {
    border-top: 3px solid #FE0004 !important;
}

.table tr:last-child .waku-red-border {
    border-bottom: 3px solid #FE0004 !important;
}

.rank{
	background: var(--rank-main-light);
	border-radius: 10px;
	display: flow-root;
	margin-bottom: 4rem;
}

.rank-pad{
	padding:8px;
}

/*** 案件部　枠のベース ***/
/**************************************/

/*--- 白い角丸の枠 ---*/
.rank .waku{
	background: #fff;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
}


/*--- 白い角丸＋グレーのタイトル ---*/
.waku-title {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
	margin-bottom: 10px;
}

.waku-title .title {
  background-color: var(--rank-gray);
  border-bottom: 1px solid var(--border);
  font-weight: bold;
  text-align: center;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
	min-height: 30px;
}

.waku-title .in {
  background-color: #ffffff;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-grow: 1;
	height: auto;
}




/*** 案件部　タイトル ***/
/**************************************/
.rank-title {
    height: 56px;
    color: #fff;
    background-color: var(--rank-main);
	margin: 1rem 0 0.3rem;
}
.rank-title-icon {
    background-repeat: no-repeat;
    background-size: 48px;
    margin: 0px 10px 0;
    height: 100%;
    background-position: 0px 3px;
}
.rank-title-name {
    padding: 19px 0px 0px 58px;
    display: block;
	color: #fff;
	font-weight: bold;
	font-size: 1.2rem;
}
.rank-title br,
.site-reco-info .name br{
	display: none;
}


/*** 案件部　上部要素 ***/
/**************************************/

/*--- バナー ---*/
.rank .banner{
	width:100%;
	margin: 1rem auto;
}

@media (min-width: 768px) {
	.rank .banner{width: 80%;}
}

/*--- キャッチコピー ---*/
.rank .copy{
	color: var(--rank-main-dark);
	text-align: center;
	font-size: 1.1rem;
	font-weight: bold;
	margin: 1rem 0;
}

.rank .copy-line{
	border-bottom: 5px solid rgb(254, 195, 34);
}


/*** 案件部　券面とアイコン ***/
/**************************************/
.rank-main {
	display: flex;
	align-items: center;
	gap: 8px; 
	width: 100%;
	margin-bottom: 1rem;
}

/*--- 券面 ---*/
.rank-card {
	flex-shrink: 0; 
}
.rank-card img {
  display: block;
  width: 100%;
  height: auto;
	max-width: 300px;
}

/*--- アイコン ---*/
.rank-icons {
  flex-grow: 1;
}

.rank-icons table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
}

.rank-icons td {
	border: none;
  background-color: var(--rank-main);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  padding: 12px 8px;
  border-radius: 4px;
  width: 50%;
  line-height: 1.3;
}

.rank-icons td span {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
}

.rank-icons td sup {
	font-size: 8px;
	color: #fff;
}

/* グレーアウト用 */
.rank-icons td.disabled {
  background-color: #e0e0e0;
  color: #666666;
}

/*SP*/
@media (max-width: 767px) {
	.rank-card {width: calc(30% - 4px); flex-shrink: 0;}
	.rank-icons {width: calc(70% - 4px);flex-shrink: 0;}
	.rank-icons table {border-spacing: 4px;}
	.rank-icons td {font-size: 11px;padding: 6px 4px;}
	.rank-icons td span {font-size: 8px;}
}




/*** 案件部　キャンペーン情報などのオレンジBOX ***/
/**************************************/
.info {
  position: relative;
  width: 96%;
  margin: 2.5rem auto 1rem;
/*  padding: 33px 16px 21px; */
	padding: 25px 12px 15px;
  background-color: #ffffff;
  border-top: 3px solid var(--attention);
  border-bottom: 3px solid var(--attention);
  text-align: center;
	font-weight: bold;
}

.info .title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%); /* 上線の真ん中に重ねる */
  background-color: var(--attention);
  color: #ffffff;
  padding: 5px 30px;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.info-content p{
	margin-bottom: 0px;
}




/*** 案件部　スペック表 ***/
/**************************************/
.spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.spec .waku-title:nth-child(4) {
  grid-column: span 3;
}

.spec .waku-title{
	margin-bottom: 0px;
}

.spec .waku-title:nth-child(-n+3) .title{
	min-height: 40px;
}

@media (min-width: 767px) {
	.spec .waku-title:nth-child(-n+3) .title{min-height: 50px;}
}

.spec .waku-title .in {
	font-weight: bold;
}

.spec .waku-title .in .x0-8em{
	display: block;
	width: 100%;
	text-align: center;
}



/*** 案件部　スペック表：画像アイコン ***/
/**************************************/
.waku-title .icon {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  width: 50px;
  flex-shrink: 0; 
  font-weight: bold;
  color: #333333;
  line-height: 1.2;
	font-size: 0.9rem;
}

.waku-title .icon img {
  display: block; 
  width: 100%; 
  height: auto; 
  object-fit: contain;
  margin: 0 auto 6px;  
	pointer-events: none;
}

/* .icon のみ、gap を適用 */
.waku-title .in:has(.icon) {gap: 6px;}

@media (min-width: 767px) {
	.waku-title .icon {width: 80px;}
	.waku-title .in:has(.icon) {gap: 16px;}
}



/*** 案件部　オススメポイント ***/
/**************************************/

/*-- 緑の枠とタイトル --*/
.recommend .waku{
	padding: 20px 10px 10px;
}

.waku-recommend {
  border: 2px solid var(--rank-main-light); 
  border-radius: 12px;
  position: relative;
  margin-top: 25px;
}

.waku-recommend .title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -70%);
  width: 220px;
  z-index: 10;
}

@media (min-width: 767px) {
	.recommend .waku {padding: 30px 16px 16px;}
	.waku-recommend .title {width: 280px;}
}


/*-- インナーエリア --*/
.waku-recommend-in {
	padding: 28px 12px 12px;
}

.waku-recommend-in ul {
  list-style: none; 
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waku-recommend-in li {
  position: relative;
  padding-left: 1.8em; 
  font-weight: bold;
}

.waku-recommend-in li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em; 
  width: 1.25em; 
  height: 1.25em;
  background-color: var(--attention);
  border-radius: 50%;
}

.waku-recommend-in li::after {
  content: "";
  position: absolute;
  left: 0.45em;
  top: 0.3em;
  width: 0.3em;
  height: 0.55em;
  border: solid #ffffff;
  border-width: 0 0.15em 0.15em 0;
  transform: rotate(45deg);
}

@media (min-width: 767px) {
	.waku-recommend-in {padding: 40px 32px 25px;}
	.waku-recommend-in ul {gap: 16px;}
}



/*** 案件部　キャンペーン情報 ***/
/**************************************/
.campaign .waku{
	text-align: center;
	font-size: 1.2rem;
	font-weight: bold;
	padding: 1.5rem;
}
.campaign .title{
	width: 220px;
	margin: 0 auto 1rem;
	background: var(--rank-main-light);
	padding: 5px;
	font-size: 1.3rem;
	color: #fff;
	border-radius: 10px;
}
@media (min-width: 767px) {
	.campaign .title{width: 280px}
}



/*** 案件部　CTAエリア ***/
/**************************************/
.rank-cta{
	background: var(--rank-gray);
	padding: 1rem;
	border-radius: 0px 0px 10px 10px;
}
.cta01-area .rank-cta{
	background: #fff;
	padding: 0;
}

.rank-cta .cta_btn_set a{
/*	background: var(--attention);
	border-bottom: 4px solid var(--attention-dark);*/
	text-align: center;
	border-radius: 10px;
	font-weight: bold;
	font-size: 1.3rem;
	margin-bottom: 1rem;
	line-height: 2;
}

.rank-cta .cta_btn_set a .sub{
	display: block;
	font-size: 0.8rem;
	font-weight: normal;
	color: var(--yel);
}
.rank-cta .cta_btn_set a .sub sup{
	color: var(--yel);
}

.rank-cta .accordion-trigger{
	background: var(--rank-gray);
	border: none;
	color: var(--gray);
}

.rank-cta .accordion-item{
	color: var(--gray);
}





/*** コンテンツ：おすすめカード ***/
/**************************************/
.site-recommend {
  background: var(--rank-back-sub-pale);
}

.site-recommend .title,
.site-popular .title{
  background: var(--rank-main);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  letter-spacing: 1px;
}

.site-reco {
  border-bottom: 2px dotted var(--rank-main);
}
.site-reco:last-child {
  border-bottom: none;
}

.site-reco-anken a.btn_id {
  display: flex;
  align-items: flex-start;
  padding: 18px 15px;
  text-decoration: none;
  gap: 10px;
}

.site-reco-anken a.btn_id:hover {
  opacity: 0.85;
}


/*-- カード券面 --*/
.site-reco-card {
  flex-shrink: 0;
  width: 25%;
}

.site-reco-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/*-- カードテキスト情報エリア --*/
.site-reco-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-reco-info .name {
  font-weight: bold;
  margin-bottom: 3px;
}

.site-reco-info .description {
	color: #333333;
	margin-bottom: 6px;
}

.site-reco-info .link {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-reco-info .link::after,
.column-item::after{
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #00876c;
  /* SVGによる白色の右向き矢印アイコン */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
  flex-shrink: 0;
}

.site-reco .kome{
	padding: 0 0 10px;
}



/*** コンテンツ：クレカ発行の流れ ***/
/**************************************/
.site-flow{
	background: var(--rank-back);
	padding: 2.5rem 1rem 1rem 1rem;
}

.site-flow-cont{
	background: var(--rank-back-sub);
	padding: 1rem 1rem 0rem 1rem;
	border-radius: 10px;
	margin-bottom: 3rem;
}
.site-flow-cont:last-child{
	margin-bottom: 0px;
}

.site-flow-cont .title{
	background: var(--rank-main);
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	padding: 5px;
	margin-top: -1.5em;
	margin-bottom: 1rem;
	border-radius: 5px
}

.site-flow-cont .midashi{
	font-size: 1.3rem;
	font-weight: bold;
	border-bottom: 2px solid #333;
}

.site-flow-cont .text{
	padding: 1rem;
	font-weight: bold;
}








/*** コンテンツ：絞り込み検索 ***/
/**************************************/
.card-search-form {
  background-color: #fcfaf2; 
  border: 1px solid var(--rank-main);
  border-radius: 8px;
  overflow: hidden;
}

.search-header {
  background: var(--rank-main);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  letter-spacing: 1px;
}

/*---- フォーム本体エリア ----*/
.search-body {
  padding: 2rem;
}

/* 各項目ブロック */
.filter-group {
  margin-bottom: 20px;
}

.filter-title {
  font-size: 15px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 16px;
  background-color: var(--rank-main);
}

/*---- ボタン----*/
.filter-options.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* カード型ラベル */
.option-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 8px;
  height: 48px;
  padding: 0 10px;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* デフォルトのラジオ/チェックボックスを非表示 */
.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  display: none;
}

/* 選択された状態のスタイル (緑枠) */
.option-card:has(input:checked) {
  border: 2px solid #00876c;
}

/* ラベル内コンテンツ */
.option-card .label-text {
  font-size: 14px;
  color: #333333;
  white-space: nowrap;
}

.option-card .label-img {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 28px;
}

.option-card .label-img img {
  max-width: 100%;
  max-height: 28px;
  object-fit: contain;
}

/* ===================================
   カスタムアイコン (ラジオボタン & チェック)
   =================================== */

/* --- ラジオボタンの二重円アイコン --- */
.custom-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #888888;
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
}

.option-card input[type="radio"]:checked + .custom-radio {
  border-color: #00876c;
}

.option-card input[type="radio"]:checked + .custom-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00876c;
}

/* --- チェックボックスのグレー/緑チェックマーク --- */
.custom-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  /* 灰色のチェックアイコン */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.option-card input[type="checkbox"]:checked + .custom-check {
  /* 緑色のチェックアイコン */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300876c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* --- 検索ボタン --- */
.submit-wrapper {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background:var(--attention);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  padding: 14px 45px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.95;
}

.submit-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/*SP*/
@media (max-width: 520px) {
  .filter-options.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}









/*** コンテンツ：コラム一覧 ***/
/**************************************/
.site-column {
  background: var(--main-back);
  padding: 30px 20px;
}

.site-column .title {
  background-color: var(--rank-main);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  max-width: 450px;
  margin: 0 auto 25px auto;
  letter-spacing: 1px;
}

.column{
	padding: 2rem 1rem 1rem;
}
.column ul{
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}
.column p:last-child{
	margin-bottom: 0;
}

.column h1{
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--rank-main);
	border-bottom: 2px solid var(--rank-main);
	border-left: 8px solid var(--rank-main);
	padding-left: 5px;
	margin-bottom: 1rem;
}

.column h3{
	font-size: 1rem;
	font-weight: bold;
	color: var(--rank-main);
	border-bottom: 2px solid var(--rank-main);
	margin: 3rem 0 1rem;
}

/*-- コラム一覧 --*/
.column-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.column-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: #333333;
  border: 1px solid #ffffff; /* 通常時は背景と同じ色の枠線で見えないようにする */
  transition: all 0.2s ease;
  line-height: 1.4;
  gap: 10px;
}

.column-item:hover {
  border: 1px solid var(--rank-main);
}










/*** コンテンツ：人気のランキング ***/
/**************************************/
.site-popular {
  background: var(--rank-main-light);
}

/*-- グリッド枠 --*/
.ranking-grid {
	padding: 1.5rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.ranking-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ranking-card:hover {
  opacity: 0.9;
  transform: translateY(-2px); /* マウスオーバー時に少し浮き上がる */
}

.card-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

/******絞り込み検索
******************************************************************************/
.search-result-count{
	font-size: 1.5rem;
	font-weight: bold;
	margin: 20px 0;
	border-bottom: 2px solid #E5DED0;
}
.search-result-count span{
	color: var(--attention);
	font-size: 2rem;
}

.card-search-form .in{
	padding: 15px;
}

.sort-buttons{
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
}

.sort-buttons a{
	text-align: center;
	background: #fff;
	border:2px solid #D0D0D0;
	padding: 1rem;
	border-radius: 10px;
	color: #333333;
}

@media (min-width: 767px) {
	.sort-buttons{
		flex-direction: row;
	}
}

/*******************************************************************************/

footer{
	background: var(--main);
	border-bottom: 2px solid var(--main-accent);
	margin: 0 auto;
	padding:1.5rem;
	text-align: center;
	color: #fff;
}

footer img{
	max-width: 230px;
	margin: 0 auto 1rem;
}

footer ul{
	max-width: 400px;
	margin: 0 auto 1rem;
}

@media (min-width: 767px) {
	footer ul{max-width: 600px;}
}

footer ul li{
	list-style: none;
	display: block;
	text-align: left;
	color: #fff;
	border-top: 1px solid #fff;
	padding: 13px;
	font-size: 0.8rem;
}
footer ul li:last-child{
	border-bottom: 1px solid #fff;
}

footer ul li a{
	color: #fff;
}

.pagetop {
	background: var(--main-gray);
	text-align: center;
	font-size: 0.8rem;
}

.pagetop a {
	display: block;
	padding: 10px;
	color: #fff;
	text-decoration: none;
}

.copyright{
	font-size: 13px;
}



/*****SP専用の固定ナビ**********************/
/******************************************************************/
/* PC表示で非表示 */
.mobile-fixed-footer {
  display: none;
}

@media (max-width: 768px) {
  
  /* 固定フッターでページ最下部のコンテンツが隠れないようbodyに余白を設定 */
  footer {
    padding-bottom: calc(50px + env(safe-area-inset-bottom));
  }

  /* 固定フッター本体 */
  .mobile-fixed-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: var(--main);
    border-top: 1px solid var(--main-gray);
    z-index: 9999;
    box-sizing: content-box;
    /* iPhoneのホームバー（下部セーフエリア）重なり対策 */
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* 各ボタン要素 */
  .footer-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    gap: 3px;
    transition: background-color 0.15s ease;
  }

  /* アイコン領域 */
  .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
  }

  .nav-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffffff;
  }

  /* テキスト領域 */
  .nav-text {
    line-height: 1;
    letter-spacing: -0.2px;
  }
}


/********文字*******************************/
.kome,
.kome-r,
.kome-l,
sup{
	font-size: 0.6rem;
	color: #6d6d6d;
	font-weight: normal;
}
.kome-r{text-align: right;}
.kome-l{text-align: left;}


/********サイズなど*******************************/
.b{font-weight: bold;}
.noclick{pointer-events: none;}
.w100{width: 100%; height: auto;}
.w90{width: 90%; height: auto; display: block; margin: 0 auto;}
.w80{width: 80%; height: auto; display: block; margin: 0 auto;}
.w30{width: 30%; height: auto; display: block; margin: 0 auto;}
.w20{width: 20%; height: auto; display: block; margin: 0 auto;}
.w10{width: 10%; height: auto; display: block; margin: 0 auto;}

.mt0{margin-top:0px!important;}
.mb0{margin-bottom:0px!important;}
.mb5{margin-bottom:5px!important;}
.mb1rem{margin-bottom:1rem!important;}
.mb2rem{margin-bottom:2rem!important;}
.x0-6em{font-size: 0.6em;}
.x0-8em{font-size: 0.8em;}
.x1-2em{font-size: 1.2em;}
.x1-5em{font-size: 1.5em;}
.x2em{font-size: 2em;}


.table br2{display: block;}

/*****文字*************************************************************************************/
/**********************************************************************************************/
.attention{color: var(--attention);}
.orange{color: var(--orange);}
.red{color: #FF5043;}
.white{color: #fff;}
.yel{color: #ffff00;}

.marker {
	background:linear-gradient(transparent 50%, #ffff00 0%);
	display: inline;
	background-repeat: no-repeat;
	background-size: 0% 100%;
	transition:background-size 1.5s;
}
.marker.on {background-size: 100% 100%;}

.under_yel {
  background: linear-gradient(transparent 50%, rgba(255, 252, 107, 0.69) 50%);
}