@charset "utf-8";

/** ***************************************************************************
 * フォント
 * ************************************************************************* */

@font-face {
  font-family: 'DIN 1451';
  font-style: normal;
  font-weight: 400;
  src: url('../_font/din1451alt/din1451alt.ttf') format('truetype');
}

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

body {
  color: #000;
  font: 14px / 1.6 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:where([href]) {
  transition: color 0.3s ease-in-out 0.0s;
  color: rgba(var(--accentcolor-link-1), 1.0);
}

a:where([href]):hover {
  color: rgba(var(--accentcolor-link-1), 0.6);
}

@media screen and (min-width:737px) {

  html, body {
    scrollbar-width: thin;
  }

  body {
    font-size: 15px;
  }

}

/**
 * レイアウト用
 */

div.body {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (min-width:737px) {

  a[href*="tel:"] {
    color: inherit;
    cursor: default;
    pointer-events: none;
  }

}

/** ***************************************************************************
 * ヘッダー（トップページ）
 * ************************************************************************* */

body.layout-index
#header {
  background-color: #f5f5f5;
  background-image: url("../_image/index/header-bg-sp.png");
  background-position: center top;
  background-size: 26em auto;
  background-repeat: no-repeat;
}

body.layout-index
#header div.body {
  max-width: 1280px;
}

body.layout-index
#header div.header {
  min-height: 640px;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:737px) {

  body.layout-index
  #header {
    background-image: url("../_image/index/header-bg-pc.png");
    background-position: center top;
    background-size: auto;
    background-repeat: no-repeat;
  }

  body.layout-index
  #header div.header {
    min-height: 600px;
  }

}

/**
 * サイト名
 */

body.layout-index
#header .site-name {
  width: 90%;
  text-align: center;
  position: absolute;
  z-index: 1;
  top: 230px;
  left: 5%;
}

/**
 * ロゴ
 */

body.layout-index
#header div.logo {
  width: 33.8%;
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 0;
}

@media screen and (min-width:737px) {

  body.layout-index
  #header div.logo {
    width: auto;
    left: auto;
    top: 10px;
    right: 10px;
  }

}

/**
 * テキスト
 */

body.layout-index
#header div.text {
  width: 100%;
  padding: 3em 0;
  text-align: justify;
  text-justify: inter-character;
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
}

@media screen and (min-width:737px) {

  body.layout-index
  #header div.text {
    text-align: center;
    left: 0;
    bottom: 0;
  }

}

/** ***************************************************************************
 * ヘッダー（下層ページ）
 * ************************************************************************* */

body.layout-lower
#header {
  background-color: #f5f5f5;
}

body.layout-lower
#header div.body {
  max-width: 1280px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media screen and (min-width:737px) {

  body.layout-lower
  #header div.body {
    justify-content: space-between;
  }

}

/**
 * サイト名
 */

body.layout-lower
#header .site-name {
  width: 40%;
}

@media screen and (min-width:737px) {

  body.layout-lower
  #header .site-name {
    width: auto;
  }

}

/**
 * ロゴ
 */

body.layout-lower
#header div.logo {
  width: 25%;
  margin-left: 10px;
}

@media screen and (min-width:737px) {

  body.layout-lower
  #header div.logo {
    width: auto;
    margin-left: 0;
  }

}

/** ***************************************************************************
 * ハンバーガー
 * ************************************************************************* */

#header div.drawer {
  width: 46px;
  height: 46px;
  cursor: pointer;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  right: 15px;
  transition:
    background-color 0.3s ease-in-out 0.0s,
    top 0.3s ease-in-out 0.0s;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  top: 17px;
}

body.global-nav-active
#header div.drawer {
  background-color: transparent;
  top: 17px;
}

@media screen and (min-width:737px) {

  #header div.drawer {
    display: none;
  }

}

/**
 * タイトル
 */

#header div.drawer div.title {
  margin-top: 3px;
  color: #fff;
  line-height: 1;
  font-size: 8px;
  font-weight: 600;
}

body.global-nav-active
#header div.drawer div.title {
  display: none;
}

/**
 * ライン
 */

#header div.drawer div.line {
  width: 30%;
  height: 12px;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

body.global-nav-active
#header div.drawer div.line {
  width: 50%;
}

