@charset "UTF-8";
/* SCSSの読み込み */
@import url(all.css);
/*===============================================
  切り替え用
===============================================*/
html {
  font-size: clamp(12px, 3.5555555556vw, 16px);
  scroll-padding-top: 4.5rem;
}

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

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

/*===============================================
  header
===============================================*/
#header {
  background: var(--color-bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}
#header .header__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 94%;
  height: 4.5rem;
}
#header .header__logo {
  width: 20rem;
}
#header .header__logo img {
  width: 100%;
  aspect-ratio: 32/4;
  -o-object-fit: contain;
     object-fit: contain;
}

/*===============================================
  footer
===============================================*/
#footer {
  padding-block-start: 3.75rem;
}
#footer::before {
  width: 48.75rem;
  height: calc(100% + 5rem);
}
#footer .footer__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  row-gap: 3.75rem;
}
#footer .footer__other {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  row-gap: 2.5rem;
  width: 90%;
}
#footer .footer__logo {
  width: 13.125rem;
}
#footer .footer__logo img {
  width: 100%;
  aspect-ratio: 7/1;
  -o-object-fit: contain;
     object-fit: contain;
}
#footer .footer__info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  line-height: calc(1em + 0.5rem);
  row-gap: 0.9375rem;
}
#footer .footer__time {
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
}
#footer .footer__time dt {
  padding-inline: 0.5em;
}
#footer .footer__time dd {
  margin-right: 0.625rem;
}

/*フッターナビ
-----------------------------*/
.footer-nav {
  width: 100%;
}
.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.3);
  padding-top: 1px;
}
.footer-nav__item {
  background: var(--color-bg);
  grid-column: span 2;
}
.footer-nav__item:has(.nav-link--news), .footer-nav__item:has(.nav-link--news) ~ .footer-nav__item {
  grid-column: span 1;
}
.footer-nav__item:has(.nav-link--news) .footer-nav__link, .footer-nav__item:has(.nav-link--news) ~ .footer-nav__item .footer-nav__link {
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--font-size-xs);
  padding-block: 0.875rem;
}
.footer-nav__item:has(.nav-link--news) .footer-nav__link::after, .footer-nav__item:has(.nav-link--news) ~ .footer-nav__item .footer-nav__link::after {
  bottom: 0.875rem;
}
.footer-nav__link {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0.625rem 0.9375rem;
  font-size: var(--font-size-sm);
  line-height: 1;
  letter-spacing: var(--letter-spacing-base);
  padding: 1.75rem 5vw;
  position: relative;
}
.footer-nav__link > span {
  display: block;
}
.footer-nav__link .en {
  font-size: 2em;
  margin-block: -0.125rem;
}
.footer-nav__link::after {
  content: "";
  width: 1.25rem;
  aspect-ratio: 5/2;
  -webkit-mask: url(../img/common/arrow-b.svg) no-repeat right bottom/auto 1px, url(../img/common/arrow-r.svg) no-repeat right bottom/auto max(1.0625rem, 100%);
          mask: url(../img/common/arrow-b.svg) no-repeat right bottom/auto 1px, url(../img/common/arrow-r.svg) no-repeat right bottom/auto max(1.0625rem, 100%);
  background-color: var(--color-text);
  position: absolute;
  bottom: 1.75rem;
  right: 2.5vw;
  z-index: 1;
  pointer-events: none;
}

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

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

/*===============================================
  visual
===============================================*/
/*共通
-----------------------------*/
.visual {
  padding-block-start: 4.5rem;
}
.visual__catch .en {
  font-size: var(--font-size-h2);
}
.visual__catch .ja {
  font-size: var(--font-size-base);
  padding: calc((1.875rem - 1em) / 2) 0.5em;
}

