@charset "utf-8";

html {
  scroll-padding-top: 220px;
}

@media (width <= 767px) {
  html {
    scroll-padding-top: 176px;
  }
}

.winSP #wrapper {
  overflow: clip;
}

#dokugaku_kashikin_lp {
  background-color: var(--color-white);
  font-size: var(--fz-16);
  line-height: 1.6;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

/*
  貸金独学道場 LP（#dokugaku_kashikin_lp）セクション順（index.blade.php 準拠）
  kv → anchor_links → about → feature（early_campaign は Blade ではコメントアウトのため CSS から除去済み）
  → course → support → voice → flow → notes → price → faq → licences
  このコメントより上は歴史的経緯で、LP 本体より先に並ぶ共通・レガシー宣言。
*/

/*----------------------------------------------
	CSS 変数
---------------------------------------------*/

  --color-main: #1a2f5c;
  --color-link: #2a6be3;

  --color-black: #323232;
  --color-white: #ffffff;
  --color-gray: #b5b5b5;
  --color-light_gray: #f8f8f8;
  --color-red: #cc111a;
  --color-course01: #f19220;
  --color-light-course01: #fff8ea;
  --color-dokugaku: #142f5c;
  --color-pink: #fff;
  --color-yellow: #fff100;

  --fz-40: 40px;
  --fz-30: 30px;
  --fz-22: 22px;
  --fz-18: 18px;
  --fz-16: 16px;
  --fz-14: 14px;
  --fz-12: 12px;
  --fz-10: 10px;

  @media (width <= 1024px) {
    --fz-40: 26px;
    --fz-30: 22px;
    --fz-22: 18px;
    --fz-18: 16px;
    --fz-16: 14px;
    --fz-14: 14px;
    --fz-12: 12px;
    --fz-10: 10px;
  }


/*----------------------------------------------
	要素タグ直接（スコープ）
---------------------------------------------*/
hgroup {
  font-feature-settings: "palt";
}

h2,
h2 span,
h3,
h3 span {
  font-weight: bold !important;
}

ul,
ol {
  list-style: none;
}

sup {
  vertical-align: super;
  font-size: 50%;
}

img,
iframe {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

table {
  table-layout: fixed;
  border-collapse: collapse;
}

/*----------------------------------------------
	レイアウトヘルパー
---------------------------------------------*/
.l_section {
  margin: 40px 0;
}

.l_container {
  margin-right: auto;
  margin-left: auto;
  max-width: 1024px;
}

.l_wrap {
  max-width: 1024px;
  margin-inline: auto;
}

.l_wrap.has_wide {
  max-width: 1200px;
}

:where(.l_grid) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 20px;
}

:where(.l_grid.has_auto) {
  grid-template-columns: repeat(2, auto);
}

:where(.l_grid.has_col-3) {
  grid-template-columns: repeat(3, 1fr);
}

:where(.l_grid.has_auto.has_col-3) {
  grid-template-columns: repeat(3, auto);
}

:where(.l_flex) {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
}

:where(.l_flex)>* {
  width: calc((100% - 20px) / 2);
}

:where(.l_flex.has_col-3)>* {
  width: calc((100% - 20px * 2) / 3);
}

@media (width <= 1024px) {

  .l_wrap {
    max-width: 768px;
    margin-inline: auto;
  }

  .l_section {
    margin: 20px 0;
  }

}

/*----------------------------------------------
	ベース
---------------------------------------------*/

.course_materials .course_materials_inner {
  background: #fff;
  padding: 2%;
  border: thin solid #e9e9e9;
}

.course_materials dt {
  text-align: center;
  padding: 5px;
  background: #e9e9e9;
}

.course_materials dd {
  padding: 2% 2% 0;
}

.course_materials dd li {
  margin-bottom: 5px;
}

.course_materials dd p {
  text-align: center;
  margin-top: 50px;
  position: relative;
}

.course_materials dd p:before {
  position: absolute;
  display: inline-block;
  content: "\3009";
  font-size: 100px;
  font-weight: lighter;
  top: -70px;
  left: 50%;
  -webkit-transform: translateX(-50%) rotate(90deg) scale(1, 1.5);
  transform: translateX(-50%) rotate(90deg) scale(1, 1.5);
  color: #e9e9e9;
}

.course_materials_inner dt {
  position: relative;
}

.course_materials_inner dt:after {
  position: absolute;
  content: "\25BC";
  color: #aaa;
  top: 50%;
  right: 2%;
  -webkit-transform: translateY(-50%) scale(1.5, 1);
  transform: translateY(-50%) scale(1.5, 1);
}

.course_materials_inner dt.open:after {
  content: "\25B2";
  -webkit-transform: translateY(-50%) scale(1.5, 1);
  transform: translateY(-50%) scale(1.5, 1);
}

/* basic
------------------------------------- */
ul.list {
  padding-left: 2px;
}

ul.list li {
  padding-left: 1em;
  font-size: var(--fz-12);
  line-height: 1.4;
  text-indent: -1em;
}

ul.list li:before {
  content: '・';
}

ul.list+p {
  margin-top: 0;
}

p+ul.list {
  margin-top: -2px;
}

ul.tag_list {
  display: inline-flex;
  flex-flow: row wrap;
}

ul.tag_list>li {
  padding: 4px;
  border-radius: 4px;
  background-color: #ccc;
  color: var(--color-white);
  font-size: var(--fz-14);
  font-weight: bold;
  line-height: 1.2;
}

