@charset "utf-8";

/*
  File Name   : layout.css
  Description : 各ブロックのレイアウト
*/



/* BASE
================================================== */
/*** structure ***/

@font-face {
	font-family: 'MyYuGothicM';
	font-weight: normal;
	src: local('YuGothic-Medium'),
	local('Yu Gothic Medium'),
	local('YuGothic-Regular');
}
@font-face {
	font-family: 'MyYuGothicM';
	font-weight: bold;
	src: local('YuGothic-Bold'),
	local('Yu Gothic');
}

* {
  box-sizing: border-box;
}

body {
  color: #333;
  font-family: Arial, MyYuGothicM, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 62.5%;
  font-weight: 400;
  line-height: 1.6;
  position: relative;
  padding-left: 220px;
  width: 100%;
  overflow: hidden;
}

@media all and (max-width: 1099px) {
  body {
    padding: 60px 0 0;
  }

}

body > div,
body > article,
body > footer,
body > header,
body > main {
  width: 100%;
  min-width: 320px;
  font-size: 14px;
  font-size: 1.4rem;
}

@media all and (max-width: 767px) {
  body > div,
  body > article,
  body > footer,
  body > header,
  body > main {
    font-size: 11px;
    font-size: 1.1rem;
  }

}
/*** hypertext ***/
a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

a img {
  border: none;
}

