body{
    font-size: 16px;
    line-height: 1.8;
}

header{
    position: fixed;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 9999;
}

.container-inner{
    max-width: 980px;
    width: 90%;
    margin:auto;
}

.menu a{
    display: flex;
    gap: 2px;
    align-items: center;
}

.menu a svg{
    height: 1.2rem;
}

.logomark{
    height: 40px;
}

.logotype{
    height: 30px;
}

a{
    color:#127272;
    font-weight: bold;
}

h1{
    font-size: 1.7rem;
    text-align: center;
    width: 100%;
    letter-spacing: 0.3rem;
    position: relative;
    padding: 1rem 2rem;
}

h1:before{
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 60px;
    margin-left: -30px;
    height: 5px;
    content: '';
    background: #369688;
}

h1 small{
    font-size: 0.9rem;
    font-weight: normal;
    color:#466e68;
    margin-bottom: 20px;
    display: inline-block;
}

h2{
    font-size: 1.4rem;
}

h3{
    font-size: 1.1rem;
}

h3.title{
    position: relative;
    padding-bottom: 5px;
    border-bottom: 3px solid #a0cdc6;
    margin-bottom: 15px;
    color:#247065;
    font-weight: bold;
    display: flex;
    gap:8px;
    align-items: center;
}

h3.title:before{
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 15%;
    height: 3px;
    content: '';
    background: #369688;
}

h4 {
  position: relative;
  padding: 0 65px;
  text-align: center;
  font-size: 1.2rem;
  color:#369688;
  font-weight: bold;
}

h4:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background:#369688;
}

h4 span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}

header{
    border-bottom: 2px solid #359393;
    background-color: white;
}

.mainvisual{
    position: relative;
    margin-bottom: 20px;
    /* border-bottom: 2px solid #127272; */
    margin-top: 70px;
}

.mainvisual .btn{



    border-radius: 20px;
    background-color: orange;
    color: white;
    font-weight: bold;
    padding: 10px 40px;
    position: absolute;
    bottom: 45px;
    left: 50%; 
    margin-left: -250px;
    /* right: 50px; */
    font-size: 1.1rem;
    width: 500px;



}

.mainvisual a{
    display: inline-block;
}

.card{
    border-radius: 10px;
    /* border:1px solid #eee; */
    box-shadow: 0 0 2px 1px #ddd;
    overflow: hidden;
    /* width: 30%; */
    margin-bottom: 15px;
    transition: .5s;
    opacity: 1;
    cursor: pointer;
    background-color: white;
}

.card:hover{
    transform: scale(1.1);
    opacity: 0.5;
}

.card-inner{
    padding: 20px;
    text-align: center;
}

.w30p{
    width: 30%;
}

.card-box{
    max-width: 1000px;
    margin:auto;
}

.news-box{
    max-width: 900px;
    width: 100%;
    margin:auto;
}

.news-box h3{
    border-bottom: 1px solid #127272;
    padding-bottom: 5px;
}

.card-thumbnail{
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center center;
}

.card-thumbnail1 {
    background-image: url(../images/card1a.jpg);
}

.card-thumbnail2 {
    background-image: url(../images/card2a.jpg);
}

.card-thumbnail3 {
    background-image: url(../images/card3a.jpg);
}

.card-thumbnail4 {
    background-image: url(../images/card4a.jpg);
}

.card-thumbnail5 {
    background-image: url(../images/card5a.jpg);
}

.card-thumbnail6 {
    background-image: url(../images/card6a.jpg);
}


.btn{
    border-radius: 10px;
    background-color: orange;
    color: white;
    font-weight: bold;
    padding: 5px 20px;
    font-size: 0.8rem;
    display: inline-block;
}

.flex.btn{
    display: flex;
}



