@charset "UTF-8";
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body {
  height: 100%;
}
body {
  font-family: "Montserrat",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  line-height: 1.8;
  color: #333;
  font-size: 15px;
}
a{
    text-decoration: none;
    display: block;
    transition: .3s;
    color: #fff;
}
ul,ol,li{
    list-style-type: none;
}
img{
    max-width: 100%;
    vertical-align: bottom;
}
.inner{
    width: 100%;
    margin: 0 auto;
}

/*--------------------------見出し-------------------------------------------*/
.heading-primary{
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #391e88;
    font-size: 39px;
    position: relative;
}
.heading-primary::after{
    position: absolute;
    letter-spacing: .03em;
    font-size: 13px;
}

/*--------------------------ボタン-------------------------------------------*/
.btn {
    position: relative;
    font-weight: bold;
    line-height: 1.4;
    display: inline-block;
    width: 200px;
    padding: 20px 0;
    transition: .3s;
    text-align: center;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 50px;
    background-image: linear-gradient(to right, #7633a4 0%, #250d65 51%, #7633a4 100%);
    background-size: 200% auto;
    font-size: 14px;
}
.btn::after {
    position: absolute;
    top: 50%;
    right: 1.5em;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
    transition: .3s;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
}
.btn:hover {
    background-position: right;
}
.btn:hover::after {
    right: 1.2em;
}

/*--------------------------上に戻るボタン-------------------------------------------*/
.page-top{
    position: fixed;
    right: 45px;
    bottom: 45px;
    z-index: 1;
}
.page-top a{
    width: 50px;
    height: 50px;
    padding: 12px;
    text-align: center;
    border-radius: 50%;
    background-color: #391e88;
}
.page-top a:hover {
    opacity: .8;
}

@media screen and (max-width: 768px) {
  .page-top {
    right: 20px;
    bottom: 20px;
  }
}

/*-----------------------------------------------header-----------------------------------------------------------*/
header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 30px;
    transition: all .3s;
}
header.active{
    padding: 20px 30px;
    background-color: #21054d;
}
header .inner{
    display: flex;
    align-items: center;
    justify-content: space-between; 
}
header .inner h1{
    line-height: 1;
}
header .inner h1 img{
    display: block;
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 15px;
  }
    header.active{
        padding: 10px 15px;
  }
    header .inner h1 img{
        width: 120px;
    }
}

/*-----------------------------------------------nav-----------------------------------------------------------*/
nav ul{
    display: grid;
    grid-auto-flow: column;
    text-align: center;
    grid-column-gap: 30px;
}
nav ul li{
    font-weight: bold;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 14px;
}
nav ul li a{
    position: relative;
    display: inline-block;
}
nav ul li a::after{
    width: 0;
    height: 0;
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0; 
    transition: width .3s;
    background-color: #fff;
}
nav ul li a:hover::after{
    width: 100%;
    height: 1px;
}

