@charset "utf-8";

html{
    width: 100%;
    height: 100%;
}
body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    text-align: center;   
}
/********** BORDERBOX **********/
    *, *:before, *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .loop_wrap {
        position: relative;
        display: -webkit-flex;
        display: flex;
        width: 100vw;
        max-height: 400px;
        overflow: hidden;
    }
    header{
        margin: 0 auto;
        padding: 0;
        min-width: 1000px;
        max-width: 1200px; 
        height: 50px;
        text-align: left;
    }
    header h1{
        float: right;
        font-size: 1.0em;
        font-weight: 400;
    }
    header a{
        text-decoration: none;
        color: #990000;
        font-size: 2.0em;
        font-weight: bold;
        text-shadow: #000000 1px 1px;
    }
    h1#index{
        position: absolute;
        top: 0;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: 400px;
        text-align: center;
    }
    h1#index img{
        max-width: 100%;
        vertical-align: bottom;
    }
    .loop_wrap img.loop{
        width: auto;
        max-width: fit-content;
        height: 100%;
        will-change: transform;
    }
    .loop_wrap img.loop:first-child {
        -webkit-animation: loop 300s -150s linear infinite;
        animation: loop 300s -150s linear infinite;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
      }
      
      .loop_wrap img.loop + img {
          -webkit-animation: loop2 300s linear infinite;
          animation: loop2 300s linear infinite;
    }
      
    @keyframes loop {
        0% {
          -webkit-transform: translateX(100%);
          -ms-transform: translateX(100%);
          transform: translateX(100%);
        }
        to {
          -webkit-transform: translateX(-100%);
          -ms-transform: translateX(-100%);
          transform: translateX(-100%);
        }
    }
      
    @keyframes loop2 {
        0% {
          -webkit-transform: translateX(0);
          -ms-transform: translateX(0);
          transform: translateX(0);
        }
        to {
          -webkit-transform: translateX(-200%);
          -ms-transform: translateX(-200%);
          transform: translateX(-200%);
        }
    }
      
    @media (min-width: 900px) {
        .loop_wrap {
          max-height: 400px;
        }
        .loop_wrap img {
          width: auto;
          max-width: fit-content;
          height: 100%;
        }
    }
    footer{
        position: fixed;
        margin: 0 auto;
        padding: 5px;
        bottom: 0px;
        width: 100%;
        height: 50px;
        background-color: #009b6d;
        color: #ffffff;     
        font-size: 0.8em;   
    }
    footer a{
        color: #ffffff;
        text-decoration: none;    
    }
    footer br{
        display: none;
    }
    menu{
          margin: 0 auto;
          padding: 0;
          max-width: 1200px;
      }
    menu ul{
          display: inline-block;
          margin: 0 auto 0 auto;
          padding: 0;
          width: 100%;
          list-style-type: none;
    }
    menu ul li{
        float: left;
        margin: 0 auto;
        padding: 0;
        width: calc(100% / 4);
        border: 1px #ffffff solid; 
    }
    menu ul li a{
        display: inline-block;
        margin: 0 auto;
        padding: 3px 0 3px 0;
        width: 100%;
        background-color: #009b6d;
        color: #ffffff;
        text-decoration: none;
    }
    menu ul li a:hover{
        background-color: #005a3f;
        color: #ffffff;
    }
    div#contents{
        margin: 0 auto;
        padding: 0 0 100px 0;
        max-width: 1200px;
    }
    div#contents:after{
        display: block;
        clear: both;
        content: "";
    }
    div#contents h2{
        padding: 10px 0 10px 0;
        background-color: #eef8f5;
        border-top: 1px #005a3f solid;
        border-bottom: 3px #005a3f solid;
    }
    div#contents section#topics{
        margin: 0 auto;
        padding: 0;
    }
    div#contents section#setsumei{
        margin: 0 auto;
        padding: 0;
        width: 65%;
        text-align: left;
    }
    div#contents div#left{
        float: left;
        margin: 0 auto;
        padding: 0 5% 0 5%;
        width: 50%;
        text-align: left;
    }
    div#contents div#left section#aisatu h2{        
        padding: initial;
        background-color: initial;
        border-top: initial;
        border-bottom: initial;
        margin: 0 auto;
        padding: 0;
        border-bottom: 3px #990000 double;
    }
    div#contents div#left h3{
        color: #005a3f;
        text-align: center;
        border: 1px #005a3f solid;
    }
    div#contents div#left section#shintai{
        margin: 0 auto;
        padding: 0;
        height: 800px;
    }
    div#contents div#left section#shintai dl{
        margin: 0 auto;
        padding: 0;
        background-color: #005a3f;
        border-top: 1px #005a3f solid;
        line-height: 180%;
    }
    div#contents div#left section#shintai dl:after{
        display: block;
        clear: both;
        content: "";
    }
    div#contents div#left section#shintai dt{
        float: left;
        clear: both;
        margin: 0 auto;
        padding: 0;       
        width: 30%;; 
        color: #ffffff;
        text-align: center;
        border-top: 1px #ffffff solid;
    }
    div#contents div#left section#shintai dt.top{
        border-top: 1px #005a3f solid;
    }
    div#contents div#left section#shintai dd{
        float: left;
        margin: 0 auto;
        padding: 0;
        width: 70%;; 
        background-color: #ffffff;
        border-bottom: 1px #005a3f solid;
        border-right: 1px #005a3f solid;
    }
    div#contents div#left section#shintai img{
        width: 100%;
    }
    div#contents div#left section#price{
        margin: 0 auto;
        margin-top: 50px;;
        padding: 0;
    }
    div#contents div#left section#price p{
        line-height: 180%;
    }
    div#contents div#left section#price table{
        width: 100%;
        font-size: 0.9em;
    }
    div#contents div#left section#price span{
        font-size: 0.8em;
    }
    div#contents div#left section#access{
        margin: 0 auto;
        padding: 0;
    }
    div#contents div#left section#access dl{
        display: block;
        margin: 0 0 15px 0;
        padding: 0;
        background-color: #005a3f;
        border-right: 1px #005a3f solid;
        border-bottom: 1px #005a3f solid;
    }
    div#contents div#left section#access dl:after{
        display: block;
        clear: both;
        content: "";
    }
    div#contents div#left section#access dl dt{
        clear: both;
        float: left;
        margin: 0 auto;
        padding: 0;
        width: 25%;
        text-align: center;
        color: #ffffff;
        border-top: 1px #ffffff solid;
    }
    div#contents div#left section#access dl dd{
        float: left;
        margin: 0 auto;
        padding: 0 0 0 2%;
        width: 75%;
        background-color: #ffffff;
        border-top: 1px #005a3f solid;
    }
    div#contents div#left section#access iframe{
        border: 1px #005a3f solid;
    }
    div#contents div#right{
        float: right;
        margin: 0 auto;
        padding: 0 5% 0 5%;
        width: 50%;
        text-align: left;
    }
    div#contents div#right:after{
        display: block;
        clear: both;
        content: "";
    }
    div#contents div#right section#soudan h2{
        padding: initial;
        background-color: initial;
        border-top: initial;
        border-bottom: initial;
        margin: 0 auto;
        padding: 0;
        color: #009b6d;
        text-align: center;
        text-shadow: #000000 1px 1px;
    }
    div#contents div#right h3{
        color: #005a3f;
        text-align: center;
        border: 1px #005a3f solid;
    }
    div#contents div#right section#soudan img{
        width: 100%;
    }
    div#contents div#right section#soudan p{
        margin: 0 auto;
        padding: 3%;
        border: 1px #009b6d solid;
    }
    div#contents div#right section#soudan p strong{
        display: block;
        color: #990000;
        text-align: center;
    }
    div#contents div#right section#seikatu{
        margin: 0 auto;
        padding: 0;
        height: 800px;
    }
    div#contents div#right section#seikatu dl{
        margin: 0 auto;
        padding: 0;
        background-color: #005a3f;
        border-top: 1px #005a3f solid;
        line-height: 180%;
    }
    div#contents div#right section#seikatu dl:after{
        display: block;
        clear: both;
        content: "";
    }
    div#contents div#right section#seikatu dl dt{
        float: left;
        clear: both;
        margin: 0 auto;
        padding: 0;       
        width: 30%;; 
        color: #ffffff;
        text-align: center;
        border-top: 1px #ffffff solid;
    }
    div#contents div#right section#seikatu dl dt.top{
        border-top: 1px #005a3f solid;
    }
    div#contents div#right section#seikatu dl dd{
        float: left;
        margin: 0 auto;
        padding: 0;
        width: 70%;; 
        background-color: #ffffff;
        border-bottom: 1px #005a3f solid;
        border-right: 1px #005a3f solid;
    }
    div#contents div#right section#seikatu img{
        width: 100%;
    }
    div#contents div#right section#nagare{
        margin: 0 auto;
        margin-top: 50px;;
        padding: 0;
    }
    div#contents div#right section#nagare p{
        line-height: 180%;
    }
    div#contents div#right section#nagare dl{
        margin: 0;
        padding:0;
    }
    div#contents div#right section#nagare dl dt{
        padding-top: 20px;
        border-bottom: 1px #005a3f solid;
        font-weight: bold;
    }
    div#contents div#right section#nagare dl dd{
        padding-top: 10px;
    }
    div#contents div#right section#mail{
        margin: 0 auto;
        padding: 0;
    }
    div#contents div#right section#mail dl{
        margin: 0 auto;
        padding: 0;
        background-color: #005a3f;
        border-top: 1px #005a3f solid;;
    }
    div#contents div#right section#mail dl:after{
        display: block;
        clear: both;
        content: "";
    }
    div#contents div#right section#mail dl dt{
        float: left;
        clear: both;
        margin: 0 auto;
        padding: 1%;
        width: 25%;
        color: #ffffff;
        border-top: 1px #ffffff solid;
        font-size: 0.9em;
    }
    div#contents div#right section#mail dl dd{
        float: left;
        margin: 0 auto;
        padding: 1%;
        width: 75%;
        background-color: #ffffff;
        border-bottom: 1px #005a3f solid;
        border-right: 1px #005a3f solid;;
    }
    div#contents div#right section#mail dl dd textarea{
        width: 100%;
        height: 100px;
    }
    @media screen and (max-width:480px) {
        header{
            width: 100%;
            min-width: initial;
            max-width: initial; 
            height: 150px;
            text-align: center;
        }
        h1{
            width: 100%;
        }
        menu ul li{
            width: calc(100% / 2);
        }
        div#contents div#left{
            width: 100%;
        }
        div#contents div#right{
            width: 100%;
        }
        footer{
            position: static;
            height: 120px;
        }
        footer br{
            display: block;
        }
        .loop{
            height: 150px;
        }
        .loop_wrap {
            height: 150px;
          }
    }

    .alert{
        color: #ff0000;
    }

      
