@charset "UTF-8";

html {
  font-size: 62.5%;
}

body main {
  color: #262424;
  line-height: 1.5;
}

body[data-cat="high"] p {
  font-size: clamp(1.5rem, 4vw, 1.6rem);
}

.p-breadcrumblist ol li {
  font-size: calc(14 / 16 * 1em);
}

.leadTxt {
  max-width: 1000px;
  margin-block: 0 clamp(40px, 10.666vw, 70px);
  margin-inline: auto;
  padding-inline: 10px;
}

.container,
.container-sm,
.container-lg,
.container-xl {
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}

.container {
  max-width: 1000px;
}

.container-xl {
  max-width: 1260px;
}

.container-lg {
  max-width: 1260px;
}

.container-sm {
  max-width: 820px;
}

.container-full {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.p-bg__clr_wht {
  margin-block: 0 5vh;
  padding: 4vh 0 1vh;
  background: #F2FCE6;
}
@media screen and (max-width: 600px) {
  .p-bg__clr_wht {
    padding: 1vh 0 4vh;
  }
}
.cta-areaBox {
  margin: 0 0 1vh;
  text-align: center;
}
body[data-cat="high"] .cta-areaBox p {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.cta-btnBox > a {
  font-size: clamp(1.4rem, 3vw, 2.5rem);
}
.cta-btnBox-txt-big {
  font-size: clamp(2rem, 6vw, 3.5rem);
}
.cta-comment-number {
  font-size: clamp(1.4rem, 3.733vw, 1.8rem);
  white-space: nowrap;
}
.cta-areaBox + .p-framecolumn__box_item--btn {
  margin-top: 0;
}
.p-framecolumn .p-framecolumn__box_item--tel {
  width: 100%;
  margin: .5vh 0 0 !important;
}
body[data-cat="high"] .p-framecolumn__box_item--tel-num p strong {
  font-size: clamp(2rem, 7vw, 5rem);
}

.price img,
.price_reasonContainer img {
  width: auto;
  height: auto;
}
.cta-areaBox-ttl-big {
  font-size: clamp(3rem, 7vw, 5rem);
}

body .title-main {
  font-size: clamp(2.3rem, 6.133vw, 4rem);
  color: #000000;
  position: relative;
  text-align: center;
  font-weight: bold;
  line-height: 1.4;
  padding-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .title-main {
    font-size: 23px;
    font-size: 6.13333vw;
    padding-bottom: 10px;
  }
}
.title-main:before, .title-main:after {
  content: " ";
  height: 5px;
  width: 60px;
  background: #007240;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -60px;
}
@media screen and (max-width: 767px) {
  .title-main:before, .title-main:after {
    width: 30px;
    height: 3px;
    margin-left: -30px;
  }
}
.title-main:after {
  background: #FFC756;
  left: 50%;
  margin-left: 0;
  margin-right: -60px;
}
@media screen and (max-width: 767px) {
  .title-main:after {
    margin-left: 0;
    margin-right: -30px;
  }
}
@media screen and (max-width: 480px) {
    [data-cat="high"] p {
        font-size: 1.5rem;
        line-height: 1.5;
    }
}

/*---------------------------------------------------------
下層ページ用CSS
---------------------------------------------------------*/
.article-header {
  margin-bottom: 60px;
  font-size: 15px;
  line-height: 1.6;
}
body[data-cat="high"] .article-header {
  background: url(/wp/wp-content/themes/k-wam_2022/assets/img/price/highPrice_MV_bg_pc.png) center 0 / contain no-repeat;
  margin-bottom: clamp(15px, 4vw, 30px);
}
@media screen and (min-width: 835px) {
  body[data-cat="high"] .article-header {
    min-height: 300px;
  }
}
@media screen and (max-width: 600px) {
  body[data-cat="high"] .article-header {
    background: url(/wp/wp-content/themes/k-wam_2022/assets/img/price/highPrice_MV_bg_sp.png) 0 0 / cover no-repeat;
  }
}
.article-header .container {
  height: 180px;
  position: relative;
}
.article-header .title {
  font-size: 30px;
  color: #007440;
  font-weight: bold;
}
body[data-cat="high"] .article-header .entry {
  position: absolute;
  top: 70%;
}
body[data-cat="high"] .article-header .title {
  font-size: clamp(3.5rem, 9.333vw, 5.6rem);
  position: relative;
}
body[data-cat="high"] .article-header .title::after {
  content: '一人ひとりの学力・学校の進度・志望校に\A合わせて、最適な学習プランをご提案します。';
  display: block;
  white-space: pre;
  font-size: clamp(1.7rem, 4.533vw, 2.4rem);
  font-weight: 600;
  color: #121212;
}
@media screen and (max-width: 834px) and (min-width: 601px) {
  body[data-cat="high"] .article-header .title {
    font-size: clamp(3.5rem, 9.333vw, 4rem);
  }
  body[data-cat="high"] .article-header .title::after {
    font-size: clamp(1.7rem, 4.533vw, 2rem);
  }
  body[data-cat="high"] .article-header .entry {
    top: 45%;
    left: 2.604vw;
  }
}
@media screen and (max-width: 600px) {
  body[data-cat="high"] .article-header {
    aspect-ratio: 750/736;
  }
  body[data-cat="high"] .article-header .entry {
    top: 47%;
    left: 5.333vw;
  }
  body[data-cat="high"] .article-header .title {
    text-shadow: 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7, 0 0 7px #fbfcf7;
  }
  body[data-cat="high"] .article-header .title::after {
    content: '一人ひとりの学力・学校の進度・志望校に合わせて、最適な学習プランをご提案します。';
    white-space: normal;
    width: 72vw;
  }
}
body[data-cat="elementary"] .article-header .title {
  color: #fb5c65;
}
body[data-cat="elementary-e"] .article-header .title {
  color: #d63031;
}
body[data-cat="junior-high"] .article-header .title {
  color: #3498da;
}
body[data-cat="high"] .article-header .title {
  color: #01A56F;
}
.article-header .entry {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .article-header {
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    font-size: 13px;
  }
  .article-header .container {
    height: auto;
    min-height: 180px;
  }
  .article-header .title {
    font-size: 24px;
  }
}
@media screen and (max-width: 560px) {
  .article-header {
    background-position: -480px center;
  }
}

/*---------------------------------------------------------
３つのポイント
---------------------------------------------------------*/
.article-price .point {
  margin-bottom: 4rem;
}
.article-price .point .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.article-price .point .item {
  width: calc(100% / 3.2);
  position: relative;
  padding: clamp(2rem, 5.333vw, 2.5rem) 2rem;
  border: 2px solid #d1be6f;
  /*box-shadow: inset 0 0 0 5px #fffdf6, inset 0 0 0 6px #e7e1c6;*/
  background: #fffdf6;
}
body[data-cat="high"] .title-triangle {
  font-size: clamp(2rem, 5.333vw, 2.5rem);
  margin-bottom: clamp(25px, 6.666vw, 40px);
}
.title-triangle + .article-price .point .item {
  border: 2px solid #d4e4df;
  background: #ffffff;
}
@media screen and (max-width: 767px) {
  .article-price .point .item {
    width: 100%;
    margin-bottom: 20px;
  }
}
.article-price .point .item .icon {
  position: absolute;
}
.article-price .point .item .ttl {
  color: #007440;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}
.article-price .point .item .ttl small {
  display: block;
}
.article-price .point .item .ttl-wrap {
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.article-price .point .item .ttl-wrap img {
  display: block;
  margin-left: 1rem;
  width: auto;
}

/*---------------------------------------------------------
WAMのメリット
---------------------------------------------------------*/
.merit .flex {
  gap: clamp(15px, 4vw, 24px);
}

.article-price .point.merit .item {
  width: calc((100% - 72px) / 4);
  padding: 2rem;
  border-radius: 17px;
  /*box-shadow: inset 0 0 0 5px #ffffff, inset 0 0 0 6px #e1ebe9;*/
}
@media screen and (max-width: 767px) {
  .article-price .point.merit .item {
    width: calc((100% - clamp(15px, 4vw, 72px)) / 2);
    margin-bottom: 0;
  }
}
.article-price .point.merit .item .ttl-wrap {
  text-align: center;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 0;
}
.article-price .point.merit .item .ttl-wrap p {
  color: #004325;
  font-size: clamp(1.5rem, 4vw, 1.7rem);
}
.article-price .point.merit .item .ttl-wrap img {
  margin-left: 0;
}
.article-price .point.merit .item:nth-of-type(3) .ttl-wrap img {
  margin-block: 3.5px;
  margin-inline: 22px 0;
}
.article-price .point.merit .item:nth-of-type(5) .ttl-wrap img {
  margin-block: 6px;
  margin-inline: 24px 0;
}
@media screen and (max-width: 767px) {
  .article-price .point.merit .item .ttl-wrap img {
    height: 21.333vw;
  }
  .article-price .point.merit .item:nth-of-type(3) .ttl-wrap img {
    margin-block: 0;
    margin-inline: 4.8vw 0;
  }
  .article-price .point.merit .item:nth-of-type(5) .ttl-wrap img {
    margin-block: 0;
    margin-inline: 5.066vw 0;
  }
}

.merit_comment {
  text-align: center;
  margin-block: 25px 0;
}
body[data-cat="high"] .merit_comment p {
  display: inline-block;
  background-image: -webkit-linear-gradient(top, transparent 70%, #FFE646 70%);
  font-size: 2rem;
  font-weight: 900;
}
@media screen and (max-width: 767px) {
  body[data-cat="high"] .merit_comment p {
    display: inline;
  }
}

/*---------------------------------------------------------
table
---------------------------------------------------------*/
.table {
  border-collapse: collapse;
  border-spacing: 0;
}
.table.table-primary {
  table-layout: fixed;
  width: 100%;
}
.table.table-primary th, .table.table-primary td {
  text-align: center;
  padding: 10px;
  border: 1px solid #007440;
}
body[data-cat="high"] .table.table-primary th, body[data-cat="high"] .table.table-primary td {
  border-color: #01A56F;
}
body[data-cat="junior-high"] .table.table-primary th, body[data-cat="junior-high"] .table.table-primary td {
  border-color: #3498da;
}
body[data-cat="elementary"] .table.table-primary th, body[data-cat="elementary"] .table.table-primary td {
  border-color: #fb5c65;
}
body[data-cat="elementary-e"] .table.table-primary th, body[data-cat="elementary-e"] .table.table-primary td {
  border-color: #d63031;
}
.table.table-primary th {
  background: #007440;
  color: #fff;
  font-weight: bold;
  border-right: 1px solid #fff;
}
.table.table-primary th:last-child {
  border-right-color: #007440;
}
body[data-cat="high"] .table.table-primary th:last-child {
  border-right-color: #01A56F;
}
body[data-cat="junior-high"] .table.table-primary th:last-child {
  border-right-color: #3498da;
}
body[data-cat="elementary"] .table.table-primary th:last-child {
  border-right-color: #fb5c65;
}
body[data-cat="elementary-e"] .table.table-primary th:last-child {
  border-right-color: #d63031;
}
body[data-cat="high"] .table.table-primary th {
  background: #01A56F;
}
body[data-cat="junior-high"] .table.table-primary th {
  background: #3498da;
}
body[data-cat="elementary"] .table.table-primary th {
  background: #fb5c65;
}
body[data-cat="elementary-e"] .table.table-primary th {
  background: #d63031;
}
.table.table-secondary {
  width: 100%;
}
.table.table-secondary th, .table.table-secondary td {
  font-size: 15px;
  text-align: center;
  padding: 10px;
  border: 1px solid #007440;
}
.table.table-secondary th {
  padding-top: 20px;
  padding-bottom: 20px;
  font-weight: normal;
  background: #e4ffcb;
}
.table.table-secondary thead th, .table.table-secondary thead td {
  font-weight: bold;
}
.table.table-tertiary {
  table-layout: fixed;
  width: 100%;
  border-top: 1px solid #141414;
  border-bottom: 1px solid #141414;
}
.table.table-tertiary th, .table.table-tertiary td {
  text-align: center;
  padding: 10px 20px;
  border: 1px solid #141414;
  border-top: none;
  border-bottom-style: dashed;
}
.table.table-tertiary th {
  font-weight: bold;
  background: #e5e5e5;
}
.table.table-tertiary td {
  text-align: left;
}
.table td span {
  font-size: 80%;
  color: #888;
}
@media screen and (max-width: 767px) {
  .table.table-tertiary {
    display: block;
    border: 1px solid #141414;
    border-bottom: none;
  }
  .table.table-tertiary tr, .table.table-tertiary th, .table.table-tertiary td {
    display: block;
    width: 100% !important;
    border: none;
  }
  .table.table-tertiary th {
    text-align: left;
    border-bottom: 1px dashed #141414;
  }
  .table.table-tertiary tr {
    border-bottom: 1px solid #141414;
  }
  .table td {
    line-height: 1.3;
  }
  .table td span {
    display: inline-block;
    line-height: inherit;
  }
}

.schoolsearch {
  margin: 2rem auto 4rem auto;
}

.schoolsearch a {
  height: 60px;
  font-size: 1.8rem;
}

/*
 返金保証コンテンツ用
----------------------------*/
@media screen and (max-width: 600px) {
  .article-price.section-cashback {
    padding-inline: 0;
  }
}

.article-price.section-cashback .item-reason {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  font-size: 18px;
  padding: 25px 40px 30px !important;
  margin-bottom: 80px;
}

.article-price .price_reason1to3Container + .item-reason .txt {
  margin-bottom: 0;
}
@media screen and (max-width: 600px) {
  .article-price .price_reason1to3Container + .item-reason {
    margin-inline: 10px;
    padding: 25px 20px 30px !important;
  }
}

.article-price.section-cashback .item-reason .title {
  font-weight: bold;
  font-size: clamp(2.6rem, 6.933vw, 3.4rem);
  line-height: 1.2;
  color: #007240;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: 0 7px;
}
.article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::before,
.article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 38px;
    background: url(/wp/wp-content/themes/k-wam_2022/assets/img/price/cashbackTtl_kazari_pc.svg) 0 0 no-repeat;
}
.article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::before {
    left: calc(50% - 150px);
}
.article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::after {
    right: calc(50% - 150px);
    transform: translate(50%, -50%) scale(-1, 1);
}
@media screen and (max-width: 600px) {
    .article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::before,
    .article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::after {
        top: 55%;
        aspect-ratio: 78/53;
        width: 50px;
        background: url(/wp/wp-content/themes/k-wam_2022/assets/img/price/cashbackTtl_kazari_sp.svg) 0 0/contain no-repeat;
    }
    .article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::before {
        left: calc(50% - 100px);
    }
    .article-price.section-cashback .price_reason1to3Container + .item-reason .title:not(.price_reason1to3Container .title)::after {
        right: calc(50% - 100px);
    }
}

@media screen and (max-width: 600px) {
  .article-price.section-cashback .price_reason1to3Container {
    margin-block: 10.666vw 0;
  }
}

.article-price.section-cashback .price_reason1to3Container .item-reason .title {
  font-size: clamp(2rem, 5.333vw, 2.4rem);
  margin-block: 0 10px;
}
@media screen and (max-width: 600px) {
  .article-price.section-cashback .price_reason1to3Container .item-reason .title {
    justify-content: flex-start;
    margin-block: 22px 17px;
    min-height: 58px;
  }
  .article-price.section-cashback .price_reason1to3Container  > div:nth-of-type(2).item-reason .title {
    padding-left: 37.333vw;
  }
}
.price_reasonTxt {
  margin-block: 15px;
  margin-inline: 20px;
}
.article-price.section-cashback .price_reason1to3Container .item-reason {
  font-size: 1.8rem;
  padding: 0 !important;
  margin-bottom: 50px;
}
@media screen and (max-width: 600px) {
  .price_reason1to3Container {
    flex-direction: column;
  }
  .article-price.section-cashback .price_reason1to3Container .item-reason {
    width: 90.666vw;
    position: relative;
    overflow: visible;
  }
  .article-price.section-cashback .price_reason1to3Container > div:nth-of-type(1).item-reason,
  .article-price.section-cashback .price_reason1to3Container > div:nth-of-type(3).item-reason {
    border-radius: 0 2.666vw 2.666vw 0;
    margin-bottom: 9.333vw;
  }
  .article-price.section-cashback .price_reason1to3Container > div:nth-of-type(2).item-reason {
    border-radius: 2.666vw 0 0 2.666vw;
    margin-bottom: 9.333vw;
    align-self: end;
  }

  .article-price.section-cashback .price_reason1to3Container > div:nth-of-type(1).item-reason div:nth-of-type(1),
  .article-price.section-cashback .price_reason1to3Container > div:nth-of-type(3).item-reason div:nth-of-type(1) {
    position: absolute;
    width: 48vw;
    top: -4vw;
    right: -9.333vw;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  }
  .article-price.section-cashback .price_reason1to3Container > div:nth-of-type(2).item-reason div:nth-of-type(1) {
    position: absolute;
    width: 48vw;
    top: -4vw;
    left: -9.333vw;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  }
}
.article-price.section-cashback .item-reason .commentTxt {
  font-size: 75%;
  color: #888;
  margin-block: 8px 0;
}

.article-price.section-cashback .item-reason .txt-img {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 600px) {
  .article-price.section-cashback .item-reason .txt-img {
    flex-direction: column;
  }

  .article-price.section-cashback .price_reason1to3Container + .item-reason .txt-img {
    gap: 0;
  }
}

.article-price.section-cashback .item-reason .txt-img .txt {
  width: 100%;
  line-height: 2.2;
  padding-right: 30px;
}
@media screen and (max-width: 600px) {
  .article-price.section-cashback .price_reason1to3Container + .item-reason .txt {
    padding-right: 0;
  }
}

.article-price.section-cashback .item-reason .txt-img .img {
  width: 150px;
  flex-shrink: 0;
}

.price_reason1to3Container {
  display: flex;
  justify-content: space-between;
}
.price_reason1to3Container .item-reason {
  width: 290px;
  overflow: hidden;
}

.article-price.section-cashback .item-reason p {
  font-size: 1.6rem;
  line-height: 1.6;
}

/*
 FAQ用
----------------------------*/
.section-faqs {
  padding: 80px 0;
}
@media screen and (max-width: 767px) {
  .section-faqs {
    padding: 40px 0;
  }
}
.section-faqs .container {
  max-width: 1000px;
}
.section-faqs .faq-list dl {
  border-bottom: 1px solid #A6A6A6;
}
.section-faqs .faq-list .item-q a,
.section-faqs .faq-list .item-a {
  display: block;
  padding: 40px 40px;
  position: relative;
  padding-left: 60px;
  padding-right: 40px;
  font-size: 18px;
  font-weight: bold;
  color: #262424;
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .section-faqs .faq-list .item-q a,
  .section-faqs .faq-list .item-a {
    padding: 15px;
    padding-left: 30px;
    padding-right: 20px;
    font-size: 14px;
    font-size: 3.73333vw;
  }
}
.section-faqs .faq-list .item-q a:before,
.section-faqs .faq-list .item-a:before {
  content: "Q.";
  display: block;
  position: absolute;
  top: 40px;
  left: 20px;
  font-weight: bold;
  font-size: 28px;
  color: #007240;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .section-faqs .faq-list .item-q a:before,
  .section-faqs .faq-list .item-a:before {
    top: 12px;
    left: 0;
    font-size: 21.5px;
    font-size: 5.73333vw;
  }
}
.section-faqs .faq-list .item-q a > span,
.section-faqs .faq-list .item-a > span {
  position: relative;
  display: inline-block;
  position: absolute;
  width: 20px;
  height: 20px;
  right: 0;
  top: 50%;
  margin-top: -10px;
}
@media screen and (max-width: 767px) {
  .section-faqs .faq-list .item-q a > span,
  .section-faqs .faq-list .item-a > span {
    width: 14px;
    height: 14px;
  }
}
.section-faqs .faq-list .item-q a > span:after, .section-faqs .faq-list .item-q a > span:before,
.section-faqs .faq-list .item-a > span:after,
.section-faqs .faq-list .item-a > span:before {
  content: " ";
  background: #007240;
  display: block;
  position: absolute;
}
.section-faqs .faq-list .item-q a > span:after,
.section-faqs .faq-list .item-a > span:after {
  width: 100%;
  height: 4px;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: -2px;
}
@media screen and (max-width: 767px) {
  .section-faqs .faq-list .item-q a > span:after,
  .section-faqs .faq-list .item-a > span:after {
    height: 2px;
    margin-top: -1px;
  }
}
.section-faqs .faq-list .item-q a > span:before,
.section-faqs .faq-list .item-a > span:before {
  height: 100%;
  width: 4px;
  left: 50%;
  top: 0;
  bottom: 0;
  margin-left: -2px;
}
@media screen and (max-width: 767px) {
  .section-faqs .faq-list .item-q a > span:before,
  .section-faqs .faq-list .item-a > span:before {
    width: 2px;
    margin-left: -1px;
  }
}
.section-faqs .faq-list .item-a {
  display: none;
  font-weight: normal;
  border-top: 1px dashed #A6A6A6;
  padding-right: 0 !important;
}
.section-faqs .faq-list .item-a:before {
  content: "A.";
  color: #d30000;
}
.section-faqs .faq-list dl.is-active .item-q a > span:before {
  display: none;
}
.section-faqs .faq-list dl.is-active .item-a {
  display: block;
}