@charset "utf-8";

/** ***************************************************************************
 * フォント設定
 * ************************************************************************* */

/* アイコン */

@import url('../font/icomoon/style.css');

/* ゴシック体 */

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 300;
  src: url('../font/NotoSans/NotoSansCJKjp-Light.woff') format('woff'),
       url('../font/NotoSans/NotoSansCJKjp-Light.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 400;
  src: url('../font/NotoSans/NotoSansCJKjp-Regular.woff') format('woff'),
       url('../font/NotoSans/NotoSansCJKjp-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 500;
  src: url('../font/NotoSans/NotoSansCJKjp-Medium.woff') format('woff'),
       url('../font/NotoSans/NotoSansCJKjp-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 700;
  src: url('../font/NotoSans/NotoSansCJKjp-Bold.woff') format('woff'),
       url('../font/NotoSans/NotoSansCJKjp-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 900;
  src: url('../font/NotoSans/NotoSansCJKjp-Black.woff') format('woff'),
       url('../font/NotoSans/NotoSansCJKjp-Black.otf') format('opentype');
}

/* 明朝体 */

@font-face {
  font-family: 'NotoSerifCJKjp';
  font-style: normal;
  font-weight: 300;
  src: url('../font/NotoSerif/NotoSerifCJKjp-Light.woff') format('woff'),
       url('../font/NotoSerif/NotoSerifCJKjp-Light.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSerifCJKjp';
  font-style: normal;
  font-weight: 400;
  src: url('../font/NotoSerif/NotoSerifCJKjp-Regular.woff') format('woff'),
       url('../font/NotoSerif/NotoSerifCJKjp-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSerifCJKjp';
  font-style: normal;
  font-weight: 500;
  src: url('../font/NotoSerif/NotoSerifCJKjp-Medium.woff') format('woff'),
       url('../font/NotoSerif/NotoSerifCJKjp-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSerifCJKjp';
  font-style: normal;
  font-weight: 600;
  src: url('../font/NotoSerif/NotoSerifCJKjp-SemiBold.woff') format('woff'),
       url('../font/NotoSerif/NotoSerifCJKjp-SemiBold.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSerifCJKjp';
  font-style: normal;
  font-weight: 700;
  src: url('../font/NotoSerif/NotoSerifCJKjp-Bold.woff') format('woff'),
       url('../font/NotoSerif/NotoSerifCJKjp-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'NotoSerifCJKjp';
  font-style: normal;
  font-weight: 900;
  src: url('../font/NotoSerif/NotoSerifCJKjp-Black.woff') format('woff'),
       url('../font/NotoSerif/NotoSerifCJKjp-Black.otf') format('opentype');
}

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

body {
  color: #333;
  font: 13px/1.6 'NotoSansCJKjp', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href] {
  transition: color 0.3s ease-in-out 0.0s;
  color: #0064aa;
}

a[href]:hover {
  color: #73b8e9;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  a[href*="tel:"] {
    color: inherit;
    cursor: default;
    pointer-events: none;
    text-decoration: none !important;
  }

}

/** ***************************************************************************
 * 共用
 */

div.body {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  div.body {
    padding-left: 20px;
    padding-right: 20px;
  }

}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

#header {
  width: 100%;
  padding: 5px 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  transition: background-color 0.6s ease-in-out 0.0s;
  background-color: transparent;
}

body.scroll-active
#header {
  background-color: rgba(255, 255, 255, 0.9);
}

#header div.body {
  max-width: none;
  padding-left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #header {
    padding: 10px 0;
  }

  #header div.body {
    padding-left: 20px;
  }

}

/** ***************************************************************************
 * ロゴ
 */

#header .logo {
  line-height: 1.3;
  letter-spacing: 2px;
  font-family: NotoSerifCJKjp, serif;
  font-size: 0.615em;
}

#header .logo a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: color 0.6s ease-in-out 0.0s;
  color: #fff;
}

body.scroll-active
#header .logo a {
  color: inherit;
}

#header .logo img {
  width: 40px;
  margin-right: 10px;
}

#header .logo .text {
  letter-spacing: 1px;
  font-size: 1.125em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

#header .logo em {
  margin-left: 5px;
  margin-bottom: 2px;
  letter-spacing: 0;
  font-size: 1.5em;
  font-style: normal;
  display: inline;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #header .logo {
    font-size: 0.923em;
  }

  #header .logo img {
    width: 45px;
    margin-right: 22px;
  }

  #header .logo .text {
    letter-spacing: 2px;
    font-size: 1em;
  }

  #header .logo em {
    margin-bottom: 4px;
  }

}

