@charset "utf-8";
/*
Theme Name:行政システム 未来との交差展
Author:yumex
Author URI:   https://yume-com.co.jp
Template:drop_tcd087
*/


.sp {
    display: none;
    
    @media screen and (max-width:767px){
        display: inherit;
    }
}

.post_content p {
    line-height: 2 !important;
}

#side_menu_button {
    background: #00E5A7;
    background: linear-gradient(0deg, rgba(0, 229, 167, 1) 0%, rgba(15, 44, 96, 1) 100%) !important;
}

#top_concept,
#top_references,
#top_faq,
#top_location,
#top_timetable,
#top_contact,
#top_details,
#top_references {
    h2 {
        font-size: 34px;
        line-height: 36px;
        width: fit-content;
        min-width: 250px;
        margin-inline: auto;
        font-family: 'roboto';
        letter-spacing: .05em;
        white-space: nowrap;
        text-align: center;
        text-transform: uppercase;


        .h2__sub {
            margin-top: .4em;
            border-top: 1px solid #111;
            padding-top: .4em;
            display: block;
            font-size: 16px;
            line-height: 20px;
            font-weight: normal;
            font-family: 'Noto Sans JP';
            letter-spacing: 0;
            text-align: center;
        }

        & + p {
            margin-top: 2rem;
        }
    }
    
}

#top_kv {
    margin-inline: auto;
    height: calc(100vh - 120px);
    position: absolute;
    top: 140px;
    width: 100%;
    box-sizing: border-box;

    @media screen and (max-width:767px){
        top: calc(-100dvh - 94px);
        height: 100dvh;
        position: relative;
        z-index: 300;
        margin-bottom: -100dvh;
    }

    .kv__dl {
        height: 90%;
        width: calc(100% - 100px);
        margin-inline: auto;
        display: grid;
        grid-template-rows: 1fr 2fr 1fr;
        gap: 30px;

        @media screen and (max-width:767px){
            width: 90%;
            height: auto;
            grid-template-rows: 35px 1fr 160px;
            gap: 0px;
            position: absolute;
            bottom: 35px;
            left: 5%;
            text-align: center;
        }

        dd {
            &.dl__date {
                img {
                    width: 45%;
                    height: auto;
                    max-width: 550px;

                    @media screen and (max-width:767px){
                        display: none;
                    }
                }
            }

            &.dl__title {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-wrap: wrap;

                @media screen and (max-width:767px){
                    display: grid;
                    grid-template-rows: 1fr auto;
                    gap: 20px;
                }

                h1 {
                    width: 90%;
                    text-align: center;

                    @media screen and (max-width:767px){
                        width: 100%;
                    }

                    img {
                        width: 100%;
                        max-width: 750px;
                        filter: drop-shadow(0 0 8px rgba(13, 15, 66, 0.2))
                                drop-shadow(0 0 3px rgba(13, 15, 66, 0.4));
                    }
                }

                p {
                    @media screen and (max-width:767px){
                        text-align: center;

                        img {
                            width: 80%;
                            margin-inline: auto;
                        }
                    }
                    
                }
            }

            &.dl__column {
                display: grid;
                grid-template-columns: 1fr 1fr;

                @media screen and (max-width:767px){
                    grid-template-columns: 1fr;
                    gap: 30px;
                }
                
                .column__div {
                    display: flex;
                    align-items: end;

                    &.column__catch {
                        @media screen and (max-width:767px){
                            display: none;
                        }
                    }

                    &.column__reserve {
                        justify-content: end;

                        @media screen and (max-width:767px){
                            justify-content: center;
                        }
                    }

                    img {
                        &.kv__catch {
                            width: 80%;
                            max-width: 700px;

                            @media screen and (max-width:767px){
                                width: 100%;
                            }
                        }
                    }
                    
                }
            }
        }
    }
}

#top_concept {
    p {
        margin-bottom: 0;
    }

    .concept_img {
        border-radius: 37px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 300px;
        margin-top: 4rem;

        img {
            width: 100%;
        }
    }

    @media screen and (max-width:767px){
        padding: 40px 5%;
        box-sizing: border-box;
    }
}

