@charset "UTF-8";
/* =========================================================
   company.scss
   西新井相互自動車株式会社
   会社概要ページ
========================================================= */
/* =========================================================
   ページヘッダー
========================================================= */
.page-header {
  padding: 9rem 2rem 8rem;
  background-color: #f4f9fb;
  text-align: center;
}

.page-header__inner {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.page-header__sub {
  margin: 0 0 1.2rem;
  color: #0077b6;
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

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

.page-header__text {
  margin: 2rem 0 0;
  color: #555;
  font-size: 1.6rem;
  line-height: 1.9;
}

/* =========================================================
   ご挨拶
========================================================= */
.company-message {
  padding: 10rem 0;
  background-color: #fff;
}

.company-message__inner {
  width: min(100% - 4rem, 1200px);
  margin-inline: auto;
}

.company-message__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7rem;
}

.company-message__image {
  overflow: hidden;
}

.company-message__image img {
  width: 100%;
  height: 420px;
  -o-object-fit: cover;
     object-fit: cover;
}

.company-message__body {
  padding: 1rem 0;
}

.company-message__title {
  margin: 0 0 3rem;
  color: #222;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.company-message__text {
  margin: 0 0 2rem;
  color: #555;
  font-size: 1.5rem;
  line-height: 2;
}

.company-message__text:last-child {
  margin-bottom: 0;
}

/* =========================================================
   会社概要
========================================================= */
.company-profile {
  padding: 10rem 0;
  background-color: #f7f8f9;
}

.company-profile__inner {
  width: min(100% - 4rem, 1000px);
  margin-inline: auto;
}

/* ---------------------------------------------------------
   テーブル
--------------------------------------------------------- */
.company-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-top: 2px solid #0077b6;
}

.company-table th,
.company-table td {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
  text-align: left;
}

.company-table th {
  width: 28%;
  color: #333;
  background-color: #edf5f9;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.company-table td {
  color: #444;
  font-size: 1.5rem;
  line-height: 1.9;
}

.company-table td a {
  color: #0077b6;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.company-table td a:hover {
  opacity: 0.7;
}

/* =========================================================
   事業内容
========================================================= */
.business-section {
  padding: 10rem 0;
  background-color: #fff;
}

.business-section__inner {
  width: min(100% - 4rem, 1000px);
  margin-inline: auto;
}

.business-list {
  border-top: 1px solid #ddd;
}

.business-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid #ddd;
}