#header div.drawer i {
  width: 100%;
  border-top: 1px solid;
  border-bottom: 1px solid;
  transform-origin: center center;
  transition:
    border-color 0.3s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  transform: rotate(0) translate(0);
  border-color: #fff;
}

body.global-nav-active
#header div.drawer i {
  border-color: #000;
}

/* 上 */

body.global-nav-active
#header div.drawer i:nth-child(1) {
  transform: rotate(315deg) translate(-4px, 4px);
}

/* 中 */

body.global-nav-active
#header div.drawer i:nth-child(2) {
  transform: translateX(50vw);
}

/* 下 */

#header div.drawer i:nth-child(3) {
  width: 80%;
  margin-left: auto;
  margin-right: 0;
}

body.global-nav-active
#header div.drawer i:nth-child(3) {
  width: 100%;
  transform: rotate(-315deg) translate(-3px, -3px);
}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

#main {
  padding-bottom: 50px;
}

@media screen and (min-width:737px) {

  #main {
    padding-bottom: 100px;
  }

  #main div.body {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

}

/** ***************************************************************************
 * パンくず
 * ************************************************************************* */

#breadcrumb {
  width: 100%;
  margin-bottom: 15px;
  padding: 5px 0;
}

#breadcrumb ol.list {
  line-height: 1.3;
  font-size: 0.857em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

#breadcrumb ol.list li {
  margin-right: 0.25em;
}

#breadcrumb ol.list li:not(:last-child)::after {
  content: '>';
  vertical-align: middle;
  display: inline-block;
}

#breadcrumb ol.list li a {
  padding: 0.25em;
  vertical-align: middle;
  display: inline-block;
}

@media screen and (min-width:737px) {

  #breadcrumb ol.list {
    font-size: 0.933em;
  }

}

/** ***************************************************************************
 * 自動お見積り（上部固定）
 * ************************************************************************* */

#mitsumori-button {
  width: 1200px;
  position: fixed;
  z-index: 8;
  top: 0;
  left: 5px;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

body.scroll-active
#mitsumori-button {
  visibility: visible;
  opacity: 1;
}

#mitsumori-button a {
  min-height: 3.375em;
  padding: 0.5em 2em 0.625em 50px;
  color: #fff;
  line-height: 1.3;
  font-size: 1.143em;
  font-weight: 600;
  text-align: left;
  border-radius: 14px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #fc1726;
  position: relative;
  z-index: 0;
}

#mitsumori-button a:hover {
  color: #fff;
  background-color: #ff4450;
}

#mitsumori-button a::after {
  content: '';
  width: 0.625em;
  height: 0.625em;
  background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.5em);
  right: 0.75em;
}

#mitsumori-button a small {
  font-size: 0.7em;
  font-weight: 400;
}

/* お問い合わせはこちら */

#mitsumori-button.button-type-1 a::before {
  content: '';
  width: 1.75em;
  height: 2em;
  background: url("../_image/_common/icon-mitsumori-3.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 1em);
  left: 15px;
}

/* お問い合わせ・お見積りはこちら */

#mitsumori-button.button-type-2 a::before {
  content: '';
  width: 1.5em;
  height: 2.125em;
  background: url("../_image/_common/icon-mitsumori-2.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 1.125em);
  left: 15px;
}

@media screen and (min-width:737px) {

  #mitsumori-button {
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    left: 0;
    right: 0;
  }

  #mitsumori-button a {
    width: 270px;
    min-height: 3.625em;
    padding: 0.25em 2em 0.5em 60px;
    font-size: 1.125em;
    border-radius: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  #mitsumori-button a::before {
    left: 25px;
  }

}

/** ***************************************************************************
 * メインコンテンツ
 * ************************************************************************* */

#main-contents :where(.section) ~ .section {
  margin-top: 60px;
}

#main-contents :where(.column) ~ .column {
  margin-top: 40px;
}

#main-contents :where(.block) ~ .block {
  margin-top: 25px;
}

@media screen and (min-width:737px) {

  #main-contents {
    width: calc(100% - 230px - 40px);
  }

  #main-contents :where(.section) ~ .section {
    margin-top: 80px;
  }

  #main-contents :where(.column) ~ .column {
    margin-top: 60px;
  }

  #main-contents :where(.block) ~ .block {
    margin-top: 30px;
  }

  body[class*="service"]
  #main-contents .section {
    padding-left: 20px;
    padding-right: 20px;
  }

}