@media screen and (max-width: 960px) {
    nav ul li{
        font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
    nav ul{
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
  }
    nav ul li{
        margin-bottom: 20px;
        font-size: 16px;
    }
    nav ul li a::after{
        display: none;
  }
}

/*-----------------------------------------------ハンバーガーメニュー-----------------------------------------------------------*/
/*--------------------------ハンバーガーメニューのボタン-------------------------------------------*/
.btn-menu{
    display: none;
}
@media screen and (max-width: 768px) {
    .btn-menu {
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        cursor: pointer;
        text-align: center;
        opacity: .9;
        border: none;
        outline: none;
        background: none;
        appearance: none;
        font-size: 12px;
  }
}
.btn-menu__line{
    position: relative;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    transition: all .4s;
    border-radius: 4px;
    background-color: #fff;
}
.btn-menu__line::before,
.btn-menu__line::after{
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    display: block;
    transition: inherit;
    border-radius: 4px;
    background-color: inherit;
}
.btn-menu__line::before{
    top: -8px;
}
.btn-menu__line::after{
    top: 8px;
}
.btn-menu.active .btn-menu__line{
  background-color: transparent;
}
.btn-menu.active .btn-menu__line::before, 
.btn-menu.active .btn-menu__line::after{
    top: 0;
    background-color: #fff;
}
.btn-menu.active .btn-menu__line::before{
  transform: rotate(45deg);
}
.btn-menu.active .btn-menu__line::after{
  transform: rotate(-45deg);
}
/*--------------------------ハンバーガーメニーのナビ-------------------------------------------*/
@media screen and (max-width: 768px) {
    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        display: flex;
        visibility: hidden;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        transition: opacity .3s ease;
        opacity: 0;
        background-image: linear-gradient(135deg, #7633a4, #250d65);
  }
  .global-nav.show{
      visibility: visible;
      opacity: 1;
  }
}

/*-----------------------------------------------footer-----------------------------------------------------------*/
footer{
  
}
/*-----------------------------------------------homepageのcontact-----------------------------------------------------------*/
/*.contact{
    margin-top: 40px;
    padding: 80px 0;
    text-align: center;
    background-color: #f0f0f0;
}
.contact .inner > h2{
    text-align: center;
    margin-bottom: 50px;
}
.contact .inner > h2::after{
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    content: "お問い合わせ";
}
.contact .inner > p:first-of-type{
    margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
    .contact{
        margin-top: 0px;
        padding: 60px 0;
    }
    .contact .inner > h2{
        font-size: 30px;
    }
    .contact .inner > h2::after{
        top: 40px;
    }
    .contact .inner > p:first-of-type span{
        display: block;
    }
}*/
footer .inner > div{
    margin-top: 40px;
    padding: 80px 0;
    text-align: center;
    background-color: #f0f0f0;
}
footer .inner > div h2{
    text-align: center;
    margin-bottom: 50px;
}
footer .inner > div h2::after{
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    content: "お問い合わせ";
}
footer .inner > div p:first-of-type{
    margin-bottom: 30px;
}
footer ul{
    padding: 60px 30px 0;
    background-color: #120e19;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
footer ul li a{
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
}
footer ul li a:hover{
    opacity: .8;
}
footer .inner > p{
    padding: 30px 30px 20px;
    text-align: center;
    background-color: #120e19;
}
footer .inner > p a{
    color: #a798b7;
}
footer .inner > p a:hover {
    opacity: .8;
}

@media screen and (max-width: 768px) {
    footer .inner > div{
        margin-top: 0px;
        padding: 60px 0;
    }
    footer .inner > div h2{
        font-size: 30px;
    }
    footer .inner > div h2::after{
        top: 40px;
    }
    footer .inner > div > p:first-of-type span{
        display: block;
    }
    footer ul{
        justify-content: flex-start;
        margin-bottom: -10px;
  }
    footer ul li{
        margin-bottom: 10px;
    }
}

/*-----------------------------------------------hero-----------------------------------------------------------*/
/*--------------------------homepageのhero-------------------------------------------*/
.hero{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-image: url(../img/hero.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}
.hero .inner{
  padding: 0 40px;
  text-align: center;
}
.hero .inner > h2{
    font-weight: bold;
    line-height: 1;
    font-size: 72px;
}
.hero .inner > p:first-of-type{
    margin-top: 20px;
    letter-spacing: .1em;
    font-size: 24px;
}
.hero .inner > p:last-of-type{
    margin-top: 50px;
    border: 1px solid #fff;
    background: none;
}
.hero .inner > p:last-of-type:hover{
    opacity: .8;
}
@media screen and (max-width: 768px) {
    .hero .inner{
        text-align: left;
  }
    .hero .inner > h2{
        line-height: 1.4;
        font-size: 48px;
  }
    .hero .inner > p:first-of-type{
        font-size: 16px;
  }
    .hero .inner > p:first-of-type span{
        display: block;
    }
}
/*--------------------------homepageのheroのスクロール-------------------------------------------*/
.hero__scroll{
    position: absolute;
    right: 20px;
    bottom: 0;
    line-height: 1;
    display: inline-block;
    overflow: hidden;
    padding: 10px 10px 90px;
    letter-spacing: .2em;
    text-transform: uppercase; 
    font-size: 12px;
    writing-mode: vertical-lr;
}
.hero__scroll::after{
    width: 1px;
    height: 80px;
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    animation: scrollDownLine 1.5s cubic-bezier(1, 0, 0, 1) infinite;
    background: #fff;
}
@keyframes scrollDownLine {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
  }
    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
  }
    50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
  }
}

