@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300&display=swap');


body {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 300;
    margin: 0;
    padding: 0;
    color: #000;
    background-color: #FCFCFC;
    background-color: #fff;
    font-feature-settings: "palt";
    letter-spacing: 0.04em;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
/* Loader */
body::after{
    content: "LOADING";
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
    width: 100lvw;
    height: 100lvh;
    position: fixed;
    top: 0;
    left: 0;
    font-size: 10px;
    letter-spacing: 1px;

    animation-name: LoaderBlink;
    animation-duration: .15s;
    animation-timing-function: steps(1);
    animation-iteration-count: infinite;
}
@keyframes LoaderBlink {
    0%{opacity: 0.314;}
    50%{opacity: 1;}
    100%{opacity: 0.314;}
}
body.pageLoaded::after{
    display: none;
}
:root {
    color-scheme: light !important;
}
::placeholder{
    opacity: 0.4;

}
::selection {
    background: #bbb;
    color: #fff;
}

::-moz-selection {
    background: #bbb;
    color: #fff;
}
iframe::selection,
video::selection,
img::selection {
    background: none;
}
iframe::-moz-selection,
video::-moz-selection,
img::-moz-selection {
    background: none;
}

* {
    line-height: 1;
    margin: 0;
    padding: 0;
    list-style-image: none;
    list-style-type: none;
    border: none;
    background-repeat: no-repeat;
}

a,
a:focus {
    color: #000;
    outline: none;
    text-decoration: none !important;
}

h1, h2, h3, h4, h5 {
    font-weight: 300;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
}

header {
    display: block;
    /* margin-top: 5lvh;
    margin-bottom: 5lvh; */
    overflow: hidden;
    /* background-color: #ededed; */
    position: relative;
    height: 150px;
}

header #header-logo{
    font-weight: 300;
    position: absolute;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    letter-spacing: 0.02em;
    line-height: 100% !important;
}
header #header-logo a{
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* .project-page header #header-logo a span{
    opacity: 0.0;

} */

/* SP */
@media (max-width:768px) {header #header-logo {font-size: 16px; left: 15px; top: 25px;  padding-left: 24px;} }

/* タブレット縦 2カラム */
@media (min-width:769px) and (max-width:1024px) {
    header #header-logo {font-size: 18px; left: 20px; top: 75px;  padding-left: 36px;}
}
/* PC */
@media (min-width:1025px) {
    header #header-logo {font-size: 18px; left: 6.8lvw; top: 75px;  padding-left: 36px;}
}

#header-logo::before {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    left: 0;
    background-image: url(../img/logo-wa.png);
    background-repeat: no-repeat;
    background-size: 100% auto ;
    background-position: left center;
}

@media (max-width:768px) {
    #header-logo::before{
        width: 17px;
        height: 17px;
        top: 0px;
    }
}
@media (min-width:769px) {
    #header-logo::before {
        width: 28px;
        height: 28px;
        top: -5px;

    }
}



.header-navi {
    position: absolute;
    top: 0;
    right: 4.5lvw;
    display: flex;
}
/* .header-navi li:last-child{display: none;} */
.header-navi li a {
    display: inline-block;  
    padding: 78px 2lvw;
    /* cursor: pointer; */
}
@media (max-width:768px) {
    .header-navi li a {
        font-size: 14px;
    }
}
@media (min-width:769px) {
    .header-navi li a {
        font-size: 16px;
    }
}
.header-navi .nowHere {
    pointer-events: none;
    position: relative;
}

.header-navi .nowHere::after {
    content: "";
    display: block;
    width: 19px;
    height: 1px;
    background-color: #bbb;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 20px;
}


/* .header-navi .nowHere span{
    color: #adadad;
    padding-bottom: 10px;
    pointer-events: none;

} */

.header-navi li:hover span {
    /* background-color: #bbb;
    color: #fff; */

    animation-name: listHover;
    animation-duration: 0.14s;
    animation-timing-function: steps(1);
    animation-fill-mode: forwards;
}



/* PROJECTリスト */

ul.projects-list {
    margin-top: 30px;
    align-items: stretch;

    display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-content: flex-start;
	align-content: flex-start;

}

