@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

/* reset */
*,
*::after,
*::before {
  box-sizing: border-box
}

ul,
ol {
  list-style-type: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* variant */
:root {
  /* color */
  --main: #0066cc;
  --main-light: #3388dd;
  --main-dark: #004499;
  --sub: #ffec17;
  --sub-dark: #F59E0B;
  --subaccent: #bad8da;
  --bg: #fafaff;
  --bg-dark: #d9d9d9;
  --colorless: #fafaff;
  --border: #e2e8f0;
  --bg-paleyellow: #fffbe0;
  --text: #2D3748;
  --text-light: #4A5568;
  --text-muted: #718096;
  --text-animated: rgba(0, 81, 255, 0.1);
  --line: #06c755;
  --price: #c71306;
  /* space */
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-s: 16px;
  --sp-m: 24px;
  --sp-l: 36px;
  --sp-xl: 48px;
  /* fontsize */
  --fs-xxs: 10px;
  --fs-xs: 14px;
  --fs-s: 16px;
  --fs-m: 20px;
  --fs-l: 24px;
  --fs-xl: 32px;
  --fs-xxl: 36px;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* ダークモード */
    --main: #5599ee;
    /* 明るく調整（視認性UP） */
    --main-light: #77aaff;
    /* さらに明るく */
    --main-dark: #3377cc;
    /* 暗くしすぎない */
    --sub: #ffd700;
    /* 黄色は少し落ち着かせる */
    --sub-dark: #FFA500;
    /* オレンジも調整 */
    --subaccent: #5a8a8c;
    /* 暗めに */
    --bg: #37373d;
    --bg-dark: #d9d9d9;
    /* ダークグレー */
    --colorless: #fafaff;
    --border: #2a2a35;
    /* 境界線を見えるように */
    --bg-paleyellow: #3a3520;
    /* 黄色の背景は茶色っぽく */
    --text: #e4e4e7;
    /* 明るいグレー */
    --text-light: #a1a1aa;
    /* 中間グレー */
    --text-muted: #71717a;
    /* さらに暗く */
    --text-animated: rgba(216, 221, 231, 0.8);
  }
}

.zen-maru-gothic {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: normal;
  font-style: normal;
}

.zen-maru-gothic-bold {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/*----------------------------------------
 common */
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: var(--main);
}

a:hover,
a:active {
  text-decoration: none;
  color: var(--main-light);
}

section {
  margin-bottom: var(--sp-xl);
}

.wrapper {
  width: 95%;
  max-width: 1204px;
  margin: 0 auto var(--sp-xl);
}

.heading2 {
  color: var(--main);
  margin-bottom: var(--sp-l);
  text-align: center;
}

.headline {
  position: relative;
  display: inline-block;
}

.headline:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 4px;
  background: var(--main);
  transition: all 0.5s;
}

.headline.isActive:after {
  width: 100%;
}

/* ----------------------------------------
header */
header {
  margin: var(--sp-s) 0;
}

h1 {
  font-size: var(--fs-xxs);
  padding: 50px 1rem 0 1rem;
  background-image: url(../../img/cmn_head_logo.gif);
  background-size: auto 50px;
  background-repeat: no-repeat;
  background-position: 1rem 0;
}

@media (min-width: 768px) {
  header {
    display: flex;
    justify-content: space-between;
  }

  h1 {
    padding: 1rem 1rem 1rem 300px;
    background-size: 250px auto;
  }
}

.head_link {
  display: block;
  width: 50%;
  margin-left: auto;
  font-size: var(--fs-xxs);
  text-align: right;
  padding: .5rem;
}

