/* ==============================
   リセット & ベース
   ============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-padding-top: 80px;
}

body {
  font-family: "Noto Sans JP","ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.img-wrap{
  width: 100%;
  text-align: center;
}
.img-wrap img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
.flex{
  display: flex;
  justify-content: space-between;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.w900{
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}
/* ==============================
   CTA
   ============================== */
.cta-section{
  background: url(./img/bg_contact.jpg);
  background-size: cover;
}
.cta-section .w900{
  display: flex;
  justify-content: space-between;
}
.cta-section a{
  width: 45%;
  min-height: 73px;
  padding: 25px 10px;
  display: block;
  border-radius: 10px;
  color: #fff;
  font-size: clamp(2rem,2.5vw,2.8rem );
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  overflow: hidden;
}
.cta-section a .ue{
  margin-bottom: 5px;
  font-size: 1.6rem;
  line-height: 1;
  text-align: center;
}
.cta-section a .moji{
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cta-section a.contact{
  background: transparent linear-gradient(103deg, #B99969 0%, #CFAB76 35%, #B99969 100%) 0% 0% no-repeat border-box;
}
.cta-section a.download{
  background: transparent linear-gradient(103deg, #3378D0 0%, #56A8F2 35%, #3378D0 100%) 0% 0% no-repeat border-box;
}
.cta-section a img{
  margin-right: 12px;
}
.cta-section a:after{
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid #fff;
  position: absolute;
  top: -1px;
  left: 0;
  border-radius: 10px;
  transform: scale(0.95,0.85);
}
.cta-section p{
  width: 95%;
  margin: 0 auto;
  margin-bottom: 30px;
  color: #fff;
  text-align: center;
  font-family: "Noto Serif JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
/* ==============================
   ボタン キラッと光るエフェクト
   ============================== */
.cta-section a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* 初期位置はボタンの左外側 */
  width: 30%; /* 光の幅 */
  height: 100%;
  /* 白色の半透明グラデーションで光を表現 */
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-30deg); /* 斜めに傾ける */
  z-index: 2; /* 内側の線より上に表示 */
  transition: left 0s; /* ホバーが外れた時はアニメーションなしで瞬時に左へ戻す */
}

.cta-section a:hover::before {
  left: 200%; /* ホバー時、右外側まで移動させる */
  transition: left 0.6s ease-in-out; /* 0.6秒かけて滑らかに移動 */
}
/* ==============================
   ヘッダー
   ============================== */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.header-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 60px;
}
.header-logo02 {
  margin-left: 31px;
}
.header-logo02 img{
  width: 49px;
  height: 60px;
}
.header-logo_wrap,
.header-menu{
  align-items: center;
  display: flex;
}
.header-menu li {
  margin-right: 50px;
}
.header-menu a {
  color: #244276;
}

.header-nav a:hover {
  color: #1a3a6e;
}

/* ==============================
   ヒーロー
   ============================== */
.hero {
  background: url(./img/img_main.jpg) center center no-repeat;
  position: relative;
  overflow: hidden;
  font-family: "Noto Serif JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  background-size: cover;
}
.hero-inner{
  width: 90%;
  max-width: 1420px;
  margin: 10% auto 5%;
}
.hero-header{
  margin-bottom: 25px;
}
.hero-header .img-wrap{
  width: 125px;
  margin-bottom: 20px;
}
.hero-header span{
  margin-right: 6px;
  padding: 2px 7px;
  background: #333333;
  color: #fff;
}
.hero-title{
  width: 100%;
  max-width: 980px;
  margin-bottom: 60px;
  padding: 0 10px;
  background: rgba(255,255,255,0.25);
  text-shadow: 0px 0px 6px #FFFFFF;
  font-weight: bold;
}
.hero-title h1{
  font-size: clamp(3.6rem,2.5vw,6rem );
}
.hero .flex{
  width: 100%;
  max-width: 1060px;
  padding: 10px;
  align-items: center;
  background: rgba(255,255,255,0.25);
  font-weight: bold;
}
.hero .flex .ranking{
  width: 212px;
  height: 120px;
}
.hero .flex .hero-logos{
  width: 283px;
  height: 95px;
}

/* ==============================
   企業ロゴ
   ============================== */
.logos {
  padding: 40px 0;
  background: #fff;
}

.logo-list {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.logo-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 50px;
  background: #555;
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
}

/* ==============================
   セクション共通
   ============================== */
section {
  padding: 60px 0;
}
.blue{
  color: #244276;
}
.f30{
  font-size: clamp(2.4rem,2.5vw,3rem );
}
.mt40{
  margin-top: 40px;
}
.bg_blue{
  background: #F3F5FF;
}
h2{
  margin-bottom: 25px;
  font-size: clamp(2.8rem,2.5vw,3rem );
  color: #244276;
  text-align: center;
  font-family: "Noto Serif JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
h3{
  margin-bottom: 20px;
  font-size: clamp(2.0rem,2.5vw,2.4rem );
  color: #244276;
  text-align: center;
  font-family: "Noto Serif JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
.caution{
  font-size: 1.4rem;
}
/* ==============================
   導入実績
   ============================== */
.results-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin: 0 auto 35px;
}

.stat-card {
  background: #fff;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0px 3px 6px #00000029;
}

.stat-label {
  font-size: clamp(1.8rem,2.5vw,2rem );
}

.stat-value {
  margin-top: 10px;
  font-size: 6rem;
  font-weight: bold;
  color: #3E8ED0;
  line-height: 1;
  font-family: 'Roboto';
}

.stat-unit {
  font-size: 20px;
  margin-left: 5px;
}

.stat-sub {
  font-size: 1.4rem;
  margin-top: 5px;
}

.results-note {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
}
#Results .img-wrap{
  box-shadow: 0px 3px 6px #00000029;
}

/* ==============================
   課題感
   ============================== */

.problem-list {
  margin: 25px auto 80px;
  border: 2px solid #3E8ED0;
  padding: 40px;
  position: relative;
}

.problem-list li {
  margin-bottom: 20px;
  font-size: clamp(1.6rem,2.5vw,2rem );
  display: flex;
  align-items: flex-start;
}
.problem-list li:last-child{
  margin-bottom: 0;
}
.problem-list li img{
  margin-top: 7px;
  margin-right: 7px;
}
.problem-list:after{
  content: '';
  width: 14px;
  height: 50px;
  display: inline-block;
  background: url(./img/icon_arrow_blue.svg);
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}
.problems-lead {
  padding-bottom: 60px;
  text-align: center;
  font-size: 2.4rem;
  color: #E76F51;
  font-weight: bold;
  position: relative;
  border-bottom: 2px solid #E76F51;
}
.problems-lead:before,
.problems-lead:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.problems-lead:before{
  border: 24px solid transparent;
  border-top: 24px solid #E76F51;
}
.problems-lead:after {
    border: solid 22px transparent;
    border-top: solid 22px #fff;
    margin-top: -1px;
}
/* ==============================
   研修プログラム
   ============================== */
#Programs .section-lead{
  margin-bottom: 30px;
  font-size: 1.8rem;
  text-align: center;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.program-card {
  border: 2px solid #3E8ED0;
  padding: 40px;
}
.program-desc {
  margin-top: 20px;
}

/* ==============================
   特長
   ============================== */
.features-sub {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}
.features-sub.light {
  color: #e0e0e0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-item {
  background: #fff;
  border-radius: 10px;
  padding: 15px 30px 20px;
  box-shadow: 0px 3px 6px #00000029;
}
.feature-item .feature-header{
  margin-bottom: 10px;
  align-items: flex-end;
}
.feature-item h3 {
  font-family: "Noto Sans JP","ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-size: clamp(2rem,2.5vw,2.4rem );
  color: #3E8ED0;
  margin-bottom: 0;
}
.feature-item p {
  font-size: clamp(1.6rem,2.5vw,1.8rem );
}
#Features .caution{
  max-width: 900px;
  margin: 20px auto 0;
}
/* ==============================
   メリット
   ============================== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.benefit-item {
  border: 2px solid #3E8ED0;
  padding: 45px 25px 30px;
}
.benefit-item h3 {
  font-size: 2.4rem;
  color: #3E8ED0;
  margin-bottom: 20px;
  text-align: left;
}
.benefit-item h3 img{
  margin-right: 10px;
}
.benefit-item p {
  font-size: 1.8rem;
}
.benefits-footer {
  max-width: 600px;
  margin: 30px auto 0;
}
.merit{
  margin-bottom: 40px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #E76F51;
  border-radius: 10px;
  position: relative;
}
.merit:after{
  content: '';
  width: 14px;
  height: 50px;
  display: inline-block;
  background: url(./img/icon_arrow_pink.svg);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.benefits-footer p {
  font-size: clamp(2rem,2.5vw,2.4rem );
  font-family: "Noto Serif JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-weight: bold;
}
.benefits-footer .flex{
  justify-content: center;
  align-items: center;
}
.benefits-footer p.pink{
  margin-left: 40px;
  font-size: clamp(2.8rem,2.5vw,4rem );
  color: #E76F51;
}

/* ==============================
   受講者の声
   ============================== */
