@charset "utf-8";

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

body {
	font-family: sans-serif;
	line-height: 1.6;
	color: #333;
	background: #ffefd3;
}

img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1.6rem;
}

a {
	text-decoration: none;
	color: inherit;
}

.link a{
	text-decoration: underline;
	color: blue;
}

footer{
	background: #c98f2a;
	max-width: 1200px;
	margin: 0 auto;
	padding:1rem;
	text-align: center;
	color: #fff;
}

footer ul li{
	list-style: none;
	display: inline-block;
	border-right: 1px solid #fff;
	padding: 0px 5px;
}
footer ul li:last-child{
	border-right: none;
}

/* コンテナ枠：中央揃え、最大幅設定 */
.container {
	width: 100%;
	max-width: 1200px; /* PC時の最大幅 */
	margin: 0 auto;
}

.fv {
	width: 100%;
	pointer-events: none;
}
.fv img {
	width: 100%;
	height: auto;
	margin-bottom: 0px;
}

.main-content-layout {
	display: flex;
	flex-direction: column; /* モバイルでは縦に並ぶ */
	gap: 20px;
	margin-bottom: 1rem;
}

.content {
	flex: 1;
	background: #fff;
}

aside{
	height: 100%;
}

.sidebar {
	padding:1rem;
	background: #fff;
}

.pad10{
	padding: 16px;
}

.pad10_color{
	padding: 16px;
	background:#FFFFDF;
}

@media (min-width: 768px) {
	.main-content-layout {
		flex-direction: row; /* 横並びにする */
		margin-top: 1rem;
	}
	.content {width: 70%;}
	.sidebar {width: 30%;}
}

/********文字*******************************/
p {
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 16px;
	color: #333333;
}

h1 {
	font-size: 26px;
	line-height: 1.4;
	margin-bottom: 16px;
}

h2 {
	font-size: 22px;
	line-height: 1.5;
	margin-top: 24px;
	margin-bottom: 12px;
}

h3 {
	font-size: 20px;
	line-height: 1.5;
	margin-bottom: 12px;
}

.kome{
	font-size: 0.6em;
	color: #a9a9a9;
	text-align: right;
}
.right01{
	text-align: right;
}
sup{
	font-size: 0.6em;
	color: #a9a9a9;
}
/********サイズなど*******************************/
.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;}
.w20{width: 20%; height: auto;}
.w10{width: 10%; height: auto;}

.mt0{margin-top:0px!important;}
.m0{margin-bottom:0px!important;}
.m5{margin-bottom:5px!important;}
.m1rem{margin-bottom:1rem!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;}

.pc { display: block !important; }
.sp { display: none !important; }


@media (max-width: 768px){
	.pc { display: none !important; }
    .sp { display: block !important; }
}

@media (max-width: 320px){
	.pc2 { display: none !important; }
    .sp2 { display: block !important; }
}

/*****比較表************************************************************************/
/**********************************************************************************/
.table_rank{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	text-align: center;
}

.table_rank img{
	margin-bottom: 0px;
}

.table_rank th{
	background-color: #0B3351;
	color: #fff;
	width: 10%;
	padding:5px;
	border: 1px solid #fff;
}

.table_rank td{
	background: #FAFBFC;
	border: 1px solid #eee;
	padding: 5px;
}

.table_rank tr:nth-child(odd) td {
  background: #fff;
}

