@charset "utf-8";

/* common parts
===============================================================*/
.flex_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sec {
  color: var(--dark-color);
  line-height: 1.875;
}

@media print,
screen and (min-width: 768px) {
  .sec {
    margin-bottom: 94px;
  }

  .h1_primary {
    font-size: 5rem;
    margin: 49px auto 35px;
    letter-spacing: -0.01em;
  }
  .h1_primary.top_ttl {
    letter-spacing:-0.025em;
  }
}

@media screen and (max-width: 767.9px) {
  .sec .content {
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .h1_primary {
    font-size: 2.7rem;
    margin: 0 0 26px 0;
    line-height: 1.48;
  }
}

/* === main_section ===*/
.main_section {
  margin-top: 112px;
  padding-bottom: 102px;
  background-image: url('/babykumon/kuchikomi/img/icon_arrow.png');
  background-repeat: no-repeat;
  background-size: 66px 94px;
  background-position: bottom center;
}

.main_section_inner {
  position: relative;
  background: var(--light-gray-color2);
  border-radius: 20px;
  padding: 38px 40px 32px;
}

.main_section_inner .title {
  font-size: 2.8rem;
  font-family: var(--font-b);
  color: #693807;
  padding-left: 128px;
  line-height: 1.6;
}

.main_section_inner .text {
  font-size: 1.6rem;
  margin-top: 27px;
}

.main_section_inner .img {
  position: absolute;
  top: -78px;
  left: 16px;
}

.lead_text {
  color: #000;
}

@media screen and (max-width: 767.9px) {
  .main_section {
    margin-top: 70px;
    padding-bottom: 59px;
    background-size: 37.5px 53.5px;
  }

  .main_section_inner {
    border-radius: 10px;
    padding: 25px 15px;
  }

  .main_section_inner .img {
    top: -35px;
    left: 0;
    width: 114px;
    height: auto;
  }

  .main_section_inner .title {
    font-size: 1.8rem;
    padding-left: 99px;
  }

  .main_section_inner .text {
    font-size: 1.4rem;
    margin-top: 17px;
    line-height: 1.5;
  }

  .lead_text {
    text-align: left !important;
  }
}

@media screen and (max-width: 374px) {
  .main_section_inner .img {
    top: -30px;
    width: 100px;
  }

  .main_section_inner .title {
    font-size: 1.6rem;
    padding-left: 85px;
  }
}

@media screen and (max-width: 340px) {
  .main_section_inner {
    padding: 15px;
  }

  .main_section_inner .img {
    top: -22px;
    width: 80px;
  }

  .main_section_inner .title {
    padding-left: 65px;
  }
}

/* === content_section ===*/
.content_section {
  margin-top: 35px;
}

.content_section_inner {
  padding: 70px 57px 60px 40px;
  border-radius: 20px;
  background-color: var(--tertiary-color);
}

.content_section_inner .title>span {
  display: inline-block;
  padding: 10px 104px 13px;
  position: relative;
}

.content_section_inner .title>span::before {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 0;
  background: url('/babykumon/kuchikomi/img/icon_title01.png') no-repeat;
  background-size: contain;
  width: 62px;
  height: 114px;
}

.content_section_inner .title>span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  background: url('/babykumon/kuchikomi/img/icon_title02.png') no-repeat;
  background-size: contain;
  width: 60px;
  height: 85px;
}

.content_section_inner .title .sub {
  font-size: 2.4rem;
  line-height: 1.83;
  color: #3c0c01;
  font-family: var(--font-b);
  display: inline-block;
  position: relative;
  padding: 0 28px;
}

.content_section_inner .title .sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  background: url('/babykumon/kuchikomi/img/icon_title03.png') no-repeat;
  background-size: contain;
  width: 17px;
  height: 24px;
}

.content_section_inner .title .sub::after {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  background: url('/babykumon/kuchikomi/img/icon_title04.png') no-repeat;
  background-size: contain;
  width: 17px;
  height: 24px;
}

.content_section_inner .title .main {
  font-size: 3.6rem;
  line-height: 1.22;
  color: #eb7377;
  font-family: var(--font-b);
  display: inline-block;
  margin-top: 10px;
}

.list_answer {
  margin-top: 50px;
}

.list_answer li {
  align-items: flex-end;
}

.list_answer li:nth-child(n+2) {
  margin-top: 30px;
}

.list_answer li .box_text .text {
  background: #fff;
  border-radius: 20px;
  padding: 28px 30px 24px;
  position: relative;
}

.list_answer li .box_text .text::before {
  content: "";
  position: absolute;
  background: url('/babykumon/kuchikomi/img/icon_box.png') no-repeat;
  background-size: contain;
  width: 28px;
  height: 20px;
  bottom: -11px;
  left: 85px;
}

