html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 70px;
    width: 70px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 3px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 15px;
    width: 15px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

.accordion-content {
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

.accordion-btn {
    position: relative;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background-color: #f2f2f2;
    border: none;
    text-align: left;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

/* ホバー時の色 */
.accordion-btn:hover {
    background-color: #e0e0e0;
}

/* 矢印部分：右側に表示 */
.accordion-btn::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg); /* ▼下矢印 */
    transition: transform 0.3s ease;
}
  
  /* 開いたとき（上矢印） */
.accordion-btn.open::after {
    transform: translateY(-50%) rotate(-135deg); /* ▲上矢印 */
}
  
  
  
@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px); /* 少し下から */
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}  
  

.box-custom {
    width: 90%;
}
  