@charset "UTF-8";
/* -------------------------------------------------- */
/* Office page — 本社 / 事業所                        */
/* -------------------------------------------------- */
/* ---- Block 01: 本社 — info table ---- */
.page-title {
  padding: 11.9rem 0 10.9rem;
}
@media screen and (max-width: 768px) {
  .page-title {
    padding: 3.7rem 0 5.2rem;
  }
}
@media screen and (max-width: 768px) {
  .page-title .page-title__category {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    padding: 1.5rem 0 1.4rem;
  }
}

.page-intro {
  padding: 8.1rem 0 12rem;
}
.page-intro .page-intro__sections {
  display: flex;
  flex-direction: column;
  gap: 12.1rem;
  max-width: 84rem;
  width: 100%;
  flex-shrink: 0;
}
.page-intro .page-intro__title {
  margin: 0;
}
.page-intro .page-intro__title .page-intro__title-num {
  letter-spacing: 0.04em;
  line-height: 1.7rem;
  margin: 0;
}
.page-intro .page-intro__title .page-intro__title-text {
  line-height: 4.6rem;
  margin-top: -0.1rem;
}
.page-intro .page-intro__inner {
  padding: 0 8.8rem 0 4rem;
  justify-content: space-between;
}
.page-intro .page-intro__nav {
  top: 14rem;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  padding-top: 0.1rem;
  max-width: 17.6rem;
  flex: auto;
}
@media screen and (max-width: 768px) {
  .page-intro .page-intro__nav {
    padding: 0 1.8rem;
  }
}
.page-intro .page-intro__nav .page-intro__nav-item {
  white-space: nowrap;
  font-size: 1.2rem;
}
.page-intro .page-intro__nav .page-intro__nav-item::before {
  width: 0.8rem;
  height: 0.8rem;
}
.page-intro .page-intro__item {
  padding: 0;
}
.page-intro .page-intro__item--gray {
  padding: 6.5rem 0 12rem;
  position: relative;
}
.page-intro .page-intro__item--gray::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #F5F5F5;
  width: 101.6rem;
  left: -8.8rem;
  top: 0;
  border-radius: 0.8rem;
}
.page-intro .page-intro__item--gray .page-intro__title .page-intro__title-num {
  margin-bottom: 0;
}
.page-intro .page-intro__item--gray .page-intro__title .page-intro__title-text {
  padding-left: 0.8rem;
}