#top_location {
    @media screen and (max-width:767px){
        padding: 80px 0 40px;
        box-sizing: border-box;
    }

    h2 {
        .h2__sub {
            border-top: 1px solid #111;
        }
    }

    .banner_content {
        height: 450px;
    }

    .overlay {
        background-color: rgba(255, 255, 255, .4);
    }
    
    .location__inner {
        margin-top: 2rem;
        width: 95%;
        border-radius: 24px;
        margin-inline: auto;
        box-sizing: border-box;

        .location__info {
            margin-top: 3rem;

            @media screen and (max-width:767px){
                margin-top: 1rem;

                p.inview {
                    text-align: left;

                    br {
                        display: none;
                    }
                }
            }

            img {
                width: 100%;
                max-width: 380px;
            }
            
            & + .expnote {
                font-size: 14px;
                margin-top: .8em;
            }
        }
    }
}

#top_timetable {
    h2 {
        .h2__sub {
            border-top: 1px solid #111;
        }
    }

    .overlay {
        background-color: rgba(255, 255, 255, .4);
    }

    .banner_content {
        height: 980px;

        @media screen and (max-width:767px){
            height: 1040px;
        }
    }
    
    .timetable__inner {
        margin-top: 2rem;
        width: 95%;
        max-width: 880px;
        background-color: rgba(255, 255, 255, .8);
        border-radius: 24px;
        margin-inline: auto;
        padding: 2rem 4rem;
        box-sizing: border-box;

        @media screen and (max-width:767px){
            width: 100%;
            border-radius: 10px;
            padding: 1.5rem;
        }

        h3 {
            &::after,
            &::before {
                content: '―';
                margin: 0 .3em;
            }
        }
    }

    .timetable__dl {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: auto 2.5fr;
        border-top: 1px solid #ccc;

        @media screen and (max-width:767px){
            grid-template-columns: 1fr;
            border-top: 0;
        }
        

        dt {
            padding-right: 2em;
            border-bottom: 1px solid #ccc;
            margin: 0;
            display: flex;
            align-items: center;
            padding: .5em 1.5em .5em 1em;

            @media screen and (max-width:767px){
                padding: .5em .5em 0 0;
                border: 0;
            }

            p {
                text-align: left;
                line-height: 1.6;
                font-weight: 500;

                &.en {
                    font-family: roboto, Arial, Helvetica, sans-serif;
                    font-size: 14px;

                    span {
                        background-color: #0F2C60;
                        color: #fff;
                        border-radius: 15px;
                        padding: .3em .7em;
                    }
                }

                
            }
            
        }

        dd {
            border-bottom: 1px solid #ccc;
            margin: 0;
            padding: .5em 0;

            @media screen and (max-width:767px){
                padding: .5 .5em 1em .5em;
                border: 0;
            }

            p {
                text-align: left;
                line-height: 1.6;
            }
        }
    }

    .post_content .s_table {
        @media screen and (max-width:767px){
            margin-bottom: 1em;
        }
    }

    .p__tableexp {
        font-size: 12px;
    }

    .reserve__table {
        width: 100%;
        border-bottom: 1px solid #ccc;
        margin-top: .5em;

        

        p {
            line-height: 1.6;
        }

        tbody {
            tr {

                &.tr__header {
                    th {
                        background-color: #0F2C60;

                        p {
                            color: #fff;
                        }

                        & + th {
                            border-left: 1px solid rgba(255, 255, 255, .2);
                        }
                    }

                    & + tr {
                        border: 0;
                    }
                }
                
                &:nth-of-type(3),
                &:nth-of-type(5) {
                    th,td {
                        background-color: rgba(255, 255, 255, .7);
                    }
                }
                
                th {
                    border: 0;
                    padding: .3em 1em;
                    vertical-align: middle;
                    background-color: transparent;

                    & + td {
                        border-left: 1px solid #ccc;
                    }

                    p {
                        white-space: nowrap;
                        font-family: roboto;

                        .dayweek {
                            color: #fff;
                            background-color: #2b2929;
                            border-radius: 2px;
                            margin-left: .3em;
                            padding: 4px 5px;
                        }
                    }
                }

                td {
                    border: 0;
                    padding: .7em;
                    box-sizing: border-box;
                    line-height: 1.4;
                    width: 27%;
                    background-color: transparent;

                    div {
                        border-radius: 5px;
                        font-size: 14px;
                        line-height: 1.3;
                        padding: .5em;
                        height: 100%;

                        strong {
                            font-size: 18px;
                            font-weight: 700;
                            font-family: roboto;
                        }

                        &.td__available1 {
                            background-color: #2564ad;
                            color: #fff;
                            padding: .3em;
                            text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
                            white-space: nowrap;
                        }

                        &.td__available2 {
                            background-color: #429ba8;
                            color: #fff;
                            padding: .3em;
                            text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
                            white-space: nowrap;
                        }

                        &.td__noreserve {
                            background-color: #ddd;
                            color: #2B2929;
                            white-space: nowrap;

                            @media screen and (max-width:767px){
                                font-size: 11px;
                            }
                        }
                    }

                    
                }
            }
        }
    }
}