/*メインビジュアル
-----------------------------*/
.visual__item {
  width: 100%;
  aspect-ratio: 5/4;
  max-height: 22.5rem;
}
.visual__item::after {
  width: 2.5rem;
  aspect-ratio: 10/3;
  right: 1.5rem;
  bottom: 6%;
}
.visual__catch--main {
  height: 40%;
  row-gap: 0.625rem;
  padding-bottom: 0.3125rem;
}
.visual__catch--main .main {
  width: 18.75rem;
}
.visual__catch--main .main img {
  width: 100%;
  aspect-ratio: 30/7;
  -o-object-fit: contain;
     object-fit: contain;
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  height: 15rem;
  padding-top: 0.75rem;
}
.visual__catch--sub {
  row-gap: 0.75rem;
}

/*===============================================
  main#container
===============================================*/
#container {
  padding-top: 2.5rem;
}

/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  padding-block: calc(1.25rem - 0.5em);
}
.breadcrumb__list {
  width: 90%;
}
/*===============================================
  main共通
===============================================*/
.section {
  padding-block: 5rem;
}
.section:not(.section--bg):has(+ .section:not(.section--bg):not(.com-contact)) {
  padding-block-end: 2.5rem;
}
.section--bg::before {
  width: 100vw;
}
.section--line::before {
  display: none;
}

.inbox {
  width: 90%;
}

/*電話番号
-----------------------------*/
.com-tel {
  row-gap: 0.75rem;
}
.com-tel__num {
  -moz-column-gap: calc(0.5rem - var(--letter-spacing-base));
       column-gap: calc(0.5rem - var(--letter-spacing-base));
  font-size: 2.25rem;
}
.com-tel__num::before {
  font-size: 1.25rem;
}
.com-tel__num span {
  margin-block: -0.1875rem -0.125rem;
}
.com-tel .com-replace {
  font-size: var(--font-size-xs);
}

/*ボタン
-----------------------------*/
.com-btn {
  width: 15rem;
  height: 4.375rem;
}
.com-btn::after {
  width: 1.125rem;
  aspect-ratio: 18/7;
  right: 0.6875rem;
  bottom: calc(50% - 0.25rem);
}
.com-btn--mail {
  -moz-column-gap: 0.625rem;
       column-gap: 0.625rem;
}
.com-btn--mail::before {
  width: 1.25rem;
}
.com-btn--ig {
  width: 18.75rem;
  -moz-column-gap: 1.875rem;
       column-gap: 1.875rem;
  height: 5rem;
  font-size: var(--font-size-h4);
  padding-right: 1.875rem;
}
.com-btn--ig::before {
  width: 2.5rem;
}
.com-btn--ig::after {
  width: 0.9375rem;
  aspect-ratio: 15/14;
  right: 0.5rem;
  bottom: 0.5rem;
}

/* SNS
-----------------------------*/
/*テーブル
-----------------------------*/
.com-table {
  line-height: 1.5;
}
.com-table--noblock table {
  border-collapse: separate;
  border-spacing: 0 0.375rem;
  margin-block: -0.375rem;
}
.com-table--noblock tr th,
.com-table--noblock tr td {
  padding: calc((3.125rem - 1lh) / 2) 0.75em;
}
.com-table--noblock tr th {
  width: 10em;
  text-align: center;
  vertical-align: middle;
}
.com-table--noblock tr td {
  padding-right: 0;
}
.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;
}
.com-table:not(.com-table--noblock) tr {
  margin-bottom: 2.5rem;
}
.com-table:not(.com-table--noblock) tr:last-of-type {
  margin-bottom: 0;
}
.com-table:not(.com-table--noblock) tr th {
  margin-bottom: 0.9375rem;
}

/*テキストボックス
-----------------------------*/
.com-text br:not(.pc-none) {
  display: none;
}
.com-text--lg {
  line-height: calc(1em + 0.875rem);
}

