@charset "utf-8";

/** ***************************************************************************
 * リセット
 * ************************************************************************* */

* { text-shadow:none; outline:none; box-sizing:border-box; }

body { max-width:100%; margin:0; padding:0; -webkit-text-size-adjust:none; }

body * { max-width:100%; }

article, aside, footer, header, main, menu, nav, section { margin:0; padding:0; display:block; }

h1, h2, h3, h4, h5, h6 { margin:0; padding:0; font:inherit; }

a { -webkit-tap-highlight-color:rgba(0, 0, 0, 0); }

strong, em, small, address { margin:0; padding:0; font:inherit; }

pre { word-break:break-all; white-space:pre-wrap; }

:where(ul[class]), :where(ul[class]) li { margin:0; padding:0; list-style:none;}

:where(ol[class]), :where(ol[class]) li { margin:0; padding:0; list-style:none; }

:where(dl[class]), :where(dl[class]) dt, :where(dl[class]) dd { margin:0; padding:0; }

img { height:auto; border:none; vertical-align:bottom; }

:where(a[href]) img { transition:filter 0.3s ease-in-out 0.0s; }

:where(a[href]):hover img { filter:brightness(105%) contrast(110%); }

p { margin:0; padding:0; }

p + * { margin-top:1.125rem; }

* + p { margin-top:1.125rem; }

@media screen and (min-width:737px) {

  p + * { margin-top:1.5rem; }

  * + p { margin-top:1.5rem; }

}

/** ***************************************************************************
 * 定数
 * ************************************************************************* */

:root {

  /**
   * アクセントカラー
   */

  /* コーポレートカラー */
  --accentcolor-marutsu-1: 0, 67, 144;

  /* リンク色 */
  --accentcolor-link-1: 0, 67, 144;

  /* ヒアリング */
  --accentcolor-service-1: #de6648;
  /* 回路設計 */
  --accentcolor-service-2: #e89d0d;
  /* 組み込みソフトウェア開発 */
  --accentcolor-service-3: #b6b818;
  /* 基板設計 */
  --accentcolor-service-4: #7cbc5c;
  /* 基板製造 */
  --accentcolor-service-5: #5cbcb4;
  /* 部品調達 */
  --accentcolor-service-6: #669fd8;
  /* 部品実装 */
  --accentcolor-service-7: #8383c5;
  /* ハーネス加工・製作 */
  --accentcolor-service-8: #b383c5;
  /* ケース加工・製作 */
  --accentcolor-service-9: #e87f98;

  /**
   * 英字
   */

  /* ヒアリング */
  --english-service-1: 'Hearing';
  /* 回路設計 */
  --english-service-2: 'Circuit design';
  /* 組み込みソフトウェア開発 */
  --english-service-3: 'Embedded Software Development';
  /* 基板設計 */
  --english-service-4: 'PCB Design';
  /* 基板製造 */
  --english-service-5: 'PCB Manufacturing';
  /* 部品調達 */
  --english-service-6: 'Parts procurement';
  /* 部品実装 */
  --english-service-7: 'PCB Assembly';
  /* ハーネス加工・製作 */
  --english-service-8: 'Harness Assembly';
  /* ケース加工・製作 */
  --english-service-9: 'Case Assembly';

  /* よくある質問 */
  --english-faq: 'FAQ';
  /* 用語集 */
  --english-glossary: 'Printed Circuit Board Glossary';
  /* はじめてのお客様 */
  --english-guide: 'First time customer';
  /* はじめてのお客様 */
  --english-design-implementation: 'Manufacturing service flow';

}

/** ***************************************************************************
 * レイアウト
 * ************************************************************************* */

/* 比率 3:7 */

[data-ratio*="3:7"] > :nth-child(odd) {
  width: calc(100% / 10 * 3 - 2%);
}

[data-ratio*="3:7"] > :nth-child(even) {
  width: calc(100% / 10 * 7 - 2%);
}

/* 比率 3:4 */

[data-ratio*="3:4"] > :nth-child(odd) {
  width: calc(100% / 7 * 3 - 2%);
}

[data-ratio*="3:4"] > :nth-child(even) {
  width: calc(100% / 7 * 4 - 2%);
}

