@charset "UTF-8";

p {
    line-height: 1.7;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.container ul {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 30px;
}

.container ol {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 30px;
    list-style-type: decimal;
}

.container li {
    line-height: 1.6;
    font-size: 16px;
}

.container ul li {
    list-style-type: disc;
}

.container ol li {
    list-style-type: decimal;
}

.container .h2 {
    text-align: left;
    margin: 20px 0;
    font-size: 1.5rem;
}

#totalCount,
#positiveCount,
#positiveProbability,
#negativeCount,
#negativeProbability {
    text-align: center;
}

.main-title {
    padding-top: 0;
}



.container {
    margin: auto;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: space-around;
}

.button-section {
    text-align: center;
}

.button-section button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 5px;
}

.count-container p,
.button-section p {
    margin: 5px 0;
}

.button-section input[type="text"] {
    margin-bottom: 10px;
    padding: 5px;
    font-size: 14px;
}

.button-section button {
    margin: 0 5px 5px 5px;
}

.edit-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.button-section button {
    margin: 0 5px 5px 5px;
    padding: 10px;
    font-size: 16px;
}

.editable-button {
    display: inline-block;
    padding: 50px 20px;
    margin: 5px;
    font-size: 28px;
    border-radius: 10px;
    cursor: pointer;
    background-color: white;
    width: 140px;
    background-color: #A2D185;
    color: #fff;
    font-weight: bold;
}

.editable-button:active {
    transform: scale(0.95);
    /* ボタンが少し縮小するエフェクト */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    /* 内側に影を追加 */
}

.editable-button[contenteditable="true"] {
    border: 2px dashed blue;
    background-color: #f0f8ff !important;
    color: #222;
}

#positiveButton {
    background-color: #2D6CB5;
}

#negativeButton {
    background-color: #D6483C;
}

.edit-buttons {
    display: flex;
    justify-content: center;
    /* ボタンを中央に配置 */
    gap: 10px;
    margin-bottom: 20px;
}

.edit-buttons button {
    font-size: 16px;
}

/* ボタン名編集 */
.button-name-edit {
    border-radius: 10px;
    padding: 10px 20px;
    background-color: #FFCB95;
    color: #333;
    border: 0;
}

/* ボタン名変更完了 */
.button-name-edit-done {
    border-radius: 10px;
    padding: 10px 20px;
    background-color: #FF6039;
    color: #fff;
    border: 0;
}

/* 1回前に戻るボタン */
#undoButton {
    border-radius: 10px;
    padding: 10px;
    border: 0;
}

/* リセットボタン */
.reset-button-container {
    margin: 20px 0 30px 0;
    text-align: center;
}

.reset-button-container button {
    padding: 10px 40px;
    font-size: 16px;
    border-radius: 10px;
    border: 0;
}

.menubox-frame {
    display: none;
}

@media screen and (max-width:1180px) {

    .header-inner {
        overflow: hidden;
    }

    .logobox-menu {
        width: 50%;
        float: left;
        position: inherit;
    }

    .menubox-frame {
        display: inline;
        width: 50%;
        float: right;
        position: inherit;
    }

    .menubox-frame ul li {
        text-align: right;
    }

    .menubox-frame ul li a {
        line-height: 60px;
        text-decoration: none;
        color: #000000;
        font-size: 14px;
        text-align: right;
        padding: 0 4px;
    }
}

@media screen and (max-width: 992px) {
    .responsive-img {
        width: inherit;
    }
}

@media screen and (max-width: 768px) {
    .site-title {
        width: 180px;
    }

    .tool-box li {
        width: 50%;
        float: left;
        list-style: none;
        text-align: center;
        padding: 8px;
        box-sizing: border-box;
    }
}