* {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #374151;
    padding: 0;
}
h2 {
        border-bottom: 3px solid #374151;
        width: 100%;
        font-size: 28px;
        margin: 0 auto;
        text-align: center;
        line-height: 1;
        margin-bottom: 5%;
        padding: 1rem;
        box-sizing: border-box;
}
/* Header */
header .mainmenu {
    display: flex;
    border-bottom: 1px solid #d4d4d4;
    background: #dedede;
    padding: 1% 1%;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
header .mainmenu .travibes_logo img {
    margin: 0;
    width: 150px;
    /* margin-left: auto; */
}
.mainmenu_nav.pc_menu {
    flex-shrink: 0;
    width: fit-content;
}
header .mainmenu ul.mainmenu_nav_list  {
    list-style: none;
    cursor: pointer;
}
header .mainmenu .mainmenu_nav_list li,a {
    display: inline;
    text-decoration: none;
    color: #374151;
    padding: 3px;
    font-weight: bold;
    justify-content: flex-end;
    text-align: center;
}
header .mainmenu_nav .mainmenu_nav_list li:hover,.mainmenu_nav_list a:hover {
    background-color: #374151;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    /* opacity: .5; */
} 
.sp_menu {
    margin-left: auto;
    cursor: pointer;
}
.sp_menu #open {
    font-size: 32px;
    line-height: 64px;
    cursor: pointer;
}
.sp_menu #open #hide {
    display: none;
}
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 64px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s;
    z-index: 1;
}
.overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.overlay #close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    cursor: pointer;
}
.overlay ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.overlay li {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s;
}
.overlay.show li {
    opacity: 1;
    transform: none;
}
.overlay.show li:nth-child(1){
    transition-delay: .1s;
}
.overlay.show li:nth-child(2){
    transition-delay: .2s;
}
.overlay.show li:nth-child(3){
    transition-delay: .3s;
}
.overlay.show li:nth-child(4){
    transition-delay: .4s;
}
.pc_menu {
    display: none;
}

/* Hero area */

main .hero {
    position: relative;
    margin-bottom: 10%;
}
main .hero .hero_img img{
    width: 100%;
    height: 90%;
    object-fit: cover;
    /* position: absolute; */
}
main .hero .hero_logo img {
    width: 30%;
    padding: 3%;
}
main .hero .hero_text{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    margin-top: 5%;
}
main .hero{
    color: #fff;
    text-shadow:#374151 1px 0 10px;
}
/* .hero_text1 h1 {
    font-size: 32px;
    padding: 3%;
} */
.hero_text1 p {
    font-size: 8px;
    padding: .5%;
    font-weight: bold;
}
.hero_events {
 width: 50%;
 margin: 0 auto;
}
.hero_events p {
    font-size: 12px;
    padding: 2%;
    border-bottom: 1px dotted #fff;
}
.events_date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.events_item {
    padding: 3%;
    border-right:  1px dotted #fff ;
}
.events_item .date {
    font-size: 24px;
    font-weight: bold;
}
.events_item .day {
    font-size: 16px;
}

/* Mission area */

