@charset "utf-8";

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

/*
============================================================ */
/* BASE
============================================================ */
/*** structure ***/
body {
  color: #000;
  font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "ヒラギノ角ゴ W3", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
  font-size: 16px;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  line-height: 1.8;
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
}
/* sp body */
@media screen and (max-width: 811px) {
  body {
    font-size: 14px;
  }
}
body > #lay-header,
body > #lay-container {
  box-sizing: border-box;
  width: 100%;
  min-width: 320px;
}

/*** hypertext ***/
a:link {
  color: #0042a3;
  text-decoration: underline;
}
a:hover,
a:active {
  color: #0042a3;
  text-decoration: none;
}
a:visited {
  color: #0042a3;
}

/*** selection ***/
::-moz-selection {
  background: #0042a3;
  color: #fff;
}
::selection {
  background: #0042a3;
  color: #fff;
}
input::selection,
textarea::selection {
  background: #0042a3;
  color: #fff;
}

/*** placeholder ***/
::placeholder {
  color: #999;
}
:-ms-input-placeholder {
  color: #999;
}
::-ms-input-placeholder {
  color: #999;
}

/* overlay
------------------------------------------------------------ */
.lay-overlay {
  display: none;
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

/*
============================================================ */
/* header
============================================================ */
#lay-header {
  width: 100%;
}
#lay-header .lay-head-logo {
  position: absolute;
  z-index: 100;
  top: 30px;
  left: 30px;
  width: 348px;
  font-size: 16px;
}
#lay-header .lay-head-logo img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* sp header
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-header {
    display: flex;
    position: fixed;
    z-index: 700;
    top: 0;
    left: 0;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    background: #fff;
  }
  #lay-header {
    display: flex;
    position: fixed;
    z-index: 700;
    top: 0;
    left: 0;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    background: #fff;
  }
  #lay-header .lay-head-logo {
    position: static;
    width: 220px;
  }
}

@media screen and (max-width: 481px) {
  #lay-header .lay-head-logo {
    width: 190px;
  }
}

/*
============================================================ */
/* global nav
============================================================ */
.lay-global-nav {
  position: fixed;
  z-index: 100;
  top: 24px;
  right: 28px;
  text-align: right;
}
.lay-global-nav li:not(:first-child) {
  margin-top: 16px;
}
.lay-global-nav li a {
  position: relative;
  padding: 2px;
  background: rgba(255, 255, 255, 0.8);
  font-weight: bold;
  text-decoration: none;
}
.lay-global-nav li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scale(1, 1);
  transform-origin: left top;
  transition: transform 0.3s;
  background: #0042a3;
}
.lay-global-nav li a:hover::after {
  transform: scale(0, 1);
  transform-origin: right top;
}
.lay-global-nav li a img {
  width: auto;
  height: 26px;
}

