@import url(var.css);

* {
    font-size: 62.5%;
}


html, body {
    width: 100%;
    overflow: auto;
}
  
body {
  overflow-x: hidden;
  font-family: 'Noto Sans JP', sans-serif;
}

main {
  margin-top: 15em;
}

img {
    max-width: 100%;
    height: auto;
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset;
}

.relative{
    position: relative;
}

.a-over{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.a-over:hover{
    opacity: 0.8;
}

.container{
    width: 80%;
    margin: auto;
    max-width: 1000px;
}

.pc-none{
    display: none !important;
}
.sp-none{
    display: block !important;
}
.att {
    display: block;
    font-size: 0.9em;
    text-indent: -1em;
    margin-left: 1em;
    line-height: 1.7em;
}
.att:before {
    content: "※";
    margin-right: 0.2em;
}

@media screen and (max-width:768px){
    .pc-none{
        display: block !important;
    }
    .sp-none{
        display: none !important;
    }
    .container{
        width: 90%;
    }
}
@media screen and (max-width:525px){
    .container {
        width: 100%;
    }
}

/* breadcrumb */
#breadcrumb{
    font-size: var(--nom-fsize);
    margin-top: 2rem;
}
#breadcrumb span{
    font-size: var(--nom-fsize);
    font-weight: bold;
}
#breadcrumb > span{
    margin: 0rem 1rem;
}

/* pagination */
.pagination{
    display: flex;
    margin-bottom: 5rem;
    margin-left: 5rem;
}
.pagination li{
    font-size: var(--nom-fsize);
    margin: 0 1.5rem;
}
.pagination li span{
    font-size: var(--nom-fsize);
    margin: 0 1.5rem;
}
.pagination li a{
    font-size: var(--nom-fsize);
}

/* fixed item */
.fixed-item{
    position: fixed;
    z-index: 100;
    top: 35rem;
    right: 3rem;
}
.fixed-item li{
    width: 6rem;
    height: 6rem;
    margin-bottom: 0.5rem;
}
.fixed-item img{
    width: 6rem;
}
@media screen and (max-width:600px){
  .fixed-item {
    right: 0.2rem;
  }
}

/* header */
header{
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: var(--black);
    color: var(--white);
}
nav{
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem 2%;
    height: 6rem;
}
.logo{
    position: absolute;
    left: 2rem;
}
.logo img{
    width: 12rem;
}
ul.menu-list{
    display: flex;
}
.menu-item{
    position: relative;
    padding: 0 0.3rem;
}
.menu-item a{
    font-size: var(--nav-fsize);
    font-family: 'Noto Sans JP', sans-serif;;
    font-weight: bold;
}
.menu-item a:hover{
    opacity: 0.8;
}

ul.menu-button{
    display: flex;
}
.menu-button-item{
    position: relative;
    font-size: var(--nav-fsize);
    font-weight: bold;
    padding: 1.25rem 2rem;
    border-radius: 0.5rem;
    margin-left: 1rem;
}
.menu-button-item a:hover{
    opacity: 0.8;
}
.b-red{
    background-color: var(--red);
}
.b-yel{
    background-color: var(--yellow);
}

.hamburger-menu{
    display: none;
}

@media screen and (max-width:768px){
    ul.menu-list, ul.menu-button{
        display: none;
    }
    .hamburger-menu{
        display: block;
    }
    .menu-btn {
        position: absolute;
        top: 0px;
        /* top: 3rem; */
        right: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
    }
    .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-content {
        left: 0;
    }
    #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-btn-check {
        display: none;
    }
    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: var(--black);
        opacity: 0.9;
        transition: all 0.5s;/*アニメーション設定*/
    }
    .menu-content ul.hum-menu-list {
        padding: 70px 10px 0;
    }
    .menu-content ul.hum-menu-list li {
        list-style: none;
    }
    .menu-content ul.hum-menu-list li a {
        display: block;
        text-align: center;
        width: 100%;
        font-size: 15px;
        box-sizing: border-box;
        color:var(--white);
        text-decoration: none;
        padding: 2rem;
        position: relative;
    }
    .menu-content ul.hum-btn-list li{
        width: fit-content;
        margin: 2rem auto;
    }
    .menu-content ul.hum-btn-list li a{
        text-align: center;
        padding: 1rem 2rem;
        font-size: var(--nom-fsize);
        display: block;
        width: 25rem;
    }

}

/* footer */
footer#footer{
    background-color: var(--gray);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-list{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: max-content;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--white);
}
.footer-item:not(:last-child){
    border-right: 1px solid var(--white);
}
.footer-item a{
    font-size: var(--nav-fsize);
    color: var(--white);
    padding: 1rem;
}
.copyright{
    font-size: var(--nav-fsize);
    color: var(--white);
    text-align: center;
    padding-top: 1rem;
}
@media screen and (max-width:600px){
    .footer-list {
        flex-direction: column;
    }
    .footer-item{
        margin: 1rem 0;
    }
    .footer-item:not(:last-child) {
        border-right: none;
    }
    .footer-item a{
        font-size: 1.5rem;
    }
}

/* 404 */
.notfound {
    background-color: #efefef;
    margin: auto;
    padding: 10% 0 10rem;
}
.notfound .n-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
    background-color: #fff;
    padding: 6rem 1rem 5rem;
    width: 85%;
}
.notfound .n-content h3 {
    font-size: 3.5rem;
    line-height: 1.3em;
    letter-spacing: 0;
    margin-bottom: 0.5em;
    font-weight: bold;
}
.notfound .n-content p {
    font-size: 1.3rem;
    margin: 3rem auto 1.6rem;
    line-height: 2.2rem;
}
.notfound .n-content img {
    width: 20%;
    min-width: 150px;
}
.notfound .n-content .content a {
    background-color: #fff;
    color: #000;
    padding: 1rem 20%;
    display: inline-block;
    font-size: 1.7rem;
    border: 1px solid #000;
}
.notfound .n-content .content a:hover {
    color: #fff;
    background-color: #000;
    border: 1px solid  #000;
}