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

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

a[href^="tel:"] {
  pointer-events: none;
}

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

/*===============================================
  header
===============================================*/
#header .header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6.25rem;
  padding-inline: clamp(40px, 3.125vw, 60px);
}
#header .header__logo {
  width: 32.5rem;
}
#header .header__logo img {
  width: 100%;
  aspect-ratio: 52/6;
  -o-object-fit: contain;
     object-fit: contain;
}
#header .header__other {
  display: flex;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 1.875rem;
       column-gap: 1.875rem;
}
#header .header__mail {
  width: 17.5rem;
}

/*===============================================
  footer
===============================================*/
#footer {
  padding-block: 6.25rem;
}
#footer::before {
  min-width: 120rem;
  height: calc(100% + 8.5625rem);
}
#footer .footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 67.5rem;
}
#footer .footer__other {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 2.375rem;
}
#footer .footer__logo {
  width: 16rem;
}
#footer .footer__info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 1.6875rem;
}
#footer .footer__add {
  align-items: flex-start;
  flex-direction: column;
  line-height: 1.38889;
}
#footer .footer__time {
  font-size: var(--font-size-sm);
  line-height: 1.375;
  -moz-column-gap: 0.625rem;
       column-gap: 0.625rem;
}
#footer .footer__time dt {
  width: 5rem;
}
#footer .footer__time dd {
  margin-right: 0.1875rem;
}

/*フッターナビ
-----------------------------*/
.footer-nav__list {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  grid-auto-flow: column;
  gap: 0.9375rem 5.625rem;
}
.footer-nav__link {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 0.125rem;
  font-size: 0.875rem;
}
.footer-nav__link > span {
  display: block;
  letter-spacing: var(--letter-spacing-base);
  margin-inline-end: calc(var(--letter-spacing-base) * -1);
}
.footer-nav__link .en {
  font-size: calc(1em - 2px);
  margin-block-start: -0.125rem;
}

/*コピーライト
-----------------------------*/
.copy {
  width: 67.5rem;
  padding-top: 1.875rem;
  margin: 3.75rem auto 0;
}
.copy p {
  text-align: right;
}

/*===============================================
  fixed固定
===============================================*/
/*ページトップ
-----------------------------*/
#pagetop {
  bottom: 0.625rem;
  right: 0.625rem;
}

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

/*===============================================
  visual
===============================================*/
/*共通
-----------------------------*/
.visual {
  padding: 6.25rem clamp(40px, 3.125vw, 60px) 3.125rem;
}
.visual__catch .en {
  font-size: clamp(54px, 4.1666666667vw, 80px);
}
.visual__catch .ja {
  font-size: clamp(17px, 1.3020833333vw, 25px);
  padding: calc((clamp(24px, 1.875vw, 36px) - 1em) / 2) 0.5em;
}

/*メインビジュアル
-----------------------------*/
.visual__main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: clamp(20px, 1.5625vw, 30px);
       column-gap: clamp(20px, 1.5625vw, 30px);
  height: clamp(470px, 36.4583333333vw, 700px);
}
.visual__item::after {
  width: clamp(40px, 3.125vw, 60px);
  aspect-ratio: 60/17;
  right: clamp(28px, 2.1875vw, 42px);
  bottom: clamp(44px, 3.4375vw, 66px);
}
.visual__catch--main {
  height: clamp(135px, 10.4166666667vw, 200px);
  row-gap: clamp(12px, 0.9375vw, 18px);
  padding-bottom: clamp(10px, 0.78125vw, 15px);
}
.visual__catch--main .main {
  width: clamp(311px, 24.2708333333vw, 466px);
}
.visual__catch--main .main img {
  width: 100%;
  aspect-ratio: 466/103;
  -o-object-fit: contain;
     object-fit: contain;
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  height: clamp(270px, 20.8333333333vw, 400px);
}
.visual__catch--sub {
  row-gap: clamp(20px, 1.5625vw, 30px);
}

/*===============================================
  グローバルナビ
===============================================*/
.gnav {
  background: var(--color-bg);
  position: relative;
  z-index: 5;
}
.gnav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
}
.gnav__item {
  padding: 0.4375rem 2.5em;
  border-right: solid 1px rgba(255, 255, 255, 0.2);
}
.gnav__item:last-of-type {
  border-right: none;
}
.gnav__link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 0.375rem;
  letter-spacing: 0;
  line-height: 1;
}
.gnav__link > span {
  display: block;
  letter-spacing: var(--letter-spacing-base);
  margin-inline-end: calc(var(--letter-spacing-base) * -1);
}
.gnav__link > span.en {
  font-size: var(--font-size-xs);
  font-family: var(--font-family-en);
  font-weight: 400;
  color: var(--color-text);
}
.gnav__link:hover, .gnav__link.current {
  color: var(--color-text);
}