#top_details {

    h3 {
        margin-top: 4em;

        & + .details__dl {
            margin-top: 1em;
        }
    }

    .details__dl {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: auto 2.5fr;
        border-top: 1px solid #ccc;

        @media screen and (max-width:767px){
            grid-template-columns: 1fr;
        }

        dt {
            padding-right: 2em;
            border-bottom: 1px solid #ccc;
            margin: 0;
            display: flex;
            align-items: center;
            padding: .5rem 2em .5em 0;

            @media screen and (max-width:767px){
                background-color: #efefef;
                padding: .5rem 1em .5em 1em;
                border-bottom: 0;
            }

            p {
                text-align: left;
                line-height: 1.6;
                font-weight: 500;
            }
            
        }

        dd {
            border-bottom: 1px solid #ccc;
            margin: 0;
            padding: .5rem 0;

            @media screen and (max-width:767px){
                padding: .5rem 1em .5em 1em;
            }

            p {
                text-align: left;
                line-height: 1.6;

                &::before {
                    content: '：';

                    @media screen and (max-width:767px){
                        content: '';
                    }
                }
            }
        }
    }

    a {
        &:link,
        &:visited {
            color: #2564ad;
        }

        &:hover {
            color: #00e5a7;
        }
    }
}

#top_references__box {

    &#top_references__box {
        height: 420px;

        @media screen and (max-width:767px){
            height: auto;
        }
    }

    .headline {
        background-color: rgba(255, 255, 255, .8);
        display: block;
        width: 100%;
        font-size: 20px;
        margin-top: 2em;
        height: 40px;
        line-height: 38px !important;
        font-weight: 700;

        @media screen and (max-width:767px){
            font-size: 18px;
            margin-top: 1.5em;
        }

        &.txt__documents {
            color: #2777BC;
        }

        &.txt__gallery {
            color: #FF9E41;
        }

        &.txt__madoguchi {
            color: #22AF09;
        }
    }

    a {
        transition: all .8s ease-out;

        &:hover {
            .references__icon {
                opacity: .5;
                transition: all .3s ease-out;
            }

            p {
                color: #ffe100;
                transition: all .3s ease-out;
            }
        }

        .references__icon {
            text-align: center;

            img {
                width: 70%;
                max-width: 130px;

                @media screen and (max-width:767px){
                    width: 50%;
                    max-width: 100px;
                }
            }

            & + p {
                margin-top: 0;

                @media screen and (max-width:767px){
                    margin-top: .5em;
                }
            }
        }

        p {
            text-align: center;
            color: #fff;
            font-size: 20px;
            line-height: 1.5;
            transition: all .8s ease-out;

            .sub__txt {
                font-size: 15px;
            }
        }
    }

    &.box_content {
        .content {
            @media screen and (max-width:767px){
                height: 320px !important;
            }
        }

        .content_inner {
            top: calc(50% + 20px);
        }
    }
}

