html {
  scroll-behavior: smooth;
}

a {
  text-decoration: underline;
  color: var(--default-link-color);
}
a:hover {
  text-decoration: none;
}

.body {
  font-family:
    'ヒラギノ角ゴ Pro W3', 'Open Sans', Arial, 'Hiragino Kaku Gothic Pro',
    'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', Helvetica, Verdana, sans-serif;
  color: var(--default-txt-color);
  background: var(--default-bg-color);
  max-width: 100vw;
  overflow: hidden;
}

.wrap {
  position: relative;
  z-index: 1;
}

.text {
  font-size: 16px;
  line-height: 1.8;
}
.em {
  color: var(--em-txt-color);
}
.em-strong {
  color: var(--em-strong-txt-color);
}
.sp-only {
  display: none;
}

.link-blank-icon {
  height: 1em;
  margin: -3px 0 0 5px;
  vertical-align: middle;
  display: inline-block;
  fill: var(--default-link-color);
}

.copyright {
  font-family: Verdana, 'Droid Sans', 'メイリオ', sans-serif;
}

/**
  * 背景の三角
  */
.bg-arrow {
  position: relative;
  z-index: 0;
}
.bg-arrow::before {
  content: '';
  width: 100%;
  height: 201px;
  display: block;
  clip-path: polygon(0 0, 50% calc(100% - 1px), 100% 0, 100% 100%, 0 100%);
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: -1;
}

/**
  * contents 横幅
  */
.contents {
  max-width: var(--default-full-size);
  margin: 0 auto;
}

/**
  * .title 吹き出し
  */
.title {
  line-height: 1.3;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
}
.title-small {
  font-size: 34px;
}
.title-big {
  font-size: 64px;
}

/**
  * .bubble 吹き出し
  */
.bubble {
  display: inline-flex;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  height: 48px;
  border: 2px solid var(--primary-color);
  border-radius: 24px;
  color: var(--primary-color);
  background-color: var(--contents-bg-color);
  font-weight: bold;
  font-size: 26px;
}
.bubble::before,
.bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  width: 12px;
  height: 7px;
}
.bubble::before {
  bottom: -7px;
  background-color: var(--primary-color);
}
.bubble::after {
  bottom: -4px;
  background-color: var(--contents-bg-color);
}

/**
  * .line テキスト下線
  */
.line {
  background: linear-gradient(transparent 60%, var(--em-txt-under-color) 0%);
  display: inline;
}

/**
  * .contact フォームボタン
  * parent: body
  */
.contact {
  padding: 50px var(--space-default-size);
  text-align: center;
  background-image: radial-gradient(
    circle at -20% -40%,
    rgba(51, 176, 215, 1) 20%,
    rgba(30, 50, 130, 1) 60%
  );
  color: var(--primary-txt-color);
}
.contact-links {
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 0;
}
.contact-links.contact-links-count2 {
  gap: 15px;
}
.contact-link {
  width: 100%;
  max-width: 880px;
  height: 132px;
  margin: 0;
  padding: 5px 1% 0 0;
  font-size: 38px;
  line-height: 1.3;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: var(--contact-txt-color);
  border-radius: 8px;
  background: var(--contact-bg-color);
  /*box-shadow: 0 10px var(--contact-shadow-color);*/
  border: 6px solid #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-link-other {
  background: var(--contact-txt-color);
  color: var(--primary-color);
  box-shadow: 0 10px var(--primary-shadow-color);
}
.contact-link::before {
  content: '';
  width: 15px;
  height: 15px;
  margin-top: -5px;
  border: solid var(--contact-txt-color);
  border-width: 3px 3px 0 0;
  display: block;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: rotate(45deg);
}
.contact-link-other::before {
  border-color: var(--primary-color);
}
.contact-link::after {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: #fff;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 1;
}
.contact-link:hover::after {
  opacity: 0.2;
}
.contact-links-count2 .contact-link::before {
  right: 10%;
}
.contact-links-count2 .contact-link {
  width: 55.6%;
  max-width: 540px;
}
.contact-links-count2 .contact-link-other {
  width: 41.81%;
  max-width: 440px;
}
.contact-link-icon {
  width: 130px;
  height: 130px;
  line-height: 1.1;
  font-size: 30px;
  color: var(--contact-icon-txt-color);
  border-radius: 65px;
  background: var(--contact-icon-bg-color);
  display: block;
  position: absolute;
  left: -40px;
  top: -30px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.contact-link-icon-mini {
  font-size: 24px;
}
.contact-link-comment {
  font-size: 18px;
}
.contact-link-big {
  font-size: 42px;
}
.contact-tel-text {
  line-height: 1.6;
  font-size: 20px;
  vertical-align: middle;
}
.contact-link-text-mini {
  font-size: 30px;
}
.contact-tel {
  font-size: 50px;
  margin-bottom: 10px;
  vertical-align: middle;
  color: var(--primary-txt-color);
  text-decoration: none;
  font-family:
    Century Gothic,
    sans-serif;
  display: inline-block;
  pointer-events: none;
}
.contact-tel-icon {
  margin: 0 10px 0 15px;
  display: inline-block;
  fill: var(--primary-txt-color);
}
.contact-time,
.contact-holiday {
  line-height: 1.4;
  font-size: 15px;
  display: inline-block;
}

/**
  * .header-menu ヘッダーメニュー
  * parent: page-header
  */
.body-header-menu-open {
  height: 100%;
}
.header-menu-button {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: var(--primary-txt-color) url('/img/ico_header_01.svg') no-repeat
    50% 50%;
  position: absolute;
  position: fixed;
  right: var(--space-default-size);
  top: min(2.5vw, 16px);
  cursor: pointer;
  z-index: 2;
  opacity: 0;
}
.header-menu-button-close {
  background-image: url('/img/ico_header_02.svg');
}
.header-menu-button.active {
  opacity: 1;
}
.header-menu {
  width: 100%;
  height: 100%;
  padding: 40px var(--space-default-size);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(51, 51, 51, 0.75);
  position: absolute;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9998;
  overflow-y: auto;
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}
.header-menu.active {
  opacity: 1;
  pointer-events: auto;
}
.header-menu-links {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.header-menu-link-wrap {
  width: 50%;
  margin-top: 45px;
  text-align: center;
}
.header-menu-link {
  color: #fff;
  text-decoration: none;
}
.header-menu-link:hover {
  opacity: 0.7;
}
.header-menu-mails.contact-links {
  margin: 45px auto 0;
}
.header-menu-mails.contact-link-count2 {
  margin: 45px auto 0;
}

/**
   * header
   * parent: body
   */
.page-header {
  background-color: var(--header-bg-color);
  height: 72px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 6000;
}

.page-header-inner {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100%;
}

/**
  * logo-link ヘッダーロゴ
  * parent: page-header
  */
.logo-link {
  height: 40px;
  margin: 13px 10px 19px 0;
  padding: 0 0 0 var(--space-default-size);
  display: flex;
  align-items: center;
  z-index: 2;
}
.logo-link:hover {
  opacity: 0.7;
}
.logo-img {
  width: auto;
  height: 100%;
  display: block;
}

/**
  * .header-links ヘッダーメニュー
  * parent: page-header
  */
.header-links {
  height: 100%;
  margin-left: auto;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 3;
}
.header-link {
  color: var(--default-txt-color);
  text-decoration: none;
  display: block;
  display: flex;
  order: 0;
}
.header-link:hover {
  opacity: 0.7;
}
.header-link::before {
  content: '|';
  margin-right: 8px;
}
.header-link-important {
  height: 100%;
  margin-left: 10px;
  padding: 0 calc(30px - 0.1em) 0 30px;
  letter-spacing: 0.1em;
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-txt-color);
  background: var(--contact-bg-color);
  align-items: center;
  order: 1;
  position: relative;
}
.header-link-important::before {
  display: none;
}
.header-link-important:hover {
  opacity: 1;
}
.header-link-important:hover::before {
  content: '';
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.2;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.header-link:first-child::before {
  content: '';
  margin-right: 0;
}

/**
  * hero ヘッダー画像
  * parent: body
  */
.hero {
  /*height: 84.39vw;*/
  height: 100vh;
  padding-top: 72px;
  max-height: 937px;
  min-height: 600px;
  background: rgba(51, 176, 215, 0.35);
  position: relative;
  z-index: 1;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.hero-bg-sp {
  display: none;
}
.page-contents {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-title {
  margin: 0 min(8.53vh, 80px);
}
.page-title-img {
  height: min(47.27vh, 443px);
  min-height: 283px;
  object-fit: contain;
}
.page-title-img-sp {
  display: none;
}
.page-contents-side {
  left: 50%;
  transform: translate(0%, -50%);
}

/**
   * contact-links ヘッダー ボタン
   * parent: page-header
   */
.page-contact-links {
  margin: min(6.4vh, 60px) 0 0 150px;
  width: 570px;
  height: 128px;
  margin-left: 150px;
}
.page-contact-links-count2 {
  gap: 15px;
}
.page-contact-link {
  height: 128px;
  border: 4px solid #fff;
}
.page-contact-links .contact-link-icon {
  left: -70px;
  top: -45px;
}
.page-contact-links .contact-link-comment {
  letter-spacing: 0.05em;
}
.page-contact-links-count2 .page-contact-link {
  max-width: 540px;
  width: 52.78%;
}
.page-contact-links-count2 .page-contact-link-other {
  max-width: 440px;
  width: 44.44%;
}

/**
   * page-footer フッター
   * parent: body
   */
.page-footer {
  padding: 30px 0;
  font-size: 16px;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--primary-txt-color);
}

/**
  * worries お悩み
  * parent: worries
  */
.worries {
  position: relative;
  z-index: 1;
}
.worries-wrap {
  background: #dfe0e0 url('/img/bg_worries_02.png') repeat-x 50% 0 / 50px 800px;
}
.worries-wrap::before {
  height: 250px;
  background: var(--default-bg-color);
  clip-path: polygon(0 0, 50% calc(100% - 50px), 100% 0, 100% 100%, 0 100%);
}
.worries-box {
  padding-top: 80px;
  position: relative;
}
/*.worries-box::before {
    height: 300px;
    bottom: -300px;
    clip-path: polygon(0 100px, 50% 100%, 100% 100px, 100% 100%, 0 100%);
    background: var(--default-bg-color);
    z-index: 1;
  }
  .worries-box::after {
    content: '';
    width: 100%;
    height: 300px;
    background: var(--worries-primary-color);
    display: block;
    position: absolute;
    bottom: -300px;
    left: 0;
    z-index: -2;
  }*/
.worries-img-wrap {
  height: calc(100% + 200px);
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
}
.worries-img {
  width: auto;
  height: 100%;
  object-fit: cover;
}
.worries-title {
  font-size: 50px;
  font-weight: bold;
  text-shadow: 0 0 20px #fff;
  position: relative;
  z-index: 2;
}
.worries-title-big {
  font-size: 64px;
}
.worries-title-bg {
  margin: 0 5px;
  padding: 25px 0 5px 0;
  text-shadow: none;
  text-align: center;
  color: #fff;
  display: inline-block;
  width: 219px;
  height: 97px;
  line-height: 67px;
  position: relative;
}
.worries-title-bg-svg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}
.worries-title-min {
  display: inline-block;
  line-height: 1.3;
}
.worries-list-wrap {
  width: 100%;
  position: relative;
  z-index: 1;
}
.worries-list {
  padding: 40px 0 65px;
  line-height: 1.4;
  font-size: 26px;
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
}
.worries-list-item {
  display: grid;
  grid-template-columns: 27.38% auto;
  grid-template-rows: 100%;
  align-items: center;
  font-weight: bold;
}
.worries-list-item,
.worries-list-item-bg {
  width: 420px;
  height: 151px;
}
.worries-list-item::before {
  content: '';
  width: 100%;
  height: 62px;
  margin-top: -10px;
  background: url('../img/ico_worries_01.png') no-repeat 50% 0 / contain;
  display: block;
  grid-column: 1 / 2;
  grid-row: 1;
}
.worries-list-item-bg {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.1));
  z-index: -1;
  grid-column: 1 / 2;
  grid-row: 1;
}
.worries-resolut {
  padding-bottom: 100px;
}
.worries-resolut::after {
  content: '';
  background: var(--worries-primary-color);
  display: block;
}
.worries-resolut-text {
  padding: 30px 0 25px;
  font-size: min(4.1vw, 42px);
  font-weight: bold;
  display: block;
  position: relative;
}