/* ----------------------------------------
hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.heroWrapper {
  box-sizing: border-box;
  padding: 13.5% 5% 5px;
  background: linear-gradient(to bottom right, var(--main), var(--main-dark));
}

.heroHead {
  color: var(--colorless);
  margin-bottom: var(--sp-xs);
  font-size: clamp(var(--fs-l), 5vw, var(--fs-xl));
}

.heroImg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .heroImg img {
    height: 100%;
  }
}

.heroSubhead {
  background: var(--bg);
  display: flex;
  justify-content: center;
  max-width: 400px;
  padding: var(--sp-xs);
  margin-bottom: var(--sp-l);
  color: var(--main-dark);
  font-size: clamp(var(--fs-xs), 1.5vw, var(--fs-s));
}

.cta {
  display: flex;
  gap: 10px;
  margin-bottom: var(--sp-m);
  flex-wrap: wrap;
  background: linear-gradient(to bottom right, var(--main), var(--main-dark));
  padding: var(--sp-l) 0 var(--sp-s);
  justify-content: center;
  font-weight: 600;
  transition: transform 0.6s ease;
}

@media (min-width: 768px) {
  .cta {
    padding: var(--sp-xl) 0 var(--sp-m);
  }
}

.heroInnerCta {
  padding: var(--sp-s) 0;
  background: none;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .heroInnerCta {
    justify-content: center;
  }
}

.ctaBtn {
  box-sizing: border-box;
  width: 90%;
  padding: 1rem;
  margin-bottom: var(--sp-m);
  text-align: center;
  color: var(--sub);
  border: 2px solid var(--sub);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .ctaBtn {
    margin: var(--sp-l) 0;
    width: 45%;
    max-width: 500px;
  }
}

.cta-inquire,
.cta-inquire:link,
.cta-inquire:visited {
  background: var(--sub);
  color: var(--main-dark);
}

.ctaBtn:hover,
.ctaBtn:active {
  background: var(--colorless);
  color: var(--main-dark);
}

/* ----------------------------------------
price */

.check2605 {
  font-size: var(--fs-xs);
  padding: var(--sp-s) 0;
  margin-bottom: var(--sp-s);
}

.priceTxt {
  margin-bottom: var(--sp-m);
}

.priceTxt.foot {
  text-align: right;
  font-weight: 600;
  font-size: var(--fs-m);
  color: var(--price);
}

.preview-wrap {
  padding: 1rem 0;
}

.view-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.vbtn {
  font-size: 13px;
  padding: 6px 14px;
  background: none;
  border: 0.5px solid var(--color-border-secondary);
  border-radius: var(--border-radius-md);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.vbtn.active {
  background: var(--color-background-secondary);
  color: var(--color-text-primary);
  font-weight: 500;
}

.frame-outer {
  display: flex;
  justify-content: flex-start;
  transition: all .2s;
}

.frame-inner {
  width: 100%;
  transition: width .2s;
  overflow: hidden;
  background-color: var(--bg);
}

.frame-outer.sp .frame-inner {
  width: 375px;
}

.ui {
  padding: var(--sp-m) 0;
}

.ui-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--subaccent);
  margin-bottom: 20px;

}

.tab-btn {
  font-size: var(--fs-s);
  padding: 8px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--main);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all 0.2s ease;
  border-radius: 6px 6px 0 0;
  color: var(--text-muted);
}

.tab-btn:not(.active):hover {
  background: var(--bg-dark);
  color: var(--text);
}

.tab-btn.active {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: #185FA5;
  background: #e8f0fa;
  border-bottom-color: var(--main);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cat-block {
  margin-bottom: 22px;
}

.cat-label {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.cat-grammar {
  background: #E6F1FB;
  color: #0C447C;
}

.cat-reading {
  background: #E1F5EE;
  color: #085041;
}

.cat-listening {
  background: #FAEEDA;
  color: #633806;
}

.cat-writing {
  background: #FBEAF0;
  color: #72243E;
}

.cards {
  display: grid;
  gap: 8px;
}

.cards.col3 {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 768px) {
  .cards.col3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--bg);
  padding: 5px 6px 5px 12px;
  border-left-width: 2px;
  border-left-style: solid;
}

.card.grammar {
  border-left-color: #378ADD;
}

.card.reading {
  border-left-color: #1D9E75;
}

.card.listening {
  border-left-color: #BA7517;
}

.card.writing {
  border-left-color: #D4537E;
}

.card-num {
  font-size: var(--fs-xxs);
  color: var(--color-text-tertiary);
  margin-bottom: 3px;
}

.card-title {
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.5;
}

.sp-note {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--color-background-secondary);
  border-radius: var(--border-radius-md);
}

