@charset "utf-8";

/* ----------------------------------------------------
  ヘッダー
---------------------------------------------------- */
header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
  transition-duration: 300ms;
  overflow-x: hidden !important;
}
@media only screen and (max-width: 767px) {
  header {
	background: #fff;
	box-shadow: 0px 2px 5px 0px rgba(47,51,63,0.1);
  }
}
@media print, screen and (min-width: 768px) {
  header {
  padding: 30px;
  }
}
@media print, screen and (min-width: 992px) {
  header {
    padding:20px 30px 22px 30px;
  }
}

/* ----------------------------------------------------
  ヘッダー割合
---------------------------------------------------- */
.header-container {
  display: grid;
  align-items: center;
  grid-template-columns: 2fr 1fr;
}
@media print, screen and (min-width: 992px) {
.header-container {
  grid-template-columns: 1fr 1fr;
  }
}
@media print, screen and (min-width: 1600px) {
.header-container {
  grid-template-columns: 2fr 4fr;
  }
}

/* ----------------------------------------------------
  ロゴ
---------------------------------------------------- */
.header-logo {
  font-size: 30px;  
  width: fit-content;
}
@media only screen and (max-width: 767px) {
.header-logo {
  font-size: 18px;
  }
}

.logo-link {
  display: block;
  transition-duration: 300ms;
}
@media print, screen and (min-width: 768px) {
.logo-link {
  color: #fff !important;
  }
}

/* ----------------------------------------------------
  PC専用　右側エリア
---------------------------------------------------- */
.pc_contact {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1em;
}

/* スマホでは非表示にする
------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .pc_contact {
    display: none;
  }
}

/* 電話
-------------------------------- */
.header_tel {
  font-size:22px;
}
.header_tel i{
  color: #d2b07f; /* 電話マークの色 */
  font-size:14px;
  position: relative;
  top: -2px;
  margin-right: 5px;
}

/* ボタン
-------------------------------- */
.header_btn {
  display: inline-block;
  background: linear-gradient(90deg, #22a6ce, #0053ba);
  color: #fff !important;
  padding: 10px 15px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 16px;
  background-size: 200% 100%;
  background-position: left;
  transition: background-position 0.3s ease;
}
.header_btn:hover {
  background-position: right;
}
@media print, screen and (min-width: 1200px) {
.header_btn {
  padding:7px 30px 8px 30px;
  }
}
.header_btn:hover {
  background-image: linear-gradient(90deg, #1090c9, #08346f); 
}

/* ----------------------------------------------------
  下部エリア
---------------------------------------------------- */
@media print, screen and (min-width: 768px) {
.sp_contact {
  display: none;
  }
}
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .sp_contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
    margin-top: 2em;
  }
}

/* ボタン
------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .nav_btn {
    display: inline-block;
    background-color: #2b3641; /* ボタン背景色 */
    color: #fff !important; /* ボタン文字色 */
    padding: 0.7em 1.5em;
    border-radius: 9999px;
    text-decoration: none;
    transition: 0.3s;
  }
  .nav_btn:hover {
    opacity: 0.8;
  }
}

/* 電話
------------------------- */
@media print, screen and (max-width: 991px) {
  .nav_tel {
    color: #fff !important; /* ボタン文字色 */
    font-size: 20px;
    text-decoration: none;
  }
  .nav_tel i{
  color: #fff;
  font-size: clamp(14px, 1.5vw, 20px);
  position: relative;
  top: -2px;
  margin-right: 5px;
  }
}

@media only screen and (max-width: 767px) {
.nav_tel {
  font-size: 20px;
  text-decoration: none;
  display: inline-block;
  color: #fff !important;
  background-color: #2f4d75; /* ボタン背景色 */
  padding: 0.7em 1.5em;
  border-radius: 100px;
}
.nav_tel i{
  color: #fff;
  position: relative;
  top: -2px;
  margin-right: 5px;
  }  
}

/* ----------------------------------------------------
  ナビメニュー
---------------------------------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .nav-menu {
    position: fixed;
    z-index: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    padding-right: clamp(30px, 8vw, 60px);
    padding-bottom: clamp(30px, 8vw, 60px);
    padding-left: clamp(30px, 8vw, 60px);
    transition-duration: 300ms;
    transform: translateX(100%);
    overflow: auto;
    background-color: rgba(34, 166, 206, 1.0); /* スマホタブレット背景色 */
  }
  .nav-menu.active {
    transform: translateX(0);
  }
}

@media print, screen and (min-width: 992px) {
  .nav-menu {
    padding-top: 0 !important;/* 絶対要る */
    padding-right: 10px;
  }
}

.menu-list{list-style: none;/* 中黒消す */}