.prj-li {
    /* display: block;
    float: left; */



    overflow: hidden;
    position: relative;
    transition-duration: 0.24s;
    /* background-color: rgba(255,0,0,0.1); */
    /* cursor: pointer; */
}
/* .prj-li .swiper::before {
    content: "M O R E";
    font-size: 1vmax;
    white-space: nowrap;
    letter-spacing: -10px;
    display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;

    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 30px;
    z-index: 1002;
    transform: translate(-50%, -50%);
    transition-duration: 0.2s !important;
    mix-blend-mode:exclusion;
    opacity: 0;

    letter-spacing: 0px;

} */
/* .prj-li:hover .swiper::before{
    opacity: 1;
    letter-spacing: 10px;
} */
.prj-li .swiper-slide{
    width: 100%;
    height: auto;
    overflow: hidden;
    transition-duration: 0.2s;
    transform-origin: center center !important;
}
.prj-li .swiper-slide img{
    width: 100%;
    height: auto;
}
.prj-li .swiper-slide.effects img{
    backface-visibility: hidden;
    will-change: clip-path;
    
    clip-path: inset(0 0 0 0);
    transition-delay: 0s;
    transition-duration: 0.239s;
    transition-timing-function: ease-in-out;
    /* transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1); */
    /* transition-timing-function: steps(5); */
    /* transition-timing-function: linear; */
    /* transition-timing-function:cubic-bezier(0.55, 0.055, 0.675, 0.19); */

}
.prj-li .swiper-slide.effects.swiper-slide-prev img{
    clip-path: inset(0 0 0 0);
}

.prj-li .swiper-slide.effects.swiper-slide-next img{
    /* clip-path: inset(0 0 0 100%); */
    clip-path: inset(0 100% 0 0);
    transition-duration: 0s;
}

/* .prj-li:hover .swiper-slide{
    opacity: 0.8;
} */



/* 
.prj-li:hover h2,
.prj-li:hover .credit-list{
    animation-name: listHover;
    animation-duration: 0.14s;
    animation-timing-function: steps(1);
    animation-fill-mode: forwards;
} 
@keyframes listHover {
    0%{opacity: 0;}
    20%{opacity: 1;}
    40%{opacity: 0;}
    50%{opacity: 1;}
    70%{opacity: 0;}
    80%{opacity: 1;}
    90%{opacity: 0;}
    100%{opacity: 1;}
} */


/* .prj-li .swiper::after {
    content: "";
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;

    color: #000;
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    background-color: rgba(222, 222, 222, 0.0);
    z-index: 1000;

    transition-duration: 0.1s !important;
    transform: scale(0);
    backdrop-filter: blur(0px);
}

.prj-li:hover .swiper::after {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.0);
    transition-duration: 0.2s !important;
    transform: scale(1);
    backdrop-filter: blur(10px);
} */
/* .prj-li a:hover li::after, */
/* .prj-li a:hover h2::after{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 10%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);

    animation-name: hoverWink;
    animation-duration: 0.24s;
    animation-fill-mode: forwards;
    animation-timing-function: steps(30);
}
@keyframes hoverWink {
    0%{ transform: translateX(0);width: 5%;}
    100%{ transform: translateX(2000%); width: 5%;}
} */
/* .prj-li a:hover {opacity: 0.8; transition-duration: 0s; transition-delay: 0s;} */


/* SP縦 1カラム */
@media (max-width:768px) {
    ul.projects-list {
        width: 100%;
    }
    .prj-li {
        width: 100%;
        margin-bottom: 15vw;
    }
    .prj-li h2 {
        margin-left: 20px;
        width: calc(100% - 40px);
        font-size: 13px;
    }
    .credit-list {
        clear: both;
        overflow: hidden;
    }
    .credit-list li {
        /* display: inline-block; */
        font-size: 10px;
        transform: scale3d(0.9, 0.9, 1) !important;
        transform-origin: left center !important;
        /* white-space: nowrap; */
        margin-left: 20px;
        width: 118.3%;
        /* background-color: red; */
    }
    .projects-list .prj-li:has(a) .credit-list{
        background-image: url(../img/arrow.svg);
        background-position: right 20px top 0px;
        background-size: auto 16px;
    }
}

.prj-li h2,
.credit-list,
.swiper {clip-path: inset(0 100% 0 0);}

.pageLoaded .swiper { transition-delay: 0.3s; transition-duration: 0.32s; clip-path: inset(0 0 0 0);}
.pageLoaded .prj-li h2 { transition-delay: 0.5s; transition-duration: 0.64s; clip-path: inset(0 0 0 0);}
.pageLoaded .credit-list  { transition-delay: 0.7s; transition-duration: 0.48s; clip-path: inset(0 0 0 0);}