a:hover img {
  opacity: 0.7;
}

.rounded_container.is_course01 {
  --container-color: var(--color-course01);
}

.rounded_container+.rounded_container {
  margin-top: 40px;
}

.rounded_container>.header {
  padding-block: 10px;
  border-radius: 20px 20px 0 0;
  background-color: var(--container-color);
  color: var(--color-white);
  text-align: center;
}

.rounded_container>.header h3 {
  margin-top: 4px;
}

.rounded_container>.contents {
  border: 3px solid var(--container-color);
  border-top: none;
  border-radius: 0 0 20px 20px;
  background-color: #fff;
}

@media (width <= 1024px) {

  .rounded_container>.header {
    padding: 16px 40px 16px 16px;
    text-align: left;
  }

}

/*----------------------------------------------
	セクション
---------------------------------------------*/

/* kv
------------------------------------- */
#kv {
  padding-block: 28px 32px;
  background: linear-gradient(180deg, #EDEDED 0%, #FFFFFF 100%);
}

#kv>.l_wrap>.l_grid {
  column-gap: 46px;
  align-items: center;
}

#kv>.l_wrap>.l_grid>.cell:nth-of-type(1) {
  width: 278px;
}


#kv .header {
  margin-bottom: 16px;
}

@media (width <= 1024px) {

  #kv {
    padding: 20px 16px 16px;
  }

  #kv>.l_wrap>.l_grid {
    grid-template-columns: 1fr;
  }

  #kv>.l_wrap>.l_grid>.cell:nth-of-type(1) {
    display: none;
  }

  #kv .c_button {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2px;
    padding: 4px;
    font-size: var(--fz-12);
  }

  #kv .c_button:after {
    width: 16px;
    height: 16px;
  }

}

/* #anchor_links
------------------------------------- */
.p_anchor_links {
  position: sticky;
  top: 185px;
  z-index: 998;
  padding-block: 7px;
  border-top: 1px solid #D9D7DB;
  border-bottom: 1px solid #D9D7DB;
  background: #F8F8F8;
}

.p_anchor_links__list {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-evenly;
  column-gap: 24px;
  width: 1024px;
  margin-inline: auto;
}

.p_anchor_links__item {
  line-height: 1.2;
}

.p_anchor_links__item::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background: url('../images/gyosho-icon-link.svg') no-repeat center;
  vertical-align: middle;
}

.p_anchor_links__link {
  color: var(--color-black);
  font-size: 14px;
  font-weight: bold;
}

@media (width <= 1280px) {
  .p_anchor_links {
    top: 190px;
  }
}

@media (width <= 1065px) {
  .p_anchor_links {
    position: static;
  }
}

@media (width <= 1024px) {
  .p_anchor_links {
    padding: 8px 16px;
  }

  .p_anchor_links__list {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: auto;
  }

  .p_anchor_links__link {
    font-size: 12px;
  }
}

@media (width <= 767px) {
  .p_anchor_links {
    position: sticky;
    top: 103px;
    z-index: 999;
  }
}


/* about
------------------------------------- */
#about {
  padding-block: 80px;
}

#about hgroup {
  padding-bottom: 2em;
}

#about hgroup h2 {
  margin-bottom: 8px;
}

#about .contents {
  text-align: center;
}

#about .contents img {
  max-width: 810px;
  margin-inline: auto;
  margin-block: 40px;
}

#about .contents p+p {
  margin-top: 20px;
}

/* Project: about セクション内のコース誘導 CTA（template-html: p_ / l_） */
#about .p_about-course-cta {
  margin-block-start: 40px;
  max-width: 400px;
  margin-inline: auto;
}

#about .p_about-course-cta__item {
  display: flex;
  justify-content: center;
}

@media (width <= 1024px) {

  #about {
    padding-block: 40px;
    padding-inline: 16px;
  }

  #about .contents {
    text-align: justify;
  }

  #about .contents img {
    margin-block: 20px;
  }

  #about .contents__annotation {
    text-align: left;
  }

}


/* feature
------------------------------------- */
#feature {
  background-color: var(--color-light_gray);
  padding-block: 80px;
}

#feature hgroup {
  padding-bottom: 40px;
}

#feature .l_flex {
  column-gap: 32px;
}

#feature .l_flex .cell {
  width: calc((100% - 32px * 2) / 3);
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
}

#feature .catchy {
  padding: 8px;
  background-color: var(--color-course01);
  color: var(--color-white);
  text-align: center;
}

#feature .contents {
  text-align: justify;
}

/* feature - moreover（質問メール） */
#feature .moreover {
  margin-top: 32px;
  padding: 36px 28px;
  border: 2px solid #b9dcff;
  border-radius: 16px;
  background: #f6fbff;
}

#feature .moreover .moreover_title {
  margin: 0;
  font-size: var(--fz-30);
  line-height: 1.35;
  text-align: center;
  color: #163a70;
  position: relative;
}

#feature .moreover .moreover_title > span {
  display: block;
  font-size: 80%;
}

#feature .moreover .text_box {
  max-width: 980px;
  margin: 16px auto 0;
}

#feature .moreover .img_box {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  width: 60%;
  margin-inline: auto;
}

#feature .moreover .img_box>li img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
}

