@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: 'Sawarabi Gothic';
  src: url('/fonts/SawarabiGothic.woff2') format('woff2');
  font-display: block;
}

body {
  font-family: 'Sawarabi Gothic', "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  /* line-height: 1.7; */
  color: #333;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}
:root {
  width: 100%;
  --head-jp: "corporate-logo-ver2", sans-serif;
  --noto-jp:  "Noto Sans JP";
  --color_yellow: #fbd024;
  --color_blue: #46c1ee;
  --color_blue_dark: #289dca;
  --color_yellow_dark: #ffcc00;
  --color_red:#e65656;
  --text:#333;
  --color_green: #11a3a0;
  --color_green_dark: #088481;
  --pc-max-width: 1080px;
  --gutter-sp: 16px;
  --gutter-pc: 24px;

}
.pc { display: none; }
@media (min-width: 768px) {
    .sp {display: none;}
    .pc { display: block; }
 }
li{ list-style: none; }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*---------------------------------------------------------------------------------------
	header
----------------------------------------------------------------------------------------*/
.header{
  width: 100%;
  background: #fff;
  padding: 13px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
  position: sticky;
  top: 0;
}

.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 12px;
}

.header .logo{ flex-shrink: 0; }
.logo-img{
  display: block;
  width: clamp(230px, 40vw, 320px);
  height: auto;
}

.header-right{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.head-cta.pc{ display: none; }
@media (min-width: 768px){
  .head-cta.pc{ display: block; }
}
.head-cta a{
  font-family: var(--noto-jp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 14px;
  background: #e65656;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.1;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.head-cta a:hover{
  background: #d94b4b;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transform: translateY(-1px);
}

.social-link{
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link img{
  width: 28px;
  height: auto;
  display: block;
  filter: brightness(0) saturate(100%)
          invert(27%) sepia(98%) saturate(2062%)
          hue-rotate(316deg) brightness(96%) contrast(101%);
}
@media (min-width: 768px){
  .social-link img{ width: 36px; }
}


/* =========================
   HERO（スマホファースト）
========================= */
.hero{
  position: relative;
  overflow: hidden;
  padding: 0;                 /* 上から数値で置くのでpaddingは持たせない */
  min-height: 620px;          /* 最低高さ（必要に応じて微調整） */
  background: #fff;
}

/* 背景（斜め） */
.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(
    165deg,
    var(--color_yellow) 0%,
    var(--color_yellow) 49.9%,
    var(--color_blue)   50.1%,
    var(--color_blue)   100%
  );
  z-index:0;
}

/* ドット（必要なら） */
.hero::after{
  content:"";
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  z-index:1;
}

/* 文字やボタンの土台 */
.hero-content{
  position: relative;
  z-index: 3; /* 画像より前後を調整したい場合は下で個別に */
  width: 100%;
}

/* -------------------------
   画像：上から数値指定（SP）
------------------------- */
.hero-image-left,
.hero-image-right{
  position: absolute;
  z-index: 2;
}

.hero-image-left{
  top: 52px;          /* ←左画像の上から位置 */
  left: 50%;
  transform: translateX(-58%);  /* 少し左寄せ */
  width: 270px;

  opacity: 0;
    animation: heroFadeLeft 1s ease-out forwards;
}

.hero-image-right{
  top: 300px;         /* ←右画像の上から位置（h1に少しかぶる想定） */
  left: 50%;
  transform: translateX(-42%);  /* 少し右寄せ */
  width: 270px;

  opacity: 0;
    animation: heroFadeRight 1s ease-out forwards;
    animation-delay: .2s; /* 少し遅らせると気持ちいい */
}
/* ===============================
   hero image animation（SP）
=============================== */

/* 左画像 */
.hero-image-left{
  position: absolute;
  top: 52px;
  left: 50%;
  width: 270px;

  opacity: 0;
  animation: heroFadeLeftSP 1s ease-out forwards;
}

/* 右画像 */
.hero-image-right{
  position: absolute;
  top: 290px;
  left: 50%;
  width: 270px;

  opacity: 0;
  animation: heroFadeRightSP 1s ease-out forwards;
  animation-delay: .2s;
}

/* ===== 左：やや左下→定位置 ===== */
@keyframes heroFadeLeftSP{
  from{
    opacity: 0;
    transform: translate(-62%, 20px);
  }
  to{
    opacity: 1;
    transform: translate(-58%, 0);
  }
}

/* ===== 右：やや右下→定位置 ===== */
@keyframes heroFadeRightSP{
  from{
    opacity: 0;
    transform: translate(-38%, 20px);
  }
  to{
    opacity: 1;
    transform: translate(-42%, 0);
  }
}

.hero-image-left img,
.hero-image-right img{
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------
   h1：左画像に少しかぶせる
------------------------- */
.hero h1{
  position: absolute;
  top: 170px;         /* ←h1の上から位置 */
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 360px);
  margin: 0;
  z-index: 4;         /* 右画像より前にしたいなら4、後ろなら2〜3に */
}

.hero h1 img{
  width: 100%;
  height: auto;
  display: block;
}

.hero-catch{
  font-family: var(--noto-jp);
  margin-top: 15px;          /* h1の直下 */
  font-weight: 800;          /* 太字 */
  font-size: 1.25rem;        /* SP基準 */
  line-height: 1.4;
  color: var(--text);
  text-align: center;
  letter-spacing: .04em;
  position: relative;
  z-index: 3;                /* 画像より前に */
}
/* -------------------------
   CTA：右画像の下に続く
------------------------- */
.hero-cta-wrapper{
  position: absolute;
  top: 490px;         /* ←CTA全体の上から位置 */
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 360px);
  text-align: center;
  z-index: 5;
}

.hero-cta-wrapper .btn{
  font-family: var(--noto-jp);
  font-size: 1.25rem;
  display: inline-block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  animation: ctaFloat 3s ease-in-out infinite;
}
@keyframes ctaFloat{
  0%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-6px);
  }
  100%{
    transform: translateY(0);
  }
}
.scroll-indicator{
  font-family: var(--noto-jp);
  margin-top: 12px;
  font-size: 1.0rem;
  opacity: .95;
  background-color:var(--color_yellow);
  border-radius: 3px;
  
  padding: 3px 0 2px;
  width: 200px;
  margin: 10px auto 0;

  transition: background-color .25s ease, color .25s ease;
}
.scroll-indicator:hover{
  background-color: #fff;
}
.scroll-indicator a{
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

/* CTAの下に“隙間”を作って、そこまで青地を見せる */
.hero{
  padding-bottom: 110px; /* ←この分、下まで背景が見える余白 */
}

/* =========================
   PC（769px〜）
========================= */
@media (min-width: 769px){
  .hero{
    min-height: 600px;
  }

  .hero::before{
    /* PCは120degに戻すなど好みで */
    background: linear-gradient(
      120deg,
      var(--color_yellow) 0%,
      var(--color_yellow) 49.9%,
      var(--color_blue)   50.1%,
      var(--color_blue)   100%
    );
  }

  .hero-image-left{
    top: 70px;
    left: 50%;
    transform: translateX(-120%);
    width: 520px;
    /* animation */
    opacity: 0;
    animation: heroFadeLeft 1s ease-out forwards;
  }

  .hero-image-right{
    top: -15px;
    left: 50%;
    transform: translateX(20%);
    width: 520px;
    /* animation */
    opacity: 0;
    animation: heroFadeRight 1s ease-out forwards;
    animation-delay: .2s; /* 少し遅らせると気持ちいい */
  }
  @keyframes heroFadeLeft{
  from{
    opacity: 0;
    transform: translateX(-140%);
  }
  to{
    opacity: 1;
    transform: translateX(-120%);
  }
}

@keyframes heroFadeRight{
  from{
    opacity: 0;
    transform: translateX(40%);
  }
  to{
    opacity: 1;
    transform: translateX(20%);
  }
}

  .hero h1{
    top: 150px;
    margin-left: 30px;
    width: 660px;
  }
.hero-catch{
    margin-top: 16px;
    font-size: 1.6rem;
  }
  .hero-cta-wrapper{
    top: 480px;
    width: 620px;
  }

  .hero{
    padding-bottom: 140px;
  }
}

/* アニメ */
@keyframes float{
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(50px, 50px) rotate(360deg); }
}





/*---------------------------------------------------------------------------------------
	section
----------------------------------------------------------------------------------------*/
.section {
  padding: 80px 40px;
}


/*---------------------------------------------------------------------------------------
	選べる無料体験
----------------------------------------------------------------------------------------*/
.choice-section{
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}
.choice-section-h2 {
  font-family: var(--head-jp);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}
.choice-section-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: none;
  border-radius: 0;
}