/*お知らせ
-----------------------------*/
.com-post__item {
  padding-bottom: 1.875rem;
  margin-bottom: 1.875rem;
}
.com-post__link {
  line-height: calc(1em + 0.625rem);
  gap: 0.9375rem;
}
.com-post__date {
  font-size: var(--font-size-sm);
}
.com-post__tags {
  gap: 0.75rem;
}
.com-post__tag {
  font-size: var(--font-size-xs);
  line-height: 1.66667;
  padding-inline: 0.75em;
}
.com-post__heading {
  padding-right: 0.625rem;
}

/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
.com-title01 {
  row-gap: 1.375rem;
  margin-bottom: 3.125rem;
}
.com-title01:has(.opacity), .com-title01:has(.en.c-gray) {
  row-gap: 0;
}
.com-title01 .en {
  font-size: 4rem;
  margin-block: -0.5rem -0.125rem;
}
.com-title01 .en.opacity {
  margin-block-end: -1.25rem;
}
.com-title01 .en.c-gray {
  font-size: 2em;
  margin-block: -0.375rem -0.5625rem;
}

/*中タイトル
-----------------------------*/
/*小タイトル
-----------------------------*/
/*===============================================
  共通セクション
===============================================*/
/*お問い合わせ
-----------------------------*/
.com-contact::before {
  width: 100vw;
}
.com-contact__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 1.25rem;
}
.com-contact__item {
  row-gap: 1.25rem;
  width: 100%;
  padding: 1.5625rem 1.875rem;
}
.com-contact__item dt img {
  height: 0.9375rem;
}
.com-contact__btn {
  width: 18.75rem;
}

/*セクション名
-----------------------------*/
/*===============================================
  トップページ
===============================================*/
/*“走る歓び”を追い続けた
木村自動車の軌跡
-----------------------------*/
.top-history {
  padding-block-start: 4rem;
}
.top-history__title {
  row-gap: 1.25rem;
}
.top-history__title .mark {
  padding-inline: 0.625rem;
}
.top-history__list .fade-item {
  margin-bottom: 5rem;
}
.top-history__list dt {
  row-gap: 1.25rem;
  font-size: var(--font-size-h3);
  padding-bottom: 0.625rem;
  margin-bottom: 1.875rem;
}
.top-history__list dt:not(:has(.year)) {
  padding-block-start: 0.3125rem;
}
.top-history__list dt > span.year {
  font-size: calc(1em - 0.3125rem);
  -moz-column-gap: 0.625rem;
       column-gap: 0.625rem;
}
.top-history__list dt > span.year::before {
  width: 0.75rem;
}

/*バナーリンクセクション
-----------------------------*/
.top-bnr__items {
  width: 100%;
}
.top-bnr__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-block: 3.5rem 3rem;
}
.top-bnr__heading {
  row-gap: 0;
  margin-bottom: 1.875rem;
}
.top-bnr__body {
  text-align: center;
  padding-inline: 5vw;
  word-break: keep-all;
}
.top-bnr__body + .top-bnr__btn {
  margin-top: 1.875rem;
}
.top-bnr__btn {
  margin: 0.625rem auto 0;
}

/*施工事例
-----------------------------*/
.top-works__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.25rem;
}
.top-works__item {
  row-gap: 1.25rem;
}
.top-works__btn {
  margin: 3.125rem auto 0;
}

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

/*関連サイト・SNS
-----------------------------*/
.top-related__item {
  width: 100%;
  height: 9.375rem;
  margin-bottom: 1.25rem;
}
.top-related__item:last-of-type {
  margin-bottom: 0;
}
.top-related__image {
  height: 100%;
}
.top-related__heading {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  row-gap: 0.9375rem;
  font-size: var(--font-size-h5);
}
.top-related__heading .en {
  font-size: calc(1em + 1.125rem);
}
.top-related__heading img {
  height: 4.0625rem;
  aspect-ratio: 237/65;
  -o-object-fit: contain;
     object-fit: contain;
}
.top-related__heading::before {
  opacity: 0.4;
}
.top-related__heading::after {
  width: 2.1875rem;
  aspect-ratio: 35/10;
  right: 0.9375rem;
  bottom: 0.9375rem;
}
.top-related__heading--ig .en {
  -moz-column-gap: 1.875rem;
       column-gap: 1.875rem;
  padding-right: 0.9375rem;
}
.top-related__heading--ig .en::before {
  width: 2.5rem;
}
.top-related__heading--ig::after {
  width: 1.25rem;
  aspect-ratio: 10/9;
}

