﻿

/* ========BASIC======== */

header {
    opacity: 0;
}

.pc {
    display: none;
}

.sp {
    display: block;
}

#fv {
    margin-left: 5%;
    margin-bottom: 0;
    color: #000;
}

.mv-title {
    position: relative;
    top: -25px;
    z-index: 10;
}

.mv-title h2 {
    font-size: 15vw;
    font-weight: 800;
    text-align: left;
    line-height: 1.0;
    margin: 0;
    letter-spacing: -0.08em;
}

.mv-title h2 span.mult {
    font-weight: 700;
    letter-spacing: -0.05em;
}

.mv-title h2 span.equal {
    font-stretch: extra-condensed;
    padding-right: 4px;
    letter-spacing: -0.16em;
}

.mv-title p {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    opacity: 0;
    margin-top: 2%;
}

.mv-right.fade {
    opacity: 0.9;
}

.mv-txt {
    width: 85vw;
    margin-right: 10%;
    margin-left: 5%;
}

.mv-txt p {
    font-size: 1.4rem;
    font-weight: 500;
    text-align: justify;
    line-height: 2.4;
    letter-spacing: 0.25em;
    margin-bottom: 5%;
}

#fv .scroll {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: -210px;
    z-index: 2;
    padding: 10px 10px 320px;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    -webkit-transition: all 1.5s;
    -moz-transition: all 1.5s;
    -ms-transition: all 1.5s;
    -o-transition: all 1.5s;
    transition: all 1.5s;
    opacity: 0;
}

#fv .scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 30px;
    animation: sdl 1.5s ease infinite;
    background: #333;
}

#fv .scroll::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 300px;
    background: rgba(175, 175, 175, .4);
}

@keyframes sdl {
    0% {
        transform: translateY(-270px);
    }
    50%,
    100% {
        transform: translateY(30px);
    }
}

.mv-left {
    display: none;
}

#load {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
}

#load svg {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: 220px;
    text-align: center;
    fill: #000;
}


/*--------------- news area start ---------------*/

#news h4 {
    font-size: 1.4rem;
    margin: 3% 0;
}

#news .contents {
    margin-left: 3%;
}

#news>.news-inner ul>li:nth-child(3) {
    display: none !important;
}

#news>.news-inner ul>li:nth-child(4) {
    display: none !important;
}

#news>.news-inner {
    width: 90vw;
    margin: 0 auto;
}

#news>.news-inner ul>li {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5% 3% 3%;
    background: linear-gradient(#a1a1a1, #a1a1a1) 0 100%/0 1px no-repeat;
    transition: 1.8s;
    text-decoration: none;
}

#news>.news-inner ul>li time {
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.1em;
    padding-right: 3%;
}

#news>.news-inner ul>li time .dd {
    font-size: 2.8rem;
    font-weight: 400;
}

#news>.news-inner ul>li time .mm-yy {
    font-size: 1.2rem;
    font-weight: 500;
}

#news>.news-inner ul>li span {
    font-size: 1.2rem;
    font-weight: 400;
    padding: 3px 15px;
    letter-spacing: 0.1em;
    border-radius: 40px;
}

#news>.news-inner ul>li span.award {
    color: #c35656;
    border: solid 1px #c35656;
}

#news>.news-inner ul>li span.release {
    color: #b19445;
    border: solid 1px #b19445;
}

#news>.news-inner ul>li span.notice {
    color: #5082ad;
    border: solid 1px #5082ad;
}


/*--------------- brand area start ---------------*/

#brand {
    margin-bottom: 8%;
}

#brand h3 {
    margin-left: 8%;
}

#brand h4 {
    font-size: 2.0rem;
    margin: 5% 0 3%;
    font-family: '游ゴシック体 Pr6N B', sans-serif;
}

.brand-title {
    width: 90%;
}

#brand p {
    font-size: 1.4rem;
    text-align: justify;
    margin-right: 5%;
    margin-left: 3%;
}

