

html, body {
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
    background-color: #39CAEF;
}

.wrapper {
    position: relative;
    margin:0;
    padding:0;
}

.floatarea {
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    background-color: #FFF;
    height: 200px;
}
.floatarea .contentbox{
    width:100%;
    height: 200px;
    overflow-x:auto;
    display: flex;
    min-width:1150px;
}

.logoarea {
    width: 300px;
    display: table-cell;
    vertical-align: middle;
}

.logoarea h1 {
    display: block;
    width: 273px;
    height: 35px;
    background-image: url(/img/tindex/logo.png);
    background-size: cover;
    text-indent: -9999px;
    margin:65px auto 0 auto;
}

.buttonbox {
    width: calc(100% - 300px);
}
.buttonbox ul{
    display:flex;
    width:100%;
    height:200px;
    margin:0;
    padding:0;
}
.buttonbox ul li{
    list-style:none;
    width:20%;
    height:200px;
    text-align:center;
    box-sizing:border-box;
    position: relative;
    background-color:#FFFF5B;
}
.buttonbox ul li:nth-child(2){
    background-color:#AAFC74;
}
.buttonbox ul li:nth-child(3){
    background-color:#2DFFAB;
}
.buttonbox ul li:nth-child(4){
    background-color:#31F1FF;
}
.buttonbox ul li:nth-child(5){
    background-color:#1DABE1;
}

