@charset "UTF-8";
/* =========================================================
   common.scss
   西新井相互自動車株式会社
========================================================= */
/* =========================================================
   基本設定
========================================================= */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

address {
  font-style: normal;
}

/* =========================================================
   共通コンテナ
========================================================= */
.header__inner,
.footer__inner {
  width: min(100% - 4rem, 1200px);
  margin-inline: auto;
}

/* =========================================================
   ヘッダー
========================================================= */
.header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 4rem;
}

/* ---------------------------------------------------------
   ロゴ・会社名
--------------------------------------------------------- */
.header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.6rem;
}

.header__logo {
  display: block;
  width: 45px;
}

.header__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.header__company-name {
  display: block;
  margin: 0;
  color: #222;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header__company-name:hover {
  color: #0077b6;
}

/* =========================================================
   グローバルナビ
========================================================= */
.global-nav {
  margin-left: auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 3.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav__item {
  margin: 0;
  padding: 0;
}

.global-nav__link {
  position: relative;
  display: block;
  padding: 1rem 0;
  color: #222;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.global-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  margin: auto;
  background-color: #0077b6;
  content: "";
  transition: width 0.3s ease;
}

.global-nav__link:hover {
  color: #0077b6;
}

.global-nav__link:hover::after {
  width: 100%;
}

/* =========================================================
   ハンバーガーボタン
========================================================= */
.header__menu-button {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.header__menu-line {
  position: absolute;
  left: 50%;
  width: 28px;
  height: 2px;
  background-color: #222;
  transform: translateX(-50%);
  transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.header__menu-line:nth-child(1) {
  top: 15px;
}

.header__menu-line:nth-child(2) {
  top: 23px;
}

.header__menu-line:nth-child(3) {
  top: 31px;
}

/* ---------------------------------------------------------
   メニューOPEN時
   JS:
   header.classList.toggle('is-menu-open')
--------------------------------------------------------- */
.header.is-menu-open .header__menu-line:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

.header.is-menu-open .header__menu-line:nth-child(2) {
  opacity: 0;
}

.header.is-menu-open .header__menu-line:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

/* =========================================================
   セクション共通
========================================================= */
.section-heading {
  margin-bottom: 5rem;
  text-align: center;
}

.section-heading__sub {
  margin: 0 0 0.8rem;
  color: #0077b6;
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.section-heading__title {
  margin: 0;
  color: #222;
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* =========================================================
   ボタン共通
========================================================= */
.contact-card__button,
.service-card__link,
.news-section__link {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

/* =========================================================
   フッター
========================================================= */
.footer {
  color: #fff;
  background-color: #222;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8rem;
  padding: 7rem 0 6rem;
}

/* ---------------------------------------------------------
   フッター会社情報
--------------------------------------------------------- */
.footer__company {
  max-width: 400px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: block;
  flex-shrink: 0;
  width: 45px;
}

.footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__company-name {
  display: inline-block;
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.footer__company-name:hover {
  color: #0077b6;
}

.footer__address {
  margin: 0;
  color: #ddd;
  font-size: 1.4rem;
  line-height: 1.9;
}

/* ---------------------------------------------------------
   フッターナビ
--------------------------------------------------------- */
.footer__nav {
  align-self: start;
}

.footer__nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, auto));
  gap: 1.2rem 4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav-item {
  margin: 0;
  padding: 0;
}

.footer__nav-item a {
  display: inline-block;
  padding: 0.5rem 0;
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer__nav-item a:hover {
  color: #0077b6;
}

/* ---------------------------------------------------------
   コピーライト
--------------------------------------------------------- */
.footer__bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer__copyright {
  margin: 0;
  color: #aaa;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

/* =========================================================
   PC
========================================================= */
@media screen and (min-width: 769px) {
  .global-nav {
    display: block !important;
  }
}
/* =========================================================

========================================================= */
@media screen and (max-width: 768px) {
  .header__inner,
  .footer__inner {
    width: min(100% - 3rem, 1200px);
  }
  /* -------------------------------------------------------
     ヘッダー
  ------------------------------------------------------- */
  .header__inner {
    min-height: 70px;
  }
  .header__brand {
    gap: 1rem;
  }
  .header__logo {
    width: 30px;
  }
  .header__company-name {
    font-size: 1.2rem;
  }
  /* -------------------------------------------------------
     ハンバーガーボタン
  ------------------------------------------------------- */
  .header__menu-button {
    display: block;
    z-index: 1001;
    flex-shrink: 0;
  }
  /* -------------------------------------------------------
     モバイルナビ
  ------------------------------------------------------- */
  .global-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    visibility: hidden;
    padding: 2rem 1.5rem 3rem;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  .global-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .global-nav__item {
    border-bottom: 1px solid #eee;
  }
  .global-nav__item:first-child {
    border-top: 1px solid #eee;
  }
  .global-nav__link {
    padding: 1.6rem 1rem;
    font-size: 1.5rem;
  }
  .global-nav__link::after {
    display: none;
  }
  .global-nav__link:hover {
    color: #0077b6;
    background-color: #fafafa;
  }
  /* -------------------------------------------------------
     メニューOPEN
  ------------------------------------------------------- */
  .header.is-menu-open .global-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  /* -------------------------------------------------------
     セクション見出し
  ------------------------------------------------------- */
  .section-heading {
    margin-bottom: 3.5rem;
  }
  .section-heading__sub {
    font-size: 1.2rem;
  }
  .section-heading__title {
    font-size: 2.6rem;
  }
  /* -------------------------------------------------------
     フッター
  ------------------------------------------------------- */
  .footer__main {
    display: block;
    padding: 5rem 0 4rem;
  }
  .footer__company {
    max-width: none;
    margin-bottom: 4rem;
  }
  .footer__logo {
    width: 30px;
  }
  .footer__company-name {
    font-size: 1.4rem;
  }
  .footer__address {
    font-size: 1.3rem;
  }
  /* -------------------------------------------------------
     フッターナビ
  ------------------------------------------------------- */
  .footer__nav-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .footer__nav-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .footer__nav-item a {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.3rem;
  }
  .footer__bottom {
    padding: 1.8rem 0;
  }
  .footer__copyright {
    font-size: 1rem;
  }
}
/* =========================================================
   小さいスマートフォン
========================================================= */
@media screen and (max-width: 480px) {
  html {
    font-size: 60%;
  }
  .header__inner,
  .footer__inner {
    width: calc(100% - 2.4rem);
  }
  .header__logo {
    width: 25px;
  }
  .header__company-name {
    font-size: 1.05rem;
  }
  .header__menu-button {
    width: 44px;
    height: 44px;
  }
  .header__menu-line {
    width: 25px;
  }
  .footer__logo {
    width: 25px;
  }
}/*# sourceMappingURL=common.css.map */