@charset "utf-8";

body {
    margin: 0;
    padding: 0;
    background-color: #cccccc;
    color: #333333;
    font-size: 15px;
    line-height: 2;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

img {
    vertical-align: bottom;
}

ul {
    margin: 0;
    padding: 0;
}

a {
    color: #3583aa;
    text-decoration: none;
}

a:visited {
    color: #788d98;
}

a:hover {
    text-decoration: underline;
}

header {
    width: 960px;
    height: 100px;
    margin: 0 auto;
}

.logo {
    float: left;
    margin-top: 65px;
}

.global-nav {
    float: right;
    margin-top: 60px;
}

.global-nav li {
    float: left;
    margin: 0 20px;
    font-size: 13px;
    list-style: none;
    font-family: 'Roboto', sans-serif;
}

.global-nav li a {
    color: #ffffff;
}

.global-nav li a:hover {
    border-bottom: 2px solid #ffffff;
    padding-bottom: 3px;
    text-decoration: none;
}

#wrap {
    clear: both;
    background-color: #F4F5F7;
    margin-top: 220px;
    padding: 35px 0;
}

.content {
    width: 960px;
    margin: 0 auto;
}

footer {
    text-align: center;
    color: #ffffff;
    padding: 20px 0;
    background-color: #767671;
}

footer small {
    font-size: 12px;
}

#index h1 {
    font-size: 55px;
    font-weight: lighter;
    line-height: 1;
    color: #ff1493;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 50px;
    border: none;
}

#index .content {
    margin-top: 130px;
}

#index p {
    font-size: 16px;
    color: #ffffff;
}

.btn a {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    width: 185px;
    display: block;
    text-align: center;
    line-height: 50px;
    margin-top: 20px;
    border-radius: 25px;
    border: 3px solid #009cd3;
}

.btn a:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #009cd3;
}

#index footer {
    width: 960px;
    margin: 150px auto 0 auto;
    text-align: left;
    background-color: transparent;
}

#index {
    background-image: url(../images/bg-index.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.main_imgBox {
    height: 680px;
    overflow: hidden;
    position: center center;
}

.main_img {
    z-index: 10;
    opacity: 0;
    width: 100%;
    height: 680px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    animation: anime 36s 0s 1;
}

.main_img:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}

.main_img:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 12s;
}

.main_img:nth-of-type(4) {
    -webkit-animation-delay: 18s;
    animation-delay: 18s;
}

.main_img:nth-of-type(5) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}

.main_img:nth-of-type(6) {
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}

@keyframes anime {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    25% {
        opacity: 0;
        transform: scale(1.2);
        z-index: 9;
    }

    100% {
        opacity: 0
    }
}


#concept {
    background-image: url(../images/bg-concept.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#about {
    background-image: url(../images/bg-about.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

.main-center {
    width: 940px;
    margin: 0 auto;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    border-bottom: 1px solid #cccccc;
    font-weight: lighter;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: lighter;
}

.icon:before {
    content: "";
    padding-right: 10px;
    border-left: 7px solid #9cb4a4;
}

#about .profile-txt {
    width: 540px;
    float: left;
}

#about .profile-txt span {
    font-weight: bold;
}

#about .profile-image {
    float: right;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

section {
    margin-bottom: 35px;
}

#about .career th {
    width: 240px;
    background-color: #f0f0f0;
    padding: 12px 0;
    border: 1px solid #cccccc;
}

#about .career td {
    width: 660px;
    padding: 12px 0 12px 40px;
    border: 1px solid #cccccc;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

#index #wrap {
    background-color: transparent;
    margin-top: 0;
    padding: 0;
}

#portfolio {
    background-image: url(../images/bg-portfolio.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

.main {
    width: 700px;
    margin: 0 10px;
    float: left;
}

.sidebar {
    width: 200px;
    margin: 0 10px 0 30px;
    float: right;
    font-family: 'Roboto', sans-serif;
}

a img:hover {
    opacity: 0.8;
}

.sidebar h2 {
    margin-bottom: 10px;
}

.sidebar ul {
    font-size: 16px;
    margin-left: 20px;
}

.sidebar ul a {
    color: #333333;
}

#photograph {
    background-image: url(../images/bg-photograph.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#photograph .photograph-list li {
    float: left;
    list-style: none;
    margin: 0 15px 15px 0px;
}

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

#video {
    background-image: url(../images/bg-video.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#contact {
    background-image: url(../images/bg-contact.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#contact .access table {
    float: left;
}

#contact .access th,
#contact .access td {
    text-align: left;
    line-height: 2.5;
}

#contact .access td {
    padding-left: 30px;
}

#contact .access iframe {
    width: 460px;
    float: right;
}

#contact .form {
    background-color: #eaeaea;
    padding: 30px 50px;
}

#contact .form dl dt {
    width: 165px;
    padding: 10px 0;
    float: left;
    clear: both;
}

#contact .form dl dd {
    padding: 10px 0;
}