/* タブレット縦 2カラム */
@media (min-width:769px) and (max-width:1024px) {
    ul.projects-list {
        width: 100%;
    }
    .prj-li {
        width: calc(50% - 3lvw);
        margin-bottom: 15vw;
    }
    .prj-li:nth-child(even){
        margin-left: 1lvw;
        margin-right: 2lvw;
    }
    .prj-li:nth-child(odd){
        margin-left: 2lvw;
        margin-right: 1lvw;
    }
    .prj-li h2 {
        font-size: 13px;

    }
    
    .credit-list {
        font-size: 10px;
        transform: scale(0.8);
        white-space: nowrap;
    }
}

/* 3カラム */
@media screen and (min-width:1025px) {
    .prj-li {
        width: 24lvw;
        margin-left: 3.5lvw;
        margin-right: 3.5lvw;
        margin-bottom: 6.4lvw;
    }
}

/* .prj-li:hover{
cursor: pointer;
transition-duration: 0.4s;
}
.prj-li:hover .effects{
transition-duration: 0.4s;
} */
.prj-li h2 {
    position: relative;
    white-space: nowrap;
}

.prj-li a h2 span[lang="ja"] {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    clip-path: inset(0 100% 0 0);
}

.prj-li a h2 span[lang="en"] {
    clip-path: inset(0 100% 0 0);
    animation-name: langChangeIn;
    animation-delay: 0.0s;
    animation-duration: 0.3s;
    /* animation-timing-function: steps(10); */
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
@keyframes langChangeIn {
    to{ clip-path: inset(0 0 0 0);}
}

@keyframes langChangeOut {
    0%{ clip-path: inset(0 0 0 0); opacity: 1;}
    50%{ clip-path: inset(0 0 0 100%); opacity: 1;}
    100%{ clip-path: inset(0 100% 0 0);opacity: 0;}
}

/* PCのみマウスオーバーでjaとen入れ替え */
@media screen and (min-width:1025px) {
    .prj-li a:hover h2 span[lang="ja"] {
        animation-name: langChangeIn;
        animation-delay: 0.00s;
        animation-duration: 0.25s;
        /* animation-timing-function: steps(10); */
        animation-timing-function: linear;
        animation-fill-mode: forwards;
    }
    .prj-li a:hover h2 span[lang="en"] {
        animation-name: langChangeOut;
        animation-delay: 0.0s;
        animation-duration: 0.3s;
        /* animation-timing-function: steps(10); */
        animation-timing-function: linear;
        animation-fill-mode: forwards;
    }
}
/* *スマホ、タブレットのみ一定時間ごとにjaとen入れ替え */
@media (max-width:1024px) {
    .test1 .prj-li a h2 span[lang="ja"]{
        animation-name: langChangeIn;
        animation-delay: 0.00s;
        animation-duration: 0.25s;
        /* animation-timing-function: steps(10); */
        animation-timing-function: linear;
        animation-fill-mode: forwards;
    }
    .prj-li a h2 span[lang="en"] {
        animation-duration: 0.35s;
    }
    .test1 .prj-li a h2 span[lang="en"]{
        animation-name: langChangeOut;
        animation-delay: 0.0s;
        animation-duration: 0.3s;
        /* animation-timing-function: steps(10); */
        animation-timing-function: linear;
        animation-fill-mode: forwards;
    }
}



@media (orientation: landscape) {
    .prj-li h2 {
        margin-top: 1.0vw;
        margin-bottom: 0.8vw;
    }
  }
  
@media (orientation: portrait) and (max-width:1023px) {
    .prj-li h2 {
        margin-top: 20px;
        margin-bottom: 0.9vw;
    }
}
@media (orientation: portrait) and (min-width:1024px) {
    .prj-li h2 {
        margin-top: 1.5vw;
        margin-bottom: 0.7vw;
    }
}


@media screen and (min-width:1024px) and (max-width:1500px) {
    .prj-li h2 {
        font-size: 13px;
    }
    .credit-list {
        font-size: 10px;
        transform: scale(0.7);
        white-space: nowrap;
    }
}

@media screen and (min-width:1501px) and (max-width:2000px) {
    .prj-li h2 {
        font-size: 16px;
    }
    .credit-list {
        font-size: 10px;
    }
}

@media screen and (min-width:2001px) {
    .prj-li h2 {
        font-size: 20px;
    }
    .credit-list {
        font-size: 11px;
    }
}



.effects {
    display: block;
    width: 100%;
    height: auto;
}

video.effects {
    width: 118%;
    margin-left: -50px;
}

.prj-li video{
    height: auto ;
    width: 100%;
}


/*
 .wireframe {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: overlay;
    transition-duration: 1.2s;

    -webkit-mask-image: url(../img/grada.png);
    mask-image: url(../img/grada.png);

    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;

    -webkit-mask-size: 100% 100%;
    mask-size:  100% 100%;


    -webkit-mask-position: 0% -100%;
    mask-position: 0% -100%;
  }
  .prj-li:hover .wireframe{
    animation: slide-mask 3s forwards linear ;
    }
  @keyframes slide-mask {
    0% {
      -webkit-mask-position: 0% -100%;
      mask-position: 0% -100%;
    }
    30% {
      -webkit-mask-position: 0% 200%;
      mask-position: 0% 200%;
    }
    100% {
        -webkit-mask-position: 0% 200%;
        mask-position: 0% 200%;
      }
  }
   */
  



.credit-list {
    transform-origin: left top;
}

.credit-list li {
    margin-top: 5px;
}


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


    /* .prj-li::after{
text-align: right;
margin-right: 40px;
content: "MORE";
font-size: 13px;
display: flex;
justify-content: center;
align-items: center;
color: #666;
margin-top: 20px;
margin-left: 20px;
margin-right: auto;
width: 150px;
height: 34px;
} */
}