/* 1位 */
.table_rank td:nth-child(2) {
	background: #fff5db;
	border-left:5px solid #fffacd;
	border-right:5px solid #fffacd;
}
.table_rank tr:first-child td:nth-child(2) {border-top:5px solid #fffacd;}
.table_rank tr:last-child td:nth-child(2) {border-bottom:5px solid #fffacd;}
.table_rank tr:nth-child(odd) td:nth-child(2) {background: #FFF9EE;}
.table_rank tr:first-child a{text-decoration: underline;color: #1967d2;}

/*アイコン類*/
.icon {
  display: inline-block;
  width: 2em;
  height: 2em;
  position: relative;
  margin: 0.5em;
  vertical-align: middle;
}

.double-circle {
  border: 5px solid #dc143c;
  border-radius: 50%;
}
.double-circle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 5px solid #dc143c;
  border-radius: 50%;
}

.circle {
  border: 5px solid #ff6347;
  border-radius: 50%;
}

.triangle::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 1em solid transparent;
  border-right: 1em solid transparent;
  border-bottom: 1.7em solid #778899;
}


.obi_gray{
	background: #EFF2F5;
	padding:3px 10px;
	display: block;
}

.button-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin:0 auto;
    padding: 1em 0.5em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #bd272d;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}
.button-3:hover {
    background-color: #ad171d;
}

/*案件部ボタン*/
.waku_round_title .button-3{
	margin-bottom: 3rem;
	font-size: 1.2rem;
}

@media (max-width: 768px) {
	.w90{width: 100%;}
	.table_rank,
	.table_rank p{font-size: 0.8rem;}
	.icon{font-size: 1rem;}
}

/*****期間限定コンテンツ切り替え******************************************/
.timed-content { display: none; }


/*****相見積もりコンテンツ************************************************************************/
/**********************************************************************************/
.back_quo{
  padding: 1em;
  border: 2px dotted #0B3351;
	border-radius: 10px;
  box-sizing: border-box;
  background: #fff;
}

/* step のラッパー — 横並びにする */
.step_quo{
  display: flex;
  gap: 1rem;                   /* カラム間の余白 */
  flex-wrap: wrap;      /* 縦積み対応のため折り返し許可 */
  align-items: flex-start;
  margin: 1rem 0rem;
	align-items: stretch; 
}

/* 各カラム（3カラムにする） */
.step_quo_in{
  box-sizing: border-box;
  flex: 0 0 calc(33.333% - 0.666rem); /* 3列表示。gap分を概算で引く */
  min-width: 200px;            /* 狭い画面での崩れを防ぐ */
  background: #edf1f4;
	padding:10px;
	border-radius: 10px;
}

.komidashi_quo{
  font-weight: 700;
  margin-bottom: .5rem;
  display: block;
  align-items: center;
  gap: .5rem;
	color: #0B3351;
	font-size: 1.2rem;
	text-align: center;
	border-bottom: 2px dashed #fff;
}
.komidashi_quo span{
	display: block;
	background: #0B3351;
	color: #fff;
	display: block;
	padding:2px 8px;
	border-radius: 100px;
	margin:0px 5px 5px 0px;
	font-size: 1rem;
}

.step_quo_img{
  text-align: center;
}
.step_quo_img img{
  width: 50%;
  height: auto;
  display: inline-block;
}

/* --- スマホ（縦積み） --- */
@media (max-width:768px){
	.step_quo{
		flex-direction: column;
		gap: .75rem;
	}
	.step_quo_in{
		flex: 0 0 100%;
		min-width: 0;
	}
}


/*****案件部************************************************************************/
/**********************************************************************************/

/*****枠*********************/
.waku_round_title{
  border: 2px solid #0B3351;
  border-radius: 10px;
	background: #fff;
}
.waku_round_title .inner{
  padding: 1rem;
}
.waku_round_title h3 {
  display: flex;
  align-items: center;
  font-size: 24px;
	font-weight: bold;
	background: #0B3351;
	color: #fff;
	padding:10px 5px 10px 15px;
	margin-bottom: 0px;
}

.waku_round_title h3 img {
  display: inline-block;
  height: 1em; 
  width: auto;
  vertical-align: middle;
	margin:0em 0.3em 0em 0em;
}


/*****表*********************/
.rank_info{
	padding-top:0.5rem;
	border-top:2px dotted #EFEBEA;
}
.rank_info table{
	width: 100%;
	margin-bottom: 2em;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.rank_info table th{
	position: relative;
	text-align: left;
	width: 40%;
	padding:10px;
}

.rank_info table th:after{
  display: block;
  content: "";
  width: 30px;
  height: 2px;
  background-color: #333;
  position: absolute;
  top:calc(50% - 1px);
  right:-15px;
}

.rank_info table td{
  text-align: left;
  padding:7px 0 7px 30px;
  width: 60%;
	border: none;
}

.rank_info table tr:nth-child(even) {
    background-color: #edf1f4 !important;
}


/*****口コミ*********************/
.review-box {
  width: 100%;
  background-color: #EFEBEA;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  text-align: center;
}

.review-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
	color: #927977;
}

.slide-wrap_voice{
   display:-webkit-box;
   display:-ms-flexbox;
   display: flex;
   overflow-x: scroll;
   -webkit-overflow-scrolling: touch;
   overflow-scrolling: touch;
   scroll-snap-type: x mandatory;
   padding:0 0 1em;
   scroll-behavior: smooth;
	align-items: stretch; /* 子要素の高さを均一にする */
}
.slide-wrap_voice .slide-content2{
	flex: 0 0 90%;
	margin-right: 10px;
	flex-direction: column;
	padding: 20px;
	box-sizing: border-box;
	min-height: 100%;
	background: #fff;
}
@media screen and (max-width: 480px){
.slide-wrap_voice .slide-content2 {
    flex: 0 0 88%;
    margin: 0px 5px;
    scroll-snap-align:center;
}
}

.profile-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center; 
	display: flex;
  }
.prof_pic img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.text_block {
  display: flex;
  flex-direction: column;
	align-items: center;
}

.voice_title{
	margin-bottom: 5px!important;
	font-weight: bold;
}
.prof {
	margin:0px!important;
	font-size: 0.8em;
}
.voice_text2 {
	border-top: 1px solid #ccc;
	padding-top: 10px;
	margin-bottom: 0px!important;
}

/*キャンペーン部分*/
.campaign h4{
	color: #FC2A63;
	border-bottom: 2px solid #FC2A63;
	border-left: 8px solid #FC2A63;
}
.campaign .pad10_color{
	border-radius: 10px;
	margin-bottom: 1rem;
	background: #ffedf1;
}
.campaign .pad10_color img{
	border:3px dotted #fff;
}

/*タグ*/
.tag li{
	display: inline-block;
	margin: 0 .1em .6em 0;
	padding: .5em;
	line-height: 1;
	text-decoration: none;
	color: #0B3351;
	background-color: #fff;
	border: 1px solid #0B3351;
	border-radius: 2em;
	font-size: 0.8rem;
	background: #edf1f4;
}
.tag li:before {
	content: "#";	
}

.sidebar .tag{
	text-align: center;
}


/*リスト*/
.list01 ul {
	padding: 0 0.5em;
	margin-bottom: 2em;
}

.list01 li {
	position: relative;
	padding-left: 2.5em;
	margin: 0.8em 0;
	font-size: 1rem;
	list-style-type: none!important;
	border-bottom: dashed 1px silver;
}

.list01 li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color:#0B3351;
  color: #fff;
  border-radius: 50%;
  width: 1.6em;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1em;
}
.list01 ul li:last-of-type {
	border-bottom: none;
}

