@charset "UTF-8"; /* 文字コードの指定 */

/* 全体のスタイル
------------------------------------------ */

html { font-size: 62.5%; }

*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
  font-family: 'Noto Sans JP', sans-serif; /* フォントの種類 */
  color: #3f3d3d; /* 文字色 */
  line-height: 1.75; /* 行間 */
  margin:0;
}

p{
  margin:0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a,
a:hover {
  text-decoration: none;
  color:#fff;
}

h1{
  font-size:clamp(2rem, 1.693rem + 1.31vw, 3.25rem);
  color: #fff;
}

h2{
  font-size:clamp(1.75rem, 1.443rem + 1.31vw, 3rem);
 
}

h3{
  font-size:clamp(1.5rem, 1.193rem + 1.31vw, 2.75rem);
  color: rgb(15, 55, 127);
}

h4{
  font-size:clamp(1rem, 0.754rem + 1.05vw, 2rem);
  color: rgb(15, 55, 127);
  color:#dc3545;
  margin-bottom:1rem;
}

.title-en{
  font-size:clamp(1rem, 0.754rem + 1.05vw, 2rem);
  color:#dc3545;
  margin:0;
  font-weight: bold;
}

.headline-ja{
  border-bottom: 3px solid #dc3545;
}

/* 全体のレイアウト
------------------------------------------ */

@media (max-width: 767.9px) {
  .intro,
  .strengths,
  .student-intro,
  .process,
  .case-study,
  .faq {
    padding-left: 5%;
    padding-right: 5%;
  }
}


/* ヘッダー
------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color:#0f377f ;
  color:#fff;
  padding-left: 7%;
  padding-right: 7%;
 
}

.header-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header-brand{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hamburger-button{
  width: 6rem;
  height: 6rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media(min-width:768px){
  .hamburger-button{
    visibility: hidden;
  }
}

.bi-list{
  font-size:3.6rem; 
}

.header-nav{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  top: 6rem;
}


.header-nav-list{
  display:flex;
  flex-direction: column;
  gap:20px;
}

@media(min-width:768px){
 .header-nav-list{
   flex-direction: row;
   gap:20px;
 }
}


/* ドロップダウンメニュー（PC用） */

@media (min-width: 768px) {
  .dropdown {
    position: relative;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 300px;
    z-index: 300;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: #0f377f; /* 本体色に合わせて */
    padding: 10px;
    display: block;
    text-decoration: none;
  }

  .dropdown-menu li a:hover {
    background-color: #f0f0f0;
  }
}


/* ドロップダウンメニュー（スマホ用） */
@media (max-width: 767.9px) {
  .dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 1rem;
    background-color: rgb(15, 55, 127);
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: #fff;
    padding: 10px 0;
    display: block;
    text-decoration: none;
  }
}

.dropdown-toggle{
  color:#fff;
}

/* ハンバーガーメニュー
------------------------------------------ */

@media (max-width: 767.9px) {
  .header-nav{
    position: fixed;
    top: 6rem;
    left: 100%; /* 最初は画面外 */
    opacity: 0;
    transition: left 0.7s ease, opacity 0.7s ease;
    pointer-events: none;  /* 非表示時はクリック無効 */
    background-color: rgb(15, 55, 127); /* 必要に応じて */
    width: 100%;
  padding: 2rem;
 
  }
}

.header-nav.open {
  /* メニューを開いたときのスタイル */
  left: 0;
  opacity: 1;
  transition: left 0.7s ease, opacity 0.7s ease;
  background-color: rgb(15, 55, 127); /* 必要に応じて */
  width: 100%;
  padding: 2rem;
  pointer-events: auto;
}



/* メイン見出し
------------------------------------------ */

.main-caption-container{
  background-image:url("../img/recruitment.png");
  background-position: center;
  background-size: cover;
  width:100%;
  aspect-ratio: 5 / 1;
  display: flex;
 align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
}

.main-caption-container::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color:rgb(15, 55, 127,0.3) ;
  z-index: 1; /* 画像より上に表示 */
}