/** ***************************************************************************
 * ページヘッダー
 * ************************************************************************* */

#page-header {
  margin-bottom: 40px;
}

@media screen and (min-width:737px) {

  #page-header {
    margin-bottom: 90px;
  }

  #page-header div.contents {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * 内容
 */

@media screen and (min-width:737px) {

  #page-header div.contents div.content {
    max-width: 500px;
    padding-left: 20px;
    flex-grow: 1;
  }

  #page-header div.contents div.content div.text {
    font-size: 1.2em;
  }

}

/**
 * メッセージ
 */

#page-header div.message {
  padding: 1em;
  text-align: justify;
  text-justify: inter-character;
  border-radius: 0.75em;
  background-color: #f5f5f5;
}

@media screen and (min-width:737px) {

  #page-header div.message {
    width: 100%;
    margin-top: 10px;
  }

}

/** ***************************************************************************
 * ものづくり一貫サービス
 */

/**
 * サービス名
 */

#page-header div.contents .service {
  padding-left: 3em;
  font-weight: 600;
  position: relative;
  z-index: 0;
}

/**
 * 数字
 */

#page-header div.contents .service::before {
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 2.25em;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

body.service-1
#page-header div.contents .service::before {
  content: '01';
  color: var(--accentcolor-service-1);
}

body.service-2
#page-header div.contents .service::before {
  content: '02';
  color: var(--accentcolor-service-2);
}

body.service-3
#page-header div.contents .service::before {
  content: '03';
  color: var(--accentcolor-service-3);
}

body.service-4
#page-header div.contents .service::before {
  content: '04';
  color: var(--accentcolor-service-4);
}

body.service-5
#page-header div.contents .service::before {
  content: '05';
  color: var(--accentcolor-service-5);
}

body.service-6
#page-header div.contents .service::before {
  content: '06';
  color: var(--accentcolor-service-6);
}

body.service-7
#page-header div.contents .service::before {
  content: '07';
  color: var(--accentcolor-service-7);
}

body.service-8
#page-header div.contents .service::before {
  content: '08';
  color: var(--accentcolor-service-8);
}

body.service-9
#page-header div.contents .service::before {
  content: '09';
  color: var(--accentcolor-service-9);
}

/**
 * 英字
 */

#page-header div.contents .service::after {
  letter-spacing: 2px;
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 0.5em;
  display: block;
}

body.service-1
#page-header div.contents .service::after {
  content: var(--english-service-1);
}

body.service-2
#page-header div.contents .service::after {
  content: var(--english-service-2);
}

body.service-3
#page-header div.contents .service::after {
  content: var(--english-service-3);
}

body.service-4
#page-header div.contents .service::after {
  content: var(--english-service-4);
}

body.service-5
#page-header div.contents .service::after {
  content: var(--english-service-5);
}

body.service-6
#page-header div.contents .service::after {
  content: var(--english-service-6);
}

body.service-7
#page-header div.contents .service::after {
  content: var(--english-service-7);
}

body.service-8
#page-header div.contents .service::after {
  content: var(--english-service-8);
}

body.service-9
#page-header div.contents .service::after {
  content: var(--english-service-9);
}

/** ---------------------------------------------------------------------------
 * 第1階層
 */

/**
 * サービス名
 */

body.service-level1
#page-header div.contents .service {
  margin-bottom: 0.75em;
  line-height: 1.3;
  font-size: 1.714em;
}

@media screen and (min-width:737px) {

  body.service-level1
  #page-header div.contents .service {
    font-size: 2.667em;
  }

}

/* 数字 */

body.service-level1
#page-header div.contents .service::before {
  line-height: 0.8;
}

/** ---------------------------------------------------------------------------
 * 第2階層
 */

body.service-level2
#page-header {
  margin-bottom: 25px;
}

body.service-level2
#page-header div.contents {
  align-items: flex-start;
}

@media screen and (min-width:737px) {

  body.service-level2
  #page-header {
    margin-bottom: 60px;
  }

  body.service-level2
  #page-header div.contents div.content {
    min-width: 0;
    max-width: 100%;
    width: 470px;
    margin-top: 20px;
    padding-left: 20px;
  }

}

/**
 * サービス名
 */