@media (width <= 1024px) {

  #feature {
    padding-block: 40px;
    padding-inline: 16px;
  }

  #feature hgroup {
    padding-bottom: 20px;
  }

  #feature .l_flex .cell {
    width: 100%;
  }

}

@media (width <= 767px) {
  #feature .moreover {
    padding: 28px 20px;
  }

  #feature .moreover .img_box {
    width: 100%;
    gap: 12px;
  }
}


/* course
------------------------------------- */

/* コースタイトル */
.p_course-heading {
  padding-block: 20px;
  padding-inline: 60px;
  border-radius: 20px 20px 0 0;
  position: relative;
  line-height: 1.4;
}

/* .p_course-heading::before {
  content: "";
  width: 100px;
  height: 100px;
  position: absolute;
  top: 50%;
  left: calc(50% - 400px);
  transform: translateY(-50%);
} */

.p_course-heading::after {
  content: "";
  width: 200px;
  height: 200px;
  position: absolute;
  bottom: 0;
  right: calc(50% - 440px);
}

.p_course-heading.is_course01 {
  background: #ffeac0;
  border-bottom: 20px solid #f4d464;
}

.p_course-heading.is_course01::after {
  background: url(../images/img_course01_heading01.png) no-repeat center bottom / contain;
}

.p_course-heading__lead {
  font-size: 20px;
  font-weight: bold;
}

.p_course-heading__title {
  font-size: 40px;
  > span {
    font-size: 50%;
  }
}

.p_course-heading img {
  width: 180px;
  height: 200px;
  position: absolute;
  bottom: 0;
  left: 20px;
}

@media (width <= 1024px) {
  .p_course-heading {
    padding-block: 9px;
    padding-inline: 16px 60px;
  }

  .p_course-heading::before {
    width: 60px;
    height: 60px;
    left: 10px;
  }

  .p_course-heading::after {
    width: 100px;
    height: 100px;
    right: 10px;
  }

  .p_course-heading__lead {
    font-size: min(20px, 3.6vw);
  }

  .p_course-heading__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: min(40px, 5.6vw);
  }

  .p_course-heading img {
    left: 0;
    width: min(21vw, 140px);
    height: auto;
  }
}

/* 商品ページへのボタン */
.p_course-book-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 80%;
  margin-inline: auto;
}

@media (width <= 1024px) {
  .p_course-book-cta {
    flex-direction: column;
  }
}

/* 講師プロフィール */
.p_course-lecturer {
  font-size: var(--fz-16);
  line-height: 1.4;
  text-align: justify;
}

.p_course-lecturer:after {
  content: '';
  display: block;
  height: 1px;
  margin-top: -1px;
  clear: both;
}

.p_course-lecturer__photo {
  width: 105px;
  margin-bottom: 17px;
  margin-right: 17px;
  float: left;
}

.p_course-lecturer__role {
  font-size: var(--fz-12);
}

.p_course-lecturer__message {
  margin-top: 0.4em;
}

@media (width <= 1024px) {
  .p_course-lecturer {
    display: grid;
    grid-template-columns: 90px auto;
    grid-template-rows: 3fr 4fr auto;
    column-gap: 12px;
    row-gap: 4px;
  }

  .p_course-lecturer__photo {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 90px;
    float: none;
    margin-right: 0;
  }

  .p_course-lecturer__lead {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: self-end;
  }

  .p_course-lecturer__name {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: self-start;
  }

  .p_course-lecturer__message {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    margin-top: -14px;
  }
}

/* Project: Web講義体験（体験ボタン・注記・関連リンク） */
.p_course-web-taiken {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p_course-web-taiken__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid #d4e4c4;
  background-color: #f0f8e8;
}

.p_course-web-taiken__list {
  display: flex;
  justify-content: center;
  font-size: var(--fz-14);
  gap: 20px;
}

.p_course-web-taiken__link {
  line-height: 1.4;
}

@media (width <= 1024px) {
  .p_course-web-taiken__list {
    flex-direction: column;
    gap: 8px;
  }
}

/* 移植元: public/statics/dokugaku/gyousho/style2025_12.css（#gyousho .movie_box 系） */
.p_movie-box {
  margin-bottom: 40px;
  text-align: center;
}

.p_movie-box__title {
  display: inline;
  font-size: var(--fz-22);
  font-weight: bold;
  text-decoration-color: #ffdf9e;
  text-decoration-line: underline;
  text-decoration-thickness: 0.4em;
  text-underline-offset: -0.3em;
  text-decoration-skip-ink: none;
}

.p_movie-box__title.is_blue {
  text-decoration-color: #badcff;
}

.p_movie-box__text {
  margin-top: 0.8em;
}

.p_movie-box__embed {
  width: 60%;
  aspect-ratio: 16 / 9;
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
}

.p_movie-box__embed iframe {
  width: 100%;
  height: 100%;
}

/* Project: フルパック＋アプリ訴求 */
.p_fp-app-promo__title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  margin-bottom: 50px;
  padding: 10px 1%;
  background: #ff577c;
  color: #fff;
  font-size: var(--fz-22);
}

.p_fp-app-promo__title::after {
  content: '';
  position: absolute;
  bottom: calc(38px / 2 * -1);
  background: #ff577c;
  height: calc(40px / 2);
  width: 40px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  display: block;
}

.p_fp-app-promo__title span {
  font-size: 46px;
}

