/* Xoxzo v3.0 using Bootstrap4 */
html {
  height: 100%;
}

html:lang(ja) {
  font-size: 15px;
}

body {
  font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
  background-color: white;
  color: #35313b;
  flex-direction: column;
  min-height: 100%;
}

body:lang(ja) {
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

main {
  flex: 1;
}

.text-cl-sm, .text-cl-md {
  text-align: center;
}

.flex-1, .flex-1-sm, .flex-1-md {
  flex: auto;
}

.pane {
  flex: 1 1 100%;
  margin-bottom: 20px;
  padding: 15px;
}

.pane .img-box {
  margin-right: 25px;
}

.flex-md-nowrap.img-des-set .img-box {
  margin: 0 auto;
}

.img-box.img-sm, .img-box.img-sm img {
  width: 125px;
}

.img-box.img-md, .img-box.img-md img {
  width: 200px;
}

.img-box.img-lg, .img-box.img-lg img, .img-box.img-xl, .img-box.img-xl img {
  max-width: 100%;
}

.img-33 {
  width: 33%;
  height: 33%;
}

.md-show {
  display: none;
}

.navbar .navbar-nav {
  margin-top: .5rem;
}

.navbar .nav-link {
  font-size: .9rem;
}

.navbar .navbar-nav .nav-link.btn-point {
  color: white;
  padding: .5rem .75rem;
  margin-left: 10px;
}

.navbar .navbar-nav .nav-link.btn-point:hover {
  color: white;
}

.navbar button {
  border: none;
}

.navbar button:focus {
  outline: none;
}

.navbar .dropdown-menu {
  font-size: .9rem;
  min-width: auto;
}

.navbar .dropdown-menu a {
  color: #777;
}

.navbar .dropdown-menu a:hover {
  color: #ff7259;
  background: none;
}

.navbar-brand img {
  width: 100px;
}

.hover-dropdown {
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding-bottom: .5rem;
  margin-bottom: .5rem;
}

.hover-dropdown .hover-dropdown-toggle {
  display: none;
}

.hover-dropdown .dropdown-menu {
  display: block;
  background: none;
  padding: 0;
  border: none;
}

.hover-dropdown .dropdown-menu a {
  padding: .5rem 0;
  color: rgba(255,255,255,.5); 
}

.hover-dropdown .dropdown-menu a:hover {
  color: rgba(255,255,255,.75);
}

.hover-dropdown .dropdown-menu a img {
  display: none;
}

.main-nav {
  background-color: #132d4e;
  box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.15);
}

.sidebar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 220px;
  box-shadow: 0 0 8px #ddd;
  z-index: 1;
}

.sidebar .sidebar-inner-1 {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.sidebar .sidebar-inner-2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: scroll;
  margin-right: -15px;
  margin-bottom: -15px;
}

.sidebar img {
  margin-top: 20px;
  margin-bottom: 10px;
}

.sidebar section {
  padding: .75rem 1.5rem;
  font-size: .9rem;
}

