/* Google FontsからPoppinsフォントをインポート */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* 全体のスタイル */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 上下に要素を配置 */
}

/* コンテンツエリアの下部にフッターのスペースを確保 */
.container {
    background-color: white;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding:50px 20px 100px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    flex-grow: 1;
}

/* 見出しと画像のレイアウト */
h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    position: relative;
}

h1::before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 60px;
    background-image: url('https://bonworld.jp/img/mindshop_icon.png'); /* アイコンを変更 */
    background-size: cover;
    border-radius: 22%;
    margin-right: 15px;
}

/* pタグのスタイルを移動 */
p {
    text-align: center;
    font-size: 90%;
}

/* メニュースタイル */
.menu {
    display: flex;
    gap: 4px; /* 隙間を調整 */
    justify-content: space-between;
    margin-bottom: 20px;
}

.menu-button {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333;
    transition: background-color 0.3s;
    border-radius: 8px;
}

.menu-button.active {
    background-color: #007BFF;
    color: #fff;
}

.menu-button:hover {
    background-color: #0056b3;
    color: #fff;
}

/* アコーディオンのデザイン */
.accordion-item {
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

/* 背景色の交互設定 */
.accordion-item:nth-child(odd) {
    background-color: #f9f9f9;
}

.accordion-item:nth-child(even) {
    background-color: #e9ecef;
}

.accordion-title {
    font-size: 16px;
    cursor: pointer;
    position: relative;
    padding-left: 40px; /* アイコンのスペースを確保 */
}

.accordion-title::before {
    content: '+';
    position: absolute;
    left: 10px;
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #007BFF;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-title::before {
    content: '-';
    background-color: #ff5733; /* 開いたときの背景色を変更 */
}

/* アコーディオンの詳細表示 */
.accordion-content {
    display: none; /* デフォルトで閉じた状態にする */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    display: block; /* 開いたときに表示 */
}

/* 効果名のスタイル */
.effect-name {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0044cc, #001a66);
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

/* 使い方と使用例のスタイル */
.effect-section {
    padding: 12px;
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 8px;
    margin-bottom: 12px;
}
