/*================================
key visual
================================*/
#key-visual {
  padding: 308px 0 103px;
  position: relative;
  z-index: 2;
}

#key-visual:after {
  content: '';
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

#key-visual .col-text {
  color: var(--white);
}

#key-visual .col-text h2 {
  margin-bottom: 15px;
}

#key-visual .col-text h2 small {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

#key-visual .col-text h2 small:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 4px;
}

#key-visual .col-text h2 span {
  display: block;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
}

#key-visual .col-text .txt {
  color: var(--black-thirdly);
  font-size: 18px;
}

#key-visual .photo {
  height: 600px;
  position: absolute;
  right: 48px;
  left: calc(50% - 108px);
  top: 48px;
  bottom: -123px;
}

#key-visual .photo img {
  border-radius: 4px;
}

.key-kenchiku:after {
  background-image: url("../img/service/kenchiku/kv_bg.webp");
}

.key-digital:after {
  background-image: url("../img/service/digital/kv_bg.webp");
}

.key-3d-scanning:after {
  background-image: url("../img/service/3d-scanning/kv_bg.webp");
}

@media screen and (max-width: 1080px) {
  #key-visual .photo {
    right: 20px;
    left: calc(50% - 60px);
  }
}

@media screen and (max-width: 980px) {
  #key-visual {
    padding: 48px 0 0;
  }
  #key-visual:after {
    bottom: 60px;
  }
  #key-visual .col-text {
    margin-bottom: 24px;
  }
  #key-visual .photo {
    height: auto;
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    padding: 0 20px;
  }
}

@media screen and (max-width: 767px) {
  #key-visual {
    padding: 12.8vw 0 0;
  }
  #key-visual:after {
    bottom: 16vw;
  }
  #key-visual .col-text {
    color: var(--white);
  }
  #key-visual .col-text h2 {
    margin-bottom: 12px;
  }
  #key-visual .col-text h2 small {
    font-size: 10px;
    margin-bottom: 4px;
  }
  #key-visual .col-text h2 small:before {
    top: 3px;
  }
  #key-visual .col-text h2 span {
    font-size: 24px;
  }
  #key-visual .col-text .txt {
    font-size: 16px;
  }
  #key-visual .photo {
    padding: 0 5.3vw;
  }
  .key-kenchiku:after {
    background-image: url("../img/service/kenchiku/kv_bg_sp.webp");
  }
  .key-digital:after {
    background-image: url("../img/service/digital/kv_bg_sp.webp");
  }
  .key-3d-scanning:after {
    background-image: url("../img/service/3d-scanning/kv_bg_sp.webp");
		background-position: 30% !important;
  }
}

/*================================
content
================================*/
#information {
  padding: 112px 0 80px;
  position: relative;
  z-index: 0;
}

#information:before {
  content: '';
  background: var(--primary);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -60px;
  z-index: -1;
}

#information h2 {
  margin-bottom: 28px;
}

#information .infolist li {
  border-bottom: 1px solid #D5CFC3;
}

#information .infolist li a {
  display: block;
  padding: 24px 0;
}

#information .infolist li a:hover {
  color: var(--blue);
}

#information .btn-common {
  position: absolute;
  right: 0;
  top: 38px;
  z-index: 1;
}

#about {
  padding: 108px 0 140px;
}

#about h2 {
  margin-bottom: 13px;
}

#about .txt {
  color: var(--black-secondary);
}

#about .video {
  width: 640px;
  height: 350px;
  position: relative;
  margin: 48px auto 0;
}

#about .video iframe {
  border: none;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#about-3d {
  padding: 140px 0 62px;
  position: relative;
  z-index: 1;
}

#about-3d .img {
  width: calc(50% - 60px);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

#about-3d .img .object-cover {
  object-position: 50% 10%;
}

#about-3d .col-text {
  width: 584px;
  margin-left: auto;
}

#about-3d .col-text h2 {
  margin-bottom: 24px;
}

#about-3d .col-text .txt {
  color: var(--black-secondary);
}

#wwcd {
  padding: 90px 0 110px;
  position: relative;
  z-index: 0;
}

#wwcd:after {
  content: '';
  width: calc(50% + 263px);
  background: var(--primary);
  border-radius: 4px 0 0 4px;
  position: absolute;
  right: 0;
  top: 226px;
  bottom: 0;
  z-index: -1;
}

#wwcd h2 {
  margin-bottom: 99px;
}

#wwcd .txt1{
	color: var(--black-secondary);
	margin: -70px 0 30px;
}
.page-id-15 #wwcd:after{
	top: 276px;
}