/* モーダル PROJECT詳細 */

#project-detail-outer {
    /* display: none; */


    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);

    overflow: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

.project-detail-inner {
    background-color: #fff;

}

.project-detail-mainvisual {
    margin-top: 50px;

    display: block;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    /* padding-top: 50%; */

}

.project-detail-mainvisual.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

.project-detail-images {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;

    height: auto;

}

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

    .project-detail-mainvisual,
    .project-detail-images {
        width: 100%;
    }
}

@media screen and (min-width:1024px) and (max-width:1500px) {

    .project-detail-mainvisual,
    .project-detail-images {
        width: calc(100% - 50px);
    }
}

@media screen and (min-width:1501px) and (max-width:2000px) {

    .project-detail-mainvisual,
    .project-detail-images {
        width: calc(100% - 200px);
    }
}

@media screen and (min-width:2001px) {

    .project-detail-mainvisual,
    .project-detail-images {
        width: calc(100% - 200px);
        max-width: 2000px;
    }
}


.project-detail-title {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.project-detail-honbun {
    font-size: 15px;
    line-height: 180%;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

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

    .project-detail-title,
    .project-detail-honbun {
        width: calc(100% - 40px);
    }
}

@media screen and (min-width:1024px) and (max-width:1500px) {

    .project-detail-title,
    .project-detail-honbun {
        width: calc(100% - 50px);
    }
}

@media screen and (min-width:1501px) and (max-width:2000px) {

    .project-detail-title,
    .project-detail-honbun {
        width: calc(100% - 200px);
    }
}

@media screen and (min-width:2001px) {

    .project-detail-title,
    .project-detail-honbun {
        width: calc(100% - 200px);
        max-width: 2000px;
    }
}



.project-detail-credit {
    background-color: #dfdfdf;
    padding-top: 50px;
}

.project-detail-credit li {
    margin-top: 10px;
    font-size: 13px;

}

.project-detail-credit li span {
    width: 50%;
    display: inline-block;

}

.project-detail-credit li span:first-child {
    text-align: right;

}

.project-detail-credit li span:first-child::after {
    content: "：";

}

.project-detail-credit li span:last-child {
    text-align: left;

}

.project-detail-btn-area {
    background-color: #dfdfdf;
    overflow: hidden;
}

button.project-detail-btn-back-top {
    color: #666;
    display: block;
    cursor: pointer;
    /* border: solid 1px #adadad; */
    padding: 20px 40px;
    background-color: #fff;
    font-size: 12px;
    margin: 40px auto;
    width: calc(100% - 80px);
    box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.05);
}

button.project-detail-btn-back-top {
    opacity: 1;
}

/* ナビ 暫定非表示 */
/* ul.header-navi > li:nth-child(2), */
ul.header-navi > li:nth-child(3)
{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


.article-inner .thanks-message{display: none;}
body.thanks .article-inner .thanks-message{display:inline}
body.thanks .article-inner .default{display: none;}


/* お問合せフォーム */
#contact-form{
    width: 100%;
}
.thanks #contact-form{display: none; pointer-events: none; opacity: 0; height: 0;}