#Voices h2{
  margin-bottom: 15px;
} 
#Voices h3 {
  font-family: "Noto Sans JP","ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-size: clamp(2rem,2.5vw,2.4rem );
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3E8ED0;
  text-align: left;
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.voice-card {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  background: #fff;
  padding-bottom: 40px;
  box-shadow: 0px 3px 6px #00000029;
}
.voice-card span{
  padding: 5px 10px;
  font-size: 1.4rem;
  color: #fff;
}
.voice-card .honka{
  background: #0077AC;
}
.voice-card .tanka{
  background: #A16BBA
}
.voice-card .kensyu{
  background: #00C49E
}
.voice-title {
  width: 84%;
  min-height: 104px;
  margin: 10px auto 60px;
  font-size: 2rem;
  color: #244276;
  margin-bottom: 30px;
}
.voice-profile {
  width: 84%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.voice-profile div{
  padding-left: 15px;
  border-left: 2px solid #3E8ED0;
}
.voice-company{
  line-height: 1.5;
}
.voice-name {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.8rem;
}
.voice-stars {
  width: 84%;
  margin: 15px auto 0;
  color: #3E8ED0;
  font-size: 2rem;
  line-height: 1;
  padding-bottom: 15px;
  border-bottom: 3px solid #F3F5FF;
}
.voice-text {
  width: 84%;
  margin: 40px auto 0;
  text-align: justify;
}
.voice-footer {
  width: 90%;
  margin: 30px auto 0;
  background: #F3F5FF;
  padding: 15px 10px;
  font-size: 1.75rem;
  color: #244276;
  border-radius: 10px;
}

/* ==============================
   FAQ
   ============================== */

.faq-item {
  overflow: hidden;
  border-bottom: 2px solid #CCCCCC;
}
.faq-item .faq-q,
.faq-item .faq-a{
  font-size: 1.8rem;
}

.faq-q {
  width: 100%;
  padding: 25px 50px 25px 20px;
  color: #244276;
  background: #fff;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 30px;
  border: none;
  position: relative;
  transition: background 0.2s ease;
}
.faq-q:hover {
  background: #F3F5FF;
}
.faq-q:focus-visible {
  outline: 2px solid #1a3a6e;
  outline-offset: -2px;
}
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #3E8ED0;
  color: #fff;
  font-size: 3rem;
  font-family: 'Roboto';
  flex-shrink: 0;
}
.faq-question-text {
  flex: 1;
}
/* 開閉アイコン (+ / -) */
.faq-toggle {
  content: "";
  position: absolute;
  right: 15px; /* 右端からの位置 */
  top: 50%; /* 中央寄せ */
  width: 15px; /* 矢印のサイズ */
  height: 15px; /* 矢印のサイズ */
  border-top: 2px solid #0070bb; /* 上の線 */
  border-right: 2px solid #0070bb; /* 右の線 */
  transform: translateY(-70%) rotate(135deg);
  transition: transform 0.3s; /* 回転を滑らかにする */
}
.faq-q[aria-expanded="true"] .faq-toggle {
  transform: translateY(-30%) rotate(-45deg);
}