.p_fp-app-promo__figure {
  margin: 0;
}

@media (width <= 1024px) {
  .p_fp-app-promo__title {
    margin-bottom: 20px;
  }
}

/* 以下は未整理 */
#course {
  padding-block-start: 80px;
  padding-block-end: 0;
}

#course>hgroup {
  padding-bottom: 40px;
}

#course .course_details.is_course01 {
  --details-main-color: var(--color-course01);
  --details-sub-color: var(--color-light-course01);
}

#course .course_details {
  padding-block: 80px;
  background-color: var(--details-sub-color);
}

#course .course_details>.l_wrap {
  border-radius: 20px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

#course .course_details>.l_wrap>.contents {
  padding: 40px 60px;
  border-radius: 0 0 20px 20px;
  background-color: #fff;
}

#course .course_details>.l_wrap>.contents>.acc_cts>.header p {
  margin-bottom: 40px;
}

#course .l_grid.plus_layout {
  margin-bottom: 40px;
}

#course .l_grid.plus_layout .cell {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
  padding: 28px;
  height: 100%;
  border: 1px solid var(--details-main-color);
  background-color: var(--details-sub-color);
  border-radius: 12px;
}

#course .l_grid.plus_layout .cell:first-child {
  position: relative;
}

#course .l_grid.plus_layout .cell:first-child:after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: var(--details-main-color);
  border-radius: 100%;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.4;
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-25%, -50%);
  z-index: 99;
}

#course .l_grid.plus_layout .header {
  text-align: center;
}

#course .schedules {
  padding: 12px;
  border: 1px solid var(--color-red);
  border-radius: 12px;
  background-color: #fff;
  font-size: var(--fz-14);
  text-align: center;
  line-height: 1.4;
}

#course .schedules a {
  display: block;
  font-size: var(--fz-16);
  font-weight: bold !important;
  line-height: 1.2;
}

#course .schedules p {
  font-weight: bold !important;
}

#course .curriculum {
  padding: 40px 10px;
  color: var(--details-main-color);
  border-top: 2px solid var(--details-main-color);
  text-align: center;
  font-size: var(--fz-40);
  font-weight: bold;
}

#course .curriculum+.l_grid {
  margin-bottom: 20px;
}

#course .curriculum+.l_grid>.cell {
  align-content: center;
  padding: 20px;
  height: 100%;
  background-color: var(--color-light_gray);
  border-radius: 12px;
}

#course .curriculum+.l_grid>.cell .l_grid {
  grid-template-columns: 96px auto;
  gap: 25px;
  font-size: var(--fz-12);
  line-height: 1.4;
}

#course .curriculum+.l_grid>.cell .l_grid .tag_list li {
  background-color: var(--details-main-color);
}

#course .curriculum+.l_grid>.cell .l_grid p {
  margin-top: 4px;
  text-align: justify;
}

#course .rounded_container>.header {
  padding: 8px 20px;
  text-align: left;
}

#course .rounded_container>.header h5 {
  display: inline-block;
}

#course .rounded_container>.header .rounded_square {
  margin-left: 20px;
  padding: 4px 10px;
  font-size: var(--fz-14);
  font-weight: bold;
  line-height: 1.2;
  vertical-align: text-top;
  font-feature-settings: unset;
}

#course .rounded_container>.contents {
  display: flex;
  flex-flow: column nowrap;
  gap: 8px;
  padding: 8px;
  border: none;
  background-color: var(--color-light_gray);
}

#course .rounded_container>.contents>.l_grid {
  grid-template-columns: auto 1fr;
  gap: 40px;
  justify-items: stretch;
  padding: 20px;
  border-radius: 12px;
  text-align: justify;
}

#course .rounded_container>.contents>.l_grid .inner {
  min-width: unset !important;
  padding: 0 !important;
}

#course .rounded_container>.contents .footer {
  padding: 12px;
  background: none;
}

@media (width <= 1024px) {

  #course {
    padding-block-start: 40px;
  }

  #course>hgroup {
    padding-block-end: 20px;
  }

  #course .course_details {
    padding-block: 20px;
    padding-inline: 16px;
  }

  #course .course_details>.l_wrap>.contents {
    padding: 20px 16px 20px;
  }

  #course .course_details>.l_wrap>.contents>.acc_cts>.header p {
    margin-bottom: 20px;
  }

  #course .course_details>.l_wrap>.contents>.acc_cts>.header p:not(.u_text-center) {
    text-align: justify;
  }

  .p_movie-box__embed {
    width: 100%;
  }

  #course .curriculum {
    padding-block: 20px;
  }

  #course .curriculum+.l_grid {
    grid-template-columns: 1fr;
  }

  #course .curriculum+.l_grid>.cell {
    padding: 13px 16px;
  }

  #course .rounded_container>.header {
    text-align: center;
  }

  #course .rounded_container>.header h5 {
    display: block;
    text-align: center;
  }

  #course .rounded_container>.header .rounded_square {
    display: inline-block;
    margin: 8px auto 0;
  }

  #course .rounded_container>.contents>.l_grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 16px;
  }

  #course .l_grid.plus_layout {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  #course .l_grid.plus_layout .cell {
    padding: 20px 16px;
  }

  #course .l_grid.plus_layout .cell:first-child:after {
    top: 100%;
    left: 50%;
    transform: translate(-50%, -25%);
  }

}