.list_answer li .box_text .text .ttl {
  font-size: 2.8rem;
  font-family: var(--font-b);
  line-height: 1.61;
}

.list_answer li .box_text .text .txt {
  font-size: 1.6rem;
  line-height: 1.88;
  margin-top: 13px;
  padding-top: 14px;
  background: url('/babykumon/kuchikomi/img/bg_line_sp.png') left top repeat-x;
}

.list_answer li .image {
  display: flex;
  align-items: flex-end;
  margin-top: -40px;
}

.list_answer li .image .img {
  width: 123px;
  margin-right: 4px;
}

.list_answer li .image img {
  max-width: 100%;
  height: auto;
}

.list_answer li .image .name {
  color: #fff;
  text-align: center;
  background: var(--primary-color);
}

@media print,
screen and (min-width: 768px) {
  .content_section_inner .title {
    padding-left: 17px;
  }

  .list_answer li .box_text .text::before {
    width: 40px;
    height: 31px;
    bottom: -20px;
    left: 10px;
  }

  .list_answer li .box_text {
    width: 736px;
    margin-right: 0;
    margin-left: auto;
  }

  .list_answer li .box_text .text .txt {
    background: url('/babykumon/kuchikomi/img/bg_line.png') left top repeat-x;
  }

  .list_answer li .image .name {
    width: 269px;
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 9px 0 10px;
    margin-top: 37px;
  }
}

@media screen and (max-width: 767.9px) {
  .content_section {
    margin-top: 28px;
  }

  .content_section_inner {
    padding: 26px 15px 15px;
    border-radius: 15px;
  }

  .content_section_inner .title>span {
    padding: 0 5px;
  }

  .content_section_inner .title>span::before {
    left: -41px;
    bottom: 2px;
    background: url('/babykumon/kuchikomi/img/icon_title01_sp.png') no-repeat;
    background-size: contain;
    width: 39px;
    height: 51px;
  }

  .content_section_inner .title>span::after {
    right: -38px;
    bottom: 1px;
    background: url('/babykumon/kuchikomi/img/icon_title02_sp.png') no-repeat;
    background-size: contain;
    width: 37.5px;
    height: 53.5px;
  }

  .content_section_inner .title .sub {
    font-size: 1.6rem;
    line-height: 2;
    padding: 0 15px;
  }

  .content_section_inner .title .sub::before {
    top: 5px;
    background: url('/babykumon/kuchikomi/img/icon_title03_sp.png') no-repeat;
    background-size: contain;
    width: 13px;
    height: 21px;
  }

  .content_section_inner .title .sub::after {
    top: 5px;
    background: url('/babykumon/kuchikomi/img/icon_title04_sp.png') no-repeat;
    background-size: contain;
    width: 13px;
    height: 21px;
  }

  .content_section_inner .title .main {
    font-size: 2.3rem;
    line-height: 1.39;
    margin-top: 0;
  }

  .list_answer {
    margin-top: 18px;
  }

  .list_answer li:nth-child(n+2) {
    margin-top: 20px;
  }

  .list_answer li .box_text .text {
    border-radius: 10px;
    padding: 20px 15px 20px;
  }

  .list_answer li .box_text .text .ttl {
    font-size: 1.8rem;
  }

  .list_answer li .box_text .text .txt {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-top: 8px;
    padding-top: 11px;
  }

  .list_answer li .image {
    justify-content: space-between;
    margin-top: -11px;
  }

  .list_answer li .image .img {
    width: 82px;
    margin-right: 0;
    margin-left: -5px;
  }

  .list_answer li .image .name {
    font-size: 1.3rem;
    padding: 6px;
    border-radius: 5px;
    width: 65.397%;
    max-width: 206px;
  }
}

@media screen and (max-width: 374px) {
  .content_section_inner .title .sub {
    font-size: 1.5rem;
  }

  .content_section_inner .title .main {
    font-size: 2.1rem;
  }

  .content_section_inner .title>span::before {
    left: -30px;
  }

  .content_section_inner .title>span::after {
    right: -30px;
  }
}

@media screen and (max-width: 340px) {
  .content_section_inner .title .sub {
    font-size: 1.4rem;
  }

  .content_section_inner .title .main {
    font-size: 2rem;
  }

  .content_section_inner .title .sub::before,
  .content_section_inner .title .sub::after {
    top: 6px;
    width: 10px;
    height: 18px;
  }

  .list_answer li .box_text .text .ttl {
    font-size: 1.6rem;
  }
}

/* === other_section ===*/
.other_section {
  margin-top: 76px;
}

.list_link {
  border-radius: 16px;
  border: solid 2px #f09b9e;
  margin-top: 25px;
  padding: 25px 40px 23px 30px;
  position: relative;
}