/****サイドバー***********************************************************************************/
/***********************************************************************************************/
.sidebar h3{
	margin: 0px 0px 0.5rem;
	text-align: center;
	background: #F9E9B5;
	padding:1rem;
	border-radius: 20px 5px;
	color: #543E2A;
}

.side_rank .attention{
	background: #FF3233;
	color: #fff;
	text-align: center;
	font-weight: bold;
}

@media (max-width: 768px) {
	.sidebar{display: none;}
}

/*****レビュー星***************/
.star5_rating{
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC; /* グレーカラー 自由に設定化 */
    /*font-size: 30px; フォントサイズ 自由に設定化 */
}

.star5_rating:before, .star5_rating:after{
    content: '★★★★★';
}

.star5_rating:after{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ffcf32; /* イエローカラー 自由に設定化 */
}

.star5_rating[data-rate="5"]:after{ width: 100%; } /* 星5 */
.star5_rating[data-rate="4.5"]:after{ width: 90%; } /* 星4.5 */
.star5_rating[data-rate="4"]:after{ width: 80%; } /* 星4 */
.star5_rating[data-rate="3.5"]:after{ width: 70%; } /* 星3.5 */
.star5_rating[data-rate="3"]:after{ width: 60%; } /* 星3 */
.star5_rating[data-rate="2.5"]:after{ width: 50%; } /* 星2.5 */
.star5_rating[data-rate="2"]:after{ width: 40%; } /* 星2 */
.star5_rating[data-rate="1.5"]:after{ width: 30%; } /* 星1.5 */
.star5_rating[data-rate="1"]:after{ width: 20%; } /* 星1 */
.star5_rating[data-rate="0.5"]:after{ width: 10%; } /* 星0.5 */
.star5_rating[data-rate="0"]:after{ width: 0%; } /* 星0 */

