@charset "utf-8";

/*
font-family: 'M PLUS 1p', sans-serif;
font-family: 'Ms Madi', cursive;
*/

/* ------------------------------------------------ リセット */
html, body, h1, h2, h3, h4, h5, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-size: 100%;
    vertical-align:baseline;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
article, header, aside, figure, figcaption, nav, section {
    display: block;
}
body {
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
ol,
ul {
    list-style: none;
    list-style-type: none;
}

/* ------------------------------------------------ 共通 */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-family: 'M PLUS 1p', sans-serif;
    letter-spacing: 2.5px;
    line-height: 180%;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: #000;
    letter-spacing: 2.5px;
    line-height: 180%;
}
a:hover {
    transition: 0.7s;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}

p {
    text-align: justify;
    text-justify: inter-ideograph;
    letter-spacing: 2.5px;
    line-height: 180%;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    margin: 0 auto;
    padding: 0;
}

i.fas {
    vertical-align: bottom;
}

/* ------------------------------------------------ 配置 */
.center {
    text-align: center;
}

/* ------------------------------------------------ マージン */
.mb15 {
    margin-bottom: 15px;
}
.mb30 {
    margin-bottom: 30px;
}
.mb60 {
    margin-bottom: 60px;
}
.mb120 {
    margin-bottom: 120px;
}

.mt120 {
    margin-top: 120px;
}

/* ------------------------------------------------ FONT */
.font10 {
    font-size: 10px;
}
.font12 {
    font-size: 12px;
}
.font14 {
    font-size: 14px;
}
.font16 {
    font-size: 16px;
}

.justify {
    text-align: justify;
    text-justify: inter-ideograph;
}

/* ------------------------------------------------ コンテンツフェードイン */
.fuwatAnime {
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-name: fuwatAnime;
    -ms-animation-name: fuwatAnime;
    animation-name: fuwatAnime;
    visibility: visible !important;
}
    @-webkit-keyframes fuwatAnime {
        0% {
            opacity: 0;
            -webkit-transform: translateY(50px);
        }
        100% {
            opacity: 1;
            -webkit-transform: translateY(0);
        }
    }
    @keyframes fuwatAnime {
        0% {
            opacity: 0;
            -webkit-transform: translateY(50px);
            -ms-transform: translateY(50px);
            transform: translateY(50px);
        }
        100% {
            opacity: 1;
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
        }
    }

/* ------------------------------------------------ MOVIE */
.movie_box {
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    object-fit: cover;
}

.overlay {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(45deg, rgba(0,0,0,.1) 50%, rgba(0,0,0,.2) 50%);
    background-size: 2px 2px;
    z-index: 0;
}

/* ------------------------------------------------ ボタン */
.btn-box {
  display: inline-block;
  text-align: center;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  padding: 10px 80px;
  position: relative;
  border: 1px solid #000;
  transition: .4s;
}

.btn-box:hover {
  border: 2px solid transparent;
  color: #999;
}

.btn-box:before, .btn-box:after {
  width: 100%;
  height: 100%;
  z-index: 3;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  transform: scale(0);
  transition: .2s;
}

.btn-box:before {
  border-bottom: 2px solid #999;
  border-left: 2px solid #999;
  transform-origin: 100% 0%;
}

.btn-box:after {
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform-origin: 0% 100%;
}

.btn-box:hover:after,
.btn-box:hover:before {
  transform: scale(1);
}

/* ------------------------------------------------ ヘッダ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background-color: #000;
    z-index: 9999999;
}

/* ロゴ */
.logo_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 10;
}
h2.logo {
    font-family: 'Ms Madi', cursive;
    letter-spacing: normal;
    font-size: 100px;
    text-shadow: 0 0 7px #000;
    transform: rotate(-8deg);
}
h2.logo span {
    font-size: 60px;
}
h2.logo a {
    color: #fff;
}

p.copy {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-size: 10px;
    color: #fff;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

/* ------------------------------------------------ エリア */
article {
    width: 100%;
    margin: 0 auto;
    background-color: #f9f9f9;
}
.wrap {
    position: relative;
    width: 85%;
    height: auto;
    margin: 0 auto;
    padding: 120px 0;
}

article#contact .wrap {
    position: relative;
    width: 1040px;
    height: auto;
    margin: 0 auto;
    padding: 120px 0;
}