a.over:hover,
a:hover img.over,
input.over:hover {
  filter: alpha(opacity=70);
  -moz-opacity: .7;
  opacity: .7;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/*** pc-only / sp-only ***/
@media all and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}
@media all and (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

/*** js event  !! .hoge { display: none; } & <div class="hoge no-js"></div> !! ***/
.no-js {
  display: block !important;
}


/*
----------------------------------------------------------- */
/* Header
----------------------------------------------------------- */
.header {
  width: 220px;
  min-width: 0;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: #fff;
  z-index: 9999;
}

.header .header__inner {
  position: absolute;
  width: 100%;
  height: 100%;
}

.header .header__logo {
  text-align: center;
  padding: 20px 0 15px;
}

.header  .header__menu__contact {
  padding: 20px;
}

.header  .header__menu__contact ul {
  color: #2d4e7b;
  border: 2px solid;
}

.header  .header__menu__contact li {
  width: 100%;
}

.header  .header__menu__contact li a {
  font-weight: bold;
  display: block;
  padding: 15px 17px 15px 45px;
  text-decoration: none;
  background: no-repeat 20px center;
  -webkit-transition: ease all .2s;
  transition: ease all .2s;
}

.header  .header__menu__contact li a:hover {
  background-color: #f5f5f5;
}

.header  .header__menu__contact li:first-child {
  border-bottom: 2px solid;
}

.header  .header__menu__contact li:first-child a {
  background-image: url(/assets/img/common/icon-mail.png);
}

.header  .header__menu__contact li:last-child a {
  background-image: url(/assets/img/common/icon-print.png);
}

.header  .header__menu__map {
  display: none;
}

.header  .header__menu__search {
  display: none;
  background: #2d4e7b;
  padding: 10px 10px;
  margin: 0 10px;
}

.header  .header__menu__search .gsc-control-cse {
  background: #2d4e7b;
  border: none;
  padding: 0;
}

.header  .header__menu__search .gsc-input-box  {
  box-shadow: none !important;
  border: none !important;
  padding: 0 5px;
}

.header  .header__menu__search .gsc-search-box  {
  margin-bottom: 0 !important;
}

.header  .header__menu__search .gsib_a {
  padding: 0 !important;
}

.header  .header__menu__search .gsc-search-button {
  background: url(/assets/img/common/icon-lens.png) no-repeat center center !important;
  background-size: 20px auto !important;
  padding: 0 !important;
  border: none;
  width: 25px;
  height: 25px;
}

.header  .header__menu__search .gsc-search-button-v2 {
  opacity: 0 !important;

}

@media all and (max-height: 720px) {
  .header  .header__menu__contact li a {
    padding: 10px 17px 10px 45px;
  }
}
@media all and (max-width: 1099px) {
  .header {
    width: 100%;
    height: 60px;
    top: 0;
  }

  .header .header__inner {
    box-sizing: border-box;
    padding: 10px;
  }

  .header .header__logo {
    padding: 5px 0;
    text-align: left;
    position: relative;
    z-index: 9000;
  }

  .header .header__logo .sp-only {
    display: inline !important;
  }

  .header .header__logo img {
    width: 163px;
    line-height: 0;
  }

  .header .header__logo .pc-only {
    display: none !important;
  }

  .header  .header__menu {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .header  .header__menu__button {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    background: rgba(180,23,74,1);
    z-index: 9999;
  }

  .header  .header__menu__button span {
    display: block;
    position: absolute;
    left: 12px;
    width: 15.5px;
    height: 2px;
    background: #fff;
    -webkit-transition: ease all .5s;
    transition: ease all .5s;
  }
  .header  .header__menu__button span:nth-child(1) {
    top: 14px;
  }
  .header  .header__menu__button span:nth-child(2) {
    top: 19px;
  }
  .header  .header__menu__button span:nth-child(3) {
    top: 24px;
  }
  .header  .header__menu__button.close span:nth-child(1) {
    top: 19px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .header  .header__menu__button.close span:nth-child(2) {
    opacity: 0;
    filter: opacity(0);
  }
  .header  .header__menu__button.close span:nth-child(3) {
    top: 19px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .header  .header__menu__wrap {
    display: none;
    position: fixed;
    top: 60px;
    max-height: calc(100% - 60px);
    overflow: auto;
    box-sizing: border-box;
    background: #fff;
  }

  .header  .header__menu__contact {
    margin: 15px 10px;
    padding: 0;
  }

  .header  .header__menu__contact ul {
    color: #2d4e7b;
    border: 2px solid;
  }

  .header  .header__menu__contact li a {
    padding: 10px 15px 10px 30px;
    background-position: 10px;
    background-size: 12px auto;
  }

  .header  .header__menu__map {
    display: block;
    margin: 15px 10px;
  }

  .header  .header__menu__map a {
    display: block;
    border: 2px solid;
    color: #2d4e7b;
    padding: 10px;
    font-size: 11px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;

  }

  .header  .header__menu__search {
    display: block;
  }

  .header  .header__menu__search .gsc-input-box {
    margin: 0 !important;
  }



}


/*
----------------------------------------------------------- */
/* Global nav
----------------------------------------------------------- */
.global {
}

.global a{
  text-decoration: none;
}

.global .global__nav .global__nav-list {
  -webkit-transition: ease all .2s;
  transition: ease all .2s;
}

.global .global__nav .global__nav-list:hover {
  background: rgba(245,245,245,.95);
}

.global .global__nav .global__nav-list.global__nav-list--top {
  display: none;
}


.global .global__nav .global__nav-list .global__nav-list__link {
  display: block;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 13px;
  font-size: 1.3rem;
}

.global .global__nav .global__nav-list .global__nav-list__link .global__nav-list__link__en {
  display: block;
  font-family: 'lato';
  font-size: 12px;
  font-size: 1.2rem;
}

.global .global__nav .global__nav-list .global__nav-list__inner{
  overflow: auto;
  width: 0;
  position: absolute;
  top: 0;
  opacity: 0;
  left: 100%;
  height: 100%;
  background: rgba(245,245,245,.95);
  padding: 165px 0 20px;
  -webkit-transition: ease all .5s;
  transition: ease all .5s;
}

.global .global__nav .global__nav-list:hover .global__nav-list__inner{
  display: block;
  width: 100%;
  opacity: 1;
}

.global .global__nav .global__nav-list .global__nav-list__inner .global__nav-list__inner-title {
  display: none;
}

.global .global__nav .global__nav-list .global__nav-list__inner .global__nav-list__inner-list .global__nav-list__inner-list__link {
  display: block;
  padding: 10px 20px;
  min-width: 220px;
  box-sizing: border-box;
  font-size: 13px;
  font-size: 1.3rem;
}

.global .global__nav .global__nav-list .global__nav-list__inner .global__nav-list__inner-list .global__nav-list__inner-list__link:hover {
  font-weight: bold;
}

@media all and (max-width: 1099px) {

  .global {
    border-bottom: 1px solid rgba(245,245,245,.95);
    display: block !important;
  }

  .global .global__nav .global__nav-list.global__nav-list--top {
    display: block;
  }

  .global .global__nav .global__nav-list .global__nav-list__link {
    padding: 10px;
    font-size: 12px;
    font-size: 1.2rem;
    border-top: 1px solid rgba(245,245,245,.95);
  }

  .global .global__nav .global__nav-list .global__nav-list__link .global__nav-list__link__en {
    display: none;
  }

  .global .global__nav .global__nav-list .global__nav-list__inner{
    /*width: auto;
    position: static;
    opacity: 1;
    padding: 0;*/
    display: none !important;
  }
  .global__nav-list.pc-only {
  display: none;
  }

  /*.global .global__nav .global__nav-list .global__nav-list__inner .global__nav-list__inner-title {
    display: block;
    padding: 5px 10px;
    font-size: 10px;
    font-size: 1.0rem;
    border-top: 2px solid #fff;
    font-weight: bold;
    color: #999;
  }

  .global .global__nav .global__nav-list .global__nav-list__inner .global__nav-list__inner-title:first-child {
    border-top: none;
  }

  .global .global__nav .global__nav-list .global__nav-list__inner .global__nav-list__inner-list .global__nav-list__inner-list__link {
    display: block;
    padding: 5px 10px;
    font-size: 11px;
    font-size: 1.1rem;
  }

  .global .global__nav .global__nav-list .global__nav-list__inner .global__nav-list__inner-list .global__nav-list__inner-list__link:hover {
    font-weight: bold;
  }*/
}

@media all and (max-height: 720px) {
  .global .global__nav .global__nav-list .global__nav-list__link {
    padding: 10px 20px;
  }
}


/*
----------------------------------------------------------- */
/* Page nav
----------------------------------------------------------- */
#page-nav {
}


/*
----------------------------------------------------------- */
/* Container
----------------------------------------------------------- */
#container {
  width: 100%;
  text-align: left;
}


/*
----------------------------------------------------------- */
/* Main
----------------------------------------------------------- */
#main {
  /*float: ;*/
  width: 100%;
  margin: 0 auto;
}


/*
----------------------------------------------------------- */
/* Article
----------------------------------------------------------- */
#article {
  margin: 70px 0 80px;
}

