@charset "UTF-8";
/* ======================================================================
 setting
====================================================================== */
/* ======================================================================
 .p_office — 事務所案内
====================================================================== */
.p_office {
  background: #f0f0f0;
}
.p_office .l_container {
  overflow-x: hidden;
}
.p_office #tokyo,
.p_office #chuo {
  scroll-margin-top: 100px;
}

/* ----------------------------------------------------------------------
 hero
---------------------------------------------------------------------- */
.p_office_hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  overflow: hidden;
  background: #002e3e;
}
@media screen and (max-width: 768px) {
  .p_office_hero {
    min-height: 350px;
    align-items: flex-end;
  }
}

.p_office_hero_bg {
  position: absolute;
  inset: 0;
}
.p_office_hero_bg picture,
.p_office_hero_bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p_office_hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(80deg, #002e3e 0%, #002e3e 14.62%, rgba(0, 102, 149, 0.85) 39.319%, rgba(0, 102, 149, 0.3) 64.686%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.p_office_hero_inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 50px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .p_office_hero_inner {
    padding-left: 4.6875vw;
    padding-right: 4.6875vw;
    padding-bottom: 30px;
  }
}

.p_office_hero_ttl {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.013em;
}
@media screen and (max-width: 768px) {
  .p_office_hero_ttl {
    margin-bottom: 15px;
    font-size: 3rem;
  }
}

.p_office_hero_en {
  position: relative;
  margin: 0;
  padding-left: 40px;
  color: #fff;
  font-family: "Lexend Giga", sans-serif, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.0375em;
}
.p_office_hero_en::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 1px;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .p_office_hero_en {
    padding-left: 30px;
    font-size: 1.4rem;
    line-height: 24px;
  }
  .p_office_hero_en::before {
    width: 20px;
  }
}

/* ----------------------------------------------------------------------
 office block（東京本店 / 東京中央）
---------------------------------------------------------------------- */
.p_office_block {
  position: relative;
  z-index: 1;
  margin-top: 10rem;
  padding: 8rem 0 0;
}
.p_office_block:last-of-type {
  padding-bottom: 15rem;
}
.p_office_block::after {
  content: '';
  display: block;
  width: calc(50% + 40rem);
  height: 53rem;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: linear-gradient(120deg, #00577e 30%, #002c3f 95%);
}
@media screen and (max-width: 768px) {
  .p_office_block {
    margin-top: 6rem;
    padding: 6rem 0 0;
  }
  .p_office_block:last-of-type {
    padding-bottom: 10rem;
  }
  .p_office_block::after {
    width: 35.5rem;
    max-width: calc(100% - 2rem);
    height: 30rem;
  }
  .p_office_block:has(.p_office_gallery)::after {
    height: 50rem;
  }
}

.p_office_hg {
  position: relative;
  z-index: 2;
  color: #fff;
}

.p_office_hg_ttl {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 768px) {
  .p_office_hg_ttl {
    font-size: 2.8rem;
  }
}

.p_office_hg_en {
  margin: 0;
  font-family: "Lexend Giga", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 3rem;
  letter-spacing: -0.1em;
}
@media screen and (max-width: 768px) {
  .p_office_hg_en {
    font-size: 1.4rem;
  }
}

/* gallery（東京本店のみ・無限スクロール） */
.p_office_gallery {
  position: absolute;
  top: 1rem;
  left: 40rem;
  z-index: 5;
  overflow: hidden;
}
.p_office_gallery::before {
  content: '';
  width: 7rem;
  height: calc(100% - 4.5rem);
  display: block;
  background: linear-gradient(90deg, #00577e, rgba(0, 87, 126, 0));
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.p_office_gallery::after {
  content: '';
  width: 7rem;
  height: 4.5rem;
  display: block;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 32;
}
@media screen and (max-width: 768px) {
  .p_office_gallery {
    top: 10rem;
    left: 0;
  }
  .p_office_gallery::before, .p_office_gallery::after {
    display: none;
  }
}

.p_office_gallery_list {
  width: 384rem;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: p_office_galanim 40s infinite linear;
}

.p_office_gallery_item {
  width: 30rem;
  margin-right: 2rem;
  flex-shrink: 0;
}
.p_office_gallery_item img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes p_office_galanim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.p_office_gallery + .p_office_hg + .p_office_data {
  margin-top: 10rem;
}
@media screen and (max-width: 768px) {
  .p_office_gallery + .p_office_hg + .p_office_data {
    margin-top: 20rem;
    padding-top: 10rem;
  }
}

/* data card */
.p_office_data {
  position: relative;
  z-index: 3;
  margin-left: 8rem;
  margin-top: 8rem;
  padding: 10rem;
  background: #fff;
}
.p_office_data::before {
  content: '';
  width: 50vw;
  height: 100%;
  display: block;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .p_office_data {
    margin-left: 0;
    margin-top: 4rem;
    padding: 5rem 0 5rem 2rem;
  }
}

.p_office_tbl {
  width: 100%;
  border-collapse: collapse;
}
.p_office_tbl th,
.p_office_tbl td {
  padding: 3.5rem 3rem;
  vertical-align: middle;
  text-align: left;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, 游ゴシック体, "Yu Gothic", YuGothic, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 3rem;
  letter-spacing: 0.06em;
}
.p_office_tbl th {
  width: 1%;
  white-space: nowrap;
  border-top: 2px solid #00577e;
  color: #00577e;
}
.p_office_tbl td {
  border-top: 2px solid #e3e3e3;
  color: #293539;
}
.p_office_tbl tr:last-child th {
  border-bottom: 2px solid #00577e;
}
.p_office_tbl tr:last-child td {
  border-bottom: 2px solid #e3e3e3;
}
@media screen and (max-width: 768px) {
  .p_office_tbl th,
  .p_office_tbl td {
    padding: 1.5rem 1rem 2.5rem 0;
  }
  .p_office_tbl th {
    letter-spacing: 0;
  }
  .p_office_tbl td {
    padding-left: 2rem;
  }
}

.p_office_name {
  display: inline-block;
  margin-right: 5rem;
}

.p_office_detail {
  border: 1px solid #00577e;
  color: #00577e;
  width: 15rem;
  height: 3rem;
  display: inline-grid;
  place-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: 0.25s ease-in-out;
  box-sizing: border-box;
  vertical-align: middle;
}
.p_office_detail:link, .p_office_detail:visited {
  color: #00577e;
}
@media screen and (min-width: 769px) {
  .p_office_detail:hover {
    background: #00577e;
    color: #fff;
  }
}
@media screen and (max-width: 768px) {
  .p_office_detail {
    width: 11rem;
    height: 2.3rem;
  }
}

.p_office_map {
  width: 100%;
  height: 30rem;
  margin-top: 5rem;
}
.p_office_map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/*# sourceMappingURL=p_office.css.map */