/* 回答エリア: デフォルトで閉じている */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-a.is-open {
  max-height: 500px;
  padding: 15px 0 30px;
}

/* ==============================
   フッターCTA
   ============================== */
.footer-cta {
  background: url(./img/bg_global.jpg) center center no-repeat;
  background-size: cover;
}
.footer-cta .w900{
  padding: 40px 20px;
  text-align: center;
  background: rgba(255,255,255,0.8); 
}
.footer-cta-title {
  margin-bottom: 15px;
}
.footer-cta-lead {
  font-size: clamp(1.8rem,2.5vw,2rem );
  font-family: "Noto Serif JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  color: #244276;
  font-weight: bold;
}

/*===============================================
# pagetop
=================================================*/
#page-top {
  bottom: 10px;
  position: fixed;
  right: 75px;
  width: 80px;
  height: 80px;
  z-index: 15;
  margin-bottom: 10px;
}

@media screen and (max-width: 1490px) {
  #page-top {
    right: 15px;
  }
}

@media screen and (max-width: 1279px) {
  #page-top {
    right: 5px;
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 767px) {
  #page-top {
    bottom: 15px;
    width: 50px;
    height: 50px;
  }
}

/*===============================================
# footer
=================================================*/
#toTOP {
  width: 60px;
  height: 60px;
  margin: 0 0 20px auto;
  background: #fff;
  box-shadow: 0px 0px 2px #00000029;
  text-decoration: none;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  color: #333333;
  font-size: 12px;
}
#footer-menu .footer-menu-inner #upper {
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
}
/* フッターコンタクト */
#footer-contact {
  padding: 60px 10px;
  background: url(img/bg_contact.jpg) no-repeat top center;
  background-size: cover;
}

