main {
  font-family: "Zen Maru Gothic", sans-serif;
  width: 100%;
  padding-bottom: 10rem;
  position: relative;
  background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 50.1%;
    background-image: url(../img/bg/bg_short2x.png);
}

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

.bg_middle {
  position: absolute;
  top: 100rem;
  left: 0rem;
  z-index: -1;
  display: none;
}

.bg_sp {
  position: absolute;
  top: 0rem;
  left: 0rem;
  z-index: -1;
  object-fit: cover;
  height: 100%;
  width: 100%;
}


.custom_titles {
  display: flex;
}

p {
  font-size: 1.6rem;
}

#link_about,
#notice,
#link_hp,
#access {
  scroll-margin-top: 10rem;
}

.custom_container_title {
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 3rem;
  margin-left: 8.5rem;
  margin-top: 5rem;
  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 {
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.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: 10rem;
}

.main_visual img {
  border-radius: 2rem;
  
}

.sidebar {
  width: 27.9rem;
  font: 1.6rem/2.4rem "Zen Maru Gothic";
  font-weight: 500;
  border: 0.1rem solid #000000;
  border-radius: 1rem;
  background: #FFFFFF;
  padding: 2rem 0;
  /* position:fixed; スクロールしても固定しますって意味 */
  position:fixed; 
  top:25.8rem;
  right:7rem;
}

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

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

.support_link {
  background: #F7F1DC;
  color: #000000;
  padding: 1.45rem 3rem;
  border-radius: 1rem;
  cursor: pointer;
  display: flex;
  margin-left: 2.1rem;
    width: 20rem;
  position: relative;
}

.circle_icon {
    position: absolute;
    right: 1rem;
    top: 0;
    bottom: 0;
    margin: auto 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  /* アイコン色調整（内側円背景） */
  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 {
  width: 83.6rem;
  height: auto;
  border: 0.1rem solid #000000;
  border-radius: 1rem;
  margin-left: 7rem;
  padding: 6rem 3rem;
  background: #fff;
}

.section {
  margin-bottom: 2.5rem;
  margin-left: 3rem;
  margin-top: 3.2rem;
}

.section_2 {
  margin-bottom: 10rem;
}

.section_3 {
  margin-bottom: 7rem;
}

.section_title {
  margin-bottom: 1.7rem;
  font-size: 2.5rem;
  font-weight: 500;
  margin-left:1.5rem;
  position:relative;
}
.section_title::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 4rem;
  width: 1rem;
  content: '';
  position: absolute;
  top: -0.3rem;
  left: -1.6rem;
}

.section_title.fist_h2 {
  margin-bottom: 3.2rem;
}


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

.text,
.list-container {
  font-size:1.5rem;
  font-weight: 400;
  font-family: "Noto Sans JP" , sans-serif;
  text-align: left;
  margin-left: 4rem;
  margin-top:1.1rem;
  letter-spacing: 0.07rem;
}

.subtitle_3 {
  font-size:1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  text-align: left;
  margin-top:1rem;
  letter-spacing:0.075rem;
}
.main_text {
  font-size: 1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  margin-left: 4rem;
}

p {
    text-indent: 1rem;
}

.parent {
  font-size: 1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
}

.parent_text {
  font-size: 1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
}

.requirements_list {
  font-size: 1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 500;
  margin-left: 7rem;
}

.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: 71.6rem;
  height: 47.7rem;
  margin-top: 1.4rem;
  margin-left:3rem;
}

.image_block_2 {
  width: 39.2rem;
  height: 26.1rem;
  margin: 0 auto;
  margin-top: 2.5rem;
}
.subtitle_social {
  font-size: 2rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 500;
  margin-top: 7rem;
  margin-left:4rem;
  position: relative;

}
/* beforeは疑似要素を前につけるって意味 */
.subtitle_social::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 0.4rem;
  width: 3rem;
  content: '';
  position: absolute;
  top: 1.2rem;
  left: -4rem;
}

.link-text {
  margin-top: 1rem;
}