.mission {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    /* flex-start でラインが一緒になった */
    flex-direction: column;
    margin-bottom: 10%;
}
.mission_text {
    /* border: #aaa solid; */
    width: 100%;
    margin: 0 0 28px;
}
/* .mission_text h2{
    border-bottom: 3px solid #374151;
    width: 180px;
    font-size: 28px;
    margin: 0 auto;
    text-align: center;
    line-height: 1;
} */
.mission_text p p:not(:last-child){
    margin-bottom: 1.86em;
}
.mission_text img {
    width: 26%;
    /* padding-left: 75%; */
}
.aboutmission, .mission_img {
    padding: 0 10%;
}
.mission_img img {
    width: 100%;
 }
 /* Features */
 .features {
    margin-bottom: 10%;
}
/* .features h2 {
    color: #374151;
    border-bottom: 3px solid #374151;
    width: 180px;
    font-size: 28px;
    margin: 0 auto;
    text-align: center;
    line-height: 1;
} */
.feature {
    display: flex;
    flex-direction: column;
}
.feature_item {
    margin: 0 auto;
    padding: 5% 10%;
    /* padding-left: 3%; */
    color: #374151;
}
.feature_img {
    text-align: center;
    /* background-color: #37415144; */
    position: relative;
}
.feature_img::before{
    background-color: #374151;
    bottom: -.1%;
    content: "";
    display: block;
    height: 70%;
    /* left: -1%; */
    position: absolute;
    width: 80%;
    z-index: -1;
}
.feature_img span{
    position: absolute;
    color: #eee;
    font-size: 65%;
    /* padding: 0.3%; */
    /* margin: 0.3%; */
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
    left: 0;
    top: 38%;
}
.feature .feature_img img {
    width: 90%;
    margin: 3%;
}
.feature .feature_item h3{
    font-size: 90%;
}
.feature .feature_item p{
    font-size: 90%;
    padding: 0;
    margin: 0;
}
/* Online Events */
.online {
    margin-bottom: 10%;
}
.onlineevents {
    display: flex;
    padding: 0 5%;
}
.onlineevent {
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.onlineevent_img {
    overflow: hidden;
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 0;
}
.onlineevent_img img {
    /* margin: 0 auto; */
    transition: .5s all;
    width: 100%;
}
.onlineevent_img img:hover{
    transform: scale(1.1,1.1);
    cursor: pointer;
}
.onlineevent p {
    padding: 0;
    margin: 0;
    font-size: 13px;
}
.onlineevent p:hover{
    cursor: pointer;
}
/* FAQ */
.faq {
    margin-bottom: 10%;
}
.faq_container {
    padding: 10%;
}
.faq .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.faq .menu li {
    padding: 2%;
    flex: 1;
}
.faq .menu li a {
    text-decoration: none;
    color: #374151;
    width: 100%; 
    padding: 8px 0;
    display: inline-block;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #374151;
} 
.faq .menu li a.active {
    background: #374151;
    color: #fff;
}
.faq .menu li a:not(.active):hover {
    opacity: .5;
    background-color: #dedede;
}
.faq section {
    color: #374151;
}
.faq .content.active {
    border-radius: 4px;
    background: #dedede;
    color: #374151;
    display: block;
    min-height: 150px;
    padding: 10%;
}
.faq .content {
    display: none;
}
.faq .case {
    border-radius: 4px;
    color: #374151;
    background-color: #eee;
    padding: 2%;
    margin-bottom: 2%;
}
.faq .case.show #cross{
    transform: rotate(45deg);
}
.faq .case.show .answer{
    display: block;
}
.faq .question {
    font-size: large;
    /* font-weight: bold; */
    width: 100%;
    padding: 1%;
    display: flex;
}
.faq .question p span{
    justify-content: space-between;
    align-items: center;
}
.faq .question span{
    width: 30px;
    height: 30px;
    padding: 0 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.faq .question span#cross{
    float: right;
    transition: .5s;
    transform-origin: center;
}
.faq .question p{
    margin: 0;
    padding: 0 2%;
    flex: 1;
}
.faq .answer {
    display: none;
    padding: 3%;
}
/* contact */
/* .contactform {
    margin-bottom: 10%;
} */
.contact fieldset{
    border: none;
}
.contact label {
    font-size: 16px;
    font-weight: bold;
} 
div.contactform {
    padding: 10%;
    margin: 0 auto;
}
fieldset.group {
    position: relative;
}
select.request_type, input.blank {
    width: 90%;
    border: 0.1rem solid #dedede;
    padding: 1% 2%;
    border-radius: 6px;
    min-height: 30px;
    font-size: 16px;
}
label.required::after {
    content: " *";
    font-size: 90%;
}
fieldset.contact_note, .editfiles div {
    font-size: 14px;
}
.contact form section{
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 2%;
    margin-bottom: 3%;
}
.contact h3{
    padding: 1%;
    text-align: center;
}
textarea.yourmessage {
    width: 90%;
    border: 0.1rem solid #dedede;
    padding: 1% 2%;
    border-radius: 6px;
    font-size: 16px;
}
input.submit{
    background-color: #374151;
    color: #fff;
    border: none;
    font-size: 16px;
    border-radius: 20px;
    padding: 3%;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10%;
}
input.submit:hover{
    background-color:#fff;
    color:  #374151;
    transition: .8s;
}
/* news letter */
div.contact_newsletter {
    border: 0.1rem solid #374151;
    border-radius: 20px;
    background: #dedede;
    padding: 10%;
}
div.newsletter_container{
    position: relative;
}
div.newsletter_icon {
    position: absolute;
    top: 2rem;
    right: 1rem;
    height: 4rem;
    width: 4rem;
    background-image: url(../pic/icons/newsletter01.png);
    background-repeat: no-repeat;
    transform-origin: center;
    opacity: .1;
}
section.contact_newsletter {
    padding: 2%;
    margin-bottom: 10%;
}
span.newsletter {
    font-size: 24px;
    font-weight: bold;
}
fieldset.newsletter {
    padding: 0 1% ;
}
div.newsletter {
    position: relative;
}
input.newsletter {
    width: 100%;
    border: 0.1rem solid #dedede;
    padding: 1% ;
    border-radius: 20px;
    min-height: 60px;
    max-height: 60px;
    font-size: 16px;
}
input.newsletter_btn {
    position: absolute;
    right: 0.4rem;
    background-color: #374151;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 16px;
    cursor: pointer;
    font-weight: bold;
    cursor: pointer;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 50px;
}
input.newsletter_btn:hover{
    background-color:#fff;
    border: 1px solid #374151;
    color:  #374151;
    transition: .8s;
}
/* Footer */
footer.footer {
    position: relative;
    color: #374151;
    margin-top: 10%;
}
div.footer_copy {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 20px;
    font-weight: bold;
    width: max-content;
    letter-spacing: .3em;
    text-shadow: 1px 2px 3px #fff; 
}
div.footer_img {
    display: block;
    max-width: 100%;
    height: auto;
    /* vertical-align: middle; */
    /* background-color: rgb(166, 115, 115); */
    padding: 0;
    margin: 0 auto;
}
div.footer_img img {
    width: 100%;
}
div.footer_inner {
    position: relative;
}
div.footer_grid{
    text-align: center;
    padding: 3%;
}
div.footer_logo img{
    width: 20%;
}
p.footer_lead {
    padding: 1%;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}
