@charset "UTF-8";

/* タブスタイル */
.tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.tab {
    flex: 1 0 auto;
    padding: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #f0f0f0;
    text-align: center;
    border-radius: 5px 5px 0 0;
    margin-right: 2px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* 影を追加 */
    position: relative;
    top: 1px; /* タブを少し浮かせる */
}
.tab:hover {
    background: #e0e0e0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15); /* ホバー時に影を強調 */
}
.tab.active {
    background: #fff;
    border-color: #010167;
    border-bottom: 1px solid #fff; /* 下線を白に変更 */
    margin-bottom: -2px;
    z-index: 2;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2); /* アクティブタブの影を強調 */
    top: 0; /* アクティブタブをさらに浮かせる */
}
.content {
    display: none;
    /*  border: 1px solid #010167;　*/
    /* padding: 20px;　*/
    border-top: none;
}
.content.active {
    display: block;
}
.content-item {
    /*　border: 1px solid #ddd;　*/
    /*　 padding: 10px;*/
    text-align: center;
    /*　margin-bottom: 20px;*/
}


.accordion-container {
  width: 100%;
}

.accordion-item {
  margin-bottom: 1px;
  border: 1px solid #ddd;
}

.accordion-header {
  background-color: #f0f0f0;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-header.active + .accordion-content {
  max-height: 1000px; /* 十分大きな値を設定 */
}

.accordion-content figure {
  margin: 10px 0;
}