@charset "UTF-8";

/*------------------------------------------------------------
  カスタムプロパティ
------------------------------------------------------------*/
:root {
  --header-nav-height: 100px;
  --footer-nav-height: 50px;
  --global-nav-width: max(min(17%, 18rem), 15rem);
  --breadcrumb-height: 20px;
  --height-margin-abs: 5px;

  /* 50% opacity of primary of RGB */
  --bs-primary-sub: rgb(255, 235, 129);
  /* 30% opacity of primary of RGB */
  --bs-primary-sub-sub: rgb(255, 243, 179);
  /* 50% opacity of secondary of RGB */
  --bs-secondary-sub: rgb(220, 243, 243);
  /* 30% opacity of secondary of RGB */
  --bs-secondary-sub-sub: rgb(234, 248, 248);
}

/*------------------------------------------------------------
  デフォルトスタイル
------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1em;
}

html {
  /*font-size: 62.5%;*/
  font-size: 80%;
}

body, table, input, textarea, select, option {
  font-family: "Helvetica Neue",
    "Arial",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Meiryo",
    sans-serif;

}
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
:focus {
  outline: 0;
}
ins {
  text-decoration: none;
}
del {
  text-decoration: line-through;
}
img {
vertical-align: top;
  max-width: 100%;
  height: auto;
}

body {
  display: flex;
  flex-direction: column;
}

/*------------------------------------------------------------
  ヘッダー
------------------------------------------------------------*/
.header-nav {
  position: fixed;
  display: block;
  height: var(--header-nav-height);
  width: 100%;
  text-align: left;
}

.header-nav > .header-box {
  box-sizing: border-box;
  display: block;
  padding: 9px;
  height: 100%;
  width: 100%;
}

.header-nav > .header-box > .header-title {
  margin-top: 6px;
  padding-left: 61px;
  padding-right: 22px;
  font-size: 2.83rem;
  font-weight: bold;
  line-height: 1;
  width: 100%;
}

.header-nav > .header-box > .header-title a {
  color: #272343;
  text-decoration: none;
}

.header-nav .project-logo {
  margin: 0;
  position: absolute;
  top: 9px;
  left: 9px;
  height: 52px;
  width: 52px;
}

.header-nav > .header-box > .header-right {
  position: absolute;
  right: 31px;
  bottom: 0.5rem;
}

/* header nies logo */
.header-nav .header-box .header-right .header-nies-logo-parent {
  height: 40px;
}

.header-nav .header-box .header-right .header-nies-logo-parent .header-nies-logo {
  position: absolute;
  top: 0;
  right: 0;
  height: 40px;
}

/* .language-area */
.header-nav > .header-box > .header-right > .language-area {
  margin-top: 5px;
  text-align: right;
}

.header-nav > .header-box > .header-right > .language-area .custom-radio {
  display: inline-block;
  vertical-align: top;
  letter-spacing: 0.01em;
  margin: 0 5px 0 8px;
  margin-left: 15px;
}

/* .account-area */
.header-nav > .header-box > .header-right > .account-area {
  text-align: right;
  margin-top: 5px;
}

.header-nav > .header-box > .header-right > .account-area li{
  display: inline-block;
  vertical-align: top;
  position: relative;
  letter-spacing: 0.01em;
}

.header-nav > .header-box > .header-right > .account-area li:not(:last-child)::after {
  width: 1px;
  height: 14px;
  position: absolute;
  top: 4px;
  right: -2px;
  background-color: #272343;
  content: "";
}
.header-nav > .header-box > .header-right > .account-area a {
  padding: 0 8px;
  display: block;
}
.header-nav > .header-box > .header-right > .account-area a:last-child {
  padding-right: 4px;
}
.header-nav > .header-box > .header-right > .account-area img {
  margin: -2px 2px 0 0;
  width: 11px;
  display: inline-block;
  vertical-align: middle;
}

/*------------------------------------------------------------
  フッター
------------------------------------------------------------*/
.footer-nav {
  position: fixed;
  height: var(--footer-nav-height);
  width: 100%;
  bottom: 0;
  text-align: center;
  color: #fff;
  background-color: #2D334A;
  z-index: 98;
}

