/*
    Theme Name: sample
*/

html,
body {
    background-color: #fffbf9;

    color: black;
    font-family: azo-sans-web, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-style: normal;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.clear {
    clear: both;
}

hr {
    border: none;
    height: 1px;
}

header .nav {
    position: fixed;
    top: 50px;
    left: 100px;
    z-index: 2;
}

header {
    background-color: #fffbf9f7;
    height: 120px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
}

header img {
    height: 100%;
    width: auto;
}

.nav li {
    float: left;
    list-style-type: none;
}

.nav a::before {
    font-size: 10px;
    color: #808080;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.nav a:hover::before {
    color: #faa69a;
}

.nav li:nth-of-type(2) a::before {
    content: "トップ";
    color: #6b6b6b;
}

.nav li:nth-of-type(3) a::before {
    content: "クリエイティブ事業部";
    color: #6b6b6b;
}

.nav li:nth-of-type(4) a::before {
    content: "マーケティング事業部";
    color: #6b6b6b;
}

.nav li:nth-of-type(5) a::before {
    content: "海外進出支援事業部";
    color: #6b6b6b;
}
.nav li:nth-of-type(6) a::before {
    content: "会社概要";
    color: #6b6b6b;
}
.nav li:nth-of-type(7) a::before {
    content: "採用情報";
    color: #6b6b6b;
}

.nav li:nth-of-type(8) a::before {
    content: "お問い合わせ";
    color: #6b6b6b;
}
.nav_footer li:nth-of-type(1) a::before {
    content: "トップ";
    color: #6b6b6b;
}

.nav_footer li:nth-of-type(2) a::before {
    content: "クリエイティブ事業部";
    color: #6b6b6b;
}

.nav_footer li:nth-of-type(3) a::before {
    content: "マーケティング事業部";
    color: #6b6b6b;
}

.nav_footer li:nth-of-type(4) a::before {
    content: "海外事業支援事業部";
    color: #6b6b6b;
}
.nav_footer li:nth-of-type(5) a::before {
    content: "会社概要";
    color: #6b6b6b;
}
.nav_footer li:nth-of-type(6) a::before {
    content: "採用情報";
    color: #6b6b6b;
}

.nav_footer li:nth-of-type(7) a::before {
    content: "お問い合わせ";
    color: #6b6b6b;
}

.nav .header_botton {
    display: inline-block;
    width: 100%;
    padding: 16px 20px 0;
    /* height: 1.6em; */
    /* font-weight: 700; */
    /* letter-spacing: 2px; */
    transition: .3s;
    /* font-size: 16px; */
    color: #a5a5a5;
    position: relative;
}
.nav .header_botton p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #6b6b6b;
    letter-spacing: 2px;
}

.nav .header_botton:hover {
    color: #faa69a;
}

.nav p {
    position: relative;
}

.nav p::after {
    position: absolute;
    transition: .3s;
    content: '';
    width: 0;
    bottom: -10px;
    height: 2px;
    background: #faa69a;
    right: 0;
    left: auto;
}

.nav .header_botton:hover p:after {
    width: 97%;
    left: 0;
}


@media (min-width: 901px) and (max-width:1120px) {
    header .nav {
        left: 30px;
    }
    .nav .header_botton {
        padding: 16px 12px 0;
    }
}

header .logo {
    height: 35px;
    margin-right: 30px;
    z-index: 999;
    display: block;
}

.smp_header {
    height: 100%;
}

.smp_header #img_wrapper {
    display: inline-block;
    width: 36%;
    height: 100%;
    margin-left: 5%;
    position: relative;
    z-index: 999;
}

.smp_header #img_wrapper img {
    width: 100%;
    height: auto;
    margin-top: 30px;
    transform: translateY(-50%);
}

main {
    width: 90%;
    margin: 0 5%;
    overflow: hidden;
    position: relative;
}

