:root {
  --brand-cyan: #69D5E8;
  --brand-teal: #A7E6C3;
  --brand-lightyellow:#F8FC94;
  --brand-blue: #0070bc;
  --btn-blue: #5477b8;
  --btn-teal: #2cbba0;
  --bg: #f4fbfc;
  --text: #334155;
  --muted: #64748b;
  --card: #ffffff;
  --border: #A7E6C3;
  --shadow: 0 6px 18px rgba(15, 23, 42, .06);
  --radius: 28px;
  --grad: linear-gradient(130deg, var(--brand-cyan) 0%, var(--brand-teal)80%,var(--brand-lightyellow) 100%);
  --wv-border: rgba(0, 0, 0, 0.10);
  --wv-border-2: rgba(0, 0, 0, 0.07);
  --wv-blue: #1e6ea7;
}

* {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
	background: url(img/bg01.png) repeat #fff;
	-webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

h1,
p {
  color: #3A414D;
}

/* Header */
.date-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
  box-shadow: 0 6px 12px rgba(8, 35, 48, 0.04);
}



.header-inner {
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}



@media (max-width: 767px) {

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-title {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    width: 100%;
  }

}


.header-logo img {
  height: 24px;
  width: auto;
  opacity: .85;
}


.header-title {
  display: flex;
  justify-content: flex-end;
  gap: 10px; /* ボタン間の余白（任意） */
  width: 100%;
}

.header-divider {
  width: 1px;
  height: 22px;
  background: rgba(15, 23, 42, .12);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-brand__mark {
  height: 22px;
  width: auto;
}

.badge {
  background: #7196d9;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}


.header-accent {
  height: 4px;
  background: var(--grad);
}

/* Layout */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.page-head {
  margin: 12px 0 28px;
}

.page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #3A414D;
  display: flex;
  align-items: center;
  gap: 14px;
}

.title-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(63, 200, 228, .18);
  color: #fff;
}

.title-icon .material-symbols-outlined {
  font-size: 28px;
}

.page-lead {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.guide-section {
  margin-bottom: 60px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.section-bar {
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: var(--grad);
}

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #3A414D;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flow-cards .card {
  overflow-x: auto; /* ここだけに限定 */
}

.item-list {
  list-style: none;
  margin: 0;
  padding: 30px;
}


.item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
}

.flow-cards .item {
  display: block; /* ←上書きして安定させる */
}

.item+.item {
  border-top: 1px solid rgba(15, 23, 42, .06);
}

.item:hover {
  background: rgba(248, 250, 252, .6);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.item-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex: 0 0 auto;
}

.item-icon .material-symbols-outlined {
  font-size: 26px;
}

.item-text {
  min-width: 0;
}

.item-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #3A414D;
}

