@charset "UTF-8";

/* * * * * * * * * * * * * * * * * *
 base.css
* * * * * * * * * * * * * * * * * */


/* reset, common
--------------------------------- */

* {
    margin: 0;
    padding: 0;
    list-style: none;
    outline: none;
}

input,
textarea {
    -webkit-user-select: auto;
}

body {
    padding: 0;
    line-height: 1.6;
    font-size: 16px;
    color: #3e2d26;
    font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Meiryo UI", "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HiraKakuProN-W3", "HiraKakuPro-W3", 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ Pro W3', "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    width: 100%;
    margin: 0;
    background-color: #FFF;
    letter-spacing: 0.5px;
    position: relative;
    font-feature-settings: "palt";
}

html,
body {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

img {
    border: none;
    vertical-align: bottom;
}

a {
    color: #333;
    outline: none;
    text-decoration: none;
}

a:hover {
    color: #df4141;
    text-decoration: none;
    /* text-decoration: underline; */
}


/* fonts */

.f_min {
    font-family: "ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif;
}

.helvetica {
    font-family: 'Lato', sans-serif;
}

.myriad {
    font-family: 'Myriad Pro', 'Montserrat', sans-serif;
}

.font_s {
    font-size: 90%;
}

.red {
    color: #FF0000;
}


/* float */

.l {
    float: left;
}

.r {
    float: right;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.tal {
    text-align: left!important;
}


/* clearfix */

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}


/* Hides from IE-Mac \*/

*html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}


/* End hide from IE-mac */

.none {
    display: none!important;
}

.inWrap li,
.txt_indent {
    text-indent: -1em;
    padding-left: 1em;
}


/* margin */

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}

.mb75 {
    margin-bottom: 75px;
}

.mb80 {
    margin-bottom: 80px;
}

.mb100 {
    margin-bottom: 100px;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px!important;
}

.mt60 {
    margin-top: 60px;
}

label {
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.noPC {
    display: none!important;
}

.inner {
    width: 1024px;
    margin: 0 auto;
    position: relative;
}

.harf {
    width: 49%;
}


/* リンクアニメーション */

a,
a img,
.sc {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

.btn {
    display: block;
    width: 358px;
    height: 68px;
    margin: 0 auto;
    font-size: 18px;
    text-align: center;
    letter-spacing: 1px;
    line-height: 68px;
    background: url(../img/arrow.png) 95% center no-repeat;
    border: 1px solid #a1a1a1;
    border-radius: 35px;
}

.btn2 {
    display: inline-block;
    width: 220px;
    height: 68px;
    margin: 0 auto;
    font-size: 18px;
    text-align: center;
    letter-spacing: 1px;
    line-height: 68px;
    background: url(../img/arrow.png) 95% center no-repeat;
    border: 1px solid #a1a1a1;
    border-radius: 35px;
}

a .img {
    overflow: hidden;
}


/* header
--------------------------------- */

#header {
    position: relative;
    padding: 40px 0 30px;
    background: #FFF;
    text-align: center;
}

#header_fixed {
    position: fixed;
    width: 100%;
    top: -60px;
    left: 0;
    padding: 8px 0;
    background: #FFF;
    z-index: 9999;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

#header_fixed.active {
    top: 0;
}

.logo {
    display: block;
    width: 267px;
    height: 65px;
    text-indent: -9999px;
    background: url(../img/logo.png) left center no-repeat;
}

.logo a {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    position: relative!important;
    top: 0!important;
    left: 0!important;
    margin: 0!important;
    background: none!important;
}

#header_fixed .logo {
    display: block;
    width: 320px;
    height: 44px;
    text-indent: -9999px;
    background: url(../img/logo_active.png) left center no-repeat;
}

#header a {
    position: absolute;
    top: 25px;
    right: 25px;
    display: block;
    width: 172px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #FFF;
    text-align: center;
    line-height: 48px;
    background: #e20011;
}

#header_fixed a {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    width: 172px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #FFF;
    text-align: center;
    line-height: 40px;
    background: #e20011;
}


/* top_contents
--------------------------------- */

h2 {
    text-align: center;
    font-size: 60px;
    font-family: 'Crimson Text', serif;
    letter-spacing: 0.6rem;
    font-weight: normal;
}

#mainimg {
    display: table;
    width: 100%;
    height: 725px;
    /*background: url(../img/mainimg.jpg) center center no-repeat;*/
    background-size: cover;
}