/* side-nav-toggle-btn */
.lay-side-nav-toggle-btn {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background-color: #0042a3;
  cursor: pointer;
}
.lay-side-nav-toggle-btn-inner {
  position: relative;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 16px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.lay-side-nav-toggle-btn-inner span {
  display: inline-block;
  position: absolute;
  left: 50%;
  box-sizing: border-box;
  width: 30px;
  height: 2px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  transition: all 0.4s;
  border-radius: 0;
  background-color: #fff;
}
.lay-side-nav-toggle-btn-inner span:nth-of-type(1) {
  top: 0;
}
.lay-side-nav-toggle-btn-inner span:nth-of-type(2) {
  top: calc(50% - 1px);
}
.lay-side-nav-toggle-btn-inner span:nth-of-type(3) {
  bottom: 0;
}

/* sp global nav
------------------------------------------------------------ */
@media screen and (max-width: 1080px) {
  .lay-global-nav li:not(:first-child) {
    margin-top: 10px;
  }
  .lay-global-nav li a img {
    height: 20px;
  }
}

@media screen and (max-width: 811px) {
  .lay-global-nav {
    display: none;
  }
  /* side-nav-toggle-btn */
  .lay-side-nav-toggle-btn {
    display: block;
  }
}

/*
============================================================ */
/* side nav
============================================================ */
.lay-side-nav {
  display: none;
  position: fixed;
  z-index: 900;
  top: 0;
  right: -500px;
  width: 100vw;
  min-width: 320px;
  max-width: 375px;
  height: 100%;
  background: #fff;
}
.lay-side-nav .lay-side-nav-inner {
  position: relative;
  padding: 0 15px 100px;
}
/* side-nav-title */
.lay-side-nav .lay-side-nav-inner .lay-side-nav-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  height: 60px;
  font-size: 16px;
  line-height: 1;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-title img {
  width: 270px;
  height: auto;
}
/* side-nav-close-btn */
.lay-side-nav .lay-side-nav-inner .lay-side-nav-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  cursor: pointer;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-close-btn .lay-side-nav-close-btn-inner {
  position: relative;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 16px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-close-btn .lay-side-nav-close-btn-inner span {
  display: inline-block;
  position: absolute;
  left: 50%;
  box-sizing: border-box;
  width: 30px;
  height: 2px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  transition: all 0.4s;
  border-radius: 0;
  background-color: #333;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-close-btn .lay-side-nav-close-btn-inner span:nth-of-type(1) {
  top: 0;
  -webkit-transform: translate(-50%, 7px) rotate(-45deg);
  transform: translate(-50%, 7px) rotate(-45deg);
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-close-btn .lay-side-nav-close-btn-inner span:nth-of-type(2) {
  bottom: 0;
  -webkit-transform: translate(-50%, -7px) rotate(45deg);
  transform: translate(-50%, -7px) rotate(45deg);
}
/* side-nav-search */
.lay-side-nav .lay-side-nav-inner .lay-side-nav-search {
  position: relative;
  height: 35px;
  margin: 30px 0;
  border: 1px solid #333;
  border-radius: 35px;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-search input[type="text"] {
  display: inline-block;
  box-sizing: border-box;
  width: calc(100% - 35px);
  height: 35px;
  padding: 2px 15px;
  border: none;
  background: transparent;
  vertical-align: top;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-search input[type="image"] {
  display: inline-block;
  box-sizing: border-box;
  width: 35px;
  height: 35px;
  margin-left: -0.4em;
  padding: 5px;
  outline: none;
  vertical-align: top;
}
/* side-main-nav */
.lay-side-nav .lay-side-nav-inner .lay-side-nav-main {
  overflow: hidden;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-main ul {
  border-top: 1px solid #b3b3b3;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-main li {
  border-bottom: 1px solid #b3b3b3;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-main li a {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 10px 20px 10px 10px;
  transition: all 0.1s ease-in-out;
  background-size: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-main li a::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(50% - 3px);
  right: 10px;
  width: 6px;
  height: 6px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: right 0.2s ease-in-out;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-main li a:hover::after {
  right: 7px;
}
.lay-side-nav .lay-side-nav-inner .lay-side-nav-main li a img {
  width: auto;
  height: 26px;
}

/* sp side nav
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  /* side-nav */
  .lay-side-nav {
    display: block;
  }
}

@media screen and (max-width: 481px) {
  /* side-nav-title */
  .lay-side-nav .lay-side-nav-inner .lay-side-nav-title img {
    width: 230px;
  }
}

/*
============================================================ */
/* container
============================================================ */
#lay-container {
  width: 100%;
  padding: 185px 0 0;
  text-align: left;
}
#top #lay-container {
  padding: 0;
}

/* sp container
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-container,
  #top #lay-container {
    padding: 60px 0 90px;
  }
}

/*
============================================================ */
/* main
============================================================ */
#lay-main {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 80px;
}
#top #lay-main {
  padding-bottom: 0;
}

/* sp main
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-main {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  #top #lay-main {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/*
============================================================ */
/* page-entry
============================================================ */
.lay-page-entry-wrap .lay-page-entry {
  display: block;
  position: fixed;
  z-index: 100;
  right: clamp(9px, calc(100vh * 0.01389), 15px);
  bottom: clamp(6px, calc(100vh * 0.00926), 10px);
  width: calc(100vh * 0.18983);
  min-width: 124px;
  max-width: 205px;
  height: calc(100vh * 0.18983);
  min-height: 124px;
  max-height: 205px;
}
.lay-page-entry-wrap .lay-page-entry img {
  width: auto;
  height: 100%;
}

@media print {
  .lay-page-entry-wrap {
    display: none;
  }
}

/* sp page-top
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .lay-page-entry-wrap .lay-page-entry {
    right: 0;
    bottom: 0;
    width: 100px;
    min-width: inherit;
    max-width: inherit;
    height: 100px;
    min-height: inherit;
    max-height: inherit;
  }
}

/*
============================================================ */
/* footer
============================================================ */
#lay-footer {
  width: 100%;
  background-color: #fff;
}
#lay-footer .lay-footer-inner {
  position: relative;
  width: 100%;
  max-width: 1640px;
  height: auto;
  margin: 0 auto;
  padding: 50px 20px 40px;
  text-align: center;
}
#lay-footer .lay-footer-logo img {
  width: auto;
  height: 27px;
}
#lay-footer .lay-footer-notice {
  margin-top: 30px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
}
#lay-copy-right {
  margin-top: 5px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* sp footer
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-footer .lay-footer-inner {
    padding: 25px 20px 20px;
  }
  #lay-footer .lay-footer-logo img {
    height: 18px;
  }
  #lay-footer .lay-footer-notice {
    margin-top: 20px;
    font-size: 11px;
  }
  #lay-copy-right {
    font-size: 10px;
  }
}

@media screen and (max-width: 400px) {
  #lay-footer .lay-footer-notice {
    font-size: 2.75vw;
  }
  #lay-copy-right {
    font-size: 2.5vw;
    letter-spacing: 0;
  }
}