#contact-form .contact-form-box{
    margin-top: 20px;
    width: 100%;
	display: inline-flex;
	justify-content: flex-start;
	align-items: stretch;
}
/* エラーメッセージ */
.error-message {
    display: block;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 13px;
    color: #f00;
}
@media (min-width:1025px) {
    #contact-form {margin-top: 60px;}
    #contact-form .contact-form-box{
        margin-top: 20px;
        width: 100%;
        display: inline-flex;
        justify-content: flex-start;
        align-items: stretch;
    }
    #contact-form label {
        width: 300px;
        margin: 10px 0 0 0;
    }
    .error-message {
        margin-left: 229px;
    }
}
@media (min-width:769px) and (max-width:1024px) {
    #contact-form {margin-top: 40px;}
    #contact-form .contact-form-box{
        margin-top: 20px;
        width: 100%;
        display: inline-flex;
        justify-content: flex-start;
        align-items: stretch;
    }
    #contact-form label {
        width: 300px;
        margin: 10px 0 0 0;
    }
    .error-message {
        margin-left: 225px;
    }
}
@media (max-width:768px) {
    #contact-form {margin-top: 20px;}
    #contact-form .contact-form-box{
        margin-top: 30px;
        width: calc(100% - 33px);
        display: block;
    }
    #contact-form label {
        display: block;
        width: 300px;
        margin:  0 0 10px 0;
    }
}



.contact-form-label::after,
.contact-form-label *::before{
    font-size: 13px;
}

#contact-form .JPN{font-size: 13px;}
#contact-form .JPN::before{font-size: 13px; content: " / ";}


.ENG.note{font-size: 13px; line-height: 130%; display: block; padding: 5px 0 0;}
.JPN.note{font-size: 11px; line-height: 130%; display: block; padding: 5px 0;}


/* form.wpcf7-form p:nth-of-type(1) .contact-form-label::after{content: " / お名前";}
form.wpcf7-form p:nth-of-type(2) .contact-form-label *::before{content: " / 貴社名";}
form.wpcf7-form p:nth-of-type(3) .contact-form-label::after{content: " / 業種";}
form.wpcf7-form p:nth-of-type(4) .contact-form-label::after{content: " / 貴社のウェブサイト";}
form.wpcf7-form p:nth-of-type(5) .contact-form-label *::before{content: " / メールアドレス";}
form.wpcf7-form p:nth-of-type(6) .contact-form-label *::before{content: " / ご依頼・ご相談内容";}
form.wpcf7-form p:nth-of-type(7) .contact-form-label::after{content: " / ご了承事項";} */

/* form.wpcf7-form p:nth-of-type(8) *:first-child::before {
    font-size: 13px;
    content: "お問い合わせ内容によってはご返答できない場合がございますので、予めご了承ください。";
} */


#contact-form input[type="text"],
#contact-form input[type="email"]{
    display: block;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 16px;
    width: calc(100% - 20px);
    max-width: 1024px;
    border: solid 1px #666;
    padding: 8px 10px;
    margin-top: 0px;
    background-color: #fff;
}
#contact-form textarea{
    display: block;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 16px;
    line-height: 180%;
    width: calc(100% - 20px);
    max-width: 1024px;
    border: solid 1px #666;
    padding: 8px 10px;
    margin-top: 0px;
    background-color: #fff;
    min-height: 180px;
}
#contact-form input:focus,
#contact-form textarea:focus {
    outline: 1px solid rgba(0, 0, 0, 0);
    border: solid 1px #000;
    box-shadow: 0px 0px 0px 1px rgba(0,0,0,1) inset;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset;
  -webkit-text-fill-color: #000;
  transition: background-color 100000s ease-in-out 0s;
}

#contact-form .supplement{
    display: block;
    padding-top: 8px;
    font-size: 10px;
    color: #999;
}

/* 送信ボタン */
#contact-form button[type="submit"]{
    -webkit-appearance: none; /* iOS Safari バグ対応 */
    text-align: center;
    display: block;
    position: relative;
    overflow: hidden;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 16px;
    font-weight: 300;
    max-width: 1024px;
    height: 56px;
    color: #aaa;
    border: none;
    border-radius: 0px;
    background-color: #ededed;
    box-sizing: border-box; /* パディングやボーダーを含むようにする */
    cursor: default;
}
#contact-form button.can[type="submit"]{
    cursor: pointer;
    pointer-events: visible;
    transition-duration: 0s;
    animation-name: allRequiredFilledTXT;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
@keyframes allRequiredFilledTXT {
    0%{color: #fff;}
    100%{color: #fff;}
}
#contact-form button[type="submit"] .btn-txt{
    position: absolute;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    align-items: baseline;
    top: 0;
    left: 0;
    width: 100%;
    padding: 19px 0px 21px;
}

#contact-form button[type="submit"] .btn-bg{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    background-color: #333;
    width: 0%;
    height: 100%;
}
#contact-form button.can[type="submit"] .btn-bg{
    animation-name: allRequiredFilledBG;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