/* support（index の DOM: .l_wrap > hgroup + .rounded_container.support のみ）
------------------------------------- */
#support {
  padding-block: 80px;
}

#support>.l_wrap>hgroup {
  padding-bottom: 40px;
}

#support .rounded_container.support {
  padding: 28px 36px;
  border: 2px solid var(--color-dokugaku);
  border-radius: 20px;
}

#support .rounded_container.support p,
#support .rounded_container.support ul {
  text-align: justify;
}

@media (width <= 1024px) {

  #support {
    padding-block: 40px;
    padding-inline: 16px;
  }

  #support .rounded_container.support {
    padding: 20px 16px;
  }

}


/* voice
------------------------------------- */
#voice {
  padding-block: 80px;
  background-color: var(--color-light_gray);
}

#voice hgroup {
  padding-bottom: 40px;
}

#voice hgroup+.contents>.l_grid {
  margin-bottom: 40px;
}

#voice .l_grid {
  align-items: self-start;
}

#voice .success_advice {
  max-width: 1024px;
  padding: 0 2%;
}

#voice .success_advice dl {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(29, 55, 107, 0.06);
}

#voice .success_advice + .success_advice {
  margin-top: 20px;
}

#voice .success_advice dt {
  flex: 0 0 140px;
  width: 140px;
  margin: 0;
  padding: 0 20px 0 0;
}

#voice .success_advice dt span {
  display: block;
}

#voice .success_advice dt img {
  width: 100%;
  max-width: 120px;
  height: auto;
  vertical-align: top;
}

#voice .success_advice dd {
  flex: 1 1 0;
  margin: 0;
  min-width: 0;
}

@media (width <= 1024px) {

  #voice {
    padding-block: 40px;
    padding-inline: 16px;
  }

  #voice hgroup {
    padding-bottom: 20px;
  }

  #voice hgroup+.contents>.l_grid {
    grid-template-columns: 1fr;
  }

  #voice .success_advice dl {
    flex-direction: column;
  }

  #voice .success_advice dt {
    width: 100%;
    padding: 0 0 16px;
    text-align: center;
  }

}


/* flow
------------------------------------- */
#flow {
  padding-block: 0;
  background-color: #f1f1f1;
}

#flow h2 {
  padding: 16px;
  background-color: var(--color-dokugaku);
  color: var(--color-white);
  font-size: var(--fz-30);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}

#flow .l_wrap {
  padding-block: 40px;
}

/* 移植元: public/statics/dokugaku/gyousho/style2025_12.css (#gyousho #flow .flow_list ほか) */
.p_flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p_flow-list__item {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  padding: 16px;
  height: 100%;
  border: 1px solid var(--color-course01);
  font-size: var(--fz-12);
  line-height: 1.4;
}

.p_flow-list__contents {
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
}

.p_flow-list__title {
  margin: 0;
  padding: 8px;
  background-color: var(--color-course01);
  color: #fff;
  text-align: center;
  font-size: var(--fz-18);
  font-weight: bold;
  line-height: 1.4;
  font-feature-settings: "palt";
}

.p_flow-list__catch {
  margin: 0;
  font-size: var(--fz-12);
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-course01);
}

.p_flow-list__options {
  display: flex;
  flex-flow: column nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p_flow-list__options-item {
  padding: 6px;
  border: 1px solid var(--color-course01);
  background-color: #fff;
  color: var(--color-course01);
  font-size: var(--fz-12);
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.p_flow-list__options-emphasis {
  font-size: var(--fz-14);
  font-weight: normal;
  line-height: 1.5;
}

.p_flow-list__notes {
  padding: 0.8em;
  border: 1px solid var(--color-course01);
  text-align: justify;
}

.p_flow-list__notes > li {
  font-size: var(--fz-12);
}

.p_flow-list__footer {
  margin-top: 12px;
  height: 122px;
}

.p_flow-list__footer img {
  display: block;
  max-width: 100%;
  height: 100%;
  margin-inline: auto;
  object-fit: contain;
}

/* 移植元: public/statics/dokugaku/gyousho/style2025_12.css (#gyousho #flow .expiration) */
.p_flow-deadline {
  margin-top: 40px;
  text-align: center;
}

.p_flow-deadline__label {
  font-size: var(--fz-22);
  font-weight: bold;
}

.p_flow-deadline__date {
  font-size: var(--fz-40);
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-red);
}

@media (width <= 1024px) {

  #flow {
    padding: 0;
  }

  #flow>.l_wrap {
    padding: 20px 16px;
  }

  .p_flow-list {
    grid-template-columns: 1fr;
  }

  .p_flow-list__footer img {
    max-height: 100%;
    width: auto;
  }

  .p_flow-deadline {
    margin-top: 20px;
  }

  .p_flow-deadline__label,
  .p_flow-deadline__date {
    display: block;
  }
}

/* notes
------------------------------------- */
#notes {
  padding-block: 0;
}

#notes h2 {
  padding: 16px;
  background-color: var(--color-dokugaku);
  color: var(--color-white);
  font-size: var(--fz-30);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}

#notes .l_wrap {
  padding-bottom: 40px;
}

@media (width <= 1024px) {

  #notes {
    padding: 0;
  }

  #notes .l_wrap {
    padding: 20px 16px;
  }

}

/* price
------------------------------------- */
#price {
  padding-bottom: 40px;
  background-color: white;
}