#mainimg h1 {
    display: table-cell;
    width: 500px;
    height: 170px;
    text-indent: -9999px;
    /*  background: url(../img/h1.png) center center no-repeat;*/
}

#works {
    padding: 70px 0;
}

#works li {
    width: 335px;
    float: left;
    margin-right: 9px;
    margin-bottom: 40px;
}

#works li:nth-child(3n) {
    margin-right: 0;
}

#works li .img {
    height: 190px;
}

#works li h3 {
    margin: 20px 0;
    font-size: 20px;
}

#works li .tag {
    margin-top: 20px;
}

#works li .tag li {
    display: inline-block;
    float: none;
    width: auto;
    margin-right: 5px;
}

#works li .tag li {
    display: inline-block;
    padding: 10px 15px;
    line-height: 1;
    font-size: 12px;
    background: #f1f1f1;
}

#service {
    padding-top: 170px;
}

#service ul {
    margin-top: 70px;
}

#service ul li {
    text-align: center;
    padding: 0 60px;
    width: 5%;
}

@media screen and (max-width: 481px) {
    #service ul li {
        padding: 0;
    }
}

#service ul li .text {
    position: relative;
    padding: 30px 0 0;
    text-align: center;
}

#service ul li .text:before {
    content: "";
    display: block;
    height: 35px;
    width: 1px;
    position: absolute;
    top: -18px;
    left: 50%;
}

#service ul li .text h3 {
    font-size: 22px;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 20px;
}

#service .content {
    /* display: inline-block; */
}

#service .content h3 {
    width: auto;
    margin: 0 auto;
    text-align: left;
    font-size: 1.8rem;
    padding: 1.5rem 0;
    font-family: 'Crimson Text', serif;
}

@media screen and (max-width: 768px) {
    #service .content h3 {
        width: fit-content;
    }
}

#service .content p {
    width: auto;
    margin: 0 auto;
    text-align: left;
    font-size: 1.4rem;
    line-height: 2rem;
}

@media screen and (max-width: 768px) {
    #service .content p {
        /* width: 35%; */
        font-size: 1.2rem;
        margin-bottom: 20px;
        width: 340px;
        /* padding: 0 60px; */
    }
}

@media screen and (max-width: 320px) {
    #service .content p {
        width: 280px;
    }
}

#contact {
    padding-top: 150px;
}

#contact .inner {
    padding: 60px 0;
    background: #ededed;
}

#contact form {
    width: 510px;
    margin: 0 auto;
}

#contact form dl {
    margin-bottom: 60px;
}

#contact form dt {
    margin: 40px 0 30px;
}

#contact form dd {
    margin-bottom: 10px;
}

#contact form input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 10px 15px;
    box-sizing: border-box;
    border: 1px solid #b9b8b8;
    font-size: 16px;
}

#contact form input[type="radio"] {
    display: none;
}

#contact form input[type="radio"]+label {
    position: relative;
    padding: 3px 0 3px 35px;
}

#contact form input[type="radio"]+label:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #b9b8b8;
    background: #FFF;
    border-radius: 10px;
}

#contact form input[type="radio"]+label:after {
    content: "";
    display: none;
    position: absolute;
    left: 1px;
    top: 1px;
    width: 8px;
    height: 8px;
    border: 6px solid #5da1e7;
    background: #FFF;
    border-radius: 9px;
}

#contact form input[type="radio"]:checked+label:after {
    display: block;
}

#contact form textarea {
    width: 100%;
    height: 240px;
    padding: 10px 15px;
    margin-top: 40px;
    box-sizing: border-box;
    border: 1px solid #b9b8b8;
    font-size: 16px;
}

#contact form .btn {
    color: #FFF;
    background: url(../img/arrow_w.png) 95% center no-repeat #a1a1a1;
}

#contact form .btn2 {
    color: #FFF;
    background: url(../img/arrow_w.png) 95% center no-repeat #a1a1a1;
    margin-bottom: 10px;
}


/* footer
--------------------------------- */

#footer {
    padding: 30px 0 65px;
}

#footer .sns {
    padding-left: 4rem;
}

#footer .sns li {
    display: inline-block;
    margin-right: 15px;
}

#footer .copyright {
    font-size: 10px;
    font-weight: bold;
    flex-grow: 1;
    text-align: right;
}

