@charset "utf-8";

@font-face {
    font-family: 'Montserrat', sans-serif;
    src: url("https://ihurah.com/Montserrat-VariableFont_wght.woff2") format("woff2");
    font-display: swap;
}

body {
    font-family: sans-serif;
}

html {
    box-sizing: border-box;
}

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

*,
*:before,
*:after {
    box-sizing: inherit;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}


.header {
    display: block;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    width: 100%;
    /* News.phpに要素を追加する場合はここを90pxに変える */
    height: 60px;
    position: fixed;
    z-index: 100;
    border-bottom: solid 2px #6a6a6a;
}

.header-inner {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 15px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-link{
    display: flex;
}

.header-logo-link img {
    width: 130px;
    height: auto;
}

.header-site-menu{
    display: flex;
}

.site-menu{
    display: flex;
    align-items: center;
}

.site-menu ul {
    display: flex;
}

.site-menu ul li {
    font-family: 'Montserrat', sans-serif;
    margin-left: 10px;
    margin-right: 20px;
    box-shadow: inset 0 0 0 0 #000000;
    color: #000000;
    padding-left: 4px;
    padding-right: 4px;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.site-menu ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.site-menu ul li a::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    background: #001c04;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.site-menu ul li a:hover::after {
    transform: scale(1, 1);
}

.logo {
    font-size: 24px;
}

/* ここから下がハンバーガーメニューに関するCSS */

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

#drawer_input:checked~.drawer_open span {
    position: fixed;
}

/* メニューのデザイン*/
.nav_content {
    width: 100%;
    height: 120%;
    position: fixed;
    top: 0;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
    list-style: none;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.nav_item {
    text-align: center;
    position: relative;
    top: 35%;
    width: 100%;
    line-height: 100px;
}

.nav_item a {
    box-shadow: inset 0 0 0 0 #000000;
    color: #000000;
    padding: 0 .25rem;
    margin: 0 -.25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    font-size: 40px;
}

.nav_item a:hover {
    color: #fff;
    box-shadow: inset 200px 0 0 0 #000000;
    ;
}


/* Presentational styles */
.nav_item a {
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.nav_item {
    place-items: center;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
    left: 0;
    /* メニューを画面に入れる */
}

.footer {
    color: #ffffff;
    padding-top: 40px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    text-align: center;
    background-color: #7f7f7f;
    position: relative;
    top: 70px;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    text-align: left;
    margin: 0 10px 40px 10px;
}

.footer-links-img {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30%;
}

.footer-links-img img {
    width: 100px;
}

.footer-links-sitemap {
    display: flex;
    width: 330px;
    justify-content: space-between;
}

.footer-links-sitemap a {
    font-family: 'Noto Sans JP', sans-serif;
    color: white;
}

.footer-links-sitemap-left {
    margin: 0px 10px;
    width: 130px;
}

.footer-links-sitemap-left a {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: .35s;
}

.footer-links-sitemap-left a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 1.5px;/*下線の太さ*/
    background-color:#ffffff ;/*下線の色*/
    transition: .35s;
}

.footer-links-sitemap-left a:hover::after {
    width: 100%;
}

.footer-links-sitemap-right {
    margin: 0px 10px;
}

.footer-links-sitemap-right a{
    color: white;
    opacity: 0.8;
    font-size: 14px;
    font-weight:bold;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: .35s;
}

.footer-links-sitemap-right a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 1.5px;/*下線の太さ*/
    background-color:#ffffff ;/*下線の色*/
    transition: .35s;
    opacity: 0.8;
}

.footer-links-sitemap-right a:hover::after {
    width: 100%;
}

.footer-links-sitemap div div {
    margin: 13px 0px;
}

.copyright-text {
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-left: 5px;
}

.copyright-smart-phone{
    display: none;
}

@media (max-width: 463px) {
    .header-site-menu {
        display: none;
    }

    .nav {
        display: block;
    }

    .site-menu ul {
        flex-direction: column;
        margin-top: 5px;
        padding-bottom: 5px;
    }

    .site-menu ul li {
        line-height: 30px;
    }

    .header-logo img {
        width: 120px;
        height: auto;
        vertical-align: middle;
    }
}

@media (max-width: 658px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer ol {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 530px){
    .footer{
        padding-top: 30px;
    }

    .footer-links{
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        width: 500px;
        max-width: 90%;
    }

    .footer-links-img{
        padding-left: 7px;
    }

    .footer-links-sitemap{
        justify-content: flex-start;
        width: 100%;
        margin: 0 auto;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .footer-links-sitemap-right{
        margin-left: 10px
    }

    .copyright{
        display: none;
    }

    .copyright-smart-phone{
        display: block;
        padding-bottom: 30px;
    }
}

@media (min-width: 463px) {
    .sns2 {
        display: none;
    }
}

@media (min-width: 463px) {
    .nav {
        display: none;
    }
}