@media print, screen and (min-width: 992px) {
  .menu-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: clamp(20px, 2.0833333333333335vw, 40px);
  }
  .menu-list a:link,
  .menu-list a:visited,
  .menu-list a:hover,
  .menu-list a:active{color:#fff;} /* メニューリンク文字色 */
}

@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .menu-item {
    border-style: solid;
    border-color: #fff;
    border-bottom-width: 1px;
  }
}

/* ----------------------------------------------------
  スマホ～タブレット時　メニューリンク基礎
---------------------------------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .menu-link {display: block;}  
  .nav-menu.active .menu-link {color: #fff;}
}

/* ----------------------------------------------------
  メニューリンク 文字サイズ／余白／配置／色
---------------------------------------------------- */
.menu-link {
  padding: 13px 0;
  text-align: center;
  color: #fff; /* メニュー文字色 */
}

/* ----------------------------------------------------
  現在地を示す下線（.active）
---------------------------------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
.menu-link.active{color: #2f4d75 !important;}/* 文字色 */
}

@media print, screen and (min-width: 992px) {
  .menu-link {position: relative;}
  
/* 下線のスタイル
-------------------------------- */
  .menu-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px; /* 下線の太さ */
    background-color: #fff; /* 下線の色 */
  }
  .menu-link.active::after {
    bottom: 0;
  }
  .menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #fff; /* 下線の色 */
    transition: width 0.3s ease;
  }
  .menu-link.active::after, .menu-link:hover::after {
    width: 100%;
  }
}

/* ----------------------------------------------------
  change
---------------------------------------------------- */
@media print, screen and (min-width: 768px) {
header.change-header {
	background: rgba(47,51,63,0.8);
	}
}

@media print, screen and (min-width: 992px) {
header.change-header {
	background: rgba(47,51,63,0.8);  
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	}
}

/* ----------------------------------------------------
  ハンバーガーメニュー
---------------------------------------------------- */
/* bootstrap打消し
-------------------------------- */
.hamburger-button {
  border: none;         /* ボタンの枠線を消す */
  background: transparent; /* ボタンの背景を透明に */
  outline: none;        /* フォーカス時の枠を消す */
  padding: 0;
}
.hamburger-button:focus,
.hamburger-button:active {
  outline: none;
  box-shadow: none;     /* クリック時の影も消す */
}

/* タブレットサイズのみ幅を半分に変更
-------------------------------- */
@media print, screen and (min-width: 768px) {
  #hb-menu {
    width: 40%; /* 画面半分だけ表示 */
  }
}
@media print, screen and (min-width: 992px) {
  #hb-menu {
    width: 100%;
  }
}

/* ハンバーガーボタン
-------------------------------- */
.hamburger-button {
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  height: clamp(13px, 3.466666666666667vw, 26px);
  margin-right: 0;
  margin-left: auto;
  cursor: pointer;
}

.hamburger-lines {
  display: block;
}

.hamburger-lines {
  position: relative;
  width: clamp(40px, 10.666666666666666vw, 90px);
  height: clamp(13px, 3.466666666666667vw, 26px);
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}
@media (max-width: 1024px) {
  .hamburger-lines {
    width: clamp(40px, 10.666666666666666vw, 90px);
    height: clamp(13px, 3.466666666666667vw, 26px);
  }
}
@media (max-width: 768px) and (orientation: landscape) {
  .hamburger-lines {
    width: clamp(30px, 7.496251874062969vw, 50px);
    height: clamp(15px, 2.998500749625187vw, 20px);
  }
}
.hamburger-lines.active {
  height: 1px;
}

/* 線
-------------------------------- */
.hamburger-lines .line {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  height: clamp(1px, .26666666666666666vw, 2px);
  margin: auto;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  /* ハンバーガーメニューの線の色を変えたい時 */
  background-color: #000;
}

@media print, screen and (min-width: 768px) {
.hamburger-lines .line {
  /* ハンバーガーメニューの線の色を変えたい時 */
  background-color: #fff;
  }
}

@media print, screen and (min-width: 992px) {
.hamburger-lines .line {
  /* ハンバーガーメニューの線の色を変えたい時 */
  background-color: #000;
  }
}

/* 線の色切替
-------------------------------- */
.hamburger-lines.active .line {
  /* ハンバーガーメニューオープン時の線の色を変えたい時 */
  background-color: #fff;
}

/* 2本線
-------------------------------- */
.hamburger-lines .line:nth-child(1) {
  top: 0;
}
.hamburger-lines .line:nth-child(2) {
  bottom: 0;
}

/* タブレット以上でハンバーガー非表示
-------------------------------- */
@media screen and (min-width: 992px) {
  .hamburger-button {
    display: none;
  }
}