/* ----------------------------------------
flow */

.flowBox {
  margin-bottom: var(--sp-l);
  display: flex;
  justify-content: space-evenly;
}

.flowItem {
  box-sizing: border-box;
  width: 24%;
  border: 1px solid var(--main-dark);
}

.flowItemHead {
  padding: .5rem 0;
  font-size: var(--fs-s);
  text-align: center;
  background: var(--main-dark);
  color: var(--colorless);
}

.flowItemTxt {
  padding: .5rem;
  font-size: var(--fs-xs);
  line-height: 1.25;
}

/* ----------------------------------------
sample */
.moviebox {
  max-width: 560px;
  margin: 0 auto var(--sp-xl);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.moviebox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------
reason */

.reasonBox {
  margin-bottom: var(--sp-l);
}

.reasonHead {
  box-sizing: border-box;
  border-left: 4px solid var(--sub);
  padding-left: 1rem;
  margin-bottom: var(--sp-s);
}

.reasonImg {
  margin-bottom: var(--sp-xs);
}

.reasonTxt {
  margin-bottom: var(--sp-xs);
  text-wrap: pretty;
  font-size: var(--fs-xs);
}

@media (min-width: 768px) {
  .reasonWrapper {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  .reasonBox {
    width: 30%;
    display: grid;
    grid-template-rows: 5.5rem 250px 1fr;
  }
}

/* ----------------------------------------
teacher */

.teacherBox {
  margin-bottom: var(--sp-m);
}

.teacherHead {
  box-sizing: border-box;
  border-left: 4px solid var(--sub);
  padding-left: 1rem;
  margin-bottom: var(--sp-s);
}

.teacherCat {
  display: inline-block;
  background-color: var(--main-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--colorless);
  padding: var(--sp-xs) var(--sp-s);
  margin: 0 var(--sp-s);
  border-radius: 8px;
}

.teacherImg {
  margin-bottom: var(--sp-xs);
}

.teachertxtBox {
  margin-bottom: var(--sp-xs);
  text-wrap: pretty;
}

.teacherTxt {
  margin-bottom: var(--sp-xs);
}

.fwb {
  display: inline-block;
  font-weight: bold;
  margin-right: var(--sp-xs);
}

@media (min-width: 768px) {
  .teacherBox {
    display: grid;
    grid-template-columns: 4fr 6fr;
    grid-template-areas:
      "head  head"
      "img   txt";
  }

  .teacherHead {
    grid-area: head;
  }

  .teacherImg {
    grid-area: img;
    margin-right: var(--sp-m);
  }

  .teachertxtBox {
    grid-area: txt;
  }
}

@media (max-width: 767px) {
  .teacherBox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "head  img"
      "txt   txt";
  }

  .teacherHead {
    grid-area: head;
  }

  .teacherImg {
    grid-area: img;

  }

  .teacherCat {
    margin-left: 0;
    margin-top: 1rem;
  }

  .teachertxtBox {
    grid-area: txt;
    font-size: var(--fs-xs);
  }
}

/* ----------------------------------------
faq */

#faq {
  padding: var(--sp-l) 5%;
  background-color: var(--border);
}

.faqBox {
  color: var(--text-muted);
  background: var(--colorless);
  padding: var(--sp-s);
}

.faqQue {
  margin-bottom: var(--sp-xs);
  padding-left: 2.5rem;
  font-weight: 600;
  position: relative;
}