.brand-contents {
    padding: 5% 0 5% 10%;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.brand-inner {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 30%, #f3e1e2 30%, #f3e1e2 100%);
    padding-bottom: 10%;
}

.brand-area {
    display: flex;
    margin-left: -5%;
}

.brand-box {
    font-size: 1.4rem;
    margin-left: 5%;
    flex: 0 0 80%;
    background: #fff;
    white-space: normal;
    word-wrap: break-word;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    text-align: center;
}

.brand-box:last-child {
    position: relative;
}

.brand-box:last-child::after {
    position: absolute;
    top: 0;
    left: 100%;
    width: 5%;
    height: 1px;
    content: '';
}

.logo {
    margin: 20px;
    width: 230px;
}

#brand a {
    margin-right: 5%;
}


/*--------------- gallery area start ---------------*/

#gallery h3 {
    margin-left: 8%;
    margin-bottom: 3%;
}

.gallery-title {
    width: 90%;
}

#gallery .gallery-subtitle {
    font-weight: 100;
    position: absolute;
    color: #fff;
    font-size: 1.9rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 10;
    letter-spacing: 0.07em;
}

#gallery .gallery-inner {
    position: relative;
}

#gallery .gallery-video {
    width: 82vw;
    margin: 0 auto;
    border: none;
}


/*--------------- recruit area start ---------------*/

#recruit .recruit-inner {
    background: #e9d1b9;
}

#recruit .contents-inner {
    width: 90%;
    margin: 0 auto;
    padding: 4% 0 12%;
}

#recruit .recruit-contents p {
    font-size: 1.6rem;
    width: 90%;
    margin: 0 auto;
    text-align: justify;
}


/*--------------- contact area start ---------------*/

#contact {
    margin: 25% 0;
}

#contact div {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #000;
}

.custom-btn {
    text-align: center;
    padding: 5%;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    font-size: 1.6rem;
    letter-spacing: 0.2em;
}

.btn {
    z-index: 1;
}

.btn:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background: #000;
    transition: all 0.3s ease;
}

.btn:hover {
    color: #fff;
}

.btn:hover:after {
    left: 0;
    width: 100%;
}

.slide-img {
    background-size: cover;
    background-position: center center;
    height: 40vh;
}


/* スマホ用のCSSはメディアクエリの外に記述する */

@media screen and (min-width: 481px) {
    /* 481px以上に適用されるCSS（タブレット用） */
}