@media screen and (max-width: 769px) {
    #footer .footer_logo {
        width: 30%;
    }
    #footer .sns {
        padding-left: 1.2rem;
    }
    #footer .sns li {
        margin-right: 0px;
    }
}

@media screen and (max-width: 320px) {
    #footer .sns {
        width: 23%;
    }
    #footer .footer_logo {
        width: 28%;
    }
}

.logo_ami {
    display: inline-block;
    text-align: center;
    z-index: 0;
    width: 600px;
    margin: 200px auto;
    position: relative;
}

#logo_img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 600px;
}

@media screen and (min-width: 769px) {
    /* opacity */
    a:hover img {
        filter: alpha(opacity=50);
        -moz-opacity: 0.50;
        opacity: 0.50;
    }
    .btn:hover {
        color: #FFF;
        background: url(../img/arrow_w.png) 95% center no-repeat #a1a1a1;
    }
    .btn2:hover {
        color: #FFF;
        background: url(../img/arrow_w.png) 95% center no-repeat #a1a1a1;
    }
    a .img img {
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
    }
    a:hover .img img {
        transform: scale(1.1);
    }
    #contact form .btn:hover {
        color: #a1a1a1;
        background: url(../img/arrow.png) 95% center no-repeat #FFF;
    }
    #contact form .btn2:hover {
        color: #a1a1a1;
        background: url(../img/arrow.png) 95% center no-repeat #FFF;
    }
}

@media screen and (max-width: 768px) {
    img {
        max-width: 100%;
    }
    .inner {
        width: 90%;
    }
    h2 {
        font-size: 25px;
    }
    .btn {
        width: 90%;
        max-width: 358px;
        height: 45px;
        font-size: 15px;
        line-height: 45px;
        background-size: auto 13px!important;
    }
    .btn2 {
        width: 90%;
        max-width: 358px;
        height: 45px;
        font-size: 15px;
        line-height: 45px;
        background-size: auto 13px!important;
    }
    .logo,
    #header_fixed .logo {
        width: 60%;
        background-size: contain;
    }
    #header {
        padding: 10px 0;
    }
    #header img {
        width: 50%;
    }
    #header a,
    #header_fixed a {
        width: 25%;
        right: 5px;
        top: 50%;
        line-height: 50px;
        margin-top: -25px;
        font-size: 12px;
    }
    #mainimg {
        height: auto;
        padding: 18% 0;
    }
    #works {
        padding: 35px 0;
    }
    #works li .img {
        height: auto;
    }
    #mainimg h1 {
        width: 90%;
        height: auto;
        padding-top: 18%;
        background-size: contain;
    }
    #works li {
        width: 48%;
        max-width: 335px;
        margin: 0 0 20px;
    }
    #works li:nth-child(even) {
        float: right;
    }
    #service {
        padding-top: 130px;
    }
    #service ul {
        margin-top: 30px;
    }
    #service ul li {
        width: auto;
        margin: 0 auto 20px;
    }
    #service ul li .text {
        padding-top: 15px;
    }
    #service ul li .text h3 {
        margin-bottom: 10px;
        font-size: 20px;
    }
    #contact form {
        width: 90%;
    }
    #contact form input[type="radio"]+label {
        display: block;
        padding: 0 0 0 35px;
    }
    .logo_ami {
        width: 90%;
        margin: 0 auto;
    }
    #logo_img {
        width: 100%;
        margin: 0 auto;
        display: block;
        position: static;
    }
}

.error_msg {
    color: red;
    margin-bottom: 30px;
}

form dt {
    font-weight: bold;
}

#contact .thanks {
    padding: 40px 100px;
}

#contact .thanks p {
    text-align: center;
    font-size: 26px;
    padding: 20px;
    font-weight: bold;
}

#mv {
    position: relative;
    height: calc(100vh - 101px);
}

#mv .mv_text {
    position: absolute;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    z-index: 1;
    top: 80px;
    right: 50px;
    font-size: 2.8vh;
    line-height: 55px;
    letter-spacing: 10px;
    color: #fff;
    font-family: 'Crimson Text', serif;
}