/* 比率 1:2 */

[data-ratio*="1:2"] > :nth-child(odd) {
  width: calc(100% / 3 * 1 - 2%);
}

[data-ratio*="1:2"] > :nth-child(even) {
  width: calc(100% / 3 * 2 - 2%);
}

/* 比率 1:1 */

[data-ratio*="1:1"] > :nth-child(odd) {
  width: calc(100% / 2 * 1 - 2%);
}

[data-ratio*="1:1"] > :nth-child(even) {
  width: calc(100% / 2 * 1 - 2%);
}

/* 比率 2:1 */

[data-ratio*="2:1"] > :nth-child(odd) {
  width: calc(100% / 3 * 2 - 2%);
}

[data-ratio*="2:1"] > :nth-child(even) {
  width: calc(100% / 3 * 1 - 2%);
}

/* 比率 4:3 */

[data-ratio*="4:3"] > :nth-child(odd) {
  width: calc(100% / 7 * 4 - 2%);
}

[data-ratio*="4:3"] > :nth-child(even) {
  width: calc(100% / 7 * 3 - 2%);
}

/* 比率 7:3 */

[data-ratio*="7:3"] > :nth-child(odd) {
  width: calc(100% / 10 * 7 - 2%);
}

[data-ratio*="7:3"] > :nth-child(even) {
  width: calc(100% / 10 * 3 - 2%);
}

/**
 * SP：1カラム、PC：2カラム
 */

@media screen and (max-width:736px) {

  [class*="layout-sp1-pc2"] > :nth-child(odd) {
    width: 100%;
  }

  [class*="layout-sp1-pc2"] > :nth-child(even) {
    width: 100%;
    margin-top: 20px;
  }

}

@media screen and (min-width:737px) {

  [class*="layout-sp1-pc2"] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

}

/**
 * SP：2カラム、PC：2カラム
 */

[class*="layout-sp2-pc2"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

/**
 * SP：2カラム、PC：3カラム
 */

[class*="layout-sp2-pc3"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

@media screen and (min-width:737px) {

  [data-ratio*=",1:1:1"] > :nth-of-type(3n + 1) {
    width: calc(100% / 3 - 2%);
  }

  [data-ratio*=",1:1:1"] > :nth-of-type(3n + 2) {
    width: calc(100% / 3 - 2%);
  }

  [data-ratio*=",1:1:1"] > :nth-of-type(3n + 3) {
    width: calc(100% / 3 - 2%);
  }

}

/** ***************************************************************************
 * タイトル
 * ************************************************************************* */

[class*="title-style"] + * {
  margin-top: 0;
}

/**
 * 1
 */

[class*="title-style-1"] {
  margin-bottom: 25px;
  padding-left: 18px;
  font-size: 1.429em;
  font-weight: 600;
  text-align: left;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:737px) {

  [class*="title-style-1"] {
    margin-bottom: 30px;
    font-size: 1.867em;
  }

  body[class*="service"]
  [class*="title-style-1"] {
    margin-left: -20px;
  }

}

[class*="title-style-1"]::before {
  content: '';
  height: 90%;
  border-right: 10px solid #007ede;
  position: absolute;
  z-index: 1;
  top: 5%;
  left: 0;
}

body.service-1
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-1);
}

body.service-2
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-2);
}

body.service-3
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-3);
}

body.service-4
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-4);
}

body.service-5
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-5);
}

body.service-6
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-6);
}

body.service-7
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-7);
}

body.service-8
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-8);
}

body.service-9
[class*="title-style-1"]::before {
  border-color: var(--accentcolor-service-9);
}

/**
 * 2
 */

[class*="title-style-2"] {
  margin-bottom: 20px;
  padding-bottom: 0.375em;
  line-height: 1.4;
  font-size: 1.143em;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #999;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:737px) {

  [class*="title-style-2"] {
    margin-bottom: 25px;
    font-size: 1.467em;
  }

}

[class*="title-style-2"]::after {
  content: '';
  width: 4.5em;
  border-bottom: 4px solid #007ede;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
}

body.service-1
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-1);
}

