* {
    box-sizing: border-box;
    margin: 0;
}
/* ヘッダー */
.header {
    display: flex;
    align-items: center;
    background: #222;
    color: white;
    padding: 10px 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.menu_button {
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}
.main_title {
    font-size: 20px;
    font-weight: bold;
}
.main_title a {
    text-decoration: none;
    color: #fff;
}
/* サイドメニュー */
.side_menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #333;
    color: white;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 2000;

}
.side_menu.open {
    left: 0;
}
.side_menu ul {
    list-style: none;
    padding: 0;
}
.side_menu li {
    padding: 12px 20px;
}
.side_menu a {
    color: white;
    text-decoration: none;
}
.close_button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: white;
}
.icon_flex {
    display: flex;
    align-items: center;
}
.menu_icon {
    display: block;
    width: 25px;
    height: 25px;
    padding: 0;
    background-color: #007bff;
    border-radius: 4px;
    margin-right: 10px;
    object-fit: contain;
}
/* パンくずリスト */
.breadcrumbs {
    padding: 10px 15px;
    font-size: 14px;
    background: #f5f5f5;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 900;
}
.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}
.fa-chevron-right {
    margin: 0 5px;
}
/* ページ内容 */
.content {
    margin: 100px auto 0;
}
/* ホーム全体 */
.home_background {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    background-size: cover;
    background-position: center;
    text-shadow:
        1px 1px 0px #fff, -1px -1px 0px #fff,
        -1px 1px 0px #fff,  1px -1px 0px #fff,
        1px 0px 0px #fff, -1px  0px 0px #fff,
        0px 1px 0px #fff,  0px -1px 0px #fff;
}
.home_container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
}
/* タイトル */
.home_title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}
.home_icon {
    padding-right: 20px;
}
.home_icon img {
    width: 50px;
    border-radius: 50%;
}
/* 説明文 */
.home_description {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
    padding-top: 5px;
}
.home_caution_box {
    margin: 30px 10px;
    position: relative;
    padding: 12px;
    height: 100px;
    background: transparent;
    z-index: 0;
}
.caution_text {
    color: #ef5350;
    font-size: 1.2em;
    font-weight: bold;
}
.caution_text::before{
    font-family: "Font Awesome 5 Free";
    content: "\f071";
    font-size: 1.1em;
    margin-right: 5px;
}
.home_caution_box::after {
    content: '';
    position: absolute;
    top: -10px; bottom: -10px;
    left: -10px; right: -10px;
    background: repeating-linear-gradient(
    45deg,
    #f6a500 0 12px,
    #000 12px 24px
    );
    opacity: 0.9;
    z-index: -2;
}

.home_caution_box::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    background: #fff;
    z-index: -1;
    border-radius: 4px;
}

/* カードボタン */
.card_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}
.note_card {
    min-height: 250px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 7px -7px #007bff;
    border: 2px solid #007bff;
}
.note_card p {
    background-image: linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 95%, #4c9ac0 100%);
    background-size: 8px 100%, 100% 2.5em;
    line-height: 2.5;
    margin: 0;
}
.note_content {
    position: relative;
}
.diamond_wrap {
    position: relative;
    margin: 0 auto;
}
.diamond_frame {
    position: absolute;
    background-color: #007bff;
    transform: rotate(45deg);
    z-index: 1;
    width: 40px;
    height: 40px;
    left: 8px;
    border-radius: 4px;
}
.note_icon {
    position: absolute;
    width: 40px;
    height: 40px;
    margin: auto;
    z-index: 2;
    left: 8px;
}
.note_title {
    padding: 0 0 20px 60px;
    border-bottom: #007bff 2px solid;
}
/* カード全体の基本 */
.card_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.note_card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

/* PC：ホバーでふわっと浮く */
@media (hover: hover) {
    .card_link:hover .note_card {
        transform: translateY(-4px);
        box-shadow: 10px -10px #007bff;
    }
}

/* スマホ：タップでポップに弾む */
@media (hover: none) {
    .card_link:active .note_card {
        animation: popBounce 0.35s cubic-bezier(.22, 1.28, .57, 1);
    }
}

/* ポップでかわいい弾む動き */
@keyframes popBounce {
    0%   { transform: scale(1); }
    35%  { transform: scale(0.88); }  /* ギュッと縮む */
    70%  { transform: scale(1.05); }  /* ぽよんと跳ねる */
    100% { transform: scale(1); }     /* 元に戻る */
}
/* セクション */
.home_section {
    margin-bottom: 40px;
}

.home_section h2 {
    margin-bottom: 10px;
}

/* 優先度タグ */
.roadmap_text {
    position: relative;
    margin: 2em auto;
    padding: 1em 2.5em 1em 1.5em;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
    background-color: #e0efff;
    color: #333333;
}
.roadmap_text::before,
.roadmap_text::after {
    position: absolute;
    content: '';
}
.roadmap_text::before {
    top: -15px;
    right: 10px;
    height: 50px;
    width: 15px;
    border: 3px solid #999;
    border-radius: 10px;
    box-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
    transform: rotate(10deg);
}
.roadmap_text::after {
    top: 0;
    width: 10px;
    right: 20px;
    border: solid 5px #e0efff;
}
/* ベース設定 */
.roadmap_list {
    padding: 0;
    margin: 0;
}
/* 更新履歴 */
.update_list {
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #007bff;
    position: relative;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}
.update_list p {
    background-image: linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 95%, #4c9ac0 100%);
    background-size: 8px 100%, 100% 2.5em;
    line-height: 2.5;
    margin: 0;
}
.roadmap_list li {
    color: #111;
    position: relative;
    background: #f1f8ff;
    line-height: 1.5;
    padding: 0.5em 0.75em;
    margin-bottom: 6px;
    border-left: solid 40px #5c9ee7;
    list-style: none!important;
    border-radius: 4px;
}

.roadmap_list li::before {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    left: -40px;
    top: 0;
    bottom: 0;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.roadmap_list li.roadmap_list_high {
    background: #fff4f4;
    border-left-color: #e53935;
}
.roadmap_list li.roadmap_list_high::before {
    content: '高';
}

.roadmap_list li.roadmap_list_medium {
    background: #fff8e1;
    border-left-color: #f9a825;
}
.roadmap_list li.roadmap_list_medium::before {
    content: '中';
}

.roadmap_list li.roadmap_list_low {
    background: #f1f8e9;
    border-left-color: #43a047;
}
.roadmap_list li.roadmap_list_low::before {
    content: '低';
}

.roadmap_list li:focus-within,
.roadmap_list li:focus {
    outline: 2px solid #5c9ee7;
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    .roadmap_list li.priority-high { background: #3a2525; }
    .roadmap_list li.priority-medium { background: #3a3220; }
    .roadmap_list li.priority-low { background: #263226; }
}

/* フッター */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
}
/* スマホ対応 */
@media (max-width: 600px) {
    .site_title {
        font-size: 18px;
    }
}
