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

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

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

body {
  color: #333;
  font-family: "Noto Sans Japanese", sans-serif;
  font-size: 1.6rem;/* 16px */
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}


/*----- テキストリンク 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;
}


/*----- CLEARFIX -----*/

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}


/*----- グローバルナビゲーションオープン時のスクロールロック -----*/

.no-scroll {
  position: fixed;
  width: 100%;
  height: 100%;
}


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

.header-wrapper {}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 50px;
  padding: 0 10px;
  background-color: #f5c800;
  box-shadow: rgba(0, 0, 0, .1) 0 3px 3px;
}

.header-title * {
  display: flex;
}


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

.global-nav-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.nav-open .global-nav-wrapper {
  display: block;
  opacity: 1;
}

.global-nav-container {
  padding-top: 50px;
}

.global-nav-list {
  width: 100%;
  height: 100%;
  margin: auto;
}

.global-nav-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
  background-color: rgba(255, 255, 255, .75);
}

.global-nav-item-title {
  width: 100%;
  padding: 10px 15px 0;
  color: #004b7d;
}

.global-nav-sublist {
  width: 100%;
}

.global-nav-subitem {}

.global-nav-subitem-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  text-decoration: none;
}

.global-nav-subitem:not(:last-child) .global-nav-subitem-link {
  padding-bottom: 0;
}

.global-nav-subitem-link::before {
  content: "››";
  padding: 0 5px 0 1em;
}

.global-nav-subitem-link.altenate::before {
  content: "›";
  padding-left: 0;
}

.global-nav-subitem-link:hover {
  color: #004b7d;
}


/*========== ナビゲーショントリガー ==========*/

.nav-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.nav-trigger:hover {
  text-decoration: none;
}


/*========== ハンバーガーボタン ==========*/

.humberger-button {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: auto;
}


/*========== ハンバーガーアイコン ==========*/

.humberger-icon {
  transition: background-color .3s;
}

.humberger-icon,
.humberger-icon::before,
.humberger-icon::after {
  display: block;
  position: relative;
  height: 4px;
  width: 30px;
  background-color: #004b7d;
  backface-visibility: hidden;
}

.humberger-icon::before,
.humberger-icon::after {
  position: absolute;
  content: "";
  left: 0;
  transition: transform .3s;
}

.humberger-icon::before {
  transform: translateY(-10px);
}

.humberger-icon::after {
  transform: translateY(10px);
}

.nav-open .humberger-icon {
  background-color: rgba(255, 255, 255, 0);
}

.nav-open .humberger-icon::before {
  transform: rotate(-45deg);
}

.nav-open .humberger-icon::after {
  transform: rotate(45deg);
}


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

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: #ccc;
}


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

.copyright {
  font-size: 1rem;
}