body.service-2
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-2);
}

body.service-3
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-3);
}

body.service-4
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-4);
}

body.service-5
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-5);
}

body.service-6
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-6);
}

body.service-7
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-7);
}

body.service-8
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-8);
}

body.service-9
[class*="title-style-2"]::after {
  border-color: var(--accentcolor-service-9);
}

/**
 * 3
 */

[class*="title-style-3"] {
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  font-size: 1.143em;
  font-weight: 600;
  text-align: left;
}

@media screen and (min-width:737px) {

  [class*="title-style-3"] {
    margin-bottom: 5px;
    font-size: 1.2em;
  }

}

/**
 * 4
 */

[class*="title-style-4"] {
  margin-bottom: 5px;
  font-size: 1.143em;
  font-weight: 600;
  text-align: left;
}

@media screen and (min-width:737px) {

  [class*="title-style-4"] {
    margin-bottom: 10px;
    font-size: 1.2em;
  }

}

/**
 * 5
 */

[class*="title-style-5"] {
  margin-bottom: 10px;
  padding-left: 16px;
  font-size: 1.143em;
  font-weight: 600;
  text-align: left;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:737px) {

  [class*="title-style-5"] {
    margin-bottom: 15px;
    font-size: 1.333em;
  }

}

[class*="title-style-5"]::before {
  content: '';
  height: 80%;
  border-right: 8px solid;
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 0;
}

body.service-1
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-1);
}

body.service-2
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-2);
}

body.service-3
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-3);
}

body.service-4
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-4);
}

body.service-5
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-5);
}

body.service-6
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-6);
}

body.service-7
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-7);
}

body.service-8
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-8);
}

body.service-9
[class*="title-style-5"]::before {
  border-color: var(--accentcolor-service-9);
}

/**
 * チェックボックス
 */

[class*="title-style-check-1"] {
  margin-bottom: 10px;
  padding-left: 2.25em;
  font-size: 1.143em;
  position: relative;
  z-index: 0;
}

