/* 全体のスタイル */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fff8;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0px;
}

/* ヘッダー */
header {
    text-align: left;
    margin-bottom: 30px;
    padding: 10px;
    background-color: #768F57;
    color: white;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
}

.entry {
    padding: 10px;
}

/* メイン */
main {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 質問コンテナ */
.question-box {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 5px solid #768F57;
    background-color: #f0f8f0;
    border-radius: 0 8px 8px 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.question-box.visible {
    opacity: 1;
}

.question-number {
    font-weight: bold;
    color: #768F57;
    margin-bottom: 10px;
}

.question-text {
    font-size: 18px;
    margin-bottom: 15px;
}

.question-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #ccc;
}

/* ボタンスタイル */
.options-container {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.option-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 10px;
    background-color: #768F57;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 100px;
}

.option-btn:hover {
    background-color: #8cb15f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.option-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 無効化されたボタンのスタイル */
.option-btn.disabled {
    background-color: #d3d3d3;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
    box-shadow: none;
}

.option-btn.disabled:hover {
    background-color: #e1e1e1;
    transform: none;
    box-shadow: none;
}

/* 選択されたボタンのスタイル */
.option-btn.selected {
    background-color: #768F57;
    color: white;
    font-weight: bold;
    border: 2px solid #768F57;
}

.option-btn.selected.disabled {
    opacity: 1;
    background-color: #f8fff8;
    border: 2px solid #768F57;
    color: #768F57;
}

/* 回答済みの問題のスタイル */
.question-box.answered {
    border-left-color: #939393;
    background-color: #f5f9f5;
}

/* エラーメッセージ */
#error-message {
    margin: 20px 0;
    padding: 15px;
    color: #d32f2f;
    background-color: #ffebee;
    border: 2px solid #d32f2f;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#error-message.visible {
    opacity: 1;
}

.hidden {
    display: none;
}

/* フッター */
footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/**/


h2.cornerTitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #666;
    padding-bottom: 1px;
    border-bottom: 2px solid #768F57;
    padding-left: 40px;
}

.icon01 {
    background-image: url(../images/stm-01.png);
    background-size: 32px 32px;
    background-position: left center;
    background-repeat: no-repeat;
}

.icon02 {
    background-image: url(../images/stm-02.png);
    background-size: 32px 32px;
    background-position: left center;
    background-repeat: no-repeat;
}

.icon03 {
    background-image: url(../images/stm-03.png);
    background-size: 32px 32px;
    background-position: left center;
    background-repeat: no-repeat;
}

.icon04 {
    background-image: url(../images/stm-04.png);
    background-size: 32px 32px;
    background-position: left center;
    background-repeat: no-repeat;
}

h3.miniTitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #666;
    margin-top: 1em;
    margin-left: 1em;
}

.mainText {
    font-size: 16px;
    line-height: 1.75;
    margin: .5em 1em;
    color: #333;
}

.note {
    font-size: 14px !important;
}

.large {
    font-size: 20px !important;
    font-weight: bold !important;
    padding: 20px !important;
    border: solid 1px #768F57;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #fff;
    color: #333 !important;
}

.alert {
    color: #d00 !important;
}

.figSize {
    display: block;
    margin: 0 auto 30px auto;
    width: 90%;
}

.doctorInCharge {
    margin: 0 20px;
    font-size: 16px;
    line-height: 1.75;
}

.doctorInCharge li {
    margin-left: 40px;
}

.attention {
    padding-left: 60px;
    color: #d00 !important;
    background-image: url(../images/stm-06.png);
    background-size: 32px 32px;
    background-position: left center;
    background-repeat: no-repeat;
    margin-left: 60px;
}