@charset "utf-8";

/* *****共通***** */


/*
 * bootstrap上書き
 */

@media (min-width: 1200px) {
  .container {
      max-width: 960px;
  }
}

/*
 * 汎用スタイル
 */
:root {
  scroll-padding-top: 131px; /* 固定ヘッダーの高さ分 */
}

body {
  font-family: 'Noto Sans CJK JP'
}

main {
  padding-top: 131px;
}

a {
  text-decoration: underline;
}

ul {
  padding: 0;
}

ul li {
  padding-left: 15px;
  text-indent: -15px;
  list-style: none;
}

.attention {
  text-decoration: underline;
  color: #dc143c;
}

@media (max-width: 992px) {
  :root {
    scroll-padding-top: 70px; /* 固定ヘッダーの高さ分 */
  }

  main {
    padding-top: 50px;
  }

  body.login main {
    padding-top: 50px;
  }

  body.login .mainMenu.active {
    padding-top: 0;
  }

  .container {
    max-width: 100%;
  }
}

/*
 * ヘッダー
 */

/* ヘッダーロゴ、ログインボタン */

.commonHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #FFF;
}

.commonHeader > .container {
  position: relative;
  display: flex;
  justify-content: end;
  align-items: center;
  height: 71px;
  padding: 0;
  margin: 0 auto;
}

.commonHeader > .container > a {
  position: absolute;
  top: 10px;
  left: 0;
  text-decoration: none;
}

.commonHeader .logo {
  width: 222px;
  height: 50px;
}

.commonHeader h1 {
  display: inline-block;
  margin-left: 8px;
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: bold;
  vertical-align: -8px;
  color: #000;
}

.commonHeader .headerBtnContainer {
  position: absolute;
  top: 6px;
  right: 0;
  width: 400px;
}

.commonHeader .headerBtnContainer > a {
  display: inline-block;
  width: auto;
  height: 60px;
  padding: 5px 15px;
  margin-left: 10px;
  background: #ffbf00;
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  vertical-align: middle;
}

.commonHeader .headerBtnContainer a.groupLogin {
  background: #11bf4b;
}

.commonHeader .headerBtnContainer {
  display: block;
  text-align: right;
}

body * .login {
  display: none;
}

body.login .notLogin {
  display: none !important;
}

body.login .login {
  display: block;
}

body.login .commonHeader .headerBtnContainer {
  right: 60px;
}

body.login .commonHeader .headerAccoontContainer {
  background: url('../img/common/icon-person-circle.svg') no-repeat 10px center;
  background-size: 20px 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

body.login .commonHeader .headerAccoontContainer button {
  outline: none;
  appearance: none;
  border: none;
  background: none;
}

.commonHeader .headerAccountMenu {
  display: none !important;
  position: absolute;
  top: 60px;
  right: 0;
  z-index: 11;
  background: #FFF;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.commonHeader .headerAccountMenu.active {
  display: block !important;
}

.commonHeader .headerAccountMenu.active ul {
  margin-bottom: 0;
}

.commonHeader .headerAccountMenu.active ul li {
  padding: 0;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  cursor: pointer;
  font-size: 14px;
  text-indent: 0;
  list-style: none;
}

.commonHeader .headerAccountMenu.active ul li a {
  display: block;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
}

@media (max-width: 992px) {
  .commonHeader .headerAccoontContainer {
    position: absolute;
    right: 60px;
    top: 7px;
  }
  .commonHeader .headerAccountMenu {
    display: none !important;
    top: 50px;
  }

  body.login .commonHeader .headerBtnContainer {
    display: none;
  }

  body.login .commonHeader .headerBtnContainer.active {
    display: block;
  }

  body.login .commonHeader .headerBtnContainer a.groupLogin {
    width: 100%;
  }

  body.login .mainMenu.active {
    padding-top: 46px;
  }
}
/* ヘッダーメニュー */

.spNavBtn {
  display: none;
}

.spNavBtn:focus {
  border: none;
  outline: none;
}

.mainMenu {
  position: relative;
  z-index: 1;
  background: #00008b;
  height: 60px;
}

.mainMenu > .container {
  padding: 0;
}

.mainMenu .navUl {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  background: #00008b;
  border-left: 1px solid #0e0eaa;
}

.mainMenu .navUl li {
  width: 100%;
  padding: 0;
  text-indent: 0;
  border-right: 1px solid #0e0eaa;
}

.mainMenu .navUl li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100%;
  color: #FFF;
  font-size: .9rem;
  text-decoration: none;
  text-align: center;
}

