@charset "utf-8";

/*---事業案内メインページ---*/
.servise-mainitem-image-block {
  display: flex;
  width: 100%;
  height: 25em;
  gap: 10px;
}
.servise-mainitem-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.servise-mainitem-image1 {
  width: 60%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}
.servise-mainitem-image-block_sub {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  /*width: auto;*/
  height: 25em;
  flex: 1;
}
.servise-mainitem-image2 {
  width: 70%;
  height: 150px;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.servise-mainitem-image3 {
  width: 100%;
  height: calc(100% - 160px);
  border-radius: 5px;
  overflow: hidden;
}
.servise-mainitem-text {
  margin-top: 30px;
}
.servise-mainitem-text + .btn-regular {
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .servise-mainitem-image-block {
    display: block;
    height: auto;
  }
  .servise-mainitem-image1 {
    width: 100%;
    height: 20em;
    margin-bottom: 10px;
  }
  .servise-mainitem-image-block_sub {
    flex-direction: row;
    flex: 2 1 auto;
    width: 100%;
    height: 10em;
    gap: 10px;
  }
  .servise-mainitem-image2 {
    width: calc(50% - 5px);
    height: 100%;
    margin-bottom: 0;
  }
  .servise-mainitem-image3 {
    width: calc(50% - 5px);
    height: 100%;
  }
}
/*キャッチ部分*/
.servise-intro-wrap {
  padding: 80px 30px 0 30px;
}
@media screen and (max-width: 767px) {
  .servise-intro-wrap {
    padding: 50px 30px;
  }
}
/*事業の流れ*/
.servise-contents-block_flow {
  max-width: 780px;
}
.servise-contents-block_flow ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}
.servise-contents-block_flow li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13%;
  height: 300px;
  color: var(--color-text-blue);
  font-size: var(--font-size-18px);
  font-weight: var(--font-bold);
  writing-mode: vertical-rl;
  border: solid 1px var(--color-base);
  border-radius: 5px;
}
.servise-contents-block_flow li::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% - 63%);
  height: 1px;
  background: var(--color-base);
}
.servise-contents-block_flow li:last-child::after {
  width: 0;
  height: 0;
}
.servise-flow-title {
  padding-bottom: 30px;
}
.servise-contents-block_image {
  display: flex;
  max-width: 780px;
  padding-top: 30px;
}
.servise-contents-block_image img {
  /*width: 100%;*/
  max-height: 140px;
  height: 100%;
  padding: 0 10px;
}
@media screen and (max-width: 1080px) {
  .servise-contents-block_flow {
    max-width: 100%;
  }
  .servise-contents-block_image img {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {

}
@media screen and (max-width: 480px) {
  .servise-contents-block_image {
    display: none;
  }
}

/*菖蒲谷の強み*/
.strengths-mainitem-image-block {
  width: auto;
  height: 400px;
  overflow: hidden;
}
.strengths-mainitem-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 5px;
}
.strengths-subitem-block {
  position: relative;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-base);
  border-radius: 5px;
  background: var(--color-white);
  margin: 80px 0 30px;
  padding: 30px 20px;
}
.strengths-subitem-block::before {
  content: 'POINT!';
  position: absolute;
  top: -25px;
  left:  20px;
  width: 155px;
  height: 40px;
  padding: 5px 10px;
  color: var(--color-text-blue);
  font-size: var(--font-size-36px);
  font-weight: var(--font-black);
  font-family: var(--font-family-title);
  line-height: .7;
  text-align: center;
  background: var(--color-base-light);
}
.strengths-subitem-main:first-child {
  margin-top: 16px;
}
.strengths-subitem-main:not(:last-child) {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dotted var(--color-base);
}
.strengths-subitem_header + p {
  margin-top: 6px;
}
.strengths-subitem_title {
  font-size: var(--font-size-20px);
  letter-spacing: 0.05em;
}
.strengths-subitem_title > span {
  padding-right: 16px;
  padding-left: 5px;
  color: var(--color-text-blue);
  font-size: 1.5em;
  font-weight: var(--font-bold);
}
.strengths-subitem_subtitle {
  margin-top: 16px;
  color: var(--color-text-blue);
  font-size: var(--font-size-18px);
  font-weight: var(--font-bold);
  line-height: 1.35;
}
@media screen and (max-width: 520px) {
  .strengths-subitem_subtitle {
    font-size: var(--font-size-16px);
  }
}