.link-title {
  color: #E02953;   /* 画像と同じピンクカラー指定 */
  font-size:1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 500;
}

.text p,
.list-container p {
  letter-spacing: -0.01rem;
  text-indent: 0rem;
  font-weight: 400;
  font-size: 1.5rem;
}

.link-list {
  margin-top: 3.6rem;
  margin-left:0.7rem;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 400;

}

.link-list dt {
  width: 14%;
  margin-bottom: 0.8rem;
  letter-spacing: 0.1rem;
  font-weight: 500;
}

.link-list dd {
  width: 86%;
  letter-spacing: 0.07rem;
  font-weight: 400;
}

.link-list dd:nth-child(4){
  margin-left: -0.5rem;
}

.link-list dd:nth-child(6){
  margin-left: -0.5rem;
}

.link-list dd:nth-child(8){
  margin-left: -1rem;
}

.link-en {
  color: #E02953;      
  font-size:1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight:500;
}

.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);
}
.foster_parent_section {
  background: #fff;
  text-align: left;
  margin-left: 3rem;
}

.section_title_2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-left:1.5rem;
  margin-top:-0.6rem;
  position:relative;
}
.section_title_2::before {
  background-color: #a36ac7;
  display: inline-block;
  height: 4rem;
  width: 1rem;
  content: '';
  position: absolute;
  top:-0.1rem;
  left: -1.5rem;
}


.card-list,
.news_list {
  width: 80rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 0 0 3rem;
  flex-wrap: wrap;
}

.card,
.news_item {
  width:23.5rem;
  display: flex;
  flex-direction: column;
  
}

.card-img img,
.news_thumbnail img,
.Instagram-img img {
  /*width:23.5rem;*/
  width: 100%;
  border-radius: 0.5rem;
  display: block;
  border: 0.1rem solid #B577DF;
  height:13.9rem;
}

.Instagram-img {
  height: 21.6rem;
}

.Instagram-img img{
  width: 23.7rem;
  height: 21.6rem;
}

.news_meta {
  margin-top: 0.8rem;
  width: 100%;
}

.news_date {
  font-size:1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight:500;
  color: #000000;
  letter-spacing: 0.08rem;
  margin-bottom: 0.6rem;
}

.news_title {
  font-size:1.5rem;
  font-weight:500;
  color: #000000;
  letter-spacing: 0.04rem;
  letter-spacing: 0.08rem;
  font-family: "Zen Maru Gothic", sans-serif;
}

.news_buttonbox-wrap {
  text-align: center;
  margin: 2rem auto 0;
}

.news_buttonbox {
  width: fit-content;
  height: 3.1rem;
  padding: 0.5rem 1rem;
  background: #B577DF;
  border-radius: 1.6rem;
  color: #fff;
  font-size:1.5rem;
  font-weight:500;
  border: none;
  letter-spacing: 0.075rem;
  margin-top:0.2rem;
}

.requirements_block {
  margin-bottom: 2.5rem;
}

.requirements_list {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 500;
}

.requirement_image {
  width: 30.7rem;
  height: 20.5rem;
  margin-bottom: 2rem;
  margin-left: 7rem;
}


.flow_block {
  margin-bottom: 2rem;
}

.subtitle_flow {
  font-size: 2rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 500;
  margin-top: 7rem;
  margin-left:3rem;
  position: relative;
}
.subtitle_flow::before {
    background-color: #a36ac7;
    display: inline-block;
    height: 0.4rem;
    width: 3rem;
    content: '';
    position: absolute;
    top: 1.3rem;
    left: -3rem;
}

.list_image {
  display: flex;
}

.flow_list {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-left: -4rem;
}

.flow_list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1rem;
  margin-left: 7rem;
  
}

.circle_icon_2 {
  width: 2rem;
  height: 2rem;
  background: #fff;
  border: 1px solid #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin-left: 12.3rem;
  margin-top: 1rem;
  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-left: 3rem;
  margin-top: 10.2rem;
}

