/* PC版 */
/*/////*/


main {
  width: 100%;
  padding-bottom: 0.5rem;
  position: relative;
}

.bg_top{
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.bg_middle{
  position: absolute;
  top: 30%;
  left: 0;
  z-index: -1;
}



.bg_bottom{
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.kumo_1{
  position: absolute;
  top: 88.7%;
  right: 7%;
  width: 24rem;
  z-index: 0;
}

.kumo_2{
  position: absolute;
  top: 97%;
  left: 2%;
  width: 24rem;
  z-index: 0;
}


#system,
#become,
#contact{
    scroll-margin-top: 10rem;
}

.custom_titles {
  display: flex;
  margin-top: -5.3rem;
}

.custom_container_title {
  font: 2.8rem / 4rem "Zen Maru Gothic";
  font-weight: 500;
  margin-bottom: 3rem;
  margin-left: 8rem;
  position: relative;
}
.custom_container_title::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 4rem;
  width: 1rem;
  content: '';
  position: absolute;
  top: -0.1rem;
  left: -1.5rem;
}

.custom_container_subtitle {
  width: 20.8rem;
  height: 3.6rem;
  font: 2.4rem/3.5rem "Zen Maru Gothic";
  color: #FFFFFF;
  margin-top: 3px;
  margin-left: 4rem;
  background: #B577DF;
  border: 0.1rem solid #000000;
  border-radius: 1rem;
  text-align: center;
}

.custom_container {
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  padding: 2.5rem 0.5rem;
  width: 100%;
  box-sizing: border-box;
  padding-top: 10.3rem;
}

.main_sidebar {
  display: flex;
}

.main_visual {
  width: 83.6rem;
  height: 47rem;
  border-radius: 2rem;
  box-shadow: 0.6rem 0.6rem 0rem #B577DF;
  margin-left: 6.5rem;
  margin-bottom: 7.8rem;
  overflow: hidden;
}

.main_visual img {
  border-radius: 2rem;
  width: 107%;
  object-position: -3.5rem -3.5rem;
}

.main_image {
  width: 100%;
  border-radius: 1.7rem;
  border: 0.25rem solid #d3bede;
  box-shadow: 0 0.13rem 0.5rem #d3bede55;
  display: block;
}

.sidebar {
  width: 27.9rem;
  height: 19.6rem;
  font: 1.6rem/2.4rem "Zen Maru Gothic";
  font-weight: 500;
  border: 0.1rem solid #000000;
  border-radius: 1rem;
  background: #FFFFFF;
  position:fixed;
  top: 26rem;
  right:7rem;

}

.sidebar_list {
  margin-left: 1.9rem;
  margin-top: 1.4rem;
  margin-bottom: 2rem;
}

.sidebar_list li {
  margin-bottom: 1rem;
}

.support_link {
  background: #F7F1DC;
  color: #000000;
  padding: 1.35rem 1.4rem;
  border-radius: 1rem;
  cursor: pointer;
  display: flex;
  margin-left: 2rem;
  margin-top:2.2rem
}


.circle_icon {
  width: 2rem;
  height: 2rem;
  background: #fff;
  border: 1px solid #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin-left: 1.6rem;
  margin-top:0.1rem;
  /* アイコン色調整（内側円背景） */
  background: #B577DF;
}

/* 三角形（▶） */
.triangle {
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.8rem solid #FFFFFF;
  transform: rotate(-123deg);
  margin-left: -0.5rem;
}

.container {
  background-color: #FFFFFF;
  width: 83.6rem;
  height: auto;
  border: 0.1rem solid #000000;
  border-radius: 1rem;
  margin-left: 7rem;
  margin-bottom: 22rem;
  padding: 6rem 3rem;
}

section{
  margin-left: 1rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section_2 {
  margin-bottom: 2.5rem;
  margin-top: 7rem;
}

.section_title {
  font: 2.5rem/3.6rem "Zen Maru Gothic";
  font-weight: 500;
  position:relative;
}
.section_title::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 4rem;
  width: 1rem;
  content: '';
  position: absolute;
  top: -0.3rem;
  left: -1.65rem;
}

.subtitle {
  font: 2rem/2.9rem "Noto Sans JP";
  font-weight: 500;
  margin-top: 3.2rem;
  margin-left:2.9rem;
  position: relative;
}
/* beforeは疑似要素を前につけるって意味 */
.subtitle::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 0.4rem;
  width: 3rem;
  content: '';
  position: absolute;
  top: 1.4rem;
  left: -3.9rem;
}

.subtitle_2 {
  font:1.5rem/3rem "Noto Sans JP";
  font-weight: 500;
  margin-top:1.2rem;
  margin-left:2.9rem;
  letter-spacing:0.075rem;
}

