body{
    overflow:visible;
}
section.now-program,
section.etc{
    display: none;
}
nav{
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
    height: 0;
    overflow: hidden;
    transition: ease-in 0.2s;
}
nav.on{
    height: 55px;
    border-bottom: 1px solid #dfdfdf;
}
nav ul{
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    max-width: 1200px;
    margin: 0 auto;
}
nav ul li{
    padding: 1rem 0;
    /* width: calc(100% / 3); */
    width: 100%;
    text-align: center;
    border-right:1px solid #efefef;
}
nav ul li:first-of-type{
    border-left: 1px solid #efefef;
}
nav ul li.on{
    background-color:#70b34a;
    color:#ffffff;
}
section.v-area{
    background: #000000;
    height: 760px;
    padding: 0;
    background: url('/images/about-ods-slide1.jpg') no-repeat center top;
    background-attachment: fixed;
}
section.v-area h1{
    position: absolute;
    display: flex;
    flex-direction: column;
    color:#ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    font-size: 4rem;
    font-weight: 600;
    text-shadow: 0 0 1rem rgba(0,0,0,0.5);
}
section.v-area h1 span{
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 2rem rgba(0,0,0,0.5);
}
section .content{
    max-width: 1200px;
    margin:auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.txt-box h1,
.title-box h1{
    font-size: 2rem;
    font-weight: 600;
}
.txt-box p{
    font-size: 1.25rem;
    margin:1rem 0;
    color:#666666;
}
.content .txt-box a{
    text-decoration: underline;
    color:#70b34a;
    font-weight: 500;
}
section.type2 .img-box{
    width: 100%;
    height: 400px;
    background: url('/images/about-ods-img3.jpg') no-repeat center 25%;
}
section.type2 .txt-box{
    display: flex;
    margin:3rem auto 0;
}
section.type2 .txt-box p{
    margin: 0 0 0 3rem;
}
.title-box{
    width: 100%;
}
.title-box p{
    color:#666666;
    margin-top: 0.5rem;
}

/*history*/
section.history{
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}
section.map{
    border-top: 1px solid #cccccc;
}
ul.history{
    width: 100%;
    margin-top: 2rem;
}
ul.history li {
  position: relative;
  margin-bottom: -1px;
}
ul.history li:nth-of-type(1) {
  animation-delay: 0.5s;
}
ul.history li:nth-of-type(2) {
  animation-delay: 0.75s;
}
ul.history li:nth-of-type(3) {
  animation-delay: 1s;
}
ul.history li:last-of-type {
  padding-bottom: 0;
}
ul.history li i {
  position: absolute;
  transform: translate(-16px, 0);
  right: 0;
  top: 2.5rem;
}
ul.history li i:before, ul.history li i:after {
  content: "";
  position: absolute;
  background-color: #333333;
  width: 2px;
  height: 15px;
}
ul.history li i:before {
  transform: translate(-5px, 0) rotate(45deg);
}
ul.history li i:after {
  transform: translate(5px, 0) rotate(-45deg);
}
ul.history li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 5.8rem;
  z-index: 1;
  opacity: 0;
}
ul.history li input[type=checkbox]:checked ~ .container {
  margin-top: 0;
  max-height: 0;
  /* opacity: 0; */
  display: none;
  transform: translate(0, 50%);
}
ul.history li input[type=checkbox]:checked ~ i:before {
  transform: translate(5px, 0) rotate(45deg);
}
ul.history li input[type=checkbox]:checked ~ i:after {
  transform: translate(-5px, 0) rotate(-45deg);
}
ul.history li h2{
    font-size: 2rem;
    font-weight: 600;
    padding:1.5rem 0;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}
