@charset "UTF-8"; /* 2024.10.01 */

header .nav_list li:nth-child(3) > a {color: var(--sub);}

/* メインimage指定 */
.img_top {
  background-image: url("../images/inheritance/img_top_sp.jpg");
}
@media (min-width: 1024px) {
  .img_top {
    background-image: url("../images/inheritance/img_top_pc.jpg");
  }
}

section {
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  section {
    padding-bottom: 80px;
  }
}

#inheritance,
#support .container {
  position: relative;
}
/*#support .container::after {
  background: url("../images/img_town1.svg") no-repeat bottom center / contain;
  content: '';
  display: block;
  width: 150%;
  height: 60%;
  position: absolute;
  bottom: -60px;
  left: -20px;
  z-index: -1;
}*/
@media (min-width: 768px) {
  #support .container::after {
    width: calc(100% + 40px);
  }
}
.ttl_03 {
  font-size: 1.4em;
  margin-bottom: 1em;
}
.box_01 {
  margin-top: 30px;
  border-radius: 10px;
  background-color: var(--light1);
}
.box_01 .txt_01 {
  padding: 20px 15px;
}
.box_01 .img_01 {
  position: relative;
}
.box_01 .img_01::before {
  height: 40vw;
  border-radius: 10px 10px 0 0;
  background: url("../images/inheritance/img_01.jpg") no-repeat center center / cover;
  width: 100%;
  display: block;
  content: '';
}
.txt_02 {
  padding-bottom: 20px;
}
.ttl_04 {
  text-align: left;
  padding-bottom: 15px;
}
@media (min-width: 576px) {
  .txt_02 {
    text-align: center;
  }
}

@media (min-width: 576px) {
  .box_01 .img_01::before {
    height: 100%;
    border-radius: 10px 0 0 10px;
  }
}


.box_02 {
  width: 16em;
  max-width: 100%;
  margin: 20px auto 60px;
}

.list_01 {
  width: 100%;
  flex: 0 1 100%;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: baseline;
  position: relative;
}
.list_01 .img_02 {
  max-width: 100%;
  width: 200px;
  height: 200px;
  border: solid 2px;
  border-radius: 100px;
  overflow: hidden;
}

.list_01 .img_02 img {
  object-fit: cover;
}
.list_01 .img_02 span {
  font-size: 3em;
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 2px #8d859d;
  text-stroke: 2px #8d859d;
  top: -.5em;
  left: 0;
  position: absolute;
  z-index: 2;
}

@media (min-width: 576px) and (max-width: 1023px) {
  .box_02 {
    width: 100%;
  }
  .list_01 .txt_03 {
    width: calc(100% - 220px);
    flex: 0 1 calc(100% - 220px);
  }
}
@media (min-width: 1024px) {
  .box_02 {
    flex: 0 1 100%;
    width: 100%;
  }
  .ttl_04 {
    text-align: center;
  }
  .list_01 {
    flex: 0 1 30%;
    width: 30%;
    max-width: 16em;
    align-items: flex-start;
  }
  .txt_03 {
    flex: 0 1 100%;
    width: 100%;
  }
  .list_01 .img_02 {
    flex: 0 1 200px;
    width: 200px;
  }
  .list_01 .img_02 span {
    top: -.5em;
    left: 1em;
  }
}


#contact {
  padding-top: 50px;
  background: url("../images/img_mt-w.svg") no-repeat bottom left / 70%;
  background-color: var(--light2);
}
#contact .flex01, #contact .flex02 {
  padding: 30px 20px 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  background-color: rgba(255,255,255,.8);
}
#contact .ttl02 {
  margin-top: -50px;
  text-shadow: 2px 2px 0px rgba(255, 255, 255, 1), 4px 4px 0px var(--light2);
}
#contact .d-flexX2 li {
  width: 80%;
  margin: 0 auto;
  padding-left: 1em;
  text-indent: -.5em;
}
#contact li {
  font-size: 1.1em;
  padding-bottom: 8px;
}
#contact i {
  color: var(--sub);
}
#contact .ttl03 {
  font-size: 2rem;
  padding:5px 0;
  font-weight: bold;
}
#contact dd {
  padding-bottom: 10px;
}
@media (min-width: 768px) {
  #contact {
    background: url("../images/img_mt-w.svg") no-repeat bottom left / 50%;
    background-color: var(--light2);
  }
  #contact .ttl02 {
    font-size: 2.8rem;
    margin-top: -72px;
    padding-bottom: 20px;
  }
  #contact .d-flexX2 {
    justify-content: space-between;
  }
  #contact .flex01, #contact .flex02 {
    padding: 50px 30px 30px;
    width: 45%;
  }
}
#contact .img_05 {
  padding-top: 15px;
  text-align: center;
}
@media (min-width: 1400px) {
  #contact {
    background: url("../images/img_mt-w.svg") no-repeat bottom left / 40%;
    background-color: var(--light2);
  }
}





