.gnav__list {
  a:not(.sub-menu__item-link) {justify-content: center;}
  .ja {
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .menu-item-has-children {
    position: relative;

    .sub-menu {
      display: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 0;
      margin: 0;
      list-style: none;
      z-index: 100;

      .sub-menu__item {
        max-height: 100px;
        overflow: visible;
        transition: 0.4s linear;
        position: relative;
        a {
          display: flex;
          justify-content: space-between;
          background-color: #000;
          text-decoration: none;
          width: 100%;
          padding: 16px 20px 16px 20px;
          font-size: 14px;
          color: #FFF;

          &:after {
            content: "\f105";
            font-weight: 900;
            font-family: "Font Awesome 5 Free";
            color: var(--yellow);
            align-self: center;
            margin-left: 15px;
          }
        }
      }
    }
  }
}

.gnav__cta {flex-shrink: 0;}

.sec-topics {padding-top: 60px; padding-bottom: 80px; background-color: #edefea;}
.sec-trust .container {border-radius: var(--radius-md); overflow: hidden; max-width: 920px;}

#staff_section .sec-head__ja {color: var(--green-dark);}
.sec-videos .sec-head__ja {color: var(--green-dark);}
.sec-trust .sec-head__ja {color: var(--white);}
.sec-column .sec-head__ja {color: var(--green-dark);}
.sec-hokenbo .sec-head__ja {color: var(--green-dark);}
.sec-kids .sec-head__ja {color: var(--green-dark);}
.sec-price .sec-head__ja {color: var(--green-dark);}
.sec-flow .sec-head__ja {color: var(--green-dark);}
.sec-intro .sec-head__ja {color: var(--green-dark);}
.sec-fp-column .sec-head__ja {color: var(--green-dark);}
.sec-fp-column .intro-text {line-height: 1.8; margin-bottom: 60px;}


.kids-box__body p {white-space: pre-line;}

.home {
  .sec-flow {background-color: #edefea !important;}
}
.sec-flow, .sec-cta, .sec-merit, .sec-fp-column {
  .container {padding-left: clamp(24px, 4.3vw, 60px); padding-right: clamp(24px, 4.3vw, 60px);}
}
.sec-intro .worries {max-width: calc(100% - (clamp(24px, 4.3vw, 60px)*2)); margin-left: auto; margin-right: auto;}

.kids-box__body {color: var(--text); font-weight: 500;}

.list-tb {max-width: 890px; margin: 15px auto 0;
  .list-tb__row {display: flex;
    p {text-align: center; padding: 20px 14px; flex: 1; border: solid 1px var(--black);
      &:first-child {max-width: 45%; flex-shrink: 0; background-color: var(--black); color: var(--white);}
    }
  }
}

.single-head__meta {margin-bottom: 15px;
  .single-head__category {display: flex; gap: 5px;
    .single-head__category-item {
      color: var(--white);
      text-decoration: none;
      padding: 6px 15px;
      display: block;
      background-color: var(--black);
      transition: 0.3s;
      line-height: 1;
    }
  }
}

.sec-single__body {
  display: grid;
  grid-template-columns: calc(100% - (clamp(24px, 5.45vw, 80px) + 360px)) 360px;
  gap: clamp(24px, 5.45vw, 80px);

  .sec-single__content {
    header {
      margin-bottom: 40px;
      min-height: 120px;
      border-bottom: 1px solid #d2d2d2;
    }
    
    h1 {
      background: var(--yellow-dark);
      color: var(--black);
      padding: 20px 15px;
      font-size: 30px;
      margin-top: 0 !important;
    }

    a {
      color: var(--text);
      text-decoration: underline;
    }

    .c_box.gray_box, .c_box.pink_box {
      background: var(--white);
      color: #775454;
      margin: 4em 0 2em;
      border: 2px solid #757575;
      border-radius: 0.2em;
      padding: 0 0 1em;

      .box_title {margin-bottom: 0;
        span {
          position: relative;
          top: -1.5em;
          left: 0.5em;
          padding: 0.5em 0.7em;
          background: #6d6d6d;
          color: #ffffff;
          font-weight: bold;
          border-radius: 0.2em;
          display: inline-block;
          vertical-align: bottom;
        }
      }

      & > p {padding: 0 16px;}
    }
  }

  .sec-single__sidebar {
    h2 {
      background: var(--black);
      color: var(--white);
      padding: 1.5rem 1rem;
      margin: 0 0 0.7em;
      line-height: 1.6;
      font-size: 1.5rem;
    }

    ul {
      background: #fbfbfb;
      border: 0;
      padding: 2rem 1rem 0.5rem;
      font-weight: bold;
      list-style-type: none;
      margin-bottom: 1em;

      li {
        position: relative;
        line-height: 1.7;
        padding: 0.4rem 0;

        a {
          display: block;
          color: #000;
          text-decoration: none;
          font-weight: 500;

          &:hover {opacity: 0.7;}

          img {
            max-width: none;
            width: 100%;
            height: auto;
            display: block;
            margin-bottom: 0.5rem;
          }
        }
      }
    }
  }
}

#btnTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  aspect-ratio: 1;
  background-color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;

  &:before {
    content: "\f077";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    color: var(--white);
  }
  
  &:hover {opacity: 0.75;}
  &.active {opacity: 1; visibility: visible; pointer-events: auto;}
}

.sec-single__nav {
  display: flex;
  gap: clamp(24px, 4vw, 60px);
  margin-top: 60px;
  padding-top: 30px;
  border-top: solid 1px;

  & > div {flex: calc((100% - clamp(24px, 4vw, 60px))/2); flex-shrink: 0;
    a {
      background-color: var(--text);
      display: flex;
      height: 100%;
      padding: 30px 40px;
      align-items: center;
      color: var(--white) !important;
      text-decoration: none !important;
      transition: 0.3s;
      opacity: 1;
      word-break: break-all;
      position: relative;

      &:before {
        font-weight: 900;
        font-family: "Font Awesome 5 Free";
        color: var(--white);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
      }

      &:hover {opacity: 0.75;}
    }
  }
  .sec-single__prev a:before {content: "\f053"; left: 15px;}
  .sec-single__next a:before {content: "\f105"; right: 15px;}
}

#toc_container {
  width: 90% !important;
  padding: 1rem;
  margin: 2rem auto;
  background: #fbfbfb;

  .toc_title {margin: 0; line-height: 1; display: flex;
    .toc_toggle {
      vertical-align: text-bottom;
      font-size: 0.8rem;
    }
  }
  .toc_list {
    list-style: none;
    background: var(--white);
    padding: 0.5rem 2rem 1rem 3rem;
    margin-top: 1rem;
    border: 0;
    font-weight: bold;
    list-style-type: none;
    margin-bottom: 1em;

    ul {list-style: none;}

    li {
      line-height: 1.5;
      text-indent: -1em;

      a {
        display: block;
        color: var(--text);
        text-decoration: none;
        border-bottom: 1px dotted #ccc;
        padding: 0.5rem 0.5rem 0.2rem 0.5rem;
        font-weight: 500;
        font-size: 0.9rem;

        span {
          display: inline-block;
          margin-right: 0.5rem;

          &:after {content: '.';}
        }
      }
    }
  }
}

.bd_blue {
  display: block;
  border: 2px solid #3489b1;
  background-color: var(--white);
  padding: 0.5em;
}

/*********************************************************************
 QUICK TAG
*********************************************************************/

.blowing-point{
  position: relative;
  margin: 0 3rem 5rem;
  width: max-content;
  padding-top: 0.5rem;
  min-height: 100px;
  max-width: calc(100% - 6.5rem);
}
div.skrb-post-contents .skrb-main-contents .skrb-post-body .blowing-point p{
  margin: 0;
}
.blowing-point .blowing-img{
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}
.blowing-point .blowing-name{
  position: absolute;
  width: 100px;
  top: 110px;
  font-size: 0.75rem;
  text-align: center;
}
.fp-02.eeat-post .blowing-point .blowing-name::before {
  content: 'れれ先生';
}
.blowing-point .blowing-txt{
  position: relative;
  margin-left: 120px;
  background: #ffbb00;
  padding: 1rem 1rem 1.2rem;
  border-radius: 10px;
}
.blowing-point .blowing-txt::after{
  content: "";
  display: inline-block;
  position: absolute;
  top: 20px;
  left: -29px;
  border: 10px solid transparent;
  border-right: 40px solid #ffbb00;
  -webkit-transform: rotate(-25deg);
  transform: rotate(-25deg);
}
.blowing-point .blowing-txt p{
  position: relative;
  z-index: 2;
}

/*********************************************************************
 TABLE
*********************************************************************/

table{
  margin: 0 auto 1.5em;
}
.skrb-post-contents table{
  margin: 0 auto 1.5em;
  border: 1px solid #ccc;
}
table th , table td{
  border: 1px solid #ccc;
  padding: 1em;
  font-size: 1rem;
	display: table-cell;
  width: auto;
  text-align: center;
  vertical-align: middle;
  word-break: break-all;
	line-height: 1.5;
}
table th{
  background: #000;
  color: #fff;
  font-weight: bold;
}
table td.td_th{
  background: #fcfcfc;
  font-weight: bold;
}
.re_table{
  overflow-x: auto;
  margin-bottom: 1.5em;
  padding-bottom: 2em;
  width: 100%;
}
.re_table:before{
  content: '← 横にスクロールできます →';
  color: #22b24c;
  font-size: .8rem;
  text-align: center;
  position: absolute;
  left: 0%;
  right: 0%;
  padding-top: 1em;
}
.re_table:after{
  content: '← 横にスクロールできます →';
  color: #22b24c;
  font-size: .8rem;
  text-align: center;
  position: absolute;
  left: 0%;
  right: 0%;
}
.re_table table{
	width: max-content;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  min-width: 100%;
}
table.Twidth_100{
  width: 100%;
}
table.Twidth_90{
  width: 90%;
  padding: 1em 0;
  margin-left: auto;
  margin-right: auto;
}
table.Twidth_80{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
table.Twidth_70{
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
table.Twidth_100 th , table.Twidth_100 td{
  padding: 1em 0.25em;
}
table.Twidth_90 th , table.Twidth_90 td{
  padding: 1em 0.25em;
}
table th.ta_left , table td.ta_left{
  padding: 1em;
}
@media screen and ( max-width: 782px ) {
  table.Twidth_100 , table.Twidth_90 , table.Twidth_80 , table.Twidth_70{
    width: 100%;
  }
  .re_table table.Twidth_100 th , .re_table table.Twidth_100 td{
    padding: 1em;
  }
  .re_table table.Twidth_90 th , .re_table table.Twidth_90 td{
    padding: 1em;
  }
}
@media screen and ( min-width: 783px ) {
  .re_table{
    position: relative;
  }
}

/* パンくずリスト */
.skrb-breadcrumb {
  ul {
    width: var(--conts-width);
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    li {
      color: #717171;
      font-size: 12px;
      padding: 5px 0;

      &:after {
        content: '／';
        margin: 0 10px;
      }
      &:last-child {
        &:after {
          content: none;
        }
      }

      a {
        color: #717171;
        text-decoration: none;
      }
    }
  }
}


.pt-30 {padding-top: 30px;}

@media (min-width: 769px) {
  .md-none {display: none !important;}
  .menu-item-has-children {
    input {display: none;}
    .sub-menu {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 200px;

      .sub-menu__item {
        a {width: 295px !important;
          &:hover {
            background-color: var(--yellow);
            color: #FFF;

            &:after {color: #FFF;}
          }
        }
      }
    }

    &:hover > .sub-menu {
      display: block;
      left: initial;
      right: 0;
    }
  }
}
@media (max-width: 768.999px) {
  br.md-none {display: block !important;}
  .site-header__inner {min-height: 60px;
    .gnav {padding-top: 60px; padding-bottom: 30px;}
    .gnav__list {height: 100%; overflow: auto;
      li {border-color: var(--white);}
    }
    .gnav__list a:not(.sub-menu__item-link) {flex-direction: row; justify-content: space-between; gap: 20px; min-height: 1px;
      .ja br {display: block;}
    }
    .menu-toggle span {will-change: transform;}
  }

  .menu-item-has-children {display: flex; justify-content: space-between; flex-wrap: wrap; position: relative;
    &:after {
      content: "\f105";
      font-weight: 900;
      font-family: "Font Awesome 5 Free";
      color: var(--yellow);
      align-self: center;
      margin-left: 15px;
      transition: 0.35s;
      position: absolute;
      right: 15px;
      top: 14px;
      pointer-events: none;
      z-index: -1;
    }
    & > a {flex: 1;}
    input {width: 40px; aspect-ratio: 1; opacity: 0;}
    .sub-menu {
      width: 100%;
      border-top: solid 1px var(--white);
      max-width: 90%;
      margin-left: auto !important;
      box-shadow: none !important;
      li:last-child {border-bottom: none !important;}
      a { background-color: transparent !important; padding: 10px 0 !important;}
    }
    &:has(input:checked) {
      &:after {transform: rotate(90deg);}
      .sub-menu {display: block;}
    }
  }

  .hero {background-color: var(--green-dark); display: block;}
  .hero__bg {height: 280px; position: unset;}

  .sec-head__en {font-size: 24px;}
  .sec-head__ja {font-size: 28px;}
  .sec-flow, .sec-cta, .sec-merit, .sec-fp-column {
    .container {padding-left: 0; padding-right: 0;}
  }

  .flow-step {display: block; padding-bottom: 24px;
    .flow-step__num {padding: 7px 15px 15px; flex-direction: row; align-items: flex-end; gap: 20px;
      .flow-step__step {font-size: 20px;}
    }
    .flow-step__img {
      max-width: calc(100% - 48px);
      margin: 0 auto;
      border-radius: 12px;
      overflow: hidden;

      &.flow-step__img--line {max-width: calc(100% - 96px);}
    }
  }

  .price-box__rules {padding-left: 20px; padding-right: 20px;}

  .merit__label {font-size: 20px;}
  .merit__title {margin-top: 15px;}
  .merit__text {margin-top: 20px;}

  .sec-single__body {display: block; width: 100%;
    h1 {font-size: 25px;}
    .entry-content, .sec-single__sidebar {padding-left: 24px; padding-right: 24px;}

    .sec-single__sidebar {margin-top: 60px;
      ul {padding: 0;}
    }

    .sec-single__content {
      .sec-single__nav {padding-left: 24px; padding-right: 24px;
        a {padding-top: 15px; padding-bottom: 15px;
          &.sec-single__prev {padding-left: 25px;}
          &.sec-single__next {padding-right: 25px;}
        }
      }
    }

    #toc_container {
      width: 100% !important;
      padding: 0.5rem;
      margin-bottom: 0;

      .toc_list {padding-left: 25px; margin-top: 10px; margin-bottom: 0;}
    }
  }

  .blowing-point {
    max-width: 100%;
    margin: 0 0 3rem;
    min-height: 80px;
  }

  .fixed-line {right: 82px; transition: 0.4s; opacity: 0; pointer-events: none;}
  #btnTop {width: 50px; bottom: 16px; right: 16px;
    &:before {font-size: 18px; margin-top: 3px;}
  }

  body:has(#btnTop.active) .fixed-line {opacity: 1; pointer-events: auto;}

  .video-grid > * {
    width: calc((100% - 24px) / 2);
  }
  .video-card {border-radius: 12px;}
  .video-card__title {font-size: 11px;}
  .video-card__tag {bottom: 4%;}
  .video-card__play {width: 24px; height: 24px; bottom: 4%;}
}

/* ===== 運営会社セクション ===== */
.company{
  --c-green-dk:#1f3d33;
  --c-green:#3e6b5e;
  --c-green-lt:#eef4f1;
  --c-yellow:#fcc92d;
  --c-text:#333;
  --c-line:#cfdcd6;
  padding:96px 20px 120px;
  color:var(--c-text);
}
.company__head{text-align:center;margin-bottom:40px;}
.company__en{
  display:block;color:var(--c-yellow);font-weight:700;
  font-size:clamp(28px,4vw,44px);letter-spacing:.06em;line-height:1.2;
}
.company__ttl{
  margin:.25em 0 0;color:var(--c-green-dk);font-weight:900;
  font-size:clamp(32px,5vw,56px);letter-spacing:.06em;line-height:1.3;
}
.company__lead{
  text-align:center;font-size:15px;line-height:2;letter-spacing:.08em;
  margin:0 0 48px;color:#555;
}

/* カード（ノート風の罫線） */
.company__card{
  position:relative;max-width:880px;margin:0 auto;
  background:#fff;border:2px solid var(--c-green);border-radius:20px;
  box-shadow:8px 8px 0 var(--c-green-lt);
  overflow:hidden;
}
.company__card::before{ /* 上部の付箋ライン */
  content:"";position:absolute;top:0;left:0;right:0;height:8px;
  background:repeating-linear-gradient(90deg,var(--c-yellow) 0 40px,#ffd95e 40px 80px);
}
.company__list{margin:0;padding:24px 40px 16px;}
.company__row{
  display:grid;grid-template-columns:200px 1fr;align-items:center;gap:24px;
  padding:26px 0;border-bottom:2px dashed var(--c-line);
}
.company__row:last-child{border-bottom:0;}
.company__row dt{
  display:flex;align-items:center;gap:12px;
  font-weight:700;color:var(--c-green-dk);font-size:15px;letter-spacing:.08em;
}
.company__icon{
  flex:none;display:grid;place-items:center;width:40px;height:40px;
  border-radius:50%;background:var(--c-green);
}
.company__icon svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.company__row dd{margin:0;font-size:16px;line-height:1.8;letter-spacing:.06em;}
.company__name{font-size:20px;font-weight:700;color:var(--c-green-dk);}
.company__zip{display:block;font-size:14px;color:#777;}
.company__link{
  color:var(--c-green-dk);font-weight:700;text-decoration:none;
  transition:opacity .2s;
}
/* .company__link:hover{opacity:.7;} */
.company__note{display:block;font-size:12px;color:#888;margin-top:2px;}

/* SP */
@media (max-width:767px){
  .company{padding:64px 0 80px;}
  .company__lead{font-size:14px;text-align:left;}
  .company__lead br{display:none;}
  .company__list{padding:20px 20px 8px;}
  .company__row{grid-template-columns:1fr;gap:10px;padding:20px 0;}
  .company__icon{width:32px;height:32px;}
  .company__icon svg{width:16px;height:16px;}
  .company__row dd{padding-left:44px;font-size:15px;}
  .company__name{font-size:18px;}
  .company__card{box-shadow:5px 5px 0 var(--c-green-lt);}

  .flow-list .flow-step:nth-child(2) .flow-step__body .flow-step__text br:nth-child(3) {display: none;}
  .flow-list .flow-step:nth-child(4) .flow-step__body .flow-step__text br:nth-child(2) {display: none;}
}

@media (min-width:321px){
  .i320-s {display: none;}
}


/* breadcrumbs */
.breadcrumbs {padding: 12px 0; background-color: #eff2ec;}
.breadcrumbs i {font-size: 14px; vertical-align: 1px; margin-right: 5px;}
.breadcrumbs__list {display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0;}
.breadcrumbs__item {display: inline-flex; align-items: center; color: #666;}
.breadcrumbs__link {color: #333; text-decoration: none; transition: color 0.2s ease;}
.breadcrumbs__link:hover {color: #000;}
.breadcrumbs__separator {margin: 0 8px; color: #999; font-size: 11px;}
.breadcrumbs__item--current {color: #888;pointer-events: none;}

@media (min-width:768.999px) {
  .md-none {display: none !important;}
}