#header {
    height: 110px;
    width: 100%;
}

#header_logo {
    left: 50px;

    img {
        width: 135px;
        height: auto;

        @media screen and (max-width:767px){
            width: 100px;
        }
    }
}

body.home #header_news_ticker {
    margin: 0 0 0 auto;
    height: 110px;
    line-height: 110px;

    .item {
        a {
            color: #2B2929;
            font-size: 16px;
            font-weight: 700;
            text-align: right;
            padding-right: 1.5em;
            pointer-events: none;
        }
    }

    .date {
        font-weight: 700;
        color: #2B2929;
        font-size: 16px;
    }
}

#news_ticker_bottom a {
    pointer-events: none;
}

.reserve__btn {
    width: 90%;
    max-width: 350px;

    a {
        display: block;
        color: #fff;
        font-size: 25px;
        border-radius: 40px;
        padding: .3em 1em;
        background: #D9C000;
        background: linear-gradient(-90deg, #d9c000 0%, #e58400 100%);
        text-align: center;
        transform: translateY(.5em);

        @media screen and (max-width:767px){ 
            font-size: 18px;
        }

        &:link,
        &:visited {
            color: #fff;
            filter: brightness(100%);
            transition: all .8s ease-out;
        }

        &:hover {
            color: #fff !important;
            filter: brightness(120%);
            transition: all .3s ease-out;
            box-shadow: 0 0 3px rgba(255, 187, 0, 0.9);
        }
    }

    p {
        line-height: 1.4 !important;
        margin-bottom: 0;

        &.p__expnote {
            color: #fff;
            padding-left: 1em;
            text-indent: -1em;
        }
    }

    &.common__btn {
        margin-inline: auto;
        max-width: 320px;

        a {
            padding: .6em 1em;
            box-sizing: border-box;
        }

        p {
            &.p__expnote {
                color: #2B2929;
            }
        }
    }
}

footer {
    background-color: red;


    &#footer {
        display: none;
    }
}

#common_footer {
    background-image: url('./images/footer-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 170px 0 50px;

    @media screen and (max-width:767px){
        padding: 95px 0 30px;
    }

    .footer__column {
        width: 90%;
        margin-inline: auto;
        display: grid;
        grid-template-columns: 2.5fr 1fr;
        gap: 50px;

        @media screen and (max-width:767px){
            grid-template-columns: 1fr;
        }

        .footer__column__logo {
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 90%;
                max-width: 450px;

                @media screen and (max-width:767px){
                    width: 70%;
                }
            }
        }

        .footer__column__menu {
            @media screen and (max-width:767px){
                display: none;
            }

            .footer_menulist {
                border: 0;
                margin: 0;

                li {
                    list-style-type: none;
                    line-height: 2.2;

                    &.footer_menu__reserve {
                        margin-top: 2rem;
                    }
                    
                    a {
                        display: block;
                        font-size: 22px;
                        font-weight: 700;
                    }
                }
            }
        }
    }

    .footer__copyright {
        padding-top: 50px;

        @media screen and (max-width:767px){
            padding-top: 25px;
        }

        .copyright__logo {
            width: 40%;
            max-width: 180px;
            margin-inline: auto;

            @media screen and (max-width:767px){
                max-width: 110px;
            } 

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

            & + p {
                margin-top: 2rem;
            }
        }

        p {
            text-align: center;
            font-family: 'roboto',Arial, Helvetica, sans-serif;
        }
    }
}

p {
    &.sp__left {
        @media screen and (max-width:767px){
            text-align: left;

            br {
                display: none;
            }
        }
    }
}


/* ヘッダーロゴ、サイドメニューのロゴからのリンクを非アクティブに 通常はサイトトップページにリンクされます */
#header_logo,
#side_menu_logo {
    .logo {
        a {
            pointer-events: none;
        }
    }
}