@keyframes allRequiredFilledBG {
    0%{width: 0%;}
    100%{width: 100%;}
}


#contact-form button.can[type="submit"]:hover .btn-bg{
    border: none !important;
    background-color: #000 !important;
    transition-duration: 0s;
}


#contact-form button::after{
    background-color: #f00;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

@media (min-width:1025px) {
    #contact-form button[type="submit"]{
        margin-top: 20px;
        width: 100%
    }
}
@media (min-width:769px) and (max-width:1024px) {
    #contact-form button[type="submit"]{
        margin-top: 20px;
        width: 100%
    }
}
@media (max-width:768px) {
    #contact-form button[type="submit"]{
        margin-top: 20px;
        width: 100%;
    }
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:disabled {
    color: #bcbcbc;
    pointer-events: none;
    cursor: default;
    opacity: 0.3;
    
    width: 100%;
    max-width: 1024px;
    padding: 20px 0px;
    
}




/* agree 同意 */
.wpcf7-acceptance label {
    display: block !important;
    width: calc(100% - 40px) !important;
    padding: 20px;
    background-color: #ededed !important;
    margin-top: 10px !important;
    font-size: 16px !important;
    margin-top: 0;
    text-align: center !important;
    text-indent: -20px !important;
}
.wpcf7-acceptance label > span{
    padding-left: 10px !important;
}

#wpcf7-f33-p9-o1 > form > p:nth-child(9){
    font-size: 13px;
    line-height: 130%;
    margin-top: 5px;
}
/* フォームマウスオーバーのポインター非表示不具合 */
.wpcf7-acceptance label,
.wpcf7-radio label{
    cursor: pointer !important;
}

.wpcf7-radio label:hover{
    background-color: #ededed !important;
}
.wpcf7-acceptance label:hover{
    background-color: #ccc !important;
    /* color: #fff; */
}




/* フォーム送信完了後 および フォーム内容リセット中 */
.wpcf7-form.sent,
.wpcf7-form.resetting{
    display: none !important;
}

/* ステータスメッセージ 上部*/
.screen-reader-response p{
    line-height: 160% !important;
    display: none !important;
}
/* ステータスメッセージ 下部*/
.wpcf7-response-output{
    line-height: 160% !important;
    margin-top: 20px !important;
    display: none !important;

}

/* ラジオボタン */
#wpcf7-f33-p9-o1 > form > p:nth-child(4) > span > span > span{
    display: block !important;
    padding: 20px 0 0 !important;
}
#wpcf7-f33-p9-o1 > form > p:nth-child(4) > span > span > span.wpcf7-list-item > label > span.wpcf7-list-item-label{
    padding-left: 5px !important;
}




/* 業種の日本語 */
/* #wpcf7-f33-p9-o1 > form > p:nth-child(4) > span > span.wpcf7-form-control.wpcf7-radio.wpcf7-not-valid > span.wpcf7-list-item.first > label > span */
.wpcf7-list-item-label::after{font-size: 12px;}

form.wpcf7-form p:nth-of-type(3) .wpcf7-list-item:nth-of-type(1) .wpcf7-list-item-label::after{content: " / 依頼主（一般企業）";}
form.wpcf7-form p:nth-of-type(3) .wpcf7-list-item:nth-of-type(2) .wpcf7-list-item-label::after{content: " / 広告会社";}
form.wpcf7-form p:nth-of-type(3) .wpcf7-list-item:nth-of-type(3) .wpcf7-list-item-label::after{content: " / 制作会社";}
form.wpcf7-form p:nth-of-type(3) .wpcf7-list-item:nth-of-type(4) .wpcf7-list-item-label::after{content: " / ゲーム会社";}




/* 未入力の注意 */
span.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #f00;
}
span.wpcf7-not-valid-tip::after {
    content: " / 入力必須";
    font-size: 11px;
}

/* .screen-reader-response{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255,255,255,0.7);

} */




p.wp-block-site-title{
    pointer-events: none;
    display: none;
    opacity: 0;

}
/* ワードプレス コピーライト */
body > div > footer > div > div > p.has-text-align-right{
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}


/* コピーライト */
.copyright-area{
    text-align: right;
    width: calc(100% - 13lvw);
    margin: 0 auto;
    overflow: hidden;
    /* background-color: #dfdfdf; */
    /* margin-left: 1.5lvw; */
    /* margin-right: 1.5lvw; */
    margin-bottom: 40px;

}

