﻿@font-face {
  font-family: 'NotoSansJP';
  font-weight: 400;
  font-display: swap;
  src: local('NotoSansJP'),
       url(../_font/NotoSansJP-Medium.woff2) format('woff2'),
       url(../_font/NotoSansJP-Medium.woff) format('woff');
}
@font-face {
  font-family: 'NotoSansJP';
  font-weight: 700;
  font-display: swap;
  src: local('NotoSansJP'),
       url(../_font/NotoSansJP-Bold.woff2) format('woff2'),
       url(../_font/NotoSansJP-Bold.woff) format('woff');
}
@font-face {
  font-family: 'NotoSansJP';
  font-weight: 900;
  font-display: swap;
  src: local('NotoSansJP'),
       url(../_font/NotoSansJP-Black.woff2) format('woff2'),
       url(../_font/NotoSansJP-Black.woff) format('woff');
}
body {
  color: #1a1a1a;
  font: 1.5rem/1.875 'NotoSansJP', sans-serif;
  font-weight: 400;
}
.section {
  padding-top: 60px;
  padding-bottom: 60px;
}
.column ~ .column {
  margin-top: 45px;
}
.body {
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: content-box;
  margin-left: auto;
  margin-right: auto;
}
a.link[href] {
  color: #08367a;
}
@media (max-width:768px) {
  html { font-size:9px }
  .section {
    padding-top: 45px;
    padding-bottom: 45px;
  }
}
@media (max-width:320px) {
  html { font-size:7.8px }
}
@media print {
  body { width:1200px }
}

.scroll-hint-icon-wrap {
  margin-top: 0 !important;
}
.js-scrollable {
  overflow: auto;
}
/* ****************************************************************************************************
   * header
**************************************************************************************************** */

#header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100%;
  color: #fff;
  background: #08367a;
}
#header .body {
  max-width: 1380px;
  align-items: center;
  padding-right: 0;
}
#header .logo {
  /*width: 320px;*/
  /*width: 470px;*/
  width: 34.8%;
}
#global-nav {
  /*
  max-width: 940px;
  width: calc( 100% - 320px - 15px );
  */
  max-width: 790px;
  width: calc( 100% - 478px - 15px );
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
#global-nav > div {
  /*width: calc( 100% - 180px - 15px );*/
  width: calc( 100% - 15px );
}
#global-nav > .contact {
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #000;
}
#global-nav .sub {
  text-align: right;
}
#global-nav .sub li {
  display: inline-block;
  vertical-align: top;
  font-size: .9333em;
  text-align: left;
  margin-left: 1em;
}
#global-nav .sub li a {
  position: relative;
  display: block;
  padding: .4em;
  padding-left: 1.25em;
}
#global-nav .sub li a:before {
  content: '';
  position: absolute;
  top: 1.15em;
  left: 0;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}
