@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 診断テストのスタイル
************************************/

/* ボタンデザイン（小さめ） */
.answer-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px; /* ボタンサイズ */
    height: 35px;
    font-size: 16px; /* 数字のサイズ */
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: 2px solid #007bff;
    border-radius: 50%; /* 丸ボタン */
    background-color: white;
    color: #007bff;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    margin: 6px; /* ボタン間の間隔 */
}

/* ボタンを押したときのデザイン */
.answer-btn.selected {
    background-color: #007bff !important;
    color: white !important;
    transform: scale(1.05);
}

/* 質問のデザイン */
.question {
    margin-bottom: 25px;
    padding: 15px;
    background: #fffbe6;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ボタンを横並びに */
.question .answer-btn {
    margin: 6px;
}

/* 質問文のデザイン（H4） - シンプル版 */
h4 {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 0;
    background: none;
    border: none;
}

/************************************
** PC（MacBookなど）のデザイン調整
************************************/
@media screen and (min-width: 1024px) {
    .answer-btn {
        width: 40px; /* PCでは少し大きめ */
        height: 40px;
    }
}

/************************************
** スマホ対応（小さい画面での調整）
************************************/
@media screen and (max-width: 600px) {
    .answer-btn {
        width: 32px; /* スマホではさらに小さく */
        height: 32px;
        font-size: 14px;
    }
}

/************************************
** 診断ボタンのスタイル
************************************/
button {
    font-size: 16px;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* 診断ボタンのホバー */
button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
.stress-result-card {
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.stress-result-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.stress-result-card p {
    font-size: 16px;
    margin: 5px 0;
}

.stress-result-card button {
    background-color: #007bff;
    color: white;
    padding: 8px 12px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.stress-result-card button:hover {
    background-color: #0056b3;
}