* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

article, aside, footer, header, nav, section, figcaption, figure, main {
  display: block;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
  vertical-align: top;
}

table {
  border-collapse: collapse;
}

button, input, select, textarea {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

textarea {
  overflow: auto;
  resize: vertical;
}

[type=checkbox], [type=radio] {
  box-sizing: border-box;
  padding: 0;
}

a, area, button, input, label, select, summary, textarea, [tabindex] {
  touch-action: manipulation;
}

@media screen and (max-width: 800px) {
  #secondTop {
    width: 100%;
    aspect-ratio: 75/49;
    background-image: url(../images/kodomo2024/second_top_bg_sp.webp);
    background-size: cover;
    background-position: center bottom;
  }
  #secondTop #secondTopInner {
    width: 90vw;
    height: 100%;
    padding-top: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #secondTop #secondTopInner #catName {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    gap: 20px;
  }
  #secondTop #secondTopInner #catName:not(.noIcon):before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
  #secondTop #secondTopInner #catName:not(.noIcon).shigoto:before {
    background-image: url(../images/kodomo2024/icon_hakari.webp);
  }
  #secondTop #secondTopInner #catName:not(.noIcon).narikata:before {
    background-image: url(../images/kodomo2024/icon_badge.webp);
  }
  #secondTop #secondTopInner #catName:not(.noIcon).houritsu:before {
    background-image: url(../images/kodomo2024/icon_book.webp);
  }
  #secondTop #secondTopInner #catName:not(.noIcon).saiban:before {
    background-image: url(../images/kodomo2024/icon_loupe.webp);
  }
  #secondBody {
    background-color: #f7f5ed;
  }
  #secondBody .inner {
    width: 90%;
    margin: 0 auto;
    padding-top: 20px;
  }
  #secondBody .inner .bodyRead .readText {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    line-height: 1.8;
  }
  #secondBody .inner .bodyRead .readImg {
    margin-top: 50px;
    text-align: center;
  }
  #secondBody .inner .bodyRead .readImg img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  #tobiraMenu {
    margin-top: 40px;
  }
  #tobiraMenu a {
    display: flex;
    width: 100%;
    height: 100%;
    border: 4px solid #000;
    border-bottom-width: 9px;
    border-radius: 15px;
    align-items: center;
    text-decoration: none;
    padding: 12px;
    gap: 15px;
  }
  #tobiraMenu a + a {
    margin-top: 16px;
  }
  #tobiraMenu a .icon {
    background-color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #tobiraMenu a .icon img {
    width: 70%;
    height: auto;
  }
  #tobiraMenu a .txt {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    line-height: 1.5;
    flex: 1;
  }
  #tobiraMenu a .arrow {
    width: 20px;
    height: 20px;
  }
  #tobiraMenu a .arrow img {
    width: 100%;
    height: auto;
  }
  #tobiraMenu.shigotoMenu a {
    background-color: #f76e00;
    border-color: #db5200;
  }
  #tobiraMenu.narikataMenu a {
    background-color: #0db49a;
    border-color: #008f78;
  }
  #tobiraMenu.horitsuMenu a {
    background-color: #0168b7;
    border-color: #005393;
  }
  #tobiraMenu.manabuMenu a {
    background-color: #895ec2;
    border-color: #764ab0;
  }
  .backBtn {
    margin-top: 75px;
  }
  .backBtn a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 15px;
    color: #0d2538;
    text-decoration: none;
    font-weight: 600;
    width: 90%;
    height: 60px;
    border-radius: 40px;
    background-color: #fff;
    border: 4px solid #0168b7;
    margin: 0 auto;
    text-align: center;
  }
  .backBtn a .icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
    top: 17px;
  }
  .backBtn a .icon img {
    width: 100%;
    height: auto;
    transform: scale(-1, 1);
  }
  .pankuzu {
    margin-top: 60px;
    padding: 0;
  }
  .pankuzu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 0 13px 0;
  }
  .pankuzu ul li {
    font-size: 12px;
    color: #666;
  }
  .pankuzu ul li + li {
    margin-left: 2em;
    position: relative;
  }
  .pankuzu ul li + li:before {
    content: "";
    display: block;
    width: 0.4em;
    height: 0.4em;
    border-top: 2px solid #0168b7;
    border-right: 2px solid #0168b7;
    transform: rotate(45deg);
    position: absolute;
    left: -1.5em;
    top: 6px;
  }
  .pankuzu ul li a {
    color: #0d2538;
    text-decoration: none;
  }
  .pankuzu ul li a:hover {
    text-decoration: underline;
  }
  .contentHead h2 {
    font-size: 23px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 13px;
  }
  .contentHead h2:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/second_h2_underline.webp);
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 126px;
    height: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .contentHead p.read {
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    margin-top: 45px;
  }
  .chat, .qaWrap .talk {
    width: 100%;
  }
  .chat .item, .qaWrap .talk .item {
    position: relative;
    margin-top: 40px;
  }
  .chat .item + .item, .qaWrap .talk .item + .item {
    margin-top: 30px;
  }
  .chat .item:before, .qaWrap .talk .item:before {
    content: "";
    display: block;
    aspect-ratio: 100/128;
    width: 60px;
    position: absolute;
    top: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.4s;
  }
  .chat .item .p, .qaWrap .talk .item .p {
    padding: 0.6em;
    border: 4px solid #000;
    border-radius: 10px;
    position: relative;
    transform: scale(0);
    transition: all 0.4s;
    transition-delay: 0.3s;
    font-size: 16px;
    background-color: #fff;
    font-weight: 600;
    line-height: 2;
  }
  .chat .item .p:before, .qaWrap .talk .item .p:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    top: 20px;
    z-index: -1;
  }
  .chat .item .p img, .qaWrap .talk .item .p img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .chat .item.isShow:before, .qaWrap .talk .item.isShow:before {
    opacity: 1;
  }
  .chat .item.isShow .p, .qaWrap .talk .item.isShow .p {
    transform: scale(1);
  }
  .chat .item.fuba, .qaWrap .talk .item.fuba {
    padding-left: 80px;
    display: flex;
  }
  .chat .item.fuba:before, .qaWrap .talk .item.fuba:before {
    background-image: url(../images/kodomo2024/chat_jfba.webp);
    left: 0;
  }
  .chat .item.fuba .p, .qaWrap .talk .item.fuba .p {
    transform-origin: left top;
    border-color: #0168b7;
  }
  .chat .item.fuba .p:before, .qaWrap .talk .item.fuba .p:before {
    left: -15px;
    border-right: 12px solid #0168b7;
  }
  .chat .item.shiraishi, .chat .item.shiraishi2, .qaWrap .talk .item.shiraishi, .qaWrap .talk .item.shiraishi2 {
    padding-left: 80px;
    display: flex;
  }
  .chat .item.shiraishi:before, .chat .item.shiraishi2:before, .qaWrap .talk .item.shiraishi:before, .qaWrap .talk .item.shiraishi2:before {
    background-image: url(../images/kodomo2024/chat_shiraishi.webp);
    left: 0;
  }
  .chat .item.shiraishi .p, .chat .item.shiraishi2 .p, .qaWrap .talk .item.shiraishi .p, .qaWrap .talk .item.shiraishi2 .p {
    transform-origin: left top;
    border-color: #0db49a;
  }
  .chat .item.shiraishi .p:before, .chat .item.shiraishi2 .p:before, .qaWrap .talk .item.shiraishi .p:before, .qaWrap .talk .item.shiraishi2 .p:before {
    left: -15px;
    border-right: 12px solid #0db49a;
  }
  .chat .item.shiraishi2:before, .qaWrap .talk .item.shiraishi2:before {
    background-image: url(../images/kodomo2024/chat_shiraishi2.webp);
  }
  .chat .item.tanaka, .chat .item.tanaka2, .qaWrap .talk .item.tanaka, .qaWrap .talk .item.tanaka2 {
    padding-left: 80px;
    display: flex;
  }
  .chat .item.tanaka:before, .chat .item.tanaka2:before, .qaWrap .talk .item.tanaka:before, .qaWrap .talk .item.tanaka2:before {
    background-image: url(../images/kodomo2024/chat_tanaka.webp);
    left: 0;
  }
  .chat .item.tanaka .p, .chat .item.tanaka2 .p, .qaWrap .talk .item.tanaka .p, .qaWrap .talk .item.tanaka2 .p {
    transform-origin: left top;
    border-color: #0db49a;
  }
  .chat .item.tanaka .p:before, .chat .item.tanaka2 .p:before, .qaWrap .talk .item.tanaka .p:before, .qaWrap .talk .item.tanaka2 .p:before {
    left: -15px;
    border-right: 12px solid #0db49a;
  }
  .chat .item.tanaka2:before, .qaWrap .talk .item.tanaka2:before {
    background-image: url(../images/kodomo2024/chat_tanaka2.webp);
  }
  .chat .item.girl, .chat .item.girl2, .qaWrap .talk .item.girl, .qaWrap .talk .item.girl2 {
    padding-right: 80px;
    display: flex;
    justify-content: flex-end;
  }
  .chat .item.girl:before, .chat .item.girl2:before, .qaWrap .talk .item.girl:before, .qaWrap .talk .item.girl2:before {
    background-image: url(../images/kodomo2024/chat_girl.webp);
    right: 0;
  }
  .chat .item.girl .p, .chat .item.girl2 .p, .qaWrap .talk .item.girl .p, .qaWrap .talk .item.girl2 .p {
    transform-origin: right top;
    border-color: #f76e00;
  }
  .chat .item.girl .p:before, .chat .item.girl2 .p:before, .qaWrap .talk .item.girl .p:before, .qaWrap .talk .item.girl2 .p:before {
    right: -15px;
    border-left: 12px solid #f76e00;
  }
  .chat .item.girl2:before, .qaWrap .talk .item.girl2:before {
    background-image: url(../images/kodomo2024/chat_girl2.webp);
  }
  .chat .item.boy, .chat .item.boy2, .qaWrap .talk .item.boy, .qaWrap .talk .item.boy2 {
    padding-right: 80px;
    display: flex;
    justify-content: flex-end;
  }
  .chat .item.boy:before, .chat .item.boy2:before, .qaWrap .talk .item.boy:before, .qaWrap .talk .item.boy2:before {
    background-image: url(../images/kodomo2024/chat_boy.webp);
    right: 0;
  }
  .chat .item.boy .p, .chat .item.boy2 .p, .qaWrap .talk .item.boy .p, .qaWrap .talk .item.boy2 .p {
    transform-origin: right top;
    border-color: #f76e00;
  }
  .chat .item.boy .p:before, .chat .item.boy2 .p:before, .qaWrap .talk .item.boy .p:before, .qaWrap .talk .item.boy2 .p:before {
    right: -15px;
    border-left: 12px solid #f76e00;
  }
  .chat .item.boy2:before, .qaWrap .talk .item.boy2:before {
    background-image: url(../images/kodomo2024/chat_boy2.webp);
  }
  .matome, .link {
    border: 12px solid #ffcc51;
    border-radius: 25px;
    background-color: #fff;
    padding: 50px 15px 30px;
    position: relative;
    margin-top: 100px;
  }
  .matome .dot, .link .dot {
    position: absolute;
    width: 100%;
    height: 6px;
    left: 0;
    z-index: 1;
  }
  .matome .dot:before, .matome .dot:after, .link .dot:before, .link .dot:after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #f76e00;
    position: absolute;
    top: 0;
  }
  .matome .dot:before, .link .dot:before {
    left: 12px;
  }
  .matome .dot:after, .link .dot:after {
    right: 12px;
  }
  .matome .dot.dot1, .link .dot.dot1 {
    top: 12px;
  }
  .matome .dot.dot2, .link .dot.dot2 {
    bottom: 12px;
  }
  .matome .title, .link .title {
    width: 60%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 18px;
    position: absolute;
    left: 0;
    right: 0;
    top: -31px;
    border-radius: 50px;
    background-color: #f76e00;
    margin: 0 auto;
  }
  .matome .title:after, .link .title:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/matome_jfba.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    aspect-ratio: 145/126;
    width: 90px;
    position: absolute;
    right: -30px;
    bottom: -10px;
  }
  .matome p, .link p {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
  }
  .matome .img, .link .img {
    width: 100%;
    text-align: center;
  }
  .matome .img img, .link .img img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .matome *:not(h3) + p, .link *:not(h3) + p {
    margin-top: 40px;
  }
  .matome *:not(h3) + .img, .link *:not(h3) + .img {
    margin-top: 40px;
  }
  .link {
    margin-top: 0;
    position: relative;
  }
  .link:before {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/links_img.webp);
    background-size: 100% auto;
    aspect-ratio: 306/200;
    width: 160px;
    position: absolute;
    top: -80px;
    left: -5vw;
    z-index: 10;
  }
  .link ul.linkWrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    margin-top: 40px;
    padding: 0;
  }
  .link ul.linkWrap + .contentHead {
    margin-top: 70px;
  }
  .link ul.linkWrap li {
    list-style: none;
  }
  .link ul.linkWrap li a {
    display: flex;
    position: relative;
    border: 3px solid #0168b7;
    border-radius: 8px;
    padding: 15px 40px 15px 10px;
    color: #0d2538;
    font-weight: 600;
    font-size: 18px;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .link ul.linkWrap li a:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/menu_bnr_arrow.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 20px;
    height: 20px;
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
  }
  .link ul.linkWrap li.bnr a {
    border-color: #f76e00;
    overflow: hidden;
    padding: 0;
  }
  .link ul.linkWrap li.bnr a:after {
    display: none;
  }
  .link ul.linkWrap li.bnr a img {
    width: 100%;
    height: auto;
  }
  .qaWrap {
    border: 8px solid #ffcc51;
    border-radius: 25px;
    background-color: #fff;
    padding: 20px 5vw 10px;
    position: relative;
    margin-top: 20px;
  }
  .qaWrap .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0px 0px 35px 40px;
    position: relative;
    border: none;
    outline: none;
    background-color: transparent;
    display: block;
  }
  .qaWrap .title:before {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/qa_jfba.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    aspect-ratio: 62/67;
    width: 40px;
    position: absolute;
    left: -10px;
    top: 0;
  }
  .qaWrap .title:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/qa_open.webp);
    aspect-ratio: 140/39;
    background-size: 100% auto;
    width: 100px;
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .qaWrap .title.ansShow:after {
    background-image: url(../images/kodomo2024/qa_close.webp);
  }
  .qaWrap .talk {
    border-top: 1px solid #d4d4d4;
    padding-bottom: 40px;
    display: none;
    margin-top: 10px;
  }
  .qaWrap .talk .item:before {
    opacity: 1;
  }
  .qaWrap .talk .item .p {
    transform: none;
  }
  .qaWrap .talk .item .p:before {
    z-index: 1;
  }
  .qaWrap .talk .img {
    margin-top: 60px;
    text-align: center;
    width: 100%;
  }
  .qaWrap .talk .img img {
    max-width: 90%;
    width: auto;
    height: auto;
  }
}
@media print, screen and (min-width: 801px) {
  #secondTop {
    width: 100%;
    height: 460px;
    background-image: url(../images/kodomo2024/second_top_bg.webp);
    background-size: cover;
    background-position: center bottom;
  }
  #secondTop #secondTopInner {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #secondTop #secondTopInner #catName {
    font-size: 46px;
    font-weight: 700;
    display: flex;
    gap: 20px;
  }
  #secondTop #secondTopInner #catName:not(.noIcon):before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
  #secondTop #secondTopInner #catName:not(.noIcon).shigoto:before {
    background-image: url(../images/kodomo2024/icon_hakari.webp);
  }
  #secondTop #secondTopInner #catName:not(.noIcon).narikata:before {
    background-image: url(../images/kodomo2024/icon_badge.webp);
  }
  #secondTop #secondTopInner #catName:not(.noIcon).houritsu:before {
    background-image: url(../images/kodomo2024/icon_book.webp);
  }
  #secondTop #secondTopInner #catName:not(.noIcon).saiban:before {
    background-image: url(../images/kodomo2024/icon_loupe.webp);
  }
  #secondBody {
    background-color: #f7f5ed;
  }
  #secondBody .inner {
    max-width: 1080px;
    width: 95%;
    margin: 0 auto;
  }
  #secondBody .inner .bodyRead .readText {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
  }
  #secondBody .inner .bodyRead .readImg {
    margin-top: 50px;
    text-align: center;
  }
  #secondBody .inner .bodyRead .readImg img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  #tobiraMenu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 45px 40px;
    margin-top: 60px;
  }
  #tobiraMenu a {
    display: flex;
    width: 100%;
    height: 100%;
    border: 4px solid #000;
    border-bottom-width: 9px;
    border-radius: 15px;
    align-items: center;
    text-decoration: none;
    min-height: 145px;
    padding: 10px 25px;
    gap: 35px;
    transition: all 0.3s ease;
  }
  #tobiraMenu a:hover {
    transform: scale(1.05);
  }
  #tobiraMenu a .icon {
    background-color: #fff;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #tobiraMenu a .icon img {
    width: 50px;
    height: auto;
  }
  #tobiraMenu a .txt {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    flex: 1;
  }
  #tobiraMenu.shigotoMenu a {
    background-color: #f76e00;
    border-color: #db5200;
  }
  #tobiraMenu.narikataMenu a {
    background-color: #0db49a;
    border-color: #008f78;
  }
  #tobiraMenu.horitsuMenu a {
    background-color: #0168b7;
    border-color: #005393;
  }
  #tobiraMenu.manabuMenu a {
    background-color: #895ec2;
    border-color: #764ab0;
  }
  .backBtn {
    margin-top: 75px;
  }
  .backBtn a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 20px;
    color: #0d2538;
    text-decoration: none;
    font-weight: 600;
    width: 480px;
    height: 80px;
    border-radius: 40px;
    background-color: #fff;
    border: 4px solid #0168b7;
    margin: 0 auto;
    transition: all 0.3s ease;
  }
  .backBtn a .icon {
    width: 36px;
    height: 36px;
    position: absolute;
    left: 10px;
    top: 18px;
  }
  .backBtn a .icon img {
    width: 100%;
    height: auto;
    transform: scale(-1, 1);
  }
  .backBtn a:hover {
    transform: scale(1.05);
  }
  @keyframes backBtnAnime {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(10px);
    }
  }
  .pankuzu {
    margin-top: 120px;
    padding: 0;
  }
  .pankuzu ul {
    list-style: none;
    display: flex;
    padding: 0 0 13px 0;
  }
  .pankuzu ul li {
    font-size: 14px;
    color: #666;
  }
  .pankuzu ul li + li {
    margin-left: 2em;
    position: relative;
  }
  .pankuzu ul li + li:before {
    content: "";
    display: block;
    width: 0.6em;
    height: 0.6em;
    border-top: 2px solid #0168b7;
    border-right: 2px solid #0168b7;
    transform: rotate(45deg);
    position: absolute;
    left: -1.5em;
    top: 6px;
  }
  .pankuzu ul li a {
    color: #0d2538;
    text-decoration: none;
  }
  .pankuzu ul li a:hover {
    text-decoration: underline;
  }
  .contentHead h2 {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 28px;
  }
  .contentHead h2:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/second_h2_underline.webp);
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 126px;
    height: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .contentHead p.read {
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    margin-top: 60px;
  }
  .chat, .qaWrap .talk {
    width: 100%;
  }
  .chat .item, .qaWrap .talk .item {
    position: relative;
    margin-top: 80px;
    padding-top: 30px;
  }
  .chat .item + .item, .qaWrap .talk .item + .item {
    margin-top: 50px;
  }
  .chat .item:before, .qaWrap .talk .item:before {
    content: "";
    display: block;
    aspect-ratio: 100/128;
    width: 84px;
    position: absolute;
    top: 15px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.4s;
  }
  .chat .item .p, .qaWrap .talk .item .p {
    padding: 1em;
    border: 4px solid #000;
    border-radius: 10px;
    position: relative;
    transform: scale(0);
    transition: all 0.4s;
    transition-delay: 0.3s;
    font-size: 18px;
    background-color: #fff;
    font-weight: 600;
    line-height: 2;
  }
  .chat .item .p:before, .qaWrap .talk .item .p:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    top: 20px;
    z-index: -1;
  }
  .chat .item .p rt, .qaWrap .talk .item .p rt {
    line-height: 1;
    top: -0.2em;
  }
  .chat .item .p img, .qaWrap .talk .item .p img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .chat .item.isShow:before, .qaWrap .talk .item.isShow:before {
    opacity: 1;
  }
  .chat .item.isShow .p, .qaWrap .talk .item.isShow .p {
    transform: scale(1);
  }
  .chat .item.fuba, .qaWrap .talk .item.fuba {
    padding-left: 110px;
    padding-right: 200px;
    display: flex;
  }
  .chat .item.fuba:before, .qaWrap .talk .item.fuba:before {
    background-image: url(../images/kodomo2024/chat_jfba.webp);
    left: 0;
  }
  .chat .item.fuba .p, .qaWrap .talk .item.fuba .p {
    transform-origin: left top;
    border-color: #0168b7;
  }
  .chat .item.fuba .p:before, .qaWrap .talk .item.fuba .p:before {
    left: -15px;
    border-right: 12px solid #0168b7;
  }
  .chat .item.shiraishi, .chat .item.shiraishi2, .qaWrap .talk .item.shiraishi, .qaWrap .talk .item.shiraishi2 {
    padding-left: 110px;
    padding-right: 200px;
    display: flex;
  }
  .chat .item.shiraishi:before, .chat .item.shiraishi2:before, .qaWrap .talk .item.shiraishi:before, .qaWrap .talk .item.shiraishi2:before {
    background-image: url(../images/kodomo2024/chat_shiraishi.webp);
    left: 0;
  }
  .chat .item.shiraishi .p, .chat .item.shiraishi2 .p, .qaWrap .talk .item.shiraishi .p, .qaWrap .talk .item.shiraishi2 .p {
    transform-origin: left top;
    border-color: #0db49a;
  }
  .chat .item.shiraishi .p:before, .chat .item.shiraishi2 .p:before, .qaWrap .talk .item.shiraishi .p:before, .qaWrap .talk .item.shiraishi2 .p:before {
    left: -15px;
    border-right: 12px solid #0db49a;
  }
  .chat .item.shiraishi2:before, .qaWrap .talk .item.shiraishi2:before {
    background-image: url(../images/kodomo2024/chat_shiraishi2.webp);
  }
  .chat .item.tanaka, .chat .item.tanaka2, .qaWrap .talk .item.tanaka, .qaWrap .talk .item.tanaka2 {
    padding-left: 110px;
    padding-right: 200px;
    display: flex;
  }
  .chat .item.tanaka:before, .chat .item.tanaka2:before, .qaWrap .talk .item.tanaka:before, .qaWrap .talk .item.tanaka2:before {
    background-image: url(../images/kodomo2024/chat_tanaka.webp);
    left: 0;
  }
  .chat .item.tanaka .p, .chat .item.tanaka2 .p, .qaWrap .talk .item.tanaka .p, .qaWrap .talk .item.tanaka2 .p {
    transform-origin: left top;
    border-color: #0db49a;
  }
  .chat .item.tanaka .p:before, .chat .item.tanaka2 .p:before, .qaWrap .talk .item.tanaka .p:before, .qaWrap .talk .item.tanaka2 .p:before {
    left: -15px;
    border-right: 12px solid #0db49a;
  }
  .chat .item.tanaka2:before, .qaWrap .talk .item.tanaka2:before {
    background-image: url(../images/kodomo2024/chat_tanaka2.webp);
  }
  .chat .item.girl, .chat .item.girl2, .qaWrap .talk .item.girl, .qaWrap .talk .item.girl2 {
    padding-right: 110px;
    padding-left: 200px;
    display: flex;
    justify-content: flex-end;
  }
  .chat .item.girl:before, .chat .item.girl2:before, .qaWrap .talk .item.girl:before, .qaWrap .talk .item.girl2:before {
    background-image: url(../images/kodomo2024/chat_girl.webp);
    right: 0;
  }
  .chat .item.girl .p, .chat .item.girl2 .p, .qaWrap .talk .item.girl .p, .qaWrap .talk .item.girl2 .p {
    transform-origin: right top;
    border-color: #f76e00;
  }
  .chat .item.girl .p:before, .chat .item.girl2 .p:before, .qaWrap .talk .item.girl .p:before, .qaWrap .talk .item.girl2 .p:before {
    right: -15px;
    border-left: 12px solid #f76e00;
  }
  .chat .item.girl2:before, .qaWrap .talk .item.girl2:before {
    background-image: url(../images/kodomo2024/chat_girl2.webp);
  }
  .chat .item.boy, .chat .item.boy2, .qaWrap .talk .item.boy, .qaWrap .talk .item.boy2 {
    padding-right: 110px;
    padding-left: 200px;
    display: flex;
    justify-content: flex-end;
  }
  .chat .item.boy:before, .chat .item.boy2:before, .qaWrap .talk .item.boy:before, .qaWrap .talk .item.boy2:before {
    background-image: url(../images/kodomo2024/chat_boy.webp);
    right: 0;
  }
  .chat .item.boy .p, .chat .item.boy2 .p, .qaWrap .talk .item.boy .p, .qaWrap .talk .item.boy2 .p {
    transform-origin: right top;
    border-color: #f76e00;
  }
  .chat .item.boy .p:before, .chat .item.boy2 .p:before, .qaWrap .talk .item.boy .p:before, .qaWrap .talk .item.boy2 .p:before {
    right: -15px;
    border-left: 12px solid #f76e00;
  }
  .chat .item.boy2:before, .qaWrap .talk .item.boy2:before {
    background-image: url(../images/kodomo2024/chat_boy2.webp);
  }
  .qa .talk .item:before {
    opacity: 1;
  }
  .qa .talk .item .p {
    transform: scale(1);
  }
  .matome, .link {
    border: 16px solid #ffcc51;
    border-radius: 25px;
    background-color: #fff;
    padding: 80px 100px;
    position: relative;
    margin-top: 140px;
  }
  .matome .dot, .link .dot {
    position: absolute;
    width: 100%;
    height: 6px;
    left: 0;
    z-index: 1;
  }
  .matome .dot:before, .matome .dot:after, .link .dot:before, .link .dot:after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #f76e00;
    position: absolute;
    top: 0;
  }
  .matome .dot:before, .link .dot:before {
    left: 12px;
  }
  .matome .dot:after, .link .dot:after {
    right: 12px;
  }
  .matome .dot.dot1, .link .dot.dot1 {
    top: 12px;
  }
  .matome .dot.dot2, .link .dot.dot2 {
    bottom: 12px;
  }
  .matome .title, .link .title {
    max-width: 820px;
    width: 90%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 30px;
    position: absolute;
    left: 0;
    right: 0;
    top: -43px;
    border-radius: 50px;
    background-color: #f76e00;
    margin: 0 auto;
  }
  .matome .title:after, .link .title:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/matome_jfba.webp);
    background-repeat: no-repeat;
    aspect-ratio: 145/126;
    width: 145px;
    position: absolute;
    right: 15px;
    bottom: -20px;
  }
  .matome p, .link p {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 600;
  }
  .matome .img, .link .img {
    width: 100%;
    text-align: center;
  }
  .matome .img img, .link .img img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .matome *:not(h3) + p, .link *:not(h3) + p {
    margin-top: 60px;
  }
  .matome *:not(h3) + .img, .link *:not(h3) + .img {
    margin-top: 60px;
  }
  .link {
    margin-top: 0;
    position: relative;
  }
  .link:before {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/links_img.webp);
    aspect-ratio: 306/200;
    width: 306px;
    position: absolute;
    top: -80px;
    left: -60px;
    z-index: 10;
  }
  .link ul.linkWrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 25px 30px;
    margin-top: 40px;
  }
  .link ul.linkWrap + .contentHead {
    margin-top: 70px;
  }
  .link ul.linkWrap li {
    list-style: none;
  }
  .link ul.linkWrap li a {
    display: flex;
    position: relative;
    border: 3px solid #0168b7;
    border-radius: 8px;
    padding: 20px 50px 20px 20px;
    color: #0d2538;
    font-weight: 600;
    font-size: 18px;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .link ul.linkWrap li a:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/menu_bnr_arrow.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 23px;
    height: 23px;
    position: absolute;
    top: calc(50% - 11px);
    right: 20px;
  }
  .link ul.linkWrap li a:hover {
    transform: scale(1.05);
  }
  .link ul.linkWrap li.bnr a {
    border-color: #f76e00;
    overflow: hidden;
    padding: 0;
  }
  .link ul.linkWrap li.bnr a:after {
    display: none;
  }
  .link ul.linkWrap li.bnr a img {
    width: 100%;
    height: auto;
  }
  .qaWrap {
    border: 8px solid #ffcc51;
    border-radius: 25px;
    background-color: #fff;
    padding: 30px 45px 0;
    position: relative;
    margin-top: 26px;
  }
  .qaWrap .title {
    font-size: 32px;
    font-weight: 700;
    padding: 20px 165px 35px 85px;
    position: relative;
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
    display: block;
    width: 100%;
    text-align: left;
  }
  .qaWrap .title:focus {
    outline: none;
  }
  .qaWrap .title:focus-visible {
    outline: 1px solid #000;
  }
  .qaWrap .title:before {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/qa_jfba.webp);
    background-repeat: no-repeat;
    aspect-ratio: 62/67;
    width: 62px;
    position: absolute;
    left: 0;
    top: 0;
  }
  .qaWrap .title:after {
    content: "";
    display: block;
    background-image: url(../images/kodomo2024/qa_open.webp);
    aspect-ratio: 140/39;
    width: 140px;
    position: absolute;
    right: 0;
    top: 24px;
  }
  .qaWrap .title.ansShow:after {
    background-image: url(../images/kodomo2024/qa_close.webp);
  }
  .qaWrap .talk {
    border-top: 1px solid #d4d4d4;
    padding-bottom: 40px;
    display: none;
  }
  .qaWrap .talk + .talk {
    margin-top: 26px;
  }
  .qaWrap .talk .item {
    margin-top: 40px;
  }
  .qaWrap .talk .item:before {
    opacity: 1;
  }
  .qaWrap .talk .item .p {
    transform: none;
  }
  .qaWrap .talk .item .p:before {
    z-index: 1;
  }
  .qaWrap .talk .img {
    margin-top: 60px;
    text-align: center;
    width: 100%;
  }
  .qaWrap .talk .img img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
}
/*# sourceMappingURL=map/kodomo2024second.css.map */