.contact_block {
  display: flex;
  gap: 2rem;
}
.address {
  font-size: 1.6rem;
  font-family: "Noto Sans JP" , sans-serif;
  font-weight: 400;
  margin-left: 0.7rem;
  line-height:3.4rem;
  text-indent: 0;
  letter-spacing: 0.08rem;
}

.map {
  width: 43rem;
  height:35rem;
  margin-left:2.2rem;
}


.map iframe {
  width: 43rem;
  height: 35rem;
}

.sp {
  display: none;
}

@media (max-width: 699.98px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
  
  .bg_top {
    top: -4rem;
  }

  .bg_middle {
    bottom: -24.4rem;
  }



  main {
      position: relative;
      padding-bottom: 10rem;
      background-image: none;
    }

  .main_sidebar {
      display: block;
  }

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

  .main_visual img {
    margin-top: 0;

  }

  .custom_container_title  {
      font-size: 2rem;
      margin-bottom: 3rem;
      /* position: relative; */
      margin-left: 0rem;
      color: #FFFFFF;
      background-color: #a36ac7;
      text-align: center;
      width: fit-content;
      height: fit-content;
      padding: 1rem 2rem;
      margin: 3rem auto 3rem;
      border-radius: 1rem;
  }

  .custom_container_title::before {
    display: none;
  }

  .section_title {
    font-size: 2rem;
    margin-left: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .section_title.fist_h2 {
    margin-bottom: 1.5rem;
  }

  .section_title::before {
    height: 2.4rem;
    width: 0.5rem;
    content: '';
    top: 0.3rem;
    left: -0.8rem;
  }

  .section_title_long {
    font-size: 1.75rem;
  }

  .section_2 {
    margin-bottom: 7rem;
  }

  .section_3 {
    margin-bottom: 5rem;
  }

  .subtitle {
    margin-top: 0;
    font-size: 1.6rem;
    padding-left: 4rem;
    margin-bottom: 1rem;
    margin-left: 0;
  }

  .subtitle::before {
    width: 2rem;
    height: 0.4rem;
    top: 1.1rem;
    left: 1rem;
  }

  .text,
  .list-container{
    font-size: 1.4rem;
    line-height: calc(30 / 14);
    margin-bottom: 1rem;
  }

  .text {
    width: 28.9rem;
    margin: 0 auto 1rem;
  }

  .subtitle_3 {
    margin-left: 4rem;
  }

  .link-text {
    margin-left: 4rem;
  }

  .link-title {
    margin-left: 0rem;
    text-indent: 0rem;
  }

  .link-list {
    margin-left: 0;
    margin-top: 1rem;
  }

  .link-list dt,
  .link-list dd {
    display: block;
    width: 100%;
  }

  .link-list dd:nth-child(4),
  .link-list dd:nth-child(6),
  .link-list dd:nth-child(8) {
    margin-left: 0;
  }

  .container {
    padding: 3rem  1.5rem 6rem;
    width: 33.5rem;
    margin: 0 auto;
  }

  .card-list,
  .news_list {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    width: 28.9rem;
  }

  .card,
  .news_item,
  .news_item img,
  .Instagram-img,
  .Instagram-img img {
    width: 100%;
    height: auto;
    margin-top: 0;
  }

  .Instagram-img,
  .Instagram-img img {
    aspect-ratio: 1 / 1;
  }

  .image_block_2 {
    width: 28.9rem;
    height: 17rem;
    margin: 0 auto;
  }

  .contact_block {
    display: block;
  }

  .address {
    margin-left: 2.8rem;
  }

  .address-margin {
    margin-left: 5rem;
  }

  .map {
    width: 28.9rem;
    height: 22rem;
    margin: 1rem auto 0;
    display: block;
  }

  .map iframe {
    width: 28.9rem;
    height: 22rem;
  }

  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;
  }

  .sp-support_link a{
    background-color: #F7F1DC;
    color: #000;
    border-radius: 1rem;
    cursor: pointer;
    width: auto;
    margin: 0 1rem;
    position: relative;
    padding: 1rem 2rem ;
  }

  .sp-support_link .circle_icon{
    position: absolute;
    
  }
}

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

