@charset "utf-8";

html {
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
}

.page-inheritance{
	padding-top: 80px;
	font-size: 1.6rem;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500;
	min-width: 1100px;
}

.page-inheritance p{
	font-size: 2rem;
	line-height: 2;
}

.page-inheritance *{
	box-sizing: border-box;
}

.page-inheritance a{
	display: block;
}

a[href^="tel:"] {
	pointer-events: none;
}

@media screen and (max-width: 767px) {
  a[href^="tel"] {
    pointer-events: auto;
    cursor: pointer;
  }
}

.inner{
	width: min(100%, 1200px);
	margin: 0 auto;
}

header{
	width: 100%;
	min-width: 1100px;
	height: 80px;
	padding: 0 20px;
  display: flex;
  justify-content: space-between;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #ccc;
}

header p{
	margin-bottom: 0;
}

header a{
	height: 100%;
}

header .logo img{
	max-width: 580px;
}

header .tel{
	margin-left: auto;
}

header .btn_contact{
	margin-left: 15px;
	max-width: 300px;
}

@media screen and (max-width: 1300px) {
	header .logo img{
		max-width: 400px;
	}
}
@media screen and (max-width: 767px) {
	.page-inheritance{
		padding-top: 60px;
		min-width: auto;
	}
	header{
		height: 60px;
		min-width: auto;
		padding-right: 60px;
	}
	header .logo img{
		max-width: 100%;
	}
	header ul{
		display: none;
	}
}

#mv{
	padding: 40px 70px 60px 70px;
	display: grid;
	grid-template-columns: 1fr 50%;
	gap: 40px;
	align-items: center;
}

#mv .txt a{
	width: 83%;
	margin-top: 20px;
}

@media screen and (max-width: 767px) {
	#mv{
		padding: 20px;
		grid-template-columns: 1fr;
		gap: 20px;
	}
	#mv .txt a{
		width: 100%;
	}
}

#target .txt{
	padding: 100px 80px;
	font-size: 2rem;
	line-height: 2;
	background: #c1e4ea;
}

#target .txt h3{
	color: #003DA5;
	font-size: 5rem;
	font-weight: 900;
	text-align: center;
	margin: 100px 0 60px 0;
}

#target .txt h3:first-child{
	margin-top: 0;
}

.ttl_line{
	text-align: center;
	font-size: 5rem;
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: .05em;
	margin-bottom: 50px;
}

.ttl_line::after{
	content: "";
	display: block;
	margin: 10px auto 0 auto;
	width: 40px;
	height: 4px;
	background: #003DA5;
}

#target .txt p{
	max-width: 1000px;
	margin: 0 auto;
}

#target .txt p strong{
	font-weight: 900;
}

#target .txt p.att_txt{
	font-size: 75%;
}

@media screen and (max-width: 767px) {
	#target .txt{
		padding: 50px 20px;
	}
	#target .txt h3{
		font-size: 6vw;
		margin: 40px 0 20px 0;
		line-height: 1.5;
	}
	#target .txt p{
		text-align: left;
		font-size: 1.6rem;
	}
}

#why{
	padding: 100px;
	color: #fff;
	background: #003da5;
}

#why .ttl_line{
	text-align: center;
}

#why .ttl_line::after{
	background: #fff;
}

#why .wrap{
	margin-top: 50px;
	display: grid;
	grid-template-columns: 1fr 40%;
	gap: 10%;
}

#why .wrap p + p{
	margin-top: 20px;
}

@media screen and (max-width: 767px) {
	#why{
		padding: 60px 20px;
	}
	#why .ttl_line{
		font-size: 6vw;
	}
	#why .wrap{
		grid-template-columns: 1fr;
		gap: 30px;
	}
	#why .wrap p{
		font-size: 1.6rem;
	}
}

#risk{
	padding: 270px 100px;
	background: url(../images/pages/inheritance/risk_bg.png) no-repeat center top / 100% auto;
}

#risk h2{
	margin-bottom: 25vw;
}

#risk .wrap{
	width: min(100%, 1100px);
	margin: 0 auto;
}

#risk h3{
	margin: 70px 0 20px 0;
	font-size: 3.6rem;
}

.marker{
	background: linear-gradient(transparent 70%, #ffe13c 70%);
}

#risk .point_wrap{
	margin-top: 200px;
	padding: 40px 80px 40px 40px;
	border: 5px solid #003da5;
	color: #003da5;
	position: relative;
}

#risk .point_wrap h4{
	display: inline-block;
	padding: 0 20px;
	font-size: 2.4rem;
	letter-spacing: 0.1em;
	height: 50px;
	line-height: 50px;
	color: #fff;
	background: #003da5;
	border-radius: 5px 5px 0 0;
	position: absolute;
	left: -5px;
	top: -53px;
}

#risk .point_wrap .wrap2{
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 60px;
	align-items: center;
}

#risk .point_wrap .wrap2::after{
	display: none;
}

#risk .point_wrap p{
	font-size: 2.6rem;
	font-weight: 900;
}

#risk h2 span{
	display: inline-block;
}

