@charset 'utf-8';

/* common
------------------------------------------------ */
@media screen and (min-width: 769px) {
  .page__title { background-image: url(../../img/service/page_title_bg.jpg); }
}

@media screen and (max-width: 768px) {
  .page__title { background-image: url(../../img/service/page_title_bg-sp.jpg); }
}

/* service
------------------------------------------------ */
.service { position: relative; }


@media screen and (max-width: 768px) {
}

@media screen and (min-width: 769px) {
}

/* business
------------------------------------------------ */
.service-business { position: relative; z-index: 1; }
.service-business::after { content: ''; position: absolute; padding-bottom: 51.4666666667%; width: 88.5333333333%; height: 0; background-color: var(--color-gray); overflow: hidden; z-index: -1; }
.service-business:not(:first-child) { margin-top: 30px; }
.service-business-info { position: relative; padding: 22.6666666667vw 25px 25px; width: 94.6666666667%; color: #fff; z-index: 1; }
.service-business-title { position: relative; margin-bottom: 15px; padding-left: 85px; }
.service-business-title::before,
.service-business-title::after { content: ''; position: absolute; top: 50%; margin-top: -24px; height: 48px; }
.service-business-title::before { left: 65px; width: 1px; background-color: #fff; }
.service-business-title::after { left: 0; width: 48px; background-position: center center; background-repeat: no-repeat; background-size: 100% 100%; }
.service-business-title--en { font-family: 'Roboto', sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1.2; }
.service-business-title--ja { font-size: 1.6rem; font-weight: 400; line-height: 1.2; }
.service-business-text { text-align: justify; font-size: 1.7rem; line-height: 27px; }
.service-business-photo { position: absolute; top: 0; width: 76%; box-shadow: 8px 8px 20px rgba(0,0,0,0.1); z-index: 2; }

.service-business-products::after { right: 0; }
/* .service-business-products .service-business-title::after { background-image: url(../../img/share/star.svg); } */
.service-business-products .service-business-info { background-color: var(--color-primary); }
.service-business-products .service-business-photo { right: 0; }
.service-business-contents::after { left: 0; }
/* .service-business-contents .service-business-title::after { background-image: url(../../img/share/business.svg); } */
.service-business-contents .service-business-info { background-color: var(--color-primary); }
.service-business-contents .service-business-photo { left: 0; }
.service-business-contents .service-business-info { margin-left: auto; }
.service-business-managements::after { right: 0; }
/* .service-business-managements .service-business-title::after { background-image: url(../../img/share/ec.png); } */
.service-business-managements .service-business-info { background-color: var(--color-primary); }
.service-business-managements .service-business-photo { right: 0; }

@media screen and (max-width: 768px) {
  .service-business::after { top: 9.6vw; }
  .service-business > .wrap { padding-top: 34.6666666667vw; }
}

@media screen and (min-width: 769px) {
  .service-business { min-height: 420px; }
  .service-business::after { bottom: 0; padding-bottom: 325px; width: 43.7042459736%; }
  .service-business:not(:first-child) { margin-top: 16px; }
  .service-business > .wrap { padding-top: 16px; }
  .service-business-info { padding: 40px 268px 40px 26px; width: 69.5%; min-height: 294px; }
  .service-business-title { margin-bottom: 22px; padding-left: 110px; }
  .service-business-title::before,
  .service-business-title::after { margin-top: -29px; height: 58px; }
  .service-business-title::before { left: 80px; }
  .service-business-title::after { width: 58px; }
  .service-business-title--en { font-size: 3.2rem; }
  .service-business-title--ja { margin-top: 2px; font-size: 1.4rem; }
  .service-business-text { padding-left: 110px; font-size: 1.6rem; line-height: 26px; }
  .service-business-photo { width: 48.3333333333%; }

  .service-business-products .service-business-info { padding-right: 286px; padding-left: 26px; }
  .service-business-contents .service-business-info { padding-right: 66px; padding-left: 246px; }
}

@media screen and (min-width: 769px) and (max-width: 1240px) {
  .service-business::after { top: 10px; bottom: auto; padding-bottom: 32.5%; }
  .service-business-products .service-business-photo { right: 10px; }
  .service-business-contents .service-business-photo { left: 10px; }
}

/* work
------------------------------------------------ */
.wp-block-columns,
.service-work { position: relative; margin-top: 54px; padding-bottom: 44px; z-index: 1; }
.wp-block-columns::after,
.service-work::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: calc(100% - 26px); background-color: var(--color-gray); z-index: -1; }
.service-work-lists { position: relative; }
.service-work-lists--item { position: relative; }
.service-work-lists--title { padding: 12px 0; background-color: var(--color-primary); text-align: center; font-size: 2.2rem; font-weight: 700; line-height: 1.2; color: #fff; }
.service-work-lists--photo { position: relative; }
.service-work-lists--explain { padding: 18px 14px; background-color: #fff; font-size: 1.7rem; line-height: 27px; }

.service-work-lists--plan .service-work-lists--title { background-color: #4086C2; }
.service-work-lists--design .service-work-lists--title { background-color: #3272AA; }
.service-work-lists--production .service-work-lists--title { background-color: #2D628C; }

@media screen and (max-width: 768px) {
  .wp-block-group__inner-container,
  .service-work-lists { padding: 0 13px; }
  .service-work-lists--item:not(:first-child) { margin-top: 18px; }
}

@media screen and (min-width: 769px) {
  .wp-block-columns.is-layout-flex { display: block; }
  .wp-block-columns,
  .service-work { margin-top: 48px; padding-bottom: 26px; }
  .wp-block-columns::after,
  .service-work::after { height: calc(100% - 30px); }
  .wp-block-column { position: relative; margin: 0 auto !important; max-width: 1200px; }
  .wp-block-group__inner-container,
  .service-work-lists { display: flex; flex-wrap: wrap; }
  .service-work-lists--item { margin: 2% 2% 0 0; width: 32%; }
  .service-work-lists--item:nth-of-type(-n+3) { margin-top: 0; }
  .service-work-lists--item:nth-of-type(3n) { margin-right: 0; }
  .service-work-lists--title { padding: 15px 0; font-size: 2.4rem; }
  .service-work-lists--explain { padding: 18px 22px; font-size: 1.6rem; line-height: 26px; }
}

/* result
------------------------------------------------ */
.service-result { position: relative; }
.service-result:not(:first-child) { margin-top: 30px; }
.service-result-title { position: relative; margin-bottom: 28px; padding: 16px 0 16px 34px; font-size: 2.4rem; font-weight: 700; line-height: 1.2; color: var(--color-primary); }
.service-result-title::before,
.service-result-title::after { content: ''; position: absolute; width: 9px; height: 48px; }
.service-result-title::before { bottom: 0; left: 0; background-color: #4086C2; }
.service-result-title::after { top: 0; left: 9px; background-color: rgba(64,134,194,0.45); }
.service-result-business { position: relative; }
.service-result-business:not(:last-child) { margin-bottom: 48px; }
.service-result-business--title { position: relative; margin-bottom: 12px; font-size: 2rem; font-weight: 700; line-height: 1.2; color: var(--color-primary); }
.service-result-business--title::after { content: ''; position: absolute; top: 50%; right: 0; margin-top: -1px; width: 100%; height: 2px; background-color: rgba(64,134,194,0.3); z-index: 1; }
.service-result-business--title > span { display: inline-block; position: relative; padding-right: 22px; background-color: #fff; vertical-align: top; z-index: 2; }
.service-result-category { position: relative; }
.service-result-category:not(:last-child) { margin-bottom: 20px; }
.service-result-category--title { position: relative; margin-bottom: 12px; font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: #6D747C; }
.service-result-lists { display: flex; flex-wrap: wrap; position: relative; }
.service-result-lists--item { position: relative; border: 1px solid #B4B8BD; overflow: hidden; }
.service-result-lists--item > a { display: block; padding-bottom: 69.4610778443%; width: 100%; height: 0; overflow: hidden; }
.service-result-lists--item .post-edit-link { position: absolute; top: 10px; left: 10px; padding: 0; width: auto; height: auto; font-size: 1.2rem; z-index: 2; }
.service-result-lists--item > a img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: inherit; max-height: 100%; }

@media screen and (max-width: 768px) {
  .service-result { padding: 0 12px; }
  .service-result-business { padding: 0 3px; }
  .service-result-business--title::after { right: -15px; width: calc(100% + 15px); }
  .service-result-lists--item { margin: 3.4682080924% 3.4682080924% 0 0; width: 48.2658959538%; }
  .service-result-lists--item:nth-of-type(-n+2) { margin-top: 0; }
  .service-result-lists--item:nth-of-type(2n) { margin-right: 0; }
}

@media screen and (min-width: 769px) {
  .service-result:not(:first-child) { margin-top: 55px; }
  .service-result-title { margin-bottom: 42px; padding: 10px 0 10px 36px; font-size: 3.4rem; }
  .service-result-business { padding: 0 40px; }
  .service-result-business:not(:last-child) { margin-bottom: 48px; }
  .service-result-business--title { margin-bottom: 26px; font-size: 2.6rem; }
  .service-result-business--title > span { padding-right: 20px; }
  .service-result-category:not(:last-child) { margin-bottom: 30px; }
  .service-result-category--title { margin-bottom: 14px; padding-left: 32px; font-size: 1.8rem; }
  .service-result-category--title::before { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 20px; height: 5px; background-color: #D9D9D9; }
  .service-result-lists { margin: 0 16px; }
  .service-result-lists--item { margin: 1.96078431373% 1.96078431373% 0 0; width: 23.5294117647%; }
  .service-result-lists--item:nth-of-type(-n+4) { margin-top: 0; }
  .service-result-lists--item:nth-of-type(4n) { margin-right: 0; }
  .service-result-lists--item > a { padding-bottom: 70.3125%; }
}

/* modal
------------------------------------------------ */
.service-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; z-index: 100; }
.service-modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 2; }
.service-modal-photo { display: inline-block; position: relative; margin: 0 auto; border-radius: 10px; box-shadow: 0 0 60px rgba(0,0,0,0.25); vertical-align: top; overflow: hidden; }
.service-modal-photo img { max-height: 80vh; }
.service-modal-video--link { display: none; margin: 20px auto 0; padding: 18px 0; max-width: 230px; background-color: #D9D9D9; text-decoration: none; font-size: 1.2rem; line-height: 1.2; }
.service-modal-external--link { display: none; margin: 20px auto 0; padding: 18px 0; max-width: 230px; background-color: #209cff; text-decoration: none; font-size: 1.2rem; line-height: 1.2; color: #fff; }
.service-modal-close { position: absolute; top: -14px; right: -14px; width: 46px; height: 46px; background-color: rgba(66,148,212,0.9); border-radius: 50%; text-indent: -9999px; white-space: nowrap; overflow: hidden; }
.service-modal-close::before,
.service-modal-close::after { content: ''; position: absolute; top: 50%; left: 12px; width: 22px; height: 3px; background-color: #fff; }
.service-modal-close::before { transform: rotate(45deg); }
.service-modal-close::after { transform: rotate(-45deg); }
.service-modal-overlay { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(9,27,41,0.5); z-index: 1; }

@media screen and (max-width: 768px) {
  .service-modal-content { width: calc(100vw - 40px); }
}

@media screen and (min-width: 769px) {
  .service-modal-content { max-width: 70vw; }
  .service-modal-close { top: -18px; right: -18px; width: 56px; height: 56px; }
  .service-modal-close::before,
  .service-modal-close::after { left: 14px; width: 28px; height: 4px; }
}