/*
Theme Name: WeJa
Theme URI: https://github.com/WeJa-Team/WeJa
Author: Haruto Takano
Description: WeJaオリジナルテーマです。
Version: 1.0
*/

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

/*共通*/

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

body {
    -webkit-text-size-adjust: 100%;
}

li {
	list-style-type: none;
}

a {
	text-decoration: none;
}


/*header*/

header {
	width: 100%;
	background: #00A5BF;	
}

.header-inner {
	width: 80%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	text-align: center;
}

.header-inner nav {
	margin: 0 auto;
    width: 100%;
}

.header-inner nav ul {
	display: flex;
    width: 80%;
    margin: 0 auto;
}

.header-logo {
	width: 200px;
}

.header-logo a, .li-logo {
    margin: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .5s ease;
    
}

.header-logo a, .li-logo a  {
    display: block;
    height: 30px;
    /*margin-top: 20px;*/
    background-image: url(img/We2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-inner nav ul li {
    width: 80%;
    margin: auto;
}

.header-inner nav ul li a {
	display: inline-block;
	color: white;
	font-size: 1.0rem;
    padding: 5px 0;
    /*margin: 15px 0;*/
    width: 100%; 
}

.header-inner nav ul li a:hover {
	transition: .3s;
	background-color: white;
	color: #00A5BF;
}

.header-inner nav ul .li-logo a:hover {
    background-color: transparent;
    opacity: 0.7;
}

.header-inner nav ul li a span{
	display: block;
	font-size: 1.0rem;
}

/*main*/
.main-wrapper {
	width: 100%;
}

.MV {
	width: 100%;
	/*height: 475px;*/
	/*background-image: url('../img/ReWeJa.png');
	background-position: 0 -325px;
	background-repeat: no-repeat;*/
}

.MV video:nth-of-type(2) {
	display: none
}

video {
	width: 100%;
}

.contents-wrapper {
	/*display: flex;
    /*justify-content: space-evenly;
	/*background-image: url('../img/coffee-801781_1280.jpg');*/
	/*background-size: cover;
	background-repeat: no-repeat;*/
    margin: 0 auto;
    margin-top: 40px;
    padding: 15px;
}

@media screen and (min-width: 1025px)
{
    .contents-wrapper {
        width: 1024px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px)
{
    .contents-wrapper {
        width: 768px;
    }
}



.content-h1 {
	font-size: 56px;
	display: inline-block;
    color: white;
    background: #00A5BF;
	line-height: 0.9;
	margin-bottom: 20px;
}

.h2-box {
    text-align: center;
      margin-bottom: 50px;
}

.top h2 {
  position: relative;
  display: inline-block;
  padding: 0 65px;
  font-size: 35px;
}

.top h2:before,
.top h2:after {
  position: absolute;
  top: calc(50% - 3px);
  width: 50px;
  height: 6px;
  content: '';
  border-top: solid 2px #00A5BF;
  border-bottom: solid 2px #00A5BF;
}

.top h2:before {
  left: 0;
}

.top h2:after {
  right: 0;
}


.back-logo {
    position: relative;
}

.back-logo::after {
    position: absolute;
    background-image: url(img/weja.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    content: "";
    width: 350px;
    height: 350px;
    right: 0px;
    opacity: 0.3;
    top: 0px;
}

.content-textbox {
    margin-bottom: 250px;
    padding-top: 100px;
}

.content-text {
	font-size: 22px;
}

.link-box {
    text-align: center;
}

.all-article-link {
    font-size: 16px;
    display: inline-block;
    padding: 20px;
    background-color: #00A5BF;
    color: white;
    font-weight: bold;
    letter-spacing: 5px;
    border: solid 2px #00A5BF;
}



.all-article-link:hover {
    opacity: 0.7;
    transform: 0.3s;
    background-color: white;
    color: #00A5BF;
    transition: 0.3s;
}



/**/

/*footer*/
footer {
    background-color: black;
    height: 80px;
    margin-top: 80px;
}

/*js*/

.scroll-animation {
    transition: all .5s ease;
}


/*bottom article*/
.more-article {
    margin: 0 auto 50px;
    max-width: 1200px;
}

.more-article > p {
    text-align: center;
    font-size: 20px;
    padding-top: 45px;
    margin-bottom: 35px;
}

.bottom-article-ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.bottom-article-ul li {
    width: 23%;
}

.bottom-article-li {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

.bottom-article-li:hover {
    opacity: 0.7;
    transition: 0.3s;
}

.bottom-imgbox {
    overflow: hidden;
    width: 100%;
    height: 120px;
    position: relative;
}

.bottom-article-li:hover img {
    transform: translate(-50%, -50%) scale(1.1);
    transition: 0.3s;
}

.bottom-article-li p {
    font-size: 14px;
    margin: 10px 0;
}

.bottom-article-li img {
    width: 100%;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sp {
    display: none;
}

@media screen and (max-width: 1024px) {
    
    
    .content-h1 {
        font-size: 70px;
}
    
    .content-text {
        font-size: 34px;
    }
    
    .back-logo::after {
        top: 130px;
    }
    
   
    .all-article-link {
        font-size: 32px;
        padding: 30px;
    }
    
    
    .bottom-imgbox {
    height: 180px;
}
    
    .bottom-article-ul {
        flex-wrap: wrap;
    }
    
    .bottom-article-ul li {
        width: 45%;
        margin-bottom: 25px;
    }
    
        .top-list p {
    font-size: 36px;
    }
    
        .side-time {
        font-size: 22px;
    }
    
    .pc {
        display: none;
    }
    
    .sp {
        display: block;
    }
    
.menu-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #00A5BF;
}
    
    #menu-btn-check {
    display: none;
}
    
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}


.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 30px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
    
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    left: 11px;
    top: 32px;
}
    
    

.menu-content {
    width: 80%;
    height: 100%;
    position: fixed;
    padding: 5% 10%;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: black;
    transition: all 0.5s;/*アニメーション設定*/
}
    

#menu-btn-check:checked ~ .menu-content {
    left: 20%;/*メニューを画面内へ*/
}
    
    
}


/**/