.choice-section-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: #fbd024;
  border-radius: 0;
  z-index: 2;
}
.choice-section-line-blue {
  position: absolute;
  bottom: 0.5px;
  left: 50%;
  width: 40px;
  height: 3px;
  background: #46c1ee;
  border-radius: 0;
  z-index: 1;
}

.choice-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.choice-card{
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 2px solid transparent;
}
.choice-card:hover{
  transform: translateY(-6px);
}

.choice-card:first-child{
  border-color: var(--color_yellow);
}
.choice-card:last-child{
  border-color: var(--color_blue);
}

.choice-card h3{
  font-size: 1.75rem;
  line-height: 1.3;
  font-family: var(--head-jp);
  margin-bottom: 20px;
}
.choice-card:first-child h3{ color: var(--color_yellow_dark); }
.choice-card:last-child h3{ color: var(--color_blue_dark); }

.choice-card:first-child h3 span,
.choice-card:last-child h3 span{
    color: var(--text);
    font-size: 1.257rem;
}

.choice-card p{
  font-size: 1rem;
  margin-bottom: 15px;
  color: #666;
}
.choice-img{
  width: 100%;
}

.choice-img img{
  display: block;
  width: 100%;
  height: auto;
}

.choice-info{
  background: #fffbeb;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}
.choice-card:last-child .choice-info{
  background: #eff6ff;
}
.choice-info p{
  margin: 5px 0;
  color: #333;
}

.btn-secondary{
  display: block;
  width: 100%;
  padding: 15px;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.choice-card:first-child .btn-secondary{
  background: linear-gradient(135deg, #fbd024 0%, #f9c600 100%);
}
.choice-card:last-child .btn-secondary{
  background: linear-gradient(135deg, #46c1ee 0%, #2bacdc 100%);

}

.choice-card:first-child .btn-outline{
  background: #fffbeb;
  color: var(--color_yellow_dark);
  border: 2px solid var(--color_yellow_dark);
  color: var(--text);
}
.choice-card:last-child .btn-outline{
  background: #eff6ff;
  color: var(--color_blue_dark);;
  border: 2px solid var(--color_blue_dark);;
  color: var(--text);  
}

@media (min-width: 768px){
  .choice-cards{
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .choice-section-h2 {
    font-size: 2.4rem;
  }
  .choice-card{
    padding: 40px;
  }
  .choice-card:first-child:hover{
    box-shadow: 0 20px 60px rgba(251,208,36,.3);
  }
  .choice-card:last-child:hover{
    box-shadow: 0 20px 60px rgba(70,193,238,.3);
  }

  .btn-secondary:hover{
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
  }
}

/*---------------------------------------------------------------------------------------
	選べる無料体験
----------------------------------------------------------------------------------------*/

/* .features-section{
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
} */
.features-section-h2 {
  font-family: var(--head-jp);
  font-size: 2rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}
.features-section-h2 span {
  font-size: 1.375rem;
}

.features-section-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: none;
  border-radius: 0;
}

.features-section-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: #fbd024;
  border-radius: 0;
  z-index: 2;
}
.features-section-line-blue {
  position: absolute;
  bottom: 0.5px;
  left: 50%;
  width: 40px;
  height: 3px;
  background: #46c1ee;
  border-radius: 0;
  z-index: 1;
}


.features-box{
  display: block;
  margin-top: 30px;
}

.features-box .feature-item{
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

/* アイコン */
.features-box .feature-icon{
  margin-bottom: 14px;
}

/* 見出し */
.features-box .feature-item h3{
  font-family: var(--noto-jp);
  font-size: 1.257rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* 説明文 */
.features-box .feature-item p{
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}


@media (min-width: 768px){
  .features-section .container{
    max-width: var(--pc-max-width);
    margin: 0 auto;
  }
  .features-section-h2 {
    font-size: 2.4rem;
  }
  .features-box{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .features-box .feature-item{
    margin-bottom: 0;
  }
}




/*---------------------------------------------------------------------------------------
	タイピング体験
----------------------------------------------------------------------------------------*/
.typing_sp{ background: var(--color_yellow);}

.typing-ttl-h2 {
  font-family: var(--head-jp);
  font-size: 2rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}
.typing-ttl-h2 span {
  font-size: 1.375rem;
}

.typing-ttl-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #fff;
  border-radius: 0;
}

.typing-ttl-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: #fff;
  border-radius: 0;
  z-index: 2;
}

.typing-ttl-p{
  text-align:center;
  margin:0 auto 1.125rem;
  line-height:1.6;
  color:var(--text);
  font-size:1rem;
}

/* =====================================
   typing-mark（SPファースト・正円保証）
===================================== */
.typing-mark{
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;              /* ← SPでは狭める */
}

/* 正円カード */
.typing-mark li{
  font-family: var(--head-jp);

  width: 96px;
  aspect-ratio: 1 / 1;      /* ← これが一番重要 */
  height: auto;             /* ← 高さは ratio に任せる */

  background: #fff;
  border-radius: 50%;
  box-sizing: border-box;   /* ← 念のため */

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  padding: 8px;             /* ← 内側余白は padding で調整 */

  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  opacity: 0;
  transform: translateY(12px);
}

.typing-mark.inview li{
  animation: markFadeUp .8s ease-out forwards;
}
.typing-mark li:nth-child(1){ color:var(--color_blue_dark); }
.typing-mark li:nth-child(2){ color:var(--color_yellow_dark); }
.typing-mark li:nth-child(3){ color:var(--color_red); }

.typing-mark.inview li:nth-child(1){ animation-delay: .2s; }
.typing-mark.inview li:nth-child(2){ animation-delay: .4s; }
.typing-mark.inview li:nth-child(3){ animation-delay: .6s; }

@keyframes markFadeUp{
  from{
    opacity: 0;
    transform: translateY(12px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


@media (min-width: 768px){
  .typing-ttl-h2{ font-size:2.4rem; margin-bottom:0.9rem; }
  .typing-ttl-h2 span{ font-size:0.6em; }
  .typing-ttl-p{ font-size:1.15rem; margin-bottom:1.3rem; }

  .typing-mark{ gap:3rem; margin-bottom:2rem; }
  .typing-mark li{
    width:150px;
    height:150px;
    font-size: 1.5rem;
  }
}
.typing-box{
  background:#fff;
  border-radius:18px;
  padding:30px 25px 22px;
  box-shadow:0 12px 28px rgba(0,0,0,.06);
}

@media (min-width: 768px){
  .typing-box{
      max-width: var(--pc-max-width);
      margin: 0 auto;
    }
}



.typing-box > *{
  margin-bottom:18px;
}

.typing-lead{
  font-family: var(--head-jp);
  font-size:2rem;
  line-height:1.4;
  font-weight:700;
  color:#333;
  text-align:center;
  margin:0;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.typing-lead span{
  font-size: 1.375rem;
}
.typing-lead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color_yellow);
  border-radius: 0;
}

.typing-lead::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: var(--color_yellow);
  border-radius: 0;
  z-index: 2;
}

.typing-subtitle{
  font-family: var(--head-jp);
  font-size:2rem;
  line-height:1.4;
  font-weight:700;
  color:#333;
  text-align:center;
  margin:0;
  position: relative;
  padding-bottom: 20px;
}
.typing-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color_yellow);
  border-radius: 0;
}

.typing-subtitle::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: var(--color_yellow);
  border-radius: 0;
  z-index: 2;
}


.typing-text{
  font-size:1rem;
  line-height:1.8;
  color:#333;
  margin-bottom:30px;
}

.typing-movie{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:14px;
  overflow:hidden;
  background:#000;
}
.typing-movie iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.typing-info{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.typing-info .info{
  padding:10px 12px;
  background:#fffdf2; /* 薄い黄色 */
  border:1px solid rgba(251,208,36,.35);
  border-radius:12px;
  font-size:.95rem;
  color:#333;
  line-height:1.4;
}
/* .typing-info .info a{
  color: var(--color_green);
  text-decoration: none;
  border-bottom: 1px solid var(--color_green);
}
.typing-info .info a:hover{
  color: var(--color_green_dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color_green_dark);
} */
.typing-info .info strong{
  font-weight:700;
}

.typing-subtitle{
  margin:12px 0 8px;
  font-size:1.1rem;
  font-weight:700;
  color:#333;
  text-align:center;
}
.typing-list{
  margin:0;
  padding:0;
  list-style:none;
  text-align:center;
}

.typing-list li{
  background:#fff;
  border-radius:14px;
  padding:14px 12px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  font-size:.95rem;
  line-height:1.6;
  margin-bottom: 20px;
}
.typing-list li:last-child{
  margin-bottom: 40px;
}

.typing-cta{
  display:flex;
  justify-content:center;
  margin-top:18px;
}

@media (min-width:768px){

  .typing-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
    padding:50px 60px 32px;
  }
  .typing-lead{
    grid-column:1 / -1;
    font-size: 2.0rem;
    line-height:1.4;
  }
  .typing-lead span{
    font-size: 1.375rem;
  }
  .typing-subtitle{
    grid-column:1 / -1;
    grid-row:4;
    margin-top:24px;
    font-size: 2.0rem;
    line-height:1.4;
  }
  .typing-info{
    grid-column:1;
    grid-row:3;
  }
  .typing-text{
    grid-column:1;
    grid-row:2;
    font-size:1.05rem;
    margin-bottom: 0;
  }
  .typing-movie{
    grid-column:2;
    grid-row:2 / 4;
    align-self:start;
  }

  .typing-list{
    grid-column:1 / -1;
    grid-row:5;
    display:grid;
    grid-template-columns:repeat(3,1fr); /* 横3列 */
    gap:16px;
    max-width:720px;
    margin:0 auto;
  }

  .typing-list li{
    margin:0;
    font-size:1rem;
  }

  .typing-cta{
    grid-column:1 / -1;
    grid-row:6;
    margin-top:20px;
  }

  /* PCでは余白管理をgridに任せる */
  .typing-box > *{
    margin-bottom:0;
  }
}

/*---------------------------------------------
  楽しく学ぶ！ぐんぐん伸びる！
---------------------------------------------*/

.contents-1{
  width: 90%;
  margin: 0 auto;
  position: relative;
}
.contents-1 h2{
  font-family: var(--head-jp);
  font-size:2rem;
  line-height:1.4;
  font-weight:700;
  color:#333;
  text-align:center;
  margin:0;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.contents-1 h2 span{
  font-size: 1.375rem;
}
.contents-1 h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #fff;
  border-radius: 0;
}

.contents-1 h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: #fff;
  border-radius: 0;
  z-index: 2;
}

.contents-1 .list1{
  width: 80%;
  margin: 15px auto;
  display: block;
}

.contents-1 .list1 li{
  padding: 0;
  position: relative;
  margin: 0 0 50px;
}

.contents-1 .list1 li h3{
  font-family: "corporate-logo-ver2", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 20px 0 10px;
  text-align: center;
  color: var(--color_red);
}

.contents-1 .kids-illust1,
.contents-1 .kids-illust2,
.contents-1 .kids-illust4{
  position: absolute;
  width: 24%;
}
.contents-1 .kids-illust3{
  position: absolute;
  width: 33%;
}

.contents-1 .kids-illust1{ width: 24%; bottom: 35px; left: -13px; }
.contents-1 .kids-illust2{ width: 34%; top: 148px; left: -52px; }
.contents-1 .kids-illust3{ width: 33%; top: 160px; right: -45px; }
.contents-1 .kids-illust4{ width: 27%; top: 300px; right: -10px; }

.contents-1 .kids-illust1 img,
.contents-1 .kids-illust2 img,
.contents-1 .kids-illust3 img,
.contents-1 .kids-illust4 img{
  width: 100%;
  display: block;
}

@media (min-width: 769px){
  .contents-1{
    width: 1080px;
    padding: 0  0 80px;
  }

  .contents-1 .list1{
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
  }

  .contents-1 .list1 li{
    padding: 20px 0;
    position: static;
    margin: 0 0 0;
  }

  .contents-1 .kids-illust1,
  .contents-1 .kids-illust4{
    width: 15%;
  }
  .contents-1 .kids-illust2,
  .contents-1 .kids-illust3{
    width: 13%;
  }

  .contents-1 .kids-illust1{ bottom: 120px; left: -65px; }
  .contents-1 .kids-illust2{ top: 330px; left: 300px; }
  .contents-1 .kids-illust3{ top: 315px; right: 310px; }
  .contents-1 .kids-illust4{ top: 90px; right: -70px; }
}



/*---------------------------------------------------------------------------------------
	タイピングが学びの原点！
----------------------------------------------------------------------------------------*/

.typing-feature-section{
  background: #fff3c7;
}

.typing-feature-h2 {
  font-family: var(--head-jp);
  font-size: 2rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.typing-feature-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color_yellow);
  border-radius: 0;
}