#footer-contact p {
  color: #fff;
}

#footer-contact a.contact-box {
  padding: 10px 15px;
  color: #fff;
  border: #fff 1px solid;
  text-decoration: none;
  -webkit-box-shadow: 2px 2px 0px 0px #FCE6EA;
          box-shadow: 2px 2px 0px 0px #FCE6EA;
  position: relative;
  overflow: hidden;
  background: transparent;
  display: inline-block;
  -webkit-transition: .3s;
  transition: .3s;
  z-index: 1;
}

#footer-contact a.tel,
#footer-menu a.tel {
  color: #fff;
  text-decoration: none;
}

#footer-contact a img {
  margin-left: 10px;
  vertical-align: middle;
}

#footer-contact .flex {
  -webkit-box-pack: start;
  -webkit-justify-content: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

#footer-contact .font-Scope {
  margin: 0 25px 0 0;
  padding: 10px 25px 10px 0;
  font-family: 'Scope One';
  font-size: 2.2rem;
  border-right: #fff 1px solid;
}

#footer-contact .font-Scope span {
  margin-right: 5px;
  font-size: 1.4rem;
}

/* フッターメニュー */
#footer-menu {
  padding: 40px 0 100px;
  background: #2A4073;
  position: relative;
  z-index: 0;
}
#footer-menu .footer-menu-inner{
  width: 90%;
  margin: 0 auto;
}
#footer-menu .footer1 {
  -webkit-box-flex: 1.3;
  -webkit-flex-grow: 1.3;
      -ms-flex-positive: 1.3;
          flex-grow: 1.3;
}

#footer-menu .footer2,
#footer-menu .footer3 {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

#footer-menu .footer1 .widget_text {
  margin-top: 30px;
}

#footer-menu .footer4 {
  max-width: 900px;
  margin: 60px auto 0;
  padding-top: 60px;
  border-top: #fff 1px solid;
}

#footer-menu .footer4 p {
  margin-bottom: 25px;
  text-align: center;
}

#footer-menu .footer4 div {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

#footer-menu ul {
  padding-left: 15px;
  list-style-image: url(./img/icon_list-style.svg);
}

#footer-menu h3,
#footer-menu p,
#footer-menu li a {
  color: #fff;
}

#footer-menu h3 {
  margin-top: 15px;
  margin-bottom: 10px;
  padding-top: 10px;
  font-family: "Noto Sans JP","ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  border-top: #fff solid 1px;
  background: none;
  display: block;
  text-align: left;
}

#footer-menu p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.4rem;
}

#footer-menu p a {
  text-decoration: none;
  color: #fff;
}

#footer-menu li a {
  text-decoration: none;
  display: block;
}

#footer-menu li:last-child a {
  border-right: none;
}

#footer-menu li a:hover {
  text-decoration: underline;
}

/* フッターコピーライト */
footer#footer {
  padding: 15px 10px;
  background: #353640;
  text-align: center;
}

footer small,
footer small a {
  color: #fff !important;
  text-decoration: none;
}
/* ==============================
   ハンバーガーメニュー共通設定（PC時は非表示）
   ============================== */
.hamburger, .overlay {
  display: none;
}
/* メニューを開いている時に背面がスクロールしないようにする */
body.is-fixed {
  overflow: hidden;
}

/* ==============================
   レスポンシブ設定 (1200px以下でハンバーガー稼働)
   ============================== */
