@charset "UTF-8";

body {  
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
a {
  color: #333;
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}

.section-title {
    font-weight: normal;
    line-height: 1;
    margin-bottom: 50px;
}

/*
疑似要素を使って下線を引く
*/
.section-title::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: #000;
    display: block;
}

/*
「display: inline-block;」を設定してブロック化することで、
改行されてmargin-bottomが使用できるようになる
*/
.section-title .en {
    display: block;
    font-size: 2.25rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
}

.section-title .ja {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 36px;
}


/* .logo {
    width: 100px;
    line-height: 1px;
}

.logo a {
    display: block;
} */


/*
main-title
*/
.main-title {
    font-weight: normal;
    line-height: 1;
    margin-bottom: 10px;
    background-color: #121212;
    color: #fff;
    height: 220px;
}

/*
疑似要素を使って下線を引く
*/
.main-title::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: #fff;
    display: block;
    margin: 0 auto;
}

/*
「display: inline-block;」を設定してブロック化することで、
改行されてmargin-bottomが使用できるようになる
*/
.main-title .en {
    display: block;
    font-size: 2.25rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.main-title .ja {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 36px;
}
.pt{
    padding-top: 100px;
    text-align: center;
}


/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 10;
    background-color: #f0f0f0;
}

#header .inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 15px;
    /* width: 1000px; */
}

#header .inner ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .inner li {
    margin-right: 30px;
}

#header .inner li:last-child {
    margin-right: 0;
}

.page-title{
    width: 100%;
    font-size: 2rem;
    text-align: center;
    padding-top: 180px;
    padding-bottom: 50px;
}

/*===========================================
breadcrumb
 =============================================*/
.breadcrumb{
    margin-left: 100px;
 }
.breadcrumb span{
    margin: 0 5px;
}
/*-------------------------------------------
container
-------------------------------------------*/

#container{
    display: flex;
    justify-content: space-between;
}
main{
    width: 70%;
    text-align: center;
}
main .news_area{
    margin-bottom: 80px;
}
main .news_area .news .news_pic{
    display: block;
    margin-bottom: 30px;
}
main .news_area .news .news_pic img{
    border: 1px solid #202020;
    box-shadow: 5px 5px 7px #121212;
}

main .news_area .news .news_meta{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 25px;
}
main .news_area .news .news_meta ul li:nth-child(1) a{
    background-color: #333;
    color: #fff;
    font-size: 1rem;
    padding: 3px 20px;
}
main .news_area .news_title{
    font-size: 1.8rem;
    margin: 30px auto;
}


main .news_area .news_desc{
    width: 80%;
    margin: 0 auto;
    text-align: left;
    position: relative;
}
main .news_area .news_desc p:nth-child(2){
    margin: 30px auto 10px;
    text-align: center;
}
main .news_area .news_desc *,
main .news_area .news_desc *:before,
main .news_area .news_desc *:after{
    -webkit-box-sizing: border-box;
	box-sizing: border-box;
}
main .news_area .news_desc label{
    position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	height: 140px; /* グラデーションの高さ---初期値：140px */
	cursor: pointer;
	text-align: center;
	/* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
	background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}
main .news_area .news_desc input:checked + label{
    background: inherit; /* 開いた時にグラデーションを消す */
}
main .news_area .news_desc label:after{
    line-height: 2.5rem;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 50%;
	width: 16rem;
	font-family: FontAwesome;
	content: '\f13a'' 続きをよむ';
	transform: translate(-50%, 0);
	letter-spacing: 0.05em;
	color: #ffffff;
	border-radius: 20px;
	background-color: rgba(27, 37, 56, 1);
}
main .news_area .news_desc input{
    display: none;
}
main .news_area .news_desc .cp_container{
    overflow: hidden;
	height: 0px; /* 開く前に見えている部分の高さ---初期値：20px */
	transition: all 0.5s;
}
/* main .news_area .news_desc input:checked + label{
    display: none ; 閉じるボタンを消す場合解放
} */
main .news_area .news_desc input:checked + label:after{
    font-family: FontAwesome;
	content: '\f139'' 閉じる';
}
main .news_area .news_desc input:checked ~ .cp_container{
    height: auto;
	padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
	transition: all 0.5s;
}
/*-------------------------------------------
Contact
-------------------------------------------*/
#contact {
  color: #fff;
  background-color: #121212;
  padding: 50px 0;
}
#contact .section-title::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: #fff;
    display: block;
    margin-bottom: 50px;
    margin: 0 auto;
}
#contact .content {
  max-width: 1240px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#contact .contact-form {
  width: 70%;
  margin: 0 auto;
}
#contact .contact-form dt{
    text-align: left;
    padding: 0 0 5px 10px;
}
#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 20px;
}
#contact .contact-form .button input {
  width: 200px;
  color: #fff;
  background-color: #121212;
  border: solid 1px #fff;
  padding: 12px 0;
  margin-bottom: 0;
}
#contact .contact-form .button input:hover {
  color: #202020;
  background-color: #fff;
}