/*****キュレーション***************/
select{
	width: 100%;
	font-size: 1rem;
	padding:8px;
	margin-bottom: 0.5rem;
	color: #543E2A;
	border-color: #543E2A;
	border-radius: 5px;
}
input{
	width: 100%;
	font-size: 1rem;
	font-weight: bold;
	padding:0.8rem;
	margin-bottom: 1.6rem;
	background: #85AAC2;
	border-radius: 5px;
	color: #fff;
	border: none;
	border-bottom: 3px solid #63889B;
}

/****帯・枠・背景***********************************************************************************/
/***********************************************************************************************/
.obi01{
	background: #0B3351;
	padding:10px;
	text-align: center;
	color: #fff;
	font-weight: bold;
}


.section{
	padding:0px;
	background: #edf1f4;
	position: relative;
}
.section::before{
    content: "";
    position: absolute;
    height: 40px;
    width: 100%;
    clip-path: polygon(50% 100%, 100% 0%, 0% 0%);
    background-color: #fff;
	left: 0;
}
.section_in{
	padding:80px 16px 16px;
}

.section2{
	padding:0px;
	background: #edf1f4;
	position: relative;
	padding:16px;
}

/*****文字*************************************************************************************/
/**********************************************************************************************/
.red{color: #dc143c;}
.white{color: #fff;}

.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 {
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-decoration-color: rgba(255, 228, 0, 0.2); /* 線の色 */
  text-underline-offset: -0.2em; /* 線の位置。テキストに重なるようにやや上部にする */
  text-decoration-skip-ink: none; /* 下線と文字列が重なる部分でも下線が省略されない（線が途切れない） */
}

.under_bl {
  text-decoration: underline;
  text-decoration-thickness: 0.7em;
  text-decoration-color: rgba(138, 182, 164, 0.3);
  text-underline-offset: -0.4em;
  text-decoration-skip-ink: none;
}

/*記事見出し*/
h1{
	padding:1rem;
	color:white;
	background:#BD272D;
	box-shadow:5px 5px 0 #FDF4A4;
}

/*比較表タイトル*/
h2 {
	position: relative;
	padding: 1em;
	border-top: solid 2px #0B3351;
	border-bottom: solid 2px #0B3351;
	text-align: center;
	background: #edf1f4;
	color: #0B3351;
}
h2:before,
h2:after {
	content: '';
	position: absolute;
	top: -7px;
	width: 2px;
	height: -webkit-calc(100% + 14px);
	height: calc(100% + 14px);
	background-color: #0B3351;
}
h2:before {
	left: 7px;
}
h2:after {
	right: 7px;
}

/*案件部の小見出し*/
h4{
	color: #0B3351;
	border-bottom: 2px solid #0B3351;
	border-left: 8px solid #0B3351;
	padding-left: 8px;
	font-size: 24px;
	margin-bottom: 1rem;
}

/*冠と案件名*/
.crown_name {
  display: flex;
  align-items: center;
	justify-content: center; 
  font-size: 16px;
	font-weight: bold;
}

.crown_name img {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: middle;
	margin:0em 0.3em 0em 0em;
}

.attention{
	background: #ffffa8;
	color: #FC2A63;
	font-weight: bold;
	text-align: center;
	padding:10px;
}

.above_btn{
	text-align: center;
	font-weight: bold;
	margin-bottom: 5px;
}
/****モーション***********************************************************************************/
/***********************************************************************************************/
.dot-flashing {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 100px;
  background-color: #396e93;
  color: #396e93;
  animation: dotFlashing 1s infinite linear alternate;
  animation-delay: .5s;
	margin:3em auto;
}

.dot-flashing::before,
.dot-flashing::after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 100px;
  background-color: #396e93;
  color: #396e93;
}

.dot-flashing::before {
  top: -20px;
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 0s;
}

.dot-flashing::after {
  top: 20px;
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dotFlashing {
  0% {
    background-color: #396e93;
  }
  50%,
  100% {
    background-color:#edf1f4;
  }
}

/*ぽよぽよ*/
.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}
 

/*上下に動く*/
.updown{
animation-name:UpDown;
animation-duration: 1.5s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
animation-direction: alternate;
}
@keyframes UpDown{
	0%{transform: translateY(0);}
	100%{transform: translateY(20px);}
}

/*点滅*/
.flashing01{animation: flash01 1s ease-in-out infinite alternate;}
@keyframes flash01 {
   0% {opacity: 0.3;}
   100% {opacity: 1;}
}