/* service */

/* service > TOP */
.serviceMangaMenuList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.serviceMangaMenuList li {
  width: calc((100% - 30px) / 2);
  box-shadow: 0 0 5px #eee;
  border-radius: 15px;
  transition: 0.5s;
}

.serviceMangaMenuList li:hover {
  background-color: #F4F1E9;
}

.serviceMangaMenuList a {
  display: block;
  padding: 30px 30px 35px 30px;
}

.serviceMangaMenuListEachImage {

}

.serviceMangaMenuListEachImage img {
  max-width: 100%;
}

.serviceMangaMenuListEachTitle {
  position: relative;
  font-size: 22px;
  font-weight: 600;
  padding: 20px 40px 20px 0;
  line-height: 1.7em;
}

.serviceMangaMenuListEachTitle:after {
  content: "";
  position: absolute;
  right: 0;
  top: 27.5px;
  width: 25px;
  height: 25px;
  background-image: url(../images/top/topMenuMangaArrow.svg);
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

.serviceMangaMenuListEachText {
  line-height: 1.7em;
}



/* manga each */
.serviceMangaproduction {
  background-image: url(../images/service/manga/top_header_2_pc.png);
}

.serviceMangalp {
  background-image: url(../images/service/manga-lp/top_header_2_pc.png);
}

.serviceMangamovie {
  background-image: url(../images/service/manga-movie/top_header_2_pc.png);
}

.serviceMangabooklet {
  background-image: url(../images/service/manga-booklet/top_header_2_pc.png);
}

.serviceMangaflyer {
  background-image: url(../images/service/manga-flyer/top_header_2_pc.png);
}

.serviceMangawebtoon {
  background-image: url(../images/service/webtoon/top_header_2_pc.png);
}

.serviceHeaderBox {
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  width: 100%;
}

.serviceHeaderInBox {
  margin: 0 auto;
  max-width: 1100px;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.serviceHeaderInContentsBox {
  max-width: 550px;
  margin: 0 auto 0 0;
}

.serviceHeaderInContentsBox .aioseo-breadcrumbs {
  margin-top: 15px;
}

.serviceHeaderInContentsBox h1 {

}

.serviceHeaderInContentsBox p {
  line-height: 1.7em;
  margin: 1em 0;
  text-align: left;
}

.serviceEachInfoBox {

}

.serviceEachInfoTitle {
  font-size: 36px;
  text-align: center;
  font-weight: 600;
  line-height: 1.5em;
}

.serviceEachInfoTitle span {
  font-size: 44px;
  color: #CBA144;
  padding: 0 5px;
}

.serviceEachInfoInImage {
  width: 320px;
  text-align: center;
}

.serviceEachInfoInImage img {
  max-width: 100%;
}

.serviceEachInfoInContent {
  width: 600px;
}


.serviceReasonMangaInEachBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  margin: 80px 0 60px 0;
}

.serviceReasonMangaInEachBoxReverse {
  flex-direction: row-reverse;
}

.serviceReasonMangaInEachImage {

}

.serviceReasonMangaInEachImage img {
  width: 100%;
  max-width: 470px;
}

.serviceReasonMangaInEachContents {
  flex: 1;
}

.serviceReasonMangaInEachNumber {
  font-size: 22px;
  color: #816019;
  font-family: serif;
  font-weight: 600;
}

.serviceReasonMangaInEachContents h3 {
  color: #816019;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5em;
  margin: 0 0 20px 0;
}

.serviceReasonMangaInEachText {
  font-size: 15px;
  margin: 0.5em 0;
  line-height: 1.7em;
}

.serviceWorksListHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 100px;
}

.serviceWorksMangaHeaderLink {

}

.serviceWorksMangaHeaderLink p {
  border-bottom: 2px solid #231815;
}

.serviceWorksMangaHeaderLink a {
  font-size: 16px;
  display: block;
  padding: 5px 25px 5px 0;
  position: relative;
  font-weight: 600;
  transition: 0.5s;
  word-break: keep-all;
}

