@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;
}


/* メイン見出し
------------------------------------------ */

.main-caption{
  background-image: url(../img/Picnic-2023-5.jpg);
  background-position: center;
  background-size:cover;
  width: 100%;
  aspect-ratio:5 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-title{
  position: relative;
  z-index: 2;
}

.main-caption p{
  position:relative;
  z-index: 2;  
}

.main-caption::after{
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: rgb(15, 55, 127,0.3) ;
}

/* キャッチ
------------------------------------------ */
.catch-title {
  text-align: center;
}

.catch-title h2 {
  display: inline-block;
  border-bottom: 3px solid #dc3545;
  padding-bottom: 5px;
}

.catch-container{
padding-left: 7%;
padding-right: 7%;
margin-top: 12%;
}

.catch-text{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  margin-top:5%;
}

.catch-img{
  display:flex;
  align-items: center;
  justify-content: center;
  margin-top: 5%;
}

.catchphrase{
 font-size:clamp(1.75rem, 1.443rem + 1.31vw, 3rem);
 text-align: center;
 font-weight: bolder;
 color:#dc3545;
 margin-top: 2rem;;
}

/* 特徴
------------------------------------------ */

.Features-title {
  text-align: center;
}

.Features-title h2 {
  display: inline-block;
  border-bottom: 3px solid #dc3545;
  padding-bottom: 5px;
}


.Features-container{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.Features-boxes{
 display: flex;
 flex-direction: column;
 gap:20px;
 margin-top: 5%;
 padding:5%;
  background-color: rgba(124, 123, 123, 0.1);
}

.Features-box{
 display:grid;
 grid-template-columns:1fr 1fr;
 justify-items: center;
 gap:20px;
}

.Features-desc-text{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);margin-top: 2rem;
}

/* 偶数番目（2, 4...）は画像を右側に */
.Features-box:nth-child(even) {
  direction: rtl; /* レイアウトを反転 */
}

.Features-box:nth-child(even) .Features-img,
.Features-box:nth-child(even) .Features-desc {
  direction: ltr; /* テキスト方向だけ元に戻す */
}

@media (max-width: 767.9px) {
  .Features-box{
 display:flex;
 flex-direction: column;
 justify-items: center;
 gap:20px;
}
}
.Features-desc-title b{
  font-size: clamp(1.75rem, 1.443rem + 1.31vw, 3rem);
  color:#dc3545;
}


/* 実績
------------------------------------------ */

.Achievements-title {
  text-align: center;
}

.Achievements-title h2 {
  display: inline-block;
  border-bottom: 3px solid #dc3545;
  padding-bottom: 5px;
}

.Achievements-container{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.Achievements-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5%;
}

.Achievements-table{
  width:100%;
}

.Achievements-table caption{
  margin-bottom: 5%;
}

  .Achievements-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 16px;
    text-align: center;
  }

  .Achievements-table th, .Achievements-table td {
    border: 1px solid #313030a8;
    padding: 10px;
    font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  }

  .Achievements-table th {
    border: 1px solid #313030a8;
    background-color: #f0f0f0;
  }

  .Achievements-table caption {
    caption-side: top;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
  }

/*受け入れ先
------------------------------------------ */

.recipients-title {
  text-align: center;
}

.recipients-title h2 {
  display: inline-block;
  border-bottom: 3px solid #dc3545;
  padding-bottom: 5px;
}

.recipients-container{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
  margin-bottom: 12%;
}


.recipients-text{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
   margin-top: 5%;
}

/*事例
------------------------------------------ */
.casestudy-title {
  text-align: center;
}

.casestudy-title h2 {
  display: inline-block;
  border-bottom: 3px solid #dc3545;
  padding-bottom: 5px;
}

.casestudy-container{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
  margin-bottom: 12%;
}

.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;
}




/* お問い合わせ
------------------------------------------ */

.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;
 
}

/* フッター
------------------------------------------ */


.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);
}