/*-------------------------------------------
aside
-------------------------------------------*/
#sidebar{
    width: 28%;
    padding: 20px;
}
#sidebar .side-title{
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.archive{
    text-align: center;
    margin-bottom: 60px;
}
.archive .archive-title{
    text-transform: capitalize;
    margin-bottom: 20px;
}
.archive ul{
    border-bottom: 1px solid #777;
}
.archive li{
    font-size: 0.875rem;
    border-top: 1px solid #777;
    padding: 20px;
    text-align: left;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
    background-color: #fff;
    padding-bottom: 20px;
}

#footer .flex {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    margin: 0 auto;
}

#footer .flex .logo {
    margin-right: 0;
}

#footer .copyright {
    font-size: 0.625rem;
    text-align: center;
}

/*-------------------------------------------
to-top
-------------------------------------------*/
.pagetop{
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
}

.pagetop_arrow{
    display: block;
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 960px){
    .logo {
        width: 80px;
        margin: 8px auto;
    }

    .section-title {
        margin-bottom: 34px;
        text-align: center;
    }

    .section-title .ja {
        margin-bottom: 24px;
    }
    .section-title::after{
        margin: 0 auto;
    }

    /*-------------------------------------------
    ヘッダー
    -------------------------------------------*/
    /*
    ハンバーガーメニュー
    ※ハンバーガーメニューの説明は他の課題と重複するため割愛
    */
        #navi {
            width: 300px;
            background: #fff;
            padding: 25px;
            position: fixed;
            top: 0;
            left: -300px;
            bottom: 0;
            opacity: 0;
            overflow-y: auto;
            transition: 0.5s;
            z-index: 20;
        }

        #navi.open {
            left: 0;
            opacity: 1;
        }
        #navi .logo{
            position: static;
            top: 15px;
        }

        #navi ul.nav-menu {
            flex-direction: column;
            margin-bottom: 30px;
        }

        #navi ul li {
            padding: 10px 0;
        }
        #header .inner li:last-child {
            margin-right: 30px;
        }

        .hamburger {
            width: 30px;
            height: 30px;
            cursor: pointer;
            position: fixed;
            top: 150px;
            right: 20px;
            transition: 0.5s;
            z-index: 20;
            background-color: #fff;
        }

        .hamburger span {
            width: 30px;
            height: 2px;
            background-color: #121212;
            border-radius: 4px;
            display: block;
            position: absolute;
            left: 0;
            transition: 0.5s;
        }

        .hamburger span:nth-child(1) {
            top: 4px;
        }

        .hamburger span:nth-child(2) {
            top: 14px;
        }

        .hamburger span:nth-child(3) {
            bottom: 4px;
        }

        .open.hamburger span {
            background-color: #fff;
        }

        .open.hamburger span:nth-child(1) {
            transform: translateY(10px) rotate(-315deg);
        }

        .open.hamburger span:nth-child(2) {
            opacity: 0;
        }

        .open.hamburger span:nth-child(3) {
            transform: translateY(-10px) rotate(315deg);
        }

        #mask {
            display: none;
            transition: 0.5s;
        }

        .open #mask {
            width: 100%;
            height: 100%;
            background-color: #000;
            cursor: pointer;
            display: block;
            opacity: 0.8;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 10;
        }

        /*===========================================
        container
        =============================================*/
        #container{
            flex-direction: column;
        }
        main{
            width: 100%;
        }
        /*===========================================
        .list-group
        =============================================*/
        .list-group{
            width: 100%;
        }
        .list-group .list-group-item{
            width: 100%;
            height: auto;
        }
        .list-group-item .news{
            flex-direction: column;
        }
        .list-group .list-group-item .news .news_pic img{
            width: 90%;
        }
        .list-group .list-group-item .news .right-area{
            width: 100%;
            height: auto;
        }
        .list-group .list-group-item .news .right-area .news_desc p{
            height: auto;
            margin-bottom: 30px;
        }
        /*===========================================
        sidebar
        =============================================*/
        #sidebar{
            width: 100%;
        }

         /*===========================================
        footer
        =============================================*/
        #footer .flex{
            display: flex;
            justify-content: space-between;
        }
        #footer .flex .logo{
            flex-direction: column;
            margin: 0;
        }
        #footer .copyright{
            flex-direction: column;
        }
}