[class*="title-style-check-1"]::before {
  content: '';
  width: 1.75em;
  height: 1.375em;
  background: url("../_image/_common/icon-check-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: 0.125em;
  left: 0;
}

@media screen and (min-width:737px) {

  [class*="title-style-check-1"] {
    margin-bottom: 20px;
    font-size: 1.2em;
  }

}

/** ***************************************************************************
 * テキスト
 * ************************************************************************* */

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.memo {
  margin-top: 0.75em !important;
  line-height: 1.5;
  font-size: 12px;
}

.strong-style-1 {
  color: #f00;
  font-style: normal;
}

.strong-style-2 {
  font-style: normal;
  font-weight: 600;
}

.strong-style-3 {
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  font-style: normal;
  font-weight: 600;
}

.strong-style-title-1 {
  margin-bottom: 10px;
  padding: 0.125em 1em 0.25em;
  color: #fff;
  font-size: 1.2em;
  font-style: normal;
  font-weight: 600;
  border-radius: 9999px;
  background-color: #f00;
  vertical-align: middle;
  display: inline-block;
}

.hr-style-1 {
  border: none;
  border-top: 1px solid #cecece;
}

@media screen and (min-width:737px) {

  .memo {
    font-size: 13px;
  }

}

/** ***************************************************************************
 * アイコン
 * ************************************************************************* */

/**
 * 必須
 */

.icon-style-required-1 {
  padding: 0.25em 0.75em 0.375em;
  color: #fff;
  line-height: 1;
  font-size: 0.875em;
  border-radius: 9999px;
  background-color: #f00;
  text-align: center;
  vertical-align: middle;
  display: inline-block;
}

/**
 * 任意
 */

.icon-style-optional-1 {
  padding: 0.25em 0.75em 0.375em;
  line-height: 1;
  font-size: 0.875em;
  border-radius: 9999px;
  background-color: #f5f5f5;
  text-align: center;
  vertical-align: middle;
  display: inline-block;
}

/** ***************************************************************************
 * リスト
 * ************************************************************************* */

:where([class*="list-style"]) + * {
  margin-top: 1.125rem;
}

* + :where([class*="list-style"]) + * {
  margin-top: 1.125rem;
}

@media screen and (min-width:737px) {

  :where([class*="list-style"]) + * {
    margin-top:1.5rem;
  }

  * + :where([class*="list-style"]) {
    margin-top:1.5rem;
  }

}

/**
 * 1
 */

.list-style-1 li {
  padding-left: 1em;
  position: relative;
  z-index: 0;
}

.list-style-1 li::before {
  content: '';
  width: 0.5em;
  height: 0.75em;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  z-index: 1;
  top: 0.5em;
  left: 0;
}

.list-style-1 li ~ li {
  margin-top: 0.5em;
}

/**
 * 2
 */

.list-style-2 li {
  padding-left: 1.125em;
  position: relative;
  z-index: 0;
}

.list-style-2 li::before {
  content: '●';
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  font-size: 0.75em;
  position: absolute;
  z-index: 1;
  top: 0.25em;
  left: 0;
}

.list-style-2 li ~ li {
  margin-top: 0.25em;
}

/**
 * 3
 */

.list-style-3 li {
  padding: 0.75em 1.125em 0.875em;
  font-weight: 600;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.list-style-3 li::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #f1f1f1;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.list-style-3 li ~ li {
  margin-top: 15px;
}

/**
 * 4
 */

.list-style-4 {
  counter-reset: number;
  font-weight: 600;
}

.list-style-4 li {
  padding-left: 1.125em;
  counter-increment: number;
  position: relative;
  z-index: 0;
}

.list-style-4 li::before {
  content: counter(number);
  font-size: 1.125em;
  position: absolute;
  z-index: 1;
  top: -0.0625em;
  left: 0;
}

.list-style-4 li ~ li {
  margin-top: 0.5em;
}

body.service-1
.list-style-4 li::before {
  color: var(--accentcolor-service-1);
}

body.service-2
.list-style-4 li::before {
  color: var(--accentcolor-service-2);
}

body.service-3
.list-style-4 li::before {
  color: var(--accentcolor-service-3);
}

body.service-4
.list-style-4 li::before {
  color: var(--accentcolor-service-4);
}

body.service-5
.list-style-4 li::before {
  color: var(--accentcolor-service-5);
}

body.service-6
.list-style-4 li::before {
  color: var(--accentcolor-service-6);
}

body.service-7
.list-style-4 li::before {
  color: var(--accentcolor-service-7);
}

body.service-8
.list-style-4 li::before {
  color: var(--accentcolor-service-8);
}

body.service-9
.list-style-4 li::before {
  color: var(--accentcolor-service-9);
}

/**
 * dl 1
 */

:where(.dl-style-1) dt {
  margin-bottom: 0.75em;
  font-size: 1.25em;
  font-weight: 600;
}

.dl-style-1 dd {
  padding: 0.5em 0.5em 0.625em 1.625em;
  border-top: 1px dotted #999;
  border-bottom: 1px dotted #999;
  position: relative;
  z-index: 0;
}

.dl-style-1 dd ~ dd {
  border-top: none;
}

.dl-style-1 dd::before {
  content: '';
  width: 0.5em;
  height: 0.75em;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  z-index: 1;
  top: 1em;
  left: 0.5em;
}

.dl-style-1 dd:has(a) {
  padding: 0;
}

.dl-style-1 dd:has(a)::before {
  content: none;
}

.dl-style-1 dd a {
  padding: 0.5em 0.5em 0.625em 1.625em;
  color: inherit;
  display: block;
  position: relative;
  z-index: 0;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(0, 0, 0, 0.0);
}

.dl-style-1 dd a:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.dl-style-1 dd a::before {
  content: '';
  width: 0.5em;
  height: 0.75em;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  z-index: 1;
  top: 1em;
  left: 0.5em;
}

/** ***************************************************************************
 * 動画
 * ************************************************************************* */

.movie-style-1 {
  padding-bottom: 56.25%;
  position: relative;
  z-index: 1;
}

.movie-style-1 > * {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

/** ***************************************************************************
 * ボタン
 * ************************************************************************* */

/**
 * 1
 */

.button-style-1 {
  padding: 0.5em 2.5em 0.625em 1.75em;
  color: #fff;
  line-height: 1.5;
  font-size: 1.143em;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-block;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(252, 23, 38, 1.0);
  position: relative;
  z-index: 0;
}

.button-style-1:hover {
  color: #fff;
  background-color: rgba(252, 23, 38, 0.8);
}

.button-style-1::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.3125em);
  right: 1.5em;
}