/**
   * sliding お悩み
   * parent: worries
   */
.sliding {
  position: relative;
  white-space: nowrap;
  font-size: min(4.76vw, 50px);
  font-weight: bold;
  padding: 25px 0 15px;
  right: 100%;
  transition:
    right 0.3s ease-in,
    left 0.3s ease-in;
}
.sliding-big {
  font-size: 1.44em;
}
.l2r {
  text-align: left;
  background-color: var(--primary-color);
  color: var(--primary-txt-color);
  clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
  z-index: 10;
  padding-left: calc(50% - 540px);
  width: calc((50% - 540px) + 950px);
  left: -100%;
}
.l2r.show {
  left: 0;
}
.r2l {
  text-align: right;
  top: -15px;
  background-color: var(--secondary-color);
  color: var(--secondary-txt-color);
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 9;
  padding-right: calc(50% - 540px);
  width: calc(50% - 540px + 700px);
  margin-left: auto;
  right: -100%;
}
.r2l.show {
  right: 0;
}

/**
   * reason 〇つの理由
   * parent: worries
   */
.reason {
  padding-top: 1px;
}
.reason-header {
  margin: 30px 15px 130px;
  text-align: center;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reason-wrap {
  padding: 0 5px;
  line-height: 1;
  font-size: 52px;
  display: block;
}
.reason-num {
  font-size: 90px;
}
.reason-big {
  font-size: 46px;
}
.reason-item {
  margin-bottom: 8px;
  padding-bottom: 145px;
  display: grid;
  grid-template-rows: 155px 90px;
  grid-template-columns: 1fr 90px 1fr;
  background: var(--reason-primary-color);
  position: relative;
}
.reason-item:nth-child(2n) {
  background: var(--reason-secondary-color);
}
.reason-item:last-child {
  padding-bottom: 75px;
  margin-bottom: 0;
}
.reason-img-wrap {
  height: 280px;
  margin-top: -80px;
  grid-column-end: span 3;
}
.reason-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.reason-index {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  font-size: 15px;
  text-indent: 0.6em;
  letter-spacing: 0.6em;
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
}
.reason-index::before {
  content: '';
  position: absolute;
  background-color: #222;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
}
.reason-index::after {
  content: '';
  position: absolute;
  background-color: #2d2d2d;
  width: 100%;
  height: 100%;
  clip-path: polygon(
    calc(100% - 1px) 0,
    100% 0,
    100% 100%,
    0 100%,
    0 calc(100% - 1px)
  );
  z-index: -1;
}
.reason-index-number {
  padding-top: 5px;
  font-size: 30px;
  font-weight: bold;
  color: #ffce3e;
}
.reason-title {
  line-height: 1.4;
  margin-top: 25px;
  color: var(--primary-color);
  font-size: 26px;
  font-weight: bold;
  grid-column-end: span 3;
  text-align: center;
}
.reason-title-small {
  font-size: 0.8em;
}
.reason-description {
  margin-top: 25px;
  grid-column-end: span 3;
  font-weight: bold;
}

/**
  * notfail 〇〇をご提案
  * parent: worries
  */
.notfail {
  text-align: center;
  font-size: 50px;
  font-weight: bold;
}
.notfail {
  line-height: 1.8;
  padding: 72px 0 48px;
  position: relative;
  z-index: 1;
}
.notfail-notice,
.notfail-division {
  display: inline-block;
}
.notfail-notice {
  position: relative;
  text-emphasis: filled;
}
.notfail::before {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(230, 230, 230, 0) 0%,
    rgba(230, 230, 230, 1) 100%
  );
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.notfail-notice::before {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: var(--em-txt-color);
  position: absolute;
  bottom: 0.3em;
  left: 0;
}

/**
  * thats 〇〇をご提案 → だから
  * parent: worries
  */
.thats {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  z-index: 1;
  position: relative;
}
.thats-item,
.thats-text {
  text-align: center;
  font-size: 50px;
  font-weight: bold;
}
.thats-item {
  color: #fff;
  display: block;
  width: 1.5em;
  margin: 0 -10px;
  position: relative;
  height: 1.5em;
  line-height: 1.4;
  padding-top: 0.1em;
}
.thats-item::before {
  content: '';
  height: 1.5em;
  width: 1.5em;
  background: #000;
  border-radius: 100%;
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.thats-text {
  margin-top: 25px;
  padding-bottom: 90px;
  line-height: 1.3;
}
.thats-division {
  display: inline-block;
}

/**
   * consulting
   * parent: body
   */
.consulting-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

/**
  * plan 〇〇プラン
  * parent: plan
  */
.plan {
  padding-bottom: 100px;
  background: var(--plan-primary-color) url('/img/bg_plan_01.jpg') no-repeat
    100% 0 / 1620px auto;
}
.plan.bg-arrow::before {
  background: var(--default-bg-color);
}
.plan-title {
  padding: 90px 0 40px;
  text-shadow: 0 0 20px #fff;
}
.plan-title,
.plan-title-big {
  font-size: 50px;
}

.plan-list {
  margin-bottom: 75px;
  display: grid;
  gap: 24px;
}
.plan-list-line2 {
  grid-template-columns: 1fr 1fr;
}
.plan-list-line3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.plan-item {
  width: 100%;
  padding: 25px 30px;
  background: var(--plan-secondary-color);
}
.plan-list-icon .plan-item-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.plan-item-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto;
}
.plan-item-title {
  padding: 20px 0 15px;
  text-align: center;
  color: var(--primary-color);
  font-size: 26px;
  line-height: 1.3;
  font-weight: bold;
}

.solution-wrap {
  margin-bottom: 45px;
  line-height: 1.3;
  text-align: center;
}
.solution {
  padding: 0 1.5em;
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.solution::before,
.solution::after {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}
.solution::before {
  content: '＼';
  left: 0;
}
.solution::after {
  content: '／';
  right: 0;
}
.solution-division {
  display: inline-block;
  position: relative;
}

/**
  * staff
  * parent: plan
  */
.staffs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.staff {
  padding-right: 30px;
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-auto-flow: column;
  gap: 15px 30px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
.staff-img {
  grid-row-end: span 5;
  width: 100%;
  height: auto;
}
.staff-img-sp {
  display: none;
}
.staff-title {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
  grid-row: 2 / 3;
}
.staff-text-em {
  font-weight: bold;
}
.staff-name {
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--default-border-color);
}

/**
  * flow 〇〇の流れ
  * parent: flow
  */
.flow {
  padding-bottom: 180px;
}
.flow.bg-arrow::before {
  background: #e6e6e6;
}
.flow-title {
  padding: 85px 0 50px;
}
.flow-items-wrap {
  gap: 16px min(6.48vw, 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
}
.flow-items {
  padding-bottom: 180px;
  position: relative;
}
.flow-items-left {
  grid-column: 1 / 2;
}
.flow-items-right {
  grid-column: 2 / 3;
}
.flow-items-1 {
  grid-row: 1;
}
.flow-items-2 {
  grid-row: 2;
}
.flow-items-3 {
  grid-row: 3;
}
.flow-items-4 {
  grid-row: 4;
}
.flow-items-5 {
  grid-row: 5;
}
.flow-items-6 {
  grid-row: 6;
}
.flow-items-7 {
  grid-row: 7;
}
.flow-items-8 {
  grid-row: 8;
}
.flow-items-9 {
  grid-row: 9;
}
.flow-items-10 {
  grid-row: 10;
}
.flow-items-11 {
  grid-row: 11;
}
.flow-items-12 {
  grid-row: 12;
}
.flow-items-13 {
  grid-row: 13;
}
.flow-items-14 {
  grid-row: 14;
}
.flow-items-text-arrow {
  width: 8px;
  min-height: 32px;
  margin: 0 auto 25px;
  background: #d2d6e6;
  display: block;
  position: relative;
  justify-self: center;
}
.flow-items-text-arrow::before {
  content: '';
  border: solid transparent;
  border-width: 25px 14px 0;
  border-top-color: #d2d6e6;
  display: block;
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translate(-50%, 0);
}
.flow-items-text-arrow.flow-items-left {
  grid-row: 13 / 14;
}
.flow-items-text-arrow.flow-items-right {
  grid-row: 9 / 14;
}
.flow-items-title {
  height: 60px;
  border-radius: 30px;
  padding: 0 40px;
  margin-bottom: 10px;
  justify-self: center;
  left: auto;
  transform: none;
  white-space: nowrap;
}
.flow-items-title-small {
  font-size: 18px;
}
.flow-items-text.em-strong {
  margin-bottom: 10px;
  font-weight: bold;
}
.flow-items-text-finish {
  grid-column: 1 / 3;
  border: 4px solid var(--primary-color);
  background: #fff;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  padding: 23px 0;
}
.flow-items-text-finish-2nd {
  display: none;
}
.flow-item {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: 70px;
  grid-auto-flow: column;
  gap: 0 30px;
  position: relative;
  border-top: 3px solid var(--primary-color);
  align-items: center;
}
.flow-item-1 {
  margin-top: 10px;
}
.flow-item-index {
  height: 71px;
  margin-top: -1px;
  grid-row-end: span 3;
  background: var(--primary-color);
  color: #fff;
  clip-path: polygon(
    0 0,
    100% 0%,
    100% calc(100% - 20px),
    50% 100%,
    0 calc(100% - 20px)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flow-item-index-number {
  font-size: 26px;
  font-weight: bold;
  margin-top: -5px;
  font-family:
    Century Gothic,
    sans-serif;
}
.flow-item-title {
  font-weight: bold;
  grid-column: 2;
  font-size: 26px;
  line-height: 1.3;
}
.flow-item-texts {
  grid-column: 2;
  line-height: 1.8;
  display: grid;
  gap: 15px;
}
.flow-item-text {
  word-break: break-all;
}

/**
  * voice お客様の声
  * parent: voice
  */
.voice {
  position: relative;
  min-height: 550px;
  background: var(--voice-tertiary-color);
  padding-top: 70px;
  z-index: -1;
}
.voice::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--voice-secondary-color);
  position: absolute;
  left: 0;
  top: 0;
  clip-path: polygon(
    0 15px,
    100% 15px,
    100% calc(100% - 200px),
    50% 100%,
    0 calc(100% - 200px)
  );
  z-index: -1;
}

.voice-bubble {
  margin-bottom: 28px;
  color: var(--voice-primary-color);
  border-color: var(--voice-primary-color);
}
.voice-bubble::before {
  background-color: var(--voice-primary-color);
}

.voice-title {
  padding: 0 var(--space-default-size);
  position: relative;
}
.voice-title-line {
  position: relative;
}
.voice-title-line::before {
  content: '';
  width: 195px;
  height: 116px;
  background: url('../img/img_mail_01.svg') no-repeat 0 0;
  display: block;
  position: absolute;
  right: -140px;
  top: 20px;
}
.voice-title .title-small {
  display: block;
}
.voice-title .title-small:first-child {
  padding-bottom: 15px;
}
.voice-title .title-small:last-child {
  padding-top: 20px;
}
.voice-text {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 10px;
  padding: 0 var(--space-default-size);
  text-align: center;
}
.voice-wrap.swiper {
  padding: 50px calc(50% - 540px) 155px;
  /*padding: 50px 0 155px;*/
}
.voice-wrap .swiper-slide {
  height: auto;
}
.voice-wrap .swiper-slide-active .voice-item > *,
.voice-wrap .swiper-slide-next .voice-item > * {
  opacity: 1;
}
.voice-wrap .swiper-button-next,
.voice-wrap .swiper-button-prev {
  color: var(--default-txt-color);
}
.voice-wrap .swiper-pagination {
  display: none;
}
.voice-item {
  width: 524px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding-bottom: 25px;
  border-radius: 5px;
  background: #fff;
  position: relative;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
}
.voice-item > * {
  opacity: 0.5;
}
.voice-item-icon {
  width: 90px;
  height: 90px;
  text-align: center;
  border-radius: 45px;
  color: #fff;
  background: #333;
  position: absolute;
  left: -20px;
  top: -20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.voice-item-icon::before {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  border: solid transparent;
  border-width: 0 12px 21px;
  border-bottom-color: #333;
  transform: rotate(135deg);
}
.voice-item-icon-text {
  font-size: 13px;
  letter-spacing: 0.05em;
}
.voice-item-icon-count {
  margin: 5px 0 -5px;
  font-size: 26px;
  font-weight: bold;
}
.voice-item-imgs {
  width: 100%;
  height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}
.voice-item-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.voice-item-noimg {
  opacity: 0.08;
}
.voice-item-noimg-text {
  margin: 10px 0 -5px;
  font-size: 17.5px;
  font-weight: bold;
  opacity: 0.08;
  letter-spacing: -0.069em;
}
.voice-item-title,
.voice-item-detail,
.voice-item-text {
  margin: 15px 30px 0;
}
.voice-item-detail,
.voice-item-text {
  line-height: 1.8;
}
.voice-item-detail {
  margin-top: 5px;
}
.voice-item-title {
  margin-top: 25px;
  line-height: 1.4;
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-color);
}
.voice-item-text {
  padding-top: 15px;
  border-top: 1px solid var(--default-border-color);
}
.voice-item-text .em {
  font-weight: bold;
}

/**
    * faq よくある質問
    * parent: faq
    */
.faq {
  padding-top: 95px;
  background: var(--primary-bg-color);
}
.faq.bg-arrow::before {
  background: var(--default-bg-color);
}

.faq-title {
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  position: relative;
}
.faq-title::before,
.faq-title::after,
.faq-title-small::before,
.faq-title-small::after {
  content: '';
  display: block;
  position: absolute;
  right: 50%;
  z-index: -1;
}
.faq-title::before,
.faq-title-small::before {
  border-radius: 48%;
}
.faq-title::after,
.faq-title-small::after {
  border: solid transparent;
}
.faq-title::before,
.faq-title::after {
  margin-right: 170px;
}
.faq-title::before {
  width: 118px;
  height: 96px;
  background: #fff;
  top: 0;
}
.faq-title-small::before {
  width: 60px;
  height: 49px;
  margin-right: 245px;
  background: #d2e6ec;
  top: 55px;
}
.faq-title::after {
  border-width: 0 18px 30px;
  transform: rotate(5deg);
  border-bottom-color: #fff;
  top: 48px;
}
.faq-title-small::after {
  margin-right: 290px;
  border-width: 0 9px 16px;
  transform: rotate(-5deg);
  border-bottom-color: #d2e6ec;
  top: 80px;
}

.faq-items {
  padding-bottom: 150px;
}
.faq-item {
  padding: 0;
  margin-bottom: 45px;
  background: #fff;
}

.faq-item-title {
  padding: 30px 30px 30px 95px;
  min-height: 38px;
  line-height: 1.4;
  font-size: 26px;
  font-weight: bold;
  position: relative;
}
.faq-item-index {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', sans-serif;
  color: #fff;
  display: block;
  position: absolute;
  left: 30px;
  top: -2px;
}
.faq-item-q-index {
  top: 28px;
  background: var(--primary-color);
}
.faq-item-a-index {
  background: var(--faq-primary-color);
  position: static;
}
.faq-item-q {
  color: var(--primary-color);
  cursor: pointer;
}

.faq-item-a {
  display: grid;
  grid-template-columns: 95px auto;
  pointer-events: auto;
  overflow: hidden;
}
.faq-item-a-title {
  height: 100%;
  padding: 0 0 0 30px;
}
.faq-item-a-texts {
  padding-bottom: 30px;
}
.faq-item-a-text {
  padding-right: 30px;
  line-height: 1.8;
}
.faq-click-target {
  padding-right: 50px;
}
.faq-click-target::before {
  content: '';
  width: 10px;
  height: 10px;
  border: solid #1a1a1a;
  border-width: 2px 2px 0 0;
  display: block;
  position: absolute;
  right: 30px;
  top: calc(50% - 8px);
  margin-top: 5px;
  transform: rotate(-45deg);
}

.faq-view-target,
.faq-view-target * {
  transition: all 0.5s ease;
  overflow: hidden;
}
.faq-view-target {
  height: 100%;
  opacity: 1;
}
.faq-view-target.passive.faq-item-a {
  height: 0;
  opacity: 0;
}
.faq-view-target.passive .faq-item-a-title,
.faq-view-target.passive .faq-item-a-index {
  height: 0;
  min-height: auto;
  margin-top: -1em;
}
.faq-view-target.passive .faq-item-a-texts,
.faq-view-target.passive .faq-item-a-text {
  line-height: 0;
  padding-bottom: 0;
  margin-top: -1em;
}

.faq-click-target.passive::before,
.passive .faq-click-target::before {
  margin: 0;
  transform: rotate(135deg);
}

/**
  * form フォーム
  * parent: form
  */
.form {
  background: var(--primary-bg-color);
}
.form-header {
  padding: 95px 0 45px;
}
.form-header .title-small {
  display: inline-block;
}
.form-header-text {
  padding: 40px 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}
.form-wrap {
  padding-bottom: 80px;
  background: #fff;
}
.form-title {
  padding: 20px 15px;
  line-height: 1.4;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-txt-color);
  background: var(--primary-color);
}
.form-title-block {
  display: inline-block;
}
.form-container {
  margin: 0 30px;
  padding: 30px 0 25px;
  border-top: 1px solid var(--default-border-color);
  display: grid;
  grid-template-columns: 220px 100px auto;
  grid-template-rows: auto;
  position: relative;
}
.form-text + .form-container {
  border-top: none;
}
.form-container::after {
  content: '任意';
  width: 40px;
  height: 20px;
  margin-top: 12px;
  text-align: center;
  text-indent: 1px;
  color: var(--form-required-txt-color);
  background: var(--form-required-none-color);
  display: block;
  line-height: 20px;
  letter-spacing: 2px;
  font-size: 12px;
  border-radius: 3px;
  grid-column: 2 / 3;
  grid-row: 1;
}
.form-container.required::after {
  content: '必須';
  background: var(--form-required-color);
}
.form-name-wrap {
  display: contents;
}
.form-name {
  line-height: 45px;
  font-size: 16px;
  font-weight: bold;
  grid-column: 1 / 2;
  grid-row: 1;
}
.form-item {
  font-size: 13px;
  grid-column: 3 / 4;
}
.form-text {
  padding: 20px var(--space-default-size);
  text-align: center;
  line-height: 1.3;
  font-size: 26px;
  font-weight: bold;
  background: #e6e6e6;
}
.form-input {
  width: 100%;
  height: 45px;
  line-height: 43px;
  margin: 0 0 5px;
  padding: 0 15px;
  vertical-align: middle;
  font-family: inherit;
  font-size: 16px;
  color: var(--default-txt-color);
  border: 1px solid #ddd;
  border-radius: 3px;
  background: var(--contents-bg-color);
  display: inline-block;
  position: relative;
}
.form-input::placeholder {
  color: #a9a9a9;
}
.form-input[type='number'] {
  padding-right: 0;
}
.required .form-input {
  background: var(--form-required-contents-color);
}
.required .form-radio,
.required .form-checkbox {
  background: var(--contents-bg-color);
}
.form-input-important {
  height: 55px;
  line-height: 53px;
  font-size: 20px;
}
.form-textarea {
  height: 150px;
  min-height: 150px;
  line-height: 1.8;
  padding-top: 10px;
  resize: vertical;
}
.form-radio,
.form-checkbox {
  display: none;
  cursor: pointer;
  background: var(--contents-bg-color);
}
.form-input.form-radio,
.form-input.form-checkbox {
  padding-left: 10px;
  display: inline-block;
}
.form-input.form-radio::before,
.form-input.form-checkbox::before {
  content: '';
  width: 23px;
  height: 23px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.form-input.form-radio::before {
  border: 1px solid #e2e2e2;
  border-radius: 100%;
  background: #fff;
}
.form-input.form-checkbox::before {
  border-radius: 3px;
  background: #dedede;
}
.form-radio[type='radio']:checked + .form-radio::before,
.form-checkbox[type='checkbox']:checked + .form-checkbox::before {
  background: var(--form-check-color);
}
.form-radio[type='radio']:checked + .form-radio::before {
  box-shadow: 0 0 0 5px #fff inset;
}
.form-checkbox[type='checkbox']:checked + .form-checkbox::after {
  content: '';
  width: 14px;
  height: 8px;
  margin-top: -5px;
  border: solid;
  border-width: 0 0 2px 2px;
  border-color: transparent transparent #fff #fff;
  border-radius: 2px;
  display: block;
  position: absolute;
  transform: skew(-5deg) rotate(-50deg);
  left: 15px;
  top: 48%;
}
.form-input:disabled,
.form-input[type='radio']:disabled + .form-input,
.form-input[type='checkbox']:disabled + .form-input {
  background: #dedede;
}

.form-item-table {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-bottom: 5px;
  grid-gap: 5px 0;
}
.form-item-table-title,
.form-item-table-item {
  white-space: nowrap;
}
.form-item-table-title {
  line-height: 45px;
}
.form-item-table .form-input,
.form-item-list .form-input {
  margin-bottom: 0;
}

/* 確認画面の表示用 */
.form-input-title-wrap {
  height: 0;
  position: relative;
  overflow: hidden;
}
.form-input-title {
  position: absolute;
  left: -100%;
  top: -100%;
}

.form-item-list {
  width: 100%;
  margin-bottom: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.form-item-table .form-item-list {
  margin-bottom: 0;
}
.form-notlinefeed {
  margin-left: 40px;
  display: inline-block;
}
.form-conversion {
  margin-left: 40px;
  display: inline-block;
  color: #333;
  text-decoration: none;
}
.form-conversion::before {
  content: url('/img/icon_form_arrow_01.svg');
  display: inline-block;
  margin-right: 5px;
}
.form-conversion:hover {
  opacity: 0.7;
}
.form-unit {
  margin: 0 10px;
  display: inline-block;
}

.form-inner-text {
  margin: 13px 0 12px;
  line-height: 1.5;
  vertical-align: middle;
}
.form-input + .form-inner-text {
  margin-top: 8px;
}

.form-item-list-item-w100,
.form-input-w100 {
  width: 100px;
}
.form-item-list-item-w140,
.form-input-w140 {
  width: 140px;
}
.form-item-list-item-w200,
.form-input-w200 {
  width: 200px;
}
.form-item-list-item-w270,
.form-input-w270 {
  width: 270px;
}
.form-item-list-item-w320,
.form-input-w320 {
  width: 320px;
}
.form-input-w500 {
  width: 500px;
}
.form-input-w600 {
  width: 600px;
}

.form-privacy {
  margin: 0 30px;
  padding: 50px 0 30px;
  line-height: 1.8;
  font-size: 15px;
  text-align: center;
  border-top: 1px solid var(--default-border-color);
}

.form-submit {
  width: calc(100% - 80px);
  max-width: 576px;
  height: 112px;
  line-height: 112px;
  margin: 0 auto;
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  color: var(--primary-txt-color);
  border-radius: 6px;
  background: var(--contact-bg-color);
  display: block;
  position: relative;
  cursor: pointer;
}
.form-submit:hover {
  opacity: 0.8;
}
.form-submit::before {
  content: '';
  width: 15px;
  height: 15px;
  margin-top: -5px;
  border: solid var(--primary-txt-color);
  border-width: 2px 2px 0 0;
  display: block;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: rotate(45deg);
}

/**
    * aboutus 会社概要
    * parent: aboutus
    */
.aboutus {
  padding-bottom: 75px;
  background: var(--primary-bg-color);
}
.aboutus-title {
  padding: 90px 0 45px;
}
.aboutus-wrap {
  display: flex;
  justify-content: space-between;
  gap: 5.55vw;
}
.aboutus-items {
  display: grid;
  grid-template-columns: 1fr auto;
  flex-basis: auto;
  width: 55.55vw;
  flex-grow: 1;
}
.aboutus-heading,
.aboutus-item {
  padding: 25px 0;
  border-top: 1px solid #e2e2e2;
  line-height: 1.8;
}
.aboutus-heading {
  font-weight: bold;
  padding-right: 30px;
  white-space: nowrap;
  grid-column: 1;
}
.aboutus-item {
  grid-column: 2;
}
.aboutus-heading:first-child,
.aboutus-heading:first-child + .aboutus-item {
  padding-top: 0;
  border-top: 0;
}
.aboutus-item p {
  margin-bottom: 1em;
}
.aboutus-item p:last-child {
  margin-bottom: 0;
}
.aboutus-company-link {
  margin-left: 1em;
  display: inline-block;
}

/* 画像 */
.aboutus-pics {
  display: flex;
  flex-wrap: wrap;
}
.aboutus-pics .aboutus-pic {
  margin-bottom: 10px;
}
.aboutus-pics,
.aboutus-pic {
  max-width: 322px;
  flex-basis: 39.35vw;
}
.aboutus-img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

@media (max-width: 1159px) {
  .contents {
    margin-left: var(--space-default-size);
    margin-right: var(--space-default-size);
  }
  .l2r {
    max-width: 95%;
    padding-left: var(--space-default-size);
  }
  .r2l {
    padding-right: var(--space-default-size);
  }

  /**
    * voice お客様の声
    * parent: voice
    */
  .voice-wrap.swiper {
    padding: 50px calc(100% - 604px) 155px 80px;
  }
  .voice-wrap .swiper-slide-next .voice-item > * {
    opacity: 0.5;
  }
}
@media (max-width: 1024px) {
  /**
    * 背景の三角
    */
  .bg-arrow::before {
    height: 80px;
  }

  /**
    * .title 吹き出し
    */
  .title {
    font-size: 34px;
  }
  .title-small {
    font-size: 28px;
  }
  .title-big {
    font-size: 48px;
  }

  /**
    * .bubble 吹き出し
    */
  .bubble {
    font-size: 18px;
  }

  /**
    * .contact フォームボタン
    * parent: body
    */
  .contact-link,
  .contact-link-big {
    font-size: 30px;
  }
  .contact-links-count2 .contact-link,
  .contact-links-count2 .contact-link-other {
    max-width: 100%;
  }
  .contact-link-comment {
    font-size: 16px;
  }
  .contact-link-icon + .contact-link-text {
    padding-left: 10px;
    display: block;
  }
  .contact-link-text-mini {
    font-size: 20px;
  }
  .contact-links-count2 .contact-link::before {
    right: 5%;
  }

  /**
     * page-header ヘッダー
     * parent: body
     */
  .page-header {
    height: calc(40px + 5vw);
    max-height: 72px;
    margin-bottom: max(calc(-40px - 5vw), -72px);
    z-index: 2;
    position: relative;
  }
  .header-menu-button {
    position: fixed;
  }

  /**
    * logo-link ヘッダーロゴ
    * parent: page-header
    */

  /**
    * .header-links ヘッダーメニュー
    * parent: page-header
    */
  .header-links {
    display: none;
  }

  /**
    * hero ヘッダー画像
    * parent: body
    */
  .hero {
    padding-top: min(calc(40px + 5vw), 72px);
  }
  .hero-bg {
  }
  .page-contents {
    align-items: center;
  }
  .page-title-img {
    width: 100%;
  }

  /**
     * contact-links ヘッダー ボタン
     * parent: page-header
     */
  .page-contact-links {
    height: auto;
    margin-left: 0;
  }
  .page-contact-link {
    height: 12.5vw;
    max-height: 128px;
    min-height: 90px;
    font-size: min(3.75vw, 30px);
  }
  .page-contact-links-count2 {
    gap: 0;
    justify-content: space-between;
  }
  .page-contact-link .contact-link-comment {
    font-size: min(2vw, 16px);
  }

  /**
     * worries お悩み
     * parent: worries
     */
  /*.worries-box::before {
      height: 300px;
      clip-path: polygon(
        0 calc(100% - 150px),
        50% calc(100% - 65px),
        100% calc(100% - 150px),
        100% 100%,
        0 100%
      );
    }*/
  .worries-wrap::before {
    clip-path: polygon(0 0, 50% calc(100% - 50px), 100% 0, 100% 100%, 0 100%);
    height: 130px;
  }
  .worries-img-wrap {
    height: calc(100% + 150px);
  }
  .worries-title {
    font-size: 34px;
  }
  .worries-title-big {
    width: 170px;
    font-size: 48px;
    height: 75px;
    padding: 20px 0 7px;
    line-height: 1;
  }
  .worries-list {
  }
  .worries-list::after {
    width: 76px;
    background-size: 100% auto;
    transform: rotate(-15deg);
    top: -40px;
    right: 40px;
  }
  .worries-resolut-text {
    margin: 0 30px;
    font-size: max(4.1vw, 28px);
  }

  /**
     * notfail 〇〇をご提案
     * parent: worries
     */
  .notfail {
    font-size: 34px;
  }
  .notfail {
    padding: 40px 0 30px;
  }
  .notfail::before {
    height: 200px;
  }
  .notfail-notice,
  .notfail-division {
    line-height: 1.3;
  }
  .notfail-notice::before {
    bottom: 0;
  }

  /**
     * thats 〇〇をご提案 → だから
     * parent: worries
     */
  .thats {
    margin-top: 0;
  }
  .thats-item,
  .thats-text {
    font-size: 34px;
  }
  .thats-item {
    margin: 0 -5px;
  }
  .thats-text {
    padding-bottom: 60px;
  }

  /**
    * plan 〇〇プラン
    * parent: plan
    */
  .plan {
    background-size: 1100px auto;
  }
  .plan-title {
    font-size: 28px;
  }
  .plan-title-big {
    font-size: 34px;
  }
  .plan-list {
    gap: 15px;
  }
  .plan-item-title {
    font-size: 22px;
    line-height: 1.4;
  }
  .plan-list-line3 {
    grid-template-columns: 1fr 1fr;
  }
  .solution-wrap {
    margin-bottom: 30px;
  }
  .solution {
    font-size: 22px;
  }
  .solution::before,
  .solution::after {
    transform: translate(0, -50%) scaleY(2);
  }
  .staff {
    padding: 30px;
    grid-template-columns: 30vw auto;
    grid-template-rows: auto auto auto;
  }
  .staff-img {
    grid-column: 1 / 2;
    grid-row-end: 3 span;
  }
  .staff-title {
    grid-row: 1 / 2;
  }

  .voice::before {
    clip-path: polygon(
      0 15px,
      100% 15px,
      100% calc(100% - 80px),
      50% 100%,
      0 calc(100% - 80px)
    );
  }

  /**
    * flow 〇〇の流れ
    * parent: flow
    */
  .flow-items {
    padding-bottom: 100px;
  }
  .flow-items-title {
    height: 50px;
    font-size: 22px;
    white-space: normal;
    text-align: center;
    display: block;
    text-align: center;
    line-height: 1.2;
    height: auto;
    padding: 10px 40px;
    border-radius: 120px;
  }
  .flow-items-title-small {
    font-size: 16px;
  }
  .flow-item-title {
    font-size: 22px;
  }

  /**
    * voice お客様の声
    * parent: voice
    */
  .voice-title-line {
    position: static;
  }
  .voice-title-line::before {
    width: 71px;
    height: 76px;
    margin-top: 30px;
    background-image: url('../img/img_mail_02.svg');
    right: 40px;
    top: auto;
  }

  /**
    * faq よくある質問
    * parent: faq
    */
  .faq {
    padding-top: 60px;
  }
  .faq-title::before,
  .faq-title::after {
    margin-right: 120px;
  }
  .faq-title::before {
    top: -10px;
  }
  .faq-title::after {
    top: 38px;
  }
  .faq-title-small::before {
    margin-right: 195px;
    top: 45px;
  }
  .faq-title-small::after {
    margin-right: 240px;
    top: 70px;
  }
  .faq-items {
    padding-bottom: 80px;
  }
  .faq-item {
  }
  .faq-item-title {
    font-size: 20px;
    line-height: 1.6;
    min-height: 30px;
  }
  .faq-item-index,
  .faq-view-target.active .faq-item-index {
    width: 30px;
    height: 30px;
    line-height: 30px;
    top: 1px;
  }
  .faq-item-q {
    padding-left: 77px;
  }
  .faq-item-q-index {
    top: 31px;
  }
  .faq-item-a,
  .faq-item-a.faq-view-target.active {
    grid-template-columns: 77px auto;
  }

  /**
    * form フォーム
    * parent: form
    */
  .form-container {
    grid-template-columns: auto 40px;
    grid-template-rows: auto auto;
  }
  .form-container::after {
    margin: auto;
    grid-column: 2;
    grid-row: 1;
  }
  .form-name {
    line-height: 1.8;
  }
  .form-item {
    padding-top: 20px;
    grid-column: span 2;
    grid-row: 2;
  }

  .form-text {
    font-size: 24px;
    padding: 25px var(--space-default-size);
  }

  .form-notlinefeed {
    margin-left: 20px;
  }
  .form-submit::before {
    right: 30px;
  }

  .form-input {
    width: 100%;
  }
  .form-input-w100 {
    max-width: 100px;
  }
  .form-input-w140 {
    max-width: 140px;
  }
  .form-input-w200 {
    max-width: 200px;
  }
  .form-input-w270 {
    max-width: 270px;
  }
  .form-input-w320 {
    max-width: 320px;
  }
  .form-input-w500 {
    max-width: 500px;
  }
  .form-input-w600 {
    max-width: 600px;
  }

  /**
    * aboutus 会社概要
    * parent: aboutus
    */
  .aboutus-items {
    width: 58.33vw;
  }
  .aboutus-pic {
    flex-basis: 36.11vw;
  }
}
@media (max-width: 959px) {
  .worries-list {
    gap: 20px 0;
    font-size: min(2.71vw, 26px);
    justify-content: space-between;
  }
  .worries-list-item,
  .worries-list-item-bg {
    max-width: 420px;
    width: calc(50vw - 40px - 20px);
    max-height: 151px;
    height: 15.5vw;
  }
}
@media (max-width: 799px) {
  /**
    * .contact フォームボタン
    * parent: body
    */
  .contact-link {
    padding: 5px calc(6% + 10px) 0 calc(5% + 10px);
  }
  .contact-links-count2 .contact-link {
    width: 100%;
  }
  .contact-link-icon {
    width: 110px;
    height: 110px;
    font-size: 26px;
  }
  .page-contact-links .contact-link-icon {
    width: 100px;
    height: 100px;
    left: -30px;
  }
  .contact-link-icon-mini {
    font-size: 18px;
  }

  /**
     * contact-links ヘッダー ボタン
     * parent: page-header
     */
  .page-contact-links-count2 .page-contact-link {
    width: 100%;
    max-width: 100%;
  }
  .page-contact-links-count2 .page-contact-link-other {
    margin-top: 20px;
    height: 10vw;
  }
  .page-contact-links-count2 .page-contact-link-other .contact-link-comment {
    display: none;
  }

  .worries-list {
    font-size: 26px;
    padding-bottom: 30px;
  }
  .worries-list-item,
  .worries-list-item-bg {
    width: 420px;
    height: 151px;
  }

  .flow {
    padding-bottom: 0;
  }
  .flow-items-wrap {
    display: flex;
    flex-direction: column;
  }
  .flow-items-text-arrow {
    margin: -15px auto 20px;
  }
  .flow-items-text-finish {
    padding: 12px 0;
    margin-bottom: 60px;
    font-size: 22px;
  }
  .flow-items-text-finish-2nd {
    display: block;
  }
  .solution {
    padding: 0 30px;
  }

  .flow-title {
    padding-top: 60px;
  }
  /**
    * aboutus 会社概要
    * parent: aboutus
    */
  .aboutus-wrap {
    flex-wrap: wrap;
  }
  .aboutus-items,
  .aboutus-pics,
  .aboutus-pic {
    width: 100%;
  }
  .aboutus-pics {
    max-width: none;
    flex-basis: auto;
    justify-content: space-between;
  }
  .aboutus-pic {
    width: calc(50% - 5px);
    flex-basis: auto;
    max-width: 322px;
  }
}
@media (max-width: 749px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline-block;
  }
  .page-contact-links {
    right: 40px;
    width: calc(100% - 80px);
    max-width: 570px;
  }
  .contact-tel {
    pointer-events: auto;
  }
  .reason-wrap {
    margin-top: -10px;
  }
}
@media (max-width: 683px) {
  /**
    * voice お客様の声
    * parent: voice
    */
  .voice-wrap.swiper {
    padding: 50px 35px 155px 15px;
  }
  .voice-item {
    width: 100%;
  }
  .voice-item-imgs {
    height: 148px;
  }
  .voice .swiper-button {
    display: none;
  }
  .voice-wrap .swiper-pagination {
    display: block;
  }
  .voice-wrap .swiper-horizontal > .swiper-pagination-bullets,
  .voice-wrap .swiper-pagination-bullets.swiper-pagination-horizontal,
  .voice-wrap .swiper-pagination-custom,
  .voice-wrap .swiper-pagination-fraction {
    bottom: 100px;
  }
}
@media (max-width: 639px) {
  /**
     * worries お悩み
     * parent: worries
     */
  .worries-title {
    width: 420px;
    margin: 0 auto;
  }
  .worries-img-wrap {
    height: 90%;
    overflow: hidden;
    left: auto;
    width: 80%;
    right: -40px;
  }
  .worries-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .worries-list {
    justify-content: center;
    font-size: min(4.6vw, 26px);
    font-size: min(5.87vw, 26px);
  }
  .worries-list-item,
  .worries-list-item-bg {
    width: calc(100vw - 80px);
    max-width: 420px;
    max-height: 151px;
    height: calc((100vw - 80px) * 0.3595);
  }
  .worries-resolut {
    padding-bottom: 55px;
  }

  /**
     * sliding お悩み
     * parent: worries
     */
  .sliding-wrap {
    display: block;
  }
  .sliding {
    padding: 25px 0;
    font-size: 34px;
    line-height: 1.2;
  }
  .sliding-big {
    font-size: 1.24em;
  }
  .l2r {
    padding-left: var(--space-small-size);
    clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
    width: calc(100% - 15px);
  }
  .r2l {
    padding-right: var(--space-small-size);
    top: -15px;
    width: calc(100% - 15px);
  }
}
@media (max-width: 599px) {
  .contents {
    margin-left: var(--space-small-size);
    margin-right: var(--space-small-size);
  }
  .bg-arrow::before {
    height: 60px;
  }
  /**
    * .contact フォームボタン
    * parent: body
    */
  .contact {
    padding: 30px var(--space-small-size);
  }
  .contact-link {
    height: 90px;
    padding: 4px 0 0;
    border-width: 3px;
  }
  .contact-link::before {
    right: 3%;
  }
  .contact-link-other {
    box-shadow: 0 8px var(--primary-shadow-color);
  }
  .contact-link,
  .contact-link-big {
    font-size: 22px;
  }
  .contact-link-text-mini {
    font-size: min(3.33vw, 20px);
  }
  .contact-link-icon {
    width: 60px;
    height: 60px;
    font-size: 16px;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
  }
  .contact-link-comment {
    font-size: 14px;
  }
  .contact-link-icon-mini {
    font-size: 10px;
  }
  .contact-link-icon + .contact-link-text {
    padding: 0 55px;
  }
  .contact-tel-icon {
    margin-bottom: -0.5vw;
    margin-left: 0;
  }
  .contact-tel {
    font-size: min(11vw, 45px);
  }

  /**
     * .header-menu ヘッダー 開くほうのメニュー
     * parent: body
     */
  .header-menu-link-wrap {
    width: 100%;
  }
  .header-menu {
    padding: 40px 15px;
  }
  .header-menu-button {
    right: 15px;
    top: min(2.5vw, 10px);
  }

  /**
     *
     * parent: body
     */
  .page-header {
    height: 60px;
    margin-bottom: -60px;
    z-index: 2;
  }

  /**
     * logo-link ヘッダーロゴ
     * parent: page-header
     */
  .logo-link {
    height: 28px;
    padding: 0 0 0 var(--space-small-size);
  }

  /**
    * hero ヘッダー画像
    * parent: body
    */
  .hero {
  }
  .page-contents {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .hero-bg-pc,
  .page-title-img-pc {
    display: none;
  }
  .hero-bg-sp,
  .page-title-img-sp {
    display: block;
  }
  .hero-bg {
    object-fit: cover;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    max-width: none;
    max-height: none;
  }
  .page-title {
    margin: 0;
    padding: 0 20px;
  }
  .page-title-img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  /**
     * contact-links ヘッダー ボタン
     * parent: page-header
     */
  .page-contact-links {
    margin: 0 auto;
    padding: 0;
    width: calc(100% - 30px);
    position: static;
  }
  .page-contact-links .contact-link-icon {
    width: 75px;
    height: 75px;
    left: -10px;
    font-size: 18px;
    transform: none;
    top: -50px;
  }
  .page-contact-links .contact-link-icon-mini {
    font-size: 13px;
  }
  .page-contact-links-count2 .page-contact-link-other {
    margin-top: 15px;
  }
  .page-contact-link .contact-link-comment {
    font-size: 14px;
  }

  /**
     * worries お悩み
     * parent: worries
     */
  .worries-list-item,
  .worries-list-item-bg {
    width: calc(100vw - 30px);
    max-width: 420px;
    max-height: 151px;
    height: calc((100vw - 30px) * 0.3595);
  }
  .worries-list::after {
    display: none;
  }
  .worries-list-item::before {
    height: 56px;
  }
  .worries-resolut-text {
    margin: 0 15px;
  }
  .worries-wrap::before {
    clip-path: polygon(0 0, 50% calc(100% - 1px), 100% 0, 100% 100%, 0 100%);
  }

  .sliding {
    font-size: min(9.01vw, 34px);
  }

  /**
     * reason 〇つの理由
     * parent: worries
     */
  .reason {
    padding-top: 24px;
  }
  .reason-header {
    margin-top: 16px;
  }
  .reason-item {
    grid-template-rows: 35px 90px;
    margin-bottom: 115px;
    padding-bottom: 35px;
  }
  .reason-img-wrap {
    height: 160px;
  }
  .reason-title {
    font-size: 22px;
  }
  .reason-title-small {
    font-size: 16px;
  }

  /**
     * notfail 〇〇をご提案
     * parent: worries
     */
  .notfail {
    padding-bottom: 20px;
  }
  .notfail::before {
    height: calc(100% + 25px);
    clip-path: polygon(
      0 0,
      100% 0%,
      100% calc(100% - 100px),
      50% 100%,
      0 calc(100% - 100px)
    );
  }

  /**
    * plan 〇〇プラン
    * parent: plan
    */
  .plan {
    padding-bottom: 70px;
    background-size: 810px auto;
  }
  .plan-title,
  .plan-title-big {
    font-size: 42px;
  }
  .plan-title-big {
    display: block;
  }
  .plan-list {
    margin-bottom: 60px;
    grid-template-columns: 1fr;
  }
  .solution,
  .solution-division {
    display: block;
  }
  .solution {
    padding: 0;
  }

  /**
    * staffs
    * parent: plan
    */
  .staff {
    padding: 25px;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto auto;
  }
  .staff-img {
    grid-row: 1;
    margin: 0 auto;
  }
  .staff-img-pc {
    display: none;
  }
  .staff-img-sp {
    display: block;
  }
  .staff-title {
    font-size: 22px;
    grid-row: auto;
  }

  /**
    * flow 〇〇の流れ
    * parent: flow
    */
  .flow-title {
    padding-bottom: 32px;
    font-size: 42px;
  }
  .flow-item-index-number {
    font-size: 20px;
    margin-top: -10px;
  }

  .flow-item {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto;
    gap: 0 24px;
    align-items: start;
  }
  .flow-item-index {
    height: 56px;
  }
  .flow-item-title {
    margin-top: 10px;
  }

  /**
    * voice お客様の声
    * parent: voice
    */
  .voice-title {
    padding: 0 var(--space-small-size);
  }
  .voice::before {
    clip-path: polygon(
      0 15px,
      100% 15px,
      100% calc(100% - 60px),
      50% 100%,
      0 calc(100% - 60px)
    );
  }
  .voice-item-icon {
    left: -5px;
    top: -25px;
  }
  .voice-item-title {
    font-size: 22px;
  }
  .voice-text {
    padding: 0 var(--space-small-size);
    font-size: 14px;
  }

  /**
    * faq よくある質問
    * parent: faq
    */
  .faq {
    padding: 90px 0 0;
  }
  .faq-title {
    margin: 0 15px;
  }
  .faq-title::before,
  .faq-title::after {
    margin: 0;
    right: auto;
  }
  .faq-title::before {
    left: 15px;
  }
  .faq-title::after {
    left: 100px;
  }
  .faq-title-small::before,
  .faq-title-small::after {
    margin: 0;
    right: auto;
    left: 0;
  }
  .faq-title-small::after {
    top: 73px;
  }
  .faq-item {
    margin-bottom: 30px;
  }
  .faq-item-q {
    padding-left: 62px;
  }
  .faq-item-a {
    padding: 20px 15px 20px;
    padding: 0;
  }
  .faq-item-a,
  .faq-item-a.faq-view-target.active {
    grid-template-columns: 64px auto;
  }
  .faq-item-a-title {
    padding-left: 15px;
  }
  .faq-item-index,
  .faq-view-target.active .faq-item-index {
    left: 15px;
  }

  /**
    * form フォーム
    * parent: form
    */
  .form {
    padding: 0;
  }
  .form-wrap {
    padding-bottom: 50px;
  }
  .form-header {
    padding: 80px 0 40px;
    line-height: 1.2;
  }
  .form-title {
    font-size: 20px;
  }
  .form-header-text {
    font-size: 16px;
    padding: 30px var(--space-small-size);
    text-align: left;
  }
  .form-wrap {
    margin: 0;
  }
  .form-container {
    margin: 0 var(--space-small-size);
  }
  .form-item-list-item {
    max-width: 100%;
    width: 100%;
  }
  .form-item-list-item .form-input {
    width: 100%;
  }
  .form-input[type='number'] {
    width: 110px;
  }
  .form-text {
    font-size: 20px;
    padding: 20px 15px;
    line-height: 1.4;
  }

  .form-privacy {
    margin: 0 var(--space-small-size);
  }

  .form-conversion {
    margin-left: 20px;
  }
  .form-notlinefeed {
    margin-left: 0;
    display: block;
  }
  .form-submit {
    width: calc(100% - var(--space-small-size));
    height: 70px;
    line-height: 70px;
    font-size: 20px;
  }
  .form-submit::before {
    right: 20px;
  }

  .aboutus-title {
    padding: 80px 0 45px;
  }
  .aboutus-items {
    display: block;
  }
  .aboutus-heading {
    padding-bottom: 15px;
  }
  .aboutus-item {
    padding-top: 0;
    border-top: none;
  }
}
@media (max-width: 449px) {
  .sliding {
    font-size: min(8.01vw, 34px);
  }
  .contact-link {
    padding-left: 7vw;
  }
}
