/* ===================================
   ABOUTページ
=================================== */
/* バリアブル上書き */
#about section {
  margin-top: 0;
}

.top {
  padding-bottom: 0;
}

/* ページタイトル下テキスト */
#about .page-header small {
  display: block;
  margin-top: 20px;
  font-size: 1.3em;
  font-weight: 500;
  color: var(--color-darkgray);
}

#about .section-header {
  display: flex;
  align-items: center;
  gap: 2.5em;
}

#about .section-header-img {
  width: 3.8em;
}

#about .section-header-img img {
  height: auto;
}

#about .section-title {
  flex: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

#about .section-title h2 {
  margin: 0;
  font-size: 2em;
  color: var(--color-white);
  font-weight: 700;
}

#about .section-title span {
  margin: 0;
  font-size: 1.23em;
}

/* -----------------------------------
   GREETING
----------------------------------- */
#about .greeting {
  position: relative;
}

#about .greeting::after {
  content: "";
  position: absolute;
  top: -23vw;
  right: 0;
  width: 70%;
  height: 150%;
  background-image: url(../_img/illust_city_line.webp);
  background-position: top left;
  background-size: 160%;
  background-repeat: no-repeat;
  pointer-events: none;
}

#about .greeting__message {
  margin-top: 15em;
  color: var(--color-white);
}

#about .greeting__message h3 {
  font-size: 3.4em;
  text-align-last: left;
}

#about .greeting__message p {
  margin-top: 4.5em;
  font-size: 1.2em;
  line-height: 2.6;
  font-weight: 300;
}

#about .greeting__company {
  margin-top: 8em;
  font-weight: 400;
}

#about .greeting__company .medium {
  font-size: 1.5em;
}

#about .greeting__company .small {
  font-size: 1.3em;
}

#about .greeting__company div {
  margin-top: 0.5em;
}

#about .greeting__company .large {
  font-size: 1.8em;
  font-weight: 500;
  padding-left: 1em;
}

/* -----------------------------------
   CONCEPT
----------------------------------- */
#about .concept {
  background: url(../_img/about/bg_concept.webp) center / cover no-repeat;
}

#about .concept__inner {
  border-radius: 50%;
  aspect-ratio: 1/1;
  background: rgb(255, 255, 255, 0.8);
  text-align: center;
  padding: clamp(8em, 13vw, 15em) clamp(20px, 3vw, 40px) clamp(6em, 10vw, 12em);
  display: flex;
  flex-direction: column;
  gap: clamp(4em, 7vw, 8em);
}

#about .concept-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#about .concept-title img {
  width: clamp(2.5em, 4vw, 4em);
  height: auto;
}

#about .concept-title h2 {
  margin-top: 0.4em;
  font-size: clamp(1.4em, 2vw, 2em);
}

#about .concept-title span {
  margin-top: 0.1em;
  font-size: clamp(0.9em, 1.2vw, 1.2em);
}

#about .concept__center h3 {
  color: var(--color-blue);
  font-size: clamp(1.8em, 3.2vw, 3.8em);
  font-weight: 600;
  letter-spacing: 0.1em;
}

#about .concept__center h4 {
  margin-top: 2em;
  font-size: clamp(1.2em, 1.6vw, 2em);
  letter-spacing: 0.1em;
}

#about .concept p {
  font-size: clamp(1em, 1.2vw, 1.2em);
  margin-top: 3em;
  line-height: 3;
  letter-spacing: 0.1em;
}

#about .concept__bottom h3 {
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(1em, 1.4vw, 1.6em);
  color: var(--color-lightblue);
  border-bottom: 2px solid var(--color-blue);
  padding-bottom: 0.4em;
}

#about .concept__bottom p {
  margin-top: 1.8em;
}

/* -----------------------------------
   COMPANY (会社概要)
----------------------------------- */
#about .company {
  padding: var(--section-space) 0;
}

#about .company .section-title h2 {
  color: var(--color-blue);
}

#about .company-info {
  margin-top: 5em;
}

/* 2カラムレイアウト */
#about .company-grid {
  margin-top: 10vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
}

#about .company-table {
  margin: 0;
}

#about .company-table>div {
  margin-top: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
}

#about .company-table dt {
  font-weight: 700;
  color: var(--color-blue);
  padding: 1.8em 0;
  border-top: 2px solid var(--color-blue);
  font-size: 1.2em;
  padding-left: 0.5em;
}

