@charset "UTF-8";

/*
Theme Name: FLIP-FLAME
Theme URI: /wp-content/themes/FLIP-FLAME
Author URI:
Version: 1.0
*/

@font-face {
    font-family: "Gill";
    src: url("./assets/fonts/gill-sans/Gill Sans Bold.otf") format("opentype");
    font-weight: 600;
}

@font-face {
    font-family: "Gill";
    src: url("./assets/fonts/gill-sans/Gill Sans Medium.otf") format("opentype");
    font-weight: 500;
}

html {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 62.5%;
    font-weight: 400;
    letter-spacing: 0.05em;
    scroll-padding-top: 100px;
}


*,
*:before,
*:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

img,
video {
    width: 100%;
    vertical-align: bottom;
    height: auto;
}


a {
    display: inline-block;
    text-decoration: none;

}

li {
    list-style: none;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 5%;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.header__logo {
    width: 104px;
}

.header__list {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header__item {
    position: relative;
}

.header__link {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #2E2E2E;
    position: relative;
    z-index: 1;
    text-align: center;
}

.header__link--contact {
    color: #fff;
}

.header__trapezoid {
    width: 120px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fv {
    margin-top: 150px;
    position: relative;
    margin-bottom: 63px;
}

.fv__wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    color: #fff;
}

.fv__ttl {
    font-size: 4.6rem;
    font-family: "Gill";
    font-weight: 600;
}

.fv__ja {
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    font-weight: bold;
}

.fv__img {
    width: 90%;
    max-width: 1272px;
    margin: auto;
    display: block;
}

.about {
    padding: 69px 0 100px;
    background-image: url(./assets/img/about-back.png);
    background-size: cover;
    background-position: center;
}

.about__wrap {
    max-width: 1040px;
    width: 90%;
    margin: auto;
}

.about__ttl {
    font-family: "Gill";
    font-weight: 600;
    font-size: 12.2rem;
    color: #fff;
}

.about__sub {
    font-size: 1.4rem;
    font-weight: bold;
    color: #828282;
    margin-top: 17px;
    letter-spacing: -0.06em;
}

.about__main {
    padding-left: 170px;
}

.about__detail {
    font-size: 3rem;
    line-height: 4rem;
    color: #fff;
    margin: 50px 0;
    font-weight: bold;
}

.about__under {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px 18px;
    border: 1px solid #000;
    background-color: #fff;
}

.about__trapezoid {
    width: 25px;
}

.work {
    padding: 100px 0 136px;
    background-color: #fff;
}

.work__wrap {
    max-width: 1040px;
    width: 90%;
    margin: 0 auto 54px;
}

.work__ttl {
    font-family: "Gill";
    font-weight: 600;
    font-size: 12.2rem;
    color: #000;
}

.work__sub {
    font-size: 1.4rem;
    font-weight: bold;
    color: #828282;
    margin-top: 17px;
    letter-spacing: -0.06em;
}

.work__box {
    width: calc(50% + 520px);
    max-width: 95%;
    margin-left: auto;
}

.work__bottom {
    margin-top: 90px;
    text-align: center;
}

.work__link {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    padding: 24px 0 20px;
    border: 2px solid #000;
    font-family: "Gill";
    font-weight: 600;
    max-width: 450px;
    width: 90%;
    transition: 0.3s;
}

.work__link:hover {
    background-color: #000;
    color: #fff;
}

.slick {
    margin-left: auto;
    padding-left: 102px;
}


.slick__content {
    margin-left: 68px;
    color: #000;
    display: block;
}

.slick__content img{
    border: 4px solid #000;
}

.slick__bold {
    margin: 24px 0 10px;
    font-size: 3rem;
    line-height: 4rem;
    display: block;
    font-weight: bold;
}

.slick__txt {
    display: flex;
    align-items: center;
    gap: 25px;
}

.slick__label {
    transform: translateY(4px);
    font-family: "Gill";
    font-weight: 500;
    color: #828282;
    font-size: 1.3rem;
}

.slick__company {
    font-size: 1.3rem;
}

.slick__tags {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.slick__tag {
    color: #000;
    border: 2px solid #000;
    font-size: 1.3rem;
    padding: 9px 16px;
    font-weight: bold;
}

.company {
    background-image: url(./assets/img/company-back.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.company__top {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto 48px;
    text-align: right;
}

.company__ttl {
    font-family: "Gill";
    font-weight: 600;
    font-size: 12.2rem;
    color: #fff;
    margin-bottom: 17px;
}

.company__sub {
    font-size: 1.4rem;
    font-weight: bold;
    color: #828282;
    letter-spacing: -0.06em;

}

.company__content {
    width: 80%;
    max-width: 1040px;
    margin: auto;
}

.company__row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.company__row:last-child {
    margin-bottom: 0;
}

.company__label {
    width: 220px;
    font-size: 1.8rem;
    color: #fff;
    font-weight: bold;
}

.comapny__item {
    width: calc(100% - 220px);
    font-size: 1.8rem;
    color: #fff;
    font-weight: bold;
}

.bottom {
    padding: 100px 0;
}

.bottom__ttl {
    font-size: 3rem;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
}

.bottom__link {
    width: 601px;
    max-width: 90%;
    display: block;
    margin: auto;
}

.bottom__link svg {
    width: 100%;
    height: auto;
}

.bottom__link #txt,
.bottom__link rect {
    transition: 0.3s;
}

.bottom__link:hover #txt {
    fill: #fff;
}

.bottom__link:hover rect {
    fill: #000;
}

.footer {
    background-color: #212121;
    padding: 50px 0 17px;

}

.footer__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1280px;
    max-width: 90%;
    margin: auto;

}

.footer__list {
    display: flex;
    gap: 50px;

}

.footer__logo-link {
    width: 104px;
}

.footer__item {
    position: relative;
}

.footer__link {
    color: #fff;
    font-size: 1.6rem;
    font-family: "Gill";
    font-weight: 500;
    position: relative;
    z-index: 1;
    transform: translateY(3px);
}

.footer__link--contact {
    font-weight: 600;
}

.footer__copy {
    color: #fff;
    font-size: 12px;
    margin-top: 40px;
    text-align: center;
}

.page-fv {
    position: relative;
}

.page-fv__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

}

.page-fv__ttl {
    font-size: 4rem;
    color: #fff;
    font-family: "Gill";
    position: relative;
}

.page-fv__ttl::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 60px);
    width: 2px;
    height: 150px;
    background-color: #fff;
}

