﻿@charset "utf-8";

.ticker-wrap {
    display: flex;
    width: 100%;
    /* background: #60c2d8; */ 
    /* padding: 3px; */
    border-radius: 3px;
    /* box-shadow: 0px 3px 0 rgba(0, 0, 0, 0.15); */
}

.ticker-head {
    width: auto;
    height: 30px;
    /* font-style: italic; */
    background: var(--color-logo);
    font-size: 13px;
    color: #fff; /*見出し文字色*/
    line-height: 30px;
    padding: 0 10px;
}

.ticker {
    width: 100%;
    height: 30px;
    font-size: 12px;
    background: #fff;
    line-height: 30px;
    padding: 0 2px 0 12px;
    overflow: hidden;
    /* border-top-right-radius: 3px; */
    /* border-bottom-right-radius: 3px; */
}

    .ticker ul {
        position: relative;
        list-style: none;
        height: 100%;
        padding: 0;
        margin: 0;
    }

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-right: 0;
    opacity: 0;
}

    .ticker-item a {
        display: inline-block;
        width: auto;
        color: #333;
        white-space: nowrap;
        text-decoration: none;
        transition: transform 5s linear;
    }

.ticker-date {
    font-weight: bold;
}

.ticker-title {
    margin-left: 10px;
}

.ticker-new {
    color: red;
    margin-left: 10px;
    animation: blink 1s ease-in-out infinite alternate;
}

.fadeInDown {
    opacity: 0;
}

    .fadeInDown.run {
        animation: fadeInDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    }

.fadeOutDown {
    opacity: 1;
}

    .fadeOutDown.run {
        animation: fadeOutDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    }

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/*----------------------------------------------------
               お知らせブロック
----------------------------------------------------*/

.datail_inner {
    padding: 30px 5px 0;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .datail_inner {
        max-width: 510px;
    }
}

@media screen and (min-width: 740px) {
    .datail_inner {
        max-width: 670px;
    }
}

@media screen and (min-width: 992px) {
    .datail_inner {
        max-width: 800px;
    }
}

/*----------------------------------------------------
               お知らせブロック（アコーディオン）
----------------------------------------------------*/

.qa-list2 dl {
    position: relative;
    margin: 0;
    padding: 12px 30px 12px 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-icon);
    border-left: 1px solid var(--color-icon);
    border-right: 1px solid var(--color-icon);
    background: var(--color-bg-base4);
    line-height: 1.1em;
    transition: background 0.3s ease;
}

    .qa-list2 dl:hover {
        background: #f4f1e7;
    }

    .qa-list2 dl:first-child {
        border-top: 1px solid var(--color-icon);
    }

    .qa-list2 dl::before {
        position: absolute;
        top: 30px;
        right: 15px;
        display: block;
        width: 7px;
        height: 7px;
        margin: auto;
        content: '';
        transform: rotate(135deg);
        border-top: 2px solid var(--color-icon);
        border-right: 2px solid var(--color-icon);
    }

.qa-list2 .open::before {
    transform: rotate(-45deg);
}

.qa-list2 dl dt {
    position: relative;
    margin: 0;
    padding: 0 0 0 0px;
    font-weight: 600;
    color: var(--color-font-base);
    font-size: 13px;
}


.qa-list2 dl dd {
    position: relative;
    display: none;
    height: auto;
    margin: 15px 0;
    padding: 0 0 0 0px;
}

    .qa-list2 dl dd p {
        margin: 30px 0px 0px 15px;
        font-size: 13px;
        padding: 15px;
        background: var(--color-bg-light);
        border: 1px solid var(--color-border2);
        box-shadow: 0 1px 2px rgba(220,225,232,.5), 0 1px 2px rgba(220,225,232,.5);
        border-radius: 5px;
    }

        .qa-list2 dl dd p:first-child {
            margin-top: 0;
        }

.qa_title_block {
    display: block;
    margin: 0 0 3px;
}

.qa_date_block {
    font-weight: normal;
    font-size: 12px;
    color: var(--color-bg-light);
    background: var(--color-icon);
    padding: 1px 10px;
    display: inline-block;
}

/*EOF*/