@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
.post_content {
  margin: 0em!important;
}
/* Custom Accordion Styles (No JS) */
.custom-accordion-no-js {
    margin: 2em 0;
    border: 1px solid #e0e0e0; /* 枠線 */
    border-radius: 6px; /* 角丸 */
    overflow: hidden; /* 角丸が適用されるように */
    background-color: #ffffff; /* 背景色 */
}

/* チェックボックスは非表示 */
.custom-accordion-checkbox {
    display: none;
}

.custom-accordion-trigger-no-js {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background-color: #f7f7f7; /* ヘッダーの背景色 */
    border: none; /* ここでは不要 */
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    color: #333; /* 文字色 */
    user-select: none; /* テキスト選択を無効に */
}

.custom-accordion-trigger-no-js:hover {
    background-color: #e9e9e9; /* ホバー時の背景色 */
}

/* アイコンのスタイル */
.custom-accordion-icon-no-js {
    display: block;
    width: 10px;
    height: 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.custom-accordion-icon-no-js::before,
.custom-accordion-icon-no-js::after {
    content: '';
    position: absolute;
    background-color: #333; /* アイコンの色 */
}

/* プラス記号の縦線 */
.custom-accordion-icon-no-js::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

/* プラス記号の横線 */
.custom-accordion-icon-no-js::after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* チェックされたらアイコンをマイナスにする */
.custom-accordion-checkbox:checked + .custom-accordion-trigger-no-js .custom-accordion-icon-no-js::before {
    transform: translateX(-50%) scaleY(0); /* 縦線を非表示にする */
}

/* チェックされたらヘッダーの背景色を変更 */
.custom-accordion-checkbox:checked + .custom-accordion-trigger-no-js {
    background-color: #e9e9e9;
}

/* コンテンツのスタイル */
.custom-accordion-content-no-js {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 20px; /* 閉じた状態ではパディングを0に */
    background-color: #ffffff; /* 内容の背景色 */
}

.custom-accordion-content-no-js p {
    margin-bottom: 1em; /* 段落の下マージン */
    line-height: 1.7; /* 行の高さ */
    color: #555; /* 文字色 */
}

/* チェックされたらコンテンツを表示 */
.custom-accordion-checkbox:checked + .custom-accordion-trigger-no-js + .custom-accordion-content-no-js {
    max-height: 1000px; /* 十分な高さ（内容に合わせて調整） */
    padding: 20px; /* 開いた状態のパディング */
    transition: max-height 0.5s ease-in, padding 0.5s ease-in; /* 開くときのアニメーション */
}