@charset "utf-8";

body {
    color: #fff;
    font-family: "Nunito","游ゴシック","YuGothic","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ","Meiryo",sans-serif;
    background-color: #81c7d4;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: #fff;
    text-decoration: none;
}



/*===============================================
　01.breakpoint 769px 〜
===============================================*/
@media print, screen and (min-width: 769px) {
/*ヘッダーメニュー*/
header {
    position: relative;
    max-width: 1140px;
    height: 150px;
    margin: 0 auto;
    padding-bottom: 42px; 
}

header h1 {
    position: absolute;
    bottom: 48px;
    left: 24px;
    line-height: 0;
}

header h1 img {
    width: 138px;
    height: auto;
}

.sp-nav-btn,.sp-nav-menu {
    display: none
}

nav {
    position: absolute;
    bottom: 48px;
    right: 24px;
    line-height: 1;
}

nav li {
    display: inline;
    margin-left: 24px;
    float: none;
    text-align: right;
}

.navhover a{
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding-left: 8px;
}

.navhover a::after {
    position: absolute;
    bottom: -5px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scale(0,1);
    transform-origin: right top;
    transition: transform 0.3s;
}

.navhover a:hover::after {
    transform: scale(1,1);
}


/* トップへ戻るボタン */
#page_top{
    width: 90px;
    height: 90px;
    position: fixed;
    right: 50px;
    bottom: 80px;
    opacity: 1;
}

#page_top a{
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
}

#page_top a::after{
    content: 'PAGE TOP';
    font-size: 13px;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    color: #fff;
}

#page_top .material-icons {
    font-size: 3rem;
}


/*フッター*/
footer {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    margin-top: 160px;
    text-align: center;
    padding: 32px 0;
}

#sns {
    width: 100%;
    height: auto;
    margin: 0 auto 24px auto;
}

#sns li {
    display: inline-block;
    width: 38px;
    height: auto;
    margin: 0 10px;
    background-color: #81c7d4;
    border-radius: 50%;
    border: 2px solid #fff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}

#sns li:hover {
    background-color: rgba(0,0,0,0.5);
}

#sns li img {
    display: block;
}

#copyright{
    margin-bottom: 24px;
}
}




/*===============================================
　02.breakpoint 〜 768x
===============================================*/
@media print, screen and (max-width: 768px) {
/*ヘッダー*/
header {
    display: block;
    width: 100%;
    height: 96px;
    margin-bottom: 48px;
    position: fixed;
    top: 0;
    background-color: #81c7d4;
    z-index: 10;
}

header h1 {
    margin: 16px 0;
    padding-left: 5%;
    text-align: left;
}

header h1 img {
    width: 100px;
    height: auto;
}

.nav {
    display: none;
}


/*メニュー ボタン*/
.sp-nav-btn {
    position: fixed;
    top: 25px;
    right: 5%;
    width: 20%;
    height: 50px;
    line-height: 50px;
    font-size: 100%;
    font-weight: 600;
    text-align: right;
    letter-spacing: 0.1em;
    cursor: pointer;
    z-index: 10;
}

.sp-nav-btn span {
    color: #fff;
}


.sp-nav-btn span:after {
    content: attr(data-txt-menu);
}
    
/* メニュー　開閉用ボタンがクリックされた時のスタイル */
.open .sp-nav-btn span:after {
    content: attr(data-txt-close);
    color: #81c7d4;
}


/* メニュー　モーダルウィンドウのスタイル */
.sp-nav-menu {
    position: fixed;
    display: table;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,1);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    visibility: hidden;
    opacity: 0;
}

.sp-nav-menu ul {
    display: table-cell;
    vertical-align: middle;
}

.sp-nav-menu li {
    width: 100%;
    height: 70px;
    line-height: 80px;
    margin: 0 auto;
    text-align: center;
}

.sp-nav-menu li a {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #81c7d4;
}

.sp-nav-menu li a:hover {
    color: #4b4b4b;
}
    
/* メニュー　開閉用ボタンがクリックされた時のスタイル */
.open .sp-nav-menu {
    cursor: url(../images/cross.svg),auto;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    visibility: visible;
    opacity: 1;
}


/* トップへ戻るボタン */
#page_top{
    width: 90px;
    height: 90px;
    position: fixed;
    right: 5px;
    bottom: 90px;
    opacity: 1;
}

#page_top a{
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
}

#page_top a::after{
    content: 'PAGE TOP';
    font-size: 14px;
    position: absolute;
    top: 40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    color: #fff;
}

#page_top .material-icons {
    font-size: 3rem;
}

/*フッター*/
footer {
    display: block;
    width: 100%;
    margin: 0 auto;
    margin-top: 160px;
    text-align: center;
    padding: 32px 0;
}

#sns {
    width: 100%;
    height: auto;
    margin: 0 auto 24px auto;
}

#sns li {
    display: inline-block;
    width: 42px;
    height: auto;
    margin: 0 5px;
    background-color: #81c7d4;
    border-radius: 50%;
    border: 2px solid #fff;
}

#sns li img {
    display: block;
}

#copyright{
    margin-bottom: 32px;
    font-size: 100%
}
}