/* ------------------------------------------------ タイトル */
.ttl_box {
    margin-bottom: 60px;
}
.ttl_box::before {
    content: "";
    display: block;
    width: 64px;
    height: 57px;
    background-size: contain;
    margin: 0 auto;
}
.ttl_box::after {
    content: '';
    width: 160px;
    height: 2px;
    display: block;
    background-color: #f00;
    margin: 15px auto 30px;
    border-radius: 1px;
}
.ttl_speed::before {
    background: url(../images/ttl_icon/speed.png) no-repeat;
    background-size: contain;
}
.ttl_response::before {
    background: url(../images/ttl_icon/response.png) no-repeat;
    background-size: contain;
}
.ttl_portfolio::before {
    background: url(../images/ttl_icon/portfolio.png) no-repeat;
    background-size: contain;
}
.ttl_contact::before {
    background: url(../images/ttl_icon/contact.png) no-repeat;
    background-size: contain;
}

h3.ttl {
    font-family: 'Ms Madi', cursive;
    font-size: 75px;
    text-align: center;
    letter-spacing: normal;
    line-height: 100%;
    margin-bottom: 15px;
    transform: rotate(-8deg);
}

/* ------------------------------------------------ コンセプト */
.flexbox_concept {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.f_item_concept {
    width: 48%;
    padding: 60px;
}

.f_item_concept p {
    text-align: center;
    font-size: 14px;
    line-height: 250%;
}

/* ------------------------------------------------ ポートフォリオ */
.flexbox__portfolio {
    display: flex;
    flex-flow: row wrap;
}
.f_item__portfolio {
    width: 23%;
    margin: 0 1% 30px;
}
@media screen and (max-width: 767px) {
    .f_item__portfolio {
        width: 48%;
        margin: 0 1% 15px;
    }
}
@media screen and (min-width: 768px) and (max-width: 980px) {
    .f_item__portfolio {
        width: 31.3333%;
        margin: 0 1% 15px;
    }
}

/* モーダルウィンドウ */
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
}

.iziModal {
    position: relative;
    background-color: #fff;
    z-index: -1;
}
.iziModal_btn {
    border: none;
    cursor: pointer;
}
.iziModal_btn .portfolio_name {
    text-align: center;
    font-size: 15px;
    margin-top: 10px;
}
.iziModal_portfolio {
    width: 85%;
}
/* モーダルウィンドウのレイアウト */
.flexbox_iziModal_portfolio {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
    padding: 120px 30px;
}
.f_item_iziModal_portfolio {
    width: 48%;
}