.horizontal_scroll .scroller .slick-track{
	display: flex;
	gap: 50px;
}
.horizontal_scroll .scroller .slick-list{
	padding: 0 calc(50% - 600px);
}
.horizontal_scroll .scroller .slick-track:before,
.horizontal_scroll .scroller .slick-track:after{
	display: none;
}
.horizontal_scroll .scroller .slick-slide{
	float: none;
	height: auto;
}
.horizontal_scroll .scroller .item {
  width: 640px !important;
}

/* .horizontal_scroll .scroller .slick-slide:first-child{
	margin-left: calc(50% - 600px);
}
.horizontal_scroll .scroller .slick-slide:last-child{
	margin-right: calc(50% - 600px);
} */

.horizontal_scroll .scroller .item .img img {
  width: 100%;
  height: auto;
  border-radius: 4px 4px 0 0;
}

.horizontal_scroll .scroller .item .row-text {
  padding: 40px;
}

.horizontal_scroll .scroller .item .row-text h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line-secondary);
  margin-bottom: 20px;
}

.horizontal_scroll .scroller .item .row-text h3 span {
  display: block;
}

.horizontal_scroll .scroller .item .row-text h3 .num {
  font-size: 32px;
  letter-spacing: 0;
  color: var(--blue);
}

.horizontal_scroll .scroller .item .row-text .txt {
  color: var(--black-secondary);
}

#flow {
  padding: 100px 0 196px;
}

#flow h2 {
  margin-bottom: -23px;
}

#flow .flowlist {
  width: calc(100% - 337px);
  margin-left: auto;
}

#flow .flowlist .flowitem {
  border-bottom: 1px solid var(--line-secondary);
  padding: 23px 0 30px 53px;
  margin-bottom: 36px;
  position: relative;
  display: flex;
}

#flow .flowlist .flowitem:before {
  content: '';
  width: 1px;
  background: var(--black-primary);
  position: absolute;
  left: 35px;
  top: 10px;
  bottom: -13px;
}

#flow .flowlist .flowitem:after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 6.5px 0px 6.5px;
  border-color: var(--black-primary) transparent transparent transparent;
  transform: rotate(0deg);
  position: absolute;
  left: 30px;
  bottom: -25px;
}

#flow .flowlist .flowitem .circle {
  width: 69px;
  height: 69px;
  background: var(--black-primary);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  padding-top: 8px;
}

#flow .flowlist .flowitem .circle small {
  display: block;
  font-size: 10px;
  line-height: 1;
}

#flow .flowlist .flowitem .img {
  width: 210px;
}

#flow .flowlist .flowitem .col-text {
  width: calc(100% - 210px);
  padding: 16px 0 0 16px;
}

#flow .flowlist .flowitem .col-text h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 8px;
}

#flow .flowlist .flowitem .col-text .txt {
  color: var(--black-secondary);
}

#flow .flowlist .flowitem:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

#flow .flowlist .flowitem:last-child:before, #flow .flowlist .flowitem:last-child:after {
  display: none;
}

#flow .btn-chat {
  max-width: 790px;
  width: 100%;
  margin: 100px auto 0;
}

#flow .btn-chat a {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border-radius: 100px;
  padding-left: 215px;
  position: relative;
}

#flow .btn-chat a:before {
  content: '';
  width: 112px;
  background-image: url("../img/shared/icon_chat.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 70px;
}

#flow .btn-chat a:after {
  content: '';
  width: 40px;
  background-image: url("../img/shared/icon_arrow4.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 55px;
}

#flow .btn-chat a span {
  display: block;
}

#flow .btn-chat a .ttl {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 10px;
}

#flow .btn-chat a:hover {
  opacity: 0.8;
}

.scanning #flow {
  padding-bottom: 140px;
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
  #flow h2 {
    margin-bottom: 30px;
  }
  #flow .flowlist {
    width: calc(100% - 257px);
  }
  #about-3d .col-text {
    width: calc(50% + 30px);
  }
}

@media screen and (min-width: 768px) and (max-width: 1080px) {
  #flow .flowlist {
    width: calc(100% - 157px);
  }
}

@media screen and (min-width: 768px) and (max-width: 980px) {
  #information .btn-common {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 24px;
  }
  #wwcd .ttl-common .eng {
    font-size: 68px;
  }
  #flow .flowlist {
    width: 100%;
  }
  #flow .flowlist .flowitem {
    align-items: center;
  }
  #flow .flowlist .flowitem .col-text {
    padding: 0 0 0 16px;
  }
  #about-3d {
    padding-top: 0;
  }
  #about-3d .img {
    width: 100%;
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    margin-bottom: 24px;
  }
  #about-3d .col-text {
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-height: 900px) {
  .horizontal_scroll .scroller .item {
    width: 560px;
  }
  .horizontal_scroll .scroller .item .row-text {
    padding: 30px;
  }
}