/*===============================================
  木村自動車商会について
===============================================*/
/*コンセプト
-----------------------------*/
.about-concept__item {
  margin-bottom: 3.125rem;
}
.about-concept__item:last-of-type {
  margin-bottom: 0;
}
.about-concept__movie {
  margin-bottom: 0.9375rem;
}
.about-concept__heading {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  padding-bottom: 0.9375rem;
}
.about-concept__heading::before {
  width: 2.5em;
}

/*代表挨拶
-----------------------------*/
.about-greeting__image {
  aspect-ratio: 16/9;
  margin-bottom: 2.1875rem;
}
.about-greeting__name {
  justify-content: flex-end;
  margin-top: 1.875rem;
}

/*会社情報
-----------------------------*/
.about-company__table tr td .com-replace {
  font-size: var(--font-size-xs);
}
.about-company__map {
  height: 22.5rem;
  margin-top: 2.5rem;
}

/*===============================================
  サービス内容
===============================================*/
/*取り扱い車種
-----------------------------*/
.service-model__list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5625rem 0.625rem;
  padding-top: 3.125rem;
}
.service-model__item {
  width: calc((100% - 1.25rem) / 3);
}
.service-model__image img {
  width: 100%;
  aspect-ratio: 1.3333333333;
  -o-object-fit: cover;
     object-fit: cover;
}
.service-model__image {
  margin-bottom: 0.9375rem;
}
.service-model__heading {
  font-size: min(var(--font-size-base), 2.77vw);
  letter-spacing: 0;
  row-gap: 0.625rem;
}
.service-model__heading .en {
  font-size: calc(1em - 1px);
  -moz-column-gap: 0.25em;
       column-gap: 0.25em;
}
.service-model__heading .en::before, .service-model__heading .en::after {
  width: 0.5em;
}

/*サービス 一覧
-----------------------------*/
.service-list__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.25rem;
}
.service-list__item {
  row-gap: 1.5625rem;
}
.service-list__image img {
  width: 100%;
  aspect-ratio: 1.25;
  -o-object-fit: cover;
     object-fit: cover;
}
.service-list__btn {
  width: 100%;
  height: 3.75rem;
}

/*サービス 詳細
-----------------------------*/
.service-detail__heading {
  padding: calc((3.75rem - 1em) / 2) 1em;
  margin-bottom: 1.875rem;
}
.service-detail__wrap {
  margin-bottom: 1.5625rem;
}
.service-detail__wrap:has(.service-detail__image:nth-of-type(2)) {
  padding-bottom: 1.25rem;
  position: relative;
}
.service-detail__wrap:has(.service-detail__image:nth-of-type(2))::after {
  content: "※横スクロールできます";
  font-size: var(--font-size-xs);
  color: var(--color-text);
  line-height: 1;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.service-detail__images:has(.service-detail__image:nth-of-type(2)) {
  padding-bottom: 0.75rem;
}
.service-detail__image img {
  width: 100%;
  aspect-ratio: 1.7777777778;
  -o-object-fit: cover;
     object-fit: cover;
}
.service-detail dl {
  gap: 0.9375rem;
  margin-bottom: 1.875rem;
}
.service-detail dl dt {
  gap: 0.9375rem;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}
.service-detail dl dt > span {
  padding-block: calc((2.5rem - 1lh) / 2);
}
.service-detail dl.service-detail__text {
  padding: 0.9375rem 0.9375rem 1.5rem;
}
.service-detail dl.service-detail__time {
  padding-block: 1.875rem;
}
.service-detail dl.service-detail__price tr th {
  width: 65%;
}
.service-detail dl.service-detail__price tr th,
.service-detail dl.service-detail__price tr td {
  text-align: center;
  vertical-align: middle;
  padding-block: calc((3.75rem - 1lh) / 2);
}

/*===============================================
  施工事例
===============================================*/
/*施工事例 一覧
-----------------------------*/
.works-list__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.25rem;
}
.works-list__item {
  row-gap: 1.5625rem;
}
.works-list__image img {
  width: 100%;
  aspect-ratio: 1.25;
  -o-object-fit: cover;
     object-fit: cover;
}
.works-list__btn {
  width: 100%;
  height: 3.75rem;
}

