/* common ====================================================== */
html{-webkit-text-size-adjust:100%;}


/* css animation（fadein） ====================================================== */
.fadein{opacity:0.1;transform:translate(0,50px);transition:all 700ms;} 
.fadein.scrollin{opacity:1;transform:translate(0,0);} 


/* pc sp control ====================================================== */
.pc { display: none !important; }
.sp { display: block !important; }


/* font-size ====================================================== */
h1{font-size: 40px; text-align: center;}
h2{font-size: 28px; text-align: center;}
a,p{font-size: 14px;}

.tx_l{font-size: 20px;font-weight: 500;}
.tx_m{font-size: 16px;font-weight: 500;}
.tx_s{font-size: 14px;}
.tx_ss{font-size: 12px;}


/* 見出し ====================================================== */
.midashi{
  width:100%;
  background: linear-gradient(90deg, #529acc, #bc759e);
  color:#fff;
  margin: 30px 0 20px 0;
  padding: 20px 0;
}

/* FV ====================================================== */
.fv{margin-top: 80px;}


/* CTA ====================================================== */
.cta_area {
  background-image: linear-gradient(90deg, #529acc, #529acc);
  margin-top: 40px;
}
.cta_contents{
  width: 90%;
  margin: 0 auto;
  color: #fff;
  text-align: left;
  padding: 50px 0;
}

.mov_cta{margin: 20px auto 0;width: 100%;}
.btn_cta{margin: 30px auto 0;}
.txbox_cta{width:100%;margin: 30px auto 10px;padding:20px;text-align: left;border: 1px solid #fff;}


/* 補助のメリット ====================================================== */
.support{width: 95%;margin: 0 auto;}
.sub-heading {
  color: #000;
  margin: 50px 0 30px 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 140%;
}
.support-txt{font-size: 14px;line-height: 150%;}
.support-flow {  display: flex;  align-items: center;vertical-align: top;}
.support-item {  text-align: center;  margin: 5px;  flex: 1;}
.support-mdashi{font-size: 16px;font-weight: 600;margin: 10px 0;}


/* 概要 ====================================================== */
.gaiyou{display: block!important;}
.gaiyou{background: #fff;color: #333;}
.gaiyou-r{width: 100%;margin:0 0 0 auto;}
.gaiyou-l{padding: 20px;}
.gaiyou img{width: 100%;display: block;}


/* 選ばれる理由 ====================================================== */
#merit{width: 90%;margin: 0 auto;}
#merit div {padding: 10px 10px;}
.merit_area{
  background-image: linear-gradient(90deg, #fff, #fff);
  box-shadow: 0px 0px 15px -5px #777777;
  border-radius: 10px;
  color: #222;
  background: #fff;
  padding: 0px;
  margin: 20px 0;
}
.merit_title{
  font-size: 22px;
  font-weight: 700;
  color: #529acc;
  border-bottom: 1px solid #666;padding-bottom: 8px;margin-bottom: 8px;
}
.merit_catch{
  font-size: 16px;
  font-weight: 500;
}
.merit_tx{
  font-size: 14px;
  line-height: 160%;
}
.merit_course{
  font-size: 14px;
  line-height: 160%;
  font-weight: 500;
  margin-bottom: 8px;
}
.merit_fee{
  font-size: 14px;
  line-height: 160%;
  font-weight: bold;
  color: #529acc;
  margin-bottom: 8px;
}
.merit_teacher{
  font-size: 14px;
  line-height: 160%;
  font-weight: 500;
  margin-bottom: 8px;
}
.merit_taisaku{
  font-size: 14px;
  line-height: 160%;
  font-weight: 500;
  margin-bottom: 8px;
}
.merit_career{
  font-size: 14px;
  line-height: 160%;
  font-weight: 500;
  margin-bottom: 8px;
}
.merit_headline {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}
.merit_featured-tag{
    display: inline-block;
            background-color: #529acc;
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            padding: 2px 10px 3px;
            border-radius: 9999px;
            margin-bottom: 5px;
}


/* 固定バナー ==================================================== */
#fixb {
  position: fixed;
  width: 100%;
  bottom: 1px;
}

#fixb a {
  width: 100%;
  float: center;
}

#fixb img{margin: 0 auto;width: 80%;}


/* Effect（点滅）テキストバナー ==================================================== */
@keyframes blinking {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  100% { opacity: 1; }
}
.blink {
  animation: blinking 2s ease-in-out infinite alternate;
}
.info{
  margin: 0px auto 30px;
  padding: 1px 16px 16px;
  max-width: 100%;
  background-color: #529acc;
  border: 2px solid #529acc;
  text-align: center;
}

.info-tx{
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}

/* SPメニュー ==================================================== */
.menu-wrapper {
  position: relative;
  z-index: 99999;
}

.menu-icon {
  width: 40px;
  height: 30px;
  position: fixed; /* ← fixedにして常に左上固定 */
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 3;
  display: inline-block;
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: #333;
  border-radius: 2px;
  transition: 0.4s;
}

/* ハンバーガーがXに変形 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1;
}

#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
.menu {
  position: fixed;
  top: 0;
  right: -300px; /* ← 初期位置を左へ */
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  z-index: 2;
}

#menu-toggle:checked ~ .menu {
  right: 0; /* ← 開いたときは左0へ */
}

.menu ul {
  list-style: none;
  padding: 70px 20px;
}

.menu li {
  margin: 0px 0;
  padding: 20px 0;
  border-top: 1px solid #aaa;
  text-align: center;
}

.menu a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
  line-height: 120%;
  transition: color 0.3s;
}

.menu a:hover {
  color: #529acc;
}

.logobg{ position: fixed; left:0px;top: 0px;width: 100%;height: 60px;background: #fff;z-index: 9999;}
.ttlogo{ padding: 15px 0 0 0;width: 70%;}


/* footer ====================================================== */
footer{ text-align:left;color: #222;}
footer #footer_area{padding: 0 20px 40px;}
footer a{color: #222;}
.footerlink{text-align: center;}
.dotline{border-top: 1px solid #666;padding-top: 1em;margin-top: 1em;}
.copyrights{text-align: left;line-height: 120%;font-size: 12px;padding: 30px 5%;}


/* ボタン＆画像 ==================================================== */
.btn_course{width:90%;margin: 0 auto 60px;}