
h5 {
    font-size: 1.15rem; /* デフォルトは1.25rem */
    font-weight: 450;
}

.form-control {
    border: 1px solid darkgray !important;  /* 枠線を黒に */
}

.remarks-textarea {
    width: 100%;
    max-width: 100%; /* 画面幅に合わせる */
    height: 200px;
}

.home-time-container {
    display: grid;
    /* 3つの列を定義: 左右は可変、中央はコンテンツに合わせる */
    grid-template-columns: 1fr auto 1fr;
    /* グリッド全体を中央に配置 (この場合は不要だが、Gridレイアウトの基本) */
    justify-content: center;
    /* コンテナ自体の幅を設定（デモ用、実際には不要な場合も） */
    width: 100%;
    /* テキストが左揃えになるように設定 */
    text-align: left;
}

.home-time-line {
    /* 各行は中央の列に配置 */
    grid-column: 2 / 3;
    /* 必要に応じて、行間のマージンを設定 */
    margin-bottom: 5px;
}


.vertical-menu-container {
    display: grid;
    /* 3つの列を定義: 左右は可変、中央はコンテンツに合わせる */
    grid-template-columns: 1fr auto 1fr;
    /* グリッド全体を中央に配置 (この場合は不要だが、Gridレイアウトの基本) */
    justify-content: center;
    /* コンテナ自体の幅を設定（デモ用、実際には不要な場合も） */
    width: 100%;
    /* テキストが左揃えになるように設定 */
    text-align: left;
}

.vertical-menu-link {
    /* 各行は中央の列に配置 */
    grid-column: 2 / 3;
    /* 必要に応じて、行間のマージンを設定 */
    margin-bottom: 5px;
}


/* index.html用のスタイル */
/* .index-xxxx, .steps-xxxx */
.index-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: nowrap;
}

.index-logo {
    max-width: 330px;
    margin-bottom: 30px;
}

.index-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.index-description {
    background-color: #f2f8f3;
    padding: 10px 2px;
    border-radius: 5px;
    border: 1px solid #d1e6e0;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    color: #555;
    font-size: 1rem;
    margin-bottom: 2rem;
    width: 95%;
    max-width: 350px;
    line-height: 1.8em;
}

.index-links a {
    margin: 0 20px;
    font-size: 1.1rem;
    font-weight: 570;
    text-decoration: none;
    color: #0d6efd;
}

.index-links a:hover {
    text-decoration: underline;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 95%;        /* 好きな割合に調整 */
    max-width: 350px; /* 上限を設定して見やすく */
    margin: 0 auto;    /* 横中央寄せ */
    margin-top: 0.6rem;
    margin-bottom: 0.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    padding: 4px;
    border-left: 2.5px solid #0d6efd;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 6px;
    background-color: #f3eee4;
}

.step-number {
    font-weight: 530;
    color: #0d6efd;
    font-size: 1.0rem;
    margin-right: 8px;
    min-width: 20px;
}

.step-text {
    color: #333;
    font-size: 0.9rem;
    text-align: left;
    display: block;       /* ← ブロック要素にして左寄せを確実に */
    width: 100%;          /* ← 親要素に合わせて左寄せ */
}

/* formのチェックボックスのスタイル */
.form-check-input {
    border: 1px solid #555 !important; /* 枠線を濃く */
    background-color: white; /* 背景色 */
    width: 1.1em; /* 少し大きめに */
    height: 1.1em;
}
.form-check-input:checked {
    background-color: #0d6efd; /* チェック時の背景色（Bootstrap青） */
    border-color: #0d6efd; /* チェック時の枠色 */
}

.alertinfo-item {
    font-weight: 500;
}

a.flower-link {
    text-decoration: none !important; /* 下線消す */
    color: #4075e8;
    font-size: 1.0rem;
    display: block;  /* p の代わりにブロック化 */
    text-align: left;
    margin: 3px;
}

/* ---------------------- --- */
/* 花の解説ダイアログのスタイル */
/* -------------------------- */

/* 背景ぼかしはモーダルが「表示中(show)」の時だけ */
.flower-modal .modal.show {
    backdrop-filter: blur(5px);
}

/* モーダルダイアログ全体 */
.flower-modal .modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* 縦方向センタリング */
}

/* モーダル本体 */
.flower-modal .modal-content {
    background: #eeeeeb;
    border: 2px solid #c2dbe1;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    line-height: 1.8;
}

/* 花の名前 */
.flower-modal .modal-title {
    color: #174087;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* モーダル内テキスト */
.flower-modal .modal-body {
    background: #eeeeeb;
    border: 2px solid #e4e6cf;
}

/* 【お手入れ】 */
.flower-modal .modal h3 {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    color: #4a331c;
    padding-bottom: 0.3rem;
}

/* 箇条書き */
.flower-modal .modal ul {
    margin-top: 0.5rem;
    padding-left: 1.3rem;
}

.flower-modal .modal li {
    margin-bottom: 0.3rem;
}

/* フェードイン */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 俳句のルビ */
ruby rt {
    font-size: 0.7em;
    margin-bottom: 2px; /* ルビと文字の間隔調整 */
    font-weight: normal; /* ルビは boldにしない */
}