.logo-set {
  display: flex;
  margin-left: 20px;
}

.nies-logo {
  height: 30px;
  margin-top: 10px;
  margin-right: 5px;
}

.copyright {
  margin-top: 15px;
}

.footer-right {
  position: absolute;
  right: 22px;
  bottom: 12px;
  text-align: right;
}
.footer-right a {
  color: #fff;
  padding: 0 8px;
  display: block;
}

.footer-right li {
  display: inline-block;
  vertical-align: top;
  position: relative;
  letter-spacing: 0.01em;
}

.footer-right li::after {
  width: 1px;
  height: 20px;
  right: -1px;
  top: 0;
  background-color: #fff;
}

/*------------------------------------------------------------
  メイン全体設定
------------------------------------------------------------*/
.main-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 100%;
  width: 100%;
  margin-top: var(--header-nav-height);
  margin-bottom: var(--footer-nav-height);
}

/*------------------------------------------------------------
  グローバルナビゲーション
------------------------------------------------------------*/
.global-nav {
  position: fixed;
  height: calc(100vh - var(--header-nav-height) - var(--footer-nav-height) - var(--height-margin-abs));
  width: var(--global-nav-width);
  text-align: center;
  padding: .25rem;
  overflow-y: auto;
  z-index: 97;
  background-color: #fff;
}

#sidebar {
  width: 100%;
  flex-shrink: 0;
}
#sidebar .sidelist > li > a {
  background-color: #FFD803;
  padding: 8px calc(19px + 1.25rem) 9px 19px;
  height: 100%;
}

#sidebar .sidelist li {
  margin-bottom: 1px;
}

#sidebar .sidelist a {
  padding: 8px;
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 1;
  background-color: #E3F6F5;
  text-decoration: none;
  position: relative;
  color: #272343;
}

#sidebar .sidelist a:visited {
  color: #272343;
}

#sidebar .sidelist .naviUl {
  padding-top: 1px;
  display: none;
}

#sidebar .sidelist .naviUl li a { font-size: 1.21rem; }

#sidebar .logo-sample {
  margin: 14px 13px 0 0;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.1;
}
#sidebar .drop-button::after {
  margin-top: -6px;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  right: 20px;
  background: url(../../img/commons/down.png) no-repeat left top / 100% 100%;
  content: "";
}
#sidebar .drop-button.on::after {
  background-image: url(../../img/commons/up.png);
}
#sidebar .sidelist a:hover {
  opacity: 0.7;
}

#sidebar .sidelist a.invalid {
  color: #3e3c49;
  background-color: #b1b1b1;
  opacity: 0.7;
}
#sidebar .sidelist a:hover {
  opacity: 0.7;
}

/*------------------------------------------------------------
  スピナー
------------------------------------------------------------*/
#loading {
  position: fixed;
  background: rgba(0, 0, 0, .5);
  z-index: 1100;
}

/*------------------------------------------------------------
  コンテンツ全体
------------------------------------------------------------*/
.content-wrapper {
  position: fixed;
  height: calc(100vh - var(--header-nav-height) - var(--footer-nav-height));
  flex-direction: column;
  width: 100%;
  padding: .25rem;
  padding-left: var(--global-nav-width);
}

/* パンくずリストを除くコンテンツ全体 */
.container {
  position: relative;
  /* 本セレクタでスクロール可能にするため、heightを指定 */
  height: calc(100vh - var(--header-nav-height) - var(--footer-nav-height) - var(--height-margin-abs));
  max-width: 100%;
  overflow-y: auto;
}

.invalid-message {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: var(--bs-danger);
}

.invalid-message.-show {
  display: block;
}

/*------------------------------------------------------------
  パンくずリスト
------------------------------------------------------------*/
/* Bootstrapのbreadcrumbスタイルを上書き */
.breadcrumb {
  /* paddingを.containerと合わせる */
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
  /* 余計なmarginを削除 */
  margin-bottom: 0;
}
.main-wrapper > .content-wrapper > .content > nav[aria-label=breadcrumb] {
  height: var(--breadcrumb-height);
  position: fixed;
  top: calc(var(--header-nav-height) - var(--breadcrumb-height) - 0.5rem);
  left: 61px;
  z-index: 100;
}