.strengths-list {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  gap: 50px;
  flex-wrap: wrap;
  /*white-space: nowrap;*/
}
.contents-main-wrap .strengths-list-item {
  position: relative;
  color: var(--color-text-blue);
  font-size: var(--font-size-15px);
  font-weight: var(--font-black);
}
.contents-main-wrap .strengths-list-item::before {
  content: '';
  position: absolute;
  top: 25%;
  left: -25px;
  width: 15px;
  height: 15px;
  background: var(--color-base-dark);
  border-radius: 50%;
}
.strengths-subitem-btn-block {
  display: flex;
  gap: 30px;
}
@media screen and (max-width: 767px) {
  .strengths-list {
    gap: 0;
  }
  .contents-main-wrap .strengths-list-item {
    padding-right: 40px;
    border-right: none;
  }
  .contents-navilist > li > a {
    padding: 0 10px 0 20px;
  }
  .contents-navilist > li > a::before {
    width: 8px;
    height: 8px;
    bottom: 10%;
  }
  .strengths-mainitem-image-block {
    height: 20em;
  }
  .strengths-subitem-btn-block {
    flex-direction: column;
    gap: 10px;
  }
}
@media screen and (max-width: 520px) {
  .contents-navilist li {
    padding: 0 10px;
    margin-bottom: 10px;
    font-size: var(--font-size-14px);
  }
  #servise .contents-navilist li {
    margin-bottom: 0;
  }
}

/*---図面・加工・組立---*/
.servise-main-wrap {
  position: relative;
}
.servise-main-image_sp {
  display: none;
}
.servise-item-block {
  max-width: 770px;
  margin-left: auto;
}
.servise-item-block > p {
  padding-bottom: 50px;
}
.servise-item {
  display: flex;
  justify-content: space-between;
}
.item-block-title_sub {
  display: flex;
  flex-grow: 1;
  margin-right: 30px;
}
.item-block-title_sub p {
  display: block;
  width: auto;
  color: var(--color-text-blue);
  font-size: var(--font-size-18px);
  font-weight: var(--font-bold);
  padding-right: 20px;
}
.item-block-title_sub span {
  position: relative;
  flex-grow: 1;
}
.item-block-title_sub span::after {
  content: '';
  position: absolute;
  top: 4%;
  right: 0;
  width: 100%;
  border-bottom: 1px dotted var(--color-base);
}
.servise-item-image {
  width: 450px;
  height: 250px;
  border-radius: 5px;
  object-fit: cover;
}
.servise-item-image-block p {
  width: 450px;
  font-size: var(--font-size-15px);
  padding: 10px 0 30px;
}
.servise-list {
  padding-bottom: 40px;
}
.servise-flex-image-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 50px;
  grid-gap: 10px;
}
.servise-flex-image-block img {
  width: auto;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}
.servise-link-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  /*margin-top: 80px;*/
}
.servise-link-btn {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 180px;
  padding: 10px 10px 10px 20px;
  font-size: var(--font-size-18px);
  font-weight: var(--font-black);
  border: solid 1.5px var(--color-base);
  border-radius: 5px;
}
.servise-link-btn p {
  width: 20%;
  padding-right: 10px;
}
.servise-link-btn img {
  width: auto;
  height: 7em;
  object-fit: contain;
}
.servise-link-btn:hover {
  background: var(--color-base-light);
}
.servise-link-btn_none {
  pointer-events: none;
  background: var(--color-base-light);
  filter: brightness(0.8);
}
.servise-link-btn_none span::after {
  display: none;
}

#drawing .contents-main-wrap:nth-child(2),
#manufacture .contents-main-wrap:nth-child(2) {
  background: var(--color-base-light);
}
#drawing .contents-main-wrap:nth-child(2) .contents-main-wrap__inner {
  padding: 80px 30px;
}
#drawing .contents-main-wrap:nth-child(2) .contents-main-title2::before,
#manufacture .contents-main-wrap:nth-child(2) .contents-main-title2::before {
  background-image: url("../images/contents-title-002_wt.svg");
}

/*こだわり部分*/
.servise-item-wrap .strengths-subitem-block::before {
  top: -12px;
  width: 85px;
  height: 25px;
  font-size: var(--font-size-20px);
}
.servise-wrap-back {
  position: relative;
  overflow: hidden;
}
.servise-wrap-back::before {
  content: '';
  position: absolute;
  bottom: -2%;
  right: -10%;
  width: 1000px;
  height: 700px;
  background: url("../images/service_back_01.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  opacity: .6;
}
#manufacture .servise-wrap-back::before {
  bottom: -2%;
  right: -5%;
  background: url("../images/service_back_02.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
}
#construction .servise-wrap-back::before {
  bottom: -1%;
  right: 0;
  background: url("../images/service_back_03.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
}
.strengths-subitem-block_inner {
  display: flex;
  gap: 30px;
}
.servise-pointitem .strengths-list-item {
  margin: 0 0 1em 1.5em;
}
.servise-pointitem {
  flex: 1;
}
.servise-pointitem p {
  margin-bottom: 50px;
}
.servise-pointitem-image {
  width: 40%;
  min-width: 200px;
  height: auto;
  overflow: hidden;
}
.servise-pointitem-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}
.servise-commit-image {
  width: 40%;
  min-width: 200px;
  height: auto;
}
.servise-commit-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}
.commit-image-tate {
  width: auto;
  height: 400px;
}
.commit-image-tate img {
  width: auto;
  height: 100%;
}
.servise-pointitem-image figcaption,
.servise-commit-image figcaption {
  font-size: var(--font-size-14px);
  text-align: center;
  margin-top: 5px;
}
.servise-commit-image a {
  margin: 0 auto;
  margin-top: 10px;
}
.servise-commit-block_inner {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  margin-top: 30px;
}
.servise-commit-block {
  margin-top: 50px;
}
.servise-commit-block:first-child {
  margin-top: 0;
}

