@charset "UTF-8";
/* SCSSの読み込み */
@import url(all.css);
/*===============================================
  切り替え用
===============================================*/
html {
  font-size: clamp(8px, 2.2222222222vw, 10px);
}

.sp-none {
  display: none !important;
}

.com-table:not(.com-table--noblock) table,
.com-table:not(.com-table--noblock) table tbody,
.com-table:not(.com-table--noblock) table th,
.com-table:not(.com-table--noblock) table tr,
.com-table:not(.com-table--noblock) table td {
  display: block !important;
  width: 100% !important;
}

/*===============================================
  ページネーション
===============================================*/
/*===============================================
  詳細ページ前後
===============================================*/
/*===============================================
  wrapper
===============================================*/
#wrapper {
  min-width: 320px;
}

/*===============================================
  header
===============================================*/
#header .header__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 90%;
  height: 11rem;
}
#header .header__logo {
  width: 9rem;
}

/*===============================================
  footer
===============================================*/
#footer {
  padding-top: 5rem;
}
#footer .footer__logo {
  width: 12rem;
  margin: 0 auto 4rem;
}
#footer .footer__info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: max(15px, 3rem);
}
#footer .footer__info:has(+ .footer__links) {
  margin-bottom: 4rem;
}
#footer .footer__add {
  width: 100%;
  text-align: center;
}
#footer .footer__ig {
  width: max(30px, 5rem);
}
#footer .footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 1rem;
  padding-inline: 5%;
}
#footer .footer__link {
  width: calc(50% - 0.5rem);
  font-size: var(--font-size-sm);
}
#footer .footer__link::after {
  width: 1em;
  right: 10%;
}

/*フッターナビ
-----------------------------*/
.footer-nav {
  padding-top: 5rem;
}
.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(41, 48, 55, 0.5);
  padding-block: 1px;
}
.footer-nav__list:has(.nav-link--contact) .footer-nav__item:has(.nav-link--contact) ~ .footer-nav__item {
  font-size: var(--font-size-sm);
  grid-column: span 1;
}
.footer-nav__list:not(:has(.nav-link--contact)) .footer-nav__item:has(.nav-link--news) ~ .footer-nav__item {
  font-size: var(--font-size-sm);
  grid-column: span 1;
}
.footer-nav__item {
  grid-column: span 2;
  font-size: var(--font-size-base);
  background: var(--color-white);
}
.footer-nav__link {
  line-height: 1.5;
  padding: 1.5em 1em;
}

/*コピーライト
-----------------------------*/
.copy {
  padding-block: 2rem;
}
/*===============================================
  fixed固定
===============================================*/
/*ページトップ
-----------------------------*/
#pagetop {
  right: 1rem;
  bottom: 1rem;
}

/*サイドボタン
-----------------------------*/
#side {
  left: 1rem;
  bottom: 1rem;
}

/*===============================================
  visual
===============================================*/
/*共通
-----------------------------*/
.visual::before, .visual::after {
  width: 30%;
  aspect-ratio: 1;
}
.visual:has(.visual__sub)::before, .visual:has(.visual__sub)::after {
  width: 20%;
}

/*メインビジュアル
-----------------------------*/
.visual__main {
  align-items: center;
  height: 64rem;
  padding-bottom: 7.2rem;
}
.visual__main::after {
  width: 32%;
  aspect-ratio: 1;
}
.visual__image--lt {
  width: 100%;
  height: 62%;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}
