/* 抽出元サイトで使用されているCSSカスタムプロパティ（このファイルの依存分のみ） */
:root {
  --subBlue: #e5f2ff;
  --mainYellow: #fff045;
  --white: #fff;
  --text13: clamp(11px, 1.525vw, 13px);
  --text16: clamp(14px, 1.875vw, 16px);
  --text17: clamp(15px, 2vw, 17px);
  --text20: clamp(16px, 2.375vw, 20px);
  --text24: clamp(18px, 2.75vw, 24px);
  --mainBlue: #007edb;
  /* 画像パス指定のため、別サイトでは画像を用意してパスを書き換えてください */
  --maskTopNew: url("../img/common/top_mask.webp");
  --maskBottomNew: url("../img/common/bottom_mask.webp");
}

/*--------------------------------------------
  HOME AI（ショウイン式®を支える独自開発AI教材）
--------------------------------------------*/
.p-homeAi {
  position: relative;
  z-index: 1;
  padding-top: max(70px, 4.8611111111vw);
  padding-bottom: max(70px, 4.8611111111vw);
  background-color: var(--mainBlue);
}
.p-homeAi::after,
.p-homeAi::before {
  content: "";
  aspect-ratio: 1440/90;
  background-color: var(--mainBlue);
  -webkit-mask-size: 102% auto;
  mask-size: 102% auto;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 110%;
}
.p-homeAi::after {
  -webkit-mask-image: var(--maskBottomNew);
  mask-image: var(--maskBottomNew);
  top: calc(100% - 1px);
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}
@media (width < 768px) {
  .p-homeAi::after {
    -webkit-mask-position: center calc(0% - 1px);
    mask-position: center calc(0% - 1px);
  }
}
.p-homeAi::before {
  -webkit-mask-image: var(--maskTopNew);
  mask-image: var(--maskTopNew);
  bottom: calc(100% - 1px);
  -webkit-mask-position: center top;
  mask-position: center top;
}
@media (width < 768px) {
  .p-homeAi::before {
    -webkit-mask-position: center calc(100% + 1px);
    mask-position: center calc(100% + 1px);
  }
}
@media (width < 768px) {
  .p-homeAi {
    padding: 70px 0 70px;
  }
}
.p-homeAi__head {
  margin-bottom: 65px;
}
@media (width < 768px) {
  .p-homeAi__head {
    margin-bottom: 40px;
  }
}
.p-homeAi__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media (width < 768px) {
  .p-homeAi__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 30px;
  }
}
.p-homeAi__text {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  max-width: 50rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--white);
}
@media (width < 768px) {
  .p-homeAi__text {
    max-width: none;
    row-gap: 10px;
  }
}
.p-homeAi__catch {
  font-weight: 700;
  font-size: var(--text24);
  line-height: 1.75;
}
@media (width < 768px) {
  .p-homeAi__catch {
    line-height: 1.8;
    font-size: 18px;
  }
}
.p-homeAi__desc {
  font-weight: 500;
  font-size: var(--text16);
  line-height: 2.2;
}
@media (width < 992px) {
  .p-homeAi__desc {
    font-size: 16px;
  }
}
.p-homeAi__descAccent {
  color: var(--mainYellow);
}
.p-homeAi__img {
  width: 51.6666666667%;
  max-width: 620px;
}
@media (width < 768px) {
  .p-homeAi__img {
    width: 100%;
    margin-inline: auto;
  }
}
.p-homeAi__ctaWrap {
  margin-top: 65px;
}
@media (width < 768px) {
  .p-homeAi__ctaWrap {
    margin-top: 30px;
  }
}

