@charset "UTF-8";

body{
-webkit-font-feature-settings: "palt" 1;
	font-feature-settings: "palt" 1;
	font-family: 'Noto Sans JP', sans-serif;
	/*min-width: 1044px;*/
	color: #17263a;
	font-size: 16px;
	top: 0 !important;
}

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

* {
    box-sizing: border-box;
}

.pc-only {
	display: block;
}
.sp-only {
	display: none;
}

/* ==========================================
   ヘッダー全体 & 固定表示 (sticky)
========================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  height: 120px;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
}

.header-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo .logo-img {
  height: 120px;
  width: auto;
  display: block;
}

/* ナビゲーションレイアウト */
.header-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}

/* 上段メニュー */
.nav-sub {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-sub a:hover {
  color: #005bac;
}

.nav-sub .btn-program {
  border: 1px solid #369CDB;
  background-color: #369CDB;
  color: #fff;
  padding: 4px 12px;
  border-radius: 5px;
  transition: background 0.5s, color 0.5s;
}

.nav-sub .btn-program:hover {
  /*background-color: #005bac;*/
  background-color: #fff;
  color: #369CDB;
}

#google_translate_element {
  display: none;
}

.skiptranslate > iframe {
  display: none !important;
}

/* 下段メニュー */
.nav-main {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1.0rem;
  letter-spacing: 0.05em;
  font-weight: bold;
}

.nav-main > li {
  position: relative;
  padding: 6px 6px 12px 6px;
  margin-bottom: -2px;
}

.nav-main > li:last-of-type {
  padding-right: 0;
}

.nav-main > li::after {
    content: "";
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #005bac;
    transition: .3s;
}

.nav-main > li:hover::after{
width: 100%;
}
  
.nav-main > li > a {
  transition: color 0.2s;
}

.nav-main > li:hover > a {
  color: #005bac;
}

/* ==========================================
   PC ドロップダウンメニュー
========================================== */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background-color: #fff;
  border-radius: 8px;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); */
  padding: 40px 10px 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
}

/* 吹き出しの三角矢印 */
.dropdown-menu::before {
  content: "▼";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: #005bac;
  font-size: 11px;
}

/* ホバー時に表示 */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu li a::before {
  position: absolute;
  top: 50%;
  right: 0px;
  width: 6px;
  height: 6px;
  padding: 0;
  content: '';
  -ms-transform: translate(-50%,-50%) rotate(45deg);
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
  border-top: solid 1px #8f8f8f;
  border-right: solid 1px #8f8f8f;
}
.dropdown-menu li a {
  display: block;
  position: relative;
  padding: 16px 0;
  margin: 0 20px;
  font-size: 1.0rem;
  line-height: 1.6em;
  font-weight: normal;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  /*background-color: #f5f8fa;*/
  color: #005bac;
}

.hamburger-btn {
  display: none;
}

/* ==========================================
   ヘッダー中間サイズ設定
========================================== */
@media screen and (min-width: 1000px) and (max-width: 1100px) {
/* 下段メニュー */
.nav-main {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.0rem;
  letter-spacing: 0.05em;
  font-weight: bold;
}

}

/* ==========================================
   下層ページヘッダー設定
========================================== */
#underTop{
	width: 100%;
	height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	/*background: linear-gradient(90.66deg, #7DC8F0 0%, #00A0E8 50%, #0096E1 100%);*/
	background: #d4eff8;
	margin-bottom: 40px;
}

#underTop h2{
	font-size: 34px;
	font-weight: 700;
	margin-bottom: 0;
	color: #174060;
}


/* ==========================================
   ベース設定 & フッター全体
========================================== */
.site-footer {
  /*background-color: #44B2E5;*/
  background-color: #357ea3;
  /*color: #23476b;*/
  color: #fff;
  /*font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;*/
  padding: 50px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px 0;
}

.dark-area {
  /*background-color: #1380dd;*/
  background-color: #085390;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* 区切り線 */
.footer-divider {
  border: none;
  border-top: 1px solid #3d97e3;
  margin: 40px 0;
}

/* ==========================================
   上部メニュー (グリッドレイアウト)
========================================== */
.footer-menus {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.footer-col-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.footer-list li {
  line-height: 1.8em;
  /*margin-bottom: 8px;*/
}

.footer-list a {
  font-size: 0.90rem;
  /*opacity: 0.9;*/
  transition: opacity 0.2s;
}

.footer-list a:hover {
  opacity: 1;
  color: #00345e;
  /*text-decoration: underline;*/
}

/* ==========================================
   中部バナー画像エリア (グレーの長方形)
========================================== */
#footer-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 50px;
}

#footer-banners a {
  display: block;
  background-color: #d1d5db; /* 画像用のグレー仮背景 */
  border-radius: 4px;
  overflow: hidden;
  transition: opacity 0.2s;
}

#footer-banners a :hover {
  opacity: 0.85;
}

#footer-banners img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   リンクボタンエリア
========================================== */
.footer-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.footer-btn {
  position: relative;
  background-color: #fff;
  color: #174163;
  text-align: center;
  padding: 14px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s, transform 0.2s;
}

.footer-btn::before {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 6px;
  height: 6px;
  padding: 0;
  content: '';
  -ms-transform: translate(-50%,-50%) rotate(45deg);
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
  border-top: solid 1px #174163;
  border-right: solid 1px #174163;
}