body.service-level2
#page-header div.contents .service {
  margin-bottom: 0.75em;
  font-size: 1.143em;
}

@media screen and (min-width:737px) {

  body.service-level2
  #page-header div.contents .service {
    margin-bottom: 1em;
    font-size: 1.6em;
  }

}

/**
 * タイトル
 */

body.service-level2
#page-header div.contents .title {
  margin-bottom: 0.75em;
  font-size: 1.571em;
  font-weight: 600;
  border-bottom: 1px solid #afafaf;
}

@media screen and (min-width:737px) {

  body.service-level2
  #page-header div.contents .title {
    margin-bottom: 0.5em;
    font-size: 2.4em;
  }

}

/** ---------------------------------------------------------------------------
 * 第3階層
 */

body.service-level3
#page-header {
  margin-bottom: 25px;
}

body.service-level3
#page-header div.contents {
  align-items: flex-start;
}

body.service-level3
#page-header div.contents div.image {
  align-self: center;
}

@media screen and (min-width:737px) {

  body.service-level3
  #page-header {
    margin-bottom: 60px;
  }

  body.service-level3
  #page-header div.contents div.content {
    min-width: 0;
    max-width: 100%;
    width: 500px;
    margin-top: 20px;
    padding-left: 20px;
  }

}

/**
 * サービス名
 */

body.service-level3
#page-header div.contents .service {
  margin-bottom: 0.75em;
  font-size: 1.143em;
}

@media screen and (min-width:737px) {

  body.service-level3
  #page-header div.contents .service {
    margin-bottom: 1em;
    font-size: 1.6em;
  }

}

/**
 * タイトル
 */

body.service-level3
#page-header div.contents .title {
  margin-bottom: 0.75em;
  padding-bottom: 10px;
  line-height: 1.3;
  font-size: 1.571em;
  font-weight: 600;
  border-bottom: 1px solid #afafaf;
}

@media screen and (min-width:737px) {

  body.service-level3
  #page-header div.contents .title {
    margin-bottom: 0.5em;
    font-size: 2.267em;
  }

}

/** ***************************************************************************
 * ページ
 */

body[class*="page-"]
#page-header {
  margin-bottom: 20px;
}

/**
 * タイトル
 */

body[class*="page-"]
#page-header div.contents .title {
  font-weight: 600;
}

/**
 * 英字
 */

body[class*="page-"]
#page-header div.contents .title::after {
  margin-top: 5px;
  letter-spacing: 2px;
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 0.5em;
  display: block;
}

/* よくある質問 */

body.page-faq
#page-header div.contents .title::after {
  content: var(--english-faq);
}

/* 用語集 */

body.page-glossary
#page-header div.contents .title::after {
  content: var(--english-glossary);
}

/* はじめてのお客様 */

body.page-guide
#page-header div.contents .title::after {
  content: var(--english-guide);
}

/* 基板設計・製造サービスの流れ */

body.page-design-implementation
#page-header div.contents .title::after {
  content: var(--english-design-implementation);
}

/** ---------------------------------------------------------------------------
 * 第1階層
 */

/**
 * タイトル
 */

body.page-level1
#page-header div.contents .title {
  margin-bottom: 0.75em;
  line-height: 1.4;
  font-size: 1.714em;
}

@media screen and (min-width:737px) {

  body.page-level1
  #page-header div.contents .title {
    font-size: 2.667em;
  }

}

/** ***************************************************************************
 * PCサイドナビ・SPメニュー
 * ************************************************************************* */

/**
 * SP表示
 */

@media screen and (max-width:736px) {

  #global-nav {
    width: 80vw;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    z-index: 9;
    top: 0;
    transition:
      visibility 0.3s ease-in-out 0.0s,
      opacity 0.3s ease-in-out 0.0s,
      right 0.0s ease-in-out 0.3s;
    visibility: hidden;
    opacity: 0;
    right: -80vw;
  }

  body.global-nav-active
  #global-nav {
    transition:
      visibility 0.3s ease-in-out 0.0s,
      opacity 0.3s ease-in-out 0.0s,
      right 0.3s ease-in-out 0.0s;
    visibility: visible;
    opacity: 1;
    right: 0;
  }

  #global-nav::after {
    content: '';
    height: 100%;
    background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
    position: absolute;
    z-index: 1;
    top: 0;
    right: 80vw;
    transition: width 0.3s ease-in-out 0.15s;
    width: 0;
  }

  body.global-nav-active
  #global-nav::after {
    width: 20vw;
  }

  #global-nav div.contents {
    height: 100%;
    padding: 0 15px 100px;
    overflow: hidden;
    overflow-y: visible;
  }

  #global-nav .column ~ .column {
    margin-top: 15px;
  }

}