/**
 * 2
 */

.button-style-2 {
  padding: 0.5em 3em 0.625em 1.75em;
  color: #fff;
  line-height: 1.5;
  font-size: 1.143em;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-block;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  position: relative;
  z-index: 0;
}

.button-style-2:hover {
  color: #fff;
  background-color: rgba(var(--accentcolor-marutsu-1), 0.8);
}

.button-style-2::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.3125em);
  right: 1.5em;
}

/**
 * 3（左にアイコン）
 */

.button-style-3 {
  min-height: 3.625em;
  padding: 0.5em 1.75em;
  color: #fff;
  line-height: 1.4;
  font-size: 1.125em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
}

.button-style-3:hover {
  color: #fff;
  background-color: rgba(var(--accentcolor-marutsu-1), 0.8);
}

.button-style-3 img {
  margin-right: 0.75em;
}

@media screen and (min-width:737px) {

  .button-style-3 {
    font-size: 1.333em;
  }

}

/**
 * 4（左にアイコン）
 */

.button-style-4 {
  min-height: 3.625em;
  padding: 0.5em 1.75em;
  line-height: 1.4;
  font-size: 1.125em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  border: 3px solid rgba(var(--accentcolor-marutsu-1), 1.0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  background-color: rgba(var(--accentcolor-marutsu-1), 0.0);
}

.button-style-4:hover {
  color: #fff;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
}

.button-style-4 img {
  margin-right: 0.75em;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(1) invert(0);
}

.button-style-4:hover img {
  filter: brightness(0) invert(1);
}

@media screen and (min-width:737px) {

  .button-style-4 {
    font-size: 1.333em;
  }

}

/**
 * 5（左にアイコン右に矢印）
 */

.button-style-5 {
  padding: 0.5em 3em 0.625em 1.75em;
  line-height: 1.4;
  font-size: 1.143em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  border: 3px solid rgba(var(--accentcolor-marutsu-1), 1.0);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 0;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  background-color: rgba(var(--accentcolor-marutsu-1), 0.0);
}

.button-style-5:hover {
  color: #fff;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
}

.button-style-5::after {
  content: '';
  width: 0.625em;
  height: 0.625em;
  background: url("../_image/_common/icon-arrow-4.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.3125em);
  right: 1.5em;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(1) invert(0);
}

.button-style-5:hover::after {
  filter: brightness(0) invert(1);
}

.button-style-5 img {
  margin-right: 0.75em;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(1) invert(0);
}

.button-style-5:hover img {
  filter: brightness(0) invert(1);
}

@media screen and (min-width:737px) {

  .button-style-5 {
    font-size: 1.067em;
  }

}

/**
 * PDF ダウンロード 1
 */

.button-style-pdf-1 {
  padding: 0.625em 1.5em 0.75em 65px;
  line-height: 1.5;
  font-size: 1.067em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  border: 2px solid;
  display: inline-block;
  position: relative;
  z-index: 0;
  transition:
    color 0.3s ease-in-out 0.0s,
    border-color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: inherit;
  border-color: #999;
  background-color: rgba(var(--accentcolor-marutsu-1), 0.0);
}

.button-style-pdf-1:hover {
  color: #fff;
  border-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
}

.button-style-pdf-1::before {
  content: '';
  width: 1.5em;
  height: 1.625em;
  background: url("../_image/_common/icon-pdf-1.png") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 0 1px #fff);
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.8125em);
  left: 30px;
}

/**
 * PDF ダウンロード 2
 */

.button-style-pdf-2 {
  min-height: 4.5em;
  padding: 0.5em 50px 0.625em 60px;
  line-height: 1.5;
  font-size: 1.143em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  border: 3px solid rgba(var(--accentcolor-marutsu-1), 1.0);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 0;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  background-color: rgba(var(--accentcolor-marutsu-1), 0.0);
}

.button-style-pdf-2:hover {
  color: #fff;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
}

.button-style-pdf-2::before {
  content: '';
  width: 2em;
  height: 2.125em;
  background: url("../_image/_common/icon-pdf-1.png") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 0 1px #fff);
  position: absolute;
  z-index: 1;
  top: calc(50% - 1.0625em);
  left: 20px;
}

.button-style-pdf-2::after {
  content: '';
  width: 1.375em;
  height: 1.125em;
  background: url("../_image/_common/icon-download-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.5625em);
  right: 17px;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(1) invert(0);
}

.button-style-pdf-2:hover::after {
  filter: brightness(0) invert(1);
}

@media screen and (min-width:737px) {

  .button-style-pdf-2 {
    padding: 0.5em 3em 0.625em 75px;
    font-size: 1.067em;
  }

  .button-style-pdf-2::before {
    left: 30px;
  }

  .button-style-pdf-2::after {
    right: 20px;
  }

}

/**
 * ダウンロード 1
 */

.button-style-download-1 {
  min-width: 15.25em;
  padding: 1em 60px 1em 70px;
  color: #fff;
  line-height: 1;
  font-size: 1.333em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  display: inline-block;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  position: relative;
  z-index: 0;
}

.button-style-download-1:hover {
  color: #fff;
  background-color: rgba(var(--accentcolor-marutsu-1), 0.8);
}

.button-style-download-1::before {
  content: '';
  width: 1.5em;
  height: 2.125em;
  background: url("../_image/_common/icon-book-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 1em);
  left: 30px;
}

.button-style-download-1::after {
  content: '';
  width: 1.375em;
  height: 1.125em;
  background: url("../_image/_common/icon-download-1.png") 0 0 / 100% 100% no-repeat;
  filter: brightness(0) invert(1);
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.5625em);
  right: 20px;
}

.button-style-download-1 small {
  font-size: 0.7em;
  font-weight: 400;
}

/**
 * 見積り 1
 */

.button-style-mitsumori-1 {
  min-height: 3.625em;
  padding: 0.5em 2.5em 0.5em 70px;
  color: #fff;
  line-height: 1.3;
  font-size: 1.333em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(252, 23, 38, 1.0);
  position: relative;
  z-index: 0;
}

.button-style-mitsumori-1:hover {
  color: #fff;
  background-color: rgba(252, 23, 38, 0.8);
}

.button-style-mitsumori-1::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% - 1em);
  left: 30px;
}