@media screen and (min-width: 768px) and (max-height: 800px) {
  .horizontal_scroll {
    gap: 20px;
  }
  .horizontal_scroll .scroller .item .img {
    height: 300px;
  }
  .horizontal_scroll .scroller .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50%;
  }
}

@media screen and (min-width: 768px) and (max-height: 700px) {
  .horizontal_scroll .scroller .item .img {
    height: 200px;
  }
}
@media screen and (max-width: 1280px){
	.horizontal_scroll .scroller .slick-list{
		padding: 0 20px;
	}
}
@media screen and (max-width: 767px) {
  #information {
    padding: 56px 0;
  }
  #information:before {
    bottom: 0px;
  }
  #information h2 {
    margin-bottom: 24px;
  }
  #information .infolist li a {
    padding: 16px 0;
  }
  #information .infolist li a:hover {
    color: var(--black-primary);
  }
  #information .btn-common {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 24px;
  }
  #about {
    padding: 56px 0;
  }
  #about h2 {
    margin-bottom: 24px;
  }
  #about-3d {
    padding: 0px 0 24px;
  }
  #about-3d .img {
    width: 100%;
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    margin-bottom: 24px;
  }
  #about-3d .col-text {
    width: 100%;
  }
	#about .video{
		width: 100%;
		height: 51vw;
	}
  #wwcd {
    padding: 56px 0 80px;
  }
  #wwcd:after {
    width: 100%;
    top: 231px;
    border-radius: 0;
  }
	.page-id-15 #wwcd:after{
		top: 400px;
	}
  #wwcd h2 {
    margin: 0 -2vw 25px 0;
  }
	#wwcd .txt1{
		margin: 0 0 10px;
	}
	.horizontal_scroll{
		padding: 0;
	}
	.horizontal_scroll .slick-arrow{
		top: 30%;
	}
	.horizontal_scroll .scroller .slick-list{
		padding: 0 6.5vw;
	}
  .horizontal_scroll .scroller .item {
    width: 86.7vw !important;
  }
  .horizontal_scroll .scroller .item .row-text {
    padding: 16px;
  }
  .horizontal_scroll .scroller .item .row-text h3 {
    font-size: 16px;
    display: block;
    border-bottom: 1px solid var(--line-secondary);
    padding-bottom: 6px;
    margin-bottom: 16px;
  }
  .horizontal_scroll .scroller .item .row-text h3 .num {
    font-size: 18px;
    margin-bottom: 3px;
  }
	.horizontal_scroll .swiper-button-prev, .horizontal_scroll .swiper-button-next{
		top: 29%;
	}
  #flow {
    padding: 56px 0 80px;
  }
  #flow h2 {
    margin-bottom: 24px;
  }
  #flow .flowlist {
    width: 100%;
  }
  #flow .flowlist .flowitem {
    padding: 23px 0 22px 53px;
    margin-bottom: 30px;
    display: block;
  }
  #flow .flowlist .flowitem:before {
    bottom: -10px;
  }
  #flow .flowlist .flowitem:after {
    border-width: 15px 6.5px 0px 6.5px;
    left: 29px;
    bottom: -20px;
  }
  #flow .flowlist .flowitem .img {
    width: 100%;
  }
  #flow .flowlist .flowitem .col-text {
    width: 100%;
    padding: 16px 0 0;
  }
  #flow .flowlist .flowitem .col-text h3 {
    font-size: 16px;
  }
  #flow .flowlist .flowitem .col-text .txt {
    font-size: 12px;
  }
  #flow .btn-chat {
    max-width: none;
    margin: 82px auto 0;
  }
  #flow .btn-chat a {
    height: auto;
    border-radius: 4px;
    padding: 8.5vw;
  }
  #flow .btn-chat a:before {
    width: 10.9vw;
    height: 9.9vw;
    top: 8.5vw;
    bottom: auto;
    left: 8.5vw;
  }
  #flow .btn-chat a:after {
    width: 8.5vw;
    height: 8.5vw;
    top: auto;
    bottom: 2.7vw;
    right: 2.7vw;
  }
  #flow .btn-chat a .ttl {
    font-size: 4.8vw;
    margin: 1.4vw -3vw 5.7vw 14.1vw;
  }
  #flow .btn-chat a:hover {
    opacity: 1;
  }
  .scanning #flow {
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 370px) {
  #wwcd .ttl-common .eng {
    font-size: 8.5vw;
  }
}
