@charset "utf-8";

/*
Theme Name: ad-works
Author: ad-works
Description: アド・ワークス（オリジナルテーマ）
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,200,300,400,500,600,700');  


*,*:before,*:after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  font-family: 'Noto Sans JP', "ヒラギノ角ゴ ProN W3" , "Hiragino Kaku Gothic ProN," , "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", 'メイリオ' , "Meiryo" , "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  /*コンテンツ量が少ない時用*/
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

h1,h2,h3,h4,h5,h6{
  font-weight: 600;
}
ul,li{
  list-style:none;
  margin:0;
  padding:0;
}
a,a:hover{
  text-decoration: none;
  color: inherit;
}
header{
/*  height: 50vh;*/
  /*position: sticky;*/
  /*top: 0;*/
  /*z-index: 2;*/
  /*width: 100%;*/
  /*box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .3);*/
}
main{
  position: relative;
  overflow: hidden;
  /*コンテンツ量が少ない時用*/
  flex: 1;
}
button{
  appearance: none;
  border: none;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  background-color: transparent;
}
img{
  vertical-align: bottom;
}
table{
  width: 100%;
  min-width: 100%;
  margin-top: 20px;
}
th{
  background: #E6E6E6;
  font-size: 18px;
  font-weight: 500;
}
th,td{
  border: solid 1px #333;
  padding: 10px 20px;
  white-space: nowrap;
  line-height: 1.5;
}

.tb{display:none}
.sp{display:none}
@media screen and (max-width: 1000px) {
  .pc{display:none;}
  .tb{display:block}
}
  @media screen and (max-width: 400px) {
  .pc{display:none;}
  .tb{display:none;}
  .sp{display:block}
}

.mx-auto{ margin: 0 auto; }

.mt-10{ margin-top: 10px!important; }
.mt-15{ margin-top: 15px!important; }
.mt-20{ margin-top: 20px!important; }
.mt-30{ margin-top: 30px!important; }
.mt-60{ margin-top: 60px!important; }
.mt-120{ margin-top: 120px!important; }
.mt-180{ margin-top: 180px!important; }
.mt-240{ margin-top: 240px!important; }

.mb-30{ margin-bottom: 30px!important; }
.mb-60{ margin-bottom: 60px!important; }

.pt-30{ padding-top: 30px!important; }
.pt-60{ padding-top: 60px!important; }

.pb-30{ padding-bottom: 30px!important; }
.pb-60{ padding-bottom: 60px!important; }

.w-300{ width: 300px; }
.w-450{ width: 450px; }

.h-400{ height: 400px; }
.h-250{ height: 250px; }

.lh-125{ line-height: 1.25; }
.lh-150{ line-height: 1.5; }
.lh-200{ line-height: 2; }

.text-left{ text-align: left; }
.text-center{ text-align:center ; }
.text-right{ text-align: right; }

.scroll_area{
  overflow-x: scroll;
}

.flex{
  display: flex;
  flex-wrap: wrap;
}

.fade-in{
  opacity:0;
  transition : all 2s;
}
.fade-in_bottom{
  transform : translate(0, 100px);
}
.fade-in_left{
  transform : translate(-100px, 0);
}
.fade-in_right{
  transform : translate(100px, 0);
}
.show{
  opacity:1; 
  transform : translate(0, 0);
}

.buttonOutline{
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
  width: 100%;
  max-width: 320px;
  height: 64px;
  padding: 8px 24px;
/*  font-family: sans-serif;*/
  font-size: 16px;
  color: #333;
  text-align: center;
  overflow-wrap: anywhere;
  background-color: transparent;
  border: 1px solid #333;
}
@media (any-hover: hover) {
  .buttonOutline {
    transition: background-color 0.2s;
  }
  .buttonOutline:hover {
    background-color: #f1ca00;
  }
}


.main_nav{
  position: fixed;
  z-index: 100;
  top: 30px;
  left: 30px;
}
.main_nav--ltem{
  padding: 10px 30px;
  margin: 10px;
  text-align: center;
}
.main_nav--ltem:hover{opacity:0.8;}
.main_nav--ltem:nth-child(1){animation:slide_up1 3s;}
.main_nav--ltem:nth-child(2){animation:slide_up2 3s;}
.main_nav--ltem:nth-child(3){animation:slide_up3 3s;}
.main_nav--ltem:nth-child(4){animation:slide_up4 3s;}
.main_nav--ltem:nth-child(5){animation:slide_up5 3s;}
.main_nav--ltem:nth-child(6){animation:slide_up6 3s;}
.main_nav--ltem:nth-child(7){animation:slide_up7 3s;}
@keyframes slide_up1{
  0%,50%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}
@keyframes slide_up2{
  0%,55%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}
@keyframes slide_up3{
  0%,60%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}
@keyframes slide_up4{
  0%,65%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}
@keyframes slide_up5{
  0%,70%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}
@keyframes slide_up6{
  0%,75%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}
@keyframes slide_up7{
  0%,80%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}