/**
 * PC表示
 */

@media screen and (min-width:737px) {

  #global-nav {
    width: 230px;
    flex-shrink: 0;
  }

  #global-nav .column ~ .column {
    margin-top: 20px;
  }

}

/**
 * ロゴ
 */

#global-nav div.site-name {
  padding: 20px;
}

@media screen and (min-width:737px) {

  #global-nav div.site-name {
    display: none;
  }

}

/**
 * タイトル
 */

#global-nav .column-title {
  padding: 1em;
  color: #fff;
  font-weight: 600;
  text-align: center;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
}

#global-nav .column-title:has(a) {
  padding: 0;
}

#global-nav .column-title a {
  padding: 1em;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

#global-nav .column-title a::after {
	content: '';
	width: 0.625em;
	height: 0.625em;
  margin-top: 1px;
  margin-left: 0.5em;
	background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
}

/**
 * ナビゲーション
 */

#global-nav .nav {
  letter-spacing: 0;
  border: 1px solid #cecece;
}

#global-nav.column-title + .nav {
  border-top: none;
}

#global-nav .nav > li ~ li {
  border-top: 1px solid #cecece;
}

#global-nav .nav > li > a {
  padding: 1em 0.75em;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: transparent;
}

#global-nav .nav > li.current > a {
  background-color: #f4f4f4;
}

#global-nav .nav > li > a:hover {
  background-color: #f4f4f4;
}

#global-nav .nav li a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#global-nav .nav li img {
  margin-right: 0.5em;
}

/**
 * ものづくり一貫サービス
 */

#global-nav .service .nav {
  counter-reset: number;
}

#global-nav .service .nav > li {
  counter-increment: number;
}

#global-nav .service .nav > li > a::before {
  content: counter(number, decimal-leading-zero);
  margin-right: 0.375em;
  letter-spacing: 1px;
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 1.333em;
}

#global-nav .service .nav > li:nth-of-type(1) > a::before {
  color: var(--accentcolor-service-1);
}

#global-nav .service .nav > li:nth-of-type(2) > a::before {
  color: var(--accentcolor-service-2);
}

#global-nav .service .nav > li:nth-of-type(3) > a::before {
  color: var(--accentcolor-service-3);
}

#global-nav .service .nav > li:nth-of-type(4) > a::before {
  color: var(--accentcolor-service-4);
}

#global-nav .service .nav > li:nth-of-type(5) > a::before {
  color: var(--accentcolor-service-5);
}

#global-nav .service .nav > li:nth-of-type(6) > a::before {
  color: var(--accentcolor-service-6);
}

#global-nav .service .nav > li:nth-of-type(7) > a::before {
  color: var(--accentcolor-service-7);
}

#global-nav .service .nav > li:nth-of-type(8) > a::before {
  color: var(--accentcolor-service-8);
}

#global-nav .service .nav > li:nth-of-type(9) > a::before {
  color: var(--accentcolor-service-9);
}

/* 下層リスト */

#global-nav .nav ul.subnav {
  display: none;
}

#global-nav .service .nav li.current > ul.subnav {
  display: block;
}

#global-nav .service .nav ul.subnav li a {
  position: relative;
  z-index: 0;
}

#global-nav .service .nav ul.subnav li a::before {
  content: '';
  width: 1em;
  border-top: 3px solid;
  border-bottom: 3px solid;
  position: absolute;
  z-index: 1;
  top: 1.125em;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

#global-nav .service .nav ul.subnav li a:hover::before {
  visibility: visible;
  opacity: 1;
}

#global-nav .service .nav ul.subnav li.current > a::before {
  visibility: visible;
  opacity: 1;
}

#global-nav .service .nav > li:nth-of-type(1) li a::before {
  border-color: var(--accentcolor-service-1);
}

#global-nav .service .nav > li:nth-of-type(2) li a::before {
  border-color: var(--accentcolor-service-2);
}

