/*----------------------works----------------------*/
.section_title {
    color: #fff;
    width: auto;
    padding: 5px 20px;
    height: 50px;
    background-color: #006666;
}

/*slide_bar*/
.slidebar_bg {
    background-image: url("../images/bg.jpg");
    background-size: 100%;
}

.slide_bar {
    position: relative;
    overflow: hidden;
    height: 76px;
}

@media screen and (min-width:501px) and (max-width:779px) {
    .slide_bar {
        height: 110px;
    }
}

@media screen and (max-width: 500px) {
    .slide_bar {
        height: 135px;
    }
}

.slide_bar img {
    width: auto;
    height: 100%;
}

.fade__inner {
    position: absolute;
    /*ここ二か所のwidth、heightがないとめくれない*/
    width: 100%;
    height: 100%;
    /*ここまで*/
    left: 0;
    top: 0;
    background-color: #efe3e0;
}

/*slide_bar内---fadeInLeft*/
.fadeInLeft {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.fadeInLeft.on {
    -webkit-transform: translate(-100%, 0);
    -ms-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    left: 0;
}

/*slide_barここまで*/

/*gallery共通*/
/*サムネイル側*/

h2#gallery_title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #006666;
    margin: 1.5em 0 0 2em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    padding: 3vh 2.5vw 0;
}

.gallery img {
    width: 100%;
    height: auto;
}

.nomal-pic-link {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    padding: 3vh 2.5vw 0;
}

.nomal-pic-link img {
    width: 100%;
    height: auto;
}

.item {
    margin: 1.5vh 1vw;
    /*高さはgalleryでなくこちらにつけないど、firefoxで溢れる*/
}

/*
.item img {
    filter: drop-shadow(5px 5px 5px #aaa)
}
*/

/*サムネイル側ここまで*/
/*lightbox側*/

.modal-layout-h,
.modal-layout-v {
    position: relative;
    padding: 40px;
    background: #fff;
    margin: 0 auto;
}

.modal-layout-list-h,
.modal-layout-list-v,
.modal-layout-list-hw {
    position: relative;
    padding: 30px 40px 7px;
    background: #fff;
    margin: 0 auto;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1rem;
}

.modal-layout-h {
    width: 600px !important;
}

.modal-layout-v {
    width: 500px !important;
}

.modal-layout-list-h {
    width: 600px !important;
}

.modal-layout-list-v {
    width: 400px !important;
}

.modal-layout-list-hw {
    width: 700px !important;
}

.modal-layout-h img,
.modal-layout-v img,
.modal-layout-list-h img,
.modal-layout-list-v img,
.modal-layout-list-hw img {
    width: 100%;
    border: 1px solid #99cccc;
}

.explain {
    color: #006666
}

/*
.gallery .modal {
    display: block;
}
*/

/*モーダル画像切り替え部分*/
.sumb ul {
    display: flex;
    justify-content: center;
}

.sumb li {
    list-style: none;
    width: 10vw;
    padding: 1vw;
}

.sumb li a:hover {
    cursor: pointer;
    opacity: 0.6;
    transition-duration: 0.3s;
}


/*モーダル画像切り替え部分ここまで*/
/*lightbox側ここまで*/
/*gallery共通ここまで*/

/*web_animation*/
.web_animation {
    position: relative;
    width: auto;
    height: 130px;
}

.bird img {
    max-height: 100px;
    width: auto;
    position: absolute;
    right: 7vw;
    top: 30px;
    animation: pyonpyon 3s 8 ease;
}

@keyframes pyonpyon {
    0% {
        transform: translate(0, 0);
    }

    5% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(0, -10px);
    }

    25% {
        transform: translate(0, 0);
    }

    30% {
        transform: translate(0, -15px);
    }

    50% {
        transform: translate(0, 0);
    }

    65% {
        transform: scale(1.0, 1.03) translate(2%, -2%) skew(-3deg, 0deg);
    }

    100% {
        transform: translate(0, 0);
    }

}

/*web_animationここまで*/
/*gd_animation*/
.gd_animation {
    position: relative;
    width: auto;
    height: 150px;
}

.gd_animation img {
    position: absolute;
    left: 10vw;
    bottom: 0;
    max-height: 130px;
    width: auto;
}

.mouse.is-active {
    position: absolute;
    bottom: 0;
    animation: mouse 3s 1;
}

@keyframes mouse {
    0% {
        transform: translateX(0px);
    }

    30% {
        transform: translate(150px);
    }

    55% {
        transform: translate(300px);
    }

    55% {
        transform: translate(500px);
    }

    100% {
        transform: translateX(100px);
    }
}

/*gd_animationここまで*/
/*illust_animation*/
.illust_animation {
    position: relative;
    width: auto;
    height: 130px;
}

.illust_animation img {
    max-height: 90px;
    width: auto;
    position: absolute;
    left: 7vw;
    bottom: 2vh;
}

/*gd_animationここまで*/
/*----------------------works終わり----------------------*/

/*----------------------form----------------------*/

.contactform {
    width: 700px;
    margin: 0 auto;
    padding: 60px 0;
}

.form_table {
    font-size: 0.9em;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-collapse: collapse;
}

.element,
.contents {
    padding: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
}

.element {
    text-align: left;
    width: 30%;
    background-color: #eee;
}

.contents {
    width: 70%;
}

.frame {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: 400px;
}

::placeholder {
    color: #cfcfcf;
}

.label_Required {
    border-radius: 3px;
    margin-right: 5px;
    padding: 5px;
    background: #CC0033;
    color: #fff;
    font-size: 0.8em;
}

.radiobutton_menu {
    margin-left: 10px;
}

.radiobutton_text {
    display: inline-block;
    margin-left: 5px;
}

.Pull-down {
    text-align: center;
    width: 400px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.checkbox_menu {
    display: block;
    padding-top: 5px;
}

.textbox_shape {
    width: 100%;
    padding: 10px;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.submit_button {
    border-radius: 5px;
    font-size: 13pt;
    display: block;
    margin: 0 auto;
    padding: 10px 100px;
    /* 余白       */
    background: #006666;
    /* 背景色     */
    color: #ffffff;
    /* 文字色     */
    line-height: 1em;
    /* 1行の高さ  */
}

.submit_button:hover {
    color: #fff;
    background: #a6c8b2;
    border: 1px solid #006666;
}

/*form レスポンシブ*/
@media screen and (max-width: 699px) {

    h2#gallery_title {
        margin: 1.5em 0 0 0.5em;
    }

    .contactform {
        width: 350px;
    }

    .form_table {
        font-size: 0.8em;
    }

    table th,
    table td {
        display: block;
    }

    .element,
    .contents {
        width: 100%;
        border-width: 0px 0px 1px;
    }

    .contents {
        text-align: center;
    }

    tr:last-child td {
        border-bottom: 0px;
    }

    .frame {
        max-width: 300px;
    }

    .Pull-down {
        width: 300px;
    }
}