@charset "UTF-8";

/*#p4_gyoshu .top_bottom {
    padding: 0 0 8em 0;
}*/
#p4_gyoshu .p4_gyoshu_section {
    padding: 8em 0;
}
#p4_gyoshu .subtitle_wrap{
    text-align: center;
	display: block;
}
#p4_gyoshu .subtitle_wrap > h2 {
	line-height: 1.5;
	color: #0d4394;
	margin-bottom: 1em;
}

/*スマホ-----------------------------*/
@media (max-width: 820px) {
	#p4_gyoshu .p4_gyoshu_section {
    padding: 4em 0;
}
	#p4_gyoshu .subtitle_wrap > h2 {
	line-height: 1.5;
	color: #0d4394;
	margin-bottom: .5em;
}
}
/*-----------------------------------
  よくあるお問い合わせ
-----------------------------------*/
#p4_gyoshu .otoiawase{
  position: relative;
}
#p4_gyoshu .otoiawase::after{
	content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
	bottom: 0;
  background: linear-gradient(to bottom, #fff 60%, #0d4394 40%);
z-index: -1;
}
#p4_gyoshu .otoiawase ul {
  border:2px solid #0d4394;
	border-radius: 10px;
  padding: 3rem 5rem;
	max-width:900px;
	margin: 0 auto;
	background-color: #fff;
}
#p4_gyoshu .otoiawase li {
  position: relative;
  padding-left: 2.2em;
  line-height: 1.8;
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 0.5em;
}
#p4_gyoshu .otoiawase li:last-child {
	margin-bottom: 0;
}
#p4_gyoshu .otoiawase li span {
  color: #0d4394;
	background: linear-gradient(transparent 60%, #d5ecfc 0%);
}
/* チェックボックス風アイコン */
#p4_gyoshu .otoiawase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #0d4394;
  -webkit-mask: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
<rect x="1.5" y="1.5" width="21" height="21" rx="3" ry="3" fill="none" stroke="black" stroke-width="3"/>\
<path d="M6 12.5l4 4 8-9" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>\
</svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
<rect x="1.5" y="1.5" width="21" height="21" rx="3" ry="3" fill="none" stroke="black" stroke-width="3"/>\
<path d="M6 12.5l4 4 8-9" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>\
</svg>') center/contain no-repeat;
}
/*スマホ-----------------------------*/
@media (max-width: 820px) {
	#p4_gyoshu .otoiawase ul {
  padding: 2rem;
}
	#p4_gyoshu .otoiawase li {
	font-size: 15px;
}
#p4_gyoshu .otoiawase li::before {
    width: 18px;
    height: 18px;
  }
}
/*-----------------------------------
  事故例
-----------------------------------*/
#p4_gyoshu .accident{
	position: relative;
}
#p4_gyoshu .accident::after {
    content: "";
    display: block;
    width: 95%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #fff 40%, #d5ecfc 40%);
    z-index: -1;
}

#p4_gyoshu .accident li {
  border: 2px solid #0d4394;
  border-radius: 10px;
  padding: 2rem;
  background: #fff;
}
#p4_gyoshu .accident .accident_ttl {
  display: flex;
  align-items: center;
  /*gap: 10px;*/
  margin-bottom: 8px;
}
#p4_gyoshu .accident .accident_ttl img {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
}
#p4_gyoshu .accident h3 {
  margin: 0;
  font-size: 20px;
  padding-left: 20px;
  color: #0d4394;
  line-height: 1.5;
}
#p4_gyoshu .accident p { margin: .5em 0 0; }

#p4_gyoshu .accident ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
#p4_gyoshu .accident li {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

/* 2段目を中央寄せ（4・5番目） */
@media (min-width: 821px) {
  #p4_gyoshu .accident ul li:nth-child(4) { grid-column: 2 / span 2; }
  #p4_gyoshu .accident ul li:nth-child(5) { grid-column: 4 / span 2; }
}

/*スマホ-----------------------------*/
@media (max-width: 820px) {
#p4_gyoshu .accident::after {
    width: 100%;
    background: linear-gradient(to bottom, #fff 20%, #d5ecfc 20%);
}
  #p4_gyoshu .accident ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }
 #p4_gyoshu .accident li { grid-column: auto; }
#p4_gyoshu .accident .accident_ttl img {
  width: 40px;
  height: 40px;
}
	#p4_gyoshu .accident h3 {
  font-size: 18px;
}
}
/*-----------------------------------
  ベスト3
-----------------------------------*/
#p4_gyoshu .best3{
	position: relative;
}
#p4_gyoshu .best3::after {
    content: "";
    display: block;
    width: 95%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #fff 40%, #0d4394 40%);
    z-index: -1;
}
#p4_gyoshu .best3 ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#p4_gyoshu .best3 li{
  margin: 0;
  padding: 0;
}
#p4_gyoshu .best3 li > a.card{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 3rem;
  background: #fff;
  border: 2px solid #0d4394;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  position: relative;
}
#p4_gyoshu .best3 li > a.card:hover{
  background-color: #F2F9FE;
}
#p4_gyoshu .best3 li .number{
  margin: 0;
  font-weight: bold;
  font-size: clamp(23px, 4.4vw, 45px);
  color: #0d4394;
  position: relative;
  padding-right: 18px;
  line-height: 1;
}
#p4_gyoshu .best3 li .number::after{
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.8em;
  background: rgba(13,67,148,.35);
}
#p4_gyoshu .best3 li h3{
  margin: 0 0 .5em;
  font-size: clamp(18px, 2.2vw, 25px);
  color: #0d4394;
  font-weight: 700;
  line-height: 1.4;
}
#p4_gyoshu .best3 li > a.card > div > p{
  margin: 0;
  color: #1f2a37;
  line-height: 1.7;
  /*font-size: 15px;*/
}
#p4_gyoshu .best3 li > a.card::after  {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2em;
  width: 9px;
  height: 9px;
  border-top: 3px solid #0d4394;
  border-right: 3px solid #0d4394;
  transform: rotate(45deg);
}
/*スマホ-----------------------------*/
@media (max-width: 820px) {
	#p4_gyoshu .best3::after {
    width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, #fff 35%, #0d4394 35%);
}
  #p4_gyoshu .best3 ul {
    gap: 12px;
  }
  #p4_gyoshu .best3 li > a.card {
    padding: 2rem;
  }
}
/*-----------------------------------
  サポート
-----------------------------------*/
#p4_gyoshu .support_ttl > h2 {
	text-align: left;
}
 #p4_gyoshu .support .both {
   display: flex;
 }
 #p4_gyoshu .support .left,
#p4_gyoshu .support .right {
   flex: 1;
 }
 #p4_gyoshu .support .wide {
   position: relative;
 }
 #p4_gyoshu .support .wide::after {
   content: "";
   display: block;
   width: 40%;
   height: 100%;
   position: absolute;
   left: 0;
   top: 0;
   border-radius: 10px;
   background-size: cover;
   background: url("../img/p4_gyoshu/p4_gyoshu_06.png") no-repeat center/cover;
   box-shadow: 20px 20px 0 #0d4394;
 }
 #p4_gyoshu .support .text {
   margin-bottom: 5em;
 }
 /*スマホ-----------------------------*/
 @media (max-width:820px) {
   #p4_gyoshu .support .both {
     display: block;
   }
   #p4_gyoshu .support .wide::after {
     position: static;
     display: block;
     width: 95%;
     height: 200px;
     margin-top: 2em;
     box-shadow: 10px 10px 0 #0d4394;
   }
   #p4_gyoshu .support .text {
     margin-bottom: 2em;
   }
 }

