@charset "UTF-8";

/* 研修詳細で使うPC/SPの指定だけを移植。トップと共通ナビの指定はstyle.scssに置く。 */
.training-page { line-height: 1.8; font-feature-settings: "palt"; }
.training-page table { border-collapse: collapse; border-spacing: 0; }
.training-page th { text-align: left; }
.training-page h2 { font-size: 40px; font-weight: 900; line-height: 1.6; text-align: center; }
.training-page h3 { font-size: var(--font-size-regular); }
.training-page .target { scroll-margin-top: 16px; }
.training-page .idigi-cta { gap: 10px; min-height: 56px; padding: 10px 28px; font-size: var(--font-size-regular); line-height: 1.4; border-width: 2px; text-align: center; }
.training-page .idigi-cta--download { border-width: 1px; color: var(--sub); background: #fff; }
.training-page .idigi-cta--download::before { content: ""; flex: 0 0 20px; width: 20px; height: 20px; background: currentColor; mask: url("../icons/download.svg") center / contain no-repeat; -webkit-mask: url("../icons/download.svg") center / contain no-repeat; }
.training-page .idigi-cta--entry { border-color: var(--contact); color: var(--contact); background: #fff; }
.training-page .idigi-cta--contact { border-color: var(--contact); color: #fff; background: var(--contact); }

.idigi-cta-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.idigi-cta-group--hero { position: relative; width: 100%; margin-top: 32px; }
.idigi-cta-group--hero .idigi-cta { min-width: 260px; }

.section-hero { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; padding: 70px 20px; overflow: hidden; }
.section-hero .hero-image { position: absolute; top: 50%; left: 50%; z-index: -1; transform: translate(-50%, -50%); width: 100%; min-width: 1780px; max-width: none; height: 100%; object-fit: cover; object-position: center; }
.section-hero > .inner { display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(1200px, 100%); }
.course-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.course-features li { display: flex; align-items: center; justify-content: center; padding: 8px 24px 4px 16px; border: 1px solid #fff; border-radius: 50px; color: #fff; font-weight: 700; }
.course-features li::before { content: ""; flex: 0 0 25px; width: 25px; height: 25px; margin-right: 5px; background: #a9ebff; mask: url("../image/check.svg") center / contain no-repeat; -webkit-mask: url("../image/check.svg") center / contain no-repeat; }
.course-header { display: flex; align-items: center; margin-top: 40px; }
.schedule-info { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; position: relative; flex-shrink: 0; margin-right: 20px; padding: 0 15px 7px; border-radius: 5px; background: var(--base); color: #fff; font-weight: 700; line-height: 1; }
.schedule-info .year { position: absolute; top: 10px; right: 15px; color: #a9ebff; }
.schedule-info .month { transform: translateY(5px); }
.schedule-info .month span { font-size: 48px; }
.course-header .page-title { margin: 0; transform: translateY(2px); color: #fff; font-size: 64px; font-weight: 900; line-height: 1; }

.hero-training-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 900px; max-width: 100%; margin: 50px auto 0; text-shadow: none; }
.hero-training-features > li { position: relative; min-width: 0; padding: 76px 12px 16px; border-radius: 10px; background: #fff; color: var(--base); font-size: var(--font-size-regular); line-height: 1.6; text-align: center; }
.hero-training-features > li::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; background: var(--sub); mask: var(--feature-icon) center / contain no-repeat; }
.hero-training-feature--book { --feature-icon: url("../icons/book.svg"); }
.hero-training-feature--message { --feature-icon: url("../icons/message.svg"); }
.hero-training-feature--apps { --feature-icon: url("../icons/apps.svg"); }
.hero-training-feature--code { --feature-icon: url("../icons/code.svg"); }
.hero-training-feature--files { --feature-icon: url("../icons/files.svg"); }
.hero-training-feature--database { --feature-icon: url("../icons/database.svg"); }
.hero-training-feature--analytics { --feature-icon: url("../icons/device-desktop-analytics.svg"); }
.hero-training-feature--calculator { --feature-icon: url("../icons/calculator.svg"); }
.hero-training-features span { font-weight: 700; }

.page-nav { position: sticky; top: 0; z-index: 25; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 75px; padding: 0 4%; background: #f8f8f8; font-weight: 700; }
.page-nav.is-stuck { box-shadow: 0 0 20px rgba(204, 204, 204, 0.4); }
.page-nav .page-name { display: none; }
.page-nav .menu { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.page-nav .menu a { display: flex; align-items: center; position: relative; min-height: 75px; white-space: nowrap; }
.page-nav .menu a[aria-current="location"]::after { content: ""; position: absolute; bottom: 15px; left: 0; width: 100%; height: 3px; background: var(--base); }
.page-nav .btns { display: flex; gap: 15px; padding-block: 10px; }
.page-nav .btns .idigi-cta { min-height: 45px; padding: 0 18px; font-size: var(--font-size-regular); border-width: 1px; }
.page-nav .btns .idigi-cta--download::before { flex-basis: 18px; width: 18px; height: 18px; }

.section-problem { padding: 100px 0; }
.section-problem .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 90px 50px; margin: 80px auto 0; }
.section-problem .item { position: relative; }
.section-problem .item::before { content: attr(data-sub); position: absolute; top: 0; left: 0; padding: 2px 10px 1px; background: var(--base); color: #a9ebff; font-size: 12px; font-weight: 700; }
.section-problem .item img { display: block; margin: 20px auto 10px; width: 250px; height: auto; }
.section-problem .item h3 { position: relative; padding-bottom: 50px; font-size: 20px; font-weight: 700; text-align: center; }
.section-problem .item h3::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; background: url("../image/arrow-down.svg") center / contain no-repeat; }
.section-problem .is-reason .item h3 { padding-bottom: 0; }
.section-problem .is-reason .item h3::after { display: none; }
.section-problem .desc { margin-top: 20px; }

.section-reskilling-features { padding: 100px 20px; background: #f5f5f5; overflow: clip; }
.section-reskilling-features > .inner { width: min(1200px, 100%); }
.section-reskilling-features h2 { font-size: 40px; font-weight: 900; line-height: 1.6; text-align: center; }
.features-list { display: flex; flex-direction: column; gap: 100px; margin-top: 60px; }
.feature { display: flex; align-items: center; gap: 80px; position: relative; isolation: isolate; background: #fff; }
.feature::before { content: ""; position: absolute; top: 0; left: 0; z-index: -1; width: 50vw; height: 100%; margin-left: calc(50% - 50vw); background: #fff; }
.feature--reverse { flex-direction: row-reverse; }
.feature--reverse::before { right: 0; left: auto; margin-right: calc(50% - 50vw); margin-left: 0; }
.feature .content { flex: 1; min-width: 0; }
.feature .heading { display: flex; align-items: flex-end; position: relative; margin-bottom: 20px; padding-left: 120px; font-size: 40px; font-weight: 900; line-height: 1.4; }
.feature .heading::before { content: attr(data-sub); position: absolute; top: 50%; left: 0; transform: translateY(-50%); color: var(--sub); font-size: 72px; font-weight: 200; letter-spacing: -2.21px; }
.feature .description { margin-top: 20px; font-size: var(--font-size-regular); }
.feature .image { flex: 0 0 400px; }
.feature img { width: 100%; height: auto; }

.sectionOverview { padding: 100px 0; }
.sectionOverview table { width: 100%; margin: 60px auto 0; }
.sectionOverview tr:nth-child(odd) { background: #f5f5f5; }
.sectionOverview th, .sectionOverview td { padding: 30px 25px; }
.sectionOverview th { width: 15%; height: 100px; font-weight: 700; }
.sectionOverview td { width: 30%; text-align: left; }
.sectionOverview .caution { opacity: 0.8; font-size: 14px; line-height: 1.6; }
.sectionOverview .ul-check li { position: relative; padding-left: 24px; }
.sectionOverview .ul-check li::before { content: ""; position: absolute; left: 0; top: 40%; transform: translateY(-50%) rotate(45deg); width: 6px; height: 12px; border: solid #4caf50; border-width: 0 2px 2px 0; }

.sectionCurriculum { padding: 100px 0; background: #f5f5f5; }
.sectionCurriculum .lists { width: 100%; margin: 70px auto 0; }
.sectionCurriculum h3 { position: relative; margin-top: 20px; padding: 20px 90px 20px 40px; border-radius: 10px; background: #fff; font-size: 20px; font-weight: 700; line-height: 1.6; }
.sectionCurriculum h3.active { border-radius: 8px 8px 0 0; background: #3a3a3a; color: #fff; }
.sectionCurriculum .ux-disclosure-button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0; font: inherit; line-height: inherit; text-align: left; }
.sectionCurriculum .item { padding: 40px 50px; border-radius: 0 0 8px 8px; background: #fff; }
.sectionCurriculum .sp-table-inner { width: 100%; table-layout: fixed; }
.sectionCurriculum .sp-table-inner td { vertical-align: top; padding: 12.8px 0; border-top: 1px dotted #ccc; line-height: 1.6; }
.sectionCurriculum .sp-table-inner tr:first-child td { border-top: 0; }
.sectionCurriculum .syou { font-weight: 700; }
.sectionCurriculum .caution { padding-top: 16px; color: #666e84; font-size: 14px; text-align: right; }

.sec-schedule { padding: 100px 0 30px; background: #f5f5f5; }
.sec-schedule h2 .label { display: inline-block; margin-left: 12px; padding: 4px 8px 2px; transform: translateY(-3px); background: linear-gradient(to right, #f4ac1d, #e62b84); color: #fff; font-size: 32px; font-weight: 700; line-height: 1; }
.sec-schedule-txt { margin: 50px 0 -50px; font-size: 24px; text-align: center; }
.sec-schedule-txt span { font-size: 48px; font-weight: 700; }
.sec-schedule-wrap { margin: 80px auto; padding-top: 8px; border: 1px solid #eee; border-radius: 10px; background: #fff; overflow: hidden; }
.sec-schedule-table { width: 100%; }
.sec-schedule-table th, .sec-schedule-table td { padding: 24px; border-right: 1px dotted #ddd; border-bottom: 1px dotted #ddd; }
.sec-schedule-table th { width: 180px; font-weight: 700; }
.sec-schedule-table td:first-of-type { width: 40%; }
.sec-schedule-table td:last-child { border-right: 0; }
.sec-schedule-table tr:last-child > * { border-bottom: 0; }

.section-place { display: flex; align-items: center; justify-content: center; padding: 100px 0; background: url("../image/map-new.png") center / cover no-repeat fixed; }
.section-place > .inner { display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: min(800px, calc(100% - 40px)); padding: 50px 60px; border-radius: 10px; background: #fff; }
.section-place .place { margin-top: 40px; font-size: 20px; }
.section-place .place > li { position: relative; margin-bottom: 19.2px; padding-left: 28.8px; line-height: 1.6; }
.section-place .place > li:last-child { margin-bottom: 0; }
.section-place .place > li .caution { display: block; opacity: 0.8; margin-top: 5px; font-size: var(--font-size-regular); line-height: 1.4; }
.section-place > .inner > .caution { opacity: 0.8; margin-top: 5px; font-size: 14px; line-height: 1.6; }
.section-place .place > li::before { content: attr(data-cont); position: absolute; top: 0; left: 0; color: var(--sub); }

.sectionPrice { padding: 100px 0; background: #fff; }
.sectionPrice > .inner { width: min(1000px, calc(100% - 40px)); }
.sectionPrice .katsuyou > .item { border-radius: 12px; }
.price-cta { position: relative; margin: 60px 0 70px; padding: 54px 40px 44px; border: 3px solid var(--contact); border-radius: 12px; text-align: center; }
.price-cta__body { max-width: 820px; margin-inline: auto; }
.price-cta__label { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 32px); padding: 14px 28px; background: #fff; color: var(--contact); font-size: 20px; font-weight: 700; line-height: 1.4; text-align: center; }
.price-cta__title { font-size: 40px; font-weight: 900; line-height: 1.5; text-align: center; }
.price-cta__text { max-width: 760px; margin: 16px auto 0; font-size: var(--font-size-regular); line-height: 1.8; text-align: center; }
.price-cta__actions { display: flex; justify-content: center; gap: 24px; margin-top: 32px; }
.price-cta__button.idigi-cta { flex: 1 1 0; min-width: 0; max-width: 480px; min-height: 64px; padding: 12px 28px; font-size: 20px; }
.price-cta__icon { flex: 0 0 24px; width: 24px; height: 24px; background: currentColor; mask: var(--price-cta-icon) center / contain no-repeat; -webkit-mask: var(--price-cta-icon) center / contain no-repeat; }
.price-cta__button--entry { --price-cta-icon: url("../icons/clipboard-check.svg"); }
.price-cta__button--contact { --price-cta-icon: url("../icons/message-question.svg"); }

.sectionPrice em { font-style: normal; }

.cancel-policy { position: relative; margin-top: 60px; }
.training-page .cancel-policy h3 { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 16px); margin: 0; padding: 8px 20px; background: #fff; font-size: var(--font-size-regular); font-weight: 700; line-height: 1; letter-spacing: 0.87px; }
.cancel-policy-box { padding: 40px 40px 30px; border: 1px solid #ddd; border-radius: 10px; font-size: var(--font-size-regular); line-height: 1.8; }
.cancel-table { width: 100%; margin: 20px 0; }
.cancel-table thead { background: #aaa; color: #fff; }
.training-page .cancel-table th { padding: 7px 20px 5px; border: 1px solid #aaa; font-size: var(--font-size-regular); letter-spacing: 0.63px; line-height: 1.4; text-align: center; }
.cancel-table td { padding: 10px 20px 8px; border: 1px solid #ddd; line-height: 1.6; }
.cancel-table tbody tr:nth-child(even) { background: #f8f8f8; }
.cancel-table td:last-child { text-align: center; }
.cancel-table td span { font-weight: 700; }

.sectionFlow { padding: 100px 0; background: #fff; }
.sectionFlow .flex { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 60px auto 0; counter-reset: section; }
.sectionFlow .flex > div { position: relative; min-width: 0; }
.sectionFlow .flex > div:not(:last-child)::after { content: ""; position: absolute; top: 75px; right: -18px; transform: rotate(45deg); width: 12px; height: 12px; border-top: 2px solid var(--sub); border-right: 2px solid var(--sub); opacity: 0.5; }
.sectionFlow .flex > div > div { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 150px; border: 1px solid var(--sub); border-radius: 10px; color: var(--sub); }
.sectionFlow h3 { font-weight: 700; text-align: center; }
.sectionFlow h3::before { display: block; content: "STEP . " counter(section); counter-increment: section; font-size: var(--font-size-regular); text-align: center; }
.sectionFlow svg { width: 40px; height: 40px; margin-top: 10px; color: var(--sub); stroke-width: 1.3px; }
.sectionFlow .txt { margin-top: 20px; font-size: var(--font-size-regular); }
.sectionFlow .txt a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

.section-jyoseimore .btn { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.section-jyoseimore .btn:hover { text-decoration: none; }

.sectionOthers { padding: 100px 0; background: #f5f5f5; }
.training-page .sectionOthers > .inner { width: 100%; max-width: 100%; }
.sectionOthers .btn { display: none; }
.related-course-name { display: none; }
.sectionOthers .flex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 70px; padding-inline: 4%; }
.sectionOthers .item { border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(149, 157, 165, 0.1); }
.sectionOthers .item:hover { box-shadow: none; }
.sectionOthers .item a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 0 10px; }
.sectionOthers .item h3 { position: relative; padding-top: 120px; font-size: var(--font-size-regular); font-weight: 700; line-height: 1.6; text-align: center; }
.sectionOthers .item h3::before { content: ""; position: absolute; top: 25px; left: 50%; transform: translateX(-50%); width: 70px; height: 70px; background: var(--related-icon) center / contain no-repeat; }
.thumb-ai { --related-icon: url("../image/thumb-ai.svg"); }
.thumb-excel { --related-icon: url("../image/thumb-excel.svg"); }
.thumb-powerbi { --related-icon: url("../image/thumb-powerbi.svg"); }
.thumb-java { --related-icon: url("../image/thumb-java.svg"); }
.thumb-php { --related-icon: url("../image/thumb-php.svg"); }
.thumb-cs { --related-icon: url("../image/thumb-cs.svg"); }
.thumb-linux { --related-icon: url("../image/thumb-linux.svg"); }
.thumb-c { --related-icon: url("../image/thumb-c.svg"); }
.sectionOthers .term { margin: 10px 0 20px; color: #666e84; font-size: var(--font-size-regular); line-height: 1.5; text-align: center; }
.sectionOthers .indexbtn { display: flex; align-items: center; justify-content: center; width: min(400px, 100%); min-height: 60px; margin: 70px auto 0; border: 1px solid var(--sub); border-radius: 5px; color: var(--sub); text-align: center; }
.training-page .section-cta h2 { font-size: 32px; }

.section-faq .tab-wrap { display: flex; flex-wrap: wrap; position: relative; margin-top: 40px; }
.section-faq .tab-wrap.nolabel { margin-top: 0; }
.section-faq .tab-wrap.nolabel :is(.tab-label, .tab-switch) { display: none; }
.section-faq .tab-label { flex: 1; order: -1; position: relative; min-width: 0; padding: 16px; border-radius: 2px; background: #eee; color: #232323; line-height: 1.6; text-align: center; cursor: pointer; }
.section-faq .tab-label:hover { opacity: 0.8; }
.section-faq .tab-label:not(:last-of-type) { margin-right: 5px; }
.section-faq .tab-label span { font-weight: 700; }
.section-faq .tab-switch { position: absolute; width: 1px; height: 1px; opacity: 0; }
.section-faq .tab-switch:focus-visible + .tab-label { outline: 3px solid var(--link); outline-offset: 3px; }
.section-faq .tab-content { display: none; width: 100%; }
.section-faq .tab-switch:checked + .tab-label { background: #232323; color: #fff; }
.section-faq .tab-switch:checked + .tab-label::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -10px; border: 10px solid transparent; border-top-color: #232323; }
.section-faq .tab-switch:checked + .tab-label + .tab-content { display: block; }
.section-faq .tab-content[hidden] { display: none; }
.faq-blocks { --faq-icon-right: 10px; --faq-icon-top: 50%; margin-top: 40px; }
.faq-blocks .qa { min-width: 0; font-size: var(--font-size-regular); }
.faq-blocks .qa > summary { display: flex; align-items: center; position: relative; min-height: 80px; padding: 20px 60px 24px 0; border-bottom: 1px solid #e5e5e5; font-weight: 700; line-height: 1.6; list-style: none; cursor: pointer; }
.faq-blocks .qa > summary::-webkit-details-marker { display: none; }
.faq-blocks .qa > summary:focus-visible { outline-offset: -3px; }
.faq-blocks .qa > summary::before,
.faq-blocks .qa > summary::after { content: ""; position: absolute; top: var(--faq-icon-top); right: var(--faq-icon-right); width: 14px; height: 1px; background: currentColor; pointer-events: none; transition: transform 0.35s ease; }
.faq-blocks .qa > summary::before { transform: translateY(-50%) rotate(0deg); }
.faq-blocks .qa > summary::after { transform: translateY(-50%) rotate(-90deg); }
.faq-blocks .qa[open] > summary::before,
.faq-blocks .qa[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-blocks .qa > .answer { padding: 10px 0 30px; line-height: 2; overflow-wrap: anywhere; }
.faq-blocks .answer h3 { margin-top: 24px; font-size: 20px; font-weight: 700; }
.faq-blocks .answer :is(ul, ol) { margin: 16px 0; padding-left: 24px; }
.faq-blocks .answer ul > li { list-style: disc; }
.faq-blocks .answer ol > li { list-style: decimal; }
.faq-blocks .answer li { margin-bottom: 8px; }
.faq-blocks .answer table { width: 100%; margin-top: 30px; border: 1px solid #ddd; table-layout: fixed; font-size: var(--font-size-regular); }
.faq-blocks .answer :is(td, th) { padding: 16px; border: 1px solid #ddd; }
.faq-blocks .answer th { font-weight: 700; }

@media (min-width: 1024px) {
  /* rowspanで省略された行でも、結合セル側の縦線を途切れさせない。 */
  .sec-schedule-table .bleft { border-left: 1px dotted #ddd; }
  .section-faq .tab-wrap { margin-top: 60px; }
  .faq-blocks { --faq-icon-top: calc(50% - 16px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 50px; margin-top: 60px; }
  /* 行間と見出し下の余白を含め、区切り線の間で質問とアイコンを中央に見せる。 */
  .faq-blocks .qa > summary { margin-bottom: 8.5px; padding-block: 0 32px; }
}
@media (max-width: 1023px) {
  .faq-blocks { --faq-icon-right: 0px; }
}
@media (max-width: 1023px) {
  .section-faq .tab-label { padding-inline: 8px; }
  .faq-blocks .answer :is(td, th) { padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-blocks .qa > summary::before,
  .faq-blocks .qa > summary::after { transition: none; }
}

.breadcrumbs li { display: flex; align-items: baseline; gap: 12px; }
.breadcrumbs a:hover { text-decoration: underline; }

@media (min-width: 1024px) and (max-width: 1199px) {
  .course-header .page-title { font-size: clamp(32px, 4.4vw, 56px); }
  .page-nav { justify-content: center; }
  .page-nav .menu { gap: 20px; }
  .page-nav .menu a { min-height: 52px; }
  .page-nav .menu a[aria-current="location"]::after { bottom: 8px; }
  .page-nav .btns { padding-top: 0; }
  .feature { gap: 32px; }
  .feature .image { flex-basis: 34%; }
  .feature .heading { padding-left: 80px; font-size: 24px; }
  .feature .heading::before { font-size: 56px; }
  .sectionFlow .flex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .sectionFlow .flex > div:nth-child(2)::after { display: none; }
  .price-cta__actions { gap: 16px; }
  .price-cta__button.idigi-cta { padding-inline: 16px; font-size: var(--font-size-regular); }
}

@media (max-width: 1023px) {
  .hero-training-features { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 30px; }
  .hero-training-features > li { padding: 12px 16px 12px 72px; border-radius: 5px; text-align: left; }
  .hero-training-features > li::before { top: 50%; left: 16px; transform: translateY(-50%); width: 36px; height: 36px; }
  .section-reskilling-features h2, .training-page .section-cta h2 { font-size: clamp(24px, 4vw, 32px); }
  .training-page h2 { font-size: clamp(24px, 4vw, 32px); }
  .page-nav { display: none; }
  .section-hero { padding: 40px 20px; }
  .section-hero .hero-image { min-width: 0; }
  .course-features { gap: 10px; }
  .course-features li { padding: 6px 8px 3px; font-size: 14px; }
  .course-features li::before { flex-basis: 15px; width: 15px; height: 15px; }
  .course-header { flex-direction: column; margin-top: 30px; }
  .schedule-info { margin-right: 0; padding: 0 10px 7px; }
  .schedule-info .year { top: 5px; right: 10px; font-size: 14px; }
  .schedule-info .month span { font-size: 40px; }
  .course-header .page-title { margin: 15px 0; font-size: 32px; line-height: 1.3; text-align: center; }
  .idigi-cta-group--hero { flex-direction: column; align-items: stretch; gap: 12px; }
  .idigi-cta-group--hero .idigi-cta { width: 100%; min-width: 0; max-width: 420px; margin-inline: auto; }
  .section-problem { padding: 60px 0 50px; }
  .section-problem .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 40px; }
  .section-problem .item { padding: 10px 20px; border: 1px solid #ddd; border-radius: 10px; }
  .section-problem .item::before { background: #213343; }
  .section-problem .item img { width: 200px; margin: 0 auto; }
  .section-problem .item h3 { line-height: 1.5; letter-spacing: -0.96px; text-wrap: balance; }
  .training-page--standard .section-problem.pt-10 { padding-top: 40px !important; }
  .section-reskilling-features { padding: 50px 20px; }
  .features-list { gap: 40px; margin-top: 40px; }
  .feature, .feature--reverse { flex-direction: column; gap: 20px; }
  .feature .heading { margin: 40px 0 0; padding: 0 20px 0 60px; font-size: 20px; line-height: 1.5; }
  .feature .heading::before { font-size: 40px; }
  .feature .description { padding-right: 20px; font-size: var(--font-size-regular); }
  .feature--reverse .heading { padding: 0 0 0 80px; }
  .feature--reverse .heading::before { left: 20px; }
  .feature--reverse .description { padding-right: 0; padding-left: 20px; }
  .feature .image { flex: auto; width: 100%; }
  .sectionOverview { padding: 50px 0; }
  .training-page :is(.sectionOverview, .sectionCurriculum, .section-place, .sectionFree, .sectionWorkflow, .sectionReport, .sectionPrice, .section-jyoseimore, .sectionFlow, .sectionOthers) { padding-block: 40px; }
  .sectionOverview table { margin-top: 30px; }
  .sectionOverview tbody, .sectionOverview tr, .sectionOverview th, .sectionOverview td { display: block; width: 100%; }
  .sectionOverview tr:nth-child(odd) { background: transparent; }
  .sectionOverview th { height: auto; margin-bottom: 5px; padding: 0; }
  .sectionOverview td { margin-bottom: 15px; padding: 0 0 15px; border-bottom: 1px dashed #ddd; }
  .sectionOverview tr:last-child td:last-child { border-bottom: 0; margin-bottom: 0; }
  .sectionOverview .ul-check li { margin-bottom: 10px; line-height: 1.5; }
  .sectionOverview .ul-check li:last-child { margin-bottom: 0; }
  .sectionCurriculum { padding: 50px 0; }
  .sectionCurriculum .lists { margin-top: 30px; }
  .sectionCurriculum h3 { margin-top: 10px; padding: 0; border-radius: 5px; font-size: var(--font-size-regular); line-height: 1.5; }
  .sectionCurriculum .ux-disclosure-button { min-height: 60px; padding: 15px 50px 10px 20px; }
  .sectionCurriculum .item { padding: 20px; }
  /* 結合セルをSPでは見出しとして流し、PCと同じ本文を読み順どおりに並べる。 */
  .sectionCurriculum .sp-table-inner, .sectionCurriculum .sp-table-inner tbody, .sectionCurriculum .sp-table-inner tr, .sectionCurriculum .sp-table-inner td { display: block; width: 100%; }
  .sectionCurriculum .sp-table-inner td { border: 0; line-height: 1.5; overflow-wrap: anywhere; }
  .sectionCurriculum .sp-table-inner .syou { margin: 24px 0 8px; padding: 16px; border: 1px solid var(--base); text-align: center; }
  .sectionCurriculum .sp-table-inner tr:first-child .syou { margin-top: 0; border-top: 1px solid var(--base); }
  .sectionCurriculum .sp-table-inner .chapter { margin: 24px 0 8px; padding: 16px; background: repeating-linear-gradient(-45deg, #eee 0 1px, #fff 1px 4px); font-weight: 700; }
  .sectionCurriculum .sp-table-inner td:not(.syou):not(.chapter) { padding: 12.8px 0; border-bottom: 1px dotted #ccc; font-size: var(--font-size-regular); }
  .sectionCurriculum .caution { font-size: 14px; }
  .sec-schedule { padding: 50px 0; }
  .sec-schedule h2 .label { font-size: var(--font-size-regular); }
  .sec-schedule-txt { margin: 25px 0 15px; font-size: var(--font-size-regular); }
  .sec-schedule-txt span { font-size: 32px; }
  .sec-schedule-wrap { margin: 0; padding: 0; border: 0; }
  .sec-schedule-table, .sec-schedule-table tbody, .sec-schedule-table tr, .sec-schedule-table th, .sec-schedule-table td { display: block; width: 100%; }
  .sec-schedule-table tr { padding-bottom: 16px; border-bottom: 1px dotted #ddd; }
  .sec-schedule-table tr:last-child { border: 0; }
  .sec-schedule-table th, .sec-schedule-table td { padding: 12.8px 24px 0; border: 0; }
  .sec-schedule-table td:first-of-type { width: 100%; padding-top: 0; }
  .section-place { padding: 50px 20px; background-image: url("../image/sp-map-new.png"); background-attachment: scroll; }
  .section-place > .inner { width: 100%; max-width: 100%; padding: 30px 20px; border-radius: 5px; }
  .section-place .place { margin-top: 20px; font-size: var(--font-size-regular); }
  .section-place .place > li { padding-left: 24px; }
  .sectionPrice { padding: 50px 0; }
  .price-cta { margin: 50px 0 40px; padding: 56px 20px 32px; }
  .sectionPrice > .inner > .price-cta:last-child { margin-bottom: 0; }
  .price-cta__label { padding: 8px 12px; font-size: 20px; }
  .price-cta__label > span { display: block; }
  .price-cta__title { font-size: clamp(20px, 6vw, 32px); }
  .price-cta__text { font-size: var(--font-size-regular); }
  .price-cta__text br { display: none; }
  .price-cta__actions { flex-direction: column; gap: 16px; margin-top: 28px; }
  .price-cta__button.idigi-cta { min-height: 60px; padding: 12px 16px; font-size: var(--font-size-regular); }
  .cancel-policy { margin-top: 40px; }
  .training-page .cancel-policy h3 { font-size: var(--font-size-regular); }
  .cancel-policy-box { padding: 20px 20px 15px; }
  .cancel-table th, .cancel-table td { padding-inline: 10px; }
  .section-jyoseimore { padding: 40px 0; background: #f5f5f5; }
  .section-jyoseimore h2 > span { display: block; }
  .section-jyoseimore .flex { display: grid; grid-template-columns: minmax(0, 1fr); gap: 50px; width: 100%; margin: 32px auto 0; }
  .section-jyoseimore .flex .item { min-width: 0; width: 100%; }
  .section-jyoseimore .sub span { display: inline-block; margin-right: 12px; padding: 2px 16px; border-radius: 50px; background: var(--sub); color: #fff; font-size: 14px; }
  .section-jyoseimore .flex .item h3 { margin-top: 10px; font-size: 20px; font-weight: 700; line-height: 1.6; }
  .section-jyoseimore .flex .item img { display: block; width: 100%; height: auto; margin: 24px auto; }
  .section-jyoseimore .flex .item .txt { color: #333e5b; }
  .section-jyoseimore .flex .item .btn { display: inline-block; margin-top: 10px; }
  .sectionFlow { padding: 40px 0; }
  .sectionFlow .flex { grid-template-columns: minmax(0, 1fr); gap: 56px; margin: 32px auto 0; }
  .sectionFlow .flex > div > div { height: auto; padding: 16px 0; border-radius: 5px; }
  .sectionFlow .flex > div:not(:last-child)::after { top: auto; right: auto; bottom: -28px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; border-top: 0; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); opacity: 1; }
  .sectionFlow svg { width: 30px; height: 30px; margin-top: 5px; stroke-width: 1.5px; }
  .sectionFlow .txt { margin-top: 20px; font-size: var(--font-size-regular); }
  .sectionOthers { padding: 40px 0; }
  .training-page .sectionOthers > .inner { padding-inline: 20px; }
  .training-page .sectionOthers > .inner > h2 { font-size: 24px; }
  .related-course-name { display: inline; }
  .sectionOthers .flex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 40px; padding: 0; }
  .sectionOthers .item { border-radius: 4px; box-shadow: none; }
  .sectionOthers .item a { justify-content: flex-start; padding: 0 10px 15px; }
  .sectionOthers .item h3 { padding-top: 90px; font-size: var(--font-size-regular); line-height: 1.6; }
  .sectionOthers .item h3::before { top: 15px; width: 60px; height: 60px; }
  .sectionOthers .term { margin: 5px 0 0; font-size: var(--font-size-regular); }
  .sectionOthers .indexbtn { display: none; }
}

/* タブレットでは、SPの縦並びを広げず本文と画像の比率を整える。 */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-training-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero-training-features > li { padding: 60px 12px 16px; text-align: center; }
  .hero-training-features > li::before { top: 16px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; }
  .training-page .idigi-cta-group--hero { flex-direction: row; align-items: stretch; gap: 16px; width: min(720px, 100%); margin-inline: auto; }
  .training-page .idigi-cta-group--hero .idigi-cta { flex: 1 1 0; width: auto; max-width: none; margin-inline: 0; padding-inline: 16px; }
  .training-page .section-problem .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .section-problem .item { padding: 20px 16px; }
  .section-problem .item img { width: 140px; }
  .section-problem .item h3 { padding-bottom: 40px; font-size: 18px; letter-spacing: 0; }
  .section-problem .item h3::after { width: 40px; height: 40px; }
  :is(.training-page, .content-page--reskilling) .feature { flex-direction: row; gap: 28px; padding: 24px; }
  :is(.training-page, .content-page--reskilling) .feature--reverse { flex-direction: row-reverse; }
  :is(.training-page, .content-page--reskilling) .feature::before { content: none; }
  :is(.training-page, .content-page--reskilling) .feature .heading { display: block; margin: 0 0 16px; padding: 0; }
  :is(.training-page, .content-page--reskilling) .feature .heading::before { display: block; position: static; transform: none; margin-bottom: 8px; line-height: 1; }
  :is(.training-page, .content-page--reskilling) .feature .description { margin-top: 0; padding: 0; }
  :is(.training-page, .content-page--reskilling) .feature .image { flex: 0 0 42%; width: auto; max-width: 320px; }
  .training-page .sectionPrice .price-cta__actions { flex-flow: row nowrap; align-items: stretch; gap: 16px; }
  .training-page .sectionPrice .price-cta__button { max-width: none; }
  .training-page .section-jyoseimore .flex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .training-page .section-jyoseimore .flex .item { width: auto; }
  .training-page .section-jyoseimore .sub { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .training-page .section-jyoseimore .sub span { margin-right: 0; }
  .training-page .section-jyoseimore .flex .item h3 { min-height: 96px; }
  .training-page .section-jyoseimore .flex .item img { max-width: 280px; }
  .training-page .sectionFlow .flex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .sectionFlow .flex > div > div { min-height: 130px; padding: 20px 12px; }
  .sectionFlow .flex > div:not(:last-child)::after { top: 65px; right: -18px; bottom: auto; left: auto; transform: rotate(45deg); width: 12px; height: 12px; border-top: 2px solid var(--sub); border-bottom: 0; opacity: 0.5; }
  .sectionFlow .flex > div:nth-child(2)::after { display: none; }
  .training-page .sectionOthers > .inner { padding-inline: 0; }
  .sectionOthers .flex { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-inline: 4%; }
}

@media (max-width: 767px) {
  .section-jyoseimore .flex .item h3 { font-size: 21px; }
  .sectionOthers .term { font-size: 14px; }
  .sectionOthers .item h3.thumb-cs::before { top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .training-page .idigi-cta { transition: none; }
}

@media (max-width: 1023px) {
  .page-nav { display: none; }
}

/* 原本の共通部品。幅による差だけをメディアクエリへ分離。 */
.sectionTeacher .flex { display: grid; grid-template-columns: repeat(6,1fr); grid-template-rows: 1fr; gap: 20px; width: fit-content!important; }
.sectionTeacher .flex .box { width: 350px; padding: 20px 30px; overflow: hidden; border-radius: 10px; box-shadow: rgba(149,157,165,0.2) 0px 8px 24px; }
.sectionTeacher .flex .box figure { margin: -20px -30px 20px -30px; }
.sectionTeacher .flex .box figure img { width: 100%; height: auto; }
.sectionTeacher .flex .box h3 { margin-bottom: 15px; font-size: var(--font-size-regular); line-height: 1.5; }
.sectionTeacher .flex .box h3 span { display: block; font-weight: bold; }
.sectionTeacher .flex .box p { color: #888; font-size: var(--font-size-regular); }
@media (min-width: 1024px) {
.sectionTeacher { padding: 100px 0; background: #fff; text-shadow: none; }
.sectionTeacher .inner { width: 100%; min-width: 100%; }
.sectionTeacher .desc { margin: 40px auto 60px; text-align: center; }
.sectionTeacher .more { display: block; width: 240px; height: 50px; margin: 70px auto 0; border: 1px solid #065fd4; line-height: 50px; text-align: center; }
.sectionTeacher .more:hover { opacity: 0.8; }
.sectionTeacher #loopslider { position: relative; width: 100%; margin: 0 auto; overflow-x: auto; }
.sectionTeacher .loopSliderWrap { position: absolute; top: 0; left: 0; overflow: hidden; display: flex; flex-flow: row nowrap; align-items: center; gap: 10px; justify-content: center; }
.sectionTeacher .flex { padding: 20px 0 30px; margin: 0; }
.sectionTeacher .flex .box { min-height: 520px; }
.sectionTeacher .flex .box h3 span { font-size: 20px; }
}
@media (max-width: 1023px) {
.sectionTeacher { padding: 50px 0 20px!important; }
.sectionTeacher .desc { margin: 0!important; padding: 30px 20px 15px; }
.sectionTeacher .flex { padding: 25px 0; }
.sectionTeacher .flex .box { background-color: #fff; }
.sectionTeacher .flex .box h3 span { font-size: 20px; }
.sectionTeacher .loopslider { width: 100%; min-height: 100%; margin: 0 auto; }
}
