@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: 250px;
}
a {
    color: #64A8D9;
    text-decoration-line: none;
}
a:hover { 
    color: #8EC8EF;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 2px solid;
    border-color: #c0c0c0;
	padding-bottom: 0.5rem;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}
.head img {
    padding-top: 20px;
    padding-bottom: 10px;
    max-width: 70%;
    height: auto;
}
.head h1 { 
    padding: 1rem 0;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 1rem;
}
nav li {
    display: block;
    flex: 1 0 auto;
}
nav li a {
    display:block;
    text-decoration: none;
    text-align: center;
    background-color: #64A8D9; 
    color: #fff;
}
nav a:hover {
    background-color: #8EC8EF;
    color: #fff;
}
nav a {
    padding: 1rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}

.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid;
    border-color: #fff;
	margin-bottom: 0;
}
/* スマホ時MENUボタン */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時メニュー非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw; 
    height:auto;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

.main_contents {
    border-bottom: 1px solid;
    border-color: #c0c0c0;
    padding-bottom: 0.5rem;
    font-size: 15px;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    color: #696969;
}
.main_contents h2 {
    font-size: 72px;
    font-weight: bold;
    color: #64a8d9;
    font-family: "Allura";
}
.main_contents p {
    padding-top: 15px;
    font-size: 15px;
    color: #696969;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
}

.case_repo {
    border-bottom: 1px solid;
    border-color: #a9a9a9;
    padding-bottom: 0.5rem;
}
.case_repo h3 {
    padding-top: 30px;
    letter-spacing: 0.1em;
    font-size: 15px;
    font-weight: bold;
    color: #696969;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
}
.case_repo p {
    padding-top: 20px;
    font-size: 15px;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    color: #696969;
}
.case_repo a {
    color: #64a8d9;
}
.case_repo a:hover {
    color: #8EC8EF;
}
.youtube {
    position:relative;
    width: 100%;
    max-width: 560px;
}

.youtube::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%;
}

.youtube iframe{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
/*ボタン
------------------------------------*/
.btn {
    padding-bottom: 20px;
}
.btn a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 1em 2em;
    width: 300px;
    color: #fff;
    font-size: 17px;
    font-weight:600;
    background-color: #64A8D9;
    border-radius: 50vh;
}

.btn a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.btn a:hover {
    text-decoration: none;
    background-color: #8EC8EF;
    color: #fff;
}

/*ページャー
-------------------------------------*/
.pager .pagination {
    text-align: center;
    margin-top: 10px;
}

.pager .pagination li {
    display: inline;
    margin: 0 2px;
    padding: 0;
    display: inline-block;
    background:#8EC8EF;
    width: 50px;
    height: 50px;
    text-align: center;
    position: relative;
    border-radius: 10px;
}


.pager .pagination li a{
    vertical-align: middle;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display:table;
    color: #fff;
    text-decoration: none;
}

.pager .pagination li a span{
    display:table-cell;
    vertical-align:middle;
}

.pager .pagination li a:hover,
.pager .pagination li a.active{
    color: #696969;
    background: #E3F2FB;
    border-radius: 10px;
}

@media only screen and (max-width: 767px){
    .pager .pagination li{
        display: none;
    }

    .pager .pagination li.pre,
    .pager .pagination li.next{
        display: inline-block;
        width: 40%;
        height: 50px;
        text-align: center;
    }

    .pager .pagination li.pre a,
    .pager .pagination li.next a{
        width: 100%;
        text-align: center;
    }

    .pager .pagination li.pre span::after{
        content: "　前の10件へ";
    }

    .pager .pagination li.next span::before{
        content: "次の10件へ　";
    }

}

/*フッター
-------------------------------------*/
footer {
    background-color: #E3F2FB;
    padding: 5rem 0;
    font-size: 14px;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    color: #696969;
}
footer h5 {
    border-bottom: 1px solid;
    border-color: #c0c0c0;
    font-size: 18px;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
}
footer img {
    width: 300px;
    height: 82px;
}
/*コピーライト
-------------------------------------*/

.copy {
    padding: 28px 0;
    background: #8EC8EF;
    text-align: center;
    color: #696969;
}
.copy small {
    line-height: 1;
    font-weight: bold;
    letter-spacing: 0.2em;
}
/*トップへ戻る
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: #696969;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: #64A8D9;
}