@charset "UTF-8";
/* 
// Breakpoint設定
  $pc: "all and (min-width: 768px)";
  $md: "all and (min-width: 768px) and (max-width: 1199px)";
  $sp: "all and (max-width: 767px)";
  $xs: "all and (max-width: 374px)";
*/

:root {
  --basecolor: #3EC1AF;
  --basecolor_1: #9ED5CD;
  --basecolor_2: #D9EEEA;
  --pointcolor_1: #F951A5;
  --pointcolor_2: #FEFFBD;
  --pointcolor_3: #F99A51;
  --base_size: calc(18 / 16 * 1rem);
  --small_size: calc(14 / 16 * 1rem);
  --large_size: calc(20 / 16 * 1rem);
  --title_size: calc(24 / 16 * 1rem);
  --font-family-noto: "Noto Sans JP", sans-serif;
  --font-family-zen: "Zen Maru Gothic", sans-serif;
  --leading-trim: calc((1em - 1lh) / 2); /* １行もの */
  /* svg */
  --case-icon-url: url("../img/note.svg");
  --case-icon-size: 16px;
  --case-icon-gap: 6px;
  --case-icon-leftpad: 8px;
  --case-left-indent: calc(2.4em + var(--case-icon-size) + var(--case-icon-gap) + var(--case-icon-leftpad));
  /* case-list */
  --scroll-hint-color: var(--pointcolor_1, #F995C7);
  --scroll-hint-size: 28px;
}

* {
  box-sizing: border-box;
}
html {
      -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
}
body {
  position: relative;
  margin: 0;
  padding: 0;
  font-weight: 400;
  word-wrap: break-word;
  vertical-align: baseline;

  font-feature-settings: "pwid" 1;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: unset;
  -webkit-text-size-adjust: 100%;
}
h2,
h3,
h4,
p,
dt,
dd,
li,
a {
  transform: rotate(.03deg);
  font-weight: normal;
}
h2,
h3,
h4 {
  margin: 1em 0;
}
h2 img,
h3 img,
a img,
p img,
li img {
  transform: rotate(-.03deg);
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
figure {
  margin: 0;
}
img {
  display: block;
  flex-shrink: 0;
  transform: translate3d(0, 0, 0);
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  border: none;

  object-fit: cover;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
img[loading="lazy"] {
  display: block;
}
ul,
ol,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}
li,
ol {
  list-style: none;
}
a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a:focus-visible {
  border-radius: 4px;
  outline: 3px solid color-mix(in srgb, var(--basecolor), #000000 20%);

  outline-offset: 2px;
}
a.blue,
a.blue:hover,
a.blue:visited {
  padding-bottom: 1px;
  border-bottom: 2px solid currentColor;
  color: #0000FF;
  text-decoration: none;
}
span {
  display: inline;
}
.pc {
  display: inline-block;
}
.sp {
  display: none;
}
/* BASE */
body {
  padding-top: 0;
  background-color: #CFCFCF;
  color: #000000;
  font-size: var(--base_size);
  font-family: var(--font-family-noto);
}
.wrapper {
  width: 790px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
  background-color: #FFFFFF;
}
section {
  margin-bottom: 4em;
}
.green-wrap {
  margin-top: 20px;
  padding: 1em;
  border: 1px solid color-mix(in srgb, var(--basecolor_2), #000000 6%);
  border-radius: 4px;
  background-color: var(--basecolor_2);
}
.inner-content {
  margin: 2em 0 3em;
}
p {
  margin-bottom: 1em;
  font-size: var(--base_size);
  line-height: 1.6;
  letter-spacing: .02em;
}
.bold {
  font-weight: 500;
}
.t-center {
  text-align: center;
}
.marker-pink {
  background:         linear-gradient(transparent 70%, rgb(233 14 128 / .5) 70%);
  background: -webkit-linear-gradient(transparent 70%, rgb(233 14 128 / .5) 70%);
}
.marker-blue {
  background: -webkit-linear-gradient(transparent 70%, rgb(14 165 233 / .5) 70%);
  background:         linear-gradient(transparent 70%, rgb(14 165 233 / .5) 70%);
}
.marker-yellow {
  background: -webkit-linear-gradient(transparent 70%, rgb(252 211 77 / .5) 70%);
  background:         linear-gradient(transparent 70%, rgb(252 211 77 / .5) 70%);
}
.marker-green {
  background: -webkit-linear-gradient(transparent 70%, rgb(21 128 61 / .5) 70%);
  background:         linear-gradient(transparent 70%, rgb(21 128 61 / .5) 70%);
}
.btn {
  display: block;
  position: relative;
  padding: 10px 36px 10px 16px;
  border-radius: 8px;
  background: var(--pointcolor_3);
  color: #FFFFFF;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}
.btn:hover {
  opacity: .9;
}
.btn::after {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%) translateX(0);
  width: 1em;
  height: 1em;
  background-color: currentColor;
  content: "";
  transition: transform 420ms cubic-bezier(.22,.7,.26,1);

  -webkit-mask: url("../img/arrow-right.svg") no-repeat center / contain;
          mask: url("../img/arrow-right.svg") no-repeat center / contain;
}
.btn:hover::after {
  transform: translateY(-50%) translateX(6px);
}
.btn:focus-visible::after {
  transform: translateY(-50%) translateX(6px);
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover::after {
    transform: translateY(-50%);
  }
}
.title {
  margin-bottom: 16px;
  padding: .25em 0 .25em 1em;
  background-color: var(--basecolor);
  color: #FFFFFF;
  font-weight: 500;
  font-size: var(--title_size);
  font-family: var(--font-family-zen);

  margin-block: var(--leading-trim);
}
.title > .sub-text {
  font-size: var(--large_size);
  vertical-align: bottom;
}
.sub-title {
  width: fit-content;
  margin-top: 3em;
  font-weight: 500;
  font-size: var(--title_size);
}
.svg-icon {
  display: inline-block;
  width: auto;
  height: 1em;
  margin-right: .25em;
  margin-left: .25em;
  vertical-align: -.13em;
}

@media all and (max-width: 767px) {
  :root {
    --base_size: calc(16 / 16 * 1rem);
    --small_size: calc(12 / 16 * 1rem);
    --large_size: calc(18 / 16 * 1rem);
    --title_size: calc(20 / 16 * 1rem);
  }
  body {
    padding-top: 0;
    background-color: #FFFFFF;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .wrapper {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
}
/* contents */
h1 img {
  margin: 0 auto;
}
#videos .sub-text {
  display: grid;
  align-items: center;

  grid-template-columns: 150px 1fr 150px;
  gap: 1em;
}
.sub-text p {
  line-height: 1.9;
}
.sub-text img {
  transform: scale(1.25);
}
.teacher-video-wrap,
.student-video-wrap {
  width: 95%;
  margin-right: auto;
  margin-left: auto;
}
.student-video-list {
  display: grid;

  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}
.video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;

  aspect-ratio: 16/9;
}
.video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;

  inset: 0;
}
.video-title {
  font-size: var(--base_size);
  font-family: var(--font-family-noto);
}
.label {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-bottom: .28em;
  padding: .25em .6em .3em;
  background: var(--basecolor);
  color: #FFFFFF;
  font-weight: 500;
  font-size: var(--small_size);
  line-height: 1;
  font-family: var(--font-family-zen);
  letter-spacing: .02em;
  white-space: nowrap;

  gap: .2em;
}
.label.st {
  background-color: var(--pointcolor_1);
}
.ex-case-list {
  display: grid;
  list-style: none;

  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ex-case-list > li {
  display: grid;
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #E7E7E7;
  border-radius: 8px;
  background: #FFFFFF;

  grid-template-rows: auto auto 1fr;
  grid-row: span 3;
  grid-template-rows: subgrid;
  gap: 8px;
}
.ex-case-list > li img {
  display: block;
  width: 100%;
  height: auto;

  grid-row: 1;
}
.ex-case-list > li > .case-title {
  min-height: 0;
  margin: 0;

  grid-row: 2;
}
.ex-case-list .btn {
  align-self: end;
  width: fit-content;

  justify-self: center;
  grid-row: 3;
}
body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}
.case-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  width: 100dvw;
  height: 100dvh;
  padding: 0;
  background: rgba(0,0,0,.8);

  inset: 0;
  place-items: center;
}
@supports not (height: 100dvh) {
  .case-modal {
    width: 100vw;
    height: 100vh;
  }
}
.case-modal.is-open {
  display: grid;
}
.case-modal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(80vw, 1080px, calc(85vh * (1080 / 764)));
  padding: 2em;
  background: transparent;
}
@supports (height: 100dvh) {
  .case-modal__inner {
    width: min(80vw, 1080px, calc(85dvh * (1080 / 764)));
  }
  .case-modal__img {
    max-height: 85dvh;
  }
}
.case-modal__img {
  max-width: 100%;
  height: auto;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);

  object-fit: contain;
}
.case-modal__close {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  height: 44px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid var(--pointcolor_3);
  border-radius: 3px;
  background: #FFFFFF;
  color: var(--pointcolor_3);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.case-modal__close:hover {
  background: var(--pointcolor_3);
  color: #FFFFFF;
}
.case-title {
  margin-top: 8px;
  font-weight: 500;
}
.case-list-wrap {
  position: relative;
  width: 100%;
  margin-top: 2em;
  padding: 1em;
  border: 2px dashed #FFFFFF;
  box-shadow: 0 0 0 6px var(--basecolor_2);
  background-color: var(--basecolor_2);
}
.case-list-wrap h4 {
  color: var(--basecolor);
  font-weight: 500;
  font-size: var(--large_size);
  text-align: center;
}
.case-list {
  max-height: 420px;
  margin: 12px 0 0;
  padding-right: .25rem;
  overflow: auto;
  counter-reset: case;

  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(0,0,0,.28) transparent;
  scrollbar-width: thin;
}
.case-list::-webkit-scrollbar {
  width: 8px;
}
.case-list::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}
.case-list:hover::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.28);
}
.case-list-wrap::after {
  opacity: 0;
  position: absolute;
  right: 1em;
  bottom: 1em;
  left: 1em;
  height: 52px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--basecolor_2) 70%);
  content: "";
  transition: opacity .25s ease;

  pointer-events: none;
}
.case-list-wrap::before {
  opacity: 0;
  position: absolute;
  bottom: 1em;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%) translateY(0);
  width: 36px;
  height: 36px;
  background-color: #000000;
  content: "";
  transition: opacity .25s ease, transform .4s cubic-bezier(.22,.7,.26,1);

  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
}
.case-list-wrap.is-scrollable:hover::after {
  opacity: 1;
}
.case-list-wrap.is-scrollable:hover::before {
  opacity: .85;
  transform: translateX(-50%) translateY(3px);
}
.case-list-wrap.at-bottom:hover::after,
.case-list-wrap.at-bottom:hover::before {
  opacity: 0;
}
.case-list > li {
  position: relative;
  margin: 8px 0;
  padding-bottom: 8px;
  padding-left: var(--case-left-indent);
  line-height: 1.7;
  counter-increment: case;
}
.case-list > li::before {
  position: absolute;
  top: .1em;
  left: 0;
  padding: 2px 8px;
  padding-left: calc(var(--case-icon-leftpad) + var(--case-icon-size) + var(--case-icon-gap));
  border: 1px solid color-mix(in srgb, #FFFFFF, #000000 8%);
  border-radius: 6px;
  background: #FFFFFF;
  background-image: var(--case-icon-url);
  background-position: var(--case-icon-leftpad) 50%;
  background-size: var(--case-icon-size) var(--case-icon-size);
  background-repeat: no-repeat;
  color: #0F172A;
  font-weight: 500;
  line-height: 1.3;
  font-family: var(--font-family-zen);
  content: counter(case, decimal-leading-zero);

  font-variant-numeric: tabular-nums;
}
.case-list > li::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: var(--case-left-indent);
  border-bottom: 1px dashed #CCCCCC;
  content: "";
}
.case-list > li.no-number {
  color: #666666;
  text-align: right;
}
.case-list > li.no-number::before {
  padding-left: 0;
  background: none;
  content: none;
}
.case-list > li.no-number::after {
  display: none;
}
.about-wrap .title > .sub-text {
  margin-left: 1em;
}
.about-list {
  display: grid;
  margin-top: 1em;
  margin-left: 1em;

  grid-template-columns: 8em 1fr;
  gap: 6px 14px;
}
.about-list dt {
  margin-bottom: 1em;
  font-weight: 500;
}
.about-list dd {
  margin: 0;
  margin-bottom: 1em;
  line-height: 1.5;
}
.about-list dt:last-child,
.about-list dd:last-child {
  margin-bottom: 0;
}
.cta {
  margin-top: 3em;
  text-align: center;
}
.cta .btn {
  max-width: 80%;
  margin-right: auto;
  margin-left: auto;
  padding: 1.5em 2em 1.5em 1em;
  font-size: var(--large_size);
  line-height: 1.5;
}
.cta .btn::after {
  right: 20px;
  width: 32px;
  height: 32px;
}
.fb-wrap {
  display: grid;
  align-items: center;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  padding: 1em 1em;
  border: solid 1px #1877F2;
  box-shadow: 0 0 0 2px #1877F2;

  grid-template-columns: 100px 1fr;
  gap: 1em;
}
.fb-icon {
  width: 100px;
  height: auto;
}