.sidebar section h3 {
  color: #aaa;
  font-size: .7rem;
  margin-bottom: .5rem;
  display: inline-block;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  font-size: .85rem;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar li a {
  color: rgba(255, 255, 255, 0.75);
}

.sidebar li a:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.sidebar li a.active {
  color: white;
}

.side-content {
  position: absolute;
  top: 0;
  left: 220px;
  right: 0;
  height: 100%;
  overflow: auto;
}

.side-content section {
  padding: 30px 50px;
  margin: 0 auto;
  margin-bottom: 70px;
}

.side-content section h3 {
  font-size: 1.5rem;
}

.side-content .messages .alert {
  font-size: .85rem;
  line-height: 1.5rem;
}

.dashboard-card {
  background: white;
  margin: 1.5rem 0;
  border-radius: .25rem;
  box-shadow: 0 0 7px 1px #e0e4eb;
}

.dashboard-card-div {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
}

.dashboard-card-div:last-child {
  border: none;
}

.dashboard-card-body {
  background-color: #f9fcff;
}

.dashboard-card-div h4 {
  margin: 0;
  color: #0c498e;
  font-weight: bold;
  font-size: .9rem;
}

.dashboard-card-div p {
  font-size: .8rem;
}

.dashboard-card-div label {
  margin: 0;
  line-height: 2.25rem;
  font-size: .9rem;
  color: #777;
}

a:focus {
  outline: none;
}

.anchor-link:before {
  display: block;
  content: " ";
  margin-top: -70px;
  height: 70px;
  visibility: hidden;
}

.link-point {
  color: #ff7359;
}

.link-point:hover {
  color: #fe4b4b;
}

.link-underline {
  color: #777;
  border-bottom: 2px solid #80baff;
}

.link-underline:hover {
  text-decoration: none;
  color: #80baff;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(128, 186, 255, 0.15);
  border: 1px solid #80baff;
}

.invalid-feedback {
  display: block;
}

.btn-lg {
  padding: .75rem 2.5rem!important;
}

.btn-md {
  padding: .75rem 1.5rem!important;
}

.btn-small {
  padding: .5rem 1.5rem;
}

.btn-white {
  color: #ff7359;
  background-color: white;
  border: 1px solid white;
}

.btn-white:hover {
  color: #ff7359;
  box-shadow: inset 0 0 0 30px rgba(255, 133, 106, 0.12);
  border-color: rgba(255, 133, 106, 0.12);
}

.btn-white:focus {
  box-shadow: inset 0 0 0 30px rgba(255, 133, 106, 0.12);
  border-color: rgba(255, 133, 106, 0.12);
}

.btn-point {
  color: white;
  background-color: #ff7359;
  border: 1px solid #ff7359;
}

.btn-point:hover:enabled {
  color: white;
  box-shadow: inset 0 0 0 30px #fe4b4b;
  border-color: #fe4b4b;
}

.btn-point:disabled {
  color: white;
  background-color: #ff8973;
}

.btn-point:focus {
  box-shadow: inset 0 0 0 30px #fe4b4b;
  border-color: #fe4b4b;
}

.btn-outline-point {
  color: #ff7359;
  background-color: transparent;
  border-color: #ff7359;
}

.btn-outline-point:hover {
  color: #fe4b4b;
  box-shadow: inset 0 0 0 30px rgba(255, 133, 106, 0.12);
}

.btn-outline-point:focus {
  box-shadow: inset 0 0 0 30px rgba(255, 133, 106, 0.12);
}

.btn-mono {
  color: #9aa7b5;
  background-color: white;
  border-color: #b5bdc5;
}

.btn-mono:hover {
  color: #6e7887;
  border: 1px solid #6e7887;
}

.btn-mono:focus {
  box-shadow: none;
}

.btn-set a {
  margin: 0 10px 10px;
  padding: .5rem 0;
}

.bg-mid .btn-outline-point {
  color: #ff5228;
  background: rgba(255, 255, 255, 0.5);
  border-color: #ff5228;
}

header .btn-set a:lang(ja) {
  font-size: .85rem;
  padding: .8rem 0;
  margin: 0 7px 7px;
  min-width: 155px;
  font-weight: bold;
}

.bg-mid {
  background-color: #f2f5f9;
}

.bg-deep {
  background-color: #132d4e;
  color: white;
}

.bg-deep h2 {
  color: #ddd;
}

header {
  min-height: 600px;
  height: 600px;
  padding-top: 50px;
  padding-bottom: 85px;
  display:flex;
  align-items: center;
}

.header-sm {
  min-height: 270px;
  height: 270px;
}

header h1 {
  font-family: 'Lato', 'Hiragino Kaku Gothic ProN', 'Noto Sans', 'Helvetica Neue, Helvetica, Arial', sans-serif;
  font-weight: bold;
  font-size: 2.75rem;
}

header.header-sm h1 {
  font-size: 2.25rem;
}

header.index {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

header.index h1 {
  max-width: 650px;
}

header h2 {
  font-family: 'Lato', 'Hiragino Kaku Gothic ProN', 'Noto Sans', 'Helvetica Neue, Helvetica, Arial', sans-serif;
  font-size: 1.15rem;
  margin-top: 25px;
  line-height: 1.85rem;
  color: #777;
}

header.index h2 {
  margin-bottom: 80px;
  color: #555;
}

header.header-sm h2 {
  margin-top: 15px;
}

header .btn {
  min-width: 150px;
}

section {
  padding: 80px 0 100px;
}

section h3 {
  font-size: 1.75rem;
  font-family: 'Lato', 'Hiragino Kaku Gothic ProN', 'Noto Sans', 'Helvetica Neue, Helvetica, Arial', sans-serif;
  font-weight: bold;
  margin-bottom: 1rem;
}

section h4 {
  font-size: 1rem;
  color: #666;
  line-height: 1.8rem;
}

section h5 {
  font-size: 1rem;
  font-weight: bold;
  color: #0c498e;
  margin-top: .75rem;
  line-height: 1.5rem;
}

section h6 {
  color: #80baff;
  font-size: .85rem;
}

section p {
  color: #777;
  font-size: .9rem;
  line-height: 1.5rem;
}

section hr {
  margin: 70px 0;
}

section ul {
  padding-left: 20px;
  color: #777;
}

section ul li {
  margin-bottom: 5px;
}

section .label {
  font-size: .5em;
  background: #ddd;
  padding: .2rem .5rem;
  vertical-align: middle;
  display: inline-block;
}

section .btn-set {
  margin-top: 15px;
}

section .btn-set .btn-md {
  min-width: 175px;
}

section .sub-description {
  border-left: 2px solid #ddd;
  padding-left: 20px;
  margin-top: 25px;
}

section .sub-description h7 {
  font-weight: bold;
  font-size: .9rem;
}

section .sub-description ul {
  padding-top: 8px;
  font-size: .9rem;
}

section .badge {
  vertical-align: text-bottom;
  background-color: #ddd;
  border-radius: 0;
  padding: .3rem .5rem;
}

section .notice {
  background: rgba(255, 133, 106, 0.25);
  padding: 20px;
  margin-top: 35px;
}

section .info {
  background: rgba(127, 186, 255, 0.25);
  padding: 20px;
  margin-top: 35px;
}

section .notice p, section .info p {
  margin: 0;
  color: #555;
}

/* Plain page */
.plain h1 {
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.plain h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2rem 0 1rem;
  color: #0c498e;
}

.plain hr {
  margin: 1.5rem 0;
}

.plain ol {
  padding-left: 20px;
  counter-reset: item;
  font-size: .9rem;
  color: #777;
}

.plain ol > li {
  margin-bottom: 10px;
  text-indent: -1em;
  list-style-type: none;
  counter-increment: item;
}

.plain ol > li:before {
  display: inline-block;
  width: 1em;
  padding-right: 0.5em;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}

.plain ul {
  font-size: .9rem;
}

.plain ol ul {
  list-style: inside;
  padding-left: 40px;
  margin: 10px 0;
}

.plain ol ul li {
  text-indent: -20px;
}
/* End plain page */

.margin-bt {
  margin-bottom: 30px;
}

.margin-bt-sm {
  margin-bottom: 20px;
}

.erase-margin {
  margin-bottom: -10px;
}

.margin-0 {
  margin: 0!important;
}

.flex-sm-nowrap.img-des-set .img-box {
  margin: 0 auto;
  margin-bottom: 0;
}

/* Footer */
footer {
  font-size: 0.85rem;
  background-color: #4b4d51;
  color: rgba(255, 255, 255, 0.6);
  padding: 50px 0;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
}

footer a:hover {
  color: white;
}

.footer-menu {
  margin-bottom: 30px;
}

.footer-menu p {
  color: white;
}

.footer-menu ul {
  padding: 0;
  list-style: none;
}

footer h5 {
  font-size: .9rem;
  margin-top: 2rem;
}
/* End footer */

@media (min-width: 321px){
  .flex-1 {
    flex: 1;
  }
}

@media (min-width: 502px){
  .img-box.img-lg, .img-box.img-lg img {
    width: 350px;
    max-width: none;
  }
}

@media (min-width: 576px){
  .flex-1-sm {
    flex: 1;
  }

  .text-cl-sm {
    text-align: left;
  }

  header h1 {
    font-size: 3.5rem;
  }

  header.header-sm h1 {
    font-size: 3rem;
  }

  section h3 {
    font-size: 2rem;
  }

  .flex-sm-nowrap.img-des-set .img-box {
    margin-left: 0;
    margin-right: 30px;
    margin-bottom: 0;
  }

  .img-box.img-xl, .img-box.img-xl img {
    width: 500px;
    max-width: none;
  }

  .img-des-set .img-box.order-sm-2 {
    margin-left: 30px;
    margin-right: 0;
  }
}

@media (min-width: 768px){
  .flex-1-md {
    flex: 1;
  }

  .text-cl-md {
    text-align: left;
  }

  .text-lc-md {
    text-align: center;
  }

  .md-show {
    display: inherit;
  }

  .md-hide {
    display: none;
  }

  .navbar {
    padding: 0 1rem;
  }

  .navbar .navbar-nav {
    margin-top: 0;
  }

  .navbar .nav-item {
    padding: .5rem 0;
  }

  .navbar .nav-link {
    font-size: .85rem;
  }

  .main-nav {
    box-shadow: none;
  }

  .main-nav .navbar-nav .nav-link {
    padding-right: .7rem;
    padding-left: .7rem;
  }

  .hover-dropdown {
    position: relative;
    border: none;
    margin: 0;
    padding: 0;
  }

  .hover-dropdown:hover {
    cursor: pointer;
  }

  .hover-dropdown:hover::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    border: solid transparent;
    border-color: transparent transparent #fff;
    border-width: 7px;
    margin-left: -7px;
    z-index: 1;
  }

  .hover-dropdown .hover-dropdown-toggle {
    display: block;
  }

  .hover-dropdown .dropdown-menu {
    padding: .75rem .25rem;
    margin-top: 1px;
    border: none;
    display: none;
    position: absolute;
    left: -50%;
    background-color: white;
    box-shadow: 0 0 15px 2px rgba(111, 111, 111, 0.5);
    z-index: 1;
  }

  .hover-dropdown .dropdown-menu a {
    padding: .5rem 1.2rem;
    font-size: .9rem;
    color: #0c498e;
    font-weight: bold;
  }

  .hover-dropdown .dropdown-menu a img {
    display: inline-block;
    width: 20px;
    margin-top: -2px;
    margin-right: 5px;
  }

  .hover-dropdown .dropdown-menu a:hover {
    color: #ff7259;
    background: none;
  }

  .hover-dropdown:hover .dropdown-menu {
    display: block;
  }

  header {
    min-height: 685px;
    height: 685px;
  }

  header.index {
    padding-top: 0;
  }

  .pane {
    flex: 1 1 50%;
    margin-bottom: 40px;
  }

  .flex-md-nowrap.img-des-set .img-box {
    margin-left: 0;
    margin-right: 30px;
  }

  .img-des-set .img-box.order-md-2 {
    margin-left: 30px;
    margin-right: 0;
  }
}

@media (min-width: 992px){
  header h1 {
    font-size: 4rem;
  }

  .navbar .nav-link {
    font-size: .9rem;
  }

  .main-nav .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

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