/*===============================================
  main#container
===============================================*/
#container:has(> .section.section--bg:first-of-type), #container:has(> .section.section--line:first-of-type) {
  padding-top: 3.125rem;
}

/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  padding-block: calc(1.5625rem - 0.5em);
}
.breadcrumb__list {
  width: 67.5rem;
}
/*===============================================
  main共通
===============================================*/
.section {
  padding-block: 8.125rem;
}
.section:not(.section--bg):not(.section--line):has(+ .section:not(.section--line):not(.section--bg):not(.com-contact)) {
  padding-block-end: 0;
}
.section--line {
  padding-block: 6.25rem;
}
.section--line:has(+ .com-contact), .section--bg:has(+ .com-contact) {
  padding-bottom: 16.25rem;
}
.section--line:has(+ .com-contact)::before, .section--bg:has(+ .com-contact)::before {
  height: calc(100% - 8.125rem);
}
.section--line::before, .section--bg::before {
  width: calc(100vw - 7.5rem);
  max-width: 93.75rem;
  min-width: calc(1200px - 7.5rem);
}

.inbox {
  width: 67.5rem;
}

/*電話番号
-----------------------------*/
.com-tel {
  row-gap: 0.625rem;
}
.com-tel__num {
  -moz-column-gap: calc(0.5rem - var(--letter-spacing-base));
       column-gap: calc(0.5rem - var(--letter-spacing-base));
  font-size: var(--font-size-h3);
}
.com-tel__num::before {
  font-size: 0.875rem;
}
.com-tel__num span {
  margin-block: -0.125rem -0.0625rem;
}
.com-tel .com-replace {
  font-size: calc(var(--font-size-xs) - 1px);
}

/*ボタン
-----------------------------*/
.com-btn {
  width: 12.5rem;
  height: 3.75rem;
}
.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: 0.875rem;
}
.com-btn--ig {
  -moz-column-gap: 1.4375rem;
       column-gap: 1.4375rem;
  padding-right: 1.875rem;
}
.com-btn--ig::before {
  width: 1.25rem;
}
.com-btn--ig::after {
  width: 0.6875rem;
  right: 0.25rem;
  bottom: 0.25rem;
}

/* SNS
-----------------------------*/
/*テーブル
-----------------------------*/
.com-table {
  line-height: 1.38889;
}
.com-table table {
  border-collapse: separate;
  border-spacing: 0 0.625rem;
  margin-block: -0.625rem;
}
.com-table tr th,
.com-table tr td {
  padding-block: calc((3.125rem - 1lh) / 2);
}
.com-table tr th {
  text-align: center;
  vertical-align: middle;
  padding-inline: 0.3125rem;
}
.com-table tr td {
  padding-inline: 0.9375rem calc(0.9375rem - var(--letter-spacing-base));
}

/*テキストボックス
-----------------------------*/
.com-text p {
  margin-inline-end: calc(var(--letter-spacing-base) * -1);
}
.com-text--lg {
  line-height: 2.22223;
}

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

/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
.com-title01 {
  row-gap: 2.25rem;
  margin-bottom: 5rem;
}
.com-title01:has(.opacity), .com-title01:has(.en.c-gray) {
  row-gap: 0;
}
.com-title01 .en {
  font-size: 6.25rem;
  margin-block: -0.75rem -0.25rem;
}
.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: calc(100% - clamp(80px, 6.25vw, 120px));
  max-width: 112.5rem;
}
.com-contact__items {
  display: flex;
  justify-content: center;
  align-items: stretch;
  -moz-column-gap: 2.5rem;
       column-gap: 2.5rem;
}
.com-contact__item {
  row-gap: 1.5625rem;
  width: 100%;
  padding: 1.5625rem 2.5rem;
}
.com-contact__item dt img {
  height: 0.9375rem;
}
.com-contact__tel {
  row-gap: 0.875rem;
}
.com-contact__tel .com-tel__num {
  font-size: 2.5rem;
}
.com-contact__tel .com-tel__num::before {
  font-size: 0.5em;
}
.com-contact__tel .com-tel__num > span {
  margin-block: -0.3125rem -0.125rem;
}
.com-contact__tel .com-replace {
  font-size: 0.8125rem;
}
.com-contact__btn {
  width: 17.5rem;
}

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