#price h2 {
  padding: 16px;
  background-color: var(--color-dokugaku);
  color: var(--color-white);
  font-size: var(--fz-30);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  font-feature-settings: "palt";
}

@media (width <= 1024px) {

  #price {
    padding: 0;
  }

  #price .l_wrap {
    padding: 20px 16px;
  }
}

/* faq
------------------------------------- */
#faq {
  padding-block: 0;
  background-color: var(--color-light_gray);
}

#faq h2 {
  padding: 16px;
  background-color: var(--color-dokugaku);
  color: var(--color-white);
  font-size: var(--fz-30);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}

#faq .l_wrap {
  padding-block: 40px;
}

#faq .faq>li {
  border-radius: 16px;
  border: 1px solid #EAEAEA;
  background-color: var(--color-white);
  overflow: hidden;
}

#faq .faq>li+li {
  margin-top: 8px;
}

#faq .faq .faq_q {
  display: grid;
  grid-template-columns: 30px 1fr 86px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 28px 16px;
  text-align: justify;
  text-align-last: left;
  cursor: pointer;
}

#faq .faq .faq_q:before {
  content: 'Q.';
  font-size: var(--fz-22);
  font-weight: bold;
  color: var(--color-dokugaku);
}

#faq .faq .faq_q:after {
  content: '見る＋';
  display: grid;
  justify-content: center;
  margin-left: 3px;
  padding: 5px 8px;
  border-radius: 50px;
  background-color: var(--color-dokugaku);
  color: var(--color-white);
  font-size: var(--fz-16);
  font-weight: bold;
  line-height: 1.2;
}

#faq .faq>li.open .faq_q:after {
  content: '閉じるー';
}

#faq .faq .faq_a {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-height: 0;
  margin-inline: 28px;
  text-align: justify;
  text-align-last: left;
  position: relative;
}

#faq .faq .faq_a:before {
  align-self: self-start;
  content: 'A.';
  padding-top: 20px;
  font-size: var(--fz-22);
  font-weight: bold;
  color: var(--color-dokugaku);
  line-height: 1;
}

#faq .faq .faq_a:after {
  content: '';
  display: block;
  height: 1px;
  background-color: #D9D7DB;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

#faq .faq .faq_a .inner {
  min-width: unset;
  padding-top: 20px;
  padding-bottom: 28px;
  padding-inline: 0 !important;
}

@media (width <= 1024px) {

  #faq {
    padding: 0;
  }

  #faq .l_wrap {
    padding: 20px 16px;
  }

  #faq .faq .faq_q {
    padding: 16px;
  }

  #faq .faq .faq_a {
    margin-inline: 16px;
  }

  #faq .faq .faq_a .inner {
    padding-block: 16px;
  }

}


/* licences
------------------------------------- */
#licences {
  padding-block: 80px;
  background-color: var(--color-light_gray);
}

#licences .l_wrap {
  max-width: 1024px;
  margin-inline: auto;
}

@media (width <= 1024px) {
  #licences {
    padding-block: 40px;
    padding-inline: 16px;
  }
}

/*----------------------------------------------
	コンポーネント
---------------------------------------------*/

/* ボタン
------------------------------------- */
.c_button {
  display: inline-flex;
  gap: 0.4em;
  align-items: center;
  justify-content: center;
  padding: 0.8em;
  border-radius: 4px;
  font-size: var(--fz-18);
  font-weight: bold;
  color: var(--color-white);
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
  font-feature-settings: "palt";
}

a.c_button:link,
a.c_button:visited,
a.c_button:hover,
a.c_button:active {
  color: var(--color-white);
  text-decoration: none;
}

.c_button:hover {
  filter: brightness(1.1) drop-shadow(0 3px 2px rgb(0 0 0 / 0.3));
}

.c_button.is_course01 {
  background-color: var(--color-course01);
}

.c_button:after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url('../images/gyosho-icon-arrow_down.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.c_button.is_book,
.c_button.is_youtube {
  padding: 8px;
  font-size: var(--fz-14);
  font-weight: bold;
  line-height: 1.2;
}

.c_button.is_book:before,
.c_button.is_youtube:before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: bottom;
}

.c_button.is_book:after,
.c_button.is_youtube:after {
  display: none;
}

.c_button.is_book:before {
  background-image: url('../images/gyosho-icon-book.svg');
}

.c_button.is_youtube:before {
  background-image: url('../images/gyosho-icon-youtube.svg');
}

.c_button.is_full {
  width: 100%;
}