.card-text{
    font-size: 0.75rem;
    text-align: left;
    height: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.card h2{
    font-weight: bold;
    color:#009688;
    line-height: 1.8rem;
    font-size:1.2rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zen-green{
    color:#009688;

}

.book{
    /* padding: 30px; */
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2;
}

.book img{
    height: 200px;
    margin:auto;
    border:1px solid #f5f5f5;
}

footer{
    border-top:1px solid #009688;
    background-color: #009688;
    color:white;
    margin-top: 50px;
}

.footer-box{
    width: 100%;
    max-width: 1000px;
    text-align: left;
    font-size: 0.8rem;
    /* text-decoration: underline; */
    margin:auto;
    margin-bottom: 30px;
    border-left:1px solid #277273;
    border-right:1px solid #277273;

}

footer a{
    color:white;
}

.footer-box li{
    position: relative;
    padding-left: 1.5em;
    line-height: 1.4;
    margin-bottom: 16px;
}


.footer-box li:before{
    content:"-";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;    
}

.footer-box ul+ul{
    border-left:1px solid #277273
}

.footer-box ul{
    padding-left: 15px;
}


.melmaga-box{
    margin:auto;
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    background-color: #f9fff9;
    border:3px solid #369688;
    margin-bottom: 20px;
    /* color:white; */
    padding-left: 5px;
    padding: 20px 40px;

}

.melmaga-box input{
    border-radius: 5px;
    border:1px solid #aaa;
    padding: 5px;
    background-color: white;
}

.btn-blue{
    background-color: #127272;
}

.back-box-line{
    /* border-top:0.5px solid #127272; */
    border: 2px solid rgb(75 150 144 / 10%);
    position: fixed;
    bottom: 50vh;
    right: -95vh;
    width: 2000px;
    /* height: 5px; */
    z-index:-1;
    transform: rotate(-60deg);
    animation: line_anim1 10s infinite;
}

.back-box-line2{
    /* border-top:0.5px solid #127272; */
    border: 2px solid rgb(75 150 144 / 10%);
    position: fixed;
    bottom: 70vh;
    right: -100vh;
    width: 2000px;
    /* height: 5px; */
    z-index:-1;
    transform: rotate(70deg);
    animation: line_anim2 5s infinite;
}

.back-box-line3{
    border: 2px solid rgb(75 150 144 / 10%);
    position: fixed;
    bottom: 70vh;
    left: -100vh;
    width: 2000px;
    z-index:-1;
    transform: rotate(-70deg);
    animation: line_anim3 10s infinite;
}

.pratinum{
    width: 80%;
    max-width: 800px;
    margin:20px auto;
}

@keyframes line_anim1 {
    0%{
    transform: rotate(-60deg);
        
    }
    50%{
    transform: rotate(-55deg);
        
    }
    100%{
    transform: rotate(-60deg);
        
    }
}

@keyframes line_anim2 {
    0%{
    transform: rotate(70deg);
        
    }
    50%{
    transform: rotate(75deg);
        
    }
    100%{
    transform: rotate(70deg);
        
    }
}

@keyframes line_anim3 {
    0%{
    transform: rotate(-70deg);
        
    }
    50%{
    transform: rotate(-65deg);
        
    }
    100%{
    transform: rotate(-70deg);
        
    }
}


.table{
    width: 100%;
    margin:auto;
    border-top: 1px solid #ddd;
}

.table td{
    border-bottom: 1px solid #ddd;
    padding: 15px;
}

.table td:nth-child(1){
    background-color: #e4f1ef;
    width: 200px;
}

.table input,
.table textarea
{
    border-radius: 5px;
    padding: 10px;
    border:1px solid #ccc;
}

.inquirey{
    background-color: #a00;
    padding: 5px;
    font-size: 0.75rem;
    color:white;
    margin-left: 5px;
    border-radius: 5px;
}


.contact-table{
    margin:50px auto;
    max-width: 700px;
    font-size: 0.9rem;
}

.btn.btn-contact{
    background-color: #127272;
    color:white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: normal;
    transition: .5s;
    cursor: pointer;
}

.btn.btn-contact:hover{
    transform: scale(1.1);
    opacity: 0.8;
}

.icon{
    width: 40px;
    height: 40px;
}

.service-thumbnail{
    border:1px solid #eee;
}

.privacy h3{
    border-bottom:2px solid #009688;
    margin-top: 30px;
    padding-bottom: 5px;
    font-weight: bold;
}

.privacy p{
    margin: 10px 0px 30px 0;
}




/*1.フェードインアニメーションの指定*/
.scrollanime {
    opacity: 0;
}

/*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 2s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

/*横スクロールバーを隠す*/
.slide-right {
    transform: translateX(200px);
}

.slide-left {
    transform: translateX(-200px);
}

@keyframes fadeInDown {

    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/*2.上下の動きを指定*/
.updown {
    transform: translateY(-100px);
}

.downup {
    transform: translateY(100px);
}

.header-menu-sm{
    display: none;
    cursor: pointer;
}

.header-menu-sm .humberger{
    display: block;
}

.header-menu-sm .humberger-close{
    display: none;
}

.header-menu-sm.active .humberger{
    display: none;
}

.header-menu-sm.active .humberger-close{
    display: block;
}

.hide-menu{
    position: fixed;
    right: -500px;
    width: 250px;
    background-color: #fff;
    transition: .5s;
    top: 70px;
    z-index: 999;
    border:#349393 1.5px solid;
}

.hide-menu.active{
    right: -1.5px;
}

.hide-menu ul{
    padding: 15px;
}

.hide-menu li a{
    display: flex;
    gap:4px;
    padding: 10px 0;
    background-color: white;
    transition: .5s;
}

.hide-menu li a:hover{
    background-color: #a0cdc6;
}

.mainvisual-lg{
    display: block;
}

.mainvisual-sm{
    display: none;
}

span.br{
    display: block;
}

span.sm-br{
    display: inline;
}

span.red{
    color:#a00;
}

table.table input,
table.table textarea{
    background:white;
}

table.table textarea{
    width: 100%;
}

table.table select{
    border:1px solid #aaa;
}

.address input{
    width: 100%;
}

#pv{
    font-size:0.8rem;
    width: 100%;
}

.pindent{
    display:block;
    width:100%;
    padding-left:55px;
    margin-left:-20px;
}

.ptable{
    padding:0;
    font-size:90%;
    color:#555;
    width: 100%;
}

.ptable tr td:first-child{
    padding: 5px;
    background-color: #eee;
}

@media screen and (max-width:1300px) {

    .mainvisual .btn{
        width: 450px;
        left: 50%;
        margin-left: -225px;
        bottom: -30px;
    }
}

@media screen and (max-width:1028px) {
    .header-menu{
        display: none;
    }
    .header-menu-sm{
        display: block;
    }

    .w30p{
        width: 45%;
    }
}


@media screen and (max-width:800px) {

    .mainvisual .btn{
        width: 80%;
        left: 50%;
        margin-left: -40%;
        bottom: -30px;
        font-size: 0.8rem;
    }
}


@media screen and (max-width:640px) {
    .footer-main-menu div{
        margin-bottom: 15px;
    }

    .pratinum{
        width: 100%;
    }
}

@media screen and (max-width:600px) {

    .mainvisual-lg{
        display: none;
    }

    .mainvisual-sm{
        display: block;
    }

    .w30p{
        width: 95%;
    }

    .card-thumbnail {
        background-position: center 20%;
    }

    span.br{
        display: inline;
    }

    table.table td{
        display: block;
    }

    .table td:nth-child(1){

        width: 100%;
    }

}

@media screen and (max-width:530px) {

    h4{
        padding: 0;
    }

    h4:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background:#fff;
  }

}

@media screen and (max-width:450px) {

    .company-name{
        display: none;
    }

    span.sm-br{
        display: block;
    }
    

}

@media screen and (max-width:800px) {

    .mainvisual .btn{
        width: 80%;
        left: 50%;
        margin-left: -40%;
        bottom: -30px;
        font-size: 0.8rem;
    }
}
