@charset "UTF-8";

/* 
============================================================
---- リード文ブロック
============================================================
*/
.officeGroupIntro > header > p {
  letter-spacing: -0.035em;
}

/* 
============================================================
---- 各拠点
============================================================
*/
.eachLocation {
  padding-block: 78px 0;
}

.eachLocation > div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.eachLocation > div > header {
  padding: 34px 16px 34px 8px;
  cursor: pointer;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
}

.eachLocation > div > header::before,
.eachLocation > div > header::after {
  content: "";
  grid-row: 1;
  grid-column: 2;
  place-self: center;
  transition: transform 0.3s;
}

.eachLocation > div > header::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  aspect-ratio: 1;
  border: 1px solid var(--color-white);
  border-radius: 50%;
}

.eachLocation > div > header::after {
  display: block;
  width: 12px;
  aspect-ratio: 1;
  mask: url(../../img/common/icon-arrow-navy.svg) no-repeat center / contain;
  background: var(--color-white);
  transform: rotate(90deg);
}

.eachLocation > div > header.open::after {
  transform: rotate(-90deg);
}

.eachLocation > div > header > div > h2 {
  font-family: var(--font-zen-kaku-gothic-new);
  font-size: 28px;
  font-weight: 500;
  margin-top: 6px;
}

.eachLocation > div > header > div {
  transition: opacity 0.3s;
}

.eachLocation > div > header:hover > div {
  opacity: 0.7;
}

.eachLocation > div > ul > li {
  padding: 34px 0 34px 8px;
  display: grid;
  grid-template-columns: 284px 1fr 240px;
  column-gap: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.eachLocation > div > ul > li > header {
  padding-block: 6px;
}

.eachLocation > div > ul > li > header > h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.eachLocation > div > ul > li > header > p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 12px;
  width: fit-content;
}

.eachLocation > div > ul > li > div > p,
.eachLocation > div > ul > li > div > a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.eachLocation > div > ul > li > div > p a {
  color: inherit;
  text-decoration: underline;
}

.eachLocation > div > ul > li > div > p a[href^="tel:"] {
  text-decoration: none;
}

.eachLocation > div > ul > li > div > a {
  color: inherit;
  text-decoration: none;
  margin-top: 1.75em;
  display: inline-block;
}

.eachLocation > div > ul > li > img {
  width: 100%;
  height: auto;
  aspect-ratio: 240 / 160;
  object-fit: cover;
  margin-block: 8px;
}

@media screen and (max-width: 1279px) {
  .eachLocation > div > ul > li {
    grid-template-columns: 220px 1fr 240px;
    column-gap: 48px;
  }
}

@media screen and (max-width: 1023px) {
  .eachLocation > div > ul > li {
    grid-template-columns: 200px 1fr 220px;
    column-gap: 32px;
  }
}

@media screen and (max-width: 767px) {
  .eachLocation {
    padding-block: 50px 20px;
  }

  .eachLocation > div:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .eachLocation > div > header {
    padding: 22px 8px 28px 8px;
  }

  .eachLocation > div > header::before {
    width: 21px;
  }

  .eachLocation > div > header::after {
    width: 8px;
  }

  .eachLocation > div > header:hover > div {
    opacity: unset;
  }

  .eachLocation > div > header > div > h2 {
    font-size: 20px;
    margin-top: 1px;
  }

  .eachLocation > div > ul > li {
    padding: 20px 8px 30px;
    display: block;
  }

  .eachLocation > div > ul > li > header > h3 {
    font-size: 18px;
  }

  .eachLocation > div > ul > li > header > p {
    font-size: 13px;
    padding: 0 4px;
    margin-top: 8px;
  }

  .eachLocation > div > ul > li > div {
    margin-top: 18px;
  }

  .eachLocation > div > ul > li > div > p,
  .eachLocation > div > ul > li > div > a {
    font-size: 14px;
    line-height: 1.357;
    letter-spacing: -0.03em;
  }

  .eachLocation > div > ul > li > div > a {
    margin-top: 1.357em;
  }

  .eachLocation > div > ul > li > img {
    width: calc(240 / 750 * 100vw);
    min-width: 120px;
    margin-block: 24px 0;
  }
}