.main_text {
  font: 1.5rem/3rem "Noto Sans JP";
  margin-left: 3rem;
  letter-spacing:0.075rem;
}

p {
  text-indent: 1em;
  /* 1文字分のインデントを作る */
}


.subtitle_2_red {
  font: normal normal 1.5rem/3rem "Noto Sans JP";
  font-weight: 500;
  color: #E02953;
  margin-left: 2.8rem;
  margin-top:1.2rem;
  letter-spacing: 0.075rem;
}

.parent {
  font: 1.5rem/3.6rem "Noto Sans JP";
}

.parent_text {
  font: 1.5rem/2.7rem "Noto Sans JP";
}

.section_content {
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.text_block {
  flex: 1 1 18rem;
  font-size: 1rem;
}

.image_block_1 {
  width: 39.2rem;
  height: 26.1rem;
  margin-top: 2.4rem;
  margin-left:3rem;
  filter: brightness(150%);
}

.image_block_2 {
  width: 39.2rem;
  height: 26.1rem;
  margin-top: 1.5rem;
  margin-left: 3rem;
}

.image_block img {
  width: 100%;
  max-width: 12rem;
  height: auto;
  border-radius: 0.6rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.06);
}

table {
  width: 72.8rem;
  height: 27.3rem;
}

.info_table {
  margin-top: 1.1rem;
  margin-left: 2.9rem;
}

.info_table th,
.info_table td {
  border: 1px solid #000000;
  text-align: left;
  letter-spacing: 0.075rem;
}

.cell{
    padding-bottom: 2.6rem;
    padding-left: 2rem;
        padding-right: 0.3rem;
        line-height: 1.6;
}

.cell2{
    padding-bottom: 0.5rem;
    padding-left: 2rem;
    line-height: 1.7;
}

.info_table td{
    padding-left: 1.8rem;
}


.red-underline {
  color: #E02953;
  /* 文字色を赤に */
  text-decoration: underline;
  /* 下線を表示 */
  text-decoration-color: #E02953;
  /* 下線の色も赤に */
  text-underline-offset: 5px;
}

.foster_parent_section {
  background: #fff;
  text-align: left;
  margin-top: 10rem;
}

.section_title_2 {
  margin-left:0.5rem;
  font: 2.5rem/3.6rem "Zen Maru Gothic";
  font-weight: 500;
  position:relative;
}
.section_title_2::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 4rem;
  width: 1rem;
  content: '';
  position: absolute;
  top: -0.2rem;
  left: -1.5rem;
}


.requirements_block {
  margin-bottom: 2.5rem;
}

.requirements_list {
  font: 1.5rem/3rem "Noto Sans JP";
  font-weight: 500;
  margin-left: 2.9rem;
  margin-top:1.1rem;
  letter-spacing: 0.075rem;
}

.requirement_image {
  width: 30.7rem;
  height: 20.5rem;
  margin-top:1rem;
  margin-left: 2.9rem;
}


.flow_block {
  margin-bottom: 2rem;
}

.subtitle_flow {
  font: 2rem/2.9rem "Noto Sans JP";
  font-weight: 500;
  margin-top: 6.9rem;
  margin-left:2.9rem;
  position: relative;
}
.subtitle_flow::before {
    background-color: #a36ac7;
    display: inline-block;
    height: 0.4rem;
    width: 3rem;
    content: '';
    position: absolute;
    top: 1.3rem;
    left: -4rem;
}

.list_image {
  display: flex;
}

.flow_list {
  margin-bottom: 1.5rem;
  font: 2rem/3rem "Noto Sans JP";
  font-weight: 500;
  margin-top: 1.5rem;
  margin-left: -6rem;
}

.flow_list li {
  position: relative;
  padding-left: 2.3rem;
  margin-left: 6.6rem;
  letter-spacing:0.1rem;
  
}

.circle_icon_2 {
  width: 2rem;
  height: 2rem;
  background: #fff;
  border: 1px solid #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin-left: 14.3rem;
  margin-top: 0.9rem;
  margin-bottom: 1rem;
  /* アイコン色調整（内側円背景） */
  background: #B577DF;
}

/* 三角形 */
.triangle_2 {
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-top: 0.6rem solid #fff;
  border-bottom: none;
  transform: none;
  margin-top: 0.6rem;
}

.flow_image {
  width: 41.9rem;
  height: 37.4rem;
  display: flex;
  margin-top: 7rem;
  margin-left:6rem;
}


.contact_section {
  background: #fff;
  text-align: left;
  margin-top: 10.2rem;
}