#togglenav{display: none;}
.menuBtn{display: none;}
.togglenav-btn{
  cursor: pointer;
  position: absolute;
  top: 10px;
  left: 10px;
/*  z-index: 200;*/
  width: 50px;
  height: 50px;
  border-radius:25px;
  color: #333;
  background-color: #fff;
/*background-color: red;*/
  -webkit-transition: background-color .6s, -webkit-transform .6s;
  transition: background-color .6s, transform .6s;
}
.hamburger__line{
  position: absolute;
  left: 12.5px;
  width: 25px;
  height: 2px;
  border-radius:1px;
  background-color: #333;
  transition: all 0.6s;
}
.hamburger__line--1{top:18px}
.hamburger__line--2{top:25px}
.hamburger__line--3{top:32px}
#togglenav:checked + .menuBtn .togglenav-btn .hamburger__line--2{
  opacity: 0;
}
#togglenav:checked + .menuBtn .togglenav-btn .hamburger__line--1{
  transform: translate(0,7px) rotate(45deg);
}
#togglenav:checked + .menuBtn .togglenav-btn .hamburger__line--3{
  transform: translate(0,-7px) rotate(-45deg);
}

@media screen and (max-width: 800px) {
  .menuBtn{display:block;z-index:100;}
  .main_nav--list{
    display:none;
/*    opacity:0;*/
/*    transition:all 5s*/
  }
  #togglenav:checked ~ .main_nav--list{
    display:block;
/*    opacity:1;*/
    margin-top:50px;
    background:#fff;
  }
  .main_nav{
    top:0;
    left:0;
  }
  .main_nav--ltem{}
  .main_nav--ltem:nth-child(n){
    animation:none;transform:none;
  }
}




.header_logo{
  width: 250px;
  height: 250px;
  margin:  0 auto;
  background-image: url("../img/logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation:slide_up 3s;
}
@keyframes slide_up{
  0%{opacity:0;transform:translateY(30px);}
  100% {opacity:1;transform:translateY(0);}
}

.header_bg,
.header_line{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
}
.header_bg{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  background-image: url("../img/header_bg.svg");
  animation:bg_move 3s;
}
@keyframes bg_move{
  50%{opacity:0;}
  100% {opacity:1;}
}
.header_line{
/*  background-color:#F1CA00;*/
  background:linear-gradient(to left, rgba(241,202,0,0) 0% 50%, rgba(241,202,0,1) 80% 100%);
  background-size:300%;
  mask-image:url("../img/header_line.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: top;
  -webkit-mask-image:url("../img/header_line.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: top;
  animation:line_move 2s;
}
@keyframes line_move {
  30%{background-position:right;}
  100% {background-position:left;}
}
@media screen and (max-width: 800px) {
  .header_bg{
    background-image: url("../img/header_bg_sp.svg");
  }
  .header_line{
    -webkit-mask-image:url("../img/header_line_sp.svg");
    mask-image:url("../img/header_line_sp.svg");
  }
}
@media screen and (max-width: 400px) {
  .header_bg{
    background-image: url("../img/header_bg.svg");
    background-size: cover;
  }
  .header_line{
    mask-image:url("../img/header_line.svg");
    mask-size: cover;
  }

}

.section_title{
  font-size:16px;
  margin-bottom:24px;
}

#about,
#news,
#service,
#works,
#access,
#recruit{
  text-align: center;
  margin-top: 160px;
  min-height:30vh;
}

.catchphrase{
  letter-spacing: 0.5rem;
  font-size: 30px;
  font-weight: 500;
  margin-top: 30px;
}

.news_list{
  text-align: left;
  list-style: none;
  margin: 0;
  padding: 0;
  display:inline-block;
}
.news_item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}
.news_item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}
.news_item a:hover {
  color: #007acc;
}
.news_date {
  font-size: 14px;
  color: #666;
  margin-right: 15px;
  min-width: 80px;
}
.news_text {
  font-size: 16px;
  font-weight: normal;
}