@media screen and (max-width: 1200px) {
  .header-inner {
    padding: 10px 20px;
  }
  
  /* --- ハンバーガーボタン --- */
  .hamburger {
    display: block; /* 1200px以下で表示 */
    position: relative;
    width: 45px;
    height: 45px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000; /* メニューより上に配置 */
  }
  .hamburger span {
    position: absolute;
    left: 7px;
    width: 30px;
    height: 2px;
    background-color: #244276;
    transition: all 0.3s ease;
  }
  .hamburger span:nth-of-type(1) { top: 12px; }
  .hamburger span:nth-of-type(2) { top: 21px; }
  .hamburger span:nth-of-type(3) { top: 30px; }

  /* --- ボタン アクティブ時(✕印に変形) --- */
  .hamburger.is-active span:nth-of-type(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  .hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger.is-active span:nth-of-type(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  /* --- ドロワーメニュー (右からスライドイン) --- */
  .header-menu {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態は右の画面外に隠す */
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    transition: right 0.4s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }
  /* アクティブ時に画面内へ */
  .header-menu.is-active {
    right: 0; 
  }
  .header-menu li {
    margin: 0 0 25px 0;
    text-align: center;
    width: 100%;
  }
  .header-menu li a {
    font-size: 1.8rem;
    display: block;
    padding: 10px;
  }

  /* --- 背景暗転用オーバーレイ --- */
  .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 998;
  }
  .overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}
/* ==============================
   レスポンシブ設定 (タブレット: 1024px以下)
   ============================== */
@media screen and (max-width: 1024px) {
  /* 3カラムのグリッドを2カラムに変更 */
  .program-cards,
  .benefit-grid,
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid{
    grid-template-columns: 1fr;
  }
  #footer-menu .footer-menu-inner .flex{
    flex-flow: column;
    align-items: center;
  }
  #footer-menu .footer1,
  #footer-menu .footer2,
  #footer-menu .footer3{
    width: 100%;
  }
  #footer-menu .footer-menu-inner .widget_media_image {
    margin-top: 30px;
  }
  /* フッターメニューのflexを折り返し可能にして調整 */
  #footer-menu .footer-menu-inner #upper {
    flex-wrap: wrap;
  }
  /*#footer-menu .footer1,
  #footer-menu .footer2,
  #footer-menu .footer3 {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }*/
}
@media screen and (min-width: 768px) {
  .sp{
    display: none;
  }
}
/* ==============================
   レスポンシブ設定 (スマートフォン: 767px以下)
   ============================== */
@media screen and (max-width: 767px) {
  /* セクション全体の余白を少し詰める */
  section {
    padding: 40px 0;
  }
  .w900 {
    width: 95%;
  }

  /* --- ヘッダー --- */
  .header-inner {
    padding: 10px;
  }
  .header-logo_wrap {
    width: 100%;
  }
  .header-menu li {
    margin-right: 20px;
  }
  .header-menu li:last-child {
    margin-right: 0;
  }

  /* --- ヒーロー --- */
  .hero {
    background: url(./img/img_main_sp.jpg) top center no-repeat;
  }
  .hero-inner {
    margin: 60px auto 40px;
  }
  .hero-header span {
    display: inline-block;
    font-size: 1.2rem;
  }
  .hero .flex {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .hero .flex .ranking,
  .hero .flex .hero-logos {
    height: auto;
    margin: 0 auto;
  }
 .hero .flex .ranking{
   width: 160px;
 }
 .hero .flex .hero-logos{
   width: 200px;
 }
  /* --- CTAセクション --- */
  .cta-section .w900 {
    flex-direction: column;
    gap: 15px;
  }
  .cta-section a {
    width: 100%; /* ボタンを横幅いっぱいに */
    padding: 15px 10px;
  }

  .results-stats,
  .program-cards,
  .benefit-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  /* --- 導入実績 --- */
  .results-stats {
    gap: 20px;
  }

  /* --- 課題感 --- */
  .problem-list {
    padding: 20px;
  }
  .problem-list li {
    font-size: 1.6rem;
    align-items: flex-start; /* 文章が複数行になった時にアイコンを上揃えに */
  }
  .problem-list li img {
    margin-top: 5px;
    flex-shrink: 0;
  }
  .problems-lead {
    font-size: 1.8rem;
    padding-bottom: 40px;
  }

  /* --- メリット --- */
  .benefits-footer .flex {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .benefits-footer p.pink {
    margin-left: 0;
    font-size: 2.4rem;
  }

  /* --- FAQ --- */
  .faq-q {
    padding: 15px 40px 15px 10px;
    gap: 15px;
  }
  .faq-icon {
    width: 30px;
    height: 30px;