@media screen and (max-width: 768px) {
    #mv .mv_text {
        /* top: 50%; */
        /* left: 50%; */
        /* transform: translate(-50%, -50%); */
        /* -webkit-transform: translate(-20%, -50%); */
        /* -ms-transform: translate(-50%, -50%); */
        /*上下左右中央に*/
        /* width: 53vw; widthの指定は必須 */
        /* font-size: 2.8vh; */
        /* line-height: 40px; */
        /* letter-spacing: 4px; */
        top: 50%;
        right: calc(50% - 100px);
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        width: 200px;
        max-width: 200px;
        font-size: 2.8vh;
        line-height: 40px;
        letter-spacing: 4px;
    }
    .Android #mv .mv_text {
        /* -webkit-transform: translate(-50%, -50%); */
        -webkit-transform: translate(0, -50%);
    }
}

@media screen and (max-width: 320px) {
    #mv .mv_text {
        width: 61vw;
        -webkit-transform: translate(0%, -50%);
        left: 22%;
    }
}


/* slick
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

.slider div {
    width: 100%;
}

.slider img {
    width: 100%;
}

#mv .slick-slide img {
    width: 100%;
    height: calc(100vh - 101px);
    object-fit: cover;
}

@media screen and (max-height: 590px) {
    #mv .slick-slide img {
        height: 100vh;
    }
}

@media screen and (max-width: 768px) {
    #mv .slick-slide img {
        height: calc(100vh - 50px);
    }
    #mv .slider li:nth-child(1) img {
        object-position: 52%;
    }
    #mv .slider li:nth-child(2) img {
        object-position: 46%;
    }
    #mv .slider li:nth-child(3) img {
        object-position: 77%;
    }
}

@media screen and (max-width: 320px) {
    #mv .slick-slide img {
        height: calc(100vh - 46px);
    }
}

#service .slick-slide img {
    margin: 0 auto;
    width: 100%;
}

@media screen and (max-width: 768px) {
    #service .slick-slide img {
        width: 55%;
    }
}

@media screen and (max-width: 320px) {
    #service .slick-slide img {
        width: 50%;
    }
}

img.slide-arrow.prev-arrow.slick-arrow {
    /* position: absolute;
	left: 350px;
	top: 180px;
	z-index: 1; */
    position: absolute;
    right: 880px;
    left: 0;
    top: -110px;
    bottom: 0;
    margin: auto;
    z-index: 1;
}

img.slide-arrow.next-arrow.slick-arrow {
    /* position: absolute;
	right: 350px;
	top: 180px;
	z-index: 1; */
    position: absolute;
    right: 0;
    left: 880px;
    top: -110px;
    bottom: 0;
    margin: auto;
    z-index: 1;
}

#footer div {
    display: flex;
    align-items: center;
}

.google_plus {
    width: 1.6%;
    height: 1%;
}


/* 会社概要
ーーーーーーーーーーーーーーーーーーーーーーーーーー */

#company {
    padding-top: 170px;
    background: #fff;
}

.flex {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

#company .flex {
    padding-left: 20px;
    padding-right: 20px;
}

#company .flex>* {
    flex: 0 1 48%;
}

#company .company_content {
    margin-top: 40px;
}

.tb {
    width: 100%;
}

.tb th,
.tb td {
    vertical-align: top;
    font-weight: normal;
    text-align: left;
    padding: 20px;
    border-top: 1px solid #dfdfdf;
}

.tb tr:first-child th,
.tb tr:first-child td {
    border-top: none;
}

.tb th {
    width: 20%;
    white-space: nowrap;
}

#company iframe {
    display: block;
    width: 100%;
    height: 450px;
    margin: 60px 0 50px 0;
}

#company iframe+p span {
    margin-right: 30px;
}

@media screen and (max-width: 767px) {
    .tb th {
        width: 25%;
    }
    .tb th,
    .tb td {
        padding: 10px;
        border-top: 1px solid #dfdfdf;
    }
    .tb tr:first-child th,
    .tb tr:first-child td {
        border-top: 1px solid #dfdfdf;
    }
    #company iframe {
        height: 200px;
        margin: 30px 0 60px;
    }
    #company iframe+p {
        padding: 0 20px;
    }
    #company iframe+p span {
        margin-right: 15px;
    }
    #company .company_content {
        margin-top: 30px;
    }
    #company .flex {
        padding-left: 0;
        padding-right: 0;
        flex-direction: column;
    }
    #company {
        padding-top: 60px;
    }
    #contact {
        padding-top: 40px;
    }
}