@media screen and (max-width: 768px) {
    .hero__scroll{
        padding: 10px 10px 60px;
  }
    .hero__scroll::after {
        height: 50px;
  }
}
/*--------------------------homepage以外のhero-------------------------------------------*/
.sub-hero{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  color: #fff;
  background-image: url(../img/hero.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.sub-hero .inner{
  padding: 50px 40px 10px 40px;
  text-align: center;
}
.sub-hero .inner h2{
    color: #fff;
    font-size: 30px;
    text-transform: uppercase; 
    position: relative;
}
.sub-hero .inner h2::after{
    content: "お知らせ";
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
}
.srvice-contents .sub-hero .inner h2::after{
    content: "事業内容";
}
.works-contents .sub-hero .inner h2::after{
    content: "制作実績";
}
@media screen and (max-width: 768px) {
  .sub-hero {
    height: 180px;
  }
}

/*-----------------------------------------------breadcrumb-----------------------------------------------------------*/
.breadcrumb{
    width: 100%;
    padding: 8px 0;
    background-color: #f0f0f0;
}
.breadcrumb .inner{
    max-width: 1200px;
}
.breadcrumb ol{
    width: 95%;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 auto;
}
.breadcrumb ol li{
    text-transform: uppercase;
    font-size: 12px;
    margin-right: 30px;
    position: relative;
}
.breadcrumb ol li::after{
    content: ">";
    color: #555;
    position: absolute;
    top: 0;
    left:50px;
}
.breadcrumb ol li:last-of-type::after{
    content: "";
}
.breadcrumb ol li span{
    color: #555;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
      padding: 5px 0;
  }
    .breadcrumb ol li{
        font-size: 11px;
        font-size: 0.6875rem;
  }
}

/*-----------------------------------------------homepageのnews-----------------------------------------------------------*/
.news{
    margin: 70px 0;
}
.news .inner{
    width: 95%;
    display: flex;
    max-width: 950px;
}
.news .inner > h2{
    width: 20%;
}
.news .inner > h2::after{
    top: 50px;
    left: 0;
    content: "お知らせ";
}
.news .inner ul li{
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.news .inner ul li div{
    display: flex;
}
.news .inner ul li div h3{
    margin: 0 20px;
    font-weight: bold;
    width: 80px;
    padding: 2px 10px;
    text-align: center;
    color: #333;
    border-radius: 20px;
    background-color: #e8e8e8;
    font-size: 12px;
}
.news .inner a{
    transition: .3s;
    color: #333;
}
.news .inner a:hover{
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .news{
        margin: 40px 0;
  }
    .news .inner{
        display: block;
    }
    .news .inner > h2{
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
        font-size: 30px;
    }
    .news .inner > h2::after{
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
    }
    .news .inner ul li{
        display: block;
        margin-bottom: 30px;
    }
}

/*-----------------------------------------------homepageのservice-----------------------------------------------------------*/
.service{
    margin: 160px 0;
}
.service .inner{
    width: 95%;
}
.service .inner > h2{
    text-align: center;
    margin-bottom: 50px;
}
.service .inner > h2::after{
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    content: "事業内容";
}
.service .inner > ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.service .inner > ul li{
    width: 30%;
    min-width: 230px;
    margin: 0 30px 30px 0;
}
.service .inner > ul li:last-of-type{
    margin-right: 0;
}
.service .inner > ul li figure img{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}
.service .inner > ul li figure figcaption h3{
    margin: 15px 0;
    text-align: center;
}
.service .inner > p{
    display: block;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .service{
        margin: 80px 0 150px 0;
    }
    service .inner > ul{
        display: block;
    }
    .service .inner > h2{
        font-size: 30px;
    }
    .service .inner > h2::after{
        top: 40px;
    }
    .service .inner > ul li{
        width: 100%;
        margin: 0 0 30px 0;
    }
    .service .inner > ul li figure figcaption h3{
        margin: 10px 0;
    }
    .service .inner > ul li figure figcaption p{
        font-size: 13px;
    }
}

/*-----------------------------------------------homepageのworks-----------------------------------------------------------*/
.works{
    width: 100%;
    /*padding: 60px 0 40px 0;*/
    margin: 0 auto;
}
.works .inner{
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    padding: 60px 0 60px 20px;
    margin: 0 auto;
}
.works .inner > div{
    width: 550px;
    text-align: center;    
    padding: 100px 0;
    margin-left: 30px;
}
.works .inner > div::after{
    position: absolute;
    top: 50%;
    left: 45%;
    z-index: -10;
    display: block;
    width: 870px;
    height: 100%;
    max-width: ;
    content: "";
    transform: translateY(-50%);
    background-color: #f0f0f0;
}
.works .inner > div > h2{    
    margin-bottom: 50px;
}
.works .inner > div > h2::after{
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    content: "制作実績";
}
.works .inner > div > p:first-of-type{
    margin: 30px 0;
}
.slider{
    width: 60%;
    max-width: 830px;
    min-width: ;
}
.slider img{
    width: 100%;
}

@media screen and (max-width: 768px) {
    .works{
        width: 100%;
        padding: 0;
        margin-bottom: 50px;
        background: linear-gradient(transparent 30%, #f0f0f0 0%);
    }
    .works .inner{
        flex-direction: column-reverse;
        padding: 0;
    }
    .works .inner > div{
        width: 100%;
        padding: 60px;
        z-index: 0;
    }
    .works .inner > div::after{
        display: none;
    }
    .works .inner > div > h2{
        font-size: 30px;
    }
    .works .inner > div > h2::after{
        top: 40px;
    }
    .slider{
        width: 95%;
        padding-bottom: -30px;
        min-width: 95%;
    }
}

/*-----------------------------------------------homepageのcompany-----------------------------------------------------------*/
.company {
    padding: 130px 0 130px 0;
    text-align: center;
    background-image: url(../img/bg-circle.png), url(../img/bg-face.png);
    background-position: center,center;
    background-repeat: no-repeat;
}
.company .inner h2{
    text-align: center;
    margin-bottom: 50px;
}
.company .inner h2::after{
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    content: "私たちについて";
}
.company .inner p:first-of-type{
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    font-size: 40px;
    position: relative;
    z-index: -1;
    background: linear-gradient(transparent 70%, #f5f534 0%);
}
.company .inner p:first-of-type br{
    display: none;
}
.company .inner p:nth-of-type(2){
    margin: 40px 0 30px 0;
}
@media screen and (max-width: 768px) {
    .company {
      padding: 60px 0 60px;
      background-image: url(../img/sp_bg-circle.png);
      background-position: center center;
      background-size: 375px;
  }
    .company .inner h2{
        font-size: 30px;
    }
    .company .inner h2::after{
        top: 40px;
    }
    .company .inner p:first-of-type{
        line-height: 1.5;
        font-size: 32px;
        background: none;
    }
    .company .inner p:first-of-type br{
        display: block;
    }
    .company .inner p:first-of-type span{
        background: linear-gradient(transparent 70%, #f5f534 0%); 
        
    }
}

/*-----------------------------------------------homepageのrecruit-----------------------------------------------------------*/
.recruit .inner{
    width: 60%;
    min-width: 1100px;
    display: flex;
    margin: 100px auto;
}
.recruit .inner > div{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}
.recruit .inner > div h2{
    text-align: center;
    margin-bottom: 50px;
}
.recruit .inner > div h2::after{
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    content: "採用情報";
}
.recruit .inner > div p:first-of-type{
    margin-bottom: 30px;
}
.recruit .inner > figure{
    flex: 0 0 59.9099%;
}
.recruit .inner > figure img{
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
  .recruit .inner{
      width: 95%;
      flex-direction: column-reverse;
      margin: 60px auto 80px;
      min-width: 95%;
  }
    .recruit .inner > div{
        padding: 60px;
  }
    .recruit .inner > div h2{
        font-size: 30px;
    }
    .recruit .inner > div h2::after{
        top: 40px;
    }
    .recruit .inner > figure img{
        width: 100%;
        height: 140px;
        object-position: center -10px;
  }
}

/*-----------------------------------------------newspageのnews-----------------------------------------------------------*/
.news-contents .news{
    margin: 70px 0 90px 0;
}
.pagination .inner{
  display: flex;
  justify-content: center;
    margin-top: 20px;
}
.pagination .inner > span,.pagination .inner a{
  font-weight: bold;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #f1ebf8;
  font-size: 20px;
}
.pagination .inner > a{
  color: #fff;
  background-image: linear-gradient(135deg, #7633a4, #250d65);
}
.pagination .inner > a:hover {
  text-decoration: none;
  opacity: .9;
}

@media screen and (max-width: 768px) {
    .news-contents .news{
        margin: 40px 0 70px 0;
    }
}

/*-----------------------------------------------servicepageのservice-----------------------------------------------------------*/
.service-contents .service .inner ul{
    width: 60%;
    min-width: 750px;
    display: block;
    margin: 0 auto;
}
.service-contents .service .inner ul li{
    width: 100%;
}
.service-contents .service .inner ul li figure{
    display: flex;
    flex-direction: row;
}
.service-contents .service .inner ul li figure img{
    width: 40%;
    margin-right: 50px;
    object-fit: cover;
    object-position: center;
}
.service-contents .service .inner ul li figure figcaption h3{
    text-align: left;
}
@media screen and (min-width: 768px) {
.service-contents .service{
    margin: 60px 0 100px 0;
    }
    .service-contents .service .inner ul li figure{
        flex-direction: column;
    }
}

/*-----------------------------------------------workspageのworks-----------------------------------------------------------*/
.works-contents .works .inner{
    width: calc(95% - 30px);
}
.works-contents .works .inner ul{
    width: 70%; 
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.works-contents .works .inner ul li{
    width: 30%;
    margin: 0 30px 30px 0;
    min-width: 300px;
    max-width: 400px;
}
.works-contents .works .inner ul li figure img{
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}
.works-contents .works .inner ul li figure figcaption{
    color: black;
    text-align: center;
    margin-top: 30px;
}

/*-----------------------------------------------contactpageのcontact-----------------------------------------------------------*/
.contact-contents .contact .inner h2{
    font-weight: normal;
    text-align: center;
    font-size: 1em;
    margin: 80px 0 50px;
}
.contact-contents .contact .inner h2 br{
    display: none;
}
#form-tbl{
    width: 90%;
    max-width: 920px;
    background-color: gainsboro;
    padding: 90px;
    margin: 0 auto;    
}
#form{
    text-align: left;    
}
#form tr{
    display: flex;
    flex-direction: column;
}
#form tr th{
    margin-bottom: 10px;
}
#form tr th span{
    font-weight: normal;
    margin-left: 10px;
    color: violet;
}
#form tr:nth-of-type(5) th span{
    color: black;
}
#form tr td{
    margin-bottom: 20px;
}
#form tr:first-of-type td ul{
    display: flex;
}
#form tr:first-of-type td ul li:first-of-type{
    
}
#form-tbl div{
    margin-top: 50px;
    padding-left: calc(50% - 100px);
}
input[type = "text"]{
    width: 300px;
    height: 50px;
    border-radius: 5px;
    padding: 10px;
    border-color: gainsboro;
    box-shadow: none;
}
textarea{
    width: 600px;
    max-width: 550px;
    height: 200px;
    border-radius: 5px;
    padding: 15px;
    border-color: gainsboro;
}
select{
    width: 300px;
    height: 50px;
    border-radius: 5px;
    padding: 10px;
    border-color: gainsboro;
}
input[type = "submit"]{
    color: white;
    box-shadow: none;
    border: none;
}
@media screen and (max-width: 768px) {
        .contact-contents .contact .inner h2{
        margin: 40px 0 30px;
    }
       .contact-contents .contact .inner h2 br{
        display: block;
    }
    #form-tbl{
        width: 95%;
        padding: 30px;
    }
    #form{
       width: 100%;
        table-layout: fixed
    }
    #form tr:first-of-type td ul{
        display: block;
    }
    input[type = "text"]{
        width: 100%;
    }      
    textarea{
        width: 100%;
        max-width: 650px;
    }
    select{
        width: 100%;
    }
}