.contact_title {
  font: 2.5rem/3.6rem "Zen Maru Gothic";
  font-weight: 500;
  margin-top:-1.6rem;
  margin-left:0.4rem;
  position: relative;
}
.contact_title::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 4rem;
  width: 1rem;
  content: '';
  position: absolute;
  top: -0.2rem;
  left: -1.5rem;
}

.contact_block {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact_text {
  flex: 1 1 18rem;
  font-size: 1rem;
}

.contact_subtitle {
  font: 2rem/2.9rem "Noto Sans JP";
  font-weight: 500;
  color: #000000;
  margin-top:1.7rem;
  margin-left:2.9rem;
  position: relative;
}

.contact_subtitle::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 0.4rem;
  width: 3rem;
  content: '';
  position: absolute;
  top: 1.3rem;
  left: -4rem;
}

.contact_main_text {
  font: 1.5rem/3rem "Noto Sans JP";
  font-weight: 500;
  margin-top: 1rem;
  margin-left: 2.9rem;
  letter-spacing: 0.075rem;
}

.contact_image {
  width: 25.5rem;
  height: 17rem;
  margin-right: 3rem;
  margin-top:6.2rem;
}


.info_block {
  margin-top: 7rem;
  margin-bottom:1rem;
}

.info_title {
  font: 2rem/2.9rem "Noto Sans JP";
  font-weight: 500;
  margin-top:-0.5rem;
  margin-left:2.8rem;
  position: relative;
  
}
.info_title::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 0.4rem;
  width: 3rem;
  content: '';
  position: absolute;
  top: 1.3rem;
  left: -4rem;
}

.address {
  font: 1.5rem/3rem "Noto Sans JP";
  font-weight: 500;
  margin-top:1.1rem;
  margin-bottom:-0.6rem;
  margin-left: 2.9rem;
  letter-spacing: 0.075rem;
    width: 76.6rem;
  height: 29.1rem;
  position: relative;
}


.family_image {
  width: 44rem;
  height: 17rem;
  right: 2.5rem;
    top: 11rem;
    position: absolute;
}

.custom_container_title_sp{
  display: none;
}

.pc{
  display: block;
}

.sp{
  display: none;
}

.p-br{
  text-indent: 0;
  padding-bottom: 2rem;
}

.footer{
  background-color: #F9C1DD;
}
.footer img {
  display: block;
}
.footer div {
  display: none;
}

/*/////*/
/*SP版*/
/*/////*/