.business-item__number {
  color: #0077b6;
  font-family: Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.business-item__title {
  margin: 0 0 1.5rem;
  color: #222;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.business-item__text {
  max-width: 700px;
  margin: 0;
  color: #555;
  font-size: 1.5rem;
  line-height: 2;
}

/* =========================================================
   アクセス
========================================================= */
.company-access {
  padding: 8rem 0;
  background-color: #eef6fa;
}

.company-access__inner {
  width: min(100% - 4rem, 1000px);
  margin-inline: auto;
}

.company-access__content {
  padding: 6rem;
  background-color: #fff;
  text-align: center;
}

.company-access__sub {
  margin: 0 0 1rem;
  color: #0077b6;
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.company-access__title {
  margin: 0 0 2rem;
  color: #222;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
}

.company-access__text {
  margin: 0 0 3rem;
  color: #555;
  font-size: 1.5rem;
}

.company-access__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 1.5rem 3rem;
  color: #fff;
  background-color: #0077b6;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.company-access__button:hover {
  background-color: #005f8f;
  transform: translateY(-2px);
}

/* =========================================================
   PC
========================================================= */
@media screen and (min-width: 769px) {
  .company-message__image {
    position: relative;
  }
  .company-message__image::after {
    position: absolute;
    right: -20px;
    bottom: -20px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #e9f4f9;
    content: "";
  }
}
/* =========================================================
   タブレット
========================================================= */
@media screen and (max-width: 768px) {
  .page-header {
    min-height: 220px;
  }
  .page-header__inner {
    width: min(100% - 3rem, 1200px);
  }
  /* -------------------------------------------------------
     ご挨拶
  ------------------------------------------------------- */
  .company-message {
    padding: 7rem 0;
  }
  .company-message__inner {
    width: min(100% - 3rem, 1200px);
  }
  .company-message__content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .company-message__image img {
    height: 350px;
  }
  .company-message__title {
    margin-bottom: 2rem;
    font-size: 2.6rem;
  }
  /* -------------------------------------------------------
     会社概要
  ------------------------------------------------------- */
  .company-profile {
    padding: 7rem 0;
  }
  .company-profile__inner {
    width: min(100% - 3rem, 1000px);
  }
  .company-table th,
  .company-table td {
    padding: 1.6rem 1.5rem;
  }
  .company-table th {
    width: 30%;
    font-size: 1.4rem;
  }
  .company-table td {
    font-size: 1.4rem;
  }
  /* -------------------------------------------------------
     事業内容
  ------------------------------------------------------- */
  .business-section {
    padding: 7rem 0;
  }
  .business-section__inner {
    width: min(100% - 3rem, 1000px);
  }
  .business-item {
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .business-item__number {
    font-size: 2.2rem;
  }
  .business-item__title {
    font-size: 2rem;
  }
  /* -------------------------------------------------------
     アクセス
  ------------------------------------------------------- */
  .company-access {
    padding: 6rem 0;
  }
  .company-access__inner {
    width: min(100% - 3rem, 1000px);
  }
  .company-access__content {
    padding: 4rem 2rem;
  }
}
/* =========================================================
   小さいスマートフォン
========================================================= */
@media screen and (max-width: 480px) {
  .page-header {
    min-height: 180px;
  }
  .page-header__inner {
    width: calc(100% - 2.4rem);
  }
  .page-header__sub {
    font-size: 1.2rem;
  }
  .page-header__title {
    font-size: 3rem;
  }
  /* -------------------------------------------------------
     ご挨拶
  ------------------------------------------------------- */
  .company-message {
    padding: 6rem 0;
  }
  .company-message__inner {
    width: calc(100% - 2.4rem);
  }
  .company-message__image img {
    height: 240px;
  }
  .company-message__title {
    font-size: 2.2rem;
  }
  .company-message__text {
    font-size: 1.4rem;
  }
  /* -------------------------------------------------------
     会社概要
  ------------------------------------------------------- */
  .company-profile {
    padding: 6rem 0;
  }
  .company-profile__inner {
    width: calc(100% - 2.4rem);
  }
  .company-table {
    min-width: 600px;
  }
  .company-table th,
  .company-table td {
    padding: 1.4rem 1.2rem;
  }
  .company-table th {
    width: 130px;
    font-size: 1.3rem;
  }
  .company-table td {
    font-size: 1.3rem;
  }
  /* -------------------------------------------------------
     事業内容
  ------------------------------------------------------- */
  .business-section {
    padding: 6rem 0;
  }
  .business-section__inner {
    width: calc(100% - 2.4rem);
  }
  .business-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 0;
  }
  .business-item__number {
    font-size: 2rem;
  }
  .business-item__title {
    font-size: 1.9rem;
  }
  .business-item__text {
    font-size: 1.4rem;
  }
  /* -------------------------------------------------------
     アクセス
  ------------------------------------------------------- */
  .company-access {
    padding: 5rem 0;
  }
  .company-access__inner {
    width: calc(100% - 2.4rem);
  }
  .company-access__content {
    padding: 3.5rem 1.5rem;
  }
  .company-access__title {
    font-size: 2.4rem;
  }
  .company-access__text {
    font-size: 1.4rem;
  }
  .company-access__button {
    width: 100%;
    min-width: 0;
  }
}/*# sourceMappingURL=company.css.map */