.office-table {
  display: flex;
  flex-direction: column;
  margin: 4.9rem 0 0;
  padding: 0;
}
.office-table .office-table__row {
  display: flex;
  gap: 2.4rem;
  align-items: flex-start;
  padding: 3.3rem 0 2.9rem;
  position: relative;
}
.office-table .office-table__row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 19.2rem;
  height: 0.3rem;
  background: linear-gradient(to right, #E50011 0%, #F59E0B 100%);
  z-index: 2;
}
.office-table .office-table__row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: #CECECE;
  z-index: 1;
}
.office-table .office-table__row:first-child {
  padding-top: 0;
}
.office-table .office-table__row:nth-child(4) {
  min-height: 21.6rem;
}
@media screen and (max-width: 768px) {
  .office-table .office-table__row:nth-child(4) {
    min-height: auto;
  }
}
.office-table .office-table__label {
  font-size: 1.6rem;
  font-weight: 600;
  color: #E50011;
  line-height: 2.4rem;
  letter-spacing: 0.04em;
  min-width: 19.2rem;
}
.office-table .office-table__value {
  flex: 1;
  font-size: 1.6rem;
  line-height: 2.8rem;
  letter-spacing: 0.04rem;
  color: #000000;
  margin: 0;
  position: relative;
  top: -0.3rem;
}
.office-table .office-table__value--map {
  height: 32.5rem;
  max-width: 57.6rem;
}
.office-table .office-table__value--map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.office-table .office-table__tel {
  color: #000000;
  text-decoration: none;
}
@media screen and (min-width: 769px) {
  .office-table .office-table__tel:hover {
    color: #E50011;
  }
}
.office-table .office-table__access-group,
.office-table .office-table__value h1,
.office-table .office-table__value h2,
.office-table .office-table__value h3,
.office-table .office-table__value h4,
.office-table .office-table__value h5,
.office-table .office-table__value h6 {
  color: #000000;
  margin: 0 0 0.8rem;
}
.office-table .office-table__access-group:not(:first-child),
.office-table .office-table__value h1:not(:first-child),
.office-table .office-table__value h2:not(:first-child),
.office-table .office-table__value h3:not(:first-child),
.office-table .office-table__value h4:not(:first-child),
.office-table .office-table__value h5:not(:first-child),
.office-table .office-table__value h6:not(:first-child) {
  margin-top: 2rem;
}
.office-table .office-table__access-group,
.office-table .office-table__value h3 {
  font-size: 1.6rem;
  font-weight: 600;
}
.office-table .office-table__value h1 {
  font-size: 2.4rem;
  font-weight: 700;
}
.office-table .office-table__value h2 {
  font-size: 2rem;
  font-weight: 700;
}
.office-table .office-table__value h4 {
  font-size: 1.4rem;
  font-weight: 600;
}
.office-table .office-table__value h5 {
  font-size: 1.2rem;
  font-weight: 600;
}
.office-table .office-table__value h6 {
  font-size: 1rem;
  font-weight: 500;
}
.office-table .office-table__value p {
  font-size: 1.6rem;
  font-style: normal;
  margin: 0;
}
.office-table .office-table__value strong {
  font-weight: 700;
}
.office-table .office-table__value em {
  font-style: italic;
}
.office-table .office-table__value u {
  text-decoration: underline;
}
.office-table .office-table__value s {
  text-decoration: line-through;
}
.office-table .office-table__value a {
  color: #E50011;
  text-decoration: underline;
}
.office-table .office-table__value a:hover {
  text-decoration: none;
}
.office-table .office-table__value blockquote {
  font-size: 1.6rem;
  color: #000000;
  border-left: 0.4rem solid #E50011;
  margin: 1.6rem 0;
  padding: 0.8rem 1.6rem;
}
.office-table .office-table__value hr {
  border: none;
  border-top: 1px solid #DDDDDD;
  margin: 2.4rem 0;
}
.office-table .office-table__value img {
  max-width: 100%;
  height: auto;
  display: block;
}
.office-table .office-table__value table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
}
.office-table .office-table__value th,
.office-table .office-table__value td {
  padding: 0.8rem 1.2rem;
  border: 1px solid #DDDDDD;
  text-align: left;
  vertical-align: top;
}
.office-table .office-table__value th {
  font-weight: 600;
  background-color: #F5F5F5;
}
.office-table .office-table__access-list, .office-table .office-table__value ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.office-table .office-table__access-item, .office-table .office-table__value ul li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 1.6rem;
  color: #000000;
  line-height: 2.8rem;
  padding-left: 2.4rem;
  position: relative;
}
.office-table .office-table__access-item::before, .office-table .office-table__value ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: #E50011;
  font-size: 1.2rem;
  line-height: 1.6;
  top: 0.6rem;
}
.office-table .office-table__value ol {
  padding-left: 2.4rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  list-style: decimal;
}
.office-table .office-table__value ol li {
  font-size: 1.6rem;
  color: #000000;
  line-height: 2.8rem;
  padding-left: 0.4rem;
}
.office-table .office-table__station, .office-table .office-table__value em {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 600;
  color: #E50011;
  border: 1.5px solid #E50011;
  padding: 0.2rem 1.6rem;
  line-height: 1.6;
  white-space: nowrap;
  border-radius: 0.4rem;
  font-style: normal;
}

/* ---- Block 02: 事業所 — card(s) ---- */
.office-card-grid {
  margin-top: 4.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.4rem;
}