.visual__image--rb {
  width: 100%;
  height: 60%;
}
.visual__image--rb img {
  -o-object-position: right 16%;
     object-position: right 16%;
}
.visual__catch--main {
  font-size: min(1.6rem, 3.5554vw);
  row-gap: 1.125em;
}
.visual__catch--main > span {
  font-style: italic;
}
.visual__catch--main .main {
  font-size: 1.875em;
  line-height: 1.25;
  padding: 1.25rem 1.6em 1.25rem 2rem;
  filter: drop-shadow(0.5rem 0.5rem 0 var(--color-main));
  word-break: keep-all;
}
.visual__catch--main .main::before {
  clip-path: polygon(0 0, 100% 0, calc(100% - 3rem) 100%, 0 100%);
}
.visual__catch--main .sub {
  font-size: 1em;
  line-height: 1.875;
  padding: 1rem 2.5em 1rem 2rem;
}
.visual__catch--main .sub::before {
  clip-path: polygon(0 0, 100% 0, calc(100% - 2rem) 100%, 0 100%);
}
.visual__catch--main::after {
  width: 3.125em;
  top: -10%;
  left: 35%;
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  justify-content: center;
  align-items: center;
  height: 21.6rem;
}
.visual__sub::after {
  width: 24%;
  aspect-ratio: 1;
}
.visual__catch--sub {
  width: 48rem;
  max-width: 90%;
  text-align: center;
  font-size: var(--font-size-h4);
  line-height: 1.25;
}
.visual__catch--sub > span {
  font-style: italic;
  filter: drop-shadow(0.5rem 0.5rem 0 var(--color-main));
  padding: 1.5rem 1.5rem 1.2rem;
  word-break: keep-all;
}
.visual__catch--sub > span::before {
  clip-path: polygon(1.5rem 0, 100% 0, calc(100% - 1.5rem) 100%, 0 100%);
}
.visual__catch--sub::after {
  width: 5rem;
  top: -3rem;
  right: -2rem;
}

/*===============================================
  main#container
===============================================*/
/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  padding-block: 1.5rem;
}
.breadcrumb__list {
  width: 90%;
}
.breadcrumb + .section {
  padding-top: 10rem;
}

/*===============================================
  main共通
===============================================*/
.section {
  padding-block: 8rem;
}
.section:first-of-type::before {
  width: 96%;
  height: 10rem;
}
.section:first-of-type::after {
  width: 32%;
  aspect-ratio: 5/4;
}
.section--bg-black::before {
  width: 110%;
  min-height: 100%;
  aspect-ratio: 4/5;
  margin-top: -12%;
}
.section--bg-black::after {
  width: 32%;
  aspect-ratio: 5/4;
}

.inbox {
  width: 90%;
}

/*電話番号
-----------------------------*/
/*ボタン
-----------------------------*/
.com-btn {
  margin-inline: auto;
}

/*テーブル
-----------------------------*/
.com-table {
  line-height: 1.5;
}
.com-table tr th,
.com-table tr td {
  padding: 1.5rem 1.2rem;
}
.com-table--noblock {
  margin-block: -1rem;
}
.com-table--noblock table {
  border-collapse: separate;
  border-spacing: 0 1rem;
}
.com-table--noblock tr th {
  width: 8em;
  vertical-align: middle;
}
.com-table--price {
  line-height: 1.5;
}
.com-table--price tr th,
.com-table--price tr td {
  padding: 1.5rem 1.2rem;
}

/*テキストボックス
-----------------------------*/
.com-text br:not(.pc-none) {
  display: none;
}

/*お知らせ
-----------------------------*/
.com-post__item--image .com-post__inner {
  gap: 1.5rem 1.2rem;
}
.com-post__link {
  padding: 2rem 2rem;
}
.com-post__image {
  width: 12rem;
}

/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
.com-title01 {
  margin-bottom: 4rem;
}

/*中タイトル
-----------------------------*/
/*小タイトル
-----------------------------*/
/*===============================================
  共通セクション
===============================================*/
/*自己診断
-----------------------------*/
.com-check__list {
  width: -moz-fit-content;
  width: fit-content;
  padding: 3rem 2rem;
  margin: 4rem auto 0;
}
.com-check__list::before {
  width: 90vw;
}
.com-check__item {
  -moz-column-gap: 1.2rem;
       column-gap: 1.2rem;
  font-size: var(--font-size-h6);
  line-height: var(--line-height-h6);
  margin-bottom: 2rem;
}