/*バナーリンクセクション
-----------------------------*/
.top-bnr__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}
.top-bnr__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 25rem;
}
.top-bnr__item--w100 {
  grid-column: span 2;
}
.top-bnr__heading {
  row-gap: 0;
  margin-bottom: 2.5rem;
}
.top-bnr__heading .en {
  font-size: 5rem;
  margin-block: -0.625rem -1.3125rem;
}
.top-bnr__body {
  text-align: center;
}
.top-bnr__body + .top-bnr__btn {
  margin-top: 3.75rem;
}
.top-bnr__btn {
  margin: 1.875rem auto 0;
}

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

/*お知らせ
-----------------------------*/
.top-news__box {
  display: grid;
  grid-template: auto auto/1fr 47.5rem;
  gap: 4.375rem 3.125rem;
}
.top-news__title {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0;
  align-self: flex-end;
}
.top-news__list,
.top-news .com-empty {
  grid-row: span 2;
}
.top-news__btn {
  align-self: flex-start;
}

/*関連サイト・SNS
-----------------------------*/
.top-related__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5625rem 3.75rem;
}
.top-related__item {
  width: calc((100% - 7.5rem) / 3);
  padding-bottom: 1.25rem;
}
.top-related__item--main {
  width: calc((100% - 3.75rem) / 2);
}
.top-related__item--main .top-related__heading {
  min-width: 18.75rem;
}
.top-related__image {
  height: 11.25rem;
}
.top-related__heading {
  min-width: 15.375rem;
  justify-content: center;
  height: 6.25rem;
  row-gap: 0.625rem;
  font-size: var(--font-size-h5);
  padding-inline: 1.25rem 2.5rem;
}
.top-related__heading .en {
  font-size: calc(1em + 0.625rem);
}
.top-related__heading img {
  height: 4.0625rem;
  aspect-ratio: 237/65;
  -o-object-fit: contain;
     object-fit: contain;
}
.top-related__heading::before {
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.25rem) 100%, 0 100%);
}
.top-related__heading::after {
  width: 2.1875rem;
  aspect-ratio: 35/10;
  right: 1.875rem;
  bottom: 0.5rem;
}
.top-related__heading--ig .en {
  -moz-column-gap: 1.25rem;
       column-gap: 1.25rem;
}
.top-related__heading--ig .en::before {
  width: 1.875rem;
}
.top-related__heading--ig::after {
  width: 0.9375rem;
  aspect-ratio: 15/13;
}

/*===============================================
  木村自動車商会について
===============================================*/
/*コンセプト
-----------------------------*/
.about-concept__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.75rem;
}
.about-concept__movie {
  margin-bottom: 1.25rem;
}
.about-concept__heading {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  padding-bottom: 0.625rem;
}
.about-concept__heading::before {
  width: 3.125rem;
}

/*代表挨拶
-----------------------------*/
.about-greeting__image {
  width: 37.5rem;
  aspect-ratio: 12/7;
  margin: 0 auto 3.75rem;
}
.about-greeting__text {
  text-align: center;
}
.about-greeting__name {
  margin-top: 2.5rem;
}

/*会社情報
-----------------------------*/
.about-company__inner:has(.about-company__map) {
  display: grid;
  grid-template-columns: 1fr 30rem;
  -moz-column-gap: 0.625rem;
       column-gap: 0.625rem;
}
.about-company__inner:has(.about-company__map) .about-company__table th {
  width: 10em;
}
.about-company__table tr td {
  padding-inline-end: calc(0.625rem - var(--letter-spacing-base));
}
.about-company__table tr td .com-replace {
  font-size: 0.8125rem;
}

/*===============================================
  サービス内容
===============================================*/
/*取り扱い車種
-----------------------------*/
.service-model__text {
  text-align: center;
}
.service-model__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  padding-top: 5rem;
}
.service-model__image img {
  width: 100%;
  aspect-ratio: 1.3333333333;
  -o-object-fit: cover;
     object-fit: cover;
}
.service-model__image {
  margin-bottom: 1.25rem;
}
.service-model__heading {
  row-gap: 0.75rem;
}
.service-model__heading .en {
  font-size: 0.875rem;
  -moz-column-gap: 0.375rem;
       column-gap: 0.375rem;
}
.service-model__heading .en::before, .service-model__heading .en::after {
  width: 0.5rem;
}

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