.service_contents--wrap{
  margin: 0 auto;
  max-width:390px;
  gap:30px;
  justify-content:center;
}
.service_contents__img_area{
  display: inline-block;
  background: #ddf0f2;
  width: 100px;
  height: 100px;
  border-radius: 6px;
}
.service_contents__icon{
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.service_contents__img_area .print{
  width: 60px;
  height: 60px;
  background-image: url("../img/service/service_print.svg");
  top: 20px;
  left: 20px;  
}
.service_contents__img_area .illust{
  width: 60px;
  height: 60px;
  background-image: url("../img/service/service_illust.svg");
  top: 20px;
  left: 20px;  
}
.service_contents__img_area .data{
  width: 60px;
  height: 60px;
  background-image: url("../img/service/service_data.svg");
  top: 20px;
  left: 20px;  
}
.service_contents__img_area .photo{
  width: 60px;
  height: 60px;
  background-image: url("../img/service/service_photo.svg");
  top: 20px;
  left: 20px;  
}
.service_contents__img_area .web{
  width: 60px;
  height: 60px;
  background-image: url("../img/service/service_web.svg");
  top: 20px;
  left: 20px;  
}
.service_contents__img_area .movie{
  width: 60px;
  height: 60px;
  background-image: url("../img/service/service_movie.svg");
  top: 20px;
  left: 20px;  
}


.works_contents--wrap{
  /*width:80vw;*/
  /*max-width:1080px;*/
  width:100vw;
  height:300px;
}
.top_works_thumbnail{
  position: relative;
  width:250px;
  height:250px;
  background-image: linear-gradient(0deg, rgba(221, 240, 242, 1), rgba(221, 240, 242, 0.5));
/*  background-color: #eee;*/
  overflow: hidden;
  padding:15px;
}
.top_works_thumbnail_contents{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}
.swiper-button-next_display-none,
.swiper-button-prev_display-none,
.swiper-scrollbar_display-none{
  display:none;
}



/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  bottom: 0;
  content: "";
  height: 0;
  margin: auto;
  position: absolute;
  top: 0;
  width: 0;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  border-bottom: 20px solid transparent;
  border-right: 30px solid #52b3bd;
  border-top: 20px solid transparent;
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  border-bottom: 20px solid transparent;
  border-left: 30px solid #52b3bd;
  border-top: 20px solid transparent;
}
/* 画像サイズ調整 */
.swiper-slide img {
  /*height: auto;*/
  /*width: 100%;*/
}



/* モーダルここから */
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.modal.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s 0s;
}
.modal-content {
  background-image: linear-gradient(0deg, rgba(221, 240, 242, 1), rgba(255, 255, 255, 1));
  margin: 10% auto;
  padding: 20px;
  width: 80%;
  height:80%;
  /*min-height:80%;*/
  overflow-y:scroll;
}
.modal-content::-webkit-scrollbar{
  display:none;
}
.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index:1;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal-item_wrap{
  width:100%;
  height:100%;
}
.modal-swiper{
  /*height:100%;*/
}
.modal-item_imgs_wrap{
  position: relative;
  /*overflow: hidden;*/
  width:100%;
  margin-top:20px;
}
.modal_thumbnail_contents{
  /*position: absolute;*/
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 90%;
  max-width: 1000px;
  height: 90%;
  max-height: 600px;
  object-fit: contain;
  display: block;
}
.modal-item_client-name{
  /*color:#ddf0f2;*/
  color:#52b3bd;
  text-align: center;
  margin-top:5px;
}
.modal-item_title{
  font-size: 20px;
  text-align: center;
  margin-bottom:5px;
}
.modal-item_tags_wrap{
  text-align: center;
  margin-bottom:5px;
}
.modal-item_tag{
  display:inline-block;
  color:#555;
  border:1px solid;
  padding:2px 10px;
  margin:5px;
}
.modal-item_text{
  /*text-align: center;*/
  text-align: left;
  margin:0 auto;
  margin-bottom:5px;
  max-width:600px;
}
.modal-item_url{
  display:block;
  text-align: center;
}
.modal-item_url:after{
  content:'\f35d';
  font-family: 'Font Awesome 5 Free';
  margin-left:5px;
}
@media screen and (max-width: 1000px) {
  .modal {}
  .modal.show {}
  .modal-content {
    margin: 20px auto;
    width: 95%;
    height: 95%;
  }
  .close {}
  .close:hover,
  .close:focus {}
  .modal-item_wrap{}
  .modal-swiper{}
  .modal-item_imgs_wrap{}
  .modal_thumbnail_contents{
    margin: 10px auto;
  }
  .modal-item_client-name{}
  .modal-item_title{}
  .modal-item_tags_wrap{}
  .modal-item_tag{}
  .modal-item_text{}
}
/* モーダルここまで */


/*-----gotop(トップへ戻る)-----*/
.gotop{
  display: inline-block;
  position: fixed;
  width: 60px;
  height: 60px;
  right: 40px;
  bottom: 40px;
  background: #ddf0f2;
  border-radius: 50%;
  opacity: 0.8;
  z-index: 100;
}
.gotop::before,
.gotop::after{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  margin:auto;
  content:"";
  vertical-align:middle;
  pointer-events: none;
}
.gotop:hover{
  opacity: 1;
}
.arrow::before,
.arrow::after{
  pointer-events: none;
}
.arrow::before{
  top:5px;
  left:29px;
  width: 2px;
  height: 40px;
  background-color: #fff;
}
.arrow::after{
  top:-2px;
  left:18px;
  width:24px;
  height:24px;
  border-top:2px solid #fff;
  border-left: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 800px) {
  .gotop{
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 15px;
  }
  .arrow::before{
    left:24px;
    height: 30px;
  }
  .arrow::after{
    top:-2px;
    left:15px;
    width:20px;
    height:20px;
  }

}


.bottom_info{
  margin-left:30px;
}
@media screen and (max-width: 400px) {
  .bottom_info{
    margin:0 auto;
    text-align: center;
  }
}

/*-----footer-----*/
footer{
  margin-top: 30px;
  display: block;
  width: 100%;
  background: #f1ca00;
  color: #555;
  padding:20px 50px;
  text-align:center;
}