﻿@charset "UTF-8";

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #edf3f7;
  color: #080808;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* 広い画面では左右に余白を設けます。 */
.lp {
  width: 100%;
  max-width: 1366px;
  margin-inline: auto;
}
.fv { background: #fff; }
.fv__title { margin: 0; }

/* 画像全体を切り取らず、画面幅に合わせて表示します。 */
.fv__image {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホで読みやすく表示するHTMLテキスト。 */
.fv__text {
  max-width: 1000px;
  margin-inline: auto;
  padding: 40px 40px 48px;
}
.fv__title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.4;
  text-align: center;
}
.fv__title > span { display: block; }
.fv__intro { font-size: .65em; margin-bottom: 8px; }
.fv__accent, .fv__points strong { color: #006be8; }
.fv__points {
  display: grid;
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}
.fv__points li { position: relative; padding-left: 42px; }
.fv__points li::before {
  content: "✓";
  position: absolute;
  top: 5px;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: #007bf5;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
}
/* PCは文字なしのFV画像の上に、見本の位置でHTMLを重ねます。 */
@media (min-width: 768px) {
  .fv { position: relative; container-type: inline-size; }
  .fv__text {
    position: absolute;
    inset: 0;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  .fv__title {
    position: absolute;
    top: 7.4cqw;
    left: 7.8cqw;
    font-size: 9.22cqw;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.035em;
    text-align: left;
  }
  .fv__title > .fv__intro {
    position: relative;
    isolation: isolate;
    display: table;
    margin: 0 0 1.6cqw 9.8cqw;
    padding-inline: 1cqw;
    font-size: 4.98cqw;
    letter-spacing: .02em;
  }
  .fv__intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 .2cqw;
    height: 1.7cqw;
    background: #cde7f8;
    transform: skewX(-32deg) rotate(-1deg);
  }
  .fv__intro .fv__accent { margin-right: .2em; background-image: linear-gradient(#6816da, #2484ff); }
  .fv__no { font-size: .78em; }
  .fv__accent {
    color: transparent;
    background: linear-gradient(#0064f7 20%, #00c5eb 90%);
    background-clip: text;
    -webkit-background-clip: text;
  }
  .fv__points {
    position: absolute;
    top: 40.6cqw;
    left: 7.5cqw;
    margin: 0;
    gap: 3.7cqw;
    font-size: 2.34cqw;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -.035em;
    text-shadow: 0 0 5px #fff, 0 0 8px #fff;
  }
  .fv__points li { padding-left: 4.5cqw; }
  .fv__points li::before {
    top: .2cqw;
    width: 3.59cqw;
    height: 3.59cqw;
    font-size: 2.8cqw;
    line-height: 3.59cqw;
    text-shadow: none;
  }
}

@media (max-width: 767px) {
  .fv__pc-break { display: none; }
  .fv__text { padding: 28px 20px 32px; }
  .fv__points { font-size: 18px; gap: 20px; margin-top: 24px; }
  .fv__points li { padding-left: 36px; }
  .fv__points li::before { width: 26px; height: 26px; line-height: 26px; font-size: 19px; }
}

/* LINE案内・動画紹介：既存FVとは独立したスタイル */
.introduction { container-type: inline-size; text-align: center; font-weight: 800; }
.line-intro {
  padding: 7.8cqw 6% 8cqw;
  background: #eff8ff url("img/line-background.jpg") center / cover no-repeat;
}
.line-intro h2 { margin: 0; font-size: 3.8cqw; line-height: 1.5; letter-spacing: -.025em; }
.line-intro h2 span { color: #0076f5; }
.line-intro__lead {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3cqw;
  margin: 6cqw 0 3.5cqw;
  color: #0076f5;
  font-size: 4.3cqw;
  line-height: 1.4;
}
.line-intro__lead::before, .line-intro__lead::after { content: ""; width: 5cqw; height: 2px; background: currentColor; transform: rotate(48deg); }
.line-intro__lead::after { transform: rotate(-48deg); }
.line-cta { display: block; width: 100%; max-width: 1041px; margin-inline: auto; }
.line-intro .line-cta { width: 87%; }
.line-cta img {
  display: block;
  width: 100%;
  height: auto;
  animation: line-button-float 3s ease-in-out infinite;
  /* 素材に含まれる下側の黒い影を、背景になじむよう薄くします。 */
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, rgb(0 0 0 / .35) 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 86%, rgb(0 0 0 / .35) 93%, transparent 100%);
}
@keyframes line-button-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .line-cta img { animation: none; }
}
.line-cta[href] { transition: filter .2s; }
.line-cta[href]:hover { filter: brightness(1.08); }
.line-cta:focus-visible { outline: 4px solid #fff; outline-offset: 5px; border-radius: 100px; }
.video-intro {
  padding: 5.8cqw 7% 8cqw;
  color: #fff;
  background: #0064eb url("img/video-background.jpg") center / 100% 100% no-repeat;
}
.video-intro__heading { display: flex; align-items: center; justify-content: center; gap: 1cqw; margin: 0; font-size: 4cqw; line-height: 1.5; white-space: nowrap; }
.video-intro__laurel { display: block; flex-shrink: 0; width: 4.3cqw; height: auto; object-fit: contain; }
.video-intro__questions { position: relative; margin: 6cqw 0 0; padding-bottom: 1.8cqw; font-size: 4cqw; line-height: 1.85; }
.video-intro__questions::after { content: ""; position: absolute; bottom: 0; left: 32%; width: 36%; border-bottom: .7cqw dotted #003f9e; }
.video-intro__note { margin: 1.7cqw 0; font-size: 2.7cqw; line-height: 1.5; }
.video-intro__description { margin: 0; font-size: 3.4cqw; line-height: 1.4; }
.video-intro__description strong { color: #fff500; }
.video-intro__player { position: relative; width: 100%; margin-top: 5.5cqw; }
.video-intro__player video { display: block; width: 100%; height: auto; }
.video-intro__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(64px, 9vw, 112px); aspect-ratio: 1; padding: 0; border: 3px solid #fff; border-radius: 50%; background: rgb(0 45 105 / 75%); color: #fff; box-shadow: 0 4px 20px rgb(0 0 0 / 30%); cursor: pointer; }
.video-intro__play[hidden] { display: none; }
.video-intro__play svg { width: 52%; height: 52%; }
.video-intro__play:hover { background: #0064eb; }
.video-intro__play:focus-visible { outline: 3px solid #fff500; outline-offset: 5px; }
.video-intro__more { display: flex; justify-content: center; align-items: center; gap: 1.5cqw; margin: 7cqw 0 4.5cqw; color: #fff500; font-size: 4.6cqw; line-height: 1.5; }
.video-intro__more::before, .video-intro__more::after { content: ""; width: 6cqw; height: 2px; background: currentColor; transform: rotate(48deg); }
.video-intro__more::after { transform: rotate(-48deg); }
.video-intro .line-cta { width: 89%; }
@media (max-width: 767px) {
  .line-intro { padding: 34px 16px 36px; }
  .line-intro h2 { max-width: 500px; margin-inline: auto; font-size: 23px; line-height: 1.65; text-wrap: balance; }
  .line-intro__lead { gap: 12px; margin: 26px 0 22px; font-size: 26px; }
  .line-intro .line-cta, .video-intro .line-cta { width: 100%; }
  .video-intro { padding: 32px 16px 38px; background-size: cover; }
  .video-intro__heading { gap: 4px; white-space: normal; font-size: 24px; text-wrap: balance; }
  .video-intro__laurel { width: 24px; }
  .video-intro__questions { margin-top: 28px; padding-bottom: 14px; font-size: clamp(19px, 4.7vw, 30px); line-height: 1.9; }
  .video-intro__questions::after { border-bottom-width: 5px; }
  .video-intro__note { margin: 18px 0; font-size: 17px; }
  .video-intro__description { font-size: 20px; line-height: 1.7; text-wrap: balance; }
  .video-intro__player { margin-top: 28px; }
  .video-intro__more { gap: 8px; margin: 30px 0 22px; font-size: clamp(21px, 5.7vw, 32px); }
}

/* お悩みチェック */
.concerns {
  container-type: inline-size;
  padding: 10.5% 2.8% 9%;
  background: #f2f9ff url("img/concerns-background.jpg") center / 100% 100% no-repeat;
}
.concerns__title {
  margin: 0;
  color: #0078f5;
  font-size: 6.4cqw;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  letter-spacing: -.035em;
}
.concerns__lead {
  margin: 5.6cqw 0 0;
  font-size: 2.8cqw;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
.concerns__list {
  display: grid;
  gap: 3.2cqw;
  margin: 8cqw 3.2% 0;
  padding: 0;
  list-style: none;
}
.concerns__list li {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  min-height: 8.8cqw;
  padding: 2cqw 4.6cqw;
  background: #fff;
  box-shadow: 0 3px 7px rgb(0 0 0 / .12);
  font-size: 2.8cqw;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -.035em;
}
.concerns__list li::before {
  content: "";
  flex: 0 0 3.1cqw;
  height: 3.1cqw;
  border-radius: 50%;
  background: #007bf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='m10 20 6 8 15-16' fill='none' stroke='white' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.concerns__arrow {
  width: 22.5cqw;
  height: 7cqw;
  margin: 5.2cqw auto 3.5cqw;
  background: linear-gradient(#0063eb, #00c8ec);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.concerns__message {
  display: flex;
  align-items: center;
  gap: 2.8cqw;
  padding: 1.5cqw 2.2cqw;
  border: 1px solid #f3e900;
  border-radius: 2.5cqw;
  background: #fffae5;
}
.concerns__message img { display: block; flex-shrink: 0; width: 10cqw; height: auto; }
.concerns__message p { margin: 0; font-size: 3.4cqw; font-weight: 700; line-height: 1.55; letter-spacing: -.035em; }
.concerns__message strong { color: #0078f5; font-weight: inherit; text-decoration: underline; text-decoration-color: #ffe500; text-decoration-thickness: .16em; text-underline-offset: .08em; text-decoration-skip-ink: none; }
@media (max-width: 767px) {
  .concerns { padding: 44px 16px 40px; background-size: cover; }
  .concerns__title { font-size: clamp(27px, 6.8vw, 44px); line-height: 1.5; }
  .concerns__lead { margin-top: 20px; font-size: 16px; line-height: 1.8; text-wrap: balance; }
  .concerns__list { gap: 16px; margin: 28px 0 0; }
  .concerns__list li { gap: 12px; min-height: 76px; padding: 18px 16px; font-size: 17px; line-height: 1.65; letter-spacing: 0; }
  .concerns__list li::before { flex-basis: 25px; height: 25px; }
  .concerns__arrow { width: 110px; height: 35px; margin: 28px auto 24px; }
  .concerns__message { gap: 12px; padding: 20px 14px; border-radius: 18px; align-items: flex-start; }
  .concerns__message img { width: 42px; margin-top: 4px; }
  .concerns__message p { font-size: 18px; line-height: 1.8; letter-spacing: 0; }
}

/* AIの学び方：今回追加するセクションのみ */
.ai-learning { container-type: inline-size; overflow: hidden; background: #0075ed; color: #fff; font-weight: 800; }
.ai-learning__overview { padding: 6.8cqw 6.4cqw 4cqw; }
.ai-learning__title { display: grid; justify-items: start; gap: 2.8cqw; margin: 0; color: #000; font-size: 4.5cqw; line-height: 1.5; font-weight: 900; letter-spacing: -.04em; }
.ai-learning__title span { padding: 3cqw 5.8cqw; background: #fffa00; }
.ai-learning__lead { margin: 7cqw 0 4cqw; text-align: center; font-size: 5.3cqw; line-height: 1.5; }
.ai-learning__terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.5cqw; list-style: none; margin: 0; padding: 0; text-align: center; }
.ai-learning__terms li { min-width: 0; }
.ai-learning__terms img { display: block; width: 16.5cqw; max-width: 100%; height: auto; margin-inline: auto; }
.ai-learning__terms span { display: block; margin-top: 2.4cqw; font-size: 2.5cqw; white-space: nowrap; }
.ai-learning__cloud { position: relative; display: grid; place-items: center; width: 106%; min-height: 46.5cqw; margin: 3.3cqw -3% 0; padding: 7cqw 5cqw; background: url("img/learning-cloud.png") center / 100% 100% no-repeat; color: #080808; text-align: center; }
.ai-learning__cloud p { position: relative; margin: 0; font-size: 3.4cqw; line-height: 1.85; font-weight: 700; }
.ai-learning__cloud strong { color: #0075ed; font-size: 4.3cqw; font-weight: 900; letter-spacing: -.04em; }
.ai-learning__question-marks { position: absolute; inset: 0; pointer-events: none; color: #fff; font-size: 11cqw; line-height: 1; }
.ai-learning__question-marks span { position: absolute; }
.ai-learning__question-marks span:nth-child(1) { left: -6%; top: 5%; transform: rotate(-15deg); }
.ai-learning__question-marks span:nth-child(2) { left: 19%; top: -9%; transform: rotate(10deg); }
.ai-learning__question-marks span:nth-child(3) { right: 9%; top: 3%; }
.ai-learning__question-marks span:nth-child(4) { right: -4%; top: 20%; transform: rotate(12deg); }
.ai-learning__question-marks span:nth-child(5) { left: -4%; bottom: 4%; transform: rotate(-15deg); }
.ai-learning__question-marks span:nth-child(6) { right: 5%; bottom: -4%; transform: rotate(12deg); }
.ai-learning__order { position: relative; display: flex; align-items: center; min-height: 42cqw; background: #eff8ff url("img/learning-background.jpg") center / cover no-repeat; color: #000; }
.ai-learning__teacher { align-self: flex-end; display: block; width: 32%; height: auto; margin-left: 3%; }
.ai-learning__order-copy { flex: 1; padding: 3cqw 5cqw 4cqw 0; text-align: center; }
.ai-learning__order-copy p { margin: 0 0 2.2cqw; font-size: 3.3cqw; line-height: 1.3; font-weight: 900; letter-spacing: -.035em; }
.ai-learning__order-copy h3 { margin: 0 2cqw; padding: 1.5cqw 1cqw; border: .75cqw solid #fffa00; border-radius: 12cqw; font-size: 5cqw; line-height: 1.25; font-weight: 900; }
.ai-learning__order-copy h3 span { display: block; }
.ai-learning__order-copy strong { color: #ff0900; }
.ai-learning__everyone { position: relative; padding: 10cqw 8% 8cqw 12%; }
.ai-learning__everyone h3 { position: relative; margin: 0; font-size: 7.5cqw; line-height: 1.25; letter-spacing: -.025em; font-weight: 900; }
.ai-learning__yellow { color: #fff500; }
.ai-learning__everyone h3 strong { color: #ff0800; }
.ai-learning__small { font-size: .75em; }
.ai-learning__everyone p { margin: 3.5cqw 0 0; font-size: 2.3cqw; line-height: 2; letter-spacing: -.025em; }
.ai-learning__floating-icons { position: absolute; top: 2cqw; right: 5%; width: 38%; height: 25cqw; }
.ai-learning__floating-icons img { position: absolute; display: block; width: 9.5cqw; height: auto; }
.ai-learning__floating-icons img:nth-child(1) { left: 0; top: 3cqw; }
.ai-learning__floating-icons img:nth-child(2) { right: 7cqw; top: 0; }
.ai-learning__floating-icons img:nth-child(3) { left: 12cqw; top: 13cqw; }
.ai-learning__floating-icons img:nth-child(4) { right: 0; top: 16cqw; }
@media (max-width: 767px) {
  .ai-learning__overview { padding: 32px 16px 30px; }
  .ai-learning__title { gap: 12px; font-size: 23px; line-height: 1.6; letter-spacing: -.03em; }
  .ai-learning__title span { padding: 14px 16px; }
  .ai-learning__lead { margin: 30px 0 24px; font-size: 25px; text-wrap: balance; }
  .ai-learning__terms { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .ai-learning__terms img { width: 100px; }
  .ai-learning__terms span { margin-top: 10px; font-size: 16px; }
  .ai-learning__cloud { width: 100%; min-height: 0; margin: 38px 0 0; padding: 32px 20px; background: #fff; border-radius: 42px; }
  .ai-learning__cloud p { font-size: 17px; line-height: 1.9; }
  .ai-learning__cloud strong { display: inline-block; margin-block: 8px; font-size: 22px; line-height: 1.6; }
  .ai-learning__question-marks { font-size: 40px; }
  .ai-learning__question-marks span:nth-child(1) { left: 0; top: -20px; }
  .ai-learning__question-marks span:nth-child(2) { left: 45%; top: -28px; }
  .ai-learning__question-marks span:nth-child(3) { right: 0; top: -20px; }
  .ai-learning__question-marks span:nth-child(n+4) { display: none; }
  .ai-learning__order { display: grid; grid-template-columns: 30% 1fr; padding: 28px 12px 0; }
  .ai-learning__teacher { grid-column: 1; grid-row: 2; width: 135%; margin: 0; z-index: 1; }
  .ai-learning__order-copy { display: contents; }
  .ai-learning__order-copy p { grid-column: 1 / -1; margin: 0 0 20px; font-size: 19px; line-height: 1.6; text-align: center; }
  .ai-learning__order-copy h3 { grid-column: 2; grid-row: 2; z-index: 2; margin: 0 0 24px; padding: 16px 6px; border-width: 4px; border-radius: 38px; font-size: clamp(21px, 5.3vw, 34px); background: rgb(255 255 255 / .8); text-align: center; line-height: 1.45; }
  .ai-learning__everyone { padding: 28px 22px 36px; }
  .ai-learning__floating-icons { position: static; display: flex; justify-content: flex-end; gap: 12px; width: auto; height: auto; margin-bottom: 22px; transform: translateY(14px); }
  .ai-learning__floating-icons img { position: static; width: 48px; }
  .ai-learning__everyone h3 { font-size: clamp(29px, 7.5vw, 48px); line-height: 1.45; }
  .ai-learning__everyone p { margin-top: 22px; font-size: 16px; line-height: 1.9; letter-spacing: 0; }
  .ai-learning__pc-break { display: none; }
}

/* AIとの向き合い方・講師紹介 */
.ai-guide { container-type: inline-size; }
.ai-tool { padding: 7cqw 11% 9cqw; background: #f4faff url("img/ai-tool-background.jpg") center / 100% 100% no-repeat; text-align: center; }
.ai-tool__ribbon { width: 40cqw; margin: 0 auto; padding: .3cqw 3cqw; background: #005bc6; color: #fff; font-size: 4.8cqw; font-weight: 700; line-height: 1.2; clip-path: polygon(0 0,100% 0,95% 50%,100% 100%,0 100%,5% 50%); }
.ai-tool__comparison { display: grid; grid-template-columns: 1fr 7.5cqw 1fr; align-items: center; }
.ai-tool__card { align-self: stretch; padding: 2.6cqw 1cqw 7.5cqw; border: 3px solid #0753bd; border-radius: 3cqw; background: rgb(255 255 255 / .92); }
.ai-tool__cross, .ai-tool__circle { display: grid; place-items: center; width: 10.5cqw; height: 10.5cqw; margin: 0 auto 3.8cqw; color: #0072e6; }
.ai-tool__cross { border: 2px solid #0077f5; border-radius: 50%; background: #daf0ff; font-family: Arial, sans-serif; font-size: 10cqw; font-weight: 400; line-height: 1; }
.ai-tool__circle { border: 1.4cqw solid #006bd9; border-radius: 50%; }
.ai-tool__card p { margin: 0; font-size: 3.3cqw; font-weight: 700; line-height: 1.8; letter-spacing: -.04em; }
.ai-tool__card strong { color: #0081f5; }
.ai-tool__arrow { color: #0068d4; font-size: 6cqw; }
.ai-tool__description { margin: 7cqw -4cqw 6cqw; font-size: 3.3cqw; font-weight: 700; line-height: 1.95; }
.ai-tool__illustration { display: block; width: 100%; height: auto; margin-inline: auto; }
.guide-profile { padding: 8cqw 6.5% 10cqw; background: #e7f2ff url("img/profile-background.jpg") center / 100% 100% no-repeat; }
.guide-profile__header { display: grid; grid-template-columns: 30cqw 1fr; align-items: center; gap: 2cqw; }
.guide-profile__portrait { display: block; width: 100%; height: auto; border-radius: 50%; }
.guide-profile__heading { text-align: center; }
.guide-profile__heading h3 { margin: 0; font-size: 5.6cqw; font-weight: 900; letter-spacing: -.045em; line-height: 1.2; }
.guide-profile__main { display: block; font-size: 7cqw; }
.guide-profile__main > span, .guide-profile__blue { color: #007af5; }
.guide-profile__blue { display: block; white-space: nowrap; }
.guide-profile__tagline { margin: 1.6cqw 0 2cqw; font-size: 3.3cqw; font-weight: 700; }
.guide-profile__name { display: flex; align-items: center; justify-content: center; gap: 2.5cqw; margin: 0; font-size: 5.8cqw; font-weight: 900; line-height: 1.3; }
.guide-profile__name::before, .guide-profile__name::after { content: ""; height: 2px; flex: 1; background: #111; }
.guide-profile__english { margin: .6cqw 0 0; font-size: 2cqw; font-weight: 700; letter-spacing: .3em; }
.guide-profile__message { margin-top: 4.5cqw; font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif; text-align: center; font-size: 3cqw; font-weight: 500; line-height: 1.75; }
.guide-profile__message p { margin: 0; }
.guide-profile__message p + p { margin-top: 5cqw; }
@media (max-width: 767px) {
  .ai-tool { padding: 32px 16px 36px; }
  .ai-tool__ribbon { width: 210px; padding: 6px 20px; font-size: 27px; }
  .ai-tool__comparison { grid-template-columns: 1fr 24px 1fr; }
  .ai-tool__card { padding: 18px 6px 24px; border-width: 2px; border-radius: 16px; }
  .ai-tool__cross, .ai-tool__circle { width: 54px; height: 54px; margin-bottom: 20px; }
  .ai-tool__cross { font-size: 52px; }
  .ai-tool__circle { border-width: 8px; }
  .ai-tool__arrow { font-size: 28px; }
  .ai-tool__card p { font-size: clamp(14px, 3.7vw, 23px); line-height: 1.9; }
  .ai-tool__description { margin: 28px 0; font-size: 17px; line-height: 1.9; text-wrap: balance; }
  .ai-tool__illustration { width: 100%; }
  .guide-profile { padding: 42px 9% 50px; }
  .guide-profile__header { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .guide-profile__portrait { width: 150px; }
  .guide-profile__heading { width: 100%; }
  .guide-profile__heading h3 { font-size: clamp(24px, 6.3vw, 40px); }
  .guide-profile__main { font-size: 38px; }
  .guide-profile__tagline { margin: 14px 0 18px; font-size: 16px; }
  .guide-profile__name { gap: 14px; font-size: 32px; }
  .guide-profile__english { margin-top: 5px; font-size: 12px; }
  .guide-profile__message { margin-top: 28px; font-size: 17px; line-height: 2; text-align: left; overflow-wrap: anywhere; }
  .guide-profile__message br { display: none; }
  .guide-profile__message p + p { margin-top: 28px; }
}

/* 学習環境・おすすめの方 */
.support-audience { container-type: inline-size; background: #063093 url("img/recommended-background.jpg") center bottom / 100% auto no-repeat; }
.learning-support { position: relative; padding: 5.5cqw 3% 6cqw; background: #0075ed; color: #fff; text-align: center; }
.learning-support::after { content: ""; position: absolute; top: calc(100% - 1px); left: 0; width: 100%; height: 9cqw; background: #0075ed; clip-path: polygon(0 0,100% 0,50% 100%); }
.learning-support h2 { margin: 0; font-size: 6.4cqw; line-height: 1.35; font-weight: 900; letter-spacing: -.035em; }
.learning-support h2 strong, .learning-support__intro strong { color: #fff700; }
.learning-support h2 > span { font-size: .7em; }
.learning-support__intro { margin: 3.3cqw 0 2.5cqw; font-size: 2.7cqw; font-weight: 700; line-height: 1.5; }
.learning-support__cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5cqw; margin: 0; padding: 0; list-style: none; text-align: left; }
.support-card { padding: 1.5cqw 1.7cqw 1.8cqw; background: #fff; color: #080808; }
.support-card__header { display: grid; grid-template-columns: 10.5cqw 5.3cqw minmax(0,1fr); gap: 1.2cqw; align-items: center; color: #0075ed; }
.support-card__header img { display: block; width: 9.5cqw; height: 7.6cqw; object-fit: contain; }
.support-card__number { font-size: 4.3cqw; font-weight: 900; line-height: 1; }
.support-card__number small { display: block; margin-bottom: .25cqw; font-size: 1.1cqw; letter-spacing: .2em; }
.support-card__header h3 { margin: 1.5cqw 0 0; padding-bottom: .4cqw; border-bottom: .3cqw solid #0075ed; font-size: 2.5cqw; font-weight: 900; line-height: 1.3; letter-spacing: -.04em; }
.support-card__header h3.support-card__long-title { font-size: 2.1cqw; }
.support-card > p { margin: 1.2cqw 0 0 4.5cqw; font-size: 2.05cqw; line-height: 2.1; font-weight: 700; letter-spacing: -.025em; }
.support-card > p.support-card__note { margin-top: .6cqw; font-size: 1.23cqw; line-height: 1.6; color: #0075ed; }
.recommended { padding: 11cqw 7.6% 4cqw; color: #fff; text-align: center; }
.recommended h2 { margin: 0 0 3cqw; font-size: 6.7cqw; font-weight: 900; line-height: 1.4; letter-spacing: -.04em; }
.recommended h2 strong, .recommended__message strong { color: #fff500; }
.recommended__list { display: grid; gap: 4cqw; margin: 0; padding: 5cqw 6cqw 6cqw; list-style: none; background: rgb(255 255 255 / .74); color: #000; text-align: left; }
.recommended__list li { display: flex; align-items: flex-start; gap: 1.8cqw; font-size: 3.55cqw; font-weight: 900; line-height: 1.3; letter-spacing: -.03em; }
.recommended__list li::before { content: ""; flex: 0 0 3.6cqw; height: 3.6cqw; margin-top: .35cqw; border-radius: 50%; background: #007bf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='m10 20 6 8 15-16' fill='none' stroke='white' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.recommended__pill { width: fit-content; max-width: 100%; margin: 4.8cqw auto 3.4cqw; padding: 1.5cqw 6.3cqw; border-radius: 100px; background: #0075ed; font-size: 3.6cqw; font-weight: 900; line-height: 1.5; }
.recommended__message { margin: 0; font-size: 3.65cqw; font-weight: 900; line-height: 1.65; }
.recommended__message strong { font-size: 6.3cqw; }
@media (max-width: 767px) {
  .support-audience { background-size: auto 60%; }
  .learning-support { padding: 36px 16px 32px; }
  .learning-support::after { height: 32px; }
  .learning-support h2 { font-size: clamp(25px, 6.7vw, 44px); line-height: 1.5; }
  .learning-support__intro { margin: 24px 0; font-size: 17px; line-height: 1.85; text-wrap: balance; }
  .learning-support__pc-break { display: none; }
  .learning-support__cards { grid-template-columns: 1fr; gap: 16px; }
  .support-card { padding: 20px 16px; }
  .support-card__header { grid-template-columns: 54px 36px minmax(0,1fr); gap: 8px; }
  .support-card__header img { width: 54px; height: 54px; }
  .support-card__number { font-size: 30px; }
  .support-card__number small { margin-bottom: 3px; font-size: 9px; letter-spacing: .08em; }
  .support-card__header h3 { margin-top: 10px; padding-bottom: 5px; border-bottom-width: 2px; font-size: 20px; line-height: 1.4; }
  .support-card__header h3.support-card__long-title { font-size: 18px; }
  .support-card > p { margin: 18px 0 0; font-size: 17px; line-height: 1.9; letter-spacing: 0; }
  .support-card > p br { display: none; }
  .support-card > p.support-card__note { margin-top: 12px; font-size: 13px; }
  .recommended { padding: 62px 16px 36px; }
  .recommended h2 { margin-bottom: 24px; font-size: clamp(25px, 6.2vw, 42px); line-height: 1.5; text-wrap: balance; }
  .recommended__list { gap: 23px; padding: 26px 18px; }
  .recommended__list li { gap: 12px; font-size: 18px; line-height: 1.65; letter-spacing: 0; }
  .recommended__list li::before { flex-basis: 26px; height: 26px; margin-top: 3px; }
  .recommended__pill { margin: 28px auto 24px; padding: 14px 18px; font-size: 19px; }
  .recommended__message { font-size: 20px; line-height: 1.9; }
  .recommended__message strong { font-size: clamp(29px, 7.7vw, 44px); }
}

/* LINEへのご案内 */
.line-invitation { container-type: inline-size; padding: 10.5% 7% 5.5%; background: #fff url("img/learning-background.jpg") center / cover no-repeat; text-align: center; font-weight: 900; }
.line-invitation h2 { margin: 0; font-size: 5cqw; line-height: 1.55; letter-spacing: -.035em; }
.line-invitation__intro { margin: 5cqw 0 0; font-size: 4.2cqw; line-height: 1.5; letter-spacing: -.04em; }
.line-invitation__arrow { width: 24cqw; height: 7.5cqw; margin: 6.5cqw auto 4.5cqw; background: linear-gradient(#ffc928, #ff3500); clip-path: polygon(0 0,100% 0,50% 100%); }
.line-invitation__message { margin: 0; font-size: 4.7cqw; line-height: 1.7; letter-spacing: -.05em; }
.line-invitation__message strong { color: #ff0800; }
.line-invitation__lead { display: flex; justify-content: center; align-items: center; gap: 2cqw; margin: 6.5cqw 0 3.5cqw; color: #ff0800; font-size: 4.7cqw; line-height: 1.5; }
.line-invitation__lead::before, .line-invitation__lead::after { content: ""; width: 6cqw; height: 2px; background: currentColor; transform: rotate(48deg); }
.line-invitation__lead::after { transform: rotate(-48deg); }
.line-invitation .line-cta { width: 89%; }
@media (max-width: 767px) {
  .line-invitation { padding: 40px 18px 32px; }
  .line-invitation h2 { font-size: clamp(22px, 5.4vw, 34px); line-height: 1.7; text-wrap: balance; }
  .line-invitation__intro { margin-top: 26px; font-size: 20px; line-height: 1.8; text-wrap: balance; }
  .line-invitation__arrow { width: 110px; height: 34px; margin: 28px auto; }
  .line-invitation__message { font-size: 23px; line-height: 1.8; letter-spacing: -.03em; text-wrap: balance; }
  .line-invitation__message br { display: none; }
  .line-invitation__lead { gap: 10px; margin: 30px 0 22px; font-size: 25px; }
  .line-invitation .line-cta { width: 100%; }
}

/* よくあるご質問：回答は常時表示 */
.faq { container-type: inline-size; padding: 9.5% 10.5% 13%; background: #eef8ff url("img/faq-background.jpg") center / 100% 100% no-repeat; }
.faq h2 { margin: 0 0 4.5cqw; color: #0075ed; font-size: 8cqw; font-weight: 900; line-height: 1.4; text-align: center; }
.faq__list { display: grid; gap: 3.5cqw; margin: 0; }
.faq__item { padding: 2.5cqw 3.5cqw; background: #fff; box-shadow: 0 3px 7px rgb(0 0 0 / .12); }
.faq__item dt, .faq__item dd { position: relative; padding-left: 9cqw; font-size: 2.7cqw; font-weight: 700; line-height: 1.45; }
.faq__item dt { display: flex; align-items: center; min-height: 8.5cqw; padding-bottom: 1.7cqw; border-bottom: 2px solid #0086ff; color: #0081f5; }
.faq__item dd { min-height: 12cqw; margin: 1cqw 0 0; padding-top: 1.5cqw; }
.faq__item dt::before, .faq__item dd::before { position: absolute; top: 0; left: .5cqw; display: grid; place-items: center; width: 6.8cqw; height: 6.8cqw; border-radius: 50%; color: #fff; font-family: Arial, sans-serif; font-size: 4.2cqw; font-weight: 400; }
.faq__item dt::before { content: ""; background: url("img/q.png") center / contain no-repeat; }
.faq__item dd::before { content: ""; background: url("img/an.png") center / contain no-repeat; }

/* 最後のメッセージ */
.closing { container-type: inline-size; }
.closing__hero { position: relative; isolation: isolate; overflow: hidden; padding: 9cqw 5% 6.5cqw; background: #eef7ff url("img/learning-background.jpg") center / cover no-repeat; }
.closing__hero-copy { position: relative; z-index: 1; text-shadow: 0 0 12px #fff, 0 0 20px #fff; }
.closing__hero h2 { margin: 0; color: #0075ed; font-size: 6.8cqw; font-weight: 900; line-height: 1.3; letter-spacing: -.045em; }
.closing__reassurance { margin: 2.4cqw 0 0; font-size: 5.4cqw; font-weight: 900; line-height: 1.4; letter-spacing: -.035em; }
.closing__start { margin: 3.5cqw 0 0 2cqw; font-size: 3.2cqw; font-weight: 900; line-height: 1.35; }
.closing__portrait { position: absolute; right: 0; bottom: 0; width: 37%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%); }
.closing__body { padding: 7cqw 9% 7.5cqw; background: #0062dd url("img/closing-background.jpg") center / cover no-repeat; }
.closing__panel { position: relative; padding: 6.5cqw 3.5cqw 5cqw; background: rgb(220 239 255 / .76); text-align: center; }
.closing__arrow { position: absolute; width: 19cqw; height: 6.5cqw; top: -3cqw; left: 50%; transform: translateX(-50%); background: linear-gradient(#0075ed,#00bdeb); clip-path: polygon(0 0,100% 0,50% 100%); }
.closing__panel h3 { margin: 0; font-size: 4.7cqw; font-weight: 900; line-height: 1.85; letter-spacing: -.035em; }
.closing__panel h3 strong { color: #ff0800; }
.closing__panel > p { margin: 5cqw 0 0; font-size: 3.5cqw; font-weight: 700; line-height: 1.5; }
.closing__panel > p.closing__lead { display: flex; justify-content: center; align-items: center; gap: 1.3cqw; margin: 6.5cqw 0 2.5cqw; color: #0056b3; font-size: 4.3cqw; font-weight: 900; letter-spacing: -.035em; }
.closing__lead::before, .closing__lead::after { content: ""; width: 4cqw; height: 2px; background: currentColor; transform: rotate(48deg); flex-shrink: 0; }
.closing__lead::after { transform: rotate(-48deg); }
@media (max-width: 767px) {
  .faq { padding: 38px 22px 46px; }
  .faq h2 { font-size: 32px; margin-bottom: 26px; }
  .faq__list { gap: 20px; }
  .faq__item { padding: 18px 14px; }
  .faq__item dt, .faq__item dd { padding-left: 43px; font-size: 17px; line-height: 1.75; }
  .faq__item dt { min-height: 50px; padding-bottom: 12px; }
  .faq__item dd { min-height: 0; margin-top: 12px; padding-top: 0; }
  .faq__item dd br { display: none; }
  .faq__item dt::before, .faq__item dd::before { left: 0; width: 33px; height: 33px; font-size: 23px; }
  .closing__hero { display: flex; flex-direction: column; padding: 32px 20px 0; }
  .closing__hero h2 { font-size: clamp(26px,6.6vw,44px); line-height: 1.5; }
  .closing__reassurance { margin-top: 20px; font-size: clamp(23px,5.6vw,36px); line-height: 1.6; }
  .closing__start { margin: 20px 0 0; font-size: 17px; line-height: 1.8; }
  .closing__portrait { position: relative; align-self: flex-end; width: 55%; height: auto; margin-top: 16px; mask-image: none; -webkit-mask-image: none; border-radius: 16px 16px 0 0; }
  .closing__body { padding: 32px 16px; }
  .closing__panel { padding: 34px 14px 26px; }
  .closing__arrow { top: -16px; width: 96px; height: 32px; }
  .closing__panel h3 { font-size: 24px; line-height: 1.8; text-wrap: balance; }
  .closing__panel > p { margin-top: 28px; font-size: 19px; line-height: 1.8; text-wrap: balance; }
  .closing__panel > p br { display: none; }
  .closing__panel > p.closing__lead { gap: 5px; margin: 30px 0 20px; font-size: 22px; line-height: 1.5; }
}

/* 元デザインを維持した微調整：背景・見出し・配色・装飾は変更しない */
@media (min-width: 768px) {
  .concerns__lead,
  .ai-learning__cloud p,
  .ai-learning__order-copy p,
  .ai-tool__description,
  .guide-profile__tagline,
  .guide-profile__message,
  .learning-support__intro,
  .faq__item dt,
  .faq__item dd {
    font-size: clamp(18px, 2.3vw, 30px);
    line-height: 1.8;
  }
}
@media (max-width: 767px) {
  .concerns__lead,
  .ai-learning__cloud p,
  .ai-learning__everyone p,
  .ai-tool__description,
  .guide-profile__tagline,
  .guide-profile__message,
  .learning-support__intro,
  .support-card > p:not(.support-card__note),
  .faq__item dt,
  .faq__item dd {
    font-size: 17px;
    line-height: 1.85;
  }
}

/* スマホ専用：PCの配置・背景・ボタン画像はそのまま */
.line-cta__mobile { display: none; }
@media (max-width: 767px) {
  .lp { width: 100%; }
  .lp img { max-width: 100%; }
  .lp :is(h1,h2,h3,p,li,dt,dd) { overflow-wrap: break-word; }
  .lp :is(.support-card__header,.guide-profile__heading,.ai-learning__order-copy) { min-width: 0; }

  /* 写真の左側にキャッチコピーを重ね、説明は写真の下に配置 */
  .fv { position: relative; display: flex; flex-direction: column; background: #f5faff; }
  .fv__text { display: contents; }
  .fv__title { position: absolute; z-index: 1; top: 13.5vw; left: 3.5%; width: 65%; margin: 0; padding: 0; font-size: 9.9vw; line-height: 1.35; text-align: left; letter-spacing: -.05em; text-shadow: none; }
  .fv__title > .fv__intro { position: relative; isolation: isolate; display: table; margin: 0 0 3.5vw 7vw; padding-inline: 1vw; font-size: .72em; line-height: 1.15; letter-spacing: .02em; }
  .fv__intro::before { content: ""; position: absolute; z-index: -1; inset: auto 0 -.1vw; height: 2.8vw; background: #cde7f8; transform: skewX(-32deg) rotate(-1deg); }
  .fv__intro .fv__accent { margin-right: .3em; color: transparent; background: linear-gradient(#6816da,#2484ff); background-clip: text; -webkit-background-clip: text; }
  .fv__title > .fv__accent { margin: 2vw 0 0 4vw; color: transparent; background: linear-gradient(#0064f7 20%,#00c5eb 90%); background-clip: text; -webkit-background-clip: text; }
  .fv__image { width: 100%; height: 69vw; object-fit: cover; object-position: 60% center; }
  .fv__points { margin: 0; padding: 20px 20px 24px; background: #dceeff; font-size: 17px; line-height: 1.9; gap: 24px; }
  .fv__points li { padding-left: 36px; }
  .fv__phrase { display: inline-block; }
  .fv__points .fv__meaning-break { display: inline; }
  .fv__closing-line { display: block; }

  /* 画像内の文字を縮小せず、同じオレンジ系のボタンをHTMLで表示 */
  .lp .line-cta { width: 100%; max-width: 540px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .line-cta > img { display: none; }
  .line-cta__mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 76px;
    padding: 12px 16px;
    border: 1px solid #ffc949;
    border-bottom-color: #ec6a13;
    border-radius: 48px;
    background: linear-gradient(#ffb51b,#ff6405 70%,#ff5100);
    box-shadow: 0 4px 8px rgb(60 39 10 / .16), inset 0 2px 0 rgb(255 255 255 / .25);
    color: #fff;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    animation: line-button-float 3s ease-in-out infinite;
  }
  .line-cta__icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 11px; background: #06c755; color: #fff; font-family: Arial,sans-serif; font-size: 14px; font-weight: 800; }
  .line-cta__arrow { flex-shrink: 0; font-size: 16px; }
  .line-cta:focus-visible { outline: 3px solid #0056b3; outline-offset: 5px; }
  .video-intro__heading { gap: 8px; }
  .video-intro__heading > span { min-width: 0; }
  .video-intro__player { width: 100%; }
  .video-intro__player video { width: 100%; max-width: 100%; height: auto; }
  .line-intro__lead,.line-invitation__lead { font-size: clamp(22px,5.8vw,30px); gap: 8px; }
  .video-intro__more,.closing__panel > p.closing__lead { text-wrap: balance; }

  .ai-learning__title { font-size: clamp(22px,5.8vw,30px); }
  .ai-learning__order-copy h3 { font-size: clamp(21px,5.3vw,32px); }
  .ai-learning__order { overflow: hidden; }
  .ai-tool__card p { font-size: 16px; line-height: 1.8; }
  .guide-profile__blue { white-space: normal; text-wrap: balance; }
  .guide-profile__message { line-height: 1.95; }
  .guide-profile__message br.mobile-paragraph-break { display: block; }
  .support-card__header { grid-template-columns: 48px 36px minmax(0,1fr); }
  .support-card__header img { width: 48px; height: 48px; }
  .support-card__header h3 { font-size: 19px; }
  .support-card__header h3.support-card__long-title { font-size: 17px; }
  .faq { padding-inline: 16px; }
  .faq__item { padding-inline: 14px; }
  .faq__item dt,.faq__item dd { padding-left: 42px; line-height: 1.8; }
  .closing__hero h2 { font-size: clamp(25px,6.4vw,38px); }
  .closing__portrait { width: 62%; max-width: 300px; object-fit: contain; }
  .closing__panel { padding-inline: 12px; }
  .closing__panel h3 { font-size: clamp(22px,5.8vw,28px); }
  .closing__lead::before,.closing__lead::after { width: 16px; }
}
@media (max-width: 374px) {
  .ai-tool__comparison { grid-template-columns: 1fr; gap: 12px; }
  .ai-tool__arrow { display: block; transform: rotate(90deg); line-height: 1; }
  .ai-tool__card { padding: 20px 16px; }
  .ai-tool__card p { font-size: 17px; }
  .line-cta__mobile { gap: 7px; padding-inline: 10px; font-size: 16px; }
  .line-cta__icon { flex-basis: 36px; height: 40px; font-size: 12px; }
  .line-cta__arrow { font-size: 13px; }
  .concerns__message { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .line-cta__mobile { animation: none; }
}

/* 最後の人物メッセージはスマホでもPCと同じ横並び */
@media (max-width: 767px) {
  .closing__hero { display: block; padding: 9cqw 5% 6.5cqw; }
  .closing__hero-copy { text-shadow: 0 0 4px #fff, 0 0 7px #fff; }
  .closing__hero h2 { font-size: 6.8cqw; line-height: 1.3; }
  .closing__reassurance { margin: 2.4cqw 0 0; font-size: 5.4cqw; line-height: 1.4; }
  .closing__start { margin: 3.5cqw 0 0 2cqw; font-size: 3.2cqw; line-height: 1.35; }
  .closing__portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 37%;
    max-width: none;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
    mask-image: linear-gradient(to right, transparent, #000 22%);
  }
}