.buttonbox ul li a{
    display:flex;
    justify-content:center;
    width:100%;
    height:100%;
    text-align:center;
    align-items: center;
    vertical-align:middle;
    text-decoration:none;
    color:#3994B7;
    font-size:16px;
    font-weight:bold;
    font-family:Zen Old Mincho;
    letter-spacing:2.22px;
    line-height:20px;
    box-sizing:border-box;
    padding-bottom:20px;
}
.buttonbox ul li a span {
    padding-left: 20px;
    padding-right: 20px;
}
.btn-box{
    width:100%;
    height:100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  
  .btn {
    position: relative;
    background-color:#FFFF5B;
    color: #3994B7;
    z-index: 2;
    overflow: hidden;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }

  .buttonbox ul li:nth-child(2) a.btn{
    background-color:#AAFC74;
}
.buttonbox ul li:nth-child(3) a.btn{
    background-color:#2DFFAB;
}
.buttonbox ul li:nth-child(4) a.btn{
    background-color:#31F1FF;
}
.buttonbox ul li:nth-child(5) a.btn{
    background-color:#1DABE1;
}
  
  .btn::after,
  .btn::before {
    position: absolute;
    z-index: -1;
    display: block;
    content: "";
    box-sizing: border-box;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
 
.buttonbox ul li:nth-child(5) a.btn:hover{
    color:#1DABE1;
} 
  .btn:hover::after {
    top: 0;
    left: 0;
    background-color: #FFFFFF;
  }
  
  .btn::after {
    top: 0;
    left: -200px;
    width: 100%;
    height: 100%;
  }
.buttonbox ul li:last-child a.btn{
    color:#FFF;
}
.buttonbox ul li:last-child a.btn span {
    display: flex;
}
.buttonbox ul li:last-child a span:before{
    content:"";
    display:inline-block;
    background-image:url(/img/tindex/icon_tel.png);
    width:23px;
    height:23px;
    background-repeat:no-repeat;
}
.buttonbox ul li:last-child a.btn:hover span:before{
    background-image:url(/img/tindex/icon_tel_b.png);
}
.sptel{
    display: none;
}

.mainarea {
    width: 100%;
    min-width:1150px;
    height:100%;
    overflow-y: auto;
    text-align: center;
    background-image: url(/img/tindex/mainimage.jpg);
    background-position: top center;
}
p{
    margin:0;
    padding:0;
}

.mainvisual {
    width: 100%;
    min-width:1150px;
    text-align: center;
    background-image: url(/img/tindex/mainimage.jpg);
    background-position: top center;
    height: 1910px;
}
@media screen and (min-width:1920px){
    .mainvisual{
        background-size:100% auto;
        height:auto;
        aspect-ratio:1920/1910;
    }
}
.mainvisual p {
    text-indent: -99999px;
}
.contentbox {
    width: 1150px;
    margin: 0 auto;
}

.infobox {
    width: 100%;
    min-width:1150px;
    padding-bottom: 200px;
    background-color: #39CAEF;
    font-size: 20px;
    line-height: 45px;
    font-family: Zen Old Mincho;
    text-align: center;
    color: #FFF;
    text-decoration: underline;
    text-underline-offset: 12px;
    height: 490px;
}

.infobox .contentbox {
    width: 1150px;
    height: 490px;
    background-color: #39CAEF;
    box-sizing: border-box;
    padding-top: 190px;
    background-image: url(/img/tindex/bg_info.png);
    background-repeat: no-repeat;
    background-position: center 103px;
}

@media screen and  (max-width:600px){
    .mainarea {
        min-width: 1px;
        background-image: none;
    }
    
    .contentbox {
        width: 100%;
    }
    
    
    .infobox {
        width: 100%;
        min-width: 1px;
    }
    
    .infobox .contentbox {
        width: 100%;
    }
    
    .mainvisual {
        width: 100%;
        min-width: 1px;
        background-image: url(/img/tindex/mainimage_sp.png);
        background-size: cover;
        height:auto;
        aspect-ratio: 1572/2876;
    }
    
    .infobox {
        width: 100%;
        min-width: 1px;
        text-decoration:none;
        height:auto;
        padding-bottom: 0;
    }
    .infobox .contentbox {
        width: 100%;
        height: auto;
        font-size:13px;
        line-height:17px;
        letter-spacing:1.7px;
        background-image: url(/img/tindex/bg_info_sp.png);
        background-size: 100% auto;
        background-position: top center;
        padding: 0;
    }
    .infobox .contentbox p{
        width:287px;
        margin:0 auto;
        padding-top:26px;
        padding-bottom:200px;
    }
    .infobox .contentbox p span{
        display:block;
    }
    
    .floatarea {
        height: 127px;
        width: 100%;
    }
    .floatarea .contentbox {
        min-width: 1px;
    }
    
    .logoarea {
        width: 50%;
        display: block;
    }
    
    .floatarea .contentbox {
        position: relative;
        display: block;
        min-width: auto;
        height:auto;
        height: 127px;
        overflow: hidden;
    }
    
    .logoarea h1 {
        width: 147px;
        height: 18px;
        margin-top: 90px;
    }
    
    .buttonbox {
        width: 100%;
        position: absolute;
        top: 0;
    }
    
    .buttonbox ul {
        height: 72px;
    }
    
    .buttonbox ul li {
        height: 72px;
        width: 25%;
    }
    
    .buttonbox ul li:last-child {
        display: none;
    }
    
    .buttonbox ul li a {
        font-size: 10px;
        letter-spacing: 0;
        padding: 0;
        line-height: 1em;
    }
    
    .buttonbox ul li a span {
        padding: 0;
    }
    
    .buttonbox ul li a span b{
        display: none;
    }
    
    .sptel {
        display: block;
        position: absolute;
        top: 72px;
        left: 50%;
        width: 50%;
        background-color: #1DABE1;
        height: 56px;
    }
    
    .sptel a {
        display: block;
        width: 100%;
        height: 100%;
        text-align: center;
        text-decoration: none;
        color: #FFFFFF;
        font-size: 10px;
        letter-spacing: 1.53px;
        box-sizing: border-box;
        padding-top: 20px;
    }
    
    .sptel a:before {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        background-image: url(/img/tindex/icon_tel.png);
        background-size: auto 100%;
        background-repeat: no-repeat;
        vertical-align: middle;
    }


}