@charset "UTF-8";

.pageHeader--materials .pageHeader__bg img { object-position: center 46%; }
@media screen and (max-width: 1024px) {
  .pageHeader--materials .pageHeader__bg { transform-origin: bottom center; }
}
.materials-pageHeader__badge { padding: 6px 16px; border-radius: 20px; color: #5B3218; background: rgba(255,248,222,.94); font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; }

.materials-intro .shape.--bottom { bottom: -180px; }
.materials-intro .sec__ttl--ja { color: #333; text-align: center; letter-spacing: .04em; }
.materials-intro__lead,
.materials-concept__body,
.materials-detail__text,
.materials-cup__intro,
.materials-cta__box > p { font-family: "Noto Sans JP", sans-serif; letter-spacing: .06em; font-weight: 500; line-height: 2; }
.materials-intro__lead { margin: 32px auto 0; max-width: 850px; font-size: 1.8rem; text-align: center; }
.materials-intro__lead p + p { margin-top: 10px; }
.materials-intro__cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.materials-intro__card { overflow: hidden; position: relative; height: 250px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(91,50,24,.1); }
.materials-intro__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.materials-intro__card:hover img { transform: scale(1.03); }
.materials-intro__card span { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 12px; border-radius: 8px; color: #5B3218; background: rgba(255,255,255,.94); font-size: 1.8rem; font-weight: 700; text-align: center; }

.materials-page .sec { margin: 0; padding: 88px 0; }
.materials-page .materials-intro,
.materials-page .materials-lego,
.materials-page .materials-compare,
.materials-page .materials-course { background: #FFF8DE; }
.materials-page .materials-concept { background: #F1F7DF; }
.materials-page .materials-minecraft-main,
.materials-page .materials-cup,
.materials-page .materials-style,
.materials-page .materials-cta { background: #FFFAF0; }

.materials-concept { padding: 105px 0 115px; background: rgba(85,193,213,.1); }
.materials-concept__body { margin: 35px auto 0; max-width: 850px; font-size: 1.7rem; }
.materials-concept__body p + p { margin-top: 16px; }
.materials-concept__process { margin-top: 45px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.materials-concept__process li { padding: 25px 12px; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 5px 15px rgba(91,50,24,.07); }
.materials-concept__process span { margin: 0 auto; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: #F49E1A; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.materials-concept__process li:nth-child(2) span { background: #8EB92B; }
.materials-concept__process li:nth-child(3) span { background: #55C1D5; }
.materials-concept__process li:nth-child(4) span { background: #FD81E9; }
.materials-concept__process strong { margin-top: 12px; color: #5B3218; font-size: 2rem; display: block; }
.materials-concept__process small { margin-top: 6px; font-family: "Noto Sans JP", sans-serif; font-size: 1.3rem; display: block; }

.materials-detail__heading { display: grid; grid-template-columns: 1fr 46%; gap: 50px; align-items: center; }
.materials-detail__heading--reverse > div { order: 2; }
.materials-detail__heading--reverse > img { order: 1; }
.materials-detail__heading h2 { margin-top: 10px; color: #5B3218; font-size: 3.2rem; font-weight: 700; line-height: 1.5; }
.materials-detail__label { color: #F49E1A; font-size: 1.5rem; font-weight: 700; letter-spacing: .15em; }
.materials-minecraft .materials-detail__label { color: #55C1D5; }
.materials-detail__heading img { width: 100%; height: 330px; border-radius: 14px; object-fit: cover; background: #fff; }
.materials-detail__text { margin: 35px auto 0; max-width: 900px; font-size: 1.7rem; }
.materials-skillCards { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.materials-skillCards li { padding: 28px 20px; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(91,50,24,.08); }
.materials-skillCards span { color: #F49E1A; font-weight: 700; letter-spacing: .1em; }
.materials-minecraft .materials-skillCards span { color: #55C1D5; }
.materials-skillCards h3 { margin-top: 8px; color: #5B3218; font-size: 1.9rem; font-weight: 700; }
.materials-skillCards p { margin-top: 10px; font-family: "Noto Sans JP", sans-serif; font-size: 1.4rem; line-height: 1.8; }
.materials-related { margin: 38px auto 0; padding: 22px 28px; max-width: 850px; border-radius: 10px; background: rgba(244,158,26,.1); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.materials-related > p { color: #5B3218; font-weight: 700; white-space: nowrap; }
.materials-related > div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.materials-related a { color: #5B3218; font-family: "Noto Sans JP", sans-serif; font-size: 1.4rem; font-weight: 700; text-decoration: underline; }
.materials-minecraft { padding: 105px 0 115px; background: rgba(142,185,43,.08); }
.materials-minecraft-main { background: rgba(85,193,213,.1); }

.materials-legoExamples__ttl { margin-top: 40px; padding-left: 14px; border-left: 5px solid #F49E1A; color: #5B3218; font-size: 2.2rem; font-weight: 700; line-height: 1.5; }
.materials-legoLineup { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.materials-legoLineup article { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(91,50,24,.08); display: flex; flex-direction: column; }
.materials-legoLineup img { width: 100%; height: 210px; display: block; object-fit: cover; background: #FFF8DE; }
.materials-legoLineup article:nth-child(2) img { object-position: center; }
.materials-legoLineup div { padding: 22px 22px 26px; font-family: "Noto Sans JP", sans-serif; display: flex; flex-direction: column; flex-grow: 1; }
.materials-legoLineup__label { color: #F49E1A; font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.materials-legoLineup__badge { margin-bottom: 10px; padding: 5px 10px; width: fit-content; border-radius: 18px; color: #fff; background: #DB5558; display: inline-block; font-size: 1.3rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.materials-legoLineup h3 { margin-top: 10px; color: #5B3218; font-size: 2rem; font-weight: 700; line-height: 1.5; }
.materials-legoLineup p { margin-top: 10px; font-size: 1.4rem; font-weight: 500; line-height: 1.8; }
.materials-legoLineup__btn { margin-top: auto; padding-top: 18px; color: #5B3218; font-size: 1.4rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.materials-cup .shape.--top { top: -80px; }
.materials-cup .sec__ttl--ja { text-align: center; }
.materials-cup__intro { margin: 45px auto 0; max-width: 900px; display: grid; grid-template-columns: 280px 1fr; gap: 45px; align-items: center; font-size: 1.6rem; }
.materials-cup__intro img { width: 100%; height: 340px; border-radius: 14px; object-fit: cover; filter: drop-shadow(0 6px 12px rgba(91,50,24,.12)); }
.materials-cup__intro p + p { margin-top: 14px; }
.materials-cup__target { padding: 8px 14px; width: fit-content; border-radius: 20px; color: #5B3218; background: rgba(142,185,43,.18); font-weight: 700; }
.materials-cup__features { margin-top: 45px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.materials-cup__features li { padding: 28px 30px; border-left: 7px solid #8EB92B; border-radius: 8px; background: #fff; box-shadow: 0 5px 18px rgba(91,50,24,.07); }
.materials-cup__features h3 { color: #5B3218; font-size: 1.9rem; font-weight: 700; }
.materials-cup__features p { margin-top: 8px; font-family: "Noto Sans JP", sans-serif; font-size: 1.4rem; line-height: 1.8; }
.materials-cup__powers { margin: 40px auto 0; padding: 28px; max-width: 900px; border-radius: 12px; background: rgba(85,193,213,.1); text-align: center; }
.materials-cup__powers h3 { color: #5B3218; font-size: 2rem; font-weight: 700; }
.materials-cup__powers ul { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.materials-cup__powers li { padding: 8px 17px; border-radius: 22px; background: #fff; font-family: "Noto Sans JP", sans-serif; font-size: 1.4rem; font-weight: 700; }
.materials-cup__flow { margin-top: 45px; display: grid; grid-template-columns: repeat(5, 1fr); }
.materials-cup__flow li { position: relative; text-align: center; }
.materials-cup__flow li:not(:last-child)::after { content: ""; position: absolute; top: 27px; right: -7px; width: 14px; height: 14px; border-top: 3px solid #5B3218; border-right: 3px solid #5B3218; transform: rotate(45deg); }
.materials-cup__flow span { margin: 0 auto; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: #F49E1A; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; }
.materials-cup__flow li:nth-child(2) span { background: #8EB92B; }
.materials-cup__flow li:nth-child(3) span { background: #55C1D5; }
.materials-cup__flow li:nth-child(4) span { background: #FD81E9; }
.materials-cup__flow li:nth-child(5) span { background: #DB5558; }
.materials-cup__flow strong { margin-top: 13px; color: #5B3218; display: block; font-size: 1.5rem; }

.materials-compare { padding: 105px 0 115px; background: rgba(244,158,26,.08); }
.materials-compare__cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.materials-compare__cards article { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(91,50,24,.07); }
.materials-compare__cards h3 { padding: 18px; color: #fff; background: #F49E1A; font-size: 2rem; font-weight: 700; text-align: center; }
.materials-compare__cards article:nth-child(2) h3 { background: #55C1D5; }
.materials-compare__cards article:nth-child(3) h3 { background: #8EB92B; }
.materials-compare__cards dl { padding: 22px; font-family: "Noto Sans JP", sans-serif; }
.materials-compare__cards dt { margin-top: 15px; color: #5B3218; font-size: 1.4rem; font-weight: 700; }
.materials-compare__cards dt:first-child { margin-top: 0; }
.materials-compare__cards dd { margin-top: 5px; font-size: 1.4rem; line-height: 1.7; }
.materials-compare__note { margin-top: 24px; font-family: "Noto Sans JP", sans-serif; font-size: 1.3rem; text-align: center; }

.materials-style__inner { display: grid; grid-template-columns: 44% 1fr; gap: 55px; align-items: center; }
.materials-style__image img { width: 100%; border-radius: 14px; }
.materials-style__content .sec__ttl { align-items: flex-start; }
.materials-style__content .sec__ttl--ja { font-size: 2.8rem; }
.materials-style__content ul { margin-top: 30px; }
.materials-style__content li { padding: 9px 0 9px 30px; position: relative; font-family: "Noto Sans JP", sans-serif; font-size: 1.6rem; font-weight: 700; }
.materials-style__content li::before { content: ""; position: absolute; top: 13px; left: 0; width: 18px; height: 18px; background: url(../img/common/icon-check.svg) no-repeat center/contain; }

.materials-course { padding: 105px 0 115px; background: rgba(244,158,26,.08); }
.materials-course__inner { display: grid; grid-template-columns: 42% 1fr; gap: 55px; align-items: center; }
.materials-course__image img { width: 100%; height: 300px; border-radius: 14px; object-fit: cover; }
.materials-course__content .sec__ttl { align-items: flex-start; }
.materials-course__content .sec__ttl--ja { font-size: 2.8rem; }
.materials-course__content p { margin-top: 28px; font-family: "Noto Sans JP", sans-serif; font-size: 1.6rem; font-weight: 500; line-height: 2; letter-spacing: .06em; }
.materials-course__content .btn { margin-top: 28px; }

.materials-cta__box { padding: 58px 7%; position: relative; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(91,50,24,.1); }
.materials-cta__box > p { margin: 28px auto 0; max-width: 800px; font-size: 1.6rem; text-align: center; }
.materials-cta__buttons { margin-top: 35px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.materials-cta__line { padding: 0 25px; height: 63px; border-radius: 63px; color: #fff; background: #4CC764; box-shadow: 0 3px 0 #288f3d; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; }
.materials-cta__line img { width: 30px; height: 30px; }

.courseOverview__lead { margin: 30px auto 0; max-width: 780px; font-family: "Noto Sans JP", sans-serif; font-size: 1.7rem; line-height: 2; text-align: center; }
.courseOverview__list { margin-top: 45px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.courseOverview__item { padding: 32px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(91,50,24,.08); }
.courseOverview__item h2 { color: #5B3218; font-size: 2.3rem; font-weight: 700; }
.courseOverview__item p { margin-top: 13px; font-family: "Noto Sans JP", sans-serif; font-size: 1.4rem; line-height: 1.8; }
.courseOverview__item .btn { margin-top: 22px; }

@media screen and (max-width: 1024px) {
  .materials-page .sec { padding: 64px 0; }
  .materials-pageHeader__badge { padding: 5px 12px; font-size: 1.2rem; }
  .materials-intro .sec__ttl--ja { font-size: 2.3rem; }
  .materials-intro__lead, .materials-concept__body, .materials-detail__text { font-size: 1.4rem; text-align: left; }
  .materials-intro__cards { margin-top: 32px; grid-template-columns: 1fr; gap: 16px; }
  .materials-intro__card { height: 220px; }
  .materials-concept, .materials-minecraft, .materials-compare, .materials-course { padding: 64px 0; }
  .materials-concept__process, .materials-skillCards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .materials-detail__heading, .materials-style__inner, .materials-course__inner { grid-template-columns: 1fr; gap: 28px; }
  .materials-detail__heading--reverse > div, .materials-detail__heading--reverse > img { order: initial; }
  .materials-detail__heading h2 { font-size: 2.3rem; }
  .materials-detail__heading img { height: 280px; }
  .materials-legoExamples__ttl { margin-top: 32px; font-size: 1.9rem; }
  .materials-legoLineup { grid-template-columns: 1fr; gap: 16px; }
  .materials-legoLineup article { display: grid; grid-template-columns: 34% 1fr; align-items: center; }
  .materials-legoLineup img { height: 100%; min-height: 190px; }
  .materials-related { display: block; }
  .materials-related > div { margin-top: 12px; display: grid; }
  .materials-cup__intro { grid-template-columns: 180px 1fr; gap: 28px; font-size: 1.4rem; }
  .materials-cup__features { grid-template-columns: 1fr; }
  .materials-cup__flow { grid-template-columns: 1fr; gap: 28px; }
  .materials-cup__flow li { display: grid; grid-template-columns: 50px 1fr; align-items: center; text-align: left; gap: 15px; }
  .materials-cup__flow span { margin: 0; width: 50px; height: 50px; }
  .materials-cup__flow strong { margin: 0; }
  .materials-cup__flow li:not(:last-child)::after { top: auto; right: auto; bottom: -21px; left: 18px; transform: rotate(135deg); }
  .materials-compare__cards { grid-template-columns: 1fr; gap: 16px; }
  .materials-style__content .sec__ttl { align-items: center; }
  .materials-style__content .sec__ttl--ja { font-size: 2.3rem; text-align: center; }
  .materials-course { padding: 64px 0; }
  .materials-course__content .sec__ttl { align-items: center; }
  .materials-course__content .sec__ttl--ja { font-size: 2.3rem; text-align: center; }
  .materials-course__content p { font-size: 1.4rem; }
  .materials-course__content .btn { margin-inline: auto; }
  .materials-cta__box { padding: 42px 6%; }
  .materials-cta__box > p { font-size: 1.4rem; text-align: left; }
  .materials-cta__buttons { flex-direction: column; align-items: center; }
  .materials-cta__buttons .btn, .materials-cta__line { width: 100%; max-width: 340px; }
  .courseOverview__lead { font-size: 1.4rem; text-align: left; }
  .courseOverview__list { grid-template-columns: 1fr; gap: 16px; }
}

@media screen and (max-width: 599.98px) {
  .materials-page .sec { padding: 56px 0; }
  .materials-intro__card { height: 190px; }
  .materials-concept__process, .materials-skillCards { grid-template-columns: 1fr; }
  .materials-detail__heading img { height: 220px; }
  .materials-legoLineup article { display: block; }
  .materials-legoLineup img { height: 210px; min-height: 0; }
  .materials-cup__intro { grid-template-columns: 1fr; }
  .materials-cup__intro img { margin: 0 auto; width: 100%; height: 240px; }
  .materials-cup__powers { padding: 22px 4%; }
  .materials-cup__powers li { font-size: 1.2rem; }
  .materials-course__image img { height: 220px; }
  .courseOverview__item { padding: 26px 6%; }
}