/*サービス 詳細
-----------------------------*/
.service-detail__heading {
  padding: calc((3.75rem - 1em) / 2) 1em;
  margin-bottom: 3.75rem;
}
.service-detail__wrap {
  margin-bottom: 1.875rem;
}
.service-detail__images:has(.service-detail__image:nth-of-type(2)) {
  padding-bottom: 1.25rem;
}
.service-detail__image img {
  width: 100%;
  aspect-ratio: 1.7419354839;
  -o-object-fit: cover;
     object-fit: cover;
}
.service-detail dl {
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.service-detail dl dt {
  gap: 1.25rem;
}
.service-detail dl dt > span {
  padding-block: 0.625rem;
}
.service-detail dl.service-detail__text {
  padding: 1.25rem 1.25rem 1.875rem;
}
.service-detail dl.service-detail__time {
  padding-block: 2.5rem;
}
.service-detail dl.service-detail__price tr th {
  width: 50rem;
}
.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: 3.75rem;
}
.works-list__item {
  row-gap: 1.875rem;
}
.works-list__image img {
  width: 100%;
  aspect-ratio: 1.7;
  -o-object-fit: cover;
     object-fit: cover;
}

/*施工事例 詳細
-----------------------------*/
.works-detail__heading {
  padding: calc((3.75rem - 1em) / 2) 1em;
  margin-bottom: 3.75rem;
}
.works-detail__wrap {
  margin-bottom: 1.875rem;
}
.works-detail__images:has(.works-detail__image:nth-of-type(2)) {
  padding-bottom: 1.25rem;
}
.works-detail__image img {
  width: 100%;
  aspect-ratio: 1.7419354839;
  -o-object-fit: cover;
     object-fit: cover;
}
.works-detail__text {
  padding: calc(1.5625rem - (0.5lh - 0.5em)) 1.25rem;
}

/*===============================================
  車のお悩み解決事例
===============================================*/
/*事例
-----------------------------*/
.case-list__btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3.75rem;
  margin-bottom: 6.25rem;
}
.case-list__btn {
  width: 100%;
  height: auto;
  min-height: 3.75rem;
  padding: 0.625rem 2.1875rem;
}
.case-list__box {
  padding-block: 6.25rem;
  margin-bottom: 5rem;
}
.case-list__heading {
  margin-bottom: 3.75rem;
}
.case-list__heading .en.c-gray {
  margin-block-end: -1.1875rem;
}
.case-list__label {
  padding: calc((3.75rem - 1em) / 2) 1em;
  margin-bottom: 2.5rem;
}
.case-list__wrap {
  margin-bottom: 1.875rem;
}
.case-list__images:has(.case-list__image:nth-of-type(2)) {
  padding-bottom: 1.25rem;
}
.case-list__image img {
  width: 100%;
  aspect-ratio: 1.7419354839;
  -o-object-fit: cover;
     object-fit: cover;
}
.case-list__text {
  padding: 1.25rem 1.25rem 1.875rem;
}
.case-list__text dt {
  padding: calc((3.125rem - 1em) / 2) 1.25rem;
  margin-bottom: 1.25rem;
}

/*===============================================
  お知らせ
===============================================*/
/* お知らせ 一覧
-----------------------------*/
.news-archive__title {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0;
}

/* お知らせ 詳細
-----------------------------*/
.news-detail__heading {
  padding-bottom: 1.5625rem;
  margin-bottom: 1.5625rem;
}
.news-detail__inner {
  row-gap: 2.5rem;
}

/*タグリスト
-----------------------------*/
.tag-select {
  position: relative;
  margin-bottom: 5rem;
}
.tag-select__box {
  position: absolute;
  right: 0;
  bottom: 0;
}
/*===============================================
  お問い合わせ
===============================================*/
.contact-form__table tr th,
.contact-form__table tr td {
  line-height: calc(3.125rem / var(--font-size-base));
  padding: 0.5rem 0;
}
.contact-form__table tr th {
  width: 23.75rem;
  text-align: left;
  vertical-align: top;
  padding-right: 3.125rem;
}
.contact-form__table tr td {
  vertical-align: middle;
}
.contact-form .contact-submits-wrap > * {
  margin: 1.25rem 0.9375rem 0;
}

/*===============================================
  お問い合わせ完了
===============================================*/
/*===============================================
  プライバシーポリシー
===============================================*/
.privacy-policy__heading {
  padding-bottom: 0.9375rem;
  margin-bottom: 1.25rem;
}

/*===============================================
  サイトマップ
===============================================*/
.sitemap-list__items {
  display: grid;
  grid-template: repeat(5, 1fr)/repeat(2, 1fr);
  grid-auto-flow: column;
  gap: 1.25rem 5rem;
}
.sitemap-list__link {
  padding: 1em 1.25em;
  -moz-column-gap: 1em;
       column-gap: 1em;
  font-size: var(--font-size-sm);
}
.sitemap-list__link .en {
  font-size: 2em;
}

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