.img-logo{
    width: auto;
    margin-bottom: 30px;
    height: 80px;
    transform: translateX(-2%);
}
.p-copyright{
    font-size: 10px;
    display: flex;
    justify-content: flex-end;
}
.p-copyright span{
    transform: scale(0.9);
    transform-origin: right center;
    white-space: nowrap;
}
@media (min-width:769px) and (max-width:1024px) {
    .copyright-area{
        width: calc(100% - 4lvw);
        margin-bottom: 30px;

    }
    .img-logo{
        height: 70px;
        margin-bottom: 20px;

    }
    .p-copyright span{
        transform: scale(0.8);
    }
}
@media (max-width:768px) {
    .copyright-area{
        width: calc(100% - 40px);
        margin-bottom: 20px;
    }
    .img-logo{
        height: 60px;
        margin-bottom: 20px;
    }

    .p-copyright span{
        transform: scale(0.7);
    }
}

/* wp over ride*/
.wp-site-blocks{padding: 0 !important; margin: 0 !important;}







/* container-basic */

.container-basic{
    display: block;
    clear: both;
    overflow: hidden;
    margin-top: 30px;
    /* background-color: red; */

    /* transform: skewY(-6.4deg); */


}
.container-basic article{
    display: block;
    position: relative;
    overflow: hidden;
    clear: both;
}
.container-basic a{display: inline-block;}
.container-basic a:hover{
    background-color: #000;
    color: #fff;
}
.container-basic a:hover span.prize-detail{
    background-color: #000;
    color: #fff;
}

@media (max-width:768px) {
    .container-basic article{margin: 0 0 60px 0;}

    .container-basic{
        position: relative;
        overflow: hidden;
        clear: both;
        padding: 0 15px;
        /* background-color: red; */
    }
    .article-inner{
        padding-left: 30px;
    }
    .page-title,
    .article-title{
        font-size: 18px;
        margin: 0px 0 40px;
    }
    .container-basic .honbun{
        margin-top: 20px;
    }
}
@media (min-width:769px) and (max-width:1024px) {
    .container-basic article{margin: 0 0 20px 0;}

    .container-basic{
        position: relative;
        overflow: hidden;
        clear: both;
        padding: 0 20px;
        /* background-color: blue; */

    }
    .article-inner{
        padding-left: 30px;
    }
    .page-title,
    .article-title{
        font-size: 18px;
        margin: 40px 0 30px;

    }
    .container-basic .honbun{
        margin-top: 20px;
    }

}