#about .company-table dd {
  font-size: 1.2em;
  padding: 1.8em 0;
  margin: 0;
  border-top: 1px solid var(--color-darkgray);
  padding-left: 0.5em;
  font-weight: 400;
}

#about .company-table dd:has(.license-list) {
  border-bottom: 1px solid var(--color-darkgray);
}

/* 営業所リスト */
#about .office-list {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
}

#about .office-list li {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

#about .office-info {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

#about .office-name {
  position: relative;
  font-weight: 700;
  font-size: 1.05em;
  padding-left: 1.1em;
}

#about .office-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.7em;
  height: 0.7em;
  background: var(--color-black);
  border-radius: 50%;
}

#about .office-address {
  font-size: 0.9em;
  line-height: 1.6;
  color: var(--color-black);
}

#about .map-link {
  margin-top: 3.2em;
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex-shrink: 0;
  font-size: 0.7em;
  font-weight: 700;
  color: var(--color-lightblue);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

#about .map-link::after {
  content: "";
  width: 1.2em;
  height: 1.2em;
  background: url(../_img/icon/google-map.svg) center / contain no-repeat;
}

/* 事業内容リスト */
#about .business-list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

#about .business-list li {
  position: relative;
  padding-left: 1.2em;
}

#about .business-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.7em;
  height: 0.7em;
  background: var(--color-black);
  border-radius: 50%;
}

/* 免許・許可リスト */
#about .license-list {
  margin: 0;
  display: flex;
  flex-direction: column;
}

#about .license-list>div {
  margin-top: 0;
  display: flex;
  padding: 0.5em 0;
}

#about .license-list>div:first-child {
  padding-top: 0;
}

#about .license-list dt {
  width: 180px;
  flex-shrink: 0;
  font-weight: 500;
  font-size: 0.95em;
  color: var(--color-black);
  border: none;
  padding: 0;
}

#about .license-list dd {
  margin: 0;
  font-size: 0.95em;
  color: var(--color-black);
  border: none;
  padding: 0;
}

/* -----------------------------------
   HISTORY (沿革)
----------------------------------- */
#about .history img {
  height: auto;
}

#about .history .history-contents {
  position: relative;
}

#about .history .section-header {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  position: absolute;
  top: 0;
  left: 1em;
}

#about .history .section-title {
  display: flex;
  flex-direction: row-reverse;
  max-width: 60px;
  width: 100%;
  gap: 0.7em;
}

#about .history .section-title h2 {
  writing-mode: vertical-lr;
  letter-spacing: 0.6em;
  line-height: 1;
}

#about .history .section-title span {
  writing-mode: vertical-lr;
  line-height: 1;
}

/* -----------------------------------
   ACCESS (アクセス)
----------------------------------- */
#about .access-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#about .access-title img {
  width: 6em;
  height: auto;
}

#about .access-title h2 {
  margin-top: 0.4em;
  font-size: 2em;
}

#about .access-title span {
  margin-top: 0.1em;
  font-size: 1.2em;
}

/* アクセスセクションタイトル */
#about .access-section-title {
  display: flex;
  align-items: end;
  gap: 1.5em;
  padding: 1em 1.5em;
  border: 1px solid var(--color-black);
}

#about .access-section-title * {
  margin-top: 0;
}

#about .access-section-title h3 {
  font-weight: 900;
  font-size: 1.8em;
  line-height: 1;
  color: var(--color-black);
}

#about .access-section-title span {
  font-size: 1.4em;
  line-height: 1;
}

/* 本社エリア */
#about .access-main>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
}

#about .access-main__image {
  aspect-ratio: 599/380;
}

#about .access-main__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#about .access-main__info {
  margin-top: 0;
}

#about .access-main__info h4 {
  font-size: 1.4em;
  margin-top: 0;
}

#about .access-main__address {
  margin-bottom: 0.6em;
  font-size: 1.3em;
}

#about .access-main address p {
  font-size: 1.3em;
  margin-top: 0.1em;
}

/* アクセスページのマップリンク */
#about .access-map-link {
  margin-top: 1.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--color-lightblue);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.3em;
}

#about .access-map-link::after {
  content: "";
  margin-top: 0.2em;
  width: 1.2em;
  height: 1.2em;
  background: url(../_img/icon/google-map.svg) center / contain no-repeat;
}

#about .access-item__info .access-map-link {
  margin-top: 1em;
  font-size: 1.2em;
}

/* カテゴリー（物流センター、無印良品の家） */
#about .access-category {
  margin-top: 10em;
}

