@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;
}

/* ヘッダー
------------------------------------------ */
.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;
}



/* メイン
------------------------------------------ */

.news{
 margin-top:60px;
 margin-left: 7%;
 margin-right: 7%;
 margin-bottom:12%;
}

.news-container{
  display: grid;
  grid-template-columns: 2fr 1fr; /* 左2:右1 */
  column-gap:20px;
}
@media (max-width: 767.9px) {
  .news-container{
    display: flex;
    flex-direction: column;
  }
}

.news-caption{
 display: flex;
 flex-direction: column;
 text-align: center;
 justify-content: center; 
 margin-bottom: 4rem;;
}

.news-title{
  padding-left:5%;
}

.news-list{
  display: flex;
  flex-direction: column;
}

.news-item{
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
  margin-bottom:5%;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  list-style: disc;
  gap:20px;
}

 .news-item a {
  text-decoration: none;
  color:#3f3d3d;
}

.news-item a:hover {
  text-decoration: underline;
  color: #007acc;
}


.sidebar {
  background-color: #ffffff;
}

.sidebar .box-white {
  background: #a8a8a8ab;
  border: 1px solid #ccc;
  padding:5%;
}

.news-title{
  padding-left:5%;
  margin-bottom: 1rem;
}

.sidebar-list {
  list-style: none;
  padding-left: 7%;
}

.sidebar-list li {
  margin-bottom: 0.5rem;
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem); ;
}

/* フッター
------------------------------------------ */


.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);
}