.serviceWorksMangaHeaderLink a:after {
  content: "";
  background-image: url(../images/btn_bk.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 0;
  top: calc(50% - 6px);
}

.serviceWorksMangaHeaderLink a:hover {
  opacity: 0.5;
}


.serviceWebtoonImageBox {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px 100px;
}

.serviceWebtoonImageEachBox {
  padding: 20px;
  width: 48%;
  max-width: 360px;
  border: 3px solid #c0ae72;
}

.serviceWebtoonImageTitle {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.serviceWebtoonImageTitleRed {
  color: #ac0c0c;
}

.serviceWebtoonImageTitleBlue {
  color: #002d80;
}

.serviceWebtoonImage {
  padding-top: 20px;
}

.serviceWebtoonImage img {
  max-width: 100%;
}

.serviceWebtoonViewBox {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 40px 0 0 0;
  padding: 0 75px;
}

.serviceWebtoonViewEachBox {
  padding: 10px;
  width: 330px;
}

.serviceWebtoonViewTitle {
  font-size: 18px;
  font-weight: 600;
  padding: 5px 10px;
  position: relative;
  text-align: center;
}

.serviceWebtoonViewTitleRed {
  background-color: #ac0c0c;
  color: #fff;
}

.serviceWebtoonViewTitleBlue {
  background-color: #002d80;
  color: #fff;
}

.serviceWebtoonViewInBox {
  position: relative;
  z-index: 10;
  height: 650px;
  overflow: hidden;
}

.serviceWebtoonViewInBox:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  min-width: 100%;
  min-height: 100%;
  background-image: url(../images/service/webtoon/sp_bezel2.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.serviceWebtoonViewScrollBox {
  position: relative;
  z-index: 10;
  height: 650px;
}

.serviceWebtoonViewScrollBox:after {
  content: "";
  position: absolute;
  z-index: 11;
  left: 0;
  top: -15px;
  min-width: 100%;
  min-height: 100%;
  background-image: url(../images/service/webtoon/sp_bezel2.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.serviceWebtoonViewScrollInfo {
  position: absolute;
  top: 200px;
  left: 100px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  line-height: 0;
}

.serviceWebtoonViewScrollInfo.on {
  animation: fadeOut 5s; /*keyframesで命名したものを使う。2秒間で消える*/
  animation-fill-mode: both; /*0%の時と100%の時の状態を保つ*/
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.serviceWebtoonViewScrollInfo img {
  width: 75px;
  padding: 5px;
}

.serviceWebtoonViewScrollInBox {
  position: relative;
  z-index: 12;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-radius: 38px;
  margin: 15px;
  height: 600px;
}

.serviceWebtoonViewScrollInBox::-webkit-scrollbar {
  display: none;
}

.serviceWebtoonViewImage {
  width: 100%;
}

.serviceWebtoonViewImage img {
  width: 100%;
}

.serviceWebtoonViewImage2 {
  position: relative;
}

.serviceWebtoonViewImage2:after {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../images/service/webtoon/webtoon_2gif.gif);
  background-position: 0;
  background-size: 100%;
}

.serviceWebtoonViewImageFukidashi {
  position: absolute;
  z-index: 15;
}

.swvifFade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.serviceWebtoonViewImageFukidashi img {
  max-width: 100%;
}

/* webtoon 位置設定 */
.swvif1 {
  top: calc(300px * 1.13);
  left: 65%;
  width: 27%;
}

.swvif2 {
  top: calc(300px * 2.02);
  left: 43%;
  width: 32%;
}

.swvif3 {
  top: calc(300px * 3.45);
  right: 0;
  width: 77%;
}

.swvif4 {
  top: calc(300px * 5.4);
  right: 35%;
  width: 30%;
}

.swvif5 {
  top: calc(300px * 6.2);
  right: 15%;
  width: 70%;
}

.swvif6 {
  top: calc(300px * 9.15);
  left: 10%;
  width: 65%;
}

.swvif7 {
  top: calc(300px * 11.25);
  left: 45%;
  width: 10%;
}

.swvif8 {
  top: calc(300px * 13.62);
  left: 0%;
  width: 80%;
}

.swvif9 {
  top: calc(300px * 15.72);
  left: 20%;
  width: 60%;
}

.swvif10 {
  top: calc(300px * 17.6);
  left: 10%;
  width: 75%;
}

.swvif11 {
  top: calc(300px * 20.1);
  left: 20%;
  width: 60%;
}

.swvif12 {
  top: calc(300px * 22.7);
  left: 48%;
  width: 32%;
}

.swvif13 {
  top: calc(300px * 24.6);
  right: 0%;
  width: 59%;
}

.swvif14 {
  top: calc(300px * 25.2);
  left: 10%;
  width: 60%;
}

.serviceStrengthsMangaInBox {
  width: 100%;
  max-width: 1100px;
  margin: 50px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.serviceStrengthsMangaInBox li {
  width: calc(100% / 3);
  margin: 0;
}

.serviceStrengthsMangaEachImage {
  text-align: center;
  position: relative;
  margin: 0 auto;
}

.serviceStrengthsMangaEachImage img {
  background-color: #fff;
  border-radius: 50%;
  width: 180px;
  border: 10px solid #F4F1E9;
}

.serviceStrengthsMangaEach {
  background-color: #F4F1E9;
  border-radius: 15px;
  padding: 20px 20px 25px 20px;
}

.serviceStrengthsMangaEach h3 {
  font-weight: 600;
  font-size: 22px;
  text-align: center;
  line-height: 1.7em;
}

.serviceStrengthsMangaEach h3 span {
  color: #CBA144;
}

.serviceFlowMangaBoxList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.serviceFlowMangaBoxList li {
  background-color: #F4F1E9;
  border-radius: 15px;
  padding: 20px 20px 50px 20px;
  width: calc((100% - 30px) / 3);
  margin: 15px 0 0 0;
  position: relative;
}

.serviceFlowMangaBoxList li:after {
  content: "";
  background: #fff;
  position: absolute;
  left: -0.5px;
  top: calc(50% - 17.5px);
  width: 20px;
  height: 35px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.serviceFlowMangaBoxList li:first-child:after {
  display: none;
}

.serviceFlowMangaBoxListNumber {
  font-size: 22px;
  color: #816019;
  font-family: serif;
  font-weight: 600;
}

.serviceFlowMangaBoxListImage {
  text-align: center;
  display: none;
}

.serviceFlowMangaBoxListImage img {
  width: 100%;
  max-width: 170px;
}

.serviceFlowMangaBoxListTitle {
  text-align: center;
  color: #816019;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.7em;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
  margin-top: 15px;
}

.serviceMangaPatternEach {

}

.serviceMangaPatternTitle {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  transition: 0.5s;
}

.serviceMangaPatternText {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 10px 0px 0px 0px;
  text-align: left;
}

@media all and (max-width: 1024px) { /* SP */
  /* service > top */
  .serviceMangaMenuList li {
    width: 100%;
  }


  /* service each */
  .serviceHeaderBox {
    background-size: cover;
    background-position: top;
  }

  .serviceMangaproduction {
    background-image: url(../images/service/manga/top_header_2_sp.png);
  }
  
  .serviceMangalp {
    background-image: url(../images/service/manga-lp/top_header_2_sp.png);
  }
  
  .serviceMangamovie {
    background-image: url(../images/service/manga-movie/top_header_2_sp.png);
  }
  
  .serviceMangabooklet {
    background-image: url(../images/service/manga-booklet/top_header_2_sp.png);
  }
  
  .serviceMangaflyer {
    background-image: url(../images/service/manga-flyer/top_header_2_sp.png);
  }
  
  .serviceMangawebtoon {
    background-image: url(../images/service/webtoon/top_header_2_sp.png);
  }

  .serviceHeaderInBox {
    min-height: 300px;
    align-items: flex-end;
  }

  .serviceHeaderInContentsBox {
    height: auto;
    min-height: 200px;
    padding: 95vw 0 5vw 0;
  }

  .serviceHeaderInContentsBox .aioseo-breadcrumbs {
    white-space: wrap;
    margin-bottom: 20px;
    margin-right: 75px;
  }

  .serviceHeaderInContentsBox p {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }

  .serviceEachInfoInBox {
    padding: 50px 20px;
  }

  .serviceEachInfoInImage {
    width: 100%;
    margin-bottom: 30px;
  }

  .serviceEachInfoInContent {
    width: 100%;
  }

  .serviceWebtoonImageBox {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .serviceWebtoonImageEachBox {
    width: 100%;
    margin-bottom: 20px;
  }

  .serviceWebtoonViewBox {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .serviceWebtoonViewEachBox {
    width: 100%;
    margin-bottom: 20px;
  }

  .serviceWebtoonViewImageTitle {
    background-color: #ac0c0c;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 15px 10px;
    text-align: center;
  }



  .serviceWebtoonViewScrollInBox {
    margin: -160px 0 0 0;
    height: 100vh;
    border-radius: 0;
  }

  /* webtoon 位置設定 */
  .swvif1 {
    top: calc(100vw * 0.8);
  }

  .swvif2 {
    top: calc(100vw * 1.75);
  }

  .swvif3 {
    top: calc(100vw * 3.3);
  }

  .swvif4 {
    top: calc(100vw * 5.4);
  }

  .swvif5 {
    top: calc(100vw * 6.2);
  }

  .swvif6 {
    top: calc(100vw * 9.4);
  }

  .swvif7 {
    top: calc(100vw * 11.65);
  }

  .swvif8 {
    top: calc(100vw * 13.8);
  }

  .swvif9 {
    top: calc(100vw * 16.0);
  }

  .swvif10 {
    top: calc(100vw * 18);
  }

  .swvif11 {
    top: calc(100vw * 20.75);
  }

  .swvif12 {
    top: calc(100vw * 23.5);
  }

  .swvif13 {
    top: calc(100vw * 25.55);
  }

  .swvif14 {
    top: calc(100vw * 26.2);
  }

  .serviceFlowMangaBoxList li {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 15px;
  }

  .serviceFlowMangaBoxListNumber {
    display: none;
  }

  .serviceFlowMangaBoxListImage {
    width: 30%;
  }

  .serviceFlowMangaBoxListTitle {
    width: 70%;
    text-align: left;
    margin-top: 0;
    line-height: 1.5em;
  }

  .serviceFlowMangaBoxListNumberSp {
    font-size: 20px;
    color: #816019;
    font-family: serif;
    font-weight: 600;
    display: block;
    line-height: 1em;
  }

  .serviceFlowMangaBoxList li:after {
    left: calc(50% - 17.5px);
    top: -0.5px;
    width: 35px;
    height: 20px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }

  .serviceStrengthsMangaInBox {
    flex-wrap: wrap;
  }

  .serviceStrengthsMangaInBox li {
    width: 100%;
  }

  .serviceEachInfoTitle {
    font-size: 27px;
    line-height: 1.7em;
  }

  .serviceEachInfoTitle span {
    font-size: 36px;
  }

  .serviceReasonMangaInEachBox {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .serviceReasonMangaInEachContents h3 {
    font-size: 27px;
  }

  .serviceReasonMangaInEachImage {
    margin-bottom: 10px;
  }

  .serviceWorksListHeader {
    justify-content: center;
    padding-top: 70px;
  }

  .serviceWorksListHeader h2.pageCommonTitle {
    text-align: center;
  }
}

@media all and (min-width: 1025px) { /* PC */

}