#about .access-list {
  margin-top: 3.5em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  padding-right: 5em;
}

#about .access-item {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5em;
  align-items: start;
}

#about .access-item__info {
  margin-top: 0;
}

#about .access-item__image {
  aspect-ratio: 17 / 12;
}

#about .access-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#about .access-item__info h4 {
  font-size: 1.3em;
  font-weight: 600;
}

#about .access-item__info address {
  margin-top: 1em;
}

#about .access-item__info address.large p {
  font-size: 1.4em;
}

#about .access-item__info address p {
  margin-top: 0;
  font-size: 1.25em;
}

/* ===================================
   レスポンシブ
=================================== */

/* タブレット (max-width: 990px) */
@media (max-width: 990px) {

  /* GREETING */
  #about .greeting__message {
    margin-top: 10em;
  }

  #about .greeting__message h3 {
    font-size: 2.8em;
  }

  #about .greeting__message p {
    font-size: 1.1em;
    line-height: 2.2;
  }

  #about .greeting__company {
    margin-top: 5em;
  }

  /* CONCEPT */
  #about .concept p {
    line-height: 2.5;
  }

  /* COMPANY */
  #about .company-grid {
    gap: 0;
    grid-template-columns: 1fr;
  }

  #about .license-list dt {
    width: 160px;
  }

  /* ACCESS */
  #about .access-main>div {
    gap: 2em;
  }

  #about .access-list {
    padding-right: 0;
    gap: 2.5em;
  }

  #about .access-item {
    gap: 1.5em;
  }

  #about .access-category {
    margin-top: 7em;
  }
}

/* タブレット中 (max-width: 800px) */
@media (max-width: 800px) {

  /* ACCESS カテゴリーリスト */
  #about .access-list {
    grid-template-columns: 1fr;
    gap: 3em;
  }

  #about .access-item {
    grid-template-columns: 1fr 1fr;
    gap: 2em;
  }

  #about .access-category {
    margin-top: 5em;
  }
}

/* タブレット小 (max-width: 720px) */
@media (max-width: 720px) {

  /* GREETING */
  #about .greeting__message {
    margin-top: 6em;
  }

  #about .greeting__message h3 {
    font-size: 2.2em;
  }

  #about .greeting__message p {
    margin-top: 3em;
    font-size: 1em;
    line-height: 2;
  }

  #about .greeting__company {
    margin-top: 4em;
  }

  #about .greeting__company .medium {
    font-size: 1.3em;
  }

  #about .greeting__company .small {
    font-size: 1.1em;
  }

  #about .greeting__company .large {
    font-size: 1.5em;
  }

  /* CONCEPT */
  #about .concept__inner {
    border-radius: 2em;
    aspect-ratio: auto;
    padding: 6em 20px;
    gap: 0;
  }

  #about .concept p {
    line-height: 2.2;
  }

  /* COMPANY */
  #about .company-table>div {
    grid-template-columns: 100px 1fr;
  }

  #about .company-table dt {
    font-size: 1.1em;
  }

  #about .company-table dd {
    font-size: 1.1em;
  }

  #about .license-list dt {
    width: 140px;
  }

  #about .license-list>div {
    flex-direction: column;
    gap: 0.2em;
  }

  /* ACCESS */
  #about .access-title h2 {
    font-size: 1.8em;
  }

  #about .access-title span {
    font-size: 1.1em;
  }

  #about .access-section-title {
    padding: 0.8em 1.2em;
    gap: 1em;
  }

  #about .access-section-title h3 {
    font-size: 1.5em;
  }

  #about .access-section-title span {
    font-size: 1.2em;
  }

  #about .access-main>div {
    grid-template-columns: 1fr;
    gap: 2em;
  }

  #about .access-main__address {
    font-size: 1.2em;
  }

  #about .access-main address p {
    font-size: 1.2em;
  }

  #about .access-map-link {
    font-size: 1.2em;
  }
}