.navUl li a:hover {
  color: #CCC;
}

@media (max-width: 992px) {
  .commonHeader > .container {
    display: block;
    z-index: 11;
    height: auto;
    padding: 0;
    margin: 0 auto;
    height: 50px;
  }

  .commonHeader > .container > a {
    top: 0;
  }

  .commonHeader .logo {
    padding: 8px 0 0 8px;
    height: 44px;
    width: auto;
  }
  
  .commonHeader h1 {
    font-size: 1rem;
  }
  
  .commonHeader .headerBtnContainer {
    position: absolute;
    top: 50px;
    left: 0;
    display: flex;
    width: calc(100vw);
    margin: 0;
  }
  
  .commonHeader .headerBtnContainer a {
    display: inline-block;
    width: 50%;
    height: 46px;
    padding: 6px 15px;
    margin: 0;
    background: #ffbf00;
    color: #fff;
    border-radius: 0;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .spNavBtn {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    background: url("../img/common/menu.svg") center center no-repeat;
    background-size: 24px 24px;
    height: 44px;
    width: 44px;
    border: none;
    cursor: pointer;
  }

  .mainMenu {
    display: none;
  }

  .mainMenu.active {
    display: block;
    padding-top: 46px;
  }

  .mainMenu.active .navUl {
    display: block;
    background: #00008b;
  }

  .commonHeader .headerBtnContainer a:last-child {
  }

  .mainMenu .navUl li {
    height: 46px;
    border-bottom: 1px solid #0e0eaa;
  }

  .mainMenu .navUl li a {
    height: 46px;
  }

  .mainMenu li:nth-child(2) br {
    display: none;
  }
}

/*
 * 共通フッター
 */

.commonFooter {
  margin-top: 80px;
}

.commonFooter a {
  color: #FFF;
}


/*
 * 下層 タイトル
 */

section h2 {
  padding: 60px 0 15px;
  font-size: 28px;
  margin-bottom: 24px;
  border-bottom: 6px solid #00008b;
  text-align: left;
}

section h3 {
  padding: 5px 10px;
  margin: 20px 0 10px;
  border-left: 6px solid #00008b;
  font-size: 1.1rem;
  font-weight: bold;
}

section h4 {
  margin: 15px 0;
  padding-left: 20px;
  font-weight: bold;
  font-size: 1rem;
}

.sectionH3 {
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  main {
    padding-top: 96px;
  }

  section h2 {
    padding: 30px 0 10px;
    font-size: 20px;
    font-weight: bold;
  }
}

/*
 * font
 */

@font-face {
  font-family: "Noto Sans CJK JP";
  font-style: normal;
  font-weight: 100;
  src:
    local("Noto Sans CJK JP Thin"),
    url("../fonts/NotoSansCJKjp-Thin.woff2") format("woff2"),
    url("../fonts/NotoSansCJKjp-Thin.woff") format("woff");
}

@font-face {
  font-family: "Noto Sans CJK JP";
  font-style: normal;
  font-weight: 300;
  src:
    local("Noto Sans CJK JP Light"),
    url("../fonts/NotoSansCJKjp-Light.woff2") format("woff2"),
    url("../fonts/NotoSansCJKjp-Light.woff") format("woff");
}

@font-face {
  font-family: "Noto Sans CJK JP";
  font-style: normal;
  font-weight: 400;
  src:
    local("Noto Sans CJK JP Regular"),
    url("../fonts/NotoSansCJKjp-Regular.woff2") format("woff2"),
    url("../fonts/NotoSansCJKjp-Regular.woff") format("woff");
}

@font-face {
  font-family: "Noto Sans CJK JP";
  font-style: normal;
  font-weight: 500;
  src:
    local("Noto Sans CJK JP Medium"),
    url("../fonts/NotoSansCJKjp-Medium.woff2") format("woff2"),
    url("../fonts/NotoSansCJKjp-Medium.woff") format("woff");
}

@font-face {
  font-family: "Noto Sans CJK JP";
  font-style: normal;
  font-weight: 700;
  src:
    local("Noto Sans CJK JP Bold"),
    url("../fonts/NotoSansCJKjp-Bold.woff2") format("woff2"),
    url("../fonts/NotoSansCJKjp-Bold.woff") format("woff");
}

@font-face {
  font-family: "Noto Sans CJK JP";
  font-style: normal;
  font-weight: 900;
  src:
    local("Noto Sans CJK JP Black"),
    url("../fonts/NotoSansCJKjp-Black.woff2") format("woff2"),
    url("../fonts/NotoSansCJKjp-Black.woff") format("woff");
}
