@charset "UTF-8";
/* CSS Document */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    border: none;
    padding: 0;
    font:inherit;
}


html, body {
    height: 100%;
}

a {
    transition: .3s ease;
    color:#292929;
    text-decoration:none; 
}

a:hover{
    color:#3E4AE0;
}

body {
    font-size: 14px;
    letter-spacing: 0;
    color: #292929;
}

@media screen and (min-width: 768px){
    body {
        font-size:18px;
    }
}

@media screen and (min-width: 768px){
    .sp {
        display: none;
    }
}

.ps {
        display: none;
    }

@media screen and (min-width: 768px){
    .pc {
        display: block;
    }
}



.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 20;
    padding-top: 20px;
    padding-right: 10px;
    width: 100%;
}

.header-logo img {
    width: 60%;
}


@media screen and (min-width: 768px) {
    .header {
        padding: 30px;
    }
}


.header-logo {
    margin-top: 0;
    margin-right: 2em;
    margin-bottom: 0;
    margin-left: 1em;
}

@media screen and (min-width: 768px) {
    .header-logo img {
        width: 200px;
    }
}
/*　ハンバーガーボタン　*/
.header-button {
    position: fixed;
    right: 0;
    top: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: none;
    width: 75px;
    height: 75px;
    background-color: transparent;
    color: #000;
}

/*　pc表示のハンバーガーボタンを消してナビゲーション　*/
@media screen and (min-width:768px) {
    .header-button {
        display: none;
    }
}

.header-button span {
    display: block;
    position: relative;
    top: 0;
    margin: 0 auto;
    width: 24px;
    height: 3px;
    background-color: #292929;
    transition: .3s ease;
}

.header-button span::before,
.header-button span::after {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    transition:  all .3s;
    background-color: inherit;
}

.header-button span::before {
    top: -9px;
}
.header-button span::after {
    top: 9px;
}

/* ハンバーガーメニューボタン　*/
body.open .header-button {
    z-index: 30;
}
body.open .header-button span {
    width: 30px;
    background-color: transparent;
}
body.open .header-button span::before,
body.open .header-button span::after {
    top: 0;
    background-color: #292929;
}
body.open .header-button span::before {
    transform: rotate(45deg);
}
body.open .header-button span::after {
    transform: rotate(-45deg);
}

/*　ナビゲーション　*/
.header-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(229,229,229,0.90);
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 20px;
    font-weight: 900;
    transform: translateX(100%);
    transition: 0.3s ease;
}
body.open .header-nav {
    transform: translateX(0);
}
.header-nav a {
  text-decoration: none;
}

/* PC表示の時のナビゲーション */
@media screen and (min-width: 768px) {
.header-nav {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    height: auto;
    background-color: transparent;
    transform: none;
    }
}

@media screen and (min-width: 768px) {
    .header-nav-item:nth-child(n+2){
        margin-top: 0;
        margin-left: 2em;
    }
}


/* body */
#video-area {
    position: relative;
    height: 100vh;
}

#video-areadiv {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
}
#video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    min-height: 100%;
    min-width: 100%;
}

/* section profileのスタイル */
#profile {
    position: static;
    text-align: center;
    }


.h2-title {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 16px;
    padding-bottom: 5px;
    text-align: center;
}


.profile-title{
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 0.7em;
    padding-bottom: 3px;

}

.profile-name {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 13px;
}

.profile-name2 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 0.9em;
    padding-bottom: 5px;
}
.profile-txt {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 0.8em;
    line-height: 1.5em;
}

.profiletext p {
    font-size: 12px;
}



.profile-area {
    background-color: #3A6DAC;
    color: #FFF;
}


.inner {
    padding: 30px 30px;
    margin:0 auto;
}


.news-box {
    background-color: #FFF;
    color: #467DC0;
    padding: 30px 30px;
    align-content: center;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 10px
}

.news-list li {
    display: flex;
    width: 100%;
    padding: 0 -10px;
    margin-bottom:  30px;
    list-style: none;
}

.news-list li a {
    display:-webkit-flex;
    display: flex;
    width: 100px;
    align-items: flex-start;
}

.news-list li img {
    flex: 0 2 90px;
}

.news-list li .news-list-info {
    margin-left: 20px;
    align-items: flex-start;
}



.h2-title {
    text-align: center;
}

.news-time {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 0.8em;
}

.news-title {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1.1em;
}

.news-text {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 0.8em;
}
.news-text {
    word-wrap: break-word;
}

@media screen and (min-width:768px) {
    .news-list li {
        width: 100%;
        justify-content: center;
    }
}

/* section worksのスタイル */
#works {
    position: static;
    text-align: center;
    }

.works-box {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #FFFED5;
    color: #467dc0;
}
.works-area {
    padding: 40px;
}

@media screen and (min-width:1024px){
.works-box {
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 40px;
    background-color: #FFFED5;
    color: #467dc0;
    }
}

.h2-title {
    padding-bottom: 30px;
}

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/
.works-list {
    justify-content: center;
}
.works-list {
    list-style: none;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 100px 10px 100px;
    grid-template-columns: 120px 120px;
    -ms-grid-rows: 100px 30px 100px 30px 100px 30px 100px 30px 100px 30px 100px;
    grid-template-rows: 120px 120px 120px 120px 120px 120px;
    grid-gap: 10px;
    margin: 0 auto;
    width: 240px;
}
.works-list > li:nth-child(1){
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

.works-list > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}.works-list > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}.works-list > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}.works-list > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}.works-list > *:nth-child(5) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
}.works-list > *:nth-child(6) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
}.works-list > *:nth-child(7) {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
}.works-list > *:nth-child(8) {
    -ms-grid-row: 7;
    -ms-grid-column: 3;
}.works-list > *:nth-child(9) {
    -ms-grid-row: 9;
    -ms-grid-column: 1;
}.works-list > *:nth-child(10) {
    -ms-grid-row: 9;
    -ms-grid-column: 3;
}.works-list > *:nth-child(11) {
    -ms-grid-row: 11;
    -ms-grid-column: 1;
}.works-list > *:nth-child(12) {
    -ms-grid-row: 11;
    -ms-grid-column: 3;
}

.works-list li img{
	display: block;
	width: 100%;
}
  

@media screen and (min-width: 1024px) {
    .works-list {
        -ms-grid-colums: 210px 30px 210px 30px 210px 30px 210px;
        grid-template-columns: 210px 210px 210px 210px;
        -ms-grid-rows: 210px 30px 210px 30px 210px;
        grid-template-rows:  215px 215px 215px;
        grid-gap: 5px;
        width: 860px;
    }
    
    .works-list > li:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }
}


/* contactのスタイル */
#contact {
    position: static;
    text-align: center;
    }

.contact-box {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #E8FFD6;
    color: #75AF48;
}
.contact-area {
    padding: 80px 40px 80px 40px;
}
a.mailbutton{
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 1em;
    text-align: center;
}


@media screen and (min-width:1024px){
.contact-box {
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 40px;
    background-color: #E8FFD6;
    color: #75AF48;
    }
}
.h2-title {
    padding-bottom: 20px;
}


.snsicon {
    text-align: center;
    padding-bottom: 30px;
}

.snsicon ul img {
    margin-right: 20px;
    width: 32px;

}

.snsicon li {
    display: inline-block;

}

/* footer */
.footer {
    padding: 1em 0;
    width:100%;
}



.footer-txt {
    font-size:12px;
    text-align: center;
}