/* スマホ (max-width: 520px) */
@media (max-width: 520px) {

  /* 共通 */
  .page-header {
    padding-bottom: 42vw;
  }

  #about .section-header {
    gap: 1.2em;
  }

  #about .section-header-img {
    width: 2.4em;
  }

  #about .company .section-header-img {
    width: 2.2em;
  }

  #about .section-title h2 {
    font-size: 1.5em;
  }

  #about .section-title span {
    font-size: 0.8em;
  }

  /* GREETING */
  #about .greeting {
    padding-top: 45vw;
  }

  #about .greeting::after {
    top: -67vw;
    width: 100%;
    background-position: 20% 0;
    background-size: 210%;
  }

  #about .greeting__message {
    margin-top: 4em;
  }

  #about .greeting__message h3 {
    font-size: 1.8em;
  }

  #about .greeting__message p {
    margin-top: 2em;
    line-height: 1.8;
  }

  #about .greeting__company {
    margin-top: 3em;
  }

  #about .greeting__company .medium {
    font-size: 1.2em;
  }

  #about .greeting__company .small {
    font-size: 1em;
  }

  #about .greeting__company .large {
    font-size: 1.3em;
    padding-left: 0.5em;
  }

  /* CONCEPT */
  #about .concept__inner {
    padding: 4em 20px;
  }

  #about .concept-title img {
    width: 3em;
  }

  #about .concept-title h2 {
    font-size: 1.6em;
  }

  #about .concept-title span {
    font-size: 1em;
  }

  #about .concept__center h3 {
    font-size: 1.6em;
  }

  #about .concept__center h4 {
    margin-top: 1.5em;
    font-size: 1.2em;
  }

  #about .concept p {
    margin-top: 2em;
    font-size: 1em;
    line-height: 1.8;
  }

  #about .concept__bottom h3 {
    font-size: 1.1em;
  }

  #about .concept__bottom p {
    margin-top: 1.2em;
  }

  /* COMPANY */
  #about .company-info {
    margin-top: 3em;
  }

  #about .company-table>div {
    grid-template-columns: 1fr;
    gap: 0.5em;
  }

  #about .company-table dt {
    font-size: 1em;
    padding: 1em 0 0 0.2em;
  }

  #about .company-table dd {
    border: none;
    font-size: 1em;
    padding: 0 0 1.8em 0.2em;
  }

  #about .office-list {
    gap: 1.5em;
  }

  #about .office-list li {
    flex-direction: column;
    gap: 0.1em;
  }

  #about .office-name {
    font-size: 1em;
  }

  #about .office-address {
    font-size: 0.9em;
  }

  #about .map-link {
    margin-top: 0.5em;
  }

  #about .business-list li {
    font-size: 1em;
  }

  #about .license-list>div {
    padding: 0.4em 0;
  }

  #about .license-list>div:first-child {
    margin-top: 0.5em;
  }

  #about .license-list dt {
    width: auto;
    font-size: 1em;
    padding: 0;
  }

  #about .license-list dd {
    font-size: 1em;
    padding: 0;
  }

  /* HISTORY */
  #about .history .section-header {
    flex-direction: row;
    justify-content: start;
    gap: 1.2em;
    position: relative;
    top: inherit;
    left: inherit;
  }

  #about .history .section-title {
    flex-direction: column;
    max-width: 100%;
    gap: 0.5em;
  }

  #about .history .section-title h2 {
    writing-mode: inherit;
  }

  #about .history .section-title span {
    writing-mode: inherit;
  }

  #about .history .history-main {
    margin-top: 3em;
    display: block;
  }

  /* ACCESS */
  #about .access-title img {
    width: 4em;
  }

  #about .access-title h2 {
    font-size: 1.6em;
  }

  #about .access-title span {
    font-size: 1em;
  }

  #about .access-section-title {
    padding: 0.7em 1em;
    gap: 0.8em;
    flex-direction: column;
    align-items: flex-start;
  }

  #about .access-section-title h3 {
    font-size: 1.4em;
  }

  #about .access-section-title span {
    font-size: 1em;
  }

  #about .access-main>div {
    margin-top: 2.5em;
  }

  #about .access-main__info h4 {
    font-size: 1.2em;
  }

  #about .access-main__address {
    font-size: 1.1em;
  }

  #about .access-main address p {
    font-size: 1.1em;
  }

  #about .access-map-link {
    font-size: 1.1em;
  }

  #about .access-list {
    margin-top: 2.5em;
    gap: 2.5em;
  }

  #about .access-item {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }

  #about .access-item__image {
    order: -1;
  }

  #about .access-item__info h4 {
    font-size: 1.2em;
  }

  #about .access-item__info address {
    margin-top: 0.8em;
  }

  #about .access-item__info address.large p {
    font-size: 1.2em;
  }

  #about .access-item__info address p {
    font-size: 1.1em;
  }

  #about .access-item__info .access-map-link {
    font-size: 1em;
    margin-top: 0.5em;
  }

  #about .access-category {
    margin-top: 4em;
  }
}