@charset "utf-8";
*{
    margin: 0;
    padding: 0;
}
body{
    min-width: 465px;
    font-family: 'Noto Sans JP', 'Noto Sans JP', sans-serif;
    line-height: 1.7;
}
main{
    min-width: 450px;
    margin: 0 auto;
}
.back_img {
    background-image: url("../img/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color:rgba(250,250,250,0.3);
    background-blend-mode:lighten;
    min-width: 465px;
}
#loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #66CCFF;
    z-index: 10;
    min-width: 465px;
    user-select: none;
}
  
#loading.loadEnd {
    transition: .5s ease-out;
    opacity: 0;
    visibility: hidden;
    
}
.load img{
    animation: loading .5s linear 0s infinite;
}
@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.load p {
    font-family: Clarimo UD PE Condensed Bold Italic Clarimo UD PE Narrow Regular sans-serif;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
html {
    scroll-padding-top: 50px;
}
li{
    text-align: center;
    list-style: none;
}
a{
    color: inherit;
    text-decoration: none;
}
h2{
    text-align: center;
    margin-bottom: 15px;
}
h2 span:after{
    content: "";
    display: block;
    height: 2px;
    width: 300px;
    margin: 0 auto;
    border-radius: 25px;
    background-image: -webkit-linear-gradient(right, #009efd 0%, #2af598 100%);
    background-image: linear-gradient(to right, #009efd 0%, #2af598 100%);
}


/* header */
.wrapper {
    max-width: 1800px;
    margin: 0 auto;
}
.header {
    user-select: none;
    min-width: 465px;
}
.header-top {
    display: flex;
    padding-left: 20px;
    border-top: 4px red solid;
    border-bottom: 4px blue solid;
}
.header-icon {
    width: 110px;
    height: 110px;
}
.zaurusu {
    padding-left: 35px;
    color: blue;
    font-weight: bold;
    font-size: 35px;
    font-family: 'Kosugi Maru', sans-serif;
}
.zaurusu2 {
    padding-left: 80px;
    color: green;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 50px;
    line-height: 100%;
}
.header-nav {
    background-color: #000;
    width: 100%;
}
.header-navlist {
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;
}
.header-navitem {
    margin: 6px 0;
    padding: 0;
    opacity: .7;
    display: inline-block;
}
.header-navitem:hover {
    opacity: 1;
}
.header-navitem:nth-child(3) {
    opacity: 1;
}
.header-navitem:first-child {
    padding-left: 0;
}
.header-navitem a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
}
@media screen and (max-width: 650px) {
    .header-icon {
        width: 90px;
        height: 90px;
    }
    .zaurusu {
        font-size: 28px;
    }
    .zaurusu2 {
        font-size: 38px;
    }
    .header-navitem a {
        font-size: 1.1rem;
    }
}
.header-nav,
.btn2,
.btn2:after,
.btn2:before{
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.btn2{
    display: block;
    line-height: 40px;
    padding: 0 20px;
    margin: 4px;
}
.btn2:after{
    color: #ff0000;
    content: '\00bb';
    display: block;
    float: right;
    opacity: 0;
    overflow: hidden;
    width: 0;
}
.btn2:hover{
    padding-left: 10px;
    padding-right: 15px;
}
.btn2:hover:after{
    opacity: 1;
    width: 15px;
}



/*article*/
.article{
    max-width: 1400px;
    text-align: center;
    padding: 0.5rem 30px;
    margin:  0 auto;
    color: #000;
}
.art-title{
    position: relative;
    display: inline-block;
    padding: 0 55px;
}
.art-title:before,
.art-title:after{
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 1px;
    background-color: #000000;
}
.art-title:before{
    left: 0;
}
.art-title:after{
    right: 0;
}

.article h2{
    margin: 20px;
}
.art-div{
    background-color: white;
    width: 100%;
    margin: 6em auto;
    padding: 0 0 15px 0;
    position: relative;
    z-index: 0;
    box-shadow: 0 0 4px 4px #ccc;
}
.art-div:before{
    background-image: -webkit-linear-gradient(right, #009efd 0%, #2af598 100%);
    background-image: linear-gradient(to right, #009efd 0%, #2af598 100%);
    content: '';
    display: block;
    position: absolute;
    top: -2px;
    width: 100%;
    height: 2px;
    z-index: 1;
}
.art-div:after{
    background-image: -webkit-linear-gradient(right, #009efd 0%, #2af598 100%);
    background-image: linear-gradient(to right, #009efd  0%, #2af598 100%);
    content: '';
    display: block;
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 2px;
    z-index: 1;
}
.yoko{
    max-width: 1200px;
    margin: 0 auto;
}
.yoko-p{
    background-color: #fff;
    margin: 5px 20px;
    text-align: center;
    background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%),
                      linear-gradient(180deg, #ccc 1px, transparent 1px);
    background-size: 8px 100%,
                     100% 2.5em;
    line-height: 2.5em;
    padding: 0 4px 1px 4px;
}
@media screen and (max-width: 1000px){
    .article{
        font-size: 0.9rem;
    }
    .yoko-p{
        background-size: 8px 100%,
                         100% 2.1em;
        line-height: 2.1em;
    }
}
@media screen and (max-width: 650px){
    .article{
        font-size: 0.85rem;
        margin: 50px auto;
    }
    .yoko-p{
        background-size: 8px 100%,
                         100% 1.9em;
        line-height: 1.9em;
        padding: 0 3px 1px 3px;
    }
}



/*SUB-ARTICLE*/
.sub-article{
    margin-top: 4em;
    display: flex;
    justify-content: center;
}
.sub-haikei{
    user-select: none;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 4px 4px #ccc;
    margin: 0 80px;
}
.hover{
  position: relative;
  display: inline-block;
}
.hover::after {
    position: absolute;
    bottom: 3px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-image: -webkit-linear-gradient(right, #009efd 0%, #2af598 100%);
    background-image: linear-gradient(to right, #009efd 0%, #2af598 100%);
    transform: scale(0, 1);
    transition: .3s all;
  }
.sub-article a:hover::after {
    transform: scale(1, 1);
  }
.hover:hover{
    transform: scale(1.3);
}
  @media screen and (max-width: 820px){/*820px以下*/
    .sub-article{
        display: block;
        justify-content: center;
    }
    .sub-haikei{
        margin: 80px 40px;
    }
}


/* footer */
.footer-img{
    user-select: none;
    min-width: 465px;
    width: 100%;
}
.footer-background {
    background-color: #000;
}
.footer-content {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}
.footer-map {
    padding: 50px 0 0 30px;
    user-select:none;
}
.footer-information {
    font-size: 20px;
    margin-left: 50px;
    text-align: center;
}
.footer-information p:nth-child(3) {
    padding-bottom: 30px;
}
.footer-information p:nth-child(4) {
    padding-bottom: 10px;
}
.footer-work-list {
    text-align: left;
}
.footer-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}
.copy-rightparent {
    background-color: #fff;
    text-align: center;
    margin-top: 50px;
}
.copy-right {
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
}
@media screen and (max-width: 975px) {
    .footer-background {
        min-width: 465px;
    }
    .footer-content {
        flex-flow: column;
    }
    .footer-information {
        margin-left: 0;
        margin-top: 40px;
    }
}
@media screen and (max-width: 650px) {
    .header-navitem a {
        font-size: 1.1rem;
    }
    .footer-map iframe {
        padding: 0 30px 0 10px;
        max-width: 400px;
    }
}


/* page-top */
#page-top a{
    display: flex;
    justify-content: center;
    align-items: center;
    background:#9E9E9E;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase; 
    text-decoration: none;
    font-size: 32px;
    transition:all 0.3s;
    transform: rotate(-90deg);
}
@media screen and (max-width: 767px) {
    #page-top a{
        width: 45px;
        height: 45px;
        font-size: 26px;
    }
}

#page-top a:hover{
    background: #777;
}
#page-top {
    position: fixed;
    right: 10px;
    z-index: 2;
    margin-bottom: 10px;
      /*はじめは非表示*/
      opacity: 0;
      transform: translateY(100px);
}
#page-top.UpMove{
    animation: UpAnime 0.3s forwards;
  }
  @keyframes UpAnime{
    from {
      opacity: 0;
      transition-duration: 0.5s;
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
  #page-top.DownMove{
    animation: DownAnime 0.3s forwards;
  }
  @keyframes DownAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 1;
    transform: translateY(100px);
    }
  }