#global-nav .sf-menu {
  display: flex;
  justify-content: space-between;
}
#global-nav .sf-menu > li {
  position: relative;
  white-space: nowrap;
}
#global-nav .sf-menu > li > a {
  display: block;
  padding: .5em;
}
@media (min-width:961px) {
  #header .sp {
    display: none !important;
  }
  #global-nav .sf-menu > li ul {
    position: absolute;
    left: 0;
    z-index: 9998;
    min-width: 100%;
  }
  #global-nav .sf-menu > li ul a {
    display: block;
    color: #1a1a1a;
    padding: .5em 1em;
    background: #fff;
    border: 1px solid #ccc;
    margin-bottom: -1px;
    transition: .2s;
  }
  #global-nav .sf-menu > li ul a:hover {
    color: #fff;
    background: #5888b7;
  }
}
@media (min-width:961px) and (max-width:1160px) {
  #header .layout-col {
    display: block;
  }
  #header .layout-col > .logo {
    display: none;
  }
  #header .body {
    padding-left: 0;
  }
  #global-nav .sub {
    padding-right: 1.56vw;
  }
  #global-nav {
    max-width: 100%;
    width: 100%;
  }
  #global-nav > div {
    /*width: calc( 100% - 180px );*/
    width: 100%;
  }
  #global-nav .sf-menu {
    justify-content: space-around;
  }
  #header .row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #header .row-1 .logo {
    display: block !important;
    padding: .5em 0;
    padding-left: 1.56vw;
  }
}
@media (max-width:960px) {
  #header .pc {
    display: none !important;
  }
  #wrapper {
    position: relative;
    left: 0;
    z-index: 0;
    transition: .2s;
  }
  .nav-active #wrapper {
    left: -290px;
  }
  #header {
    height: 50px;
  }
  #header .body {
    padding-left: 0;
  }
  #header .logo {
    padding: 10px;
    width: 478px;
  }
  #header .logo img {
    height: 30px;
  }
  #global-nav-btn {
    display: block !important;
  }
  #global-nav {
    position: fixed;
    top: 0;
    right: -290px;
    bottom: 0;
    z-index: 9998;
    display: block;
    width: 290px;
    overflow-y: auto;
    transition: .2s;
    background: #08367a;
  }
  .nav-active #global-nav {
    right: 0;
  }
  #global-nav .sub {
    display: none;
  }
  #global-nav > div {
    width: 100%;
  }
  #global-nav > .contact {
    width: 100%;
    padding: 1em;
  }
  #global-nav .sf-menu {
    display: block;
  }
  #global-nav .sf-menu > li {
    border-bottom: 1px solid #5888b7;
  }
  #global-nav .sf-menu > li a.parent {
    position: relative;
  }
  #global-nav .sf-menu > li a.parent:after {
    content: '＋';
    position: absolute;
    right: 1em;
  }
  #global-nav .sf-menu > li.active a.parent:after {
    content: '－';
  }
  #global-nav .sf-menu > li > a {
    padding: 1em;
  }
  #global-nav .sf-menu > li > ul li {
    border-top: 1px dotted #5888b7;
  }
  #global-nav .sf-menu > li > ul li a {
    display: block;
    padding: 1em;
    padding-left: 2em;
  }

}

/*言語選択*/
#global-nav .sub li div.language.pc a{
  position: relative;
  display: block;
  margin-top: .4em;
  padding: .1em 1em;
  border-radius: 20px;
  font-weight: bold;
  background-color: #fff;
  cursor: pointer;
  color: #08367a;
  transition: .2s;
}
#global-nav .sub li div.language.pc a:hover{
/*
  color: rgba(8, 54, 122, 0.7);
  background-color: rgba(255, 255, 255, 0.7);
*/
  color: #fff;
  background: #5888b7;
  transition: .2s;
}
#global-nav .sub li div.language.pc a:before{
  content: '';
  position: static;
  top: 0;
  left: 0;
  display: block;
  width: 0;
  height: 0;
  border-top: none;
  border-right: none;
  transform: none;
}
@media (max-width:960px){
  #global-nav div.language.sp{
    width: auto;
    text-align: center;
  }
  #global-nav div.language.sp a{
    display: inline-block;
    margin-top: 1em;
    font-size: 1.2em;
    padding: .1em 1em;
    border-radius: 20px;
    font-weight: bold;
    background-color: #fff;
    cursor: pointer;
    color: #08367a;
  }
}

/* ****************************************************************************************************
   * visual
**************************************************************************************************** */

#visual {
  text-align: center;
  color: #fff;
  padding: 80px 0;
  background: url(../_images/_common/visual-bg.jpg) center center /cover no-repeat;
}
#visual .title-1 {
  margin-bottom: 0;
}
#visual .title-1,
#visual .title-1:before {
  color: inherit;
}
@media (max-width:768px) {
  #visual {
    padding: 40px 0;
  }
}

/* ****************************************************************************************************
   * main
**************************************************************************************************** */

#main {
  /*padding-bottom: 20px;*/
}

