@charset "UTF-8";
/*

media
768〜
1024〜
1280〜

*/
/* 変数インポート
--------------------------------------------------------------------------------- */
/* 共通
--------------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: none;
  height: 100%;
  scroll-behavior: smooth;
}

@font-face {
  font-family: "YuGothic M";
  src: local("Yu Gothic Medium");
}
@font-face {
  font-family: "Yu Mincho";
  src: local("Yu Mincho Demibold");
}
body {
  height: 100%;
  padding: 0px;
  margin: 0px;
  font-family: "游ゴシック", YuGothic, "YuGothic M", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ ゴシック", "MS Gothic", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: 100%;
  line-height: 2em;
  font-weight: 500;
}

* {
  box-sizing: border-box;
}

/* HTML5 elements */
section, nav, article, aside, hgroup, header, footer, figure, figcaption, summary {
  display: block;
  padding: 0px;
  margin: 0px;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl {
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: left;
}

a img {
  border: none;
}

area,
img {
  border: none;
  outline: none;
}

img {
  vertical-align: bottom;
}

p, li, dt, dd, th, td, h5, h6 {
  font-size: 13px;
  line-height: 26px;
}

p, ul, ol, dl, table {
  margin: 0px 0px 26px 0px;
}

ul ul, ul ol, ol ul, ol ol {
  margin-bottom: 0px;
}

th p, td p, td li, li li, td td, li td, li th {
  font-size: 100%;
  margin: 0px;
}

a {
  transition: all .2s;
  outline: none;
  color: #18458f;
}
a img {
  transition: all .2s;
}

.palt {
  font-feature-settings: "palt";
}

/* layout
--------------------------------------------------------------------------------- */
#layout {
  min-width: 320px;
  min-height: 100%;
  position: relative;
  box-sizing: border-box;
}

/* page-header
--------------------------------------------------------------------------------- */
#page-header {
  width: 100%;
  height: 40px;
  background-color: #fff;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 20;
  border-style: solid;
  border-color: #b2b2b2;
  border-width: 0px 0px 1px 0px;
  border-radius: 0px;
}
#page-header h1 {
  width: 240px;
  font-size: 16px;
  line-height: 16px;
  position: absolute;
  top: 8px;
  left: 20px;
}
#page-header .inner {
  max-width: 1280px;
  margin: 0px auto;
  position: relative;
}

#menu {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 0px;
  top: 0px;
  cursor: pointer;
  margin: 0px;
  z-index: 10;
}
#menu::before, #menu::after,
#menu span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  text-indent: -9999px;
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
  background-color: #18458f;
  border-radius: 1px;
}
#menu span {
  top: 19px;
}
#menu::before {
  content: "";
  top: 12px;
}
#menu::after {
  content: "";
  bottom: 12px;
}
#menu.on::before {
  -webkit-transform: translateY(7.1428571429px) rotate(-45deg);
  transform: translateY(7.1428571429px) rotate(-45deg);
}
#menu.on span {
  height: 0px;
}
#menu.on::after {
  -webkit-transform: translateY(-7.1428571429px) rotate(45deg);
  transform: translateY(-7.1428571429px) rotate(45deg);
}

/* global-nav
--------------------------------------------------------------------------------- */
#global-nav {
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: -1;
  background-color: #fff;
  display: none;
}

.gnav {
  margin: 100px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  list-style-type: none;
}
.gnav li {
  margin: 0px 0px 30px;
  padding: 0px;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  text-align: center;
}
.gnav li .en {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.gnav li .key {
  padding-left: 16px;
  background-image: url(../images/key_on.png);
  background-position: left center;
  background-size: 15px auto;
  background-repeat: no-repeat;
}
.gnav li a {
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}
.gnav li a::before {
  content: "";
  display: block;
  width: 0px;
  height: 2px;
  position: absolute;
  left: 0px;
  bottom: 0px;
  background-color: #18458f;
  transition: all .2s;
}
.gnav li a.on::before {
  width: 100%;
}

/* page-footer
--------------------------------------------------------------------------------- */
#page-footer {
  clear: both;
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  background-color: #18458f;
  color: #fff;
}
#page-footer .inner {
  padding-top: 40px;
}

.copyright {
  font-size: 10px;
  line-height: 15px;
  text-align: center;
}

#pagetop {
  position: absolute;
  right: 10px;
  top: -25px;
  width: 50px;
  height: 50px;
  margin: 0px;
}
#pagetop a {
  background-color: #39609f;
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border-style: solid;
  border-color: #fff;
  border-width: 2px;
  border-radius: 50%;
  text-indent: -9999px;
  background-image: url(../images/arrow_001.png);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.fnav {
  margin: 0px auto 40px;
  padding: 0px;
  list-style-type: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  flex-direction: row;
  width: 280px;
}
.fnav li {
  margin: 0px 0px 20px 0px;
  padding: 0px;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
}
.fnav li a {
  color: #fff;
  text-decoration: none;
}
.fnav li::before {
  content: "｜";
}
.fnav li.greeting::before, .fnav li.archive::before {
  content: "";
}