@media screen and (max-width: 1620px) {
  .servise-main-wrap::before {
    top: 21em;
    max-width: 850px;
    max-height: 40vw;
    clip-path: circle(18vw at 55% 50%);
  }
  #manufacture .servise-main-wrap::before {
    clip-path: circle(18vw at 45% 50%);
  }
}
/*@media screen and (max-width: 1210px) {
  .servise-main-wrap::before {
    left: -280px;
    max-width: 750px;
  }
}*/
@media screen and (max-width: 1210px) {
  .servise-item-block {
    width: 100%;
    max-width: 1060px;
  }
  .servise-main-wrap::before {
    display: none;
  }
  .servise-main-image_sp {
    display: block;
    width: 100%;
    max-width: 1060px;
    height: 350px;
    margin-bottom: 30px;
    object-fit: cover;
    border-radius: 5px;
  }
  .servise-item__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    width: 100%;
  }
  .servise-item {
    display: block;
    margin-bottom: 30px;
  }
  .servise-item:last-child {
    margin-bottom: 0;
  }
  .item-block-title_sub {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .item-block-title_sub span::after {
    top: 50%;
  }
  .servise-item-image {
    width: 100%;
  }
  .servise-item-image-block p {
    width: 100%;
    padding-bottom: 0;
  }
}
@media screen and (max-width: 1080px) {
  .servise-flex-image-block {
    grid-template-columns: repeat(2, 1fr);
  }
  .servise-flex-image-block img {
    width: 100%;
    height: 20dvh;
  }
  .servise-link-block {
    grid-gap: 15px;
  }
  .servise-link-btn {
    width: 100%;
    height: 80px;
    padding: 10px 10px 10px 20px;
  }
  .servise-link-btn p {
    width: auto;
  }
  .servise-link-btn img {
    display: none;
  }
  .servise-link-wrap .contents-main-wrap__inner {
    padding: 30px;
  }
  .strengths-subitem-block_inner {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
  }
  .strengths-subitem-block_inner:last-child {
    margin-bottom: 0;
  }
  .servise-pointitem p {
    margin-bottom: 30px;
  }
  .servise-pointitem-image {
    width: 60%;
    margin: 0 auto;
  }
  .servise-commit-image {
    width: 60%;
    margin: 0 auto;
  }
  .servise-wrap-back::before {
    bottom: 0;
    right: -20%;
    width: 100vw;
    height: 90vh;
    background-size: 100%;
  }
}
@media screen and (max-width: 767px) {
  .servise-item__inner {
    display: block;
  }
  .servise-flex-image-block img {
    height: 15dvh;
  }
  .servise-link-block {
    display: block;
  }
  .servise-link-btn {
    height: 50px;
  }
  .servise-link-block div {
    margin-bottom: 20px;
  }
  .servise-link-block div:nth-child(3) {
    margin-bottom: 0;
  }
  .servise-link-block .btn-arrow-rv span::after {
    transform: scale(1, 1);
  }
  .servise-link-block .btn-arrow-rv {
    flex-direction: row-reverse;
  }
  .servise-pointitem-image {
    width: 80%;
  }
  .servise-commit-image {
    width: 80%;
  }
  .commit-image-tate {
    width: 80%;
    height: auto;
  }
  .commit-image-tate img {
    width: 100%;
    height: 60%;
    max-height: 500px;
    object-fit: cover;
  }
  .servise-commit-block_inner {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
}
/*図面ページ動画部分*/
.drawing-movie-block {
  display: flex;
  justify-content: flex-end;
  margin: 50px 0 80px;
  position: relative;
}
.drawing-movie-block video {
  width: 70%;
  max-width: 650px;
  height: auto;
}
.drawing-movie-block::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: url("../images/drawing_kodawari_01.png");
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 1210px) {
  .drawing-movie-block video {
    width: 65%;
  }
}