ul.history li .container{
    width: 90%;
    margin-left: 8%;
    display: block;
}
ul.history .box{
    display: flex;
    padding: 1rem 0;
}
ul.history .box:hover{
    background: #f7f7f7;
}
ul.history .box label{
    width: 15%;
    font-weight: 600;
    padding-left: 1rem;
}
ul.history .box .contents{
    color: #666666;
}
ul.history .box a{
    display: inline-block;
    padding: 0.25rem 0.5rem;
    color:#70b34a;
    /* background: #70b34a; */
    border:1px solid #70b34a;
    font-size: 0.7rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    font-weight: bold;
    line-height: 0.9rem
}
ul.history .box .desc{
    font-size: 0.9rem;
    color:#999999;
    line-height: 1.5rem;
}
ul.history .box img{
    margin-bottom: 0.5rem;
}
ul.history hr:first-of-type,
ul.history hr:last-of-type{
    border:0;
}
ul.history hr{
    border: 1px solid #dfdfdf;
    border-bottom: 0;
    margin: 1rem 0;
}
.logo-story .box{
    display: flex;
    margin-top: 3rem;
    width: 100%;
}
.logo-story .img-box{
    width: 100px;
}
.logo-story .img-box img{
    object-fit: contain;
    height: auto;
}
.logo-story .logo-big{
    width: 50%;
    border:1px solid #efefef;
    display: flex;
}

