.office-fv-container{
    background-image: url(assets/image/contact-fv.webp);
    background-size: cover;
    background-position: center;
}

.office-fv-content{
    padding-top: calc(100vw * 81.5 / 1440);
    padding-bottom: calc(100vw * 81.5 / 1440);
    padding-left: calc(100vw * 200 / 1440);
    padding-right: calc(100vw * 200 / 1440);
}

.office-fv-content h1{
    font-size: calc(100vw * 40 / 1440);
    line-height: calc(100vw * 44 / 1440);
    font-weight: bold;
    color: #ffffff;
    font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.office-fv-content p{
    font-size: calc(100vw * 25 / 1440);
    line-height: calc(100vw * 44 / 1440);
    color: #ffffff;
    font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

@media(min-width:768px){
    .office-fv-title-sp,
	.office-info-value-sp{
        display:none;
    }
}

@media(max-width:768px){
    .office-fv-title-pc{
        display:none;
    }

    .office-fv-container{
        background-image: url(assets/image/contact-fv.webp);
        background-size: cover;
        background-position: center;
    }

    .office-fv-content{
        padding-top: calc(100vw * 23 / 375);
        padding-bottom: calc(100vw * 23 / 375);
        padding-left: calc(100vw * 18 / 375);
        padding-right: calc(100vw * 18 / 375);
        height: calc(100vw * 95 / 375);
    }

    .office-fv-content h1{
        font-size: calc(100vw * 20 / 375);
        line-height: calc(100vw * 44 / 375);
    }

    .office-fv-content p{
        font-size: calc(100vw * 10 / 375);
        line-height: 1;
        margin-top: -2px;
    }
}

.office-info-container {
  background-color: rgba(255, 255, 255, 1);
  padding: calc(100vw * 48 / 1440) 0 0;
  overflow-x: hidden;
}

.office-info-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: hidden;
}

.office-info-content {
  max-width: calc(100vw * 1200 / 1440);
  margin: 0 auto;
  box-sizing: border-box;
}

.office-info-title {
  font-size: calc(100vw * 36 / 1440);
  font-weight: bold;
  text-align: center;
  color: rgba(40, 71, 107, 1);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.office-info-main {
  display: flex;
  gap: calc(100vw * 93 / 1440);
  margin: calc(100vw * 48 / 1440) 0 calc(100vw * 92 / 1440);
  box-sizing: border-box;
  max-width: 100%;
}

.office-info-table-area {
  flex: 1;
  border: none;
  min-width: 0;
}

.office-info-list {
  background-color: rgba(255, 255, 255, 1);
}

.office-info-item {
  display: flex;
  gap: 0;
  border-bottom: none;
  margin-top: calc(100vw * 2 / 1440);
}

.office-info-item:first-child {
  margin-top: 0;
}

.office-info-label {
  flex: 0 0 calc(100vw * 164 / 1440);
  font-size: calc(100vw * 17 / 1440);
  font-weight: bold;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(40, 71, 107, 1);
  padding: calc(100vw * 16 / 1440);
  min-height: calc(100vw * 59 / 1440);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  border: none;
  box-sizing: border-box;
}

.office-info-item-services .office-info-label {
  align-items: flex-start;
  padding-top: calc(100vw * 16 / 1440);
}

.office-info-value {
  flex: 1;
  font-size: calc(100vw * 16 / 1440);
  color: rgba(0, 0, 0, 1);
  margin: 0;
  line-height: 1.8;
  display: flex;
  align-items: center;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  border: calc(100vw * 1 / 1440) solid rgba(185, 185, 185, 1);
  padding: calc(100vw * 16 / 1440);
  box-sizing: border-box;
  min-width: 0;
  word-wrap: break-word;
}

.office-info-item-services .office-info-value {
  align-items: flex-start;
}

.office-info-image {
  flex: 0 0 calc(100vw * 420 / 1440);
  max-width: calc(100vw * 420 / 1440);
}

.office-info-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.office-map-content {
  width: 100%;
  overflow-x: hidden;
}

.office-info-map {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.office-info-map iframe {
    width: 100%;
    height: calc(100vw * 450 / 1440);
    min-height: calc(100vw * 450 / 1440);
}

.office-map-content {
  width: 100%;
  overflow-x: hidden;
}

.office-info-map {
  width: 100%;
  margin-left: 0;
}

@media (max-width: 768px) {
  .office-info-container {
    padding: calc(100vw * 40 / 375) 0 0;
  }

  .office-info-wrapper {
    padding: 0;
    width: 100%;
  }

  .office-info-content {
    max-width: 100%;
    padding: 0;
  }

  .office-info-title {
    font-size: calc(100vw * 25 / 375);
    margin: 0 0 calc(100vw * 40 / 375);
    padding: 0 calc(100vw * 18 / 375);
  }

  .office-info-main {
    flex-direction: column-reverse;
    gap: calc(100vw * 20 / 375);
    margin: 0 0 calc(100vw * 30 / 375);
  }

  .office-info-table-area {
    padding: 0 calc(100vw * 18 / 375);
  }

  .office-info-item {
    flex-direction: row;
    gap: 0;
    margin-top: calc(100vw * 2 / 375);
    border-bottom: none;
  }

  .office-info-item:first-child {
    margin-top: 0;
  }

  .office-info-label {
    flex: 0 0 auto;
    width: calc(100vw * 70 / 375);
    font-size: calc(100vw * 15 / 375);
    padding: calc(100vw * 12 / 375);
    min-height: auto;
    writing-mode: horizontal-tb;
  }

  .office-info-item-services .office-info-label {
    align-items: center;
    padding-top: calc(100vw * 12 / 375);
  }

  .office-info-value {
    display: none;
  }

  .office-info-value-sp {
    display: flex;
    flex: 1;
    font-size: calc(100vw * 14 / 375);
    align-items: flex-start;
    border: calc(100vw * 1 / 375) solid rgba(185, 185, 185, 1);
    border-left: none;
    padding: calc(100vw * 12 / 375);
    line-height: 1.6;
    color: rgba(0, 0, 0, 1);
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    box-sizing: border-box;
    min-width: 0;
    word-wrap: break-word;
  }

  .office-info-item-services .office-info-value-sp {
    align-items: flex-start;
  }

  .office-info-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: calc(100vw * 191 / 375);
    overflow: hidden;
  }

  .office-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .office-map-content {
    margin: calc(100vw * 16 / 375) 0 0;
  }

  .office-info-map {
    width: 100vw;
    margin-left: 0;
    margin-bottom: 0;
  }

  .office-info-map iframe {
    height: calc(100vw * 250 / 375);
    min-height: calc(100vw * 250 / 375);
  }
}