@media screen and (min-width: 960px) {
    /* 960px以上に適用されるCSS（PC用） */
    #load svg {
        width: 270px;
    }
    .pc {
        display: block;
    }
    .sp {
        display: none;
    }
    /*--------------- main area start ---------------*/
    #fv {
        position: relative;
        width: 82vw;
        margin: 0 auto;
    }
    .mv-title h2 {
        font-size: 7.0vw
    }
    .mv-title p {
        font-size: 0.8vw;
        margin-top: 10px;
    }
    .mv-right {
        position: absolute;
        right: 0px;
        top: 80px;
        width: 40vw;
    }
    .mv-title {
        position: absolute;
        top: 180px;
        left: 2vw;
        z-index: 1;
    }
    .mv-title h2 span.equal {
        padding-right: 7px;
        letter-spacing: -0.05em;
    }
    /*--------------- company area start ---------------*/
    #company {
        margin: 0 auto 130px;
        display: flex;
        width: 80vw;
    }
    .mv-left {
        display: block;
        width: 47%;
    }
    .mv-txt {
        width: 34vw;
        margin-left: 5%;
        margin-right: 0;
    }
    .mv-txt p {
        font-size: 1.0vw;
        font-weight: 500;
        text-align: justify;
        line-height: 2.4;
        letter-spacing: 0.25em;
        margin-bottom: 5%;
    }
    /*--------------- news area start ---------------*/
    #news h4 {
        font-size: 1.4rem;
        margin: 10px 0;
    }
    #news .contents {
        margin-left: 0;
    }
    #news .news-contents {
        width: 100%;
        margin-left: 5%;
    }
    #news>.news-inner ul>li:nth-child(3) {
        display: flex !important;
    }
    #news>.news-inner ul>li:nth-child(4) {
        display: flex !important;
    }
    #news>.news-inner {
        max-width: 1200px;
        width: 80vw;
        margin: 0 auto;
        display: flex;
    }
    #news>.news-inner ul>li {
        display: flex;
        justify-content: left;
        align-items: center;
        padding: 20px 20px 10px;
    }
    #news>.news-inner ul>li time {
        padding-right: 30px;
    }
    #news>.news-inner ul>li span {
        padding: 3px 15px;
    }
    /*--------------- brand area start ---------------*/
    #brand {
        margin: 0 auto 100px;
    }
    #brand p {
        font-size: 1.5rem;
    }
    #brand h3 {
        margin-bottom: 3%;
        margin-left: 0;
    }
    .brand-title {
        width: 80vw;
        max-width: 1200px;
        margin: 0 auto;
    }
    .brand-inner {
        padding-bottom: 6%;
    }
    .brand-contents {
        padding: 0;
        overflow-y: hidden;
        overflow-x: hidden;
    }
    .brand-area {
        max-width: 1200px;
        align-items: normal;
        justify-content: space-evenly;
        margin: 0 auto;
    }
    .brand-box {
        margin-left: 0;
        width: 500px;
        flex: none;
    }
    #brand a {
        margin-right: auto;
        margin-top: 5%;
    }
    /*--------------- gallery area start ---------------*/
    #gallery {
        margin-bottom: 150px;
    }
    #gallery h3 {
        margin-bottom: 3%;
        margin-left: 0;
    }
    .gallery-title {
        width: 80vw;
        max-width: 1200px;
        margin: 0 auto;
    }
    #gallery .gallery-subtitle {
        font-size: 34px;
        letter-spacing: 0.15em;
    }
    #gallery .gallery-inner {
        position: relative;
        margin: 0 auto;
        width: 82vw;
    }
    #gallery .gallery-video {
        max-width: 1200px;
    }
    /*--------------- recruit area start ---------------*/
    #recruit {
        padding: 0;
    }
    #recruit .contents-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 3% 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 85%;
    }
    #recruit .recruit-contents {
        margin: 80px 0px;
        width: 80%;
    }
    #recruit .recruit-contents p {
        margin: 0;
    }
    /*--------------- contact area start ---------------*/
    #contact {
        margin: 12% 0;
    }
    #contact div {
        margin: 12% auto;
        width: 80%;
        max-width: 600px;
    }
    .custom-btn {
        padding: 50px 5%;
        max-width: 600px;
        font-size: 3.0rem;
    }
    #fv .slide-img,
    #company .slide-img {
        background-size: cover;
        background-position: center center;
        max-height: 550px;
        height: 26vw !important;
    }
    #gallery .slide-img {
        background-size: cover;
        background-position: center center;
        height: 80vh;
    }
}

#fv .swiper-slide,
#company .swiper-slide {
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#fv .slide-img,
#company .slide-img {
    background-size: cover;
    background-position: center center;
    /* 背景画像は中央を軸に表示させる */
    height: 50vh;
}

.button {
    margin-top: 8%;
    position: relative;
    display: block;
    width: 277px;
    height: 50px;
    font-size: 1.5rem;
    line-height: 60px;
    text-align: center;
    text-transform: uppercase;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.045em;
    padding: 0 30px 0 20px;
    margin-left: auto;
}

.button svg {
    position: absolute;
    top: 0;
    left: 0;
}

.button svg rect {
    stroke-width: 1;
    stroke-dasharray: 353, 0;
    stroke-dashoffset: 0;
    -webkit-transition: all 600ms ease;
    transition: all 600ms ease;
}

.button span {
    background: #111;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.button::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 0px);
    right: 20px;
    width: 20px;
    height: 5px;
    border: none;
    border-right: 2px solid #333;
    border-bottom: 1px solid #333;
    transform: skew(45deg);
    transition: .3s;
}

.button.hover svg rect {
    stroke-width: 1;
    stroke-dasharray: 220, 533;
    stroke-dashoffset: 437;
    opacity: 1;
}