/* キャンペーン価格表など */
.c_button.is_cta {
  border-radius: 50px;
  background: linear-gradient(180deg, #EC1C26 0%, #AF0F17 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
  padding: 0.6em;

  &::after {
    transform: rotate(-90deg);
  }
}

/* 非活性表示（リンクではなく見た目のみのスロット） */
.c_button.is_disabled {
  background-color: lightgray;
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
  padding: 0.6em;

  &::after {
    display: none;
    content: none;
  }
}

.c_button.is_flow {
  background-color: #1bb8ce;
  font-size: var(--fz-12);
}

.c_button.is_flow::after {
  transform: rotate(-90deg);
}

.course_price_ttl {
  margin-top: 40px;
  padding: 5px;
  border: 1px solid #001fa6;
  text-align: center;
  letter-spacing: 0.1em;
}

/* 注意・ノート
------------------------------------- */
.notes-accordion {
  margin-top: 49px;
}

.notes-accordion>hgroup,
.notes-accordion>div {
  border: 1px solid var(--color-red);
  border-top: none;
}

.notes-accordion>hgroup {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding-block: 12px 14px;
  background-color: var(--color-red);
  color: #fff;
  text-align: center;
  position: relative;
}

.notes-accordion>hgroup img {
  width: 36px;
  height: 33px;
  margin: 0;
}

.notes-accordion .inner {
  padding: 0;
  min-width: unset !important;
}

.notes-accordion .notes_btn {
  display: grid;
  grid-template-columns: 230px auto 230px;
  align-items: center;
  justify-content: space-between;
  justify-items: center;
  padding-block: 11px;
  color: var(--color-red);
}

.notes-accordion .notes_btn>div:first-child {
  background-image: url('../images/gyosho-btn-notes_close.png');
  opacity: 0;
}

.notes-accordion .notes_btn>div:last-child {
  width: 158px;
  height: 66px;
  background: url('../images/gyosho-btn-notes_click.png') no-repeat center / contain;
}

.notes-accordion.open .notes_btn>div:last-child {
  background: url('../images/gyosho-btn-notes_close.png') no-repeat center / contain;
}

.notes-accordion>.inner:not(:has(.notes_btn)) {
  padding-inline: 40px;
}

@media (width <= 1024px) {
  .notes-accordion {
    margin-top: 20px;
  }

  .notes-accordion>hgroup {
    gap: 7px;
    padding-block: 10px 16px;
  }

  .notes-accordion>hgroup h4 {
    font-size: var(--fz-14);
  }

  .notes-accordion .notes_btn {
    grid-template-columns: auto 60px;
    gap: 4px;
    padding: 16px;
  }

  .notes-accordion .notes_btn>div:first-child {
    display: none;
  }

  .notes-accordion .notes_btn>div:last-child {
    width: 100%;
    height: auto;
  }

  .notes-accordion>.inner:not(:has(.notes_btn)) {
    padding-inline: 16px;
  }
}

.p_apply-notes {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
  padding-block: 40px;
  line-height: 1.5;
  text-align: justify;
}

.p_apply-notes__intro {
  text-align: center;
}

.p_apply-notes__intro p {
  margin: 0 0 10px;
}

.p_apply-notes__intro p:last-child {
  margin-bottom: 0;
}

.p_apply-notes__expiration-label {
  padding: 8px;
  background-color: var(--color-red);
  color: var(--color-white);
  text-align: center;
}

.p_apply-notes__expiration-date {
  padding: 16px;
  background-color: #f7f7f7;
  color: var(--color-red);
  text-align: center;
}

.p_apply-notes__section-title {
  margin-bottom: 4px;
  padding: 2px;
  background-color: #f4696a;
  color: var(--color-white);
  font-size: var(--fz-18);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}

.p_apply-notes__section {
  min-width: unset;
  padding-inline: 0;
}

.p_apply-notes__list {
  padding-left: 2px;
  list-style: none;
  margin: 0;
}

.p_apply-notes__list > li {
  padding-left: 1em;
  font-size: var(--fz-12);
  line-height: 1.4;
  text-indent: -1em;
}

.p_apply-notes__list > li::before {
  content: "・";
}

.p_apply-notes__list a {
  color: var(--color-dokugaku);
  text-decoration: underline;
}

@media (width <= 1024px) {
  .p_apply-notes {
    padding-block: 20px;
  }
}

/* 料金
------------------------------------- */
.course_price_wrap {
  padding-bottom: 0;
}

.p_price-campaign {
  padding: 40px;
  background-color: #ffeac0;
  border: dashed 1px #000;
}

.p_price-pack-list {
  margin: 20px 0 0;
  text-align: center;
}

.p_price-pack-list__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 100%;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p_price-pack-list__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.p_price-campaign .p_price-pack-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  border-bottom: 2px solid var(--color-course01);
  position: relative;
}

.p_price-campaign .p_price-pack-list__item.is_pack01 .p_price-pack-card {
  border-color: var(--color-course01);
}

.p_price-campaign .p_price-pack-list__item.is_pack02 .p_price-pack-card {
  border-color: #259bf4;
}

.p_price-campaign .p_price-pack-list__item.is_pack03 .p_price-pack-card {
  border-color: #18c3cd;
}

.p_price-pack-card__head {
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 2px solid var(--color-course01);
  color: #fff;
}

.p_price-campaign .p_price-pack-list__item.is_pack01 .p_price-pack-card__head {
  background-color: var(--color-course01);
  border-color: var(--color-course01);
}

.p_price-campaign .p_price-pack-list__item.is_pack02 .p_price-pack-card__head {
  background-color: #259bf4;
  border-color: #259bf4;
}

.p_price-campaign .p_price-pack-list__item.is_pack03 .p_price-pack-card__head {
  background-color: #18c3cd;
  border-color: #18c3cd;
}

.p_price-pack-card__name {
  font-size: var(--fz-22);
  font-style: italic;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  margin: 0;
}

.p_price-pack-card__name span {
  display: block;
  font-size: var(--fz-22);
  font-weight: bold;
  font-style: italic;
}

.p_price-pack-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  background-color: #fff;
  font-size: var(--fz-16);
  border-left: 2px solid var(--color-course01);
  border-right: 2px solid var(--color-course01);
}

