@charset "UTF-8";
/* CSS Document */

#mv_right{
	background-image:url("../img/mv.webp");
}

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  #mv_right {
    background-image:url("../img/mv@2x.webp");
  }
}

.br_sp{
	display: none;
}

.br_pc{
	display: inline
}

/*-------------イントロ---------------*/

#intro {
    height: 32rem;
    text-align: center;
    position: relative;
	margin-bottom: 70rem;
}

#intro h2{
	margin-bottom: 8rem;
	font-size: 4rem;
}

#img_01,
#img_02,
#img_03{
    display: inline-block;
    position: absolute;
}

#img_01 {
    top: 110px;
    left: 5%;
    width: 18.7vw;
}

#img_02 {
    width: 24.3vw;
    top: 44rem;
    left: 50%;
    transform: translateX(-50%);
}

#img_03 {
    width: 18.75vw;
    top: 0;
    right: 6%;
}


/*-------------3つの理由--------------*/

#reason{
	width: 95%;
	background: #f7e4df;
	border-radius: 50px;
	margin: 50rem auto 36rem auto;
	padding:0 10rem 20rem 10rem;
	position: relative;
	container-type: inline-size;
}

#reason h2{
	text-align: center;
	position: relative;
	background: linear-gradient(45deg, #f16d6f 23%, #fbb03b 33%, #f16d6f 82%);
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
	margin-top: -1vh;
	margin-bottom: 24rem;
	font-size: clamp(24px, 2.5cqw, 40px);
	
}

#reason h2::after{
	content: "";
	background: url("../../img/top/h2_deco.svg");
	background-size: contain;
	width:53.1cqw;
	height: 5.7cqw;
	position: absolute;
	bottom: calc(100% + -2rem);
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}

#reason h2::before {
    content: "";
    background: url(../img/illust_01.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 5.38cqw;
    height: 16.125cqw;
    position: absolute;
    bottom: calc(100% + -16.5rem);
    left: 31%;
    transform: translateX(-50%);
    z-index: 1;
}

.reason{
	display: flex;
	justify-content: space-between;
	width: 85%;
	align-items: center;
	margin-bottom: 35rem;
}

.reason:last-of-type {
	margin-bottom: 0;
}

.reason_l,
.reason_r{
	width: 44%;
}

.reason.left {
	margin-left: 0;
	margin-right: auto;
}

.reason.right {
	margin-left: auto;
	margin-right: 0;
	flex-direction: row-reverse;
}

.reason_r h3{
	width: fit-content;
	font-size: 1.5vw;
	color: #F18974;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	margin-left: 12rem;
	position: relative;
	border-bottom: solid 1px #F18974;
	
}

#h3_01::before,
#h3_02::before,
#h3_03::before {
    content: "";
    display: block;
    position: absolute;
    width: 10.5rem;
    height: 10.5rem;
    background-position: cover;
    background-repeat: no-repeat;
    top: -39%;
    left: -13rem;
}

#h3_01::before{
	 background: url(../img/no1.svg);
}

#h3_02::before{
	 background: url(../img/no2.svg);
}

#h3_03::before{
	 background: url(../img/no3.svg);
}

#reason_01,
#reason_02,
#reason_03{
	position: relative;
	container-type: inline-size;
}

#reason_01::before {
	content: "";
	position: absolute;
	width: 24cqw;
	aspect-ratio: 26.5 / 14.5;
	background: url(../img/illust_02.svg) center / contain no-repeat;
	top: -13cqw;
	right: 0;
}

#reason_01::after {
    content: "";
    position: absolute;
    width: 6cqw;
    aspect-ratio: 7.5 / 8.5;
    background: url(../img/illust_05.svg) center / contain no-repeat;
    top: 38cqw;
    right: 27cqw;
}

#reason_02::before {
	content: "";
	position: absolute;
	width: 24cqw;
	aspect-ratio: 26.5 / 14.5;
	background: url(../img/illust_03.svg) center / contain no-repeat;
	top: -13cqw;
	left: -5cqw;
}

#reason_02::after {
    content: "";
    position: absolute;
    width: 6cqw;
    aspect-ratio: 7.5 / 8.5;
    background: url(../img/illust_06.svg) center / contain no-repeat;
    top: 38cqw;
    left: 27cqw;
}

#reason_03::before {
	content: "";
	position: absolute;
	width: 24cqw;
	aspect-ratio: 26.5 / 14.5;
	background: url(../img/illust_04.svg) center / contain no-repeat;
	top: -13cqw;
	right: 0;
}

/*----------店舗一覧--------------*/

#shopinfo{
	margin-bottom: 30rem;
}

/*----------取扱保険会社一覧-----------*/

#hoken_list{
	width: 67.5%;
	max-width: 1300px;
	margin: 0 auto;
}

#hoken_list h2{
	margin-bottom: 10rem;
	text-align: center;
}

#hoken_list h3{
	color: #F18974;
	font-size: 1.56vw;
	margin-bottom:4rem;
}

#hoken_list_intro{
	margin-bottom: 15rem;
}

#songai{
	margin-bottom: 12rem;
}