.faqQue:before {
  content: "Q";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  line-height: 1.8rem;
  border-radius: 1rem;
  background-color: var(--main);
  color: var(--colorless);
  font-weight: 800;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

.faqAns {
  margin-bottom: var(--sp-m);
  padding-left: 2.5rem;
  position: relative;
}

.faqAns:before {
  content: "A";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  line-height: 1.9rem;
  border-radius: 1rem;
  background-color: var(--sub-dark);
  color: var(--colorless);
  font-weight: 800;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

.faqAnsHead {
  margin-left: .5rem;
}

.faqAnslistBox {
  margin-left: .5rem;
}

.faqAnslistHead {
  font-weight: 600;
  margin-left: -.5rem;
}

.faqAnslistDt {
  margin-left: .5rem;
}

/* ----------------------------------------
result */
.headSub {
  text-align: center;
  margin-bottom: var(--sp-m);
}

.restltImg {
  margin: 0 auto var(--sp-s);
  max-width: 600px;

}

.restltTxt {
  margin-bottom: var(--sp-m);
  text-align: center;
}

.resultTbl {
  width: 100%;
  max-width: 600px;
  margin: 0 auto var(--sp-s);
  border-collapse: collapse;
  border: 1px dotted var(--text-light);
}

.resultThead {
  padding: var(--sp-xs);
  color: var(--sub-dark);
  border-bottom: 1px dotted var(--text-light);
  border-right: 1px dotted var(--text-light);
}

.resultTcnt {
  padding: var(--sp-xs);
  border-bottom: 1px dotted var(--text-light);
}

/* ----------------------------------------
voice */

.voiceBox {
  margin-bottom: var(--sp-m);
}

.voiceHead {
  box-sizing: border-box;
  border-left: 4px solid var(--sub);
  padding-left: 1rem;
  margin-bottom: var(--sp-s);
}

.catHead {
  display: inline-block;
  width: 5rem;
  margin: 0 1rem var(--sp-xxs) 0;
  background-color: var(--main);
  border-radius: 4px;
  text-align: center;
  color: var(--colorless);
  font-weight: 600;
  font-size: var(--fs-xs);
}

.voiceImg {
  margin-bottom: var(--sp-xs);
}

.voiceTxt {
  margin-bottom: var(--sp-xs);
  text-wrap: pretty;
  font-size: var(--fs-xs);
}

@media (min-width: 768px) {
  .voiceWrapper {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  .voiceBox {
    width: 30%;
    display: grid;
    grid-template-rows: 5.5rem 1fr 2fr;
  }
}

.breadcrumb {
  font-size: var(--fs-xxs);
}

.bcBox {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 1rem;
}

.bcBox::-webkit-scrollbar {
  display: none;
}

.bcBox li {
  white-space: nowrap;
}

.bcBox li+li::before {
  content: ">";
  margin: 0 4px;
}

.breadcrumb {
  position: relative;
}

.breadcrumb::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  /* フェード部分クリックを下に通す */
}

footer {
  background: var(--bg-dark);
  padding: var(--sp-xl) var(--sp-xs);
}

.footerWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-m);
}

.footerhead {
  color: var(--text-light);
}

.snsBox {
  display: flex;
  gap: 1.5rem;
}

.snsItem a {
  color: var(--main-dark);
  font-size: var(--fs-l);
}

.pageLink {
  margin-bottom: var(--sp-s);
}

@media (min-width: 768px) {
  .pageLink {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
  }
}

.pageLink a {
  color: var(--main-dark);
  font-size: var(--fs-s);
  vertical-align: middle;
}

.fa-angle-right {
  font-size: var(--fs-xxs);
}

.trademark,
.copyright {
  display: block;
  font-size: var(--fs-xxs);
  text-align: center;
  margin-bottom: var(--sp-xs);
  color: var(--text-muted);
}

/* --------------------
termsofservice　タグ変更 */
.terms {
  background-color: var(--border);
  padding: var(--sp-xl) 0;
}

.element_box {
  line-height: 200%;
  font-size: var(--fs-s);
  padding: var(--sp-xl) var(--sp-m);
  background-color: var(--bg);
}

.kiyaku-mainHead {
  margin-bottom: var(--sp-m);
  font-size: var(--fs-m);
  text-align: center;
}

.kiyaku-head {
  font-weight: bold;
}

.kiyaku-txt {
  margin-bottom: var(--sp-s);
}

.kiyaku-listBox {
  margin-bottom: var(--sp-m);
}

.kiyaku-list {
  margin-bottom: var(--sp-s);
}

.kiyaku-sublist {
  padding-left: 2rem;
}

.kiyakuBox {
  margin-bottom: var(--sp-l);
}

.column_cv_pc {
  width: 90%;
  max-width: 500px;
  margin: 0 auto var(--sp-l);
}