@media all and (max-width: 767px) {
  #article {
    margin: 35px 0 40px;
  }

}

/*
----------------------------------------------------------- */
/* Footer
----------------------------------------------------------- */
.footer {
  clear: both;
  position: relative;
}

.footer .footer__top {
  position: absolute;
  top: -60px;
  right: 0;
}

.footer .footer__top a {
  display: block;
  background: #2d4e7b;
  border: 3px solid #2d4e7b;
  width: 80px;
  height: 80px;
  text-align: center;
  font-size: 12px;
  box-sizing: border-box;
  padding: 30px 10px 10px;
  color: #fff;
  text-decoration: none;
  -webkit-transition: ease all .2s;
  transition: ease all .2s;
}

.footer .footer__top a:before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 5px;
  border-top: 2px solid;
  border-left: 2px solid;
  left: 0;
  right: 0;
  top: 15px;
  margin: auto;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg) vertical-align: middle;
}

.footer .footer__top a:hover {
  background: #fff;
  color: #2d4e7b;
}

.footer .footer__banner {
  background: #f5f5f5;
  padding: 15px 20px;
}

.footer .footer__banner li {
  width: 16%;
  margin-right: 0.8%;
  text-align: center;
}

.footer .footer__banner li:nth-child(-n+6) {
  margin-bottom: 0.8%;
}

.footer .footer__banner li:nth-child(6n) {
  margin-right: 0;
}

.footer .footer__bar {
  background: #2d4e7b;
  padding: 20px 30px;
  height: 80px;
  color: #fff;
  position: relative;
}

.footer .footer__bar__nav {
  line-height: 1;
  font-size: 13px;
  font-size: 1.3rem;
  border-left: 1px solid;
  letter-spacing: -0.4em;
}