ul.bnr_list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

ul.bnr_list li {
	width: calc((100% - 30px) / 4);
	box-sizing: border-box;
	margin-bottom: 10rem;
}

ul.bnr_list li img{
	display: block;
	margin-bottom: 10px;
}

@media (min-width: 1025px) and (max-width: 1440px) {
	.reason_r p{
		margin-top: 4rem;
	}
	
}


@media (max-width: 1024px) {
/*-------------イントロ---------------*/

	#intro {
		width: 85%;
		height: 42rem;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 95rem;
	}
	
	#intro p{
		text-align: left;
	}
	
	#img_01 {
        top: auto;
        left: 0;
        width: 24.7vw;
        bottom: -51rem;
    }

	#img_02 {
		width: 31.3vw;
		top: 92rem;
		left: 39%;
		transform:none;
		}

	#img_03 {
        width: 22.75vw;
        top: auto;
        bottom: -40rem;
        right: 0;
    }
	
	/*-------------3つの理由--------------*/
	
	#reason{
		width: 100%;
		border-radius: 0;
		margin: 26rem auto 30rem auto;
	}
	
	#reason h2{
		font-size: 4vw;
		margin-bottom: 16rem;
	}
	
	
	#reason h2::after{
		width:84.8vw;
		height: 9vw;
		bottom: calc(100% + -2rem);
	}

	#reason h2::before {
        width: 9.5vw;
        height: 26.8vw;
		left: 13%;
    }
	
	.reason{
		display: block;
		justify-content: space-between;
		width: 90%;
		align-items: center;
		margin-bottom: 35rem;
	}
	
	.reason_l{
		margin-bottom: 8rem;
		width: 85%;
	}
	
	.reason.left {
		margin-left: auto;
		margin-right: auto;
	}
	
	.reason_l.right{
		margin-left: auto;
		margin-right: 0;
	}
	
	.reason.right{
		margin-left: auto;
		margin-right: auto;
	}
	
	.reason_r{
		width: 100%;
	}
	
	.reason_r h3{
		font-size: 3.5vw;
	}

	#h3_01::before,
	#h3_02::before,
	#h3_03::before {
		top: -39%;
		left: -13rem;
	}
	
	#reason_01::before {
		width: 42cqw;
		top: 42cqw;
		right: -9cqw;
	}
	
	#reason_02::before {
		width: 41cqw;
		top: 34cqw;
		left: -15cqw;
	}
	
	#reason_03::before {
		width: 54cqw;
		top: 37cqw;
		right: -16cqw;
	}
	
	#reason_01::after {
		width: 12cqw;
		top: 148cqw;
	}
	
	#reason_02::after {
		width: 13cqw;
		top: 148cqw;
	}
	
	/*----------取扱保険会社一覧-----------*/

	#hoken_list{
		width: 85%;
		max-width: 85%;
	}

	#hoken_list h3{
		font-size: 3.5vw;
	}

	ul.bnr_list li {
		width: calc((100% - 10px) / 2);
	}

}

@media (max-width: 767px) {
	
	.br_sp{
		display: inline;
	}

	.br_pc{
		display: none;
	}
	
	/*-----------イントロ----------------*/
	
	#intro {
        height: 66rem;
		margin-bottom: -4rem;
    }

	#intro h2 {
		margin-bottom: 5rem;
		font-size: 2.5rem;
	}
	
	#img_01 {
		width: 29.7vw;
		bottom: 6rem;
    }
	
	#img_02 {
        width: 34.3vw;
        top: 64rem;
    }
	
	#img_03 {
        width: 27.75vw;
        bottom: 10rem;
    }
	
	/*---------3つの約束------------*/
	
	#reason{
        padding: 0 3rem 13rem 3rem;
		margin: 26rem auto 16rem auto;
	}
	
	#reason h2{
		font-size: 5vw;
		margin-bottom: 10rem;
	}
	
	#reason h2::before {
		left: 18%;
		top: -4rem;
    }
	
	.reason {
        margin-bottom: 17rem;
    }
	
	.reason_l {
        margin-bottom: 4rem;
    }
	
	.reason_r h3 {
        font-size: 4.5vw;
        margin-left: 8rem;
    }
	
	#h3_02::before{
		top: -2%;
	}
	
	#h3_01::before,
	#h3_02::before,
	#h3_03::before {
		width: 7.5rem;
		height: 7.5rem;
		left:-10rem;
	}
	
	#reason_01::after {
        width: 14cqw;
        top: 177cqw;
    }
	
	#reason_02::after {
        top: 185cqw;
    }
	
	/*----------店舗一覧-----------*/
	
	#shopinfo {
		margin-bottom: 19rem;
	}
	
	/*----------取扱保険一覧----------*/
	
	#hoken_list h2 {
		margin-bottom: 5rem;
	}
	
	#hoken_list h3 {
        font-size: 4.5vw;
    }
	
	#hoken_list_intro {
		margin-bottom: 11rem;
	}
	
	ul.bnr_list li {
		margin-bottom: 4rem;
	}
	#songai p,
	#seimei p{
		margin-top: 3rem;
	}
}