@media (min-width:1025px) {
    .container-basic{
        padding: 0 6.8lvw;
        /* background-color: yellow; */
    }
    .container-basic article{margin: 0 0 5lvw 0; max-width: 1200px;}

    .page-title{
        font-size: 24px;
        margin: 0;
        line-height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    article.intro .article-inner{
        padding-left: 12lvw;
        margin: 0;
        display: flex;
    }
    article.intro .article-inner p.honbun{
        margin-top: 0;
        width: calc(50% - 2lvw);
        padding: 0;
        border: 0;
    }
    article.intro .article-inner p:nth-child(odd){
        margin: 0lvw;
        /* background-color: skyblue; */

    }
    article.intro .article-inner p:nth-child(even){
        margin-left: 4lvw;
        /* background-color: pink; */
    }

    article.normal .article-inner{
        padding-left: 24lvw;
        margin: 0;
    }

    article.normal .article-title{
        font-size: 18px;
        position: absolute;
        margin: 0;
        top: 3px;
        left: 12lvw;
    }
    article.normal .article-inner .honbun{
        margin-top: -3px;
    }
}

/* .container-basic article{
    margin: 0 20px 0;
} */

.container-basic .honbun:lang(ja){
    text-align: justify;
    padding-right: 10px;
}


.container-basic form,
.container-basic .honbun,
.container-basic ul,
.container-basic ol{
    overflow: hidden;
    clear: both;
    font-feature-settings: "palt";
}



.container-basic form,
.container-basic .honbun,
.container-basic h1,
.container-basic h2,
.container-basic h3,
.container-basic li{
    transition-timing-function: ease-in-out;
    clip-path: inset(0 100% 0 0);
    transition-duration: 0s;
}

.pageLoaded .container-basic form,
.pageLoaded .container-basic .honbun,
.pageLoaded .container-basic h1,
.pageLoaded .container-basic h2,
.pageLoaded .container-basic h3,
.pageLoaded .container-basic li{
    clip-path: inset(0 0 0 0);

}

@media (max-width:1024px) {
    .pageLoaded .container-basic form,
    .pageLoaded .container-basic .honbun,
    .pageLoaded .container-basic li,
    .pageLoaded .container-basic h1,
    .pageLoaded .container-basic h2,
    .pageLoaded .container-basic h3{transition-duration: 0.64s;}

    .pageLoaded .container-basic p:nth-child(1){transition-delay: 0.25s;}
    .pageLoaded .container-basic p:nth-child(2){transition-delay: 0.35s;}

    .pageLoaded .container-basic form{transition-delay: 0.35s;}

}
@media (min-width:1025px) {
    .pageLoaded .container-basic form{transition-duration: 0.88s;}
    .pageLoaded .container-basic .honbun,
    .pageLoaded .container-basic li,
    .pageLoaded .container-basic h1,
    .pageLoaded .container-basic h2,
    .pageLoaded .container-basic h3{transition-duration: 0.24s;}

    .pageLoaded .container-basic p:nth-child(1){transition-delay: 0.25s;}
    .pageLoaded .container-basic p:nth-child(2){transition-delay: 0.45s;}

    .pageLoaded .container-basic form{transition-delay: 0.35s;}

}

.pageLoaded .container-basic h1{transition-delay: 0.0s;}
.pageLoaded .container-basic h2{transition-delay: 0.0s;}
.pageLoaded .container-basic h3{transition-delay: 0.2s;}



.pageLoaded .container-basic li:nth-child(1){transition-delay: 0.3s;}
.pageLoaded .container-basic li:nth-child(2){transition-delay: 0.35s;}
.pageLoaded .container-basic li:nth-child(3){transition-delay: 0.4s;}
.pageLoaded .container-basic li:nth-child(4){transition-delay: 0.45s;}
.pageLoaded .container-basic li:nth-child(5){transition-delay: 0.5s;}
.pageLoaded .container-basic li:nth-child(6){transition-delay: 0.55s;}
.pageLoaded .container-basic li:nth-child(7){transition-delay: 0.6s;}
.pageLoaded .container-basic li:nth-child(8){transition-delay: 0.65s;}
.pageLoaded .container-basic li:nth-child(9){transition-delay: 0.7s;}


.container-basic ul,
.container-basic ol{
    margin-top: 40px;
}

.container-basic .honbun{
    font-size: 16px;
    /* text-align: justify; */
    /* word-break: break-all; */
    /* letter-spacing: 0.01em; */
    line-height: 190%;
}
.container-basic .honbun span.subCaption:lang(ja){
    font-size: 12px;
    /* color: red; */
}
.container-basic li{
    margin-bottom: 16px;
    font-size: 16px;
    overflow: hidden;
    clear: both;
    line-height: 130%;
}
.container-basic li span{
    line-height: 130%;
}
.name-role{
    font-size: 14px;
    display: block;
    margin-top: 6px;
    margin-bottom: 8px;
}
.name-people{
    font-size: 18px;
    display: block;
    letter-spacing: 0.1em;
}

.lists-history li{
	display: -webkit-flex;
	display: flex;
}
.lists-history li span{
    display: block;
}
.name-year{
    padding-right: 14px;
}
.lists-history li span:lang(ja){
    display: inline;
    font-size: 13px;
}


.prize-detail{
    font-size: 11px;
    color: #666;
}
@media (max-width:768px) {.prize-detail{display: block; padding-top: 3px;}}
@media (min-width:769px) {.prize-detail{padding-left: 6px; }.prize-detail::before{content: "/ ";}}


.article-YutaNojiri .ph-portrait{
    margin: 20px 0 20px 0;
    display: block;
    width: calc(100lvw - 100px);
    max-width: 220px;
}

/* .article-YutaNojiri{
    background-image: url(/about/img/ph-yutanojiri.jpg);
    background-position: left 20lvw top;
    background-size: 60px auto;
} */


/* 共通戻るボタン */
.btn-back{
    display: flex;
	justify-content: center;
    align-items: center;
    margin: 40px auto;
    background-color: #fff;
    border: solid 1px;
    border-color: #666;
    letter-spacing: 0.11em;
}
@media (max-width:768px) {.btn-back{font-size: 13px; height: 56px; width: calc(100% - 40px);}}
@media (min-width:769px) {.btn-back{font-size: 17px; height: 72px; width: 314px;}}

.btn-back:hover{
    border-color: #232323;
    background-color: #232323;
    color: #fff;
}

.footer-navi{
    display: none;
    opacity: 0;
    pointer-events: none;
}