.f-company-name {
  margin: 0px auto 20px;
  width: 280px;
}

.f-address {
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 60px;
}

/* media
--------------------------------------------------------------------------------- */
/*
--------------------------------------------------------------------------------- hover */
@media (hover: hover) {
  a[href^="tel:"] {
    pointer-events: none;
    text-decoration: none;
  }

  a:hover {
    color: #000;
  }
  a:hover img {
    opacity: 0.6;
  }

  .gnav li a:hover {
    color: #18458f;
  }
  .gnav li a:hover::before {
    width: 100%;
  }
}
/*
--------------------------------------------------------------------------------- 768 */
@media print, screen and (min-width: 768px) {
  body {
    background-image: url(../images/contents_bg.png);
    background-position: right calc( ( 80 / 1280 ) * 100% ) top 150px;
    background-size: calc( ( 620 / 1280 ) * 100% ) auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  body#home {
    background-image: none;
  }

  /* page-header
  --------------------------------------------------------------------------------- */
  #page-header {
    height: 100px;
  }
  #page-header h1 {
    width: 320px;
    top: 44px;
    left: 20px;
  }

  #menu {
    display: none;
  }

  /* global-nav
  --------------------------------------------------------------------------------- */
  #global-nav {
    top: 48px;
    left: auto;
    right: 40px;
    width: auto;
    height: auto;
    background-color: transparent;
    display: block;
    z-index: 20;
    width: calc( 100% - 410px );
    max-width: 420px;
  }

  .gnav {
    margin: 0px 0px 0px 0px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: row;
  }
  .gnav li {
    margin: 0px 0px 0px 0px;
    font-size: 12px;
    line-height: 14px;
  }
  .gnav li .en {
    font-size: 8px;
  }
  .gnav li .key {
    padding-left: 14px;
    background-size: 13px auto;
    background-image: url(../images/key.png);
  }
  .gnav li a {
    padding-bottom: 24px;
    color: #000;
  }
  .gnav li a::before {
    height: 5px;
  }
  .gnav li a.on {
    color: #18458f;
  }
  .gnav li a.on .key {
    background-image: url(../images/key_on.png);
  }

  /* page-footer
  --------------------------------------------------------------------------------- */
  .fnav {
    margin: 0px auto 40px;
    width: auto;
  }
  .fnav li {
    margin: 0px 0px 20px 0px;
    font-size: 14px;
    line-height: 20px;
  }
  .fnav li::before {
    content: "｜";
    margin: 0px 10px;
  }
  .fnav li.archive::before {
    content: "｜";
  }

  .f-company-name {
    width: 430px;
    margin-bottom: 10px;
  }

  .f-address {
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 60px;
  }

  /*
  --------------------------------------------------------------------------------- hover in 768 */
}
@media print and (hover: hover), screen and (min-width: 768px) and (hover: hover) {
  .gnav li a:hover .key {
    background-image: url(../images/key_on.png);
  }
}
/*
--------------------------------------------------------------------------------- 1024 */
@media print, screen and (min-width: 1024px) {
  p, li, dt, dd, th, td, h5, h6 {
    font-size: 14px;
    line-height: 28px;
  }

  p, ul, ol, dl, table {
    margin: 0px 0px 28px 0px;
  }

  /* page-header
  --------------------------------------------------------------------------------- */
  #page-header h1 {
    width: 430px;
    top: 40px;
    left: 20px;
  }

  /* global-nav
  --------------------------------------------------------------------------------- */
  #global-nav {
    top: 50px;
    right: 40px;
    width: calc( 100% - 580px );
    max-width: 600px;
  }

  .gnav li {
    font-size: 15px;
    line-height: 17px;
  }
  .gnav li .en {
    font-size: 10px;
  }
  .gnav li a {
    padding-bottom: 16px;
    color: #000;
  }
  .gnav li a::before {
    height: 5px;
  }
}
/*
--------------------------------------------------------------------------------- 1280 */
@media print, screen and (min-width: 1280px) {
  body {
    background-position: right calc( ( 100svw - 1280px ) / 2 + 40px ) top 150px;
    background-size: 620px auto;
  }

  p, li, dt, dd, th, td, h5, h6 {
    font-size: 16px;
    line-height: 32px;
  }

  p, ul, ol, dl, table {
    margin: 0px 0px 32px 0px;
  }
}
/*
--------------------------------------------------------------------------------- 1920*/
