/* overview */
.overviewWrap{
    width: 80%;
    margin: 100px auto 0;
}
.overviewDetailWrap{
}
.overviewDetail{
    display: flex;
    border-top: 1px solid #8d8d8d;
    padding: 30px 0;
}
.overviewDetail:last-child{
    border-bottom: 1px solid #8d8d8d;
}
.overviewDetail dt{
    font-size: 1.6rem;
    width: 10rem;
}
.overviewDetail dd{
    font-size: 1.6rem;
    line-height: 1.7rem;
}


/* office */
.officeWrap{
    width: 80%;
    margin: 100px auto 0;
}
.officeImgWrap{
    max-width: 100%;
    margin: 0 auto 50px;
}
.officeImgWrap img{
    width: 100%;
    height: auto;
    border-radius: 38px;
}
.officeDetailWrap{

}
.officeDetailTtl{
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 1px solid #8d8d8d;
}
.officeAddress{
    display: block;
    font-size: 1.6rem;
    padding-top: 15px;
}
.officeDetailTxt{
    padding-top: 50px;
    font-size: 1.6rem;
    line-height: 3.0rem;
}


/* -----------------オフィス写真------------------ */

.sp-br{
  display: none;
}

.c-box{
  margin: 120px auto 0;
}
.p-title{
  padding: 50px 0;
  text-align: center;
}
.p-title-en{
  font-size: 1.6rem;
  padding-bottom: 20px;
}
.p-title-ja{
  font-size: 3.5rem;
}
.p-office-lead,
.p-office-map-heading,
.p-office-map-title,
.p-office-map-text {
  font-weight: 300;
  font-size: 1.6rem;
}
.p-office-lead {
  text-align: center;
  font-family: var(--ff-ss);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 84px;
}
.p-office-images {
  width: auto;
  margin: 0 auto 50px;
}
.p-office-slider-main {
  margin-bottom: 20px;
}
.p-office-slider img,
.p-office-slider-thumbs img {
  width: 100%;
  height: 100%;
}
.p-office-slider img {
  object-fit: contain;
}
.p-office-slider-thumbs img {
  object-fit: cover;
}
.p-office-slider .slick-slide {
  height: 520px;
  overflow: hidden;
  border-radius: 20px;
}
.p-office-slider .slick-arrow {
  position: absolute;
  top: 50%;
  width: 26px;
  height: 95px;
  overflow: hidden;
  text-indent: -9999px;
  border: none;
  outline: none;
  background-color: transparent;
  transform: translateY(-50%);
}
.p-office-slider .slick-next {
  
  right: -60px;
  background: url("/overview/img/btn-next.svg") no-repeat center / cover;
}
.p-office-slider .slick-prev {
  left: -60px;
  background: url("/overview/img/btn-prev.svg") no-repeat center / cover;
}
.p-office-slider-thumbs .slick-slide {
  width: 52px;
  height: 44px;
  padding-inline: 4px;
}
.p-office-map {
  margin-bottom: 100px;
  text-align: center;
}
.p-office-map img {
  width: 100%;
  height: auto;
}
.p-office-map-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.p-office-map-item a {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 34px 31px 20px;
  border-radius: 8px;
  background: #ebebeb;
  transition: .3s ease;
}
.p-office-map-item a:hover {
  opacity: .7;
}
.p-office-map-title {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.p-office-map-text {
  margin-bottom: auto;
  font-family: var(--ff-ss);
  font-size: 15px;
  line-height: 1.53;
}
.p-office-map-link {
  text-align: right;
}
.p-office-map-link span {
  position: relative;
  display: inline-block;
  padding-right: 19px;
  color: #3f3b53;
  font-size: 16px;
  line-height: 1.4;
  transition: .3s ease;
}
.p-office-map-link span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 8px;
  height: 12px;
  background: url("/overview/img/icon-arrow01.svg") no-repeat center / contain;
  transform: translateY(-50%);
  transition: .3s ease;
}
.p-office-map-link span:hover {
  opacity: .7;
}
.p-office-map-link span:hover::after {
  transform: translate(5px, -50%);
}