ul.footer_menu {
    list-style: none;
    width: 40%;
    padding: 0;
    margin: 0 auto;
}
li.footer_menuli a {
    text-decoration: none;
    color: #374151;
    font-weight: bold;
    font-size: 8px;
    cursor: pointer;
}
li.footer_menuli a:hover {
    border-bottom: 2px solid #374151;
}
div.footer_sns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 20%;
    padding: 1%;
    margin: 0 auto;
    margin-top: 10%;
}
li.footer_snsli {
    list-style: none;
}
li.footer_snsli img {
    width: 20px;
}
div.footer_bgimg {
    position: absolute;
    top: 20px;
    left: 60%;
}
div.footer_bgimg img {
    /* background-image: url(pic/logo/logo00.png); */
    width: 30%;
    opacity: .3;
}
div.footer_bottom {
    background-color: #eee;
}
p.footer_copyright {
    padding: .5%;
    font-size: 5px;
    text-align: center;
}

@media (min-width: 600px){
    h2{
        font-size: 250%; 
        width: 100%;     
        margin-right: 100%; 
        text-align: left;
    }
    /* menu */
    .pc_menu{
        display: block;
        margin-left: auto;
    }
    .sp_menu {
        display: none;
    }
    header .mainmenu .travibes_logo img {
        width: 200px;
    }
    /* hero */
    main .hero_text1 h1{
        font-size: 40px;
    }
    main .hero_text1 p{
        font-size: 16px;
    }
    .hero_events p {
        font-size: 16px;
    }
    .events_item .date {
        font-size: 32px;
    }
    .events_item .day {
        font-size: 24px;
    }
    /* mission */
    .mission {
        flex-direction: row-reverse;
        padding: 0;
    }
     .mission_text {
        width: 50%;
        margin-right: 2%;
    }
    .mission_img {
        width :40%;
        padding: 0;
    }
    .mission_img img {
        width :100%;
    }
    /* features */
    .feature {
        flex-direction: row;
    }
    .feature_item {
        width: 33%;
        padding: 2%;
        margin: 2%;
    }
    /* Online Event */
    .onlineevent p{
        font-size: 16px;
    }
    /* FAQ */
    .faq_container {
        padding: 0 15%;
    }
    .faq .menu li a {
        width: 100%;
        padding: 5% 0;
        text-align: center;
        align-items: left;
        font-size: 20px;
    } 
    .faq .answer {
        padding: 1%;
    }
    /* contact */
    div.contactform {
        padding: 0 15%;
    }
     /* footer */
     div.footer_copy {
        font-size: 32px;
    }
    ul.footer_menu {
        list-style: none;
         display: flex;
        justify-content: space-between;
        align-items: center; 
    }
    li.footer_menuli a {
        font-size: 12px;
    }
    li.footer_snsli img {
        width: 35px;
    }
    p.footer_copyright {
        font-size: 10px;
    }
}


@media (min-width: 1000px){
    /* hero area */
    main .hero_text1 h1{
        font-size: 64px;
    }
    main .hero_text1 p{
        font-size: 24px;
    }
    .hero_events p {
        font-size: 24px;
    }
    .events_item .date {
        font-size: 48px;
    }
    .events_item .day {
        font-size: 32px;
    }
    /* FAQ */
    .faq_container {
        padding: 0 20%;
    }
    /* contact */
    div.contactform {
        padding: 0 20%;
    }
    /* footer */
    div.footer_copy {
        font-size: 40px;
    }
    ul.footer_menu {
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center; 
    }
    li.footer_menuli a {
        font-size: 14px;
    }
    li.footer_snsli img {
        width: 40px;
    }
    p.footer_copyright {
        font-size: 12px;
    }
}