.item-desc {
  text-align: left;
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.logo {
  display: inline-flex;
}

.btn {
  flex: 0 0 auto;
  position: relative;
  min-width: 156px;
  padding: 12px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  border: 0;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
  transition: opacity .15s ease, transform .05s ease;
}

.btn .material-symbols-outlined {
  font-size: 18px;
}

.btn:hover {
  opacity: .92;
}

.btn:active {
  transform: translateY(1px);
}

.btn--grad {
  background: var(--grad);
}

.btn--gray {
  background:#64748b;
}

.btn--blue {
  background: var(--btn-blue);
}

.btn--teal {
  background: var(--btn-teal);
}

.btn-group-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

/* Responsive */

@media (max-width: 700px) {
  .header-inner {
    height: auto;
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .container {
    padding: 28px 16px 64px;
  }
  .page-title {
    font-size: 26px;
  }
  .item {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 18px;
  }
  .btn {
    width: 100%;
    min-width: unset;
  }
  .btn-group-vertical {
    align-items: stretch;
  }
  .item-left {
    gap: 14px;
  }
  .item-icon {
    width: 48px;
    height: 48px;
  }
}

/* -------------------------- header ------------------------------ */
header {
  background-color: #fff
}

.header-area {
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 20px 20px 20px;
  box-sizing: border-box;
}

.header-logo {
  margin-bottom: 20px;
}

.header-logo img {
  width: 105px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media print,
screen and (max-width: 767px) {
  .header-area {
    width: 100%;
    margin: 0 auto;
    padding: 15px;
  }
}

/* ------------------------------ footer ------------------------------ */
footer {
  background-color: #fff;
  bottom: 0;
  width: 100%;
}

.footer-area {
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 20px;
  box-sizing: border-box;
}

.footer-area p {
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
}

.footer-inner__logo_area {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  margin-right: 30px;
}

.footer-logo img {
  width: 105px;
}

.footer__link {
  margin-left: auto;
}

.footer__link__item {
  margin: 0 4px 0 0;
  font-size: 12px;
  color: #808080;
}

.footer__link__item:first-child:after {
  content: "|";
  margin: 0 0 0 4px;
}

@media print,
screen and (max-width: 767px) {
  body {
    padding-bottom: 120px;
  }
  .footer-area {
    width: 100%;
  }
  .footer-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .footer-inner__logo_area {
    display: block;
  }
  .footer-logo {
    text-align: center;
    margin: 0 0 15px;
    display: inline-block;
    vertical-align: middle;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .copy-area {
    display: inline-block;
    font-size: 12px;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin: 4px 0;
  }
  .footer__link {
    margin-left: auto;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin-right: auto;
  }
}

.g-body_lessonLst {
  width: 100%;
  height: auto; /* ← 固定高さをやめる */
  background: none; /* ← グラデ背景いらなければ消す */
}

.g-wraper-teLst {
  max-width: none; /* ← 制限解除 */
  margin: 0;
}

.g-head-back {
  position: relative;
  display: block; /* ← flexやめる */
  height: auto;
}

.g-head-back img {
  width: 100%;
  height: 700px; /* 好きな高さに調整 */
  object-fit: cover; /* ← 超重要：いい感じにトリミング */
  display: block;
}

.lessonLst_inner_headertext {
  font-weight: bold;
  margin: 0 auto;
  font-size: 20px;
  align-items: center;
}

.item--with-sub {
  display: block;
  padding: 22px 26px;
}

.item--with-sub:hover {
  background: rgba(248, 250, 252, .6);
}

.item--with-sub .item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sub-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0 0 0 70px;
  display: grid;
  gap: 10px;
}

.sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sub-title {
  font-size: 13px;
  font-weight: 700;
  color: #3A414D;
  line-height: 1.5;
  min-width: 0;
}

.sub-item .btn {
  min-width: 120px;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.sub-item .btn .material-symbols-outlined {
  font-size: 18px;
}

@media (max-width: 700px) {
  .item--with-sub .item-row {
    flex-direction: column;
    align-items: stretch;
  }
  .sub-list {
    padding-left: 0;
  }
  .sub-item {
    flex-direction: column;
    align-items: stretch;
  }
  .sub-item .btn {
    width: 100%;
    min-width: unset;
  }
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.print-table-wrapper {
  margin-top: 10px;
  border: 1px solid var(--wv-border-2);
  border-radius: var(--wv-radius-lg);
  overflow: auto;
  background: #fff;
}

.print-table thead th {
  background: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  color: var(--wv-muted);
}

.print-table th,
.print-table td {
  border-bottom: 1px solid var(--wv-border-2);
  padding: 14px 16px;
  vertical-align: middle;
  text-align: left;
  color: var(--wv-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.print-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wv-blue);
  font-weight: 900;
  text-decoration: none;
}

.print-section {
  margin-bottom: 60px;
}

.floating-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(130deg, #60b8ef 0%, var(--brand-teal)80%,var(--brand-lightyellow) 100%);
  opacity: 0.9;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  text-decoration: none;
  cursor: pointer;
}

.floating-banner:hover {
  transform: scale(1.08);
}

.floating-banner-text {
  color: white;
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  padding: 0 20px;
}

.hero-section{
  margin-top:80px;
  position: relative;
}

.hero-card {
  position: relative;
  z-index: 0; /* ←これ追加 */
  background-repeat: no-repeat; /* ←これ */
  background-size: contain;       /* ←これ */
  background-position: center top;  /* ←これ */
}



.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;



  opacity: 0.6;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}


.hero-img {
  position: absolute;
  width: 150px;  /* ←これに変更 */
  height: auto;  /* ←これ追加（超重要） */
  z-index: 2;
  transition: transform 0.3s ease;
}

/* 初期状態（ちょい傾ける） */
.hero-img--left {
  left: 20px;
  bottom: -10px;
  transform: rotate(-8deg);
}

.hero-img--right {
  right: 20px;
  bottom: -10px;
  transform: rotate(8deg);
}

/* hoverで動く */
.hero-card:hover .hero-img--left {
  transform: rotate(-8deg) translateY(-8px);
}

.hero-card:hover .hero-img--right {
  transform: rotate(8deg) translateY(-8px);
}

.hero-content {
  text-align: center;
  max-width: 640px;
}

.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 70px;
  line-height: 1;
  margin: 0 0 6px;
  background: linear-gradient(130deg, var(--brand-cyan) 0%, var(--brand-teal)80%,var(--brand-lightyellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #60b8ef;
  margin: 0 0 18px;
}

.hero-desc {
  position: relative;
  background: #ffffff;
  padding: 22px 26px;
  border-radius: 24px;

  border: 3px solid #7ddfff;
  box-shadow: 0 10px 25px rgba(125, 223, 255, 0.2);

  max-width: 600px;
  margin: 32px auto 0;
}




@media (max-width: 767px) {
 /* ① レイアウトを縦にする */
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
    /* ① レイアウトを縦にする */
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  /* ② タイトルを大きくする */
  .hero-title {
    font-size: 36px;
  }
  .hero-sub {
    font-size: 20px;
  }
  /* ③ 説明ボックスも中央寄せ */
  .hero-desc {
    max-width: 90%;
  }
  /* ④ キャラ画像の修正（これ重要） */
  .hero-img {
    position: static; /* ← absolute解除 */
    width: 100px;
    height: auto; /* ←これも追加 */
    transform: none;
}
  .g-head-back img {
    height: 220px;
  }
}

.section-lead-block {
  max-width: 1080px;
  margin: 6px 0 18px;
}

.section-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.duo-cards {
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-top: 6px;
}

.duo-card {
  flex: 1 1 0;
  background: linear-gradient(var(--card), var(--card)) padding-box,
    var(--brand-cyan) border-box;
  border: 6px solid transparent;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.duo-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  color: #374151;
  padding-bottom: 8px;
  position: relative;
}

.duo-title::after {
  content: "";
  display: block;
  width: 70%;
  height: 0;
  margin: 12px auto 0;
  border-bottom: 4px dotted #5fbfe8;
  opacity: 0.95;
}

.duo-body {
  margin-top: 6px;
  flex: 1;
  display: flex;
  flex-direction: column; /* ← 縦並びに変更 */
  gap: 12px; /* ← 各要素の間に余白（任意） */
}
.duo-desc {
  margin: 8px 0 16px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.theme-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.theme-marker {
  width: 10px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(130deg, var(--brand-cyan) 0%, var(--brand-teal)80%,var(--brand-lightyellow) 100%) ;
  box-shadow: 0 6px 12px rgba(63, 200, 228, .14);
  flex: 0 0 auto;
}

.theme-heading {
  font-size: 14px;
  color: #2d3b45;
}

.theme-list {
  margin: 6px 0 0 18px;
  padding: 0;
  list-style: disc;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.theme-list {
  margin-bottom: 6px;
}


@media (max-width: 700px) {
  .duo-cards {
    flex-direction: column;
    gap: 14px;
  }
  .duo-card {
    padding: 16px;
    border-radius: 14px;
  }
  .duo-title {
    font-size: 18px;
  }
  .duo-desc,
  .theme-list {
    font-size: 13px;
  }
  .theme-marker {
    height: 30px;
    width: 8px;
  }

}

section:nth-of-type(4) .card .item-list {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
  padding: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
section:nth-of-type(4) .card .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 18px;
  min-width: 220px;
  max-width: 260px;
  background: linear-gradient(var(--card), var(--card)) padding-box,
    var(--brand-cyan) border-box;
  border: 6px solid transparent;
  border-radius: 18px;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

section:nth-of-type(4) .card .item .item-icon {
  display: none;
}

section:nth-of-type(4) .card .item .btn {
  display: none;
}

section:nth-of-type(4) .card .item .item-text {
  text-align: center;
  min-width: 0;
}

section:nth-of-type(4) .card .item .item-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #374151;
}

section:nth-of-type(4) .card .item .item-title::after {
  content: "";
  display: block;
  width: 68%;
  height: 0;
  margin: 10px auto 0;
  border-bottom: 4px dotted #5fbfe8;
  opacity: 0.95;
}

section:nth-of-type(4) .card .item .item-desc {
  text-align: left;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  max-width: 220px;
  word-break: break-word;
}

.flow-cards .card .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 220px;
  max-width: 260px;
  padding: 22px;
  background: linear-gradient(var(--card), var(--card)) padding-box,
   var(--brand-cyan) border-box;
  border: 6px solid transparent;
  border-radius: 18px;
  box-shadow: var(--shadow);
  box-sizing: border-box;
  z-index: 2;
}

.flow-cards .item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 12px); /* gapの半分 */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid rgba(0, 0, 0, 0.12);
  z-index: 1;
}

@media (max-width:700px) {
  .flow-cards .item:not(:last-child)::after {
    display: none;
  }
}

.card .item-list.testimonials {
  display: flex;
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  flex-wrap: wrap;
}

.item-list.testimonials .testimonial {
  list-style: none;
  flex: 1 1 360px;
  min-width: 260px;
}

.testimonial-bubble {
  position: relative;
  background: #eef6f8;
  border-radius: 20px;
  padding: 20px 20px 86px;
  box-shadow: var(--shadow);
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.testimonial-text {
  margin: 0 0 8px;
  color: #4f555a;
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
}

.testimonial-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(90deg, #60b8ef 0%, #36d2b3 100%);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px 18px;
  box-sizing: border-box;
  color: #fff;
  z-index: 1;
}

.testimonial--left .testimonial-footer::before {
  left: 28px;
}

.testimonial--right .testimonial-footer::before {
  right: 28px;
}

.testimonial-meta {
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.testimonial-meta .school {
  font: 14px;
  margin-bottom: 4px;
}

.testimonial-meta .teacher {
  font-size: 13px;
  opacity: 0.95;
}

.testimonial-avatar {
  width: auto;
  height: 95px;
  object-fit: contain;
  border-radius: 10px;
}


@media (max-width: 700px) {
  .card .item-list.testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-bubble {
    padding-bottom: 100px;
  }
  .testimonial-avatar {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    right: 14px;
    bottom: 12px;
  }
  .testimonial-footer::before {
    width: 56px;
    height: 56px;
    top: -28px;
  }
  .testimonial--left .testimonial-footer::before,
  .testimonial--right .testimonial-footer::before {
    left: 18px;
    right: auto;
  }
}


/* 応募の流れだけ横並び */
.flow-cards .item-list {
  display: flex;
  gap: 24px;
}

/* カードサイズ固定 */
.flow-cards .item {
  flex: 0 0 23%;
}