.main_content {
    width: 33%;
    float: left;
    margin-top: 45vh;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.detect h1 {
    font-size: 6vw;
    font-weight: 400;
    letter-spacing: 4px;
}

.center {
    position: static;
    border-radius: 50%;
}

.center img {
    width: 100%;
    height: 100%;
    border-radius: 10%;
    position: static;
    z-index: 1;
}

.center_text_wrapper {
    width: 60%;
    height: 0;
    padding-bottom: 60%;
    border-radius: 50%;
    background-color: #ECECEC;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%);
    -moz-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    z-index: 2;
}

.center_text {
    width: 100%;
    margin-top: 43%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.center_text * {
    font-weight: lighter;
    text-align: center;
}

.center_text h2 {
    font-size: 1.667vw;
    line-height: 1.2em;
}

.center h3 {
    font-size: 0.7vw;
    margin-bottom: 1.667vw;
}

.center p {
    font-size: 1.11vw;
}

.center_text .fas,
.center_text .fa,
.center_text .fab {
    font-size: 32px;
    margin-top: 25px;
    margin-left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.right {
    float: right;
}

.p-index-project-detail {
    pointer-events: none;
    text-align: right;
}

.p-index-project-detail__slider-counter {
    width: 20%;
    margin-left: 80%;
}

.p-index-project-detail__slider-counter img {
    width: 100%;
}

.all::before {
    content: "";
    width: 22px;
    height: 1px;
    display: inline-block;
    background-color: #000;
    margin: 0 5px;
}

.p-index-project-detail__project-title {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    margin-top: 2vw;
    height: 6.2vw;
    font-weight: 400;
    font-size: 3vw;
    line-height: 1;
    letter-spacing: -1px;
    -webkit-transform-origin: center right;
    transform-origin: center right;
    color: #444444;
}

.p-index-project-detail__project-title a {
    pointer-events: auto;
    display: block;
    width: 100%;
}

.p-index-project-detail__project-info {
    pointer-events: auto;
    font-weight: 400;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .5px;
    line-height: 1;
    white-space: nowrap;
}

.project_content {
    margin-top: 10px;
}

.p-index-project-detail__project-info .info-text {
    position: relative;
    display: inline-block;
    color: #444444;
    text-decoration: none;
}

.p-index-project-detail_content {
    pointer-events: auto;
    margin-bottom: 4px;
    color: #444444;
    letter-spacing: 0.4px;
}

@media (min-width: 751px) {
    .p-index-project-detail__view-detail p {
        position: relative;
    }
}

.p-index-project-detail__view-detail p {
    font-weight: 400;
    font-size: 13px;
    color: rgba(0, 0, 0, .59);
}

.under_content::before {
    content: "";
    position: absolute;
    right: 0;
    top: -75px;
    left: 0;
    margin: auto;
    width: 2px;
    height: 50px;
    background-color: #c1c1c1;
}

.under_content {
    position: absolute;
    bottom: 3vw;
    left: 0;
    height: 5vw;
    width: 100%;
    text-align: center;
}

.under_icon {
    height: 90px;
    background: none!important;
}
.under_icon i {
    font-size: 32px;
}

.fa-search {
    content: "\f002";
}

#image1,
#image2,
#image3,
#image4,
#image5,
#image6 {
    width: 33%;
    opacity: 0;
    transition: 1s;
    position: relative;
    z-index: 3;
}

#image1.current,
#image2.current,
#image3.current,
#image4.current,
#image5.current,
#image6.current {
    opacity: 1;
}

.project_title {
    transition: 1s;
}

button:focus {
    outline: none;
}

.center_wrapper {
    display: inline-block;
    width: 33%;
}

#image1 img,
#image2 img,
#image3 img,
#image4 img,
#image5 img,
#image6 img {
    transition: 2s;
}

.first_message {
    margin-top: 70px;
    text-align: center;
}

.first_message h4 {
    letter-spacing: 0.069vw;
    font-size: 2.5vw;
    line-height: 4vw;
}

.first_message h5 {
    font-size: 2.15vw;
}

.company_items {
    width: 100%;
    padding: 0 2%;
    margin-top: 60px;
    display: flex;
    justify-content: space-around;
}

.company_item {
    display: inline-block;
    background-color: white;
    width: 325px;
    vertical-align: top;
    margin-top: 22px;
    height: 463px;
    position: relative;
}

.company_item img {
    width: 100%;
}

.company_item hr {
    width: 24%;
    margin: 11px 38%;
    background-color: black;
}

.company_item h5 {
    text-align: center;
    font-size: 22px;
    letter-spacing: 0.16rem;
}

.company_item h6 {
    text-align: center;
    font-size: 15px;
    font-weight: lighter;
}

.company_item p {
    padding: 0 7%;
    font-size: 14px;
    line-height: 1.8em;
}

.view_more {
    margin-left: 50%;
    font-weight: bold;
    transform: translateX(-50%);
    display: inline-block;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    font-size: 12px;
    padding: 10px 50px 10px 40px;
    border: 1px solid #000000;
    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
    -webkit-transition: 1s;
    transition: 1s;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
    position: absolute;
    bottom: 15px;
    font-weight: lighter;
    width: 160px;
}