#contact .form .name {
    width: 300px;
    height: 30px;
}

#contact .form .email {
    width: 300px;
    height: 30px;
}

#contact .form .tel {
    width: 300px;
    height: 30px;
}

#contact .form .type {
    width: 300px;
    height: 30px;
}

#contact .form .message {
    width: 660px;
    height: 150px;
}

#contact .form button {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 20px;
    width: 120px;
    display: block;
    text-align: center;
    line-height: 50px;
    border-radius: 5px;
    border: 3px solid #009cd3;
    margin-left: 165px;
}

#contact .form button:hover {
    background-color: #ffffff;
    color: #009cd3;
    cursor: pointer;
}

#contact .form .required:after {
    content: "*";
    color: #ff0000;
}

#contact .form .attention {
    margin: 20px 0 0 165px;
}

@media screen and (max-width:600px) {
    /* 画面サイズが600px以下の場合に適用 */

    body {
        font-size: 3.5vw;
    }

    h1 {
        font-size: 7.2vw;
    }

    h2 {
        font-size: 6vw;
    }

    header {
        width: auto;
        margin: 0 5%;
    }

    .logo {
        float: none;
        margin-top: 60px;
        text-align: center;
    }

    .global-nav {
        float: none;
        margin-top: 40px;
        text-align: center;
    }

    .global-nav li {
        display: inline;
        float: none;
        margin: 0 8px;
    }

    #wrap {
        margin-top: 40px;
        padding: 35px 0 0;
    }

    .content {
        width: 100%;
    }

    .main {
        float: none;
        width: auto;
        margin: 0 5%;
    }

    h2 img {
        max-width: 100%;
    }

    #portfolio {
        background-image: url(../images/bg-portfolio.jpg);
    }

    .sidebar {
        width: auto;
        float: none;
        margin: 0;
        padding: 30px 10% 10px;
        background-color: #f7f6f4;
    }

    #index {
        background-image: url(../images/bg-index-sp.jpg);
    }

    #index .content {
        margin-top: 60px;
    }

    #index h1 {
        font-size: 10vw;
        color: #00bfff;
    }

    #index p {
        font-size: 3.5vw;
        color: #ffffff;
    }

    #index .btn a {
        background-color: #009cd3;
        color: #ffffff;
        font-size: 15px;
        font-family: 'Roboto', sans-serif;
        width: 185px;
        display: block;
        text-align: center;
        line-height: 30px;
        margin: auto;
        border-radius: 15px;
        border: 3px solid #009cd3;
    }

    #index #wrap {
        margin-top: 40px;
        padding: 10PX 10PX 0;
    }

    #index footer {
        width: auto;
        margin: 20px auto 0 auto;
    }

    .main_imgBox {
        height: 480px;
        overflow: hidden;
        position: center center;
    }

    .main_img {
        z-index: 10;
        opacity: 0;
        width: 100%;
        height: 480px;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        position: absolute;
        left: 0;
        top: 0;
        animation: anime 36s 0s 1;
    }




    #concept {
        background-image: url(../images/bg-about.jpg);
    }

    #concept .main-center {
        width: auto;
        float: none;
        margin: 0 5%;
    }

    #concept .plus-txt {
        max-width: 100%;
    }

    #concept .plus-image {
        max-width: 100%;
    }

    #about {
        background-image: url(../images/photograph-barn15-03.jpg);
    }

    #about .main-center {
        width: auto;
        float: none;
        margin: 0 5%;
    }

    #about .profile-txt {
        max-width: 100%;
    }

    #about .profile-image {
        max-width: 100%;
    }

    #about .career td {
        padding: 12px 0 12px 10px;
        border: 1px solid #cccccc;
    }

    #contact {
        background-image: url(../images/portfolio-video.jpg);
    }

    #contact .main-center {
        width: auto;
        float: none;
        margin: 0 5%;
    }

    #contact .access td {
        padding-left: 20px;
    }

    #contact .access iframe {
        width: auto;
        float: right;
    }

    #contact .form {
        background-color: #eaeaea;
        padding: 30px 15px;
    }

    #contact .form .name {
        width: 240px;
        height: 30px;
    }

    #contact .form .email {
        width: 240px;
        height: 30px;
    }

    #contact .form .tel {
        width: 240px;
        height: 30px;
    }

    #contact .form .type {
        width: 240px;
        height: 30px;
    }

    #contact .form .message {
        width: 240px;
        height: 300px;
    }

    #contact .form button {
        background-color: #009cd3;
        color: #ffffff;
        font-size: 20px;
        width: 120px;
        display: block;
        text-align: center;
        line-height: 50px;
        border-radius: 5px;
        border: 3px solid #009cd3;
        margin: auto;
    }

    #contact .form .attention {
        margin: 20px 0 0 0px;
    }

    #photograph {
        background-image: url(../images/bg-video1.jpg);
    }

    #video {
        background-image: url(../images/bg-video-sp.jpg);
    }


}