/** ***************************************************************************
 * コンテンツ
 */

#header div.header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.scroll-active
#header div.header {
  visibility: visible;
  opacity: 1;
}

/** ***************************************************************************
 * グローバルナビ
 * ************************************************************************* */

#global-nav div.nav {
  width: 80%;
  max-width: 250px;
  min-height: 50vh;
  max-height: 100vh;
  padding: 50px 0 140px;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: rgba(255, 255, 255, 0.9);
  background-color: #f5f5f5;
  overflow: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  position: fixed;
  z-index: 2;
  top: 0;
  transition: right 0.4s ease-in-out 0.0s;
  right: -80%;
}

body.global-nav-active
#global-nav div.nav {
  right: 0;
}

#global-nav div.nav ul.list {
  padding-left: 5px;
  padding-right: 5px;
  font-size: 13px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

#global-nav div.nav ul.list li.parent {
  padding-bottom: 0.75em;
}

#global-nav div.nav ul.list li a {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease-in-out 0.0s;
  position: relative;
  z-index: 1;
}

#global-nav div.nav ul.list li a:not([href]) {
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

#global-nav div.nav ul.list li > a:hover {
  background-color: #fff;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #global-nav div.nav {
    max-width: 300px;
    padding: 65px 0 100px;
  }

}

/** ***************************************************************************
 * 第一階層
 */

#global-nav div.nav ul.list > li {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

#global-nav div.nav ul.list > li ~ li {
	border-top: none;
}

#global-nav div.nav ul.list > li > a {
  padding: 0.75em 1em 0.75em 32px;
}

#global-nav div.nav ul.list > li.current > a::before {
  content: '\e5ca';
	margin-top: -8px;
	color: #0064aa;
	line-height: 1;
	font-family: icomoon;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	position: absolute;
	z-index: -1;
	top: 50%;
  left: 8px;
}

/** ***************************************************************************
 * 第二階層
 */

#global-nav div.nav ul.list ul,
#global-nav div.nav ul.list ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#global-nav div.nav ul.list ul > li > a {
  padding: 0.375em 1em 0.375em calc(32px + 2em);
}

/** ***************************************************************************
 * ハンバーガー
 * ************************************************************************* */

#global-nav div.drawer-trigger {
  width: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

#global-nav div.drawer-trigger div.icon {
  width: 100%;
  height: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/** ===========================================================================
 * ライン
 */

#global-nav div.drawer-trigger div.icon i {
  width: 100%;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

body.scroll-active
#global-nav div.drawer-trigger div.icon i {
  border-color: #000;
}

body.global-nav-active
#global-nav div.drawer-trigger div.icon i {
  border-color: #000;
}

/* 上 */
#global-nav div.drawer-trigger div.icon i:nth-child(1) {
  transform-origin: center center;
  transition:
    margin-bottom 0.1s ease-in-out 0.2s,
    border-color 0.6s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  margin-bottom: 4px;
  transform: rotate(0);
}

body.global-nav-active
#global-nav div.drawer-trigger div.icon i:nth-child(1) {
  transition:
    margin-bottom 0.0s ease-in-out 0.0s,
    border-color 0.6s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  margin-bottom: -2px;
  transform: rotate(225deg);
}

/* 中 */
#global-nav div.drawer-trigger div.icon i:nth-child(2) {
  transition:
    margin-left 0.2s ease-in-out 0.0s,
    border-color 0.6s ease-in-out 0.0s,
    visibility 0.2s ease-in-out 0.0s,
    opacity 0.2s ease-in-out 0.0s;
  margin-left: 0;
  visibility: visible;
  opacity: 1;
}

body.global-nav-active
#global-nav div.drawer-trigger div.icon i:nth-child(2) {
  margin-left: 50vw;
  visibility: hidden;
  opacity: 0;
}

/* 下 */
#global-nav div.drawer-trigger div.icon i:nth-child(3) {
  transform-origin: center center;
  transition:
    margin-top 0.1s ease-in-out 0.2s,
    border-color 0.6s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  margin-top: 4px;
  transform: rotate(0);
}

