@charset "UTF-8";
/*------------------
googleフォント指定
-------------------*/
@import url("https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@100;400;700;800&family=Lexend:wght@100..900&display=swap");
/*------------------
color設定
-------------------*/
/*------------------
break point
-------------------*/
/*------------------
スマホ倍率
-------------------*/
/*------------------
header固定時の高さ指定　PC SP ※header fix時に使用
-------------------*/
html {
  scroll-padding-top: 80px;
}
@media screen and (max-width: 767px) {
  html {
    scroll-padding-top: 60px;
  }
}

#container {
  width: 100%;
  height: 768px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/*------------------
よく使う横幅
-------------------*/
/*------------------
coming soon時　※jsの変更も必要
-------------------*/
/*------------------
html , body
-------------------*/
html {
  scroll-behavior: smooth;
}

html, body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  color: #646464;
}

/*------------------------------
 reset
------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  box-sizing: border-box;
  /*vertical-align: baseline;*/
  /*background: transparent;*/
}

body {
  line-height: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

article, aside, details, figcaption, figure,
main, footer, header, hgroup, menu, nav, section {
  display: block;
}

ul, li {
  list-style: none;
}

input, button, textarea {
  margin: 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

input, button, textarea, select, optgroup, option {
  z-index: auto;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

/*@purpose To enable resizing for IE */
/*@branch For IE6-Win, IE7-Win */
input, button, textarea, select {
  *font-size: 100%;
}

pre, code, kbd, samp, tt {
  font-family: monospace;
  *font-size: 108%;
  line-height: 100%;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th {
  text-align: left;
}

fieldset {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var, optgroup {
  z-index: auto;
  font-style: inherit;
  font-weight: inherit;
}

del {
  text-decoration: none;
  text-decoration: line-through;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

abbr, acronym {
  border: 0;
  font-variant: normal;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

sup, sub {
  vertical-align: baseline;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

a {
  margin: 0;
  padding: 0;
  outline: none;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

img {
  border: 0px;
  color: #fff;
  background: transparent;
  vertical-align: top;
}

a {
  color: #a86a34;
}

img {
  width: 100%;
}

br.brsp {
  display: none;
}
@media screen and (max-width: 767px) {
  br.brsp {
    display: block;
  }
}

br.brpc {
  display: block;
}
@media screen and (max-width: 767px) {
  br.brpc {
    display: none;
  }
}

#app {
  height: 768px;
  position: relative;
  overflow-y: hidden;
}

.c-flex {
  display: flex;
  flex-wrap: wrap;
}

.c-flex__sb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.c-flex__rev {
  flex-direction: row-reverse;
}

.c-flex__ae {
  align-items: flex-end;
}

.c-flex__sa {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.c-inner {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 767px) {
  .c-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.c-inner__l {
  max-width: 1130px;
  width: 100%;
  margin: 0 auto;
  margin: 0 auto;
  position: relative;
}

.c-inner__s {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  margin: 0 auto;
  position: relative;
}

.c-inner__xs {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  margin: 0 auto;
  position: relative;
}

body {
  color: #0c0c0c;
}

main {
  margin-top: 80px;
  margin: 0;
  padding: 0;
  position: relative;
}

/*------------------
セクション共通の見出し（Figma「LP新案v2 2026-07」準拠）
-------------------*/
.c-section-label {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 26px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 14px;
  color: #a86a34;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .c-section-label {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 11px;
    line-height: 18px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 7px;
  }
}

.c-section-title {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 62px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 26px;
  color: #2a2320;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .c-section-title {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 31px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 13px;
  }
}

.c-section-catch {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 34px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 46px;
  color: #2a2320;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .c-section-catch {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 24px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 23px;
  }
}

/*------------------
footer
-------------------*/
.l-footer {
  padding: 48px 0;
  background: #fff;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .l-footer {
    padding: 24px 0;
  }
}

.l-footer__title {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 30px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #2a2320;
}
@media screen and (max-width: 767px) {
  .l-footer__title {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 21px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.l-footer__lead {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .l-footer__lead {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 9px;
    line-height: 14px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/*------------------
スクショ注釈（開発中の画面である旨）
-------------------*/
.c-shot__note {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .c-shot__note {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 8px;
    line-height: 13px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/*==================================================
  LP（Figma「LP 社会」準拠）
  色・サイズ・行間は Figma の実値をそのまま使う。
==================================================*/
/*------------------
セクション共通の上下余白
Figmaは各セクション高さ固定だが、Webでは中身に合わせて伸びる想定。
-------------------*/
.p-problem,
.p-lesson,
.p-daily,
.p-forget,
.p-report,
.p-line,
.p-exam,
.p-cta,
.p-series {
  padding: 100px 0;
}
@media screen and (max-width: 767px) {
  .p-problem,
  .p-lesson,
  .p-daily,
  .p-forget,
  .p-report,
  .p-line,
  .p-exam,
  .p-cta,
  .p-series {
    padding: 50px 0;
  }
}

/*------------------
帯（白と薄いベージュを交互にして区切りを出す）
-------------------*/
.p-hero,
.p-lesson,
.p-forget,
.p-line,
.p-cta {
  background: #f8f5f1;
}

.p-problem,
.p-daily,
.p-report,
.p-exam,
.p-series {
  background: #fff;
}

/*------------------
hero
背景の資料コラージュを全面に敷き、テキストは左に重ねる。
-------------------*/
/* 背景の資料コラージュは画像側で左を背景色にぼかしてあるので、
   左端を基準に敷いて左カラムの可読域を確保する。
   SPも縦積みにせず背景のまま（コラージュはcoverで切れても成立する絵）。
   SPはcropで画像側のフェードが画面外に出るため、CSSのグラデを重ねて可読域を作る */
.p-hero {
  padding: 165px 0;
  background-image: url("../img/hero.webp");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  background-color: #f8f5f1;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .p-hero {
    padding: 82.5px 0;
    /* 左はテキスト用に完全に背景色、絵は右端に寄せてはっきり見せる */
    background-image: linear-gradient(90deg, rgb(248, 245, 241) 0%, rgb(248, 245, 241) 60%, rgba(248, 245, 241, 0.82) 90%, rgba(248, 245, 241, 0.12) 100%), url("../img/hero.webp");
    background-position: -150px top;
  }
}

.p-hero__content {
  max-width: 560px;
}
@media screen and (max-width: 767px) {
  .p-hero__content {
    max-width: none;
  }
}

/* heroのラベルは中央寄せの c-section-label を継承しつつ、
   左カラム内で頭を揃えたいので inline-block にして幅を内容ぶんに縮める */
.p-hero .c-section-label {
  margin-bottom: 14px;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .p-hero .c-section-label {
    margin-bottom: 7px;
  }
}

.p-hero__logo {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 62px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 24px;
  color: #2a2320;
}
@media screen and (max-width: 767px) {
  .p-hero__logo {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 25px;
    line-height: 34px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 12px;
  }
}

.p-hero__lead {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 30px;
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-hero__lead {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 22px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 15px;
  }
}

.p-hero__lead strong {
  color: #a86a34;
}
.p-hero__shoulder {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #a86a34;
}
@media screen and (max-width: 767px) {
  .p-hero__shoulder {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 17px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-hero__cta {
  margin-bottom: 15px;
}
@media screen and (max-width: 767px) {
  .p-hero__cta {
    margin-bottom: 7px;
  }
}

.p-hero__cta img {
  width: 170px;
  height: auto;
  display: block;
}
@media screen and (max-width: 767px) {
  .p-hero__cta img {
    width: 140px;
  }
}

.p-hero__note {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-hero__note {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 9px;
    line-height: 14px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/* アプリ公開までの開発中表示。バッジは押せない見た目に落とす */
.p-hero__cta.is-dev img,
.p-cta__btn.is-dev img {
  opacity: 0.4;
}

.p-hero__devnote {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 19px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 15px;
  color: #a86a34;
}
@media screen and (max-width: 767px) {
  .p-hero__devnote {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 8px;
    line-height: 13px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 7px;
  }
}

.p-cta__devnote {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 19px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 40px;
  color: #a86a34;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-cta__devnote {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 8px;
    line-height: 13px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 20px;
  }
}

/*------------------
セクション見出しのキーワード色
-------------------*/
.p-problem .c-section-title strong,
.p-lesson .c-section-title strong,
.p-daily .c-section-title strong,
.p-forget .c-section-title strong,
.p-report .c-section-title strong,
.p-line .c-section-title strong,
.p-exam .c-section-title strong,
.p-cta .c-section-title strong,
.p-series .c-section-title strong {
  color: #a86a34;
}

/*------------------
p-lesson 一話の4ボード
-------------------*/
.p-lesson__boards {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  width: 100%;
  align-items: stretch;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .p-lesson__boards {
    display: block;
    margin-bottom: 10px;
  }
}

.p-lesson__board {
  width: 24%;
  padding: 22px 24px;
  background: #f3f0ec;
  border-radius: 20px;
}
@media screen and (max-width: 767px) {
  .p-lesson__board {
    width: 100%;
    padding: 11px 12px;
    margin-bottom: 10px;
  }
}

.p-lesson__board--key {
  background: #a86a34;
}

.p-lesson__board-label {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: #a86a34;
  color: #fff;
  border-radius: 50px;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .p-lesson__board-label {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 8px;
    line-height: 11px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 6px;
    padding: 2px 6px;
  }
}

.p-lesson__board--key .p-lesson__board-label {
  background: #fff;
  color: #a86a34;
}

.p-lesson__board-title {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 26px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 12px;
  color: #2a2320;
}
@media screen and (max-width: 767px) {
  .p-lesson__board-title {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 11px;
    line-height: 18px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 6px;
  }
}

.p-lesson__board--key .p-lesson__board-title {
  color: #fff;
}

.p-lesson__board-text {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 21px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-lesson__board-text {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 9px;
    line-height: 15px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-lesson__board--key .p-lesson__board-text {
  color: #fff;
}

.p-lesson__note {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-lesson__note {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 9px;
    line-height: 15px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/*------------------
p-daily 3ステップ
-------------------*/
.p-daily__steps {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  width: 100%;
  align-items: stretch;
}
@media screen and (max-width: 767px) {
  .p-daily__steps {
    display: block;
  }
}

.p-daily__step {
  width: 32%;
  padding: 28px;
  background: #f3f0ec;
  border-radius: 20px;
}
@media screen and (max-width: 767px) {
  .p-daily__step {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
  }
}

.p-daily__step-label {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #a86a34;
}
@media screen and (max-width: 767px) {
  .p-daily__step-label {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 9px;
    line-height: 14px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-daily__step-title {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 29px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #2a2320;
}
@media screen and (max-width: 767px) {
  .p-daily__step-title {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 13px;
    line-height: 20px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-daily__step-text {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-daily__step-text {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 18px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/*------------------
p-report 端末モック3台
-------------------*/
.p-report__mocks {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .p-report__mocks {
    display: block;
    margin-bottom: 10px;
  }
}

.p-report__mock {
  width: 30.4761904762%;
}
@media screen and (max-width: 767px) {
  .p-report__mock {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
}

/* Figmaの端末モック（黒ベゼル＋ノッチ）を再現する */
.p-report__mock-img {
  margin-bottom: 16px;
  padding: 8px;
  background: #0f0f12;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .p-report__mock-img {
    margin-bottom: 8px;
    padding: 4px;
    border-radius: 24px;
  }
}

.p-report__mock-img::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #0f0f12;
  border-radius: 9px;
}
@media screen and (max-width: 767px) {
  .p-report__mock-img::after {
    top: 8px;
    width: 56px;
    height: 12px;
  }
}

.p-report__mock-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 27px;
}
@media screen and (max-width: 767px) {
  .p-report__mock-img img {
    border-radius: 20px;
  }
}

.p-report__mock-cap {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-report__mock-cap {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 9px;
    line-height: 14px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/*------------------
p-line LINEのトーク画面
-------------------*/
.p-line__columns {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  width: 100%;
  align-items: flex-start;
}
@media screen and (max-width: 767px) {
  .p-line__columns {
    display: block;
  }
}

.p-line__talk-col {
  width: 36.1904761905%;
}
@media screen and (max-width: 767px) {
  .p-line__talk-col {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* LINEのトークを端末フレームごと再現する（Figma準拠：黒ベゼル＋ノッチ） */
.p-line__talk {
  margin-bottom: 14px;
  background: #8ba9bd;
  border: 9px solid #0f0f12;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .p-line__talk {
    margin-bottom: 7px;
    border-width: 6px;
    border-radius: 28px;
  }
}

.p-line__talk::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 16px;
  background: #0f0f12;
  border-radius: 8px;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .p-line__talk::before {
    top: 4px;
    width: 52px;
    height: 11px;
  }
}

.p-line__talk-head {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 14px;
  padding: 32px 14px 10px;
  background: #f2f2f4;
  color: #2a2320;
}
@media screen and (max-width: 767px) {
  .p-line__talk-head {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 8px;
    line-height: 13px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 7px;
    padding: 16px 7px 5px;
  }
}

.p-line__talk-avatar {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  background: #a86a34;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}
@media screen and (max-width: 767px) {
  .p-line__talk-avatar {
    width: 18px;
    height: 18px;
    margin-right: 4px;
  }
}

.p-line__talk-time {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin: 0 16px 16px;
  color: #fff;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .p-line__talk-time {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 7px;
    line-height: 11px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin: 0 8px 8px;
  }
}

.p-line__bubble {
  margin: 0 14px 10px;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
}
@media screen and (max-width: 767px) {
  .p-line__bubble {
    margin: 0 7px 5px;
    padding: 7px;
  }
}

.p-line__bubble-title {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 20px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 5px;
  color: #2a2320;
}
@media screen and (max-width: 767px) {
  .p-line__bubble-title {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 9px;
    line-height: 14px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

.p-line__bubble-date {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  padding-bottom: 10px;
  color: #7a6f66;
  border-bottom: 1px solid #e8e1d9;
}
@media screen and (max-width: 767px) {
  .p-line__bubble-date {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 7px;
    line-height: 11px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-line__bubble-text {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 19px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-line__bubble-text {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 8px;
    line-height: 13px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-line__bubble-stats {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 18px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  padding-bottom: 10px;
  color: #a86a34;
  border-bottom: 1px solid #e8e1d9;
}
@media screen and (max-width: 767px) {
  .p-line__bubble-stats {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 8px;
    line-height: 13px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-line__bubble-hint-title {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 16px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 5px;
  color: #a86a34;
}
@media screen and (max-width: 767px) {
  .p-line__bubble-hint-title {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 7px;
    line-height: 11px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

.p-line__bubble-hint {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 19px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-line__bubble-hint {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 8px;
    line-height: 13px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

.p-line__cards {
  width: 59.0476190476%;
}
@media screen and (max-width: 767px) {
  .p-line__cards {
    width: 100%;
  }
}

.p-line__card {
  padding: 24px 28px;
  margin-bottom: 20px;
  background: #f3f0ec;
  border-radius: 20px;
}
@media screen and (max-width: 767px) {
  .p-line__card {
    padding: 12px 14px;
    margin-bottom: 10px;
  }
}

.p-line__card-title {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 28px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #2a2320;
}
@media screen and (max-width: 767px) {
  .p-line__card-title {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 13px;
    line-height: 20px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-line__card-text {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-line__card-text {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 18px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/*------------------
p-cta
-------------------*/
.p-cta__shoulder {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 10px;
  color: #a86a34;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-cta__shoulder {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 17px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 5px;
  }
}

.p-cta__btn {
  margin-bottom: 10px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-cta__btn {
    margin-bottom: 5px;
  }
}

.p-cta__btn img {
  width: 170px;
  height: auto;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .p-cta__btn img {
    width: 140px;
  }
}

.p-cta__price {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 44px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 15px;
  color: #2a2320;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-cta__price {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 31px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 7px;
  }
}

.p-cta__price b {
  font-family: "Lexend", sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 44px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin: 0 4px;
  color: #a86a34;
}
@media screen and (max-width: 767px) {
  .p-cta__price b {
    font-family: "Lexend", sans-serif;
    font-weight: 800;
    font-size: 31px;
    line-height: 31px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

.p-cta__note {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-cta__note {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 17px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}

/*------------------
p-series 5教科
-------------------*/
.p-series__list {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  width: 100%;
  align-items: stretch;
  margin-bottom: 25px;
}
@media screen and (max-width: 767px) {
  .p-series__list {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 12.5px;
  }
}

.p-series__item {
  width: 18.4761904762%;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid #e8e1d9;
  border-radius: 20px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-series__item {
    width: 30%;
    padding: 14px 8px;
    margin: 0 1.5% 10px;
  }
}

.p-series__item.is-active {
  background: #f3f0ec;
  border-color: #f3f0ec;
}

.p-series__dot {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  .p-series__dot {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }
}

.p-series__item--eng .p-series__dot {
  background: #8ed630;
}

.p-series__item--shakai .p-series__dot {
  background: #c08a52;
}

.p-series__item--rika .p-series__dot {
  background: #5cc5e8;
}

.p-series__item--sugaku .p-series__dot {
  background: #9b8ee8;
}

.p-series__item--kokugo .p-series__dot {
  background: #f2777d;
}

.p-series__name {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 28px;
  --leading-trim: calc((1em - 1lh) / 2);
  margin-bottom: 12px;
  color: #7a6f66;
}
@media screen and (max-width: 767px) {
  .p-series__name {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 800;
    font-size: 13px;
    line-height: 20px;
    --leading-trim: calc((1em - 1lh) / 2);
    margin-bottom: 6px;
  }
}

.p-series__item.is-active .p-series__name {
  color: #2a2320;
}

.p-series__badge {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  --leading-trim: calc((1em - 1lh) / 2);
  padding: 4px 12px;
  background: #f8f5f1;
  color: #7a6f66;
  border-radius: 50px;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .p-series__badge {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 8px;
    line-height: 11px;
    --leading-trim: calc((1em - 1lh) / 2);
    padding: 2px 6px;
  }
}

.p-series__item.is-active .p-series__badge {
  background: #a86a34;
  color: #fff;
}

.p-series__note {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  --leading-trim: calc((1em - 1lh) / 2);
  color: #7a6f66;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-series__note {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-size: 9px;
    line-height: 14px;
    --leading-trim: calc((1em - 1lh) / 2);
  }
}