@media (max-width: 767px) {
  #videos .sub-text {
    grid-template-columns: 50px 1fr 50px;
    gap: 10px;
  }
  .sub-text p {
    line-height: 1.75;
  }
  .student-video-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 2em;
  }
  .sub-title > span {
    display: inline-block;
  }
  .ex-case-list {
    grid-template-columns: 1fr;
  }
  .about-wrap .title > .sub-text {
    display: inline-block;
  }
  .about-list {
    grid-template-columns: 1fr;
  }
  .about-list {
    grid-template-columns: 1fr;
  }
  .about-list dt {
    margin-bottom: 0;
  }
  .cta .btn {
    max-width: 95%;
    padding-right: 4em;
    font-size: var(--base_size);
  }
  .fb-wrap {
    width: 90%;

    grid-template-columns: 50px 1fr;
  }
  .fb-icon {
    width: 50px;
    height: auto;
  }
}

/*  */
.links {
  margin: 15px;
  border-top: 1px dotted #999999;
}
.links a {
  display: table;
  width: 100%;
  margin: 5px 0;
  padding: 5px 10px;
}
.links a span.text {
  display: table-cell;
  width: 570px;
  padding-left: 20px;
  background-image: url(../img/link_arrow.png);
  background-position: center left;
  background-repeat: no-repeat;
  line-height: 1.2em;
  vertical-align: middle;
}
.links a span.banner {
  display: table-cell;
  width: 200px;
  vertical-align: middle;
}
.links a span.banner img {
  width: 195px;
}
.links a:hover {
  opacity: .8;
  color: #003366;
}

@media all and (max-width: 767px) {
  .links {
    margin: 4vw 0;
    border-top: 1px dotted #999999;
  }
  .links a {
    display: block;
    width: 100%;
    margin: 2.67vw 0;
    padding: 1.33vw 2.67vw;
  }
  .links a span.text {
    display: block;
    width: 100%;
    padding-left: 5.33vw;
    background-image: url(../img/link_arrow.png);
    background-position: top 0vw left 0;
    background-repeat: no-repeat;
    font-size: 3.5vw;
  }
  .links a span.banner {
    display: block;
    width: 100%;
    text-align: center;
  }
  .links a span.banner img {
    width: 52vw;
    margin: 2vw auto 0;
  }
  .links a:hover {
    opacity: .8;
    color: #003366;
  }
}

footer {
  font-size: 10px;
  text-align: center;
}