@media (max-width: 587px) {
  .sp-br{
    display: block;
  }

  .c-box{
    margin: 60px auto 0;
  }
  .p-title{
    padding: 50px 0;
    text-align: center;
  }
  .p-title-en{
    font-size: 1.6rem;
    padding-bottom: 20px;
  }
  .p-title-ja{
    font-size: 2rem;
  }
  .p-office-lead {
    font-family: inherit;
    font-size: 3.6vw;
    line-height: 2.6;
    margin-bottom: 12vw;
  }
  .p-office-images {
    width: auto;
    margin: 0 0 13.3vw;
    /* padding-inline: 4vw; */
  }
  .p-office-slider-main {
    margin-bottom: 7.6vw;
    padding-inline: 25px;
  }
  .p-office-slider .slick-slide {
    height: 61.3vw;
    border-radius: 2.7vw;
  }
  .p-office-slider .slick-arrow {
    width: 3.3vw;
    height: 12.5vw;
  }
  .p-office-slider .slick-next {
    right: -23px;
  }
  .p-office-slider .slick-prev {
    left: -23px;
  }
  .p-office-slider-thumbs .slick-slide {
    width: 7.0vw;
    height: 5.9vw;
    padding-inline: .5vw;
  }
  .p-office-map {
    margin-bottom: 12.4vw;
    padding-inline: 4vw;
  }
  .p-office-map img {
    width: 100%;
  }
  .p-office-map-heading {
    display: grid;
    place-content: center;
    width: 72.9vw;
    height: 9.2vw;
    margin: 0 auto 3.5vw;
    font-family: var(--ff-ss);
    font-size: 2.7vw;
    background: url("/overview/img/bg-office-title.svg") no-repeat center / cover;
  }
  .p-office-map-items {
    gap: 2.7vw 1.9vw;
    padding-inline: 4vw;
  }
  .p-office-map-item a {
    position: relative;
    display: grid;
    place-content: center start;
    min-height: 0;
    height: 12.3vw;
    padding: 0 0 0 3.5vw;
    border-radius: 1vw;
    font-size: 2.9vw;
    line-height: 1.36;
  }
  .p-office-map-item a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4vw;
    display: block;
    width: 1.3vw;
    height: 2vw;
    background: url("/overview/img/icon-arrow01.svg") no-repeat center / contain;
    transform: translateY(-50%);
  }

  .p-office-map-title {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0;
    margin-bottom: 0;
  }
  .p-office-map-text,
  .p-office-map-link {
    display: none;
  }

}


/* オフィス写真modal */

.c-overlay {
  background: rgba(255, 255, 255, 0.9);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.p-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  padding-top: 120px;
  overflow-y: auto;
}
.p-modal-slider {
  display: none;
  width: 780px;
  max-width: 100%;
  margin: auto;
}
.p-modal-close {
  position: fixed;
  top: 2vw;
  right: 20vw;
  z-index: 1002;
}
.p-modal-close img {
  display: block;
  width: 60px;
  height: auto;
}
.p-modal .p-office-images {
  width: 100%;
  margin-bottom: 32px;
}
.p-modal .p-office-slider-main {
  margin-bottom: 16px;
}
.p-modal .p-office-slider .slick-slide {
  height: 520px;
  overflow: hidden;
  border-radius: 20px;
}
.p-modal .p-office-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.p-modal .p-office-slider-thumbs .slick-slide {
  width: 52px;
  height: 44px;
  padding-inline: 4px;
}

.p-modal .p-office-slider-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-modal .slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 26px;
  height: 95px;
  overflow: hidden;
  border: none;
  background: transparent;
  text-indent: -9999px;
  transform: translateY(-50%);
}
.p-modal .slick-prev {
  left: -60px;
  background: url("/overview/img/btn-prev.svg") no-repeat center / contain;
}
.p-modal .slick-next {
  right: -60px;
  background: url("/overview/img/btn-next.svg") no-repeat center / contain;
}
.p-modal .p-office-map-title {
  display: block;
  margin-bottom: 12px;
  color: #333;
  font-size: 20px;
  line-height: 1.5;
}
.p-modal .p-office-map-text {
  display: block;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .p-modal {
    padding: 150px 16px 32px;
  }
  .p-modal .slick-arrow {
    width: 13px;
    height: 48px;
  }
  .p-modal .p-office-slider .slick-slide {
    height: 280px;
    overflow: visible;
  }
  .p-modal-close {
    top: 120px;
    right: 16px;
  }
  .p-modal-close img {
    width: 40px;
  }
  .p-modal .slick-prev {
    left: -23px;
  }
  .p-modal .slick-next {
    right: -23px;
  }
  .p-modal .p-office-map-title {
    font-size: 18px;
  }
  .p-modal .p-office-map-text {
    font-size: 14px;
  }
}

/* --------------------------------------------- */















/* policy */
.policyWrap{
    width: 80%;
    margin: 100px auto 0;
}
.policyDetailWrap{
    margin: 80px auto 100px;
    text-align: center;
}
.policyDetailTtl{
    margin: 0 auto;
    font-size: 2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #8d8d8d;
    width: fit-content;
}
.policyImgWrap{
    max-width: 50%;
    margin: 0 auto;
}
.policyImgWrap img{
    width: 100%;
    height: auto;
}
.policyDetailTxt{
    padding-top: 30px;
    font-size: 1.8rem;
    line-height: 4.0rem;
}
.policyDetailTxtSpan{
    display: inline-block;
    font-size: 2.5rem;
    padding-left: 1rem;
}