/*施工事例 詳細
-----------------------------*/
.works-detail__heading {
  padding: calc((3.75rem - 1em) / 2) 1em;
  margin-bottom: 1.875rem;
}
.works-detail__wrap {
  margin-bottom: 1.5625rem;
}
.works-detail__wrap:has(.works-detail__image:nth-of-type(2)) {
  padding-bottom: 1.25rem;
  position: relative;
}
.works-detail__wrap:has(.works-detail__image:nth-of-type(2))::after {
  content: "※横スクロールできます";
  font-size: var(--font-size-xs);
  color: var(--color-text);
  line-height: 1;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.works-detail__images:has(.works-detail__image:nth-of-type(2)) {
  padding-bottom: 0.75rem;
}
.works-detail__image img {
  width: 100%;
  aspect-ratio: 1.7777777778;
  -o-object-fit: cover;
     object-fit: cover;
}
.works-detail__text {
  padding: calc(1.5rem - (0.5lh - 0.5em)) 1.25rem;
}

/*===============================================
  車のお悩み解決事例
===============================================*/
/*事例
-----------------------------*/
.case-list__btns {
  margin-bottom: 3.75rem;
}
.case-list__btn {
  width: 100%;
  height: auto;
  min-height: 4.375rem;
  padding: 0.625rem 2.1875rem;
  margin-bottom: 0.9375rem;
}
.case-list__btn:last-of-type {
  margin-bottom: 0;
}
.case-list__box {
  padding-block: 4rem;
  margin-bottom: 2.5rem;
}
.case-list__heading {
  margin-bottom: 2.5rem;
}
.case-list__heading .en.c-gray {
  margin-block-end: -1rem;
}
.case-list__label {
  padding: calc((3.75rem - 1em) / 2) 1em;
  margin-bottom: 1.875rem;
}
.case-list__wrap {
  margin-bottom: 1.5625rem;
}
.case-list__wrap:has(.case-list__image:nth-of-type(2)) {
  padding-bottom: 1.25rem;
  position: relative;
}
.case-list__wrap:has(.case-list__image:nth-of-type(2))::after {
  content: "※横スクロールできます";
  font-size: var(--font-size-xs);
  color: var(--color-text);
  line-height: 1;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.case-list__images:has(.case-list__image:nth-of-type(2)) {
  padding-bottom: 0.75rem;
}
.case-list__image img {
  width: 100%;
  aspect-ratio: 1.7777777778;
  -o-object-fit: cover;
     object-fit: cover;
}
.case-list__text {
  padding: 0.9375rem 0.9375rem 1.5rem;
}
.case-list__text dt {
  padding: calc((3.125rem - 1em) / 2) 1.25rem;
  margin-bottom: 1.25rem;
}

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

/*===============================================
  お問い合わせ完了
===============================================*/
/*===============================================
  プライバシーポリシー
===============================================*/
/*===============================================
  サイトマップ
===============================================*/
.sitemap-list__item {
  margin-bottom: 0.75rem;
}
.sitemap-list__item:last-of-type {
  margin-bottom: 0;
}
.sitemap-list__link {
  padding: 1.5em 0.75em;
  gap: 1em 0.75em;
  font-size: calc(var(--font-size-sm) - 1px);
}
.sitemap-list__link .en {
  font-size: calc(1em + 1.0625rem);
}

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