.footer .footer__bar__nav li {
  padding: 0 17px;
  border-right: 1px solid;
  letter-spacing: 0;
  display: inline-block;
}

.footer .footer__bar__nav li a {
  text-decoration: none;
}

.footer .footer__bar__nav li a:hover {
  text-decoration: underline;
}

.footer .footer__bar .footer__bar__contact {
  background: #b4174a;
  position: absolute;
  right: 0;
  top: 0;
  width: 220px;
  height: 80px;
  border-left: 1px solid #da8ba5;
  display: table;
}

.footer .footer__bar .footer__bar__contact a {
   display: table-cell;
   vertical-align: middle;
   text-decoration: none;
   padding: 20px;
   position: relative;
}

.footer .footer__bar .footer__bar__contact a::before {
    content: "";
    display: block;
    position: absolute;
    width: 5px;
    height: 5px;
    border-top: 2px solid;
    border-right: 2px solid;
    right: 15px;
    top: 50%;
    margin-top: -3px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    vertical-align: middle;
    -webkit-transition: ease all .3s;
    transition: ease all .3s;
}

.footer .footer__bar .footer__bar__contact a:hover::before {
  right: 10px;
}


.footer .footer__bar .footer__bar__license {
  background: #fff;
  position: absolute;
  right: 220px;
  top: 0;
  width: 220px;
  height: 80px;
  border: 1px solid #2d4e7b;
  border-bottom: none;
  border-right: none; 
  display: table;
}

.footer .footer__bar .footer__bar__license a {
   display: table-cell;
   vertical-align: middle;
   text-decoration: none;
   padding: 20px;
   position: relative;
   color: #b4174a;
}

.footer .footer__bar .footer__bar__license a::before {
    content: "";
    display: block;
    position: absolute;
    width: 5px;
    height: 5px;
    border-top: 2px solid;
    border-right: 2px solid;
    right: 15px;
    top: 50%;
    margin-top: -3px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    vertical-align: middle;
    -webkit-transition: ease all .3s;
    transition: ease all .3s;
}

.footer .footer__bar .footer__bar__license a:hover::before {
  right: 10px;
}



.footer .footer__bar .footer__bar__copy {
  font-size: 10px;
  font-size: 1.0rem;
  color: #96a7bd;
  margin-top: 10px;
}



@media all and (max-width: 1399px) and (min-width: 821px) {
  .footer .footer__banner li {
    width: 24.25%;
    margin-right: 1% !important;
  }

  .footer .footer__banner li:nth-child(-n+8) {
    margin-bottom: 1%;
  }

  .footer .footer__banner li:nth-child(4n) {
    margin-right: 0 !important;
  }
}

@media all and (max-width: 820px) and (min-width: 768px) {
  .footer .footer__banner li {
    width: 32%;
    margin-right: 2% !important;
  }

  .footer .footer__banner li:nth-child(-n+9) {
    margin-bottom: 2%;
  }

  .footer .footer__banner li:nth-child(3n) {
    margin-right: 0 !important;
  }
}