.main-caption-text{
  z-index:2
}

.title-en{
  z-index:3;
}

/* イントロダクション
------------------------------------------ */

.intro {
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.intro-container{
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.intro-description{
  margin-top: 5%;
  text-align: left;
 
}

.intro-description p{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}


.intro-viedo {
  width: 100%;
  margin: 0 auto;
  margin-top: 5%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 の比率 = 9 ÷ 16 × 100 */
  overflow: hidden;
  border-radius: 1rem; /* お好みで角丸も */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* お好みで影も */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* 強み
------------------------------------------ */
.strengths{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}


.strengths-container{
  display: flex;
  flex-direction: column;
  text-align: center;
  width:100%;
  margin: 0 auto;
}

.strengths-boxs{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; /* カードの間隔 */
  margin-top:5%;
}

.strengths-box{
  display: flex;
  flex-direction: column;
  border-radius: 10px 10px 10px 10px; 
  background-color:  #f0f0f0;
  padding:5%;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* お好みで影も */
}

.strengths-title {
  text-align: left;
}

.strengths-description{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  margin-top: 5%;
  flex-grow: 1; /* ★説明文が余白を取る */
}

.strength-button{
  margin-top:5%;
  margin-bottom: 5%;
}

.strength-btn-color{
  background-color: #ff9100;
}

.video-btn {
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  cursor: pointer;
  transition: background-color 0.3s ease;
 
}

.video-btn:hover {
  background-color: #0056b3;
}


/* 学生紹介
------------------------------------------ */



.student-intro{
  padding-left: 7%;
  padding-right: 7%;
  margin-top:12%;
}

.student-intro-container{
  display: flex;
  flex-direction: column;
  text-align: center;
  width:100%;
  margin: 0 auto;
}

.swiper {
  /*スライダーの幅と高さを調整*/
  width:100%;
  height:auto;
}

.swiper-wrapper{
  padding-top: 5%;
  height: auto;
}

.swiper-slide {
  /*スライド要素の幅と高さを調整*/
  
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 10px 10px; 
 

  /*テキストの位置調整*/
  display: flex;
  justify-content: center;
  align-items: center;
  /*テキストの色と太さを指定*/
  color: #fff;
  font-weight: bold;
}

.swiper-slide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slide-text{
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  padding: 5% 5% 10% 5%;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}

/*①各スライドに以下クラスを追加で付与*/
/*②スライド背景色を設定*/
.slide1 {
  display: flex;
  flex-direction: column;
  background-color: #88acbd;
}

.slide2 {
  background-color: #99cb1f;
  display: flex;
  flex-direction: column;
}

.slide3 {
  background-color: #e43a47; 
  display: flex;
  flex-direction: column;
}


.slide4 {
  background-color: #a33ae4; 
  display: flex;
  flex-direction: column;
}

.swiper-scrollbar{
  background: none;
}


/*流れ
------------------------------------------ */
.process{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.process-container{
  display: flex;
  flex-direction: column;
  text-align: center;
  width:100%;
  margin: 0 auto;
}


.process-list{
  display: grid;
  grid-template-columns: 1fr; /* デフォルトは横並び */
  gap: 20px;
  margin-top:5%;
  text-align: center;
}

@media (min-width: 768px) {
  .process-list {
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  }}


.process-item{
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 10px 10px 10px 10px; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* お好みで影も */
  padding:2.5% 5%;
}

.step-wrapper{
  padding-left: 10%;
  display: flex;
  flex-direction: row;
 justify-content: center;
 align-items:center;
}

.step-number{
display: flex;
flex-direction: column;
justify-content: center; /* 縦方向の中央 */
align-items: center;
}

.step-desc{
  display: flex;
  align-items: flex-start;
flex-direction: column;
  justify-content:center;

}

.step-desc p{
  text-align: left;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}

.process-icon{
  font-size: clamp(1.75rem, 1.443rem + 1.31vw, 3rem);
  padding-right: 5%;
  color: #007acc;
}


/* 導入事例
------------------------------------------ */


.case-study{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.case-study-container{
  display: flex;
  flex-direction: column;
  text-align: center;
  width:100%;
  margin: 0 auto;
}

.case-cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; /* カードの間隔 */
  margin-top:5%;
}

.case-card{
  border-radius: 10px 10px 10px 10px; 
  background-color:#f0f0f0;
}

.case-card-img{
  width:100%;
  height:auto;
  padding-top: 56.25%;
  position: relative;
}
.case-card-img img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0px 0px; 
}

.case-card-title{
 font-size:clamp(1rem, 0.754rem + 1.05vw, 2rem);
 font-weight: bold;
 padding:5% 5% 0 5%;
 text-align: left;
}


.case-card-text{
  padding:5%;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  text-align: left;
}

/* faq
------------------------------------------ */

.faq{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
  margin-bottom:12%;
}


.faq-container{
  display: flex;
  flex-direction: column;
  text-align: center;
  width:100%;
  margin: 0 auto;
}

.faq-list{
  margin-top:5%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item{
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* お好みで影も */
}

.faq-question {
  width: 100%;
  text-align: left;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  padding:2.5% 5%;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #e0e0e0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fafafa;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}

.faq-answer p {
  margin: 15px 0;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* 十分な高さに調整してください */
}



/* お問い合わせ
------------------------------------------ */

.contact{
  position:relative;
}

.contact::after{
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: rgba(0, 0, 128, 0.6); /* 半透明の黒 */
}



.contact-container{
  background-image: url("../img/background.jpg");
  background-position: center;
  background-size: cover;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 12%;
  padding-bottom: 12%;
}



.contact-caption{
  display: flex;
  flex-direction: column;
  justify-content:center;
  align-items: center;
  margin-bottom: 2rem;
  z-index:3;
  color:#fff
}


.contact-methods{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  gap:clamp(0.625rem, -0.511rem + 5.68vw, 3.75rem);
  padding-left: 7%;
  padding-right: 7%;
}

.contact-mail{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  width:35%;
}

.contact-tel{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  width:35%;
}

.telicon{
  font-size:clamp(4rem, 1.818rem + 10.91vw, 10rem);
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  color:#fff;
}

.mailicon{
  font-size:clamp(4rem, 1.818rem + 10.91vw, 10rem);
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */ 
  color:#fff
}

.contact-mail-text{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  color:#fff;
  padding-top:5%;
}

.contact-tel-text{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  color:#fff;
  padding-top: 5%;
 }

 .telnum a{
  color:#ff9100;
  font-size:clamp(1.75rem, 1.443rem + 1.31vw, 3rem) ;
  font-weight: bolder;
 }

.telnum{
  text-align: center;
 
}


 /* モーダルスタイル */
 .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  position: relative;
  margin: 10% auto;
  padding-top: 56.25%;
  width: 100%;
  border-radius: 1rem; /* お好みで角丸も */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* お好みで影も */
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  padding-left:7%;
  padding-right: 7%;
  padding-bottom: 5%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 2000;
}

.modal.show {
  display: block;
}

/* フッター
------------------------------------------ */


.footer-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:20px;
  padding-left: 7%;
  padding-right: 7%;
  padding-top: 5%;
  padding-bottom: 5%;
  background-color:rgb(15, 55, 127) ;
  color:#fff;
}


.footer-brand{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap:2%;
}

.footer-brand-logo {
  display: block;
}

.footer-title{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  font-weight: bold;
  gap:20px;
}


.footer-info{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}



.footer-nav{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}



.footer-social{
  display: flex;
  justify-content: flex-start;
}

.footer-social-box{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  font-size: 2.5rem;
  gap:10%;
  width:40%;
}

.bi-facebook,.bi-instagram,.bi-twitter-x{
  color: #fff;
}

.copyright{
  text-align: center;
  background-color: rgba(124, 123, 123, 0.473);
  font-size: clamp(1rem, 0.877rem + 0.52vw, 1.5rem);
}