.p_price-campaign .p_price-pack-list__item.is_pack01 .p_price-pack-card__body {
  border-color: var(--color-course01);
}

.p_price-campaign .p_price-pack-list__item.is_pack02 .p_price-pack-card__body {
  border-color: #259bf4;
}

.p_price-campaign .p_price-pack-list__item.is_pack03 .p_price-pack-card__body {
  border-color: #18c3cd;
}

.p_price-pack-card__body .c_button {
  width: 100%;
}

.p_price-pack-card__price {
  color: #cc111a;
  font-style: italic;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.2em;
}

.p_price-pack-card__price-unit {
  font-size: 40%;
}

@media (width <= 1024px) {
  .p_price-campaign {
    padding: 20px;
  }

  .p_price-pack-list__items {
    flex-direction: column;
  }

  .p_price-campaign .p_price-pack-card {
    height: auto;
  }

  .p_price-pack-card__name {
    font-size: var(--fz-22);
  }

  .p_price-campaign-heading__brand {
    column-gap: 10px;
  }

  .p_price-campaign-heading__brand-logo {
    width: 47px;
  }

  .p_price-campaign-heading__deadline-label,
  .p_price-campaign-heading__deadline-date {
    display: block;
  }
}

/* 移植元: public/statics/dokugaku/gyousho/style2025_12.css (.logo_gyousho / .gyousho-course hgroup) */
.p_price-campaign-heading {
  margin-bottom: 30px;
  text-align: center;
}

.p_price-campaign-heading__target {
  font-size: var(--fz-22);
  font-weight: bold;
  line-height: 1.4;
}

.p_price-campaign-heading__brand {
  display: inline-flex;
  align-items: center;
  column-gap: 13px;
}

.p_price-campaign-heading__brand-logo {
  width: 74px;
}

.p_price-campaign-heading__qual {
  display: inline-block;
  margin-right: 8px;
  font-weight: bold;
  color: var(--color-course01);
}

.p_price-campaign-heading__brand-text {
  font-size: var(--fz-40);
  font-weight: bold;
  line-height: 1.4;
}

.p_price-campaign-heading__deadline {
  font-size: var(--fz-22);
}

.p_price-campaign-heading__deadline-label {
  font-weight: bold;
}

.p_price-campaign-heading__deadline-date {
  font-weight: bold;
}

.p_price-campaign-heading__course {
  margin-top: -7px;
  font-size: var(--fz-40);
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-dokugaku);
}

@media (width <= 1024px) {
  .p_price-campaign-heading__brand {
    flex-direction: column;
  }
}

.guideline {
  display: block;
  margin: 40px auto 0;
  max-width: 920px;
}

.guideline h3 {
  text-align: left;
}

@media (width <= 1024px) {
  .guideline {
    margin-top: 0;
  }

  .guideline .img_box {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .guideline .img_box img {
    display: block;
    width: auto;
    max-width: 800px;
    height: auto;
  }
}

.rounded_square {
  display: inline-block;
  border-radius: 5px;
}


/*----------------------------------------------
	ユーティリティー
---------------------------------------------*/
.u_margin-top-xl {
  margin-top: 60px;
}

.u_margin-top-lg {
  margin-top: 40px;
}

.u_margin-top-sm {
  margin-top: 20px;
}

.u_margin-top-xs {
  margin-top: 10px;
}

.u_sp-only {
  display: none;
}

.u_fz-xxl {
  font-size: var(--fz-40);
  font-weight: bold;
}

.u_fz-xl {
  font-size: var(--fz-30);
  font-weight: bold;
}

.u_fz-l {
  font-size: var(--fz-22);
  font-weight: bold;
}

.u_fz-m {
  font-size: var(--fz-18);
  font-weight: bold;
}

.u_fz-s {
  font-size: var(--fz-16);
  font-weight: bold;
}

.u_fz-xs {
  font-size: var(--fz-12);
  font-weight: bold;
}

.u_font-weight-bold {
  font-weight: bold;
}

.u_line-height-tight {
  line-height: 1.2;
}

.u_inline-block {
  display: inline-block;
}

.u_sp-break {
  display: none !important;
}

.u_text-center {
  text-align: center;
}

.u_text-underline {
  text-decoration: underline !important;
}

.u_text-black {
  color: var(--color-black);
}

.u_text-navy {
  color: #142f5c !important;
}

.u_text-red {
  color: var(--color-red);
}

.u_text-course01 {
  color: var(--color-course01);
}

.u_text-dokugaku {
  color: var(--color-dokugaku);
}

.u_bg-white {
  background-color: var(--color-white);
}

.u_annotation {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
  font-size: var(--fz-12);
  line-height: 1.4;
}

.u_pdf {
  display: inline-block;
}

.u_pdf::before {
  display: inline-block;
  width: 1em;
  height: 1.2em;
  margin-right: 0.2em;
  content: "";
  background: url(../images/ico-pdf.png);
  background-size: contain;
  background-position: center 0.2em;
  background-repeat: no-repeat;
}

@media (width <= 1024px) {

  .u_margin-top-lg {
    margin-top: 20px;
  }

  .u_pc-only {
    display: none;
  }

  .u_sp-only {
    display: block;
  }

  span.u_sp-only {
    display: inline-block;
  }

  .u_sp-break {
    display: block !important;
  }

}

}