@media all and (max-width: 767px) {
  .footer .footer__top {
    position: static;
    border-top: 1px solid #e5e5e5;
  }

  .footer .footer__top a {
    background: #fff;
    border: none;
    width: 100%;
    height: auto;
    font-size: 12.5px;
    font-size: 1.25rem;
    padding: 12px 10px;
    color: #2d4e7b;
    font-family: "Oswald";
  }

  .footer .footer__top span {
    display: none;
  }

  .footer .footer__top a:after {
    content: "PAGE TOP";
  }

  .footer .footer__top a:before {
    display: inline-block;
    position: static;
    vertical-align: middle;
    margin-right: 0.5em;
  }

  .footer .footer__banner {
    padding: 10px;
  }

  .footer .footer__banner li {
    width: 49%;
    margin-right: 2% !important;
  }

  .footer .footer__banner li:nth-child(-n+10) {
    margin-bottom: 2%;
  }

  .footer .footer__banner li:nth-child(2n) {
    margin-right: 0 !important;
  }

  .footer .footer__bar {
    background: #2d4e7b;
    padding: 15px 10px;
    height: auto;
  }

  .footer .footer__bar__nav {
    font-size: 9px;
    font-size: 0.9rem;
    margin: 10px 0 5px;
  }

  .footer .footer__bar__nav li {
    padding: 0 15px;
  }

  .footer .footer__bar .footer__bar__contact {
    position: relative;
    width: 100%;
    height: 60px;
    border: 1px solid #96a7bd;
  }

  .footer .footer__bar .footer__bar__contact a {
    text-align: center;
  }

  .footer .footer__bar .footer__bar__contact a::before {
    width: 5px;
    height: 5px;
    border-top: 2px solid;
    border-right: 2px solid;
    right: 15px;
    top: 50%;
    margin-top: -3px;
  }

  .footer .footer__bar .footer__bar__contact a:hover::before {
    right: 10px;
  }

  .footer .footer__bar .footer__bar__license {
    position: relative;
    width: 100%;
    right: 0;
    height: 60px;
    border: 1px solid #96a7bd;
  }

  .footer .footer__bar .footer__bar__license a {
    text-align: center;
  }

  .footer .footer__bar .footer__bar__license a::before {
    width: 5px;
    height: 5px;
    border-top: 2px solid;
    border-right: 2px solid;
    right: 15px;
    top: 50%;
    margin-top: -3px;
  }

  .footer .footer__bar .footer__bar__license a:hover::before {
    right: 10px;
  }

  .footer .footer__bar .footer__bar__copy {
    font-size: 8px;
    font-size: 0.8rem;
    margin-top: 5px;
  }

}



/*
----------------------------------------------------------- */
/* Fnav
----------------------------------------------------------- */
.fnav {
  letter-spacing: -0.4em;
  display: flex;
  border-top: 1px solid #e5e5e5;
  line-height: 1.8em;
}

.fnav a {
  text-decoration: none;
}

.fnav a:hover {
  text-decoration: underline;
}

.fnav .fnav__nav {
  display: inline-block;
  letter-spacing: 0;
  vertical-align: top;
  width: 20%;
  border-right: 1px solid #e5e5e5;
  box-sizing: border-box;
  padding: 30px 2% 30px;
}

#top .fnav .fnav__nav {
  width: 16.6666%;
}

.fnav .fnav__nav:nth-child(5n) {
  border-right: none;
}

#top .fnav .fnav__nav:nth-child(5n) {
  border-right: 1px solid #e5e5e5;
}

#top .fnav .fnav__nav:nth-child(6n) {
  border-right: none;
}

.fnav .fnav__nav .fnav__nav__logo {
  text-align: left;
}

.fnav .fnav__nav .fnav__nav__logo img {
  width: 110px;
}

.fnav .fnav__nav .fnav__nav-list  {
  margin-bottom: 20px;
}

.fnav .fnav__nav .fnav__nav-list:last-child {
  margin-bottom: 0;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__link  {
  font-size: 15px;
  font-size: 1.5rem;
  color: #2d4e7b;
  font-weight: bold;
  margin-bottom: 10px;
  display: inline-block;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__link:last-child {
  margin-bottom: 0;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__inner {
  margin-bottom: 10px;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__inner:last-child {
  margin-bottom: 0;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__inner-title {
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #666;
  margin-top: 15px;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__inner-title:first-child {
  margin-top: 0;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__inner-list .fnav__nav-list__inner-list__link {
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: bold;
}

.fnav .fnav__nav .fnav__nav-list .fnav__nav-list__inner-list .fnav__nav-list__inner-list__link:before {
  content: "-";
}


@media all and (max-width: 1365px) {

  .fnav {
    display: block;
  }

  .fnav .fnav__nav,
  #top .fnav .fnav__nav {
    width: 33.3333%;
    border-bottom: 1px solid #e5e5e5;
  }

  .fnav .fnav__nav:nth-child(5n) {
    border-right: 1px solid #e5e5e5;
  }

  .fnav .fnav__nav:nth-child(3n) {
    border-right: none !important;
  }

}

@media all and (max-width: 767px) {
  .fnav {
    display: none;
  }
}

@media print {
  body {
    width: 820px !important;
  }
  #header {
    display: none !important;
  }
  #footer {
    display: none !important;
  }
}