.office-card {
  background: #FFFFFF;
  border-radius: 2.4rem;
  padding: 3.4rem 4rem 4rem;
  border: 0.2rem solid #EAEAEA;
  position: relative;
  overflow: hidden;
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 1.8rem;
  margin-bottom: 2.4rem;
  align-content: start;
}
.office-card:nth-last-child(-n+2) {
  margin-bottom: 0;
}
.office-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4rem;
  width: 32.8rem;
  height: 4px;
  background: linear-gradient(to right, #E50011, #F59E0B);
}
.office-card .office-card__name {
  font-size: 2rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.08em;
  margin: 0;
  padding-bottom: 1.2rem;
  line-height: 3.2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.office-card .office-card__table {
  display: contents;
  margin: 0;
  padding: 0;
}
.office-card .office-card__row {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}
.office-card .office-card__label {
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #000000;
  padding: 0rem 0.8rem 0rem;
  border-radius: 0.4rem;
  text-align: center;
  line-height: 2.8rem;
  white-space: nowrap;
  margin-top: 0.1rem;
  min-width: 8.3rem;
}
.office-card .office-card__value {
  flex: 1;
  font-size: 1.6rem;
  line-height: 2.8rem;
  letter-spacing: 0.04em;
  color: #000000;
  margin: 0;
}
.office-card .office-card__tel {
  color: #000000;
  text-decoration: none;
}
@media screen and (min-width: 769px) {
  .office-card .office-card__tel:hover {
    color: #E50011;
  }
}

/* ---- Responsive ---- */
@media screen and (max-width: 768px) {
  .page-intro {
    padding: 2.5rem 0 0;
  }
  .page-intro .page-intro__title .page-intro__title-text {
    font-size: 2rem;
    line-height: 2.9rem;
    margin: 0;
  }
  .page-intro .page-intro__inner {
    gap: 4.8rem;
  }
  .page-intro .page-intro__item:first-child .page-intro__title-num {
    margin-bottom: 0;
  }
  .office-table__value {
    flex: auto !important;
  }
  .page-intro__item {
    padding: 0 1.8rem !important;
  }
  .page-intro__item:nth-child(2) {
    padding: 4.8rem 1.8rem !important;
  }
  .page-intro__item:nth-child(2) .page-intro__title {
    margin: 0 0 3.3rem;
  }
  .page-intro__item:nth-child(2) .page-intro__title .page-intro__title-text {
    padding-left: 0 !important;
  }
  .page-intro__item:nth-child(3) .page-intro__title {
    margin: 0.8rem 0 3.3rem;
  }
  .page-intro__inner {
    padding: 0 0 8rem !important;
  }
  .page-intro__sections {
    width: 100% !important;
    gap: 5.6rem !important;
  }
  .office-table {
    margin-top: 3.2rem;
    gap: 2.7rem;
  }
  .office-table .office-table__row {
    flex-direction: column;
    gap: 2.7rem;
    padding: 0;
  }
  .office-table .office-table__row::before {
    bottom: auto;
    top: 3.3rem;
  }
  .office-table .office-table__row::after {
    bottom: auto;
    top: 3.2rem;
    width: 10.65rem;
  }
  .office-table .office-table__value--map {
    height: 19.1rem;
    width: 100%;
  }
  .office-table__station {
    padding: 0.2rem 1.6rem 0.1rem;
  }
  .office-table__access-group:not(:first-child) {
    margin-top: 1rem !important;
  }
  .office-card-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2.4rem;
    margin-top: 2.4rem;
  }
  .office-card__label {
    min-width: 8.7rem !important;
  }
  .office-card {
    padding: 3.4rem 2.9rem 4rem;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
  .office-card::before {
    left: 4.9rem;
    width: 24.1rem;
  }
  .office-card__name {
    display: block;
    margin: 0 0 3rem;
    padding-bottom: 0;
  }
  .office-card__table {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
  }
}