.button-style-mitsumori-1::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.3125em);
  right: 1.25em;
}

.button-style-mitsumori-1 small {
  width: 100%;
  font-size: 0.7em;
  font-weight: 400;
}

/**
 * 見積り 2
 */

.button-style-mitsumori-2 {
  min-height: 3.625em;
  padding: 0.5em 3em 0.5em 80px;
  color: #fff;
  line-height: 1.3;
  font-size: 1.333em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(252, 23, 38, 1.0);
  position: relative;
  z-index: 0;
}

.button-style-mitsumori-2:hover {
  color: #fff;
  background-color: rgba(252, 23, 38, 0.8);
}

.button-style-mitsumori-2::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: 30px;
}

.button-style-mitsumori-2::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.3125em);
  right: 1.5em;
}

/**
 * 図面の描き方
 */

.button-style-drawing-1 {
  min-height: 3.625em;
  padding: 0.5em 3em 0.5em 80px;
  color: #fff;
  line-height: 1.3;
  font-size: 1.333em;
  font-weight: 600;
  text-align: left;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  position: relative;
  z-index: 0;
}

.button-style-drawing-1:hover {
  color: #fff;
  background-color: rgba(var(--accentcolor-marutsu-1), 0.8);
}

.button-style-drawing-1::before {
  content: '';
  width: 1.75em;
  height: 2em;
  background: url("../_image/_common/icon-drawing-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: calc(50% - 1em);
  left: 30px;
}

.button-style-drawing-1::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.3125em);
  right: 1.5em;
}

/** ***************************************************************************
 * テーブル
 * ************************************************************************* */

