﻿
/* accordion.css */
.accordion-panel {
    overflow: hidden;
    max-height: 0px;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    background-color: #EEF6FC; /* 浮かせ感を出す場合は白推奨 */
}

.accordion-inner {
}


    /* 開いたとき */
    .accordion-panel.open {
        padding: 0px 20px; /* 開いたときのみパディングを適用したい場合 */
    }
    

    .trapezoid-float-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: -5px;
}

.trapezoid-float-button {
    background-color: #fff;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    /*background-color: #EEF6FC;*/
    background-color: #006FBC;
    color: white;
}

.trapezoid-float-button.open-state {
    background-color: #EEF6FC;
    color: #333;
}

.trapezoid-float-button:hover {
    background-color: #EEF6FC;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: #333;
}

.accordion-spacer {
    transition: height 0.3s ease;
}

.accordion-fixed {
    position: fixed;
    top: 0;
    padding-left: 15%;
    padding-right: 15%;
    z-index: 1000;
    background: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.accordion-wrapper-fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    overflow-y: auto;         /* 内部スクロール */
    max-height: 100vh;
}