@media screen and (max-width:699.98px){


  main{
    width: 100%;
    background-image: url("../img/bgpink.png");
    background-size: cover;
  }


  .custom_container{
    padding-top: 5rem;
    padding-bottom: 0;
  }
  .custom_container_title{
    display: none;
  }
  .container{
    width: 33.5rem;
    margin: 0 2rem 10rem;
    padding: 3rem 1rem 6rem;
  }

  .section{ 
    margin-top: 0;
    margin-left: 0;
  }

  .section_2{
    margin-top: 2.5rem;
    margin-left: 1rem;
    margin-bottom: 5rem;
  }
  .main_sidebar{
    display: block;
  }

  .sidebar{
    display: none;
  }

  .custom_titles{
    flex-direction: column;
  }

  .section_content{
    padding-left: 0;
        padding-right: 0;
        width: 28.9rem;
        margin: 0 auto;
  }

  .requirements_block{
    margin-left: 0.5rem;
  }
  .contact_section{
    margin-left: 1.5rem;
    margin-top: 0;
    padding-bottom: 15rem;
  }

  .subtitle,
  .info_title{
    font-size: 1.6rem;
    margin-bottom: 1rem;
    margin-left: 2rem;
    padding-left: 0.5rem;
    margin-top: 0;
  }

  .contact_subtitle{
    font-size: 1.7rem;
    margin-bottom: 1rem;
    margin-top: 0;
  }

  .subtitle::before,
  .contact_subtitle::before,
  .info_title::before{
    width: 2rem;
    margin-left: 1.8rem;
  }

  .subtitle_2{
    font-size: 1.4rem;
    margin-top: 0;
    line-height: 1.5;
  }

  .main_text{
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-left: 0;
        padding-left: 2.5rem;
        padding-right: 1rem;
  }

  .text_block{
    line-height: calc(30 / 14);
        letter-spacing: calc(0.75em / 14);
  }

  .main_visual{
    width: 35.5rem;
    height: 18rem;
    margin: 2rem auto 0;
        box-shadow: 0.3rem 0.3rem 0rem #B577DF;
  }

  .main_visual img{
    width: 100%;
    object-position: 0;
    border-radius: 1rem;
  }

  .custom_container_title_sp{
    display: block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    background-color: #a36ac7;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem 2rem;
        margin: 3rem auto 3rem;
        border-radius: 1rem;
        width: fit-content;
        height: fit-content;
  }

  .section_title,
  .section_title_2,
  .contact_title{
    font-size: 2rem;
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
  }

  .subtitle_flow{
        font-size: 2rem;
        margin-left: 1.5rem;
        margin-bottom: 1rem;
        margin-top: 5rem;
        font-family: "Zen Maru Gothic", sans-serif;
  }

  .section_title::before,
  .section_title_2::before,
  .contact_title::before{
        width: 0.5rem;
        height: 2.4rem;
        top: 0.8rem;
        left: -0.8rem;
  }

    .subtitle_flow::before{
        width: 0.5rem;
        height: 2rem;
        top: 0.8rem;
        left: -0.8rem;
  }

  .subtitle_2_red{
    font-size: 1.5rem;
  }

  .image_block_1{
        width: 28.9rem;
        height: 17rem;
        display: block;
        margin: 1rem auto 5rem;
  }
  .image_block_2,
  .requirement_image,
  .contact_image{
        width: 28.9rem;
        height: 17rem;
        display: block;
        margin: 1rem auto 0;
  }

  .flow_image,
  .family_image{
    width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto 0;
  }

  .flow_list{
    font-size: 1.6rem;
    text-align: center;
    margin-right: 4rem;
  }

  .circle_icon_2{
    margin-left: 13.3rem;
    margin: 0 60%;
  }

  .requirements_list{
    font-weight: 400;
    margin: 0;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .list_image{
    display: block;
  }

  .info_table th,
.info_table td{
  display: flex;
  flex-direction: column;
}

.info_table th{
  text-align: center;
}

.info_table td{
  padding: 1rem 0.5rem;
}
  .info_table{
    margin-left: 0;
  }
  table{
    width: 28rem;
    margin: 0 auto;
  }
  .cell,
  .cell2{
    padding: 1rem 2rem;
  }
  .sp_none{
    display: none;
  }

  .foster_parent_section{
    margin-left: 1rem;
    margin-top: 0;
    margin-bottom: 5rem;
  }

  .contact_block{
    flex-direction: column;
    margin-bottom: 5rem;
  }

  .info_block{
    margin-top: 0;
    padding-bottom: 5rem;
  }
  .address{
    display: flex;
    flex-direction: column;
    width: 100%;
  }


  .column_text{
    width: 90%;
    font-weight: 400;
  }

  .contact_main_text{
    font-weight: 400;
    margin: 0;
    padding-left: 2.5rem;
    padding-right: 2rem;
  }

.family_image{
  margin-top: 23rem;
  margin-right: 1rem;
}
  
 aside {
    width: 33.5rem;
    margin: 0 auto 1rem;
    background-color: #fff;
    border-radius: 1rem;
    border: #000 solid 0.1rem;
    position: relative;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
  }
  .sidebar_text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    font-family: "Zen Maru Gothic", sans-serif;
  }
    .ks_toggle-button {
        background-color: #A36AC7;
        width: 2.2rem;
        height: 2.2rem;
        padding: 1rem;
        border-radius: 100%;
        border: #fff 0.1rem solid;
        position: relative;
        transition: transform 0.3s ease-in-out;
    }
    .ks_button_line_1,
    .ks_button_line_2 {
        position: absolute;
        left: 0.3rem;
        display: block;
        width: 1.4rem;
        margin: 0 auto;
        border-bottom: #fff 0.1rem solid;
        transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, left 0.3s ease-in-out;
    }
    .ks_button_line_2 {
        top: 1rem;
        transform: rotate(90deg);
    }
    .ks_menu-icon {
        display: none;
        margin: 1rem 0 0.7rem;
    }
    /* アクティブクラス付与の際 */
    .ks_toggle-button.is-active .ks_button_line_2
    {
        transform: rotate(0deg);
    }
  aside li a {
    display: block;
    width: 100%;
    padding: 1rem 2.5rem;
    color: #333;
    transition: transform .5s, opacity .5s;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
  }
  aside li:last-child {
    margin-bottom: 1rem;
  }
  
  .support_link{
    padding: 0.5rem 0;
    margin: 1rem auto;
    width: 88%;
  }

  .link_btn{
    padding: 1rem 1.5rem;
  }

  .circle_icon{
    margin-top: 1.4rem;
    margin-right: 4rem;
    width: 2.7rem;
  }

  .p-br{
    text-indent: 0;
    margin-bottom: 2rem;
  }

  .pc{
    display: none;
  }

  .sp{
    display: block;
  }
}