body.global-nav-active
#global-nav div.drawer-trigger div.icon i:nth-child(3) {
  transition:
    margin-top 0.0s ease-in-out 0.0s,
    border-color 0.6s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  margin-top: -2px;
  transform: rotate(-225deg);
}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

#footer {
  font-size: 12px;
  position: relative;
  z-index: 2;
}

#footer div.body {
  max-width: 1366px;
}

/** ***************************************************************************
 * コンテンツ
 */

#footer div.footer {
  padding: 30px 0;
  background-color: #f4f4f4;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer div.footer {
    padding: 40px 0;
  }

}

/** ***************************************************************************
 * 会社情報
 */

#footer div.company {
  padding: 15px 0;
}

#footer div.company div.body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer div.company {
    padding: 20px 0;
  }

  #footer div.company div.body {
    justify-content: flex-start;
  }

}

/** ===========================================================================
 * ロゴ
 */

#footer div.company .logo {
  width: 80px;
  margin-left: auto;
  margin-right: auto;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer div.company .logo {
    width: 100px;
  }

}

/** ===========================================================================
 * ナビ
 */

#footer div.company ul.nav,
#footer div.company ul.nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer div.company ul.nav {
  padding-left: 10px;
  letter-spacing: -0.4em;
  vertical-align: middle;
  display: inline-block;
}

#footer div.company ul.nav li {
  letter-spacing: normal;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  vertical-align: top;
  display: inline-block;
}

#footer div.company ul.nav li {
  letter-spacing: normal;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  vertical-align: top;
  display: inline-block;
}

#footer div.company ul.nav li ~ li {
  border-left: none;
}

#footer div.company ul.nav li a {
  padding: 0 1em;
  color: inherit;
  text-decoration: none;
  vertical-align: top;
  display: inline-block;
}

#footer div.company ul.nav li a:hover {
  text-decoration: underline;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer div.company ul.nav {
    display: table-cell;
  }

}

/** ===========================================================================
 * バナー
 */

#footer div.company ul.banner,
#footer div.company ul.banner li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer div.company ul.banner {
  width: 100%;
  margin: 5px -10px -5px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#footer div.company ul.banner li {
  width: fit-content;
  padding: 5px 10px;
}

#footer div.company ul.banner li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

#footer div.company ul.banner li img {
  max-height: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer div.company ul.banner {
    width: fit-content;
    margin-left: auto;
    margin-right: 0;
  }

  #footer div.company ul.banner li {
    padding: 5px;
  }

}

/** ***************************************************************************
 * ページトップ
 */

#footer div.pagetop {
  color: #fff;
  font-size: 20px;
  background-color: #000;
  position: fixed;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  transition:
    visibility 0.5s ease-in-out 0.0s,
    opacity 0.5s ease-in-out 0.0s,
    bottom 0.5s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

body.scroll-active
#footer div.pagetop {
  bottom: 10px;
  transition:
    visibility 0.5s ease-in-out 0.0s,
    opacity 0.5s ease-in-out 0.5s,
    bottom 0.5s ease-in-out 0.0s;
  visibility: visible;
  opacity: 1;
}

body.scroll-active
#footer.window-in div.pagetop {
  bottom: 100px;
}

#footer div.pagetop a {
  padding: 10px;
  color: inherit;
  text-decoration: none;
  display: block;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  body.scroll-active
  #footer div.pagetop {
    bottom: 20px;
  }

  #footer div.pagetop {
    font-size: 26px;
    right: 20px;
    bottom: 20px;
  }

  #footer div.pagetop a {
    padding: 17px;
  }

}

/** ***************************************************************************
 * コピーライト
 */

#footer address.copyright {
  padding: 10px 0;
  color: #fff;
  font-size: 10px;
  background-color: #222;
}

#footer address.copyright div.body::after {
  content: '.';
  display: block;
  line-height: 0;
  clear: both;
  visibility: hidden;
}

#footer address.copyright a {
  color: inherit;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer address.copyright {
    padding: 30px 0;
  }

}

/** ===========================================================================
 * テキスト
 */

#footer address.copyright .text {
  padding: 5px 10px;
  letter-spacing: 1px;
}

#footer address.copyright .text a {
  text-decoration: none;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer address.copyright .text {
    float: left;
  }

}

/** ===========================================================================
 * コピーライト
 */

#footer address.copyright p.copyright {
  margin-top: 0;
  padding: 5px 10px;
  letter-spacing: 1px;
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #footer address.copyright p.copyright {
    float: right;
  }

}