#main .page-nav {
  padding-top: 50px;
}
#main .page-nav ul {
/*
  width: 100%;
  display: table;
  table-layout: fixed;
*/
  display: flex;
  flex-wrap: wrap;
}
#main .page-nav ul li {
/*
  display: table-cell;
  vertical-align: middle;
*/
  flex: 1;
  text-align: center;
  min-width: 0;
}
#main .page-nav ul li ~ li a {
  border-left: 1px solid #fff;
}
#main .page-nav ul li a {
/*
  display: block;
  text-align: center;
  color: #fff;
  padding: 1em .5em;
  background: #5888b7;
  transition: .2s;
*/
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  padding: 1em .5em;
  background: #5888b7;
  transition: .2s;
}
#main .page-nav ul li a:hover,
#main .page-nav ul li[current] a {
  background: #08367a;
}
@media (max-width:1200px) {
  #main .page-nav ul {
    table-layout: auto;
  }
}
@media (max-width:1024px) {
  #main .page-nav ul {
    display: flex;
    flex-wrap: wrap;
  }
  #main .page-nav ul li {
  /*
    width: 50%;
    display: block;
  */
    flex: 0 0 50%;
  }
  #main .page-nav ul li:nth-child(2n+1) a {
    border-left: 0;
  }
  #main .page-nav ul li:nth-child(n+3) a {
    border-top: 1px solid #fff;
  }
}
/* ****************************************************************************************************
   * footer
**************************************************************************************************** */

#footer .contact {
  background: url(../_images/_common/contact-bg.jpg) center center /cover no-repeat;
}
#footer .contact .body {
  max-width: 1040px;
}
#footer .contact .title-1 {
  color: #fff;
  text-align: center;
}
#footer .contact .title-1:before {
  color: inherit;
}
#footer .contact .box {
  color: #08367a;
  text-align: center;
  padding: 1.5em;
  background: #fff;

  width: 40%;
  margin: 0 auto;
}
#footer .contact .box .title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: .5em;
}
#footer .contact .box a[href*="mailto:"] {
  font-size: 2rem;
  font-weight: 700;
}
@media (max-width:960px) {
  #footer .contact .box {
    width: 60%;
  }
}
@media (max-width:768px) {
  #footer .contact .box {
    width: 100%;
  }
  #footer .contact .box ~ .box {
    margin-top: 30px;
  }
}

#footer .nav {
  color: #fff;
  padding: 25px 0;
  background: #08367a;
}
#footer .nav .layout-col {
  align-items: center;
  justify-content: space-between;
}
@media (min-width:769px) {
  #footer .nav .layout-col > .logo {
    /*width: 320px;*/
    width: 478px;
  }
  #footer .nav .layout-col > div {
    /*max-width: 750px;*/
    /*max-width: 600px;*/
    max-width: 500px;
    width: calc( 100% - 478px - 10px );
  }
  #footer .nav .layout-col > div ul {
    text-align: right;
  }
  #footer .nav .layout-col > div ul li {
    display: inline-block;
    vertical-align: top;
    text-align: left;
  }
  #footer .nav .layout-col > div ul li ~ li {
    margin-left: 1em;
  }
}
#footer .nav .layout-col > div ul li a {
  position: relative;
  display: block;
  padding: .25em 0;
  padding-left: 1.25em;
}
#footer .nav .layout-col > div ul li a:before {
  content: '';
  position: absolute;
  top: .9em;
  left: 0;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}
@media (max-width:768px) {
  #footer .nav .layout-col > .logo {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  #sitemap-trigger {
    width: 100%;
    display: block !important;
    text-align: center;
    color: #fff;
    cursor: pointer;
    padding: 1em;
    background: #5888b7;
  }
  #sitemap-trigger + * {
    display: none;
  }
  #footer .nav .layout-col {
    display: block;
  }
  #footer .nav .layout-col > div ul li {
    border-bottom: 1px dotted #ccc;
  }
  #footer .nav .layout-col > div ul li a {
    padding: 1em 1.5em;
  }
  #footer .nav .layout-col > div ul li a:before {
    top: 1.75em;
  }
}

#footer .copyright {
  font-size: 1.2rem;
  text-align: center;
  padding: 1em 0;
  background: #fff;
}

#pagetop {
  position: fixed;
  right: 3.125%;
  bottom: 3.125%;
  z-index: 9998;
  display: block;
  width: 50px;
  height: 50px;
  background: #5888b7;
  transition: .2s;
}
#pagetop:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -3px;
  margin-left: -6px;
}
#pagetop:hover {
  opacity: .8;
}
@media (max-width:768px) {
  #pagetop {
    width: 40px;
    height: 40px;
  }
  .nav-active #pagetop {
    right: calc( 3.125% + 290px );
  }
}