@media screen and (max-width: 1250px){
	#risk .point_wrap p br.pc{
		display: none;
	}
}
@media screen and (max-width: 767px) {
	#risk{
		padding: 100px 20px;
	}
	#risk h2{
		font-size: 5.6vw;
		margin-bottom: 40px;
	}
	#risk h3{
		margin: 40px 0 10px 0;
		font-size: 1.8rem;
	}
	#risk p{
		font-size: 1.6rem;
	}
	#risk .point_wrap{
		margin-top: 100px;
		padding: 20px 5.3vw;
		border: 5px solid #003da5;
	}
	#risk .point_wrap h4{
		width: calc(100% + 10px);
		text-align: right;
		font-size: 2rem;
	}
	#risk .point_wrap .wrap2{
		display: block;
	}
	#risk .point_wrap .wrap2 img{
		width: 25%;
	position: absolute;
	top: -80px;
	left: -6vw;
	}
	#risk .point_wrap p{
		font-size: 2rem;
	}
}

#todo{
	text-align: center;
	padding: 120px 100px;
	background: #C1E4EA;
}

#todo h2{
	color: #003DA5;
}

#todo h3{
	font-size: 3.6rem;
	margin: 60px 0 20px 0;
}

#todo p{
	font-size: 1.8rem;
	max-width: 1000px;
}

@media screen and (max-width: 767px) {
	#todo{
		padding: 60px 20px;
	}
	#todo h3{
		font-size: 6vw;
		margin: 60px 0 20px 0;
	}
	#todo p{
		font-size: 1.6rem;
		text-align: left;
	}
}

#howto{
	text-align: center;
	padding: 120px 100px;
}

#howto dl{
	display: inline-block;
}

#howto dt{
	margin-top: 60px;
	text-align: left;
	font-size: 2.5rem;
	font-weight: bold;
	padding-left: 75px;
	position: relative;
}

#howto dt span{
  display: flex;
  align-items: center;
  justify-content: center;
	width: 64px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	color: #fff;
	background: #003DA5;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

#howto dd{
	margin-top: 15px;
	text-align: left;
	padding-left: 75px;
	font-size: 1.6rem;
}

#howto .wrap2 h3{
	font-size: 5rem;
	color: #003DA5;
	margin: 60px 0 20px 0;
}

#howto .wrap2 p{
	font-size: 1.8rem;
	max-width: 1000px;
	margin: 0 auto;
}

@media screen and (max-width: 767px) {
	#howto{
		padding: 60px 20px;
	}
	#howto h2{
		font-size: 6vw;
	}
	#howto p{
		font-size: 1.6rem;
		text-align: left;
	}
	#howto dl{
		display: block;
	}
	#howto dt{
		margin-top: 30px;
		font-size: 2rem;
		padding-left: 50px;
	}
	#howto dt span{
		width: 40px;
	}
	#howto dd{
		padding-left: 0;
	}
	#howto .wrap2 h3{
		font-size: 6vw;
	}
	#howto .wrap2 p{
		font-size: 1.6rem;
	}
}

#faq{
	padding: 120px 100px;
	background: #c1e4ea;
}

#faq h2{
	color: #003da5;
}

#faq dt{
	margin-top: 20px;
	padding: 30px 60px 30px 80px;
	position: relative;
	background: #fff;
	border-radius: 8px;
	cursor: pointer;
}

#faq dt::before{
  content: "Q";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  color: #fff;
  background: #003da5;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

#faq dt::after{
  content: "";
  width: 24px;
  height: 100%;
  background: url(../images/pages/inheritance/icon_plus.svg) no-repeat center center / 100% auto;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

#faq dt.active{
	border-radius: 8px 8px 0 0;
}

#faq dt.active::after{
  background-image: url(../images/pages/inheritance/icon_minus.svg);
}

#faq dd{
	display: none;
	padding: 0 30px 30px 30px;
	background: #fff;
	border-radius: 0 0 8px 8px;
}

#faq dd::before{
	content: "";
	display: block;
	margin: 0 auto 20px auto;
	width:100%;
	height: 1px;
	background: #ccc;
}

@media screen and (max-width: 767px) {
	#faq{
		padding: 60px 20px;
	}
	#faq h2{
		font-size: 6vw;
	}
	#faq dt{
		margin-top: 20px;
		padding: 15px 40px 15px 50px;
	}
	#faq dt::before{
	  width: 30px;
	  height: 30px;
	  left: 10px;
	}
	#faq dt::after{
	  right: 10px;
	}
	#faq dd{
		padding: 0 10px 20px 10px;
	}
	#faq dd::before{
		margin: 0 auto 10px auto;
	}
}

.bnr_tel{
	padding: 100px 20px;
	text-align: center;
}

@media screen and (max-width: 767px) {
	.bnr_tel{
		padding: 20px 0;
		text-align: center;
	}
}

footer{
	text-align: center;
	color: #fff;
	font-size: 1.2rem;
	background: #003da5;
}

#inheritance_footer_btn{
	display: none;
}

.hamburger{
	display: none!important;
}

@media screen and (max-width: 767px){
	.hamburger{
		/*display: block!important;*/
	}
	
	footer{
		margin-bottom: 30px;
		font-size: 3vw;
	}
	#inheritance_footer_btn{
		width: 100%;
		padding: 0 2px 2px 2px;
		display: grid;
		grid-template-columns: 1fr 55%;
	
	grid-template-columns: 1fr;
	
		gap: 5px;
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 100;
	}
	#inheritance_footer_btn li a{
	  display: flex;
	  align-items: center;
	  justify-content: center;
		height: 100%;
	}
	#inheritance_footer_btn li:first-child a{
		padding: 0 10px;
		border-radius: 6px;
		background: #fff;
		border: 1px solid #003da5;
	}
}