.link_box,
.f_item_iziModal_portfolio {
    position: relative;
}
.link_box:hover,
.f_item_iziModal_portfolio:nth-child(1):hover {
    transition: 0.7s;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
.link_box a,
.f_item_iziModal_portfolio a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.f_item_iziModal_portfolio .portfolio_name {
    text-align: left;
    font-size: 20px;
    margin-bottom: 15px;
}
.f_item_iziModal_portfolio .portfolio_url {
    text-align: left;
    font-size: 12px;
    margin-bottom: 30px;
}
.f_item_iziModal_portfolio .portfolio_cap {
    font-size: 14px;
    line-height: 180%;
    margin-bottom: 30px;
}
.f_item_iziModal_portfolio .portfolio_cap span.off {
    display: inline-block;
    color: #fff;
    background-color: #eee;
    margin: 0 15px 15px 0;
    padding: 3px 10px;
    border-radius: 3px;
}
.f_item_iziModal_portfolio .portfolio_cap span.on {
    display: inline-block;
    color: #fff;
    background-color: #999;
    margin: 0 15px 15px 0;
    padding: 3px 10px;
    border-radius: 3px;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    background-color: #000;
    padding: 0 20px 15px;
    cursor: pointer;
}
.close a {
    color: #fff;
}
.close i:hover {
    transform: rotate(360deg);
    transition: .7s;
}

/* ------------------------------------------------ お問い合わせ */
table.table-res-form {
    width: 100%;
    margin: 0 auto;
}
table.table-res-form th {
    width: 25%;
    padding: 10px 0;
    vertical-align: middle;
    text-align: left;
}
table.table-res-form td {
    width: 75%;
    padding: 10px 0;
    vertical-align: middle;
    text-align: left;
}
table.table-res-form td input.wpcf7-text {
    width: 100%;
    height: 30px;
}
table.table-res-form td textarea {
    width: 100%;
}
.wpcf7-submit {
    width: 20%;
    padding: 10px 0;
}
span.requied {
    color: #f00;
    margin-left: 5px;
}
 /*各入力フォームスタイリング*/
.table-res-form input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    border: 1px #e0dccc solid;
    padding: 1em;/*0.5*/
    border-radius: 5px;
    margin-bottom: 0.5em;
    width: 100%;
    font-size: 12px;
}
/*入力欄にフォーカスしたら変化*/
.table-res-form input[type="text"]:focus,
textarea:focus {
    background: #eee;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
}
/*送信ボタンスタイリング*/
.table-res-form input[type="submit"] {
    border: 1px #000 solid;
    padding: 1em 4em;
    background: #000;
    color: #fff;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
    /*font-weight: bold;*/
}
/*送信ボタン・マウスオーバー時スタイリング*/
.table-res-form input[type="submit"]:hover {
    transition: 0.7s ;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
/* アラート */
.screen-reader-response {
    text-align: center;
    margin-bottom: 30px;
    color: #f00;
    font-size: 12px;
}
.wpcf7-not-valid-tip {
    color:#f00;
    font-size: 12px;
}
.wpcf7-response-output {
    text-align: center;
    margin-bottom: 50px;
    color: #f00;
    font-size: 12px;
}
.wpcf7-display-none {
    background-color: #000;
    color: #fff;
    margin-bottom: 150px;
    text-align: center;
    font-size: 12px;
    padding: 10px 0;
}
/* 送信後フォームを非表示 */
form.sent table {
    display: none;
}

.privacy_txt {
    font-size: 10px;
    text-align: center;
    padding-top: 30px;
}
.privacy_txt a {
    padding-bottom: 2px;
    border-bottom: 1px dotted #000;
}



/**************************************************************************************** スマホ */
@media screen and (max-width: 767px) {
    .pconly {
        display: none;
    }

    /* ------------------------------------------------ マージン */
    .mb15 {
        margin-bottom: 8px;
    }
    .mb30 {
        margin-bottom: 15px;
    }
    .mb60 {
        margin-bottom: 30px;
    }
    .mb120 {
        margin-bottom: 60px;
    }

    .mt120 {
        margin-top: 60px;
    }

    /* ------------------------------------------------ ヘッダ */
    header {
        width: 100%;
        height: 60px;
    }

    /* ロゴ */
    .logo_box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
    h2.logo {
        font-size: 100px;
        line-height: -1000px;
    }
    h2.logo span {
        font-size: 60px;
        line-height: -1000px;
    }

    p.copy {
        display: none;
    }

    /* ------------------------------------------------ エリア */
    .wrap {
        padding: 60px 0;
    }

    article#contact .wrap {
        width: 85%;
        padding: 60px 0;
    }

    /* ------------------------------------------------ コンセプト */
    .f_item_concept {
        width: 100%;
        padding: 30px;
    }

    /* ------------------------------------------------ ポートフォリオ */
    /* モーダルウィンドウのレイアウト */
    .flexbox_iziModal_portfolio {
        padding: 0;
    }
    .f_item_iziModal_portfolio {
        width: 100%;
    }
    .f_item_iziModal_portfolio:nth-child(1) {
        margin-bottom: 30px;
    }
    .f_item_iziModal_portfolio .portfolio_name {
        text-align: ;
        font-size: 18px;
    }
    .f_item_iziModal_portfolio .portfolio_cap {
        font-size: 12px;
    }

    /* ------------------------------------------------ お問い合わせ */
    table.table-res-form th {
        display: block;
        width: 100%;
        padding: 0 0 5px;
        vertical-align: inherit;
    }
    table.table-res-form td {
        display: block;
        width: 100%;
        padding: 0 0 10px;
        vertical-align: inherit;
    }

}


/**************************************************************************************** タブレット */
@media screen and (min-width: 768px) and (max-width: 980px) {
    .pconly {
        display: none;
    }

    /* ------------------------------------------------ マージン */
    .mb15 {
        margin-bottom: 8px;
    }
    .mb30 {
        margin-bottom: 15px;
    }
    .mb60 {
        margin-bottom: 30px;
    }
    .mb120 {
        margin-bottom: 60px;
    }

    .mt120 {
        margin-top: 60px;
    }

    /* ------------------------------------------------ ヘッダ */
    p.copy {
        display: none;
    }

    /* ------------------------------------------------ エリア */
    .wrap {
        padding: 60px 0 0 80px;
    }

    article#contact .wrap {
        width: 85%;
        padding: 60px 0;
    }

    /* ------------------------------------------------ コンセプト */
    .f_item_concept {
        width: 48%;
        padding: 30px;
    }

    /* ------------------------------------------------ お問い合わせ */
    table.table-res-form th {
        display: block;
        width: 100%;
        padding: 0 0 5px;
        vertical-align: inherit;
    }
    table.table-res-form td {
        display: block;
        width: 100%;
        padding: 0 0 10px;
        vertical-align: inherit;
    }

}


/**************************************************************************************** PC */
@media screen and (min-width: 981px) {
    .sponly {
        display: none;
    }

}