@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;
}


/* 全体のレイアウト
------------------------------------------ */

@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:rgb(15, 55, 127) ;
  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;
}


/* お問い合わせ
------------------------------------------ */


.form{
  margin-top: 60px;
}

.form-container{
  margin-left: 7%;
 margin-right: 7%;
 margin-bottom:12%;
}


.form-headline{
 display: flex;
 flex-direction: column;
 text-align: center;
 justify-content: center; 
 margin-bottom: 2rem;;
}

.form-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.wpcf7-form{
 
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* 各入力フィールドのスタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: clamp(1rem, 0.754rem + 1.05vw, 2rem);
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* テキストエリアの高さ調整 */
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

/* 送信ボタンのスタイル */
.wpcf7 input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: clamp(1rem, 0.754rem + 1.05vw, 2rem);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #0056b3;
}

/* エラーメッセージや成功メッセージの表示 */
.wpcf7-response-output {
  margin-top: 20px;
  font-size: clamp(1rem, 0.754rem + 1.05vw, 2rem);
  padding: 10px;
  border: 1px solid #ccc;
}

/* 必須マーク（*）の調整 */
.wpcf7-form .wpcf7-form-control-wrap::after {
  content: "";
}

/* ラベルの調整（必要なら追加） */
.wpcf7-form p {
  margin-bottom: 1.5rem;
  font-size:clamp(1rem, 0.754rem + 1.05vw, 2rem); ;
}

/* フッター
------------------------------------------ */


.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);
}