#global-nav .service .nav > li:nth-of-type(3) li a::before {
  border-color: var(--accentcolor-service-3);
}

#global-nav .service .nav > li:nth-of-type(4) li a::before {
  border-color: var(--accentcolor-service-4);
}

#global-nav .service .nav > li:nth-of-type(5) li a::before {
  border-color: var(--accentcolor-service-5);
}

#global-nav .service .nav > li:nth-of-type(6) li a::before {
  border-color: var(--accentcolor-service-6);
}

#global-nav .service .nav > li:nth-of-type(7) li a::before {
  border-color: var(--accentcolor-service-7);
}

#global-nav .service .nav > li:nth-of-type(8) li a::before {
  border-color: var(--accentcolor-service-8);
}

#global-nav .service .nav > li:nth-of-type(9) li a::before {
  border-color: var(--accentcolor-service-9);
}

/* 第2階層 */

#global-nav .service .nav > li > ul.subnav {
  padding-top: 1em;
  padding-bottom: 1em;
  border-top: 1px solid #cecece;
}

#global-nav .service .nav > li > ul.subnav > li > a {
  padding: 0.5em 0.5em;
  padding-left: 2.625em;
}

#global-nav .service .nav > li > ul.subnav > li > a::before {
  left: 1em;
}

/* 第3階層 */

#global-nav .service .nav ul.subnav > li > ul.subnav > li > a {
  padding: 0.5em 0.5em;
  padding-left: 3.625em;
}

#global-nav .service .nav ul.subnav > li > ul.subnav > li > a::before {
  left: 2em;
}

/**
 * 相談窓口
 */

#global-nav div.contact div.contents {
  padding: 20px 10px;
  font-size: 0.9333em;
  border: 1px solid #cecece;
  border-top: none;
}

#global-nav div.contact div.contents div.tel {
  font-weight: 600;
  text-align: center;
}

#global-nav div.contact div.contents div.tel a {
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 1.714em;
}

#global-nav div.contact div.contents div.time {
  margin-top: 10px;
  text-align: center;
}

#global-nav div.contact div.contents div.button {
  margin-top: 15px;
  text-align: center;
}

#global-nav div.contact div.contents div.button a {
  font-size: 1.143em;
}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

#footer {
  background-color: #f5f5f5;
}

#footer div.body {
  max-width: 1200px;
}

/**
 * お問い合わせ
 */

#footer div.contact {
  padding-top: 85px;
  padding-bottom: 50px;
  background: url("../_image/_common/footer-contact-bg-sp.png") center top / 26em auto no-repeat;
}

@media screen and (min-width:737px) {

  #footer div.contact {
    padding-top: 130px;
    padding-bottom: 70px;
    background-image: url("../_image/_common/footer-contact-bg-pc.png");
    background-size: auto;
  }

}

/* テキスト */

#footer div.contact div.text {
  width: fit-content;
  margin: auto;
  font-weight: 600;
  text-align: center;
}

@media screen and (min-width:737px) {

  #footer div.contact div.text {
    font-size: 1.2em;
  }

}

/* TEL / 営業時間 */

#footer div.contact div.info {
  width: fit-content;
  margin: 40px auto 0;
  font-size: 0.933em;
  text-align: center;
}

#footer div.contact div.info .tel {
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  line-height: 1;
  font-size: 1.75em;
  font-weight: 600;
}

#footer div.contact div.info .tel a {
  letter-spacing: 2px;
  font-size: 1.375em;
  font-family: 'DIN 1451';
}

@media screen and (min-width:737px) {

  #footer div.contact div.info {
    margin: 20px auto 0;
  }

  #footer div.contact div.info .tel {
    font-size: 2.857em;
  }

}

/* お問い合わせ */

#footer div.contact div.button {
  width: fit-content;
  margin: 30px auto 0;
  text-align: center;
}

#footer div.contact div.button a {
  padding-left: 2em;
  padding-right: 3em;
  font-size: 1.333em;
}

@media screen and (min-width:737px) {

  #footer div.contact div.button {
    margin: 30px auto 0;
  }

}

/**
 * ご利用ガイド
 */

#footer div.guide {
  padding: 20px 10px 0;
  border: 1px solid #d8d8d8;
  background-color: #fff;
}

@media screen and (min-width:737px) {

  #footer div.guide {
    padding: 20px 0 30px;
  }

}