.typing-feature-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: var(--color_yellow);
  border-radius: 0;
  z-index: 2;
}

.typing-feature-section p{
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 70px;
  color: #333;
}
.typing-feature-h3 {
  font-family: var(--head-jp);
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}


.typing-feature-section .lead{
  text-align: center;
  font-weight: 700;
  margin-bottom: 8px;
}

.typing-feature-section .main-title{
  font-size: 2rem;
  text-align: center;
  margin: 12px 0 20px;
}

.typing-feature-section .sub-title{
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 14px;
}

.typing-feature-section .description{
  text-align: center;
  margin-bottom: 32px;
}

.typing-feature-section .features{
  display: block;
  margin: 40px 0;
}

.typing-feature-section .feature-item{
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.typing-feature-section .feature-icon{
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color_green);
  margin-bottom: 12px;
}

.typing-feature-section h4{
  font-family: var(--head-jp);
  font-size: 1.375rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.typing-feature-section h4 span{
  display: block;
  font-size: 0.9em;
  opacity: .85;
  color: var(--text);
}

.features > li:nth-of-type(1) h4{
  color: var(--color_blue_dark);
}

.features > li:nth-of-type(2) h4{
  color: var(--color_yellow_dark);
}

.features > li:nth-of-type(3) h4{
  color: var(--color_red);
}


.typing-feature-section .feature-item p{
  margin-bottom: 0px;
}
/* =========================================
   typing feature / wrap1（SPベース）
========================================= */
.typing-feature-section .wrap1{
  margin: 45px auto 0;
  padding: 60px 40px 10px;

  background: var(--color_yellow);
  
  text-align: center;
}

.typing-feature-section .wrap1 h3{
  margin: 0 0 20px;
  text-align: center;
  color: #00aca8;
  font-family: "corporate-logo-ver2", sans-serif;
  font-size: 1.6rem;
}

/* ===============================
   PC
=============================== */
@media (min-width: 769px){
  .typing-feature-h2{
    font-size: 2.4rem;
  }
  .typing-feature-h3{
    font-size: 2.0rem;
  }

  
  .typing-feature-section .wrap1{
    width: 70%;
    margin: 60px auto;
    padding: 60px 60px 40px;
  }
  .typing-feature-section .wrap1 p{
    margin-bottom: 0;
  }
}

/* =========================================
   typing feature section（SPベース）
========================================= */
.typing-feature-section .movie{
  margin: 0 auto 50px;
  position: relative;
  width: 90%;               /* ← スマホ基準 */
  aspect-ratio: 16 / 9;
}

.typing-feature-section .movie iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.typing-feature-section .list3 li span{
  color: #ef1c00;
}

/* ===============================
   PC
=============================== */
@media (min-width: 769px){
  .typing-feature-section .movie{
    width: 50%;
  }
}



@media (min-width: 768px){
  .typing-feature-section .container{
    max-width: var(--pc-max-width);
    margin: 0 auto;
  }
  .typing-feature-read{
    text-align: center;
  }
  .typing-feature-p{
    width: 80%;
    margin: 0 auto;
  }
  .typing-feature-section .features{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .typing-feature-section .feature-item{
    margin-bottom: 0;
  }

  .typing-feature-section .main-title{
    font-size: 2.4rem;
  }

  .typing-feature-section .sub-title{
    font-size: 1.6rem;
  }
}


/* =========================================
   list5（SPファースト）
========================================= */

.typing-feature-list5-h3 {
  font-family: var(--head-jp);
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: center;
  margin: 70px auto 20px;
  position: relative;
}

.typing-feature-section .list5{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: block;
}

.typing-feature-section .list5 li{
  text-align: center;
  margin: 0 0 16px;
}


.typing-feature-section .list5 li h4{
  margin: 20px 0 12px;
  font-size: 1.2rem;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 見出し装飾 */
.typing-feature-section .list5 li h4::before,
.typing-feature-section .list5 li h4::after{
  content: '';
  width: 3px;
  height: 70px;
  background-color: #00aca8;
}

.typing-feature-section .list5 li h4::before{
  margin-right: 28px;
  transform: rotate(-30deg);
}
.typing-feature-section .list5 li h4::after{
  margin-left: 28px;
  transform: rotate(30deg);
}

/* ===== figure：白地 ===== */
.typing-feature-section .list5 li figure{
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 8px;
}

.typing-feature-section .list5 li figure img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===== p：白地 ===== */
.typing-feature-section .list5 li p{
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}


/* =========================================
   PC：3列グリッド（769px〜）
========================================= */
@media (min-width: 769px){
  .typing-feature-list5-h3{
    font-size: 2.0rem;
  }

  .typing-feature-section .list5{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: 30px;
    row-gap: 16px;
    align-items: stretch;
  }

  .typing-feature-section .list5 li{
    margin: 0; /* PCはグリッドgapで管理 */
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    align-content: start;
    gap: 8px;
  }

  /* PC：見出し高さ揃え */
  .typing-feature-section .list5 li h4{
    min-height: 100px;
  }
}

/*---------------------------------------------
  受講生の声（SPファースト）
---------------------------------------------*/
.contents-5{
  width: 100%;
  margin: 60px auto 0;
  border-radius: 20px;
  padding: 20px 0;
  text-align: center;
}


.contents-5 h2 {
  font-family: var(--head-jp);
  font-size: 2rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.contents-5 h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #fff;
  border-radius: 0;
}

.contents-5 h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: #fff;
  border-radius: 0;
  z-index: 2;
}
/* SP：縦並び */
.contents-5 .list3{
  list-style: none;
  padding: 20px 0 0;
  margin: 0 auto;
  width: 90%;
  display: block;
}

.contents-5 .list3 li{
  margin: 0 auto 0;
  text-align: center;
  overflow: visible !important;
}

/* カード本体 */
.contents-5 .list3 li .inner{
  position: relative;
  background: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 8px 20px rgba(0,0,0,0.1);
  overflow: visible;
  isolation: isolate;
  transition: border-radius 0.4s ease;
  top: -30px;
  border-radius: 15px;
  padding: 30px 22px 44px; /* SPは共通 */
}

/* 見出し */
.contents-5 .list3 li h3{
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #00aca8;
}

/* 画像＋キャプション */
.contents-5 .list3 li figure{
  margin: 0 auto 15px;
  width: 72%;
  color: #555;
  position: relative;
}

.contents-5 .list3 li figure img{
  width: 100%;
  height: auto;
  display: block;
}

.contents-5 .list3 li figure figcaption{
  background: #00aca8;
  width: 100%;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 6px 0 5px;
}

/* SP：上下のずらしは最小限（必要なら微調整してOK） */
.contents-5 .list3 li:nth-child(odd) figure{
  top: -40px;
}
.contents-5 .list3 li:nth-child(even) figure{
  z-index: 30;
}

/* 本文 */
.contents-5 .list3 li p{
  text-align: left;
}

/* 動画 */
.contents-5 .movie{
  margin: 30px auto;
  position: relative;
  width: 90%;
  aspect-ratio: 16 / 9;
}
.contents-5 .movie iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 強調 */
.contents-5 .list3 li span{
  color: #ef1c00;
}


/*---------------------------------------------
  PC（769px〜）：2カラム
---------------------------------------------*/
@media (min-width: 769px){

  .contents-5{
    width: 1080px;
    margin: 100px auto 0;
    padding: 20px 0;
  }

  .contents-5 h2{
    font-size: 2.0rem;
    margin-bottom: 40px;
  }

  .contents-5 .list3{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 90%;
  }

  /* PC：odd/evenで元のリズムを復活 */
  .contents-5 .list3 li:nth-child(odd) .inner{
    padding: 30px 50px 60px;
  }
  .contents-5 .list3 li:nth-child(even) .inner{
    padding: 40px 50px 30px;
    margin: -10px 0 0;
  }

  .contents-5 .list3 li figure{
    width: 65%;
  }

  .contents-5 .list3 li:nth-child(odd) figure{
    top: -70px;
  }

  .contents-5 .movie{
    width: 50%;
  }
}










        .detail-section {
            background: white;
        }

        .detail-box {
            color: white;
            padding: 40px;
            border-radius: 20px;
            margin: 40px 0;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
        }

        .detail-box.typing {
            background: linear-gradient(135deg, #fbd024 0%, #f9c600 100%);
        }

        .detail-box.programming {
            background: linear-gradient(135deg, #46c1ee 0%, #2bacdc 100%);
        }

        .detail-box h2 {
            font-size: 32px;
            margin-bottom: 20px;
        }

        .detail-box p {
            font-size: 18px;
            margin-bottom: 15px;
            opacity: 0.95;
        }

        .info-box {
            background: rgba(255,255,255,0.2);
            padding: 25px;
            border-radius: 15px;
            margin: 30px 0;
            backdrop-filter: blur(10px);
        }

        .thinking-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .thinking-card {
            background: linear-gradient(135deg, #46c1ee 0%, #2bacdc 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(70, 193, 238, 0.3);
            transition: all 0.3s ease;
        }

        .thinking-card:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: 0 15px 40px rgba(70, 193, 238, 0.4);
        }

        .thinking-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .experience-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .experience-card {
            background: white;
            padding: 35px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            border-left: 5px solid #46c1ee;
            transition: all 0.3s ease;
        }

        .experience-card:hover {
            transform: translateX(10px);
            box-shadow: 0 15px 50px rgba(70, 193, 238, 0.2);
        }



.color_change{
  background: var(--color_blue); /* ✅ 下地を青にして隙間対策 */
  color: #333;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  min-height: 200px;
}

/* ✅ 黄色の面だけを上に重ねる（青は下地で担保） */
.color_change::before{
  content:"";
  position:absolute;
  inset:-2px;                 /* ✅ ほんの少しはみ出し（白線対策） */
  background: linear-gradient(
    165deg,
    var(--color_yellow) 0%,
    var(--color_yellow) 50%,
    transparent 50%,
    transparent 100%
  );
  z-index:0;

  /* ✅ 端の“細い線”が出る環境対策（描画を安定させる） */
  transform: translateZ(0);
}



.color_change > *{
  position: relative;
  z-index: 2; /* ✅ 中身を前面に */
}

/* ✅ PC（横長）では角度を“少し立てる”と、斜めが全幅で綺麗に出る */
@media (min-width: 768px){
  .color_change::before{
    background: linear-gradient(
      175deg,
      var(--color_yellow) 0%,
      var(--color_yellow) 50%,
      transparent 50%,
      transparent 100%
    );
  }
}


/* 模様レイヤー（必要ならそのまま） */
.color_change::after{
  content:"";
  position:absolute;
  inset:-50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size:50px 50px;
  animation: float 20s linear infinite;
  z-index:1;
}

/* 中身を前面へ */
.color_change > *{
  position:relative;
  z-index:2;
}











/*---------------------------------------------
	1Dayタイピング体験内容
---------------------------------------------*/
.contents-2{
	width: 1080px;
	padding: 100px 0 50px;
	margin: 0 auto;
}
.contents-2 .typing-illust1{
	position: relative;
	width: 80%;
	margin: 0 auto;
}
.contents-2 .typing-illust1 img{
	position: absolute;
	width: 100%;
	top: -60px;
}
.contents-2 h2 span{
	font-family: "corporate-logo-ver2", sans-serif;
	font-size: 2.0rem;
	text-align: center;
}
.contents-2 h2{
	line-height: 1.2;
	font-family: "corporate-logo-ver2", sans-serif;
	font-size: 2.6rem;
	text-align: center;
}
.contents-2 h3{
	text-align: center;
}
.contents-2 .mark{
	font-family: "corporate-logo-ver2", sans-serif;
	width: 70%;
	margin: 15px auto;
	display: grid;
	grid-template-rows: 50px;
	grid-template-columns: repeat(3, 150px);
	gap: 50px;
	height: 150px;
	justify-content: center;
}
.contents-2 .mark li{
	padding: 0 0 0;
	text-align: center;
	background: #fff;
	width: 150px;
	height: 150px;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.1;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center; 
}
.contents-2 .mark li:nth-child(1){ color: #ef1c00;}
.contents-2 .mark li:nth-child(2){ color: #006dbf;}
.contents-2 .mark li:nth-child(3){ color: #2BAC00;}
.contents-2 .wrap2{
	margin: 40px auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	justify-content: center;
}
.wrap2-2 .movie{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.wrap2-2 .movie iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contents-2 .wrap2 .wrap2-1 .list1 dl{
	margin-top: 20px;
	text-align: center;
}
.contents-2 .wrap2 .wrap2-1 .list1 dl dt{
	background: #fff;
}
.contents-2 .wrap2 .wrap2-1 .list1 dl dt{
	padding: 5px 0;
}
.contents-2 .wrap2 .wrap2-1 .list1 dl dd{
	padding: 10px 0;
}

/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
	.contents-2{
		width: 90%;
		padding: 50px 0;
	}
	.contents-2 .typing-illust1{
		width: 100%;
	}
	.contents-2 .typing-illust1 img{
		top: -70px;
	}
	.contents-2 .mark{
		width: 100%;
		margin: 15px auto;
		display: grid;
		grid-template-columns: repeat(3, 110px);
		gap: 20px;
		height: 110px;
	}
	.contents-2 .mark li{
		width: 110px;
		height: 110px;
		font-size: 1.3rem;
	}
	.contents-2 .wrap2{
		display: block;
	}
	.contents-2 .wrap2 .wrap2-2 {
		width: 100%;
	}
	.contents-2 .wrap2 .wrap2-2 .movie {
		position: relative;
		top: 0%;
		aspect-ratio: 16 / 9;
	}
}

/*------------------------------------------------------
	打つチカラが、考えるチカラ・伝えるチカラへとつながる
------------------------------------------------------*/
.contents-3{
	width: calc(1080px - 100px);
	margin: 100px auto 80px;
	background: #fff;
	border-radius: 20px;
	padding: 20px 50px 30px;
}
.contents-3 .list4{
	width: 80%;
	margin: 30px auto 0;
	display:grid;
	grid-template-columns: 1fr 3fr;
	gap:20px;
	align-items: end;
}
.contents-3 .list4 img{
  display: block;
  width: 100%;
}
.contents-3 .list4 h2,
.contents-3 .list4 p{
  margin: 0;
}
.contents-3 .list4 p{
	width: 85%;
	padding-bottom: 0 0 10px;
}
.contents-3 .list4 p img{
	width: 100%;
}
.contents-3 .list4 h2{
	width: 100%;
}
.contents-3 .list4 h2 img{
	width: 100%;
}
.contents-3 h3{
	font-family: "corporate-logo-ver2", sans-serif;
	font-size: 2.2rem;
	text-align: center;
	margin: 70px 0 10px;
	color: #00aca8;
}
.contents-3 .list2{
	display:grid;
	grid-template-columns:repeat(3, minmax(0,1fr));
	grid-template-rows:auto auto 1fr;
	gap:0px 40px;
}
.contents-3 .list2 li{
	display:grid;
	grid-template-rows:subgrid;
	grid-row:span 3;
	align-items:start;
	position:relative;
	background:#fff;
	border:1px solid #ccc;
	border-radius:10px;
	padding:20px;
	text-align:center;
}
.contents-3 .list2 li:not(:last-child)::after{
	content:"▶︎";
	position:absolute;
	top:50%;
	right:-20px;
	transform:translateY(-50%);
	font-size:2rem;
	color:#00aca8;
}
.contents-3 .list2 li:nth-child(1) h4{ color: #ef1c00;}
.contents-3 .list2 li:nth-child(2) h4{ color: #006dbf;}
.contents-3 .list2 li:nth-child(3) h4{ color: #2BAC00;}

.contents-3 .list2 li > div{ font-weight:700; font-size:1.4rem; color: #00aca8; border-bottom: 1px solid #00aca8}
.contents-3 .list2 li h4{ margin:10px 0 12px; line-height:1.4; align-self: center;}
.contents-3 .list2 li h4 span{
	font-family: "corporate-logo-ver2", sans-serif;
	font-size: 1.2rem;
	color: #333;
}
.list2 li p{ margin:0; text-align:left; line-height:1.6; }

.contents-3 .rank-table{
	width: 50%;
	margin: 0 auto 10px;
}
.contents-3 .rank-table img{
	width: 100%;
}
.contents-3 .rank-table figcaption{
	font-size: 0.8rem;
}


/*---------------------------------------------
  コンテスト開催！
---------------------------------------------*/
.typing-contest{
  width: 90%;
  margin: 50px auto 0;
  padding: 30px 20px 0;
  background: #00aca8;
  border: 2px solid #fff;
  border-radius: 20px;
  text-align: center;
}
.typing-contest h2{
  font-family: var(--head-jp);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color_yellow);
  margin: 0 0 10px;
  text-align: center;
}
.typing-contest h3{
  font-family: "corporate-logo-ver2", sans-serif;
  font-size: 1.375rem;
  margin: 10px 0;
  text-align: center;
}
.typing-contest p{
  width: 90%;
  margin: 0 auto;
  color: #fff;
  text-align: left;
}

/* リスト：SPは縦並び */
.typing-contest .typing-contest-ul{
  list-style: none;
  padding: 0;
  margin: 15px auto;
  display: block;
}

.typing-contest .typing-contest-ul li{
  padding: 20px 0;
  text-align: center;
}

.typing-contest .typing-contest-ul li figure{
  width: 100%;
  margin: 0;
}

.typing-contest .typing-contest-ul li figure img{
  width: 100%;
  display: block;
}

.typing-contest .typing-contest-ul li figure figcaption{
  width: 90%;
  margin: 0 auto;
  text-align: left;
  color: #fff;
  margin: 10px 0 0;
}

/*---------------------------------------------
  PC（769px〜）
---------------------------------------------*/
@media (min-width: 769px){
  .typing-contest{
    width: 1080px;
    margin: 100px auto 0;
    padding: 45px 40px 0;
  }
  .typing-contest h2{
    font-size: 2rem;
  }
  .typing-contest h3{
    font-size: 1.375rem;
  }
  .typing-contest p{
    width: auto;
    text-align: center;
  }
  .typing-contest .typing-contest-ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .typing-contest .typing-contest-ul li{
    padding: 20px 0;
  }
  .typing-contest .typing-contest-ul li figure figcaption{
    width: 100%;
    text-align: center;
    margin: 15px 0 0;
  }
}







/* contents-4 全体（任意） */
.contents-4{
  padding: 40px 20px;
}
.contents-4 h2{
  text-align:center;
  margin: 0 0 12px;
}
.contents-4 > p{
  text-align:center;
  margin: 0 auto 24px;
  max-width: 48rem;
  line-height: 1.7;
}

/* list3：スマホは縦並び（デフォルト） */
/* .list3{
  list-style:none;
  padding:0;
  margin: 0;
  display:grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
 */
/* カード */
/* .list3 li{
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
} */

/* 見出し */
/* .list3 li h3{
  margin: 0;
  padding: 18px 18px 10px;
  font-size: 1.2rem;
  line-height: 1.25;
} */

/* figureを縦に整える */
/* .list3 li figure{
  margin: 0;
}
.list3 li img{
  width:100%;
  height:auto;
  display:block;
}
.list3 li figcaption{
  padding: 14px 18px 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text, #333);
} */

/* PCのみ横並び（2カラム） */
/* @media (min-width: 768px){
  .list3{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list3 li h3{ font-size: 1.3rem; }
  .list3 li figcaption{ font-size: 1.05rem; }
} */










/*---------------------------------------------------------------------------------------
	タイピング学習で、学ぶ楽しさと自信を育てます。
----------------------------------------------------------------------------------------*/


/* ===== list5：スマホは縦並び ===== */
/* .list5{
  list-style: none;
  padding: 0;
  margin: 0;
}

.list5 > li{
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
} */

/* ===== PCのみ：3列グリッド ===== */
/* @media (min-width: 768px){
  .list5{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
} */

/* ===== カード内要素 ===== */
/* .list5 h4{
  font-size: 1.15rem;
  text-align: center;
  line-height: 1.4;
  margin: 0 0 12px;
}

.list5 figure{
  margin: 0 0 12px;
}

.list5 figure img{
  width: 100%;
  height: a
} */


/*---------------------------------------------------------------------------------------
	1Dayプログラミング無料体験　内容
----------------------------------------------------------------------------------------*/
#programming{
  scroll-margin-top: 100px;
}



.programming_sp{
  background: var(--color_blue);
}
:root{
  --text: #333;
  --card_bg: #fff;
  --card_border: rgba(70,193,238,.35);
}

:root{
  --color_yellow:#fbd024;
  --color_blue:#46c1ee;
  --color_red:#e65656;
  --text:#333;
}


/* =========================
   h2：spanだけ小さく
========================= */
.programming-ttl-h2{
  font-family: var(--head-jp);
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.2;
  font-size: 2.0rem; /* スマホ */
}

.programming-ttl-h2 span{
  display: inline-block;
  font-size: 1.375rem;
  font-weight: 700;
  opacity: .95;
}

/* =========================
   p：センター揃え
========================= */
.programming-ttl-p{
  text-align: center;
  margin: 0 auto 18px;
  line-height: 1.6;
  color: var(--text);
  font-size: 1.05rem; /* スマホ */
}

/* =========================
   programming-mark
   白地の円・横並び・天地中央
========================= */
/* =====================================
   typing-mark（SPファースト・正円保証）
===================================== */
.programming-mark{
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;              /* ← SPでは狭める */
}

/* 正円カード */
.programming-mark li{
  font-family: var(--head-jp);

  width: 96px;
  aspect-ratio: 1 / 1;      /* ← これが一番重要 */
  height: auto;             /* ← 高さは ratio に任せる */

  background: #fff;
  border-radius: 50%;
  box-sizing: border-box;   /* ← 念のため */

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  padding: 8px;             /* ← 内側余白は padding で調整 */

  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  opacity: 0;
  transform: translateY(12px);
}

.programming-mark.inview li{
  animation: markFadeUp .8s ease-out forwards;
}
.programming-mark li:nth-child(1){ color:var(--color_blue_dark); }
.programming-mark li:nth-child(2){ color:var(--color_yellow_dark); }
.programming-mark li:nth-child(3){ color:var(--color_red); }

.programming-mark.inview li:nth-child(1){ animation-delay: .2s; }
.programming-mark.inview li:nth-child(2){ animation-delay: .4s; }
.programming-mark.inview li:nth-child(3){ animation-delay: .6s; }

@keyframes markFadeUp{
  from{
    opacity: 0;
    transform: translateY(12px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   PC：サイズのみ拡大
========================= */
@media (min-width: 768px){

  .programming-ttl-h2{
    font-size: 2.6rem; /* ← PCは大きく */
    margin-bottom: 16px;
  }

  .programming-ttl-h2 span{
    font-size: 0.6em;
  }

  .programming-ttl-p{
    font-size: 1.2rem;
    margin-bottom: 28px;
  }

  .programming-mark{
    gap: 22px;
    margin-bottom: 36px; /* PCは余白多め */
  }

  .programming-mark li{
    width: 128px;
    height: 128px;
    font-size: 1.15rem;
  }
}





.detail-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  
}
.programming-box{
  padding: 0 30px 70px;
}


/* カード：CTA下揃えのためflex column */
.detail-card{
  background: var(--card_bg);
  border: 1px solid var(--card_border);
  border-radius: 16px;
  padding: 35px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* .detail-card .place a{
  color: var(--color_green);
  text-decoration: none;
  border-bottom: 1px solid var(--color_green);
}
.detail-card .place a:hover{
  color: var(--color_green_dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color_green_dark);
} */
.detail-card h4{
  font-family: var(--head-jp);
  font-size: 1.275rem;
  line-height: 1.3;
}

/* 見出し */
.detail-title{
  font-family: var(--head-jp);
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 25px;
  color: var(--text);
  text-align: center;
}
.detail-title span{
  font-size: 1.257rem;
  color: var(--text);
}

/* h3直下画像 */
.detail-hero{
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
}
.detail-hero img{
  width: 100%;
  height: auto;
  display: block;
}

/* 本文 */
.detail-text{
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

.info-box{
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr; /* ← 常に1カラム */
  gap: 10px;                  /* 縦間隔のみ */
}

.info-box .info{
  position: relative;
  padding: 10px 10px 10px 34px; /* アイコン分 */
  background: #f7fbff;
  border: 1px solid rgba(70,193,238,.25);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.info-box .info strong{
  font-weight: 700;
}

.detail-grid .detail-card:first-child h3,
.detail-grid .detail-card:first-child h4{
  color: var(--color_red);
}
.detail-grid .detail-card:last-child h3,
.detail-grid .detail-card:last-child h4{
  color: var(--color_green);
}
/* サブ見出し */
.detail-subtitle{
  font-size: 1.1rem;
  margin: 6px 0 10px;
  color: var(--text);
}

/* チェックリスト */
.detail-list{
  margin: 0;
  padding-left: 1.2em;
  color: var(--text);
  line-height: 1.6;
}
.detail-list li{
  margin: 0 0 6px;
}

/* CTA：下揃え + 横センター */
.detail-cta{
  margin-top: auto;        /* 下揃え */
  padding-top: 16px;
  display: flex;
  justify-content: center; /* ← 横センター */
}

/* ボタン幅を内容基準に（中央に自然に見える） */
.detail-cta .btn{
  display: inline-block;
  min-width: 260px;        /* 任意：見た目を揃えたい場合 */
  text-align: center;
}

.btn{
  display: block;
  text-align: center;
  background: var(--color_yellow_dark);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 999px;
  font-family: var(--noto-jp);
  letter-spacing: 0.2;
}

/* PC：2カラム */
@media (min-width: 960px){
  .detail-box.programming{
    padding: 40px 24px;
  }

  .detail-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    max-width: var(--pc-max-width);
    margin: 0 auto;
  }

}



/*---------------------------------------------
  プログラミング的思考ってなに？
---------------------------------------------*/

.think-wrap-1{
  width: 90%;
  margin: 0 auto;
  position: relative;
}
.think-wrap-1 h2{
  font-family: var(--head-jp);
  font-size:2rem;
  line-height:1.4;
  font-weight:700;
  color:#333;
  text-align:center;
  margin:0;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.think-wrap-1 h2 span{
  font-size: 1.375rem;
}
.think-wrap-1 h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #fff;
  border-radius: 0;
}

.think-wrap-1 h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background: #fff;
  border-radius: 0;
  z-index: 2;
}

.think-wrap-1 .list1{
  width: 80%;
  margin: 15px auto;
  display: block;
}

.think-wrap-1 .list1 li{
  padding: 0;
  position: relative;
  margin: 0 0 50px;
}

.think-wrap-1 .list1 li h3{
  font-family: "corporate-logo-ver2", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 20px 0 10px;
  text-align: center;
  color: var(--color_red);
}

.think-wrap-1 .list1 li p strong{
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--noto-jp);
}


.think-wrap-1 .kids-illust5,
.think-wrap-1 .kids-illust6,
.think-wrap-1 .kids-illust7{
  position: absolute;
  width: 24%;
}


.think-wrap-1 .kids-illust5{ width: 24%; bottom: -115px; left: -13px; }
.think-wrap-1 .kids-illust6{ width: 28%; top: 418px; left: 262px; }
.think-wrap-1 .kids-illust7{ width: 33%; top: 60px; left: -20px; }

.think-wrap-1 .kids-illust5 img,
.think-wrap-1 .kids-illust6 img,
.think-wrap-1 .kids-illust7 img{
  width: 100%;
  display: block;
}

@media (min-width: 769px){
  .think-wrap-1{
    width: 1080px;
    padding: 0  0 80px;
  }

  .think-wrap-1 .list1{
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
  }

  .think-wrap-1 .list1 li{
    padding: 20px 0;
    position: static;
    margin: 0 0 0;
  }

  .think-wrap-1 .kids-illust5{
    width: 12%;
  }
  .think-wrap-1 .kids-illust6{
    width: 15%;
  }
  .think-wrap-1 .kids-illust7{
    width: 18%;
  }
  .think-wrap-1 .kids-illust5{ top: 275px; left: 340px; }
  .think-wrap-1 .kids-illust6{ top: 320px; left: 980px; }
  .think-wrap-1 .kids-illust7{ top: 250px; left: -20px; }
}


/*---------------------------------------------------------------------------------------
	プログラミング的思考ってなに？
----------------------------------------------------------------------------------------*/
.think-wrap{
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}
.think-wrap .container{
  max-width: var(--pc-max-width);
  margin: 0 auto;
}

.think-title-h2 {
  font-family: var(--head-jp);
  font-size: 2.0rem;
  text-align: center;
  margin-bottom: 3.125rem;
  position: relative;
  padding-bottom: 1.25rem; /* 20px */
  line-height: 1.3;
}

/* 下線（ベース） */
.think-title-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;   /* 80px */
  height: 0.25rem; /* 4px */
  background: var(--color_blue);
}

/* 下線（アクセント：左側に重ねる） */
.think-title-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 2.5rem); /* 40px */
  width: 2.5rem;  /* 40px */
  height: 0.25rem;
  background: var(--color_blue);
  z-index: 1;
}

.think-title-p{
    text-align: center;
    font-size: 1.125rem;
}

.thinking-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5625rem;
  margin-top: 2.5rem;
}

.thinking-card {
  background: linear-gradient(
    135deg,
    var(--color_blue) 0%,
    var(--color_blue_dark) 100%
  );
  color: #fff;
  padding: 1.875rem; /* 30px */
  border-radius: 0.9375rem; /* 15px */
  text-align: center;
  box-shadow: 0 0.625rem 1.875rem rgba(70, 193, 238, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thinking-card h3 {
  font-family: var(--head-jp);
  color: var(--color_yellow);
  font-size: 1.5rem;
  margin-bottom: 0.9375rem; /* 15px */
}

/* ===== PC：3列 ===== */
@media (min-width: 1024px) {
  .thinking-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .thinking-card:hover {
    transform: translateY(-0.5rem) scale(1.05);
    box-shadow: 0 0.9375rem 2.5rem rgba(70, 193, 238, 0.4);
  }
}


/*---------------------------------------------------------------------------------------
	プログラミングコース内容
----------------------------------------------------------------------------------------*/
.course-wrap{
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}
.course-wrap .container{
    max-width: var(--pc-max-width);
    margin: 0 auto;
}
.course-title-h2 {
  font-size: 2rem;
  font-family: var(--head-jp);
  text-align: center;
  margin-bottom: 3.125rem;
  position: relative;
  padding-bottom: 1.25rem;
  line-height: 1.3;
}
.course-title-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.25rem;
  background: var(--color_blue);
}
.course-title-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 2.5rem);
  width: 2.5rem;
  height: 0.25rem;
  background: var(--color_blue);
  z-index: 1;
}
.course-title-p{
    text-align: center;
    font-size: 1rem;
}
.course-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 767px){
  .course-item:nth-child(even){
    background: var(--color_blue);
    color: #fff;
  }
    .course-item:nth-child(even) div{
    color: var(--text);
  }
    .course-item:nth-child(even) .course-schools{
    color: var(--text);
  }
  
}
.course-item {
   background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
  padding: 30px;
   border-radius: 15px;
   border: 2px solid #46c1ee;
    transition: all 0.3s ease;
}
.course-list{
  display: grid;
  gap: 24px;
}


.course-item{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-item h3{
  text-align: center;
  line-height: 1.25;
  margin: 0;
  font-family: var(--head-jp);
  font-size: 1.5rem;
}
.course-item h3 span{
  font-size: 1.375rem;
}


@media (min-width: 769px){
  .course-item h3{
    min-height: calc(1.25em * 2);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.course-item > div{
  background: #fff;
  border: 2px solid var(--color_blue);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}


.course-item img{
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 12px;
}


.course-schools{
  background: #fff;
  border: 2px solid var(--color_blue);
  border-radius: 12px;
  padding: 12px 14px;
  line-height: 1.6;
  margin: 0;
}

.course-item p{
  text-align: left !important;
}
.course-item p span{
  display: block;
  text-align: left;
}


/* .course-item p a{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
}
.course-item p a:hover{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
}
 */

.course-online-btn{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid var(--color_blue);
  background: #fff;
  color: var(--color_blue);
  text-decoration: none;
  font-weight: 700;
  text-align: center;

  transition: background-color .25s ease, 
              color .25s ease, 
              transform .25s ease;
}

.course-online-btn:hover{
  background: var(--color_blue);
  color: #fff;

  transform: translateY(-1px);
}

/* もし span（授業時間）が余計なら整える（任意） */
.course-item span{
  display: block;
  text-align: center;
  font-size: 0.95rem;
  opacity: .9;
}




@media (min-width: 768px) {
  .course-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  .course-list p{
    text-align: center;
  }
    .course-item{
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    color: inherit;
  }
  .course-item:nth-child(1),
  .course-item:nth-child(4),
  .course-item:nth-child(5){
    background: var(--color_blue);
    color: #fff;
  }
  .course-item:nth-child(1) div,
  .course-item:nth-child(4) div,
  .course-item:nth-child(5) div{
    color: var(--text);
  }
  .course-item:nth-child(1) .course-schools,
  .course-item:nth-child(4) .course-schools,
  .course-item:nth-child(5) .course-schools{
    color: var(--text);
  }
  

}



/*---------------------------------------------------------------------------------------
	教室一覧はこちらボタン
----------------------------------------------------------------------------------------*/

.go-area-btn{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid var(--color_green);
  background: #fff;
  color: var(--color_green);
  text-decoration: none;
  font-weight: 700;
  text-align: center;

  transition: background-color .25s ease, 
              color .25s ease, 
              transform .25s ease;
}

.go-area-btn:hover{
  background: var(--color_green);
  color: #fff;

  transform: translateY(-1px);
}

/*---------------------------------------------------------------------------------------
	ctr2
----------------------------------------------------------------------------------------*/

.ctr2 {
  font-family: var(--noto-jp);
    background: #fff;
    padding: 30px 0;
    text-align: center;
}

.ctr2 .inner{
    width: 90%;
    margin: 0 auto;
}
.ctr2 div.ctr-tag {
	width: 100%;
	margin: 30px auto 10px;
	font-family: "corporate-logo-ver2", sans-serif;
	font-weight: 800;
	font-size: 1.4rem;
	line-height: 1.2;
	position: relative;
	display: inline-block;
	padding: 0 50px;
	text-align: center;
}
.ctr2 div.ctr-tag {
    padding: 0 0px;
}

.ctr2 div.ctr-tag::before,
.ctr2 div.ctr-tag::after {
  content: "";
  position: absolute;
  top: 60%;
  width: 100px;
  height: 3px;
  background-color: #3fc1c9;
  transform-origin: center;
}
.ctr2 div.ctr-tag::before {
  left: -20px;
  transform: translateY(-35%) rotate(60deg);
}
.ctr2 div.ctr-tag::after {
  right: -20px;
  transform: translateY(-35%) rotate(-60deg);
}
.ctr2 div.ctr-tag span.colorA { color: #ef1c00;}
.ctr2 div.ctr-tag span.colorB { color: #006dbf;}
.ctr2 .areaLink{
	position: relative;
	z-index: 100;
}
.ctr2 .areaLink a{
	text-decoration: none;
	color: #303133;
	border-bottom: 1px solid #303133;
	padding: 0 0 3px;
}

.final-cta {
    background: linear-gradient(135deg, #fbd024 0%, #f9c600 50%, #46c1ee 100%);
    padding: 80px 20px;
}
.final-cta .ctr2 div.ctr-tag::before {
  left: -30px;
}
.final-cta .ctr2 div.ctr-tag::after {
  right: -30px;
}

@media (min-width: 768px) {
    /* .ctr2 {background: #fff; padding: 30px 0; text-align: center;} */

    .ctr2 div.ctr-tag {
        width: 60%;
        font-size: 1.8rem;
    }

    
    .ctr2 div.ctr-tag::before,
    .ctr2 div.ctr-tag::after {
    content: "";
    position: absolute;
    top: 60%;
    width: 100px;
    height: 3px;
    background-color: #3fc1c9;
    transform-origin: center;
    }
    .ctr2 div.ctr-tag::before {
    left: 90px;
    transform: translateY(-50%) rotate(60deg);
    }
    .ctr2 div.ctr-tag::after {
    right: 90px;
    transform: translateY(-50%) rotate(-60deg);
    }
    .ctr2 .areaLink{
        position: relative;
        z-index: 100;
    }
    .ctr2 .areaLink a{
        text-decoration: none;
        color: #303133;
        border-bottom: 1px solid #303133;
        padding: 0 0 3px;
    }
}



/*---------------------------------------------------------------------------------------
	area-sp
----------------------------------------------------------------------------------------*/

/* ====== tags wrapper ====== */
.course-tags{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;          /* 画面が狭ければ折り返す */
  gap:12px;
  justify-content:center;  /* お好みで left にしてもOK */
}

/* ====== pill ====== */
.course-tag{
  display:flex;
  align-items:center;
  gap:12px;

  max-width:100%;
  padding:12px 16px;
  border-radius:9999px;
  background:#fff;

  /* 崩れ防止 */
  min-width:0;             /* ←これ超重要（flexのはみ出し防止） */
}

/* ====== icon circle ====== */
.course-tag .tag-icon{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:800;
  line-height:1;
}

/* ====== label text ====== */
.course-tag .tag-label{
  font-family: var(--noto-jp);
  min-width:0;             /* ←これも重要 */
  font-weight:800;
  font-size:1.125rem;
  line-height:1.2;

  /* 長い文言でも崩れない */
  white-space:normal;      /* nowrap禁止 */
  overflow-wrap:anywhere;  /* Scratch〜 みたいな長語も折れる */
  word-break:break-word;
}

/* ====== color variants ====== */
.tag-typing{
  border:2px solid rgba(70,193,238,.35);
}
.tag-typing .tag-icon{
  background:var(--color_blue);
  color:#fff;
}

.tag-scratch{
  border:2px solid rgba(251,208,36,.45);
}
.tag-scratch .tag-icon{
  background:var(--color_yellow);
  color:#333;
}

.tag-kids{
  border:2px solid rgba(230,86,86,.35);
}
.tag-kids .tag-icon{
  background:var(--color_red);
  color:#fff;
}

/* ====== PCだけ横一列に寄せたい場合 ====== */
@media (min-width: 769px){
  .course-tag .tag-label{
    font-size:0.9rem;
 
  /* 長い文言でも崩れない */
  white-space:normal;      /* nowrap禁止 */
  overflow-wrap:anywhere;  /* Scratch〜 みたいな長語も折れる */
  word-break:break-word;
}
  .course-tags{
    justify-content:center; /* または center */
  }
}








/*---------------------------------------------------------------------------------------
  area-sp（SPファースト）
----------------------------------------------------------------------------------------*/

/* wrapper */
.area-sp .wrapper{
  width: 90%;
  margin: 0 auto;
  padding: 30px 0;
}

/* 見出し類（SP） */
.area-sp .wrapper h2{
  font-size: 1.6rem;
  margin: 10px auto 20px;
  padding: 15px 0;
  text-align: center;
  letter-spacing: 4px;
  position: relative;
  background: #fff;
}

.area-sp .wrapper h3{
  font-size: 1.4rem;
  padding: 20px 0 5px;
  letter-spacing: 5px;
  text-align: center;
  color: #333;
  border-bottom: 1px solid #333;
}

.area-sp .wrapper h4{
  font-size: 1.2rem;
  margin: 30px auto 10px;
  text-align: center;
  background: #00aca8;
  padding: 10px 0;
  letter-spacing: 5px;
  color: #fff;
}

.area-sp .wrapper p{
  text-align: center;
  margin: 0 0 20px;
}

/* ------------------------------------------------
  リスト（SP）
  - area-list：スマホは縦並び
  - arealist-1：スマホは2カラム
------------------------------------------------- */
.area-sp .wrapper .area-list,
.area-sp .wrapper .arealist-1{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* area-list：SPは縦 */
.area-sp .wrapper .area-list{
  display: block;
}

.area-sp .wrapper .area-list li{
  width: 100%;
  margin-bottom: 20px;
}

/* arealist-1：SPは2列 */
.area-sp .wrapper .arealist-1{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.area-sp .wrapper .arealist-1 li{
  width: calc(50% - 10px);
  margin-bottom: 0;
  text-align: center;
}

/* テキスト */
.area-sp .wrapper .area-list li dl dt{
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 5px;
  line-height: 1.6;
}

.area-sp .wrapper .area-list li dl dd{
  padding: 0;
}

.area-sp .wrapper .area-list li dl dd:before{
  content: " ";
  font-size: .8rem;
}

/* リンク */
.area-sp .wrapper .area-list li a,
.area-sp .wrapper .arealist-1 li a{
  color: #1C1B1D;
  text-decoration: none;
  border-bottom: 1px solid #1C1B1D;
}

/*---------------------------------------------------------------------------------------
  PC（769px〜）
----------------------------------------------------------------------------------------*/
@media (min-width: 769px){

  .area-sp .wrapper{
    width: 1080px;
    padding: 50px 0;
  }

  .area-sp .wrapper h2{
    font-size: 2.0rem;
    margin: 20px auto 20px;
    padding: 30px 0;
  }

  .area-sp .wrapper h3{
    font-size: 1.6rem;
    padding: 50px 0 10px;
  }

  .area-sp .wrapper h4{
    font-size: 1.6rem;
    margin: 30px 0 20px 0;
  }

  /* PC：どちらも4カラム（横並び） */
  .area-sp .wrapper .area-list,
  .area-sp .wrapper .arealist-1{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 30px;
  }

  .area-sp .wrapper .area-list li,
  .area-sp .wrapper .arealist-1 li{
    width: auto;
    margin-bottom: 10px;
    text-align: left;
  }

  .area-sp .wrapper .area-list li dl dt{
    font-size: 1.0rem;
    line-height: 1.8;
    font-weight: 800;
    margin: 0;
  }
}

/* ===== コースマーク ===== */

/* .course-marks{
  list-style: none;
  padding: 0;
  margin: 6px 0 0;

  display: grid;
  grid-auto-flow: column !important;
  gap: 6px 10px !important;
  justify-content: start;
} */


/* .course-marks .mark{
  width: 28px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
} */
.course-marks{
    padding-top: 8px;
    display: block;

}
.course-marks .mark{
    text-align: center;
    padding: 5px 0;
    width: 140px !important;
    height: auto;
    margin-bottom: 5px !important;
    text-align: center !important;
        

  border-radius: 12px;
  display: block;
  align-items: center;
  justify-content: center;

  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
}

/* 色分け */
.mark.typing{
  background:#fbd024;    
  color:#333;
}
.mark.scratch{
  background:#46c1ee;
  color:#fff;  
}
.mark.kids{
  background:#e65656;
  color:#fff;
}
/*---------------------------------------------------------------------------------------
	footer
----------------------------------------------------------------------------------------*/
footer{
	background: #01aba8;
	margin: 0;
	color: #ECF7FD;
	text-align: center;
	padding: 50px 100px 130px;
}
footer .footer-nav{
	margin-bottom: 50px;
}
footer p{
	font-size: 0.8rem;
}
footer .insLogo{
	position: relative;
	right: 0;
}
footer .insLogo img{
	position: absolute;
	width: 3.5%;
	right: 15px;
	bottom: 0px;
}
.btnSP{margin: 20px auto; text-align: center;}

/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
    footer{
        margin: 0 auto 0px;
        padding: 30px 0 130px;       
        width: 100%;
    }
    footer .footer-nav{
        width: 90%;
        margin: 0 auto 0;
    }
    footer .footer-nav a{
        width: 90%;
    }
    footer p{
        font-size: 0.8rem;
        margin-top: 70px;
    }
	footer .insLogo img{
		width: 10%;
		left: 40px;
		bottom: -55px;
	}
}

/*---------------------------------------------------------------------------------------
	Btn
----------------------------------------------------------------------------------------*/
.btn,
a.btn,
button.btn {
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  padding: 1rem 3rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  border-radius: 0.5rem;
}
a.btn-c-01 {
    font-size: 1.4rem;
    position: relative;
    padding: 2.0rem 8rem;
    border-radius: 100vh;
}
a.btn-c-01:before {
	box-sizing: inherit;
    font-family: 'Font Awesome 5 Free';
    font-size: 1.8rem;
    line-height: 1;
    position: absolute;
    top: calc(50% - 0.8rem);
    right: 1rem;
    margin: 0;
    padding: 0;
    content: '\f054';
}

/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
	a.btn-c-01 {
		font-size: 1.2rem;
		font-weight: 800;
		position: relative;
		padding: 1.6rem 0;
		width: 100%;
		border-radius: 100vh;
	}
}
/*------------------------------------------------------------------------*/	

a.btn2{
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  padding: 1.5rem 3rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  color: #212529;
  border-radius: 0.5rem;
}
a.btn2:first-child{
  margin-right: 10px;
}

/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
	a.btn2{
        font-size: 1.2rem;
        padding: 1rem 1rem;
        width: 100%;
        margin: 10px auto 0;
	}
}
/*------------------------------------------------------------------------*/	

a.btn-c-05 {
    font-size: 1.2rem;
    position: relative;
    border-radius: 100vh;
}
a.btn-c-05:before {
	box-sizing: inherit;
	content: "";
    font-family: 'Font Awesome 5 Free';
    font-size: 1.2rem;
    line-height: 1;
    position: absolute;
    top: calc(50% - 0.8rem);
    right: 1rem;
    margin: 0;
    padding: 0;
    content: '\f054';
}


a.btn--yellow {
  color: #000;
  background-color: #fff100;
  border-bottom: 5px solid #ccc100;
}
a.btn--yellow:hover {
  margin-top: 3px;
  background: #fff20a;
  border-bottom: 2px solid #ccc100;
}

a.btn--blue {
  color: #fff;
  background-color: #007ac6;
  border-bottom: 5px solid #335CA8;
}
a.btn--blue:hover {
  margin-top: 3px;
  background: #335CA8;
  border-bottom: 2px solid #254D97;
}

a.btn--pink {
  color: #fff;
  background-color: #EE457B;
  border-bottom: 5px solid #F0316E;
}
a.btn--pink:hover {
  margin-top: 3px;
  background: #E52764;
  border-bottom: 2px solid #D10043;
}

/*---------------------------------------------------------------------------------------
	下部追従CTA スマホ用
----------------------------------------------------------------------------------------*/
.anav1{
  position: static;
  padding: 0;
  z-index: 999;
}

.anav1 a{
  position: fixed;
  right: 0;
  bottom: 15px;
  padding-right: max(14px, env(safe-area-inset-right));

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  border-radius: 14px 0 0 14px;
  background: #e65656;
  color: #fff;
  font-size: 1.15rem;
  font-weight: bold;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 6px 18px rgba(0,0,0,.18);

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

.anav1.is-show a{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.anav1 a img{
  width: 36px;
  margin-right: .35em;
}



/* =========================================
   Page Top
========================================= */
.scroll-to-top{
  position: fixed;
  right: 20px;
  bottom: 100px;

  width: 60px;
  height: 60px;

  background: #fff;
  border: 3px solid #0F3286;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, transform .3s ease;
  z-index: 200;
}

.scroll-to-top.visible{
  opacity: 1;
  visibility: visible;
}

.scroll-to-top::before{
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #0F3286;
  border-right: 3px solid #0F3286;
  transform: rotate(-45deg) translate(-1px, 3px);
}

.scroll-to-top:hover{
  transform: translateY(-4px);
}
.scroll-to-top:active{
  transform: translateY(-2px);
}

/* ===============================
   PC
=============================== */
@media (min-width: 769px){
  .scroll-to-top{
    right: 30px;
    bottom: 60px;
    width: 49px;
    height: 49px;
  }

  .scroll-to-top::before{
    width: 12px;
    height: 12px;
    border-width: 4px;
  }
}