/*------------------------------------------------------------
  見出し関連設定
------------------------------------------------------------*/
.headline01 {
  margin-bottom: 23px;
  font-size: 2.00rem;
  font-weight: bold;
  line-height: 1.35;
  border-bottom: 8px solid #BAE8E8;
}

.headline01 + p {
  margin: -13px 0 17px;
}

.headline02 {
  margin-bottom: 8px;
  padding-left: 16px;
  font-size: 1.41rem;
  font-weight: bold;
  position: relative;
}

.headline02::before {
  width: 10px;
  height: calc(100% - 3px);
  position: absolute;
  top: 2px;
  left: 1px;
  background-color: #FFD803;
  content: "";
}

.headline03 {
  padding: 12px 0;
  font-size: 1.21rem;
  font-weight: bold;
  }

.headline04 {
  margin-bottom: 7px;
  padding: 2px 5px 7px;
  font-size: 1.21rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  background-color: #BAE8E8;
}

/*------------------------------------------------------------
  コントロール
------------------------------------------------------------*/
/* ボタン（disabled） */
  /*----------------------------------------------------------
  - Bootstrap標準だとopacityで透過度が上がるだけで見づらい
  - 透過度を戻し、グレーアウトとする
  - マウスオーバー時にカーソルは変更しない
  ----------------------------------------------------------*/
.btn:disabled, .btn.disabled, fieldset:disabled .btn {
  color: var(--bs-gray-800);
  background-color: var(--bs-gray-300);
  border-color: var(--bs-gray-300);
  opacity: 1;
}

/*------------------------------------------------------------
  動的形状
------------------------------------------------------------*/
/* 横幅768px以下のスタイル */
@media screen and (max-width: 768px) {
  /*----------------------------------------------------------
    - ヘッダー/フッターの"position: fixed;"を解除
    - ヘッダー/メニュー/コンテンツ/フッターを縦並びに変更
  ----------------------------------------------------------*/
  :root {
    --header-nav-height: 0px;
    --breadcrumb-height: 0px;
  }
  .header-nav {
    position: relative;
    height: auto;
  }

  .header-nav > .header-box {
    height: 100%;
    padding-bottom: 0.25rem;
  }

  .header-nav > .header-box > .header-title {
    width: 100%;
    font-size: 1.9rem;
    line-height: 1em;
  }

  .header-nav > .header-box > .header-right {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 8px;
    bottom: 0;
    right: 0;
  }

  .main-wrapper > .content-wrapper > .content > nav[aria-label=breadcrumb] {
    position: relative;
    height: auto;
    top: auto;
    left: auto;
  }

  .footer-nav {
    position: relative;
  }

  .main-wrapper {
    flex-direction: column;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }

  .global-nav {
    position: relative;
    width: 100%;
    height: auto;
  }

  .content-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    padding-left: 0;
  }

  .container {
    position: relative;
    width: 100%;
    height: auto;
  }
}

/* 3% margin overrides */

:root {
  --content-outer-gutter: 3%;
}
@media screen and (max-width: 768px) {
  :root {
    --content-outer-gutter: 0;
    --global-nav-width: 0;
  }
}

.global-nav {
  margin-left: var(--content-outer-gutter);
}

.main-wrapper > .content-wrapper {
  padding-left: calc(var(--global-nav-width) + var(--content-outer-gutter));
}
.main-wrapper-tab > .content-wrapper-tab {
  padding-left: var(--content-outer-gutter);
}

.main-wrapper > .content-wrapper > .content > .container {
  padding-right: var(--content-outer-gutter);
}

.main-wrapper > .content-wrapper > .content > .container,
.main-wrapper-tab > .content-wrapper-tab > .content > .container {
  padding-right: var(--content-outer-gutter);
}

/*------------------------------------------------------------
  ボタン最小幅規定
------------------------------------------------------------*/

.btn {
  min-width: 8.656rem;
}

.btn-sm {
  min-width: 7.218rem;
}