.logo-story .logo-big img{
    height: 244px;
    margin: auto;
    display: block;
}
.logo-story ul{
    width: 45%;
    margin-left: 5%;
    padding: 1rem;
}
.logo-story ul li{
    width: 100%;
    display: flex;
    align-items: center;
    margin:1.5rem 0;
}
.logo-story ul li p{
    font-size: 0.9rem;
    color:#666666;
    margin-left: 2rem;
    width: 100%;
}
section.map .content{
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
}
section.map .map-box{
    width: 100%;
    margin-top: 3rem;
}
section.map .box{
    display: flex;
    margin-bottom: 3rem;
    max-width: 700px;
    width: 100%;
}
section.map .box .img-box{
    width: 4rem;
    height: 4rem;
    margin-right: 2rem;
    border: 2px solid #6eb43f;
    border-radius: 50%;
    padding: 1rem;
}
section.map .box .img-box img{
    object-fit: contain;
}
section.map .box .txt-box{
    width: calc(100% - 6rem);
}
section.map .box .txt-box h1{
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
section.map .box .txt-box li{
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.25rem;
}
section.map .box .txt-box .desc{
    color: #666666;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.map .rough-map-popup {
    padding: 0.5rem 3rem;
    margin: 2rem auto 3rem;
    color: #6eb43f;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: underline;
}
.map .bus-time-popup {
    border: 1px solid #6eb43f;
    color: #6eb43f;
    padding: 0.1rem 0.5rem 0.2rem;
    font-weight: 700;
    font-size: 0.7rem;
    margin-left: 0.25rem;
    border-radius: 1rem;
    vertical-align: middle;
}
.map .popup.roughmap,
.map .popup.bus-time{
    display: none;
}
.map .popup.roughmap.on,
.map .popup.bus-time.on{
    display: flex;
}
.map .popup.roughmap .container {
    margin: auto;
    padding: 2rem;
    background: #ffffff;
    max-width: 760px;
    width: 90%;
    position: relative;
}
.popup .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 2rem;
    height: 2rem;
    border: 1px solid #dddddd;
    border-radius: 50%;
    background-size: 0.5rem;
}
.map .popup.roughmap .container > h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.map .popup.roughmap img {
    width: 100%;
}
.bus-time .container {
    background: #ffffff;
    max-width: 640px;
    width: 90%;
    margin: auto;
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 0;
    text-align: center;
    position: relative;
}
.bus-time .container > h1 {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
}
.bus-time .container [type="radio"] {
    display: none;
}
.bus-time .container label {
    font-size: 0.9rem;
    border: 1px solid #aaaaaa;
    border-right: 0;
    padding: 0.5rem 2rem 0.3rem;
    display: inline-block;
    cursor: pointer;
}
.bus-time .container label:last-of-type {
    border-right: 1px solid #aaaaaa;
}
.bus-time .container [type="radio"]#time1:checked ~ label[for="time1"],
.bus-time .container [type="radio"]#time2:checked ~ label[for="time2"],
.bus-time .container [type="radio"]#time3:checked ~ label[for="time3"] {
    background: #6eb43f;
    color: #ffffff;
}
.bus-time .container .hiddenarea {
    display: none;
}
.bus-time .container [type="radio"]#time1:checked ~ .time1,
.bus-time .container [type="radio"]#time2:checked ~ .time2,
.bus-time .container [type="radio"]#time3:checked ~ .time3 {
    display: block;
}
.bus-time .container .tit {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}
.bus-time .container .tit strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}
.bus-time th {
    background: #efefef;
    font-size: 0.8rem;
    padding: 0.3rem 0 0.2rem;
    color: #999999;
}
.bus-time td {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 1px solid #dfdfdf;
}
.bus-time td.txt_red {
    color: #ea4d4d;
}
.bus-time .container .guide {
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-left: 1rem;
    color: #666666;
    text-align: left;
}
.bus-time .container .guide li {
    list-style: circle;
    padding: 0.15rem 0;
}
.map section.trans .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media (max-width: 640px){
    .wrap-a{
        overflow:visible;
    }
    nav,
    nav.on{
        height: 42px;
    }
    nav{
        /* border-top: 1px solid #efefef; */
    }
    nav ul{
        font-size: 0.9rem;
    }
    nav ul li{
        padding: 0.7rem 0;
    }
    section#about,
    section.type2,
    section.rest{
        padding-bottom: 0;
    }
    section.v-area{
        height: 350px;
        background-size: auto 100%;
        background-attachment: scroll;
    }
    section.v-area h1{
        width: 100%;
        font-size: 2rem;
        font-weight: 600;
    }
    section.v-area h1 span{
        font-size: 1rem;
    }
    section .txt-box{
        padding: 0 2rem;
    }
    section.type2 .txt-box{
        flex-wrap: wrap;
    }
    section.type2 .txt-box p{
        margin:1rem 0;
    }
    .txt-box h1, .title-box h1{
        font-size: 1.5rem;
    }
    .txt-box p{
        font-size: 1rem;
    }
    #about .img-box{
        display: none;
    }
    .rest .img-box,
    .meditation .img-box{
        margin-bottom: 2rem;

    }
    section.type2 .img-box{
        height: 255px;
        background-size: cover;
        background-attachment: scroll;
    }
    section.meditation .content{
        flex-direction: column-reverse;
    }
    section.meditation .content .txt-box{
        width: 100%;
    }

    section .title-box{
        padding:0 2rem;
    }
    .title-box p{
        font-size: 0.8rem;
        color: #999999;
    }
    ul.history{
        padding: 0 2rem;
    }
    ul.history li h2{
        font-size: 1.5rem;
        padding: 1.2rem 0;
    }
    ul.history li input[type=checkbox]{
        height: 4.5rem;
    }
    ul.history li .container{
        width: 100%;
        margin-left: 0;
    }
    ul.history li i{
        top: 1.8rem;
    }

    ul.history .box label{
        width: 30%;
        padding-right: 10px;
        font-size: 0.8rem;
    }
    ul.history .box .contents{
        width: 75%;
        font-size: 0.9rem;
    }
    ul.history .box .desc{
        font-size: 0.8rem;
    }
    ul.history .box img{
        max-width: 100%;
    }
    ul.history .box a{
        margin:0 0 0 0;
    }

    .logo-story .box{
        flex-direction: column;
        padding: 2rem 2rem 0;
        margin-top: 0rem;
    }
    .logo-story .logo-big{
        width: 100%;
        padding:2rem;
        height: 15rem;
    }
    .logo-story .logo-big img{
        width: 60%;
        height: auto;
    }
    .logo-story ul{
        width: 100%;
        margin-left: 0;
        padding: 1rem 0;
    }
    nav ul li:first-of-type{
        border-left: 0;
    }
    nav ul li:last-of-type{
        border-right: 0;
    }
    section.map .map-box{
        margin-top: 2rem;
    }
    section.map .box{
        padding: 0 2rem;
    }
    section.map .box .txt-box{
        padding: 0;
    }
    .map .popup.roughmap .container {
        padding: 2rem 1rem 1rem;
    }
    .bus-time .container {
        padding: 1rem;
        max-height: 90vh;
        width: 95%;
    }
    .bus-time .container label {
        padding: 0.5rem 1rem 0.3rem;
    }
    .bus-time th {
        font-size: 0.6rem;
    }
    .bus-time td {
        padding: 0.8rem 0.2rem;
    }

}