/* タイトル */

#footer div.guide .section-title {
  margin-bottom: 5px;
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  font-size: 1.286em;
  font-weight: 600;
  text-align: center;
}

@media screen and (min-width:737px) {

  #footer div.guide .section-title {
    margin-bottom: 20px;
    font-size: 1.6em;
  }

}

/* ご利用ガイド */

#footer div.guide div.list dl.guide ~ dl.guide {
  border-top: 1px solid #d8d8d8;
}

#footer div.guide div.list dl.guide a {
  padding: 15px 5px 15px 6em;
  color: inherit;
  display: block;
  position: relative;
  z-index: 0;
}

#footer div.guide div.list dl.guide dt {
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  font-size: 1.067em;
  font-weight: 600;
}

#footer div.guide div.list dl.guide dt img {
  width: 6em;
  position: absolute;
  z-index: 1;
  top: 1.25em;
  left: 0;
}

#footer div.guide div.list dl.guide dd {
  letter-spacing: 0;
  font-size: 0.857em;
  text-align: justify;
  text-justify: inter-character;
}

@media screen and (min-width:737px) {

  #footer div.guide div.list {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
  }

  #footer div.guide div.list dl.guide {
    width: 25%;
  }

  #footer div.guide div.list dl.guide ~ dl.guide {
    border-top: none;
    border-left: 1px solid #d8d8d8;
  }

  #footer div.guide div.list dl.guide a {
    height: 100%;
    padding: 10px 20px;
  }

  #footer div.guide div.list dl.guide dt img {
    width: 8em;
    position: static;
  }

  #footer div.guide div.list dl.guide dt {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    font-size: 1.067em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #footer div.guide div.list dl.guide dt img {
    margin-bottom: -10px;
  }

  #footer div.guide div.list dl.guide dd {
    font-size: 0.933em;
  }

}

/**
 * ロゴ / ナビ
 */

#footer div.footer {
  margin-top: 40px;
  padding: 20px 0;
  color: #fff;
  position: relative;
  z-index: 0;
}

#footer div.footer::after {
  content: '';
  width: 100vw;
  height: 100%;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}

#footer div.footer a {
  color: inherit;
}

@media screen and (min-width:737px) {

  #footer div.footer {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/* ロゴ */

#footer div.footer div.logo {
  margin-bottom: 10px;
}

@media screen and (min-width:737px) {

  #footer div.footer div.logo {
    margin-bottom: 0;
  }

}

/* ナビゲーション */

#footer div.footer nav.nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#footer div.footer nav.nav ul.list {
  width: 50%;
  font-size: 0.857em;
}

#footer div.footer nav.nav ul.list li a {
  padding: 0.75em 1em;
  display: inline-block;
  transition: color 0.3s ease-in-out 0.0s;
  color: inherit;
}

#footer div.footer nav.nav ul.list li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media screen and (min-width:737px) {

  #footer div.footer nav.nav {
    display: block;
  }

  #footer div.footer nav.nav ul.list {
    width: auto;
    font-size: 0.933em;
    text-align: right;
  }

  #footer div.footer nav.nav ul.list li {
    vertical-align: middle;
    display: inline-block;
  }

  #footer div.footer nav.nav ul.list li:not(:last-child)::after {
    content: '';
    height: 1em;
    border-right: 1px solid rgba(255, 255, 255, 0.7);
    vertical-align: middle;
    display: inline-block;
  }

  #footer div.footer nav.nav ul.list li a {
    padding: 0.25em 1em;
  }

}

/* ページトップ */

#footer div.footer div.pagetop {
  width: 52px;
  position: fixed;
  z-index: 10;
  right: 12px;
  bottom: 15px;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

body.scroll-active
#footer div.footer div.pagetop {
  visibility: visible;
  opacity: 1;
}

#footer div.footer.displayed div.pagetop {
  position: absolute;
  right: auto;
  bottom: auto;
  top: -26px;
  left: calc(50% + 50vw - 70px);
}

/**
 * コピーライト
 */

#footer div.copyright {
  padding: 10px 0;
  letter-spacing: 1px;
  line-height: 1.2;
  font-size: 0.714em;
}

@media screen and (min-width:737px) {

  #footer div.copyright {
    padding: 15px 0;
    font-size: 0.8em;
    text-align: center;
  }

}