/*--------------------------------------------
  HOME METHOD（ショウイン式®わかるの3大法則）
--------------------------------------------*/
.p-homeMethod {
  background-color: white;
  position: relative;
  padding-top: max(100px, 6.9444444444vw);
  padding-bottom: max(200px, 13.8888888889vw);
}
@media (width < 768px) {
  .p-homeMethod {
    padding: 50px 0 100px;
  }
}
.p-homeMethod__intro {
  display: grid;
  grid-template-columns: auto 1fr;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 50px;
}
@media (width < 992px) {
  .p-homeMethod__intro {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}
@media (width < 768px) {
  .p-homeMethod__intro {
    row-gap: 30px;
  }
}
.p-homeMethod__lead {
  max-width: 700px;
  margin-left: auto;
  padding-top: 45px;
  font-weight: 500;
  font-size: var(--text16);
  line-height: 2.2;
}
@media (width < 992px) {
  .p-homeMethod__lead {
    margin-left: 0;
    max-width: none;
    padding-top: 0;
  }
}
@media (width < 768px) {
  .p-homeMethod__lead {
    font-size: 16px;
  }
}
.p-homeMethod__board {
  position: relative;
  background-color: #007dd8;
  background-image:
    -webkit-gradient(linear, left top, left bottom, color-stop(0.1rem, rgba(255, 255, 255, 0.1)), color-stop(0.1rem, transparent)),
    -webkit-gradient(linear, left top, right top, color-stop(0.1rem, rgba(255, 255, 255, 0.1)), color-stop(0.1rem, transparent)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' seed='171' stitchTiles='stitch' result='n'/><feColorMatrix in='n' type='luminanceToAlpha' result='a'/><feComponentTransfer in='a' result='t'><feFuncA type='discrete' tableValues='0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/></feComponentTransfer><feFlood flood-color='rgb(0,114,197)' flood-opacity='0.5' result='c'/><feComposite in='c' in2='t' operator='in'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0.1rem, transparent 0.1rem), linear-gradient(to right, rgba(255, 255, 255, 0.1) 0.1rem, transparent 0.1rem),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' seed='171' stitchTiles='stitch' result='n'/><feColorMatrix in='n' type='luminanceToAlpha' result='a'/><feComponentTransfer in='a' result='t'><feFuncA type='discrete' tableValues='0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/></feComponentTransfer><feFlood flood-color='rgb(0,114,197)' flood-opacity='0.5' result='c'/><feComposite in='c' in2='t' operator='in'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size:
    60px 60px,
    60px 60px,
    300px 300px;
  background-repeat: repeat, repeat, repeat;
}
@media (width < 768px) {
  .p-homeMethod__board {
    background-size:
      30px 30px,
      30px 30px,
      300px 300px;
  }
}
.p-homeMethod__board {
  border-radius: 0 60px 0 60px;
  padding: 4.1666666667% 3.3333333333%;
}
@media (width < 768px) {
  .p-homeMethod__board {
    padding: 30px 20px 60px;
  }
}
.p-homeMethod__boardCopy {
  max-width: 386px;
  width: 90%;
  margin-inline: auto;
  margin-bottom: 45px;
  -webkit-filter: drop-shadow(0 0 20px rgba(0, 74, 128, 0.5));
  filter: drop-shadow(0 0 20px rgba(0, 74, 128, 0.5));
}
@media (width < 768px) {
  .p-homeMethod__boardCopy {
    margin-bottom: 20px;
  }
}
.p-homeMethod__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
}
@media (width < 768px) {
  .p-homeMethod__list {
    grid-template-columns: 1fr;
    row-gap: 65px;
  }
}
.p-homeMethod__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
@media (width < 768px) {
  .p-homeMethod__item {
    -webkit-column-gap: 6px;
    -moz-column-gap: 6px;
    column-gap: 6px;
    width: 80%;
    margin-inline: auto;
  }
}
.p-homeMethod__item + .p-homeMethod__item::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 23.2142857143%;
  aspect-ratio: 78/50;
  background-image: url(https://www.showin.co.jp/assets/img/home/method/arrow.webp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (width < 768px) {
  .p-homeMethod__item + .p-homeMethod__item::before {
    top: -32.5px;
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0%) rotate(90deg);
    transform: translate(-50%, 0%) rotate(90deg);
    width: 50px;
  }
}
.p-homeMethod__itemTag {
  display: inline-block;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  max-width: 80px;
  margin-bottom: 10px;
  position: absolute;
  top: 0%;
  left: 0;
}
.p-homeMethod__itemTextFrame {
  padding-top: 50px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
}
@media (width < 576px) {
  .p-homeMethod__itemTextFrame {
    width: 100%;
    margin-inline: inherit;
  }
}
.p-homeMethod__itemText {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: var(--text20);
  line-height: 1.5;
  color: var(--white);
  text-align: center;
}
@media (width < 768px) {
  .p-homeMethod__itemText {
    text-align: left;
    margin-bottom: 0;
    font-size: 20px;
  }
}
.p-homeMethod__itemTextAccent {
  color: var(--mainYellow);
}
.p-homeMethod__itemImg {
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
}
@media (width < 768px) {
  .p-homeMethod__itemImg {
    max-width: 180px;
  }
}
.p-homeMethod__ctaWrap {
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media (width < 768px) {
  .p-homeMethod__ctaWrap {
    margin-top: 30px;
  }
}

/*--------------------------------------------
  HOME POINT（松陰塾の特徴）
--------------------------------------------*/
.p-homePoint {
  position: relative;
  background: var(--subBlue);
  padding-top: max(192px, 13.3333333333vw);
  padding-bottom: max(120px, 8.3333333333vw);
}
@media (width < 768px) {
  .p-homePoint {
    padding: 70px 0;
  }
}
.p-homePoint__head {
  margin-bottom: 35px;
}
@media (width < 768px) {
  .p-homePoint__head {
    margin-bottom: 30px;
  }
}
.p-homePoint__intro {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 90px;
}
@media (width < 992px) {
  .p-homePoint__intro {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 50px;
  }
}
@media (width < 768px) {
  .p-homePoint__intro {
    gap: 30px;
  }
}
.p-homePoint__lead {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  font-weight: 500;
  font-size: var(--text16);
  line-height: 2.2;
}
@media (width < 768px) {
  .p-homePoint__lead {
    font-size: 16px;
  }
}
.p-homePoint__compare {
  margin-bottom: 130px;
  max-width: 1000px;
  margin-inline: auto;
}
@media (width < 992px) {
  .p-homePoint__compare {
    margin-bottom: 60px;
  }
}
@media (width < 768px) {
  .p-homePoint__compare {
    margin-bottom: 50px;
    max-width: 500px;
    margin-inline: auto;
  }
}
.p-homePoint__featureBoard {
  position: relative;
  border-radius: 20px;
  padding: 60px 60px 40px;
  background-image: url(https://www.showin.co.jp/assets/img/home/point/bg.svg);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left;
  -webkit-filter: drop-shadow(5px 5px 15px rgba(0, 74, 128, 0.15));
  filter: drop-shadow(5px 5px 15px rgba(0, 74, 128, 0.15));
}
@media (width < 1300px) {
  .p-homePoint__featureBoard {
    padding: 60px 40px 40px;
  }
}
@media (width < 992px) {
  .p-homePoint__featureBoard {
    padding: 50px 20px 50px 50px;
    border-radius: 15px;
  }
}
@media (width < 768px) {
  .p-homePoint__featureBoard {
    padding: 40px 20px 64px 20px;
    background-image: url(https://www.showin.co.jp/assets/img/home/point/bg_sp.svg);
    border-radius: 10px;
  }
}
.p-homePoint__featureCopy {
  width: 45%;
  margin-inline: auto;
  margin-bottom: 40px;
}
@media (width < 992px) {
  .p-homePoint__featureCopy {
    margin-bottom: 20px;
  }
}
@media (width < 768px) {
  .p-homePoint__featureCopy {
    width: 85%;
    max-width: 450px;
  }
}
.p-homePoint__featureBody {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 60px;
}
@media (width < 1300px) {
  .p-homePoint__featureBody {
    gap: 30px;
  }
}
@media (width < 992px) {
  .p-homePoint__featureBody {
    gap: 30px;
  }
}
@media (width < 768px) {
  .p-homePoint__featureBody {
    display: grid;
    gap: 0px;
  }
}
.p-homePoint__featureText {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
}
@media (width < 768px) {
  .p-homePoint__featureText {
    display: contents;
  }
}
.p-homePoint__featureTitle {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: var(--text24);
  line-height: 1.75;
}
@media (width < 768px) {
  .p-homePoint__featureTitle {
    margin-bottom: 10px;
  }
}
.p-homePoint__featureDesc {
  margin-bottom: 30px;
  font-weight: 500;
  font-size: var(--text16);
  line-height: 2.2;
}
@media (width < 992px) {
  .p-homePoint__featureDesc {
    font-size: 14px;
  }
}
@media (width < 768px) {
  .p-homePoint__ctaFrame {
    grid-row: 7/8;
  }
}
.p-homePoint__survey {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 46.2962962963%;
}
@media (width < 768px) {
  .p-homePoint__survey {
    width: 100%;
  }
}
.p-homePoint__surveyTitle {
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  font-size: var(--text17);
  line-height: 1.75;
}
@media (width < 768px) {
  .p-homePoint__surveyTitle {
    font-size: 17px;
  }
}
.p-homePoint__graphImg {
  width: 100%;
  max-width: 530px;
  margin-inline: auto;
}
@media (width < 768px) {
  .p-homePoint__graphImg {
    margin-bottom: 20px;
  }
}
.p-homePoint__surveyNote {
  margin-top: 15px;
  font-weight: 500;
  font-size: var(--text13);
  line-height: 1.75;
  color: #777;
  text-align: right;
}
@media (width < 992px) {
  .p-homePoint__surveyNote {
    font-size: 11px;
    text-align: center;
  }
}
@media (width < 768px) {
  .p-homePoint__surveyNote {
    margin-bottom: 40px;
  }
}