.contact {
    padding: 100px 0;
}

.contact__wrap {
    max-width: 1040px;
    width: 90%;
    margin: auto;
    text-align: center;
}

.contact__label {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 60px;
}

.contact__catch {
    font-size: 1.6rem;
    margin-bottom: 50px;
}

.contact__ast {
    color: rgb(169, 0, 0);
}

.form {
    text-align: left;
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.form__row {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.form__label {
    font-size: 1.6rem;
    width: 200px;
}

.select {
    position: relative;
    width: calc(100% - 200px);
}

.select::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
}

.select__item {
    width: 100%;
    height: 46px;
    padding: 10px 20px;
    font-size: 1.6rem;
    border: 1px solid #000;
    color: #000;
}

.form__input {
    height: 46px;
}

.form__item{
    width: calc(100% - 200px);
}

.form__input,
.form__textarea {
    padding: 10px 20px;
    font-size: 1.6rem;
    width: 100%;
    border: 1px solid #000;
}

.form__ast {
    color: rgb(169, 0, 0);

}

label.error{
    display: block;
    color: rgb(169, 0, 0);
    font-size: 1.4rem;
}

.submit {
    text-align: center;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.submit__btn {
    padding: 10px 60px;
    font-size: 1.6rem;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
}

.submit__btn--back{
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    cursor: pointer;
}

.form__check {
    font-size: 1.6rem;
}

.submit__note {
    margin-top: 20px;
    font-size: 1.2rem;
}

.thanks {
    padding: 100px 0;
    text-align: center;
}

.thanks__ttl {
    font-size: 3.2rem;
    margin-bottom: 40px;
}

.thanks__txt {
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.thanks__link {
    font-size: 1.6rem;
    background-color: #000;
    color: #fff;
    padding: 10px 60px;
    text-decoration: none;
}

.works {
    padding: 100px 0;
    text-align: center;
}

.works__ttl {
    font-size: 3.2rem;
    margin-bottom: 40px;
}

.txt-img {
    width: auto;
}

.works__wrap {
    max-width: 1240px;
    width: 90%;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px 0;
    text-align: left;


}

.works__content {
    width: 30%;
    margin: 0;
}

.works__empty {
    width: 30%;
}

.txt-img {
    width: auto;
}

.txt-img--sp {
    display: none;
}

.fv__img--sp {
    display: none;
}

.privacy {
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.5em;
}

.privacy {
    font-size: 1.6rem;
    line-height: 2em;
}

.contact__label--privacy {
    margin-bottom: 30px;
}

.privacy__line {
    width: 96px;
    height: 4px;
    background-color: rgb(169, 0, 0);
    margin: 10px auto 90px;
}


.pri {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
}

.submit__note{
    text-align: center;
}

.check {
    margin-right: 10px;
    position: relative;
}

.pri label.error {
    position: absolute;
    top: 100%;

}

/*以下ハンバーガーメニューcss*/
.sp-hum {
    display: none;
}

.sp-header-nav {
    display: none;
}

.sp-only {
    display: none;
}

.grecaptcha-badge { visibility: hidden; }

@media screen and (max-width:1280px) {

    .about__ttl {
        font-size: 10rem;
    }

    .about__sub {
        margin-top: 0;
    }

    .about__detail {
        font-size: 2.4rem;
        line-height: 1.75em;
        margin: 40px 0;
    }

    .about__item {
        font-size: 1.6rem;
        padding: 6px 13px;
        gap: 10px;
    }

    .about__main {
        padding-left: 90px;
    }

    .slick__content {
        margin-right: 20px;
    }

    .slick {
        padding-left: 90px;
    }

    .slick__bold {
        margin: 16px 0 5px;
        font-size: 2rem;
        line-height: 1.5em;
    }

    .slick__tags {
        margin-top: 10px;
        gap: 6px 10px;
    }

    .slick__tag {
        font-size: 1.2rem;
        padding: 6px 10px;
    }

    .work__ttl {
        font-size: 10rem;
        margin-bottom: 0;
    }

    .work__sub {
        margin-top: 0;
    }

    .company__ttl {
        font-size: 10rem;
        margin-bottom: 0;
    }

    .company__sub {
        margin-top: 0;
    }

    .bottom__link {
        width: 450px;
    }
}

@media screen and (max-width:1024px) {
    .slick__content {
        margin: 0 0 40px;

    }

    .slick__content:last-child {
        margin-bottom: 0;
    }

    .work__box {
        width: 90%;
        margin: auto;
    }

    .form__row {
        display: block;
    }

    .form__label {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .form__item{
        width: 100%;
    }
    
    .form__input,
    .form__textarea,
    .select {
        width: 100%;
    }
    .form__input,
    .form__textarea,
    .select__item{
        font-size: 1.6rem;
    }
}


@media screen and (max-width:769px) {
    
    .sp-hum {
        display: block;
    }

    .header-hum {
        display: block;
    }


    .header-hum__wrap {
        position: relative;
        display: block;
        width: 30px;
        height: 17px;
    }

    .header-hum__wrap {
        position: relative;
    }

    .header-hum__wrap.open {
        height: 23px;
    }

    .sp-header-nav {
        display: block;
        position: fixed;
        width: 100%;
        left: 0;
        top: 0;
        padding: 0px 5%;
        background: #fff;
        height: 0vh;
        overflow: hidden;
        transition: 0.3s;
        z-index: 1;
        transition-property: height, padding;
    }

    .sp-header-nav.open {
        height: 50vh;
        padding: 50px 5%;
        overflow: scroll;
    }

    .header-nav__link {
        padding: 17px 0;
        width: 100%;
        font-size: 1.6rem;
        color: #000;
        font-family: "Gill";
        font-weight: 600;
    }

    .header-hum__line {
        display: block;
        margin: auto;
        width: 100%;
        height: 2px;
        background: #383838;
        transition: 0.3s;
        position: absolute;
    }

    .header-hum__line--top {
        top: 0;
        left: 0;
        transform: translateY(0%);

    }

    .header-hum__line--top.open {
        top: 0;
        left: 0;
        transform: translateY(0%) rotate(-45deg);
        transform-origin: right;
    }

    .header-hum__line--center {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .header-hum__line--under {
        bottom: 0;
        left: 0;
        transform: translateY(0%);
    }

    .header-hum__line--center.open {
        opacity: 0;

    }

    .header-hum__line--under.open {
        bottom: 0;
        left: 0;
        transform: translateY(0%) rotate(45deg);
        transform-origin: right;
    }

    .header__nav {
        display: none;
    }

    .about__main {
        padding-left: 0;
    }

    .about__ttl,
    .work__ttl,
    .company__ttl {
        font-size: 6rem;
        margin-bottom: 5px;
        line-height: 1em;
    }

    .about__detail {
        font-size: 1.8rem;
        line-height: 1.75em;
        margin: 20px 0 40px;
    }

    .about__trapezoid {
        width: 20px;
    }

    .about__item {
        font-size: 1.4rem;
    }

    .about__under {
        gap: 10px 20px;
    }

    .slick {
        padding-left: 0;
    }

    .footer__wrap {
        display: block;
        text-align: center;
    }

    .footer__list {
        display: block;
    }

    .footer__right {
        margin-top: 45px;
    }

    .footer__item {
        margin-bottom: 40px;
    }

    .footer__link {
        font-size: 1.8rem;
    }

    .footer__item:last-child {
        margin-bottom: 0;
    }

    .company__row {
        display: block;
    }

    .company__label {
        width: 100%;
        margin-bottom: 10px;
    }

    .comapny__item {
        width: 100%;
    }

    .bottom__ttl {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .about__sub {
        color: #fff;
    }

    .fv__img {
        display: none;
    }

    .video{
        width: 90%;
        margin: auto;
        position: relative;
    }

    .fv__img--sp {
        display: block;
        border: none;
        width: 100%;
    }

    .video::before{
        display: block;
        content: "";
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        border: 4px solid #000;
    }

    .fv__wrap {
        position: static;
        text-align: left;
        transform: none;
        color: #000;
        width: 90%;
        margin: auto;
        margin-bottom: 37px;
    }

    .fv__ja {
        color: #000;
        text-align: left;
    }
    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .works__wrap {
        display: block;
    }

    .works__content {
        width: 100%;
        margin-bottom: 40px !important;
    }
    .slick__content img{
        border: 2px solid #000;
    }
    .company{
        background-image: url(./assets/img/company-back-sp.jpg);
    }
}

@media screen and (max-width:545px) {
    .header {
        padding: 10px 5%;
    }

    .header__logo {
        width: 77px;
    }

    .work__wrap {
        margin: 0 auto 20px;
    }

    .work,
    .company,
    .about {
        padding: 60px 0;
    }

    .about__detail {
        font-size: 1.8rem;
    }

    .about__item {
        font-size: 1.2rem;
    }

    .about__ttl,
    .work__ttl,
    .company__ttl {
        font-size: 4rem;
    }

    .company__label {
        font-size: 1.4rem;
    }

    .comapny__item {
        font-size: 1.4rem;
    }

    .company__sub {
        color: #fff;
    }

    .bottom__ttl {
        font-size: 3rem;
        margin-bottom: 40px;
    }

    .txt-img {
        display: none;
    }

    .txt-img--sp {
        display: block;
    }

    .fv__ttl {
        font-size: 2.6rem;
        letter-spacing: 0;
    }

    .fv {
        margin-top: 117px
    }

    .work__bottom {
        margin-top: 45px;
    }

    .work__link {
        font-size: 1.6rem;
        padding: 16px 0 12px
    }

    .page-fv__ttl::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translate(-50%, 16px);
        width: 2px;
        height: 51px;
        background-color: #fff;
    }

    .works,
    .contact {
        padding: 60px 0;
    }

    .works__ttl {
        font-size: 2.6rem;
    }

    .select__item,
    .form__input {
        height: 35px;
        padding: 0px 10px;
    }
    .form__label{
        margin-bottom: 7px ;
    }
    .form__row {
        margin-bottom: 15px;
    }
    .contact__catch{
        font-size: 1.4rem;
        margin-bottom: 25px;
        text-align: left;
    }
    .contact__label {
        font-size: 2.2rem;
        font-weight: bold;
        margin-bottom: 28px;
    }
}

@media screen and (max-width:481px) {
    .contact__catch{
        font-size: 1.2rem;
    }

}