/* history */
.historyWrap {
    width: 70%;
    margin: 150px auto 0;
}
.historyList {
    list-style: none;
    margin: 100px auto;
    padding: 0;
}
.historyItem {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 80px;
    position: relative;
    padding-bottom: 80px;
}
.historyItem::before {
    content: "";
    position: absolute;
    top: 0;
    left: 160px;
    width: 1px;
    height: 100%;
    background: #c7c7c7;
}
.historyItem::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 154px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7a7a7a;
}
.historyItem:last-child {
    padding-bottom: 0;
}
.historyYear {
    font-size: 2.4rem;
    line-height: 1.2;
    color: #555;
    text-align: right;
    letter-spacing: 0.04em;
}
.historyYearSpan{
    display: block;
    text-align: center;
}
.historyContent h3 {
    margin: 0 0 18px;
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.historyContent p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 2;
}
.historyTxtspan{
    display: block;
    padding: 5px;
}


/* message */
.messageWrap{
    width: 80%;
    margin: 100px auto 0;
}
.messageImgWrap{
    max-width: 100%;
    margin: 0 auto 50px;
}
.messageImgWrap img{
    width: 100%;
    height: auto;
    border-radius: 38px;
}
.pcLetter{
    display: block;
}
.spLetter{
    display: none;
}


@media screen and (max-width: 768px) {
    /* overview */
    .overviewWrap{
        width: auto;
    }
    .overviewDetail{
        display: block;
        padding: 30px 0;
    }
    .overviewDetail dt{
        padding-bottom: 10px;
        width: 95%;
        margin: 0 auto;
    }
    .overviewDetail dd{
        line-height: 2rem;
        width: 90%;
        margin: 0 auto;
        
    }

    /* office */
    .officeWrap{
        width: auto;
    }
    .officeAddress{
        font-size: 1.4rem;
        line-height: 1.5;
    }

    /* policy */
    .policyWrap{
        width: auto;
    }
    .policyImgWrap{
        max-width: 80%;
    }


    /* history */
    .historyWrap {
        width: auto;
    }
    .historyItem {
        grid-template-columns: 70px 1fr;
        column-gap: 35px;
        padding-bottom: 55px;
    }
    .historyItem::before {
        left: 90px;
    }
    .historyItem::after {
        top: 5px;
        left: 84px;
        width: 12px;
        height: 12px;
    }
    .historyYear {
        font-size: 1.5rem;
        line-height: 1.5;
        text-align: right;
    }
    .historyYearSpan {
        text-align: center;
    }
    .historyContent h3 {
        margin: 0 0 12px;
        font-size: 1.8rem;
        line-height: 1.5;
    }
    .historyContent p {
        font-size: 1.2rem;
        line-height: 1.8;
    }


    /* message */
    .messageWrap{
        width: auto;
        margin: 100px auto 0;
    }
    .pcLetter{
        display: none;
    }
    .spLetter{
        display: block;
    }

}




@media screen and (max-width: 587px) {
    /* overview */
    .overviewWrap{
        margin: 50px auto 0;
    }
    .overviewDetail{
        padding: 20px 0;
        font-size: 0.8rem;
    }
    .overviewDetail dt{
        padding-bottom: 10px;
        font-size: 1.4rem;
    }
    .overviewDetail dd{
        line-height: 2rem;
        font-size: 1.4rem;
    }

    /* office */
    .officeWrap{
        margin: 50px auto 0;
    }
    .officeImgWrap{
        margin: 0 auto 40px
    }
    .officeImgWrap img{
        border-radius: 20px;
    }
    .officeDetailWrap{

    }
    .officeDetailTtl{
        font-size: 2rem;
    }
    .officeDetailTxt{
        padding-top: 40px;
        font-size: 1.2rem;
        line-height: 2.5rem;
    }

    /* policy */
    .policyWrap{
        margin: 50px auto 0;
    }
    .policyDetailWrap{
        margin: 30px auto 50px;
        padding-bottom: 40px;
    }
    .policyDetailTtl{
        font-size: 1.8rem;
    }
    .policyDetailTxt{
        padding-top: 30px;
        font-size: 1.6rem;
        line-height: 4.0rem;
    }
    .policyDetailTxtSpan{
        font-size: 2rem;
    }
    .ttlSpan{
        display: block;
        padding-top: 10px;
    }


    /* history */
    .historyWrap {
        margin: 50px auto;
    }
    .historyList {
        margin: 50px auto;
    }
    .historyItem {
        grid-template-columns: 45px 1fr;
        column-gap: 25px;
        padding-bottom: 45px;
    }
    .historyItem::before {
        left: 58px;
    }
    .historyItem::after {
        top: 4px;
        left: 53px;
        width: 10px;
        height: 10px;
    }
    .historyYear {
        font-size: 1.2rem;
        line-height: 1.5;
        text-align: right;
    }
    .historyYearSpan {
        text-align: center;
    }
    .historyContent h3 {
        margin: 0 0 10px;
        font-size: 1.5rem;
        line-height: 1.2;
    }
    .historyContent p {
        font-size: 1.2rem;
        line-height: 1.5;
    }


    /* message */
    .messageWrap{
        
    }
    .messageImgWrap{
        margin: 0 auto 40px
    }
    .messageImgWrap img{
        border-radius: 20px;
    }

}