[class*="table-style"] + * {
  margin-top: 1.125rem;
}

* + [class*="table-style"] + * {
  margin-top: 1.125rem;
}

@media screen and (min-width:737px) {

  [class*="table-style"] + * {
    margin-top:1.5rem;
  }

  * + [class*="table-style"] {
    margin-top:1.5rem;
  }

}

/**
 * 1
 */

.table-style-1 {
  border-collapse: collapse;
}

.table-style-1 th {
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

.table-style-1 td {
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

/**
 * 2
 */

.table-style-2 {
  border-collapse: collapse;
}

.table-style-2 th {
  padding-left: 1em;
  padding-right: 1em;
  font-weight: normal;
  border: 1px solid #cfcfcf;
  background-color: #f5f5f5;
}

.table-style-2 td {
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid #cfcfcf;
}

/**
 * 3
 */

.table-style-3 {
  border-collapse: collapse;
}

.table-style-3 th {
  padding-left: 1em;
  padding-right: 1em;
}

.table-style-3 th[scope="col"] {
  color: #fff;
  border: 1px solid rgb(var(--accentcolor-marutsu-1));
  background-color: rgb(var(--accentcolor-marutsu-1));
}

.table-style-3 th[scope="col"]:not(:last-of-type) {
  border-right-color: #cfcfcf;
}

.table-style-3 th[scope="col"] ~ th[scope="col"] {
  border-left-color: #cfcfcf;
}

.table-style-3 th[scope="row"] {
  font-weight: normal;
  border: 1px solid #cfcfcf;
  background-color: #f5f5f5;
}

.table-style-3 td {
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid #cfcfcf;
}

/**
 * 4
 */

.table-style-4 {
  border-collapse: collapse;
}

.table-style-4 th {
  padding-left: 1em;
  padding-right: 1em;
  font-weight: normal;
  border: 1px solid #cfcfcf;
  background-color: #f5f5f5;
}

.table-style-4 td {
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid #cfcfcf;
}

/* SP表示 */

@media screen and (max-width:736px) {

  .table-style-4 {
    display: block;
  }

  .table-style-4 caption {
    display: block;
  }

  .table-style-4 tbody {
    display: block;
  }

  .table-style-4 tr {
    display: block;
  }

  .table-style-4 tr ~ tr {
    margin-top: -1px;
  }

  .table-style-4 th {
    width: 100%;
    display: block;
  }

  .table-style-4 td {
    width: 100%;
    margin-top: -1px;
    display: block;
  }

}

/** ***************************************************************************
 * タブ機能
 * ************************************************************************* */

.tab-contents {
  position: relative;
  z-index: 0;
}

.tab-target {
  width: 100%;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

.tab-target.active {
  position: static;
  visibility: visible;
  opacity: 1;
  
}

/** ***************************************************************************
 * 横スクロール
 * ************************************************************************* */

/**
 * SP表示
 */

@media screen and (max-width:736px) {

  .side-scrolling {
    padding-bottom: 15px;
    overflow: hidden;
    overflow-x: visible;
  }

  .side-scrolling > * {
    max-width: none;
  }

}

/** ***************************************************************************
 * モーダル
 * ************************************************************************* */

.mfp-bg {
  transition: opacity 0.3s ease-out;
  opacity: 0;
}

.mfp-ready.mfp-bg {
  opacity: 0.8;
}

.mfp-removing.mfp-bg {
  opacity: 0;
}

.mfp-wrap {
  -webkit-overflow-scrolling: touch;
}

.mfp-content {
  transition: all 0.2s ease-in-out; 
  transform: scale(0.8); 
  opacity: 0;
}

.mfp-ready .mfp-content {
  transform: scale(1); 
  opacity: 1;
}

.mfp-removing .mfp-content {
  transform: scale(0.8); 
  opacity: 0;
}

.mfp-container .mfp-content .mfp-close {
  font-size: 50px;
}

/** ***************************************************************************
 * 表示／非表示
 * ************************************************************************* */

@media screen and (max-width:736px) {

  [pc] {
    display: none !important;
  }

}

@media screen and (min-width:737px) {

  [sp] {
    display: none !important;
  }

}
