:root {
  --main-color: #ffb3c0;
  --sub-color: #fef7f9;
  --text-color: #2c4b61;
  --accent-color: #ff9927;
  --support-color: #fce6d0;
  --secondary-color: #e37e8f;
}

html {
  background-color: var(--sub-color);
}

/* 共通スタイル */
body {
  color: var(--text-color);
  font-family: "Noto Sans JP";
  max-width: 1400px;
  margin: auto;
}

li {
  list-style: none;
}

.check-list {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  margin-top: 40px;
  padding: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.list {
  padding: 0;
  gap: 1em;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;

  li {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    text-align: left;

    span {
      flex: 1;
    }

    &::before {
      content: "";
      background-image: url(../img/icn_check-pink.svg);
      width: 1.4em;
      aspect-ratio: 1/1;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      margin-right: 10px;
    }
  }
}

/* 汎用クラス */
.orange {
  color: var(--accent-color);
}

.pink {
  color: var(--main-color);
}

.btn-shadow {
  filter: drop-shadow(0px 3px 0px var(--darck-pink, #e37e8f));
  transition: 0.1s;

  img {
    transition: 0.1s;
  }

  &:hover {
    filter: none;
    transform: translateY(3px);

    img {
      transform: translateY(3px);
    }
  }
}

.tac {
  text-align: center;
}

.flex {
  display: flex;
}

.column {
  flex-direction: column;
}

.wrap {
  flex-wrap: wrap;
}

.jcc {
  justify-content: center;
}

.between {
  justify-content: space-between;
}

.shadow {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.pink-bg {
  background-color: var(--sub-color);
}

.beige-bg {
  background-color: var(--support-color);
}

.mw1000 {
  max-width: 1000px;
  margin: auto;
}

.sp {
  display: none;
}

.sp800 {
  display: none;
}

.sp900 {
  display: none;
}

.dib {
  display: inline-block;
}

/* ヘッダー */
header {
  width: 100%;
  background: #fff;
  position: fixed;
  padding: 15px 30px;
  z-index: 1000;
  max-width: 1400px;
}

section {
  padding: 0 20px;
}

/* ファーストビュー */
#fv {
  background-image: url(../img/mv.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0;
  padding: 100px 50px;
}

.fv-inner {
  gap: 40px;
}

.fv-top {
  gap: 40px;
  width: 100%;
  max-width: 650px;
}

.fv-catch {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  p {
    font-size: 1.25rem;
    font-weight: bold;
    background-color: #fff;
    max-width: fit-content;
    padding: 1em;
    border-radius: 5px;
    flex-wrap: wrap;
    align-items: center;
    .pink,
    .orange {
      font-size: 1.2em;
    }
  }
}

.fv-bottom {
  gap: 20px 40px;
}

.fv-cta {
  width: 100%;
  flex: 1;
}

.fv-badges {
  gap: 20px;
  flex: 1;
}

/* キャンペーン */
#macbook-campaign {
  background-image: url(../img/bg_campaign-spring-startdash.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 75px 0 0;
}

.macbook-catch {
  h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--main-color);
    text-shadow: 2px 2px 4px var(--yellow, #fffb1e);
    align-items: baseline;
    .big {
      font-size: 2em;
      font-weight: 500;
    }
    &::before,
    &::after {
      content: "";
      border-right: 1px solid var(--main-color);
      width: 1px;
      height: 100px;
    }
    &::before {
      transform: rotate(-20deg) translateX(-50px);
    }
    &::after {
      transform: rotate(20deg) translateX(50px);
    }
  }
  .sub {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5em;
  }
  .highlight {
    background-color: var(--main-color);
    color: #fff;
    display: inline-block;
    padding: 0.75em 2.5em 1em;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.5rem;
    strong {
      font-size: 1.5em;
      font-weight: 700;
    }
  }
}
.macbook-image {
  margin-top: 40px;
  img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: inline-block;
  }
}

/* こんなお悩みありませんか */
#worries {
  padding-top: 70px;
  padding-bottom: 125px;
  background-color: var(--text-color);
  background-image: url(../img/bg_wave-dark.svg);
  background-blend-mode: soft-light;
  position: relative;
}

.worries-inner {
  position: relative;
}

.worries-left {
  width: 80%;
  max-width: 700px;
}

.worries-sub {
  text-align: center;
  font-size: 1.25rem;
  line-height: 3;
  font-weight: 700;
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke;
  background-image: url(../img/dec_underline-hand.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.worries-heading {
  text-align: center;
  img {
    display: inline-block;
    max-width: 645px;
    width: 100%;
    margin: auto;
  }
}

.worries-image {
  position: absolute;
  left: 60%;
  bottom: 0;
  display: flex;

  img {
    mix-blend-mode: luminosity;
    max-width: 400px;
    width: 35vw;
  }

  &::after {
    content: "";
    display: block;
    width: 45px;
    background-image: url(../img/icn_moyamoya.svg);
    background-size: contain;
    background-repeat: no-repeat;
    mix-blend-mode: soft-light;
  }
}

/* そんなあなたにぴったり */
#perfect-fit {
  background-image: url(../img/bg_shape-lines.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 150px;
  position: relative;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
  transform: translateY(-10%);
}

.perfect-inner {
  justify-content: end;
}

.perfect-image {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateX(-20%);

  img {
    width: 70vw;
    max-width: 600px;
  }
}

.perfect-content {
  z-index: 1;
  width: 80%;
}

.perfect-heading {
  width: 90%;
  margin: auto;
}

/* 特徴セクション */
#features {
  background-color: #fff;
  padding: 100px 0;
  margin-top: -70px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-heading {
  margin-bottom: 80px;
  text-align: center;
  background-image: url(../img/bg_features-word.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 130px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.feature-box {
  display: flex;
  gap: 40px;
  align-items: start;
  position: relative;

  &::before {
    background-image: url(../img/bg_dots-pink.svg);
    content: "";
    position: absolute;
    width: 90%;
    height: 100%;
    bottom: -10%;
    z-index: 1;
  }

  &:nth-of-type(odd)::before {
    right: -20px;
  }

  &:nth-of-type(even)::before {
    left: -20px;
  }

  &:nth-of-type(1) h3 {
    background-image: url(../img/img_number-01.svg);
  }

  &:nth-of-type(2) h3 {
    background-image: url(../img/img_number-02.svg);
  }

  &:nth-of-type(3) h3 {
    background-image: url(../img/img_number-03.svg);
  }
}

.feature-box:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image {
  z-index: 2;

  img {
    width: 100%;
    height: auto;
  }
}

.feature-content {
  z-index: 2;
  flex: 1;

  h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1em;
    line-height: 1.6;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    padding-left: 5em;
  }

  ul {
    display: flex;
    flex-direction: column;

    gap: 20px;

    li {
      border-radius: 5px;
      background: #fff;
      box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
      padding: 4.5em 1.5em 1.5em;
      font-weight: 500;
      position: relative;
    }
  }
}

.list-ttl {
  position: absolute;
  top: 1em;
  left: -10px;
  padding: 10px 0;
  font-size: 1rem;

  &::before,
  &::after {
    position: absolute;
    content: "";
  }

  &::before {
    top: 100%;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
  }

  &::after {
    top: 0;
    right: -10px;
    width: 10px;
    height: 100%;
    background: var(--main-color);
    clip-path: polygon(0% 0%, 100% 0, 0% 50%, 100% 100%, 0% 100%);
  }
}

.list-wrap {
  font-weight: bold;
  margin-bottom: 0.3em;
  background-color: var(--main-color);
  color: #fff;
  padding: 10px;

  &::before {
    content: "○";
    margin-right: 10px;
  }
}

/* 学べるスキル一覧 */
#skills {
  padding: 80px 20px;
  background-color: #fff;
}

.skills-group + .skills-group {
  margin-top: 100px;
}

.skills-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.skills-ttl {
  margin-bottom: 60px;
  img {
    display: inline-block;
  }
}

.skills-label {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-color);
  gap: 0.5em;

  &::before,
  &::after {
    content: "";
    background-image: url(../img/icn_sparkle-orange.svg);
    width: 1em;
    aspect-ratio: 1/1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.skills-description {
  text-align: center;
  margin-top: 30px;
  font-size: 1.25rem;
  color: var(--text-color);
  font-weight: 700;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.marker {
  position: relative;
  display: inline-block;

  &::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 10px;
    opacity: 0.2;
    background: var(--accent-color, #ff9927);
    bottom: 0;
  }
}

.skills-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 100px;
  margin-top: 50px;
  align-items: stretch;
}

.skill-card {
  max-width: 250px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column; /* 縦に積むレイアウト */

  img {
    width: 50%;
    max-width: 80px;
    margin: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px #ccc);
  }

  h4 {
    color: #fff;
    background-color: var(--main-color);
    padding: 10px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 24px; /* 160% */
  }

  p {
    font-size: 0.75rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 20px;
    flex-grow: 1;
  }
}

.skill-description {
  padding: 20px;
  border: 1px solid var(--main-color);
  border-radius: 0 0 10px 10px;
  flex-grow: 1; /* これで高さが揃う */
}

.sales {
  .skill-card {
    img {
      max-width: inherit;
      width: 90%;
      filter: none;
      aspect-ratio: 4/3;
    }
  }
}

/* こんな方におすすめ */
#recommend {
  padding: 100px 20px;
}

.recommend-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.recommend-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  &::before {
    content: "";
    background-image: url(../img/icn_lightbulb.svg);
    width: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 15/23;
  }
}

.recommend-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.recommend-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  width: calc(50% - 10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 490px;
  flex: 1 1 490px;

  p {
    font-size: 1.25rem;
    font-weight: bold;
  }
}
.recommend-comment {
  display: flex;
  gap: 2rem;
  margin-top: 80px;
}

.comment-balloon {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  filter: drop-shadow(0 5px 5px #eee);
  position: relative;
  align-self: flex-start;
  height: auto;

  &::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
}

.comment-balloon p {
  font-size: 1.25rem;

  .pink {
    font-weight: bold;
  }
}

/* 講師紹介 */
#instructor {
  padding: 100px 20px;
  background-color: #fff;
}

.instructor-inner {
  max-width: 1000px;
  margin: 0 auto;

  h2 {
    display: flex;
    justify-content: center;
  }
}

.instructor-lead {
  font-family: "Noto Serif JP";
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 40px;

  .pink {
    font-size: 1.5em;
    color: var(--secondary-color);
  }

  .br {
    display: inline-block;
  }
}

.instructor-sub {
  line-height: 2;
  margin-top: 20px;
  padding: 0 20px;
}

.instructor-content {
  background-color: #fbf3e8;
  border-radius: 20px;
  padding: 80px;
  margin-top: 80px;
  position: relative;
}
.instructor-message {
  p {
    font-size: 0.9rem;
    line-height: 1.6;

    .orange {
      color: var(--accent-color);
    }

    & + p {
      margin-top: 1em;
    }

    &.instructor-highlight {
      font-size: 1.25rem;
      font-weight: bold;
      margin-top: 40px;
      margin-bottom: 20px;
    }
  }
}

.instructor-image {
  position: absolute;
  right: 100px;
  width: 40%;
}
.instructor-name {
  position: absolute;
  right: 0;
  bottom: -5%;
  z-index: 10;
  width: 40%;
}

.instructor-profile {
  border-radius: 5px;
  padding: 30px;
  background-color: #fff;
  margin-top: 8%;
  z-index: 1;

  h3 {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 10px;
  }

  dl {
    line-height: 2;

    dt {
      font-weight: bold;
    }

    dd {
      & + dt {
        margin-top: 1em;
      }
    }
  }
}

.instructor-handwritten {
  max-width: 450px;
}

/* 料金・特典 */
#price-offer {
  padding: 100px 20px;
  background-color: var(--sub-color);
}

.price-offer-inner {
  margin: 0 auto;
}

.price-offer-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: inline-block;
  max-width: 100%;
}

.price-offer-cta {
  text-align: center;
  margin-top: 50px;
}

.price-offer-cta .btn.large {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
}

.law-table {
  gap: 20px;
  line-height: 2;

  dt {
    font-weight: bold;
  }
}

/* フッター */
footer {
  background-color: var(--text-color);
  color: #fff;
  text-align: center;
  padding: 25px 20px;

  small {
    font-size: 0.75rem;
  }

  ul,
  p {
    padding: 0;
    a {
      color: #fff;
      font-size: 0.8rem;
    }
  }
}
