/* あんしんシステム
-----------------------------------------------------------------------*/
.anshin-system {
  text-align: center;
  color: #022a48;
  padding: 50px 20px 0 20px;
  margin-bottom: 100px;
  font-family: "Noto Sans JP", sans-serif;
}
.anshin-system img {
  width: 100%;
  height: auto
}
.anshin-system section {
  max-width: 930px;
  width: 100%;
  margin: auto
}
.as_title {
  text-align: center;
  padding: 80px 0 40px 0;
  max-width: 1100px;
  margin: 0 auto 40px auto;
  background-color: #ffe400
}
.as_title img {
  max-width: 985px;
  width: 100%;
  height: auto;
  margin-bottom: 60px
}
.as_copy {
  font-size: 27px;
  text-align: center;
  padding: 0 20px 0px 20px;
}
.anshin-system .bubble {
  border-radius: 15px;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 30px 0
}
@media screen and (max-width: 1000px) {
  .anshin-system_bg {
    padding: 60px 0 1px 0;
    margin-bottom: 60px
  }
  .anshin-system br {
    display: none;
    margin: 0px;
    padding: 0px
  }
  .as_title {
    padding: 40px 0 20px 0;
  }
  .as_title img {
    margin-bottom: 30px;
    padding: 0 20px
  }
  .as_copy {
    font-size: 16px;
    line-height: 1.5em;
    text-align: left;
    padding: 0 40px 0px 40px;
  }
  .anshin-system .bubble {
    border-radius: 10px;
    margin: 10px 0
  }
}
/*--ブロック01--------------------------*/
.anshin-system .as_block01 {
  display: grid;
  grid-template-columns: 160px 1fr;
  margin: 0 0 100px 0
}
.anshin-system .as_block01 .bubble {
  background-color: #fff;
  position: relative;
  padding: 20px 40px;
  margin-left: 20px;
  font-size: 36px;
  border: 2px solid #00223d;
}
.anshin-system .as_block01 .bubble::after {
  content: "";
  position: absolute;
  top: 34px;
  left: -25px; /* ← 右から左へ */
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 25px solid #fff; /* ← left → right */
  transform: skewY(20deg); /* 向きが逆になるので符号も反転 */
  z-index: 1;
}
.anshin-system .as_block01 .bubble::before {
  content: "";
  position: absolute;
  top: 31px;
  left: -29px; 
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 29px solid #00223d; /* ← left → right */
  transform: skewY(20deg); /* ← ここも反転 */
  z-index: 0;
}
@media screen and (max-width: 1000px) {
  .anshin-system .as_block01 {
    grid-template-columns: 80px 1fr;
    margin: 0 0 50px 0
  }
  .anshin-system .as_block01 .bubble {
    padding: 10px;
    margin-left: 20px;
    font-size: 14px;
  }
/* 矢印の内側（白い部分） */
.anshin-system .as_block01 .bubble::after {
  content: "";
  position: absolute;
  top: 34px;
  left: -16px;   
  width: 0;
  height: 0;
  border-top: 8px solid transparent;   
  border-bottom: 8px solid transparent; 
  border-right: 16px solid #fff;     
  transform: skewY(20deg);
  z-index: 1;
}

/* 矢印の枠線（紺色の部分） */
.anshin-system .as_block01 .bubble::before {
  content: "";
  position: absolute;
  top: 32px;      /* 31pxから微調整 */
  left: -19px;    /* -29pxから変更 */
  width: 0;
  height: 0;
  border-top: 10px solid transparent;    /* 15pxから縮小 */
  border-bottom: 9px solid transparent;  /* 14pxから縮小 */
  border-right: 19px solid #00223d;      /* 29pxから縮小 */
  transform: skewY(20deg);
  z-index: 0;
}
}
/*--ブロック02--------------------------*/
.anshin-system .as_block02 {
  background-color: #FFFFFF;
  margin-bottom: 120px;
  padding: 40px 20px 20px 20px;
  border-radius: 15px;
  box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.4);
  border: solid 1px #000000
}
.anshin-system .as_block02 .title img {
  width: 772px;
  margin: -100px 0 50px 0
}
/*吹き出し01*/
.anshin-system .as_block02_01 {
  display: grid;
  grid-template-columns: 187px 1fr;
  margin-bottom: 0px;
  align-items: flex-end
}
.anshin-system .as_block02_01 img {
  margin-bottom: 30px
}
.anshin-system .as_block02_01 .bubble {
  background-color: #022a48;
  color: #FFFFFF;
  position: relative;
  padding: 30px;
  border-radius: 15px;
  margin-left: 20px;
  font-size: 27px;
  line-height: 1.8em
}
.anshin-system .as_block02_01 .bubble::before {
  content: "";
  position: absolute;
  top: 35px;
  left: -30px;
  border-style: solid;
  border-width: 15px 45px 15px 0;
  transform: rotate(15deg);
  border-color: transparent #022a48 transparent transparent;
}
/*吹き出し02*/
.anshin-system .as_block02_02 {
  display: grid;
  grid-template-columns: 1fr 206px;
  align-items: flex-end
}
.anshin-system .as_block02_02 img {
  margin-bottom: 30px
}
.anshin-system .as_block02_02 .bubble {
  position: relative;
  background: #fff;
  border: 2px solid #00223d;
  border-radius: 15px;
  padding: 10px;
  margin-right: 30px;
  margin-left: 10px;
  font-size: 27px;
  line-height: 1.8em
}
.anshin-system .as_block02_02 .bubble::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -25px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 25px solid #fff;
  transform: skewY(-20deg);
  z-index: 1;
}
.anshin-system .as_block02_02 .bubble::before {
  content: "";
  position: absolute;
  top: 31px;
  right: -29px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 29px solid #00223d;
  transform: skewY(-20deg);
  z-index: 0;
}
.anshin-system .as_block02_03 img {
  max-width: 952px;
}
@media screen and (max-width: 1000px) {
  .anshin-system .as_block02 {
    margin-bottom: 50px;
  }
  .anshin-system .as_block02 .title img {
    margin: -70px 0 20px 0
  }
  /*吹き出し01*/
  .anshin-system .as_block02_01 {
    grid-template-columns: 80px 1fr;
  }
  .anshin-system .as_block02_01 img {
    margin-bottom: 10px
  }
  .anshin-system .as_block02_01 .bubble {
    background-color: #022a48;
    color: #FFFFFF;
    position: relative;
    padding: 10px;
    border-radius: 15px;
    margin-left: 20px;
    font-size: 14px;
    line-height: 1.8em
  }
.anshin-system .as_block02_01 .bubble::before {
  content: "";
  position: absolute;
top: 30%;       
  left: -20px;       
  border-style: solid;
  border-width: 10px 25px 10px 0; 
  transform: rotate(15deg);
  border-color: transparent #022a48 transparent transparent;
}
  /*吹き出し02*/
  .anshin-system .as_block02_02 {
    grid-template-columns: 1fr 80px;
  }
  .anshin-system .as_block02_02 img {
    margin-bottom: 10px
  }
  .anshin-system .as_block02_02 .bubble {
    position: relative;
    background: #fff;
    border: 2px solid #00223d;
    border-radius: 15px;
    padding: 10px;
    margin-right: 	25px;
    margin-left: 0px;
    font-size: 14px;
    line-height: 1.8em
  }

.anshin-system .as_block02_02 .bubble::after {
  content: "";
  position: absolute;
  top: 31.5%; 
  right: -16px; 
  width: 0;
  height: 0;
  border-top: 8px solid transparent;  
  border-bottom: 8px solid transparent;
  border-left: 16px solid #fff;
  transform: skewY(-20deg);
  z-index: 1;
}

.anshin-system .as_block02_02 .bubble::before {
  content: "";
  position: absolute;
  top:30%;   
  right: -19px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent; 
  border-bottom: 9px solid transparent; 
  border-left: 19px solid #00223d;   
  transform: skewY(-20deg);
  z-index: 0;
}
}
/*--ブロック03--------------------------*/
.anshin-system .as_block03 {
  background-color: #FFFFFF;
  margin-bottom: 80px;
  padding: 40px 20px 20px 20px;
  border-radius: 15px;
  box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.4);
  border: solid 1px #000000
}
.anshin-system .as_block03 .title img {
  width: 773px;
  margin: -100px 0 50px 0
}
/*吹き出し01*/
.anshin-system .as_block03_01 {
  display: grid;
  grid-template-columns: 322px 1fr;
  margin-bottom: 0px;
  align-items: flex-end
}
.anshin-system .as_block03_01 img {
  margin-bottom: 30px
}
.anshin-system .as_block03_01 .bubble {
  background-color: #022a48;
  color: #FFFFFF;
  position: relative;
  padding: 30px;
  border-radius: 10px;
  margin-left: 40px;
  font-size: 27px;
  line-height: 1.8em
}
.anshin-system .as_block03_01 .bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  border-style: solid;
  border-width: 15px 45px 15px 0;
  transform: rotate(15deg);
  border-color: transparent #022a48 transparent transparent;
}
/*吹き出し02*/
.anshin-system .as_block03_02 {
  display: grid;
  grid-template-columns: 1fr 238px;
  align-items: flex-end
}
.anshin-system .as_block03_02 img {
  margin-bottom: 30px
}
.anshin-system .as_block03_02 .bubble {
  position: relative;
  background: #fff;
  border: 2px solid #00223d;
  border-radius: 15px;
  padding: 30px;
  margin-right: 30px;
  margin-left: 10px;
  font-size: 27px;
  line-height: 1.8em
}
.anshin-system .as_block03_02 .bubble::after {
  content: "";
  position: absolute;
  top: 64px;
  right: -25px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 25px solid #fff;
  transform: skewY(-20deg);
  z-index: 1;
}
.anshin-system .as_block03_02 .bubble::before {
  content: "";
  position: absolute;
  top: 61px;
  right: -29px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 29px solid #00223d;
  transform: skewY(-20deg);
  z-index: 0;
}
.anshin-system .as_block03_03 img {
  max-width: 723px;
}
@media screen and (max-width: 1000px) {
  .anshin-system .as_block03 {
    margin-bottom: 50px;
  }
  .anshin-system .as_block03 .title img {
    margin: -70px 0 20px 0
  }
  /*吹き出し01*/
  .anshin-system .as_block03_01 {
    grid-template-columns: 100px 1fr;
  }
  .anshin-system .as_block03_01 img {
    margin-bottom: 10px
  }
  .anshin-system .as_block03_01 .bubble {
    background-color: #022a48;
    color: #FFFFFF;
    position: relative;
    padding: 10px;
    border-radius: 10px;
    margin-left: 25px;
    font-size: 14px;
    line-height: 1.8em;
  }
  .anshin-system .as_block03_01 .bubble::before {
    content: "";
    position: absolute;
    top: 35%;
    left: -15px;
    border-style: solid;
    border-width: 10px 	20px 10px 0;
    transform: rotate(15deg);
    border-color: transparent #022a48 transparent transparent;

  }
  /*吹き出し02*/
  .anshin-system .as_block03_02 {
    grid-template-columns: 1fr 80px;
  }
  .anshin-system .as_block03_02 img {
    margin-bottom: 10px
  }
  .anshin-system .as_block03_02 .bubble {
    position: relative;
    background: #fff;
    border: 2px solid #00223d;
    border-radius: 15px;
    padding: 10px;
    margin-right:20px;
    margin-left: 0px;
    font-size: 14px;
    line-height: 1.8em
  }
.anshin-system .as_block03_02 .bubble::after {
  content: "";
  position: absolute;
  top: 55.5%;   
  right: -16px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent; 
  border-bottom: 8px solid transparent;
  border-left: 16px solid #fff;       
  transform: skewY(-20deg);
  z-index: 1;
}

/* 矢印の枠線（紺色の部分） */
.anshin-system .as_block03_02 .bubble::before {
  content: "";
  position: absolute;
  top: 54%;  
  right: -19px;  
  width: 0;
  height: 0;
  border-top: 10px solid transparent;    /* 15pxから縮小 */
  border-bottom: 9px solid transparent;  /* 14pxから縮小 */
  border-left: 19px solid #00223d;       /* 29pxから縮小 */
  transform: skewY(-20deg);
  z-index: 0;
}
}
/*----------*/
.anshin-system .as_block04 {
  margin-bottom: 70px
}
.anshin-system .as_block04 h4 {
  font-size: 34px;
  margin-bottom: 20px
}
.anshin-system .as_block04 img {
  max-width: 600px;
  height: auto;
}
@media screen and (max-width: 750px) {
  .anshin-system .as_block04 {
    margin-bottom: 40px
  }
  .anshin-system .as_block04 h4 {
    font-size: 18px;
    margin-bottom: 20px
  }
  .anshin-system .as_block04 img {
    padding: 0 30px
  }
}