/*リード文
-----------------------------*/
.com-lead__image {
  margin-top: 5rem;
}
.com-lead__image img {
  aspect-ratio: 1.7777777778;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*===============================================
  トップページ
===============================================*/
/*全国対応の電気工事
株式会社キュービクルパートナーズ
-----------------------------*/
.top-about::before {
  width: 96%;
  height: 9rem;
}
.top-about__title {
  row-gap: 2rem;
  margin-bottom: 4rem;
}
.top-about__title .sub {
  font-size: min(2.4rem, 5.3334vw);
  line-height: 1.25;
}
.top-about__title .mark {
  font-size: min(3.2rem, 7.1112vw);
  line-height: 1.25;
  word-break: keep-all;
  background: linear-gradient(to top, var(--color-main) 1.8rem, transparent 1.8rem);
}
.top-about__images {
  padding-top: 5rem;
}
.top-about__images::after {
  width: 80vw;
  left: -3vw;
  top: 32%;
}
.top-about__image {
  width: 80%;
}
.top-about__image--rt {
  margin-left: auto;
  margin-right: -5vw;
  margin-bottom: 3rem;
}
.top-about__image--rt img {
  aspect-ratio: 1.7777777778;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.top-about__image--lb img {
  aspect-ratio: 1.25;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*サービス内容
-----------------------------*/
.top-service__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 2rem;
}
.top-service__item {
  width: 16rem;
}

/*動画で紹介
-----------------------------*/
.top-movie__list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem 2rem;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.top-movie__item {
  width: calc(50% - 1rem);
  min-height: calc(25.3125vw - 1rem);
}

/*キュービクルの設置・取替を
安心サポート
-----------------------------*/
.top-support__item {
  margin-bottom: 8rem;
}
.top-support__item:last-of-type {
  margin-bottom: 0;
}
.top-support__heading {
  width: 20rem;
  line-height: 2;
  padding-top: 0.3rem;
}
.top-support__image {
  outline-width: 0.3rem;
  outline-offset: -0.3rem;
  margin-bottom: 3rem;
}
.top-support__image img {
  aspect-ratio: 1.5;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.top-support__btn {
  margin-top: 3rem;
}

/*バナーリンクセクション
-----------------------------*/
.top-bnr__item {
  width: 100%;
  height: 28rem;
  outline-offset: calc(-0.5rem - 1px);
}
.top-bnr__item::after {
  width: 4rem;
  aspect-ratio: 93/95;
  bottom: 0.5rem;
  right: 0.5rem;
}
.top-bnr__title::before {
  width: 80vw;
  min-width: 36rem;
  height: 20rem;
  background-size: 28rem !important;
}

/*会社情報
-----------------------------*/
.top-company__map {
  height: 32rem;
  margin-top: 4rem;
}

/*お知らせ
-----------------------------*/
.top-news__btn {
  margin-top: 4rem;
}

/*===============================================
  設置について
===============================================*/
/*発注前に知っておきたい
“よくある落とし穴”
-----------------------------*/
.installation-point__title {
  font-size: min(3.2rem, 7.1112vw);
}
.installation-point__item {
  padding: 3.6rem 2rem;
  margin-bottom: 3rem;
}

/*落とし穴を回避する
当社の安心サポート体制
-----------------------------*/
.installation-support__title {
  font-size: min(3.2rem, 7.1112vw);
}
.installation-support__item {
  padding: 3.6rem 2rem;
}
.installation-support__item::after {
  width: 3.6rem;
}
.installation-support__heading {
  margin-bottom: 2.4rem;
}

/*お客様からの声
-----------------------------*/
.installation-voice__item {
  padding: 3.6rem 2rem;
}
.installation-voice__image {
  margin-bottom: 3rem;
}
.installation-voice__image img {
  aspect-ratio: 1.3333333333;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.installation-voice__table tr th {
  width: 6em;
}
.installation-voice__body {
  margin: calc(3rem + (1em - 1lh) / 2) 0 calc((1em - 1lh) / 2);
}

/*===============================================
  取替について
===============================================*/
/*取替を怠る“リスク“とは
-----------------------------*/
.replacement-risk__item {
  padding: 3.6rem 2rem;
  margin-bottom: 3rem;
}
.replacement-risk__item:last-of-type {
  margin-bottom: 0;
}
.replacement-risk__heading {
  align-items: center;
}
.replacement-risk__heading .num {
  margin-bottom: 2rem !important;
}

/*お客様の導入事例
-----------------------------*/
.replacement-case__item {
  padding: 3.6rem 2rem;
}
.replacement-case__table tr th {
  width: 6em;
}
.replacement-case__body {
  margin: calc(3rem + (1em - 1lh) / 2) 0 calc((1em - 1lh) / 2);
}

/*===============================================
  お問い合わせから見積もりまでの流れ
===============================================*/
/*見積もりステップ
-----------------------------*/
.flow-step__items {
  padding-top: 4rem;
}
.flow-step__item {
  padding: 4rem 2.4rem 2.4rem;
  margin-bottom: 8rem;
}
.flow-step__item::before {
  width: 16rem;
  font-size: var(--font-size-h4);
  line-height: 1.66667;
  border-radius: 1rem 1rem 0 0;
}
.flow-step__body + .flow-step__box,
.flow-step__body + .flow-step__info {
  margin-top: 4rem;
}
.flow-step__box {
  padding: 3rem 2rem;
  margin-top: 2rem;
}
.flow-step__caption {
  min-width: 24rem;
  margin-bottom: 2.4rem;
}
.flow-step__dot {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.flow-step__dot li {
  padding-left: calc(1em + var(--letter-spacing-base));
  position: relative;
  margin-bottom: 1rem;
}
.flow-step__dot li:last-of-type {
  margin-bottom: 0;
}
.flow-step__dot li::before {
  position: absolute;
  top: 0;
  left: 0;
}
.flow-step__list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  align-items: flex-start;
  row-gap: 1rem;
}
.flow-step__list dt {
  text-align: right;
}
.flow-step__info {
  gap: 20px 4rem;
  padding: 4rem 3rem;
  margin-top: 2rem;
}
.flow-step__tel .com-tel__num {
  font-size: 3.2rem;
}
.flow-step__sns {
  width: 40px;
}
.flow-step__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 1.5rem;
  padding-top: 3rem;
}

/*===============================================
  料金表
===============================================*/
/*キュービクル取替の目安価格例
-----------------------------*/
.price-example__image {
  margin-top: 4rem;
}
.price-example__image img {
  aspect-ratio: 2;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.price-example__table {
  margin-top: 6rem;
}
.price-example__table tr td {
  width: 65%;
}

/*料金表
-----------------------------*/
.price-list__text {
  text-align: center;
}
.price-list__table {
  margin-top: 3rem;
}
.price-list__table tr td:nth-of-type(1) {
  width: 72%;
}

/*===============================================
  お知らせ
===============================================*/
/* お知らせ 一覧
-----------------------------*/
/* お知らせ 詳細
-----------------------------*/
.news-detail__title {
  font-size: var(--font-size-h5);
}

/*タグリスト
-----------------------------*/
/*===============================================
  お問い合わせ
===============================================*/
.contact-form .contact-submits-wrap > * {
  margin: 0 auto 2rem;
}
.contact-form .contact-submits-wrap > *:last-child {
  margin-bottom: 0;
}

/*===============================================
  お問い合わせ完了
===============================================*/
/*===============================================
  プライバシーポリシー
===============================================*/
.privacy-policy__box {
  padding: 3.2rem 2.4rem;
}

/*===============================================
  サイトマップ
===============================================*/
.sitemap-list__items {
  padding: 2rem;
}
.sitemap-list__item:last-of-type {
  border-bottom: none;
}
.sitemap-list__link {
  padding: 1.5em 1em;
}

/*===============================================
  404エラー
===============================================*/