.view_more::after {
    position: absolute;
    -webkit-transition: 1s;
    transition: 1s;
    content: '';
    width: 0;
    left: 50%;
    bottom: -5px;
    height: 3px;
    background: #000000;
    height: 120%;
    left: -10%;
    -webkit-transform: skewX(15deg);
    transform: skewX(15deg);
    z-index: -1;
}

.view_more:hover {
    cursor: pointer;
    color: white;
}

.view_more:hover:after {
    left: -10%;
    width: 120%;
}

.arrow::after {
    content: '';
    display: block;
    width: 8px;
    height: 1px;
    background-color: black;
    position: absolute;
    left: 77.5%;
    top: 52%;
    transform: translate(100%, -4px) rotate(45deg);
    transition: 1s;
}

.arrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: black;
    position: absolute;
    left: 70.5%;
    top: 50%;
    transform: translate(25%, -50%);
    transition: 1s;
}

.view_more:hover .arrow::after,
.view_more:hover .arrow::before {
    background-color: white;
}

.company {
    margin-top: 138px;
}

.company h3 {
    text-align: center;
    font-size: 1.667vw;
}

.table_wrap {
    margin-top: 60px;
}

.table_item {
    width: 60%;
    margin: 57px 20%;
}

.table_item p {
    display: inline-block;
    vertical-align: top;
    letter-spacing: 0.15em;
    line-height: 1.5em;
}

.item_title {
    width: 20%;
    font-weight: bold;
}

.item_content {
    width: 79%;
}

iframe {
    margin-left: 50%;
    transform: translateX(-50%);
}

.footer {
    padding: 45px 5% 0 5%;
}

.logo_wrap {
    display: inline-block;
    vertical-align: middle;
}

.logo_wrap img {
    height: 20px;
}

.logo_wrap h5 {
    display: inline-block;
    font-size: 1.18vw;
    padding-left: 15px;
    padding-right: 30px;
}

.adress {
    border-left: solid 2px #faa69a;
    padding-left: 30px;
    font-size: 0.83vw;
    display: inline-block;
    vertical-align: middle;
}

footer .nav {
    margin: 45px 0;
}

footer .nav a {
    color: white;
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    height: 1.6em;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 16px;
    position: relative;
}

footer .nav a:hover {
    color: #faa69a;
}

footer .nav p {
    text-align: center;
    width: 100%;
}

footer hr {
    width: 100%;
    margin: 0;
    background-color: white;
}

.copy {
    padding: 15px 0;
    font-size: 12px;
    text-align: center;
}

.under_icon {
    height: 65px;
}


@media screen and (min-width: 750px) {
    .under_icon img {
        margin-left: 50%;
        transform: translateX(-50%);
        height: auto;
        width: 10%;
    }
}
@media (max-width: 768px) {
    .under_icon img {
        margin-left: 50%;
        transform: translateX(-50%);
        height: auto;

    }
}

.toContact {
    margin-top: 45px;
    display: inline-block;
    padding: 15px 53px;
    line-height: 30px;
    background-color: #faa69a;
    color: white;
    border-radius: 30px;
}

footer .nav li:nth-of-type(1) a::before {
    content: "トップ";
}

footer .nav li:nth-of-type(2) a::before {
    content: "クリエイティブ事業部";
}

footer .nav li:nth-of-type(4) a::before {
    content: "マーケティング事業部";
}

footer .nav li:nth-of-type(3) a::before {
    content: "Youtube事業部";
}

footer .nav li:nth-of-type(5) a::before {
    content: "会社概要";
}

footer .nav li:nth-of-type(6) a::before {
    content: "採用情報";
}

footer .nav li:nth-of-type(7) a::before {
    content: "お問い合わせ";
}

.logo_title {
    width: 40%;
    background-color: #ffffff;
    padding: 1%;
}

.logo_sub_title {
    width: 40%;
    background-color: #ffffff;
    padding: 12px 26px;
    margin-top: 1.04167vw;
    margin-bottom: 1.04167vw;
}

.logo_title img {
    width: 100%;
    -webkit-backface-visibility: hidden;
}

.logo_sub_title img {
    vertical-align: middle;
    -webkit-backface-visibility: hidden;
}

input,
textarea {
    padding-left: 1em;
}

input:focus,
textarea:focus {
    box-shadow: 0 0 15px #faa69a;
    outline: 0;
}