.list_link li a {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 44px;
  text-decoration: none;
}

.list_link li a::after {
  position: absolute;
  content: "";
  display: inline-block;
  right: 14px;
  top: 50%;
  width: 22px;
  height: 22px;
  background: url('/babykumon/common_2022/img/icon/icon_arrow_next_wh.svg') #F09B9E center center / 7.5px 13px no-repeat;
  border-radius: 50%;
  transform: translateY(-50%);
}

.list_link li a .img {
  width: 70px;
}

.list_link li a .txt {
  width: 145px;
  color: var(--dark-color);
  font-size: 1.6rem;
  line-height: 1.75;
}

.list_link li a .img img {
  max-width: 100%;
  height: auto;
}

@media print,
screen and (min-width: 768px) {
  .other_link {
    position: relative;
  }

  .other_link::before {
    content: "";
    position: absolute;
    width: 880px;
    height: 2px;
    top: 50%;
    left: 39px;
    background: url('/babykumon/kuchikomi/img/bg_line.png') left top repeat-x;
  }

  .list_link::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 220px;
    top: 28px;
    left: 33.8%;
    background: url('/babykumon/kuchikomi/img/bg_line_vertical.png') center top repeat-y;
  }

  .list_link::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 220px;
    top: 28px;
    right: 34%;
    background: url('/babykumon/kuchikomi/img/bg_line_vertical.png') center top repeat-y;
  }

  .list_link li {
    width: 275px;
    padding: 13px 0;
  }

  .list_link li:nth-child(n+4) {
    margin-top: 12px;
  }

  .list_link li a {
    justify-content: space-between;
    height: 84px;
  }

  .list_link li a::after {
    right: 0;
    width: 30px;
    height: 30px;
    background: url('/babykumon/common_2022/img/icon/icon_arrow_next_wh.svg') #F09B9E center center / 11px 18px no-repeat;
  }
}

@media screen and (max-width: 767.9px) {
  .other_section {
    margin-top: 57px;
  }

  .list_link {
    border-radius: 0;
    border: none;
    padding: 0;
  }
  .slick-list{
    margin-right:-15px;
  }
  .list_link.slick-slider .slick-track {
    display: flex;
  }

  .list_link li {
    margin-right: 20px;
    width: 80vw;
    max-width: 385px;
    min-width: 265px;
    border-radius: 10px;
    border: 2px solid #f09b9e;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-backface-visibility: hidden;
    outline: none !important;
  }

  .list_link li a {
    padding: 0 10px;
    height: 112px;
    width: 100%;
    outline: none;
    border-radius:  10px;
  }

  .list_link li a .txt,
  .list_link li a .img {
    display: inline-block;
    vertical-align: middle;
  }

  .list_link li a .img {
    width: 65px;
    height: 65px;
    margin-right: 8px;
  }

  .list_link li a .img img {
    width: 100%;
    height: 100%;
  }

  .list_link li a .txt {
    width: 170px;
    font-size: 1.4rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 374px) {
  .list_link li a .txt {
    width: 150px;
  }
}

@media screen and (max-width: 340px) {
  .list_link li a .txt {
    width: 140px;
  }
}

/* Slider */
@media screen and (max-width: 767.9px) {
  .sp_slider .slick-next {
    overflow: visible;
  }

  .sp_slider .slick-prev {
    left: -15px;
  }

  .sp_slider .slick-next {
    right: 0;
  }

  .sp_slider .slick-arrow.slick-disabled {
    display: none !important;
  }

  .sp_slider .slick-arrow {
    position: absolute;
    display: inline-block;
    width: 32px;
    height: 45px;
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    z-index: 100;
    top: 0;
    bottom: 0;
    border-radius: 0 100px 100px 0;
    margin: auto;
    background: url('/babykumon/common_2022/img/icon/icon_arrow_prev_wh.svg') 30% center no-repeat;
    background-color: rgba(102, 102, 102, .28);
    background-size: 30%;
  }

  .sp_slider .slick-next {
    transform: rotate(180deg);
    margin-right:-15px;
  }

  .sp_slider .draggable {
    padding-top: 50px !important;
  }

  .sp_slider .slick-slide {
    outline: none !important;
  }

  .sp_slider>.list:not(:first-child),
  .sp_slider>.card:not(:first-child) {
    display: none;
  }

  .sp_slider.slick-initialized .list,
  .sp_slider.slick-initialized .card {
    display: block;
  }

  .sp_slider .slick-list {
    padding-top: 0 !important;
    padding-right: 20px !important;
    padding-left: 0px !important;
  }

  .sp_slider .slick-list .slick-slide > div {
      margin: 0 10px;
  }
}