.external::before {
  content: "↗";
  top: 35%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border-top: none;
  border-right: none;
}
  
.footer-btn:hover {
  background-color: #174163;
  color: #fff;
  /*transform: translateY(-2px);*/
}

.footer-btn:hover::before {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
}

.external:hover::before {
  border-top: none;
  border-right: none;
}

.footer-btn .arrow {
  color: #1da1f2;
  font-size: 16px;
}

.footer-btn:hover .arrow {
  color: #fff;
  font-size: 16px;
}

.footer-btn .icon-ext {
  color: #1da1f2;
  font-size: 14px;
}

.footer-btn .icon-ext {
  color: #fff;
  font-size: 14px;
}

/* ==========================================
   下部：ロゴ＆会社情報・コピーライト
========================================== */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "left right-top"
    "left right-bottom";
  align-items: end;
}

.footer-logo-area {
  grid-area: left;
}
.footer-logo-area .footer-logo {
  height: 135px;
  width: auto;
  display: block;
}

.footer-company-info {
  grid-area: right-top;
  color: #fff;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.company-address {
  font-size: 0.9rem;
}

.footer-copyright {
  color: #fff;
  grid-area: right-bottom;
  font-size: 0.8rem;
  padding-bottom: 20px;
}

/* ==========================================
   レスポンシブ (スマホ表示: 999px以下)
========================================== */
@media (max-width: 999px) {
.pc-only {
	display: none;
}
.sp-only {
	display: block;
}

.site-header {
	height: 60px;
}
	
  .header-container {
	  padding: 0;
  }

  .header-logo {
	  height: 60px;
	  overflow: hidden;
  }

	.header-logo .logo-img {
		height: 60px;
	}
	
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* ハンバーガーのアニメーション (X印) */
  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  /* スマホ用メニュー展開設定 */
  .header-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-main {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .nav-sub {
    /* border-bottom: 2px solid #eee; */
    /* padding-bottom: 15px; */
    /* margin-bottom: 15px; */
    /* display: flex; */
    width: 95%;
    flex-wrap: wrap;
    margin: 0 auto;
    text-align: center;
    gap: 0;
  }

  .nav-sub li {
    width: 50%;
  }
  .nav-sub a {
	display: block;
	padding: 12px 0;
	text-align: center;
	} 

 .nav-main > li {
	 width: 100%;
	 border-bottom: 1px solid #eee;
	 margin-bottom: 5px;
	 padding: 0;
	}
	
 .nav-main > li > a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    /* border-bottom: 1px solid #eee; */
  }
 .nav-main > li:hover > a {
	 color: inherit;
 }

 .nav-main > li::after {
	 content: none;
 }

  .nav-sub .btn-program {
    display: inline-block;
    /* text-align: center; */
    margin: 0 auto;
  }

  /* スマホでのドロップダウン形式の展開 */
  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background-color: #f9f9f9;
    padding: 0;
    border-radius: 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding-left: 20px;
  }

/* ==========================================
   下層ページヘッダー設定
========================================== */
  #underTop{
	height: calc(100vw * 60 / 390);
	margin-bottom: calc(100vw * 30 / 390);
  }
	
  #underTop.mar-b0{
	margin-bottom: calc(100vw * 0 / 390);
  }

  #underTop h2{
	font-size: calc(100vw * 24 / 390);
  }

  .site-footer {
    padding: 0;
  }
  
  .footer-menus {
    grid-template-columns: 1fr;
    gap: 0;
  }
	
  .accordion-container {
        width: 100%;
        margin: 0 auto;
        display: block;
    }
  .footer-container {
    padding: 0;
  }
  .footer-heading {
    color: #fff;
    padding: 18px 0px 18px 44px;
    margin-bottom: 0;
    position: relative;
  }

  .footer-heading::after {
	background-color: #fff;
	content: "";
    position: absolute;
    top: 50%;
    right: 40px;
    width: 15px;
    height: 2px;
	transition: all .2s ease-in-out;
  }

  .footer-heading::before {
	background-color: #fff;
	position: absolute;
	font-size: 9px;
	content: "";
	left: auto;
	right: 40px;
	top: 50%;
	font-weight: bold;
	letter-spacing: 0px;
	font-family: swiper-icons;
	width: 15px;
	height: 2px;
	transform: rotate(90deg);
	transition: all .3s ease-in-out;
	}

	.footer-heading.open::after {
	    opacity: 0;
	}

	.footer-heading.open::before {
	    transform: rotate(180deg);
	}
	
	.accordion-content {
		display: none;
	}
  .footer-list li {
	  border-bottom: 1px solid #0258bb;
	 }

	.footer-list li {
		display: block;
        padding: 16px 0 16px 66px;
        position: relative;
	}
	
  #footer-banners {
    grid-template-columns: 1fr;
    margin: 0 20px 50px;
  }

  .footer-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 20px 50px;
  }

  .footer-buttons .footer-btn {
    border-radius:10px;
    box-shadow: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    /* gap: 20px; */
    display: flex;
  }

  .footer-bottom .footer-company-info {
    background-color: #fff;
    color: #1380dd;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .footer-copyright {
    padding: 10px 0;
  }
  
}