/*==================================================
  COMMON CSS
==================================================*/

/*----------------------------------------
  基本
----------------------------------------*/

html {
  font-size: 62.5%;  /* ベースフォントを10pxに設定(1rem) */
}

body {
  font-family: "Noto Sans Japanese", sans-serif;
  font-size: 1.6rem;  /* 16px */
  line-height: 1.5;
}


/*----- テキストリンク Hover -----*/

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

a:hover {
  cursor: pointer;
}


/*----- イメージリンク Hover -----*/

a img {
  transition: opacity .3s;
}

a:hover img {
  opacity: .7;
  transition: opacity .3s;
  cursor: pointer;
}


/*----- イメージ下スペース削除 -----*/

img {
  vertical-align: middle;
}


/*----- テーブルスタイル削除 -----*/

table {
  border-collapse: collapse;
}


/*----- リストスタイル削除 -----*/

ul,
ol {
  list-style: none;
}


/*----------------------------------------
  ヘッダー
----------------------------------------*/

.header-wrapper {
  height: 80px;
  background-color: #f5c800;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
  height: 100%;
  margin: auto;
}

.header-title * {
  display: flex;
}

.header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 40px;
  font-size: 1.8rem;
  border: 1px solid #333;
  background-color: #fff;
  transition: all .3s;
}

.header-button::after {
  content: "＞";
  margin-left: 1em;
}

.header-button:hover {
  color: #fff;
  border-color: #004b7d;
  background-color: #004b7d;
  transition: all .3s;
}


/*----------------------------------------
  グローバルナビゲーション
----------------------------------------*/

.global-nav-wrapper {
  height: 50px;
  background-color: #004b7d;
}

.global-nav-list {
  display: flex;
  position: relative;
  width: 1200px;
  height: 100%;
  margin: auto;
}

.global-nav-item {
  width: 240px;
  height: 100%;
}

.global-nav-item-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 2rem;
  transition: background-color .3s;
}

.global-nav-item-button:hover {
  background-color: #00233c;
  transition: background-color .3s;
  cursor: pointer;
}


/*========== ドロップダウンナビゲーション ==========*/

.dropdown-nav-wrapper {
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 100;
  padding-top: 30px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
}

.dropdown-nav-container {
  width: 1200px;
  padding: 50px 100px;
  background-color: rgba(255, 255, 255, .9);
}

.dropdown-nav-container::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin-top: -30px;
  border: 30px solid transparent;
  border-bottom: 30px solid rgba(255, 255, 255, .9);
}

.global-nav-item:nth-child(2) .dropdown-nav-container::before {
  margin-left: 330px;
}

.global-nav-item:nth-child(3) .dropdown-nav-container::before {
  margin-left: 570px;
}

.global-nav-item:nth-child(4) .dropdown-nav-container::before {
  margin-left: 810px;
}

.global-nav-item:nth-child(5) .dropdown-nav-container::before {
  margin-left: 1050px;
}

.dropdown-nav-title {
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 3.5rem;
  line-height: 1;
  text-align: center;
  border-bottom: 1px solid #333;
}

.dropdown-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.dropdown-nav-item:not(:nth-child(3n)) {
  margin-right: 30px;
}

.dropdown-nav-item:last-child {
  margin-right: 0;
}

.dropdown-nav-item:nth-last-child(-n+3) {
  margin-top: 30px;
}

.dropdown-nav-item-button * {
  background-color: #fff;  /* Hover時の表示ズレ対策 */
}

.dropdown-nav-item-label {
  font-size: 2rem;
}


/*----- ドロップダウンナビゲーションホバーエフェクト -----*/

.dropdown-nav-item-link:hover {
  text-decoration: none;
}


/*----- ドロップダウンナビゲーショントリガー -----*/

.global-nav-item:hover .dropdown-nav-wrapper {
  visibility: visible;
  opacity: 1;
  transition: all .3s;
}


/*----------------------------------------
  サイドナビゲーション
----------------------------------------*/

.side-nav-wrapper {
  width: 220px;
  padding-top: 20px;
  border-top: 10px solid #004b7d;
}

.side-nav-list {
  padding-bottom: 20px;
  border-bottom: 1px solid #666;
}

.side-nav-list:not(:last-child) {
  margin-bottom: 20px;
}

.side-nav-item:not(:last-child) {
  margin-bottom: 10px;
}

.side-nav-item-title {
  margin-bottom: 10px;
  color: #004b7d;
  font-size: 2.25rem;
}

.side-nav-item-button {
  display: block;
  width: 100%;
  font-size: 1.8rem;
  transition: color .3s;
}

.side-nav-item-button:hover {
  color: #004b7d;
  transition: color .3s;
}

.side-nav-item-button .fa {
  color: #004b7d;
  margin-right: 10px;
}


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

.footer-wrapper {
  background-color: #ccc;
}


/*========== ページトップへ戻る ==========*/

.pagetop-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background-color: #eee;
}

.pagetop-button {
  margin-bottom: 10px;
}

.pagetop-label {
  font-size: 1.8rem;
  line-height: 1;
}


/*========== コピーライト ==========*/

.copyright-wrapper {
  width: 1200px;
  margin: auto;
  padding: 20px 0;
}

.copyright {
  font-size: 1.2rem;
  line-height: 1;
}
