/* =========================================
   基本設定 (Reset & Base)
   ========================================= */

* {
    margin: 0;
    padding: 0;
    font-size: 1em;
    box-sizing: border-box;
}


:root {
    --HeaderH: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--HeaderH);
}

body {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: #efefef;
    align-items: center;
}

/* =========================================
   タイポグラフィ (Typography)
   ========================================= */
h1 {
    color: #555;
    font-size: 1.1em;
    line-height: 1;
    opacity: 1;
    margin: 0px;
    padding: 0px;
}

h2 {
    color: #777;
    padding: 0px;
    font-size: 1em;
    line-height: 1;
    opacity: 0.95;
    margin: 10px;
    padding: 0px;
}

h3 {
    color: #555;
    padding: 0px;
    font-size: 0.95em;
    line-height: 1;
    opacity: 0.9;
    margin: 0px;
    padding: 0px;
}

h4 {
    color: #555;
    font-size: 0.9em;
    line-height: 1;
    opacity: 0.85;
    margin: 10px;
    padding: 0px;
}

h5 {
    color: #555;
    font-size: 0.85em;
    line-height: 1;
    opacity: 0.8;
    margin: 10px;
    padding: 5px;
    border: 1px solid #9a9a9a;
    border-radius: 5px;
}

h6 {
    color: #555;
    font-size: 0.8em;
    line-height: 1;
    opacity: 0.75;
    margin: 10px;
    padding: 0px;
}

.h7 {
    color: #555;
    font-size: 0.9em;
    line-height: 1;
    opacity: 0.75;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.h8 {
    color: #555;
    font-size: 0.8em;
    line-height: 1;
    opacity: 0.75;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

p {
    color: #555;
    font-size: 0.8em;
    line-height: 1.2;
    opacity: 0.75;
    margin: 0px;
    padding: 0px;
    margin-bottom: 10px;
    display: inline-block;
}

/* -----------------------------------------
   テキスト装飾クラス
   ----------------------------------------- */
.large-text {
    font-size: 2.3em;
    padding: 0px;
    text-align: center;
    color: #fff;
    opacity: 1;
    line-height: 1.2;
}

.medium-text {
    font-size: 1.3em;
    padding: 0px;
    text-align: center;
    color: #fff;
    opacity: 0.95;
    line-height: 1;
}

.small-text {
    font-size: 1.0em;
    padding: 0px;
    text-align: left;
    color: #fff;
    opacity: 0.9;
    line-height: 1.2;
}

.verysmall-text {
    font-size: 0.7em;
    padding: 0px;
    text-align: left;
    color: #fff;
    opacity: 0.8;
    line-height: 1.2;
}

/* =========================================
   リスト・リンク (Lists & Links)
   ========================================= */
ul {
    list-style: none;
    padding: 0;
}

li a,
li {
    color: #555;
    font-size: 0.8em;
    line-height: 1;
    opacity: 0.75;
    margin: 0px;
    padding: 0px 20px 0px 20px;
    margin-bottom: 0px;
    display: inline-block;
    list-style: none;
}


li:before {
    content: "●";
    content: "✓";
    content: "★";
    content: "・";
    content: "";
    display: inline-block;
    width: 1px;
    height: 6px;
    background-color: #b1b1b1;
    border-radius: 50%;
    margin: 0px 2px 2px 0px;
    padding-right: 5px;
}

a,
a:visited {
    font-size: 100%;
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #555;
    opacity: 0.7;
}

a:hover img {
    color: #555;
    opacity: 0.7;
}

/* -----------------------------------------
   リンクボタン (Link Button)
   ----------------------------------------- */
.link-button,
.link-button:visited,
.link-button:hover,
.link-button:active {
    color: white !important
}

.link-button {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(135deg, #e37f1c, #f5a623);
    color: white;
    text-decoration: none;
    margin-right: 12px;
    border-radius: 8px;
    font-size: 1.0em;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(227, 127, 28, 0.6);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    user-select: none;
}

.link-button:hover {
    background: linear-gradient(135deg, #f5a623, #e37f1c);
    box-shadow: 0 6px 12px rgba(245, 166, 35, 0.8);
    transform: translateY(-3px);
}

.link-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(227, 127, 28, 0.5);
}

/* =========================================
   レイアウト・コンテナ (Layout & Container)
   ========================================= */
.content {
    max-width: 600px;
    min-width: 320px;
    margin-top: calc(var(--HeaderH) - 10px);
    margin-bottom: 10%;
    padding: 3%;
    text-align: center;
    display: block;
    color: #484848;
    font-size: 1em;
    overflow-y: auto;
    flex: 1;
}

.section-box {
    color: #555;
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
    margin-bottom: 20px;
}

.section-box a,
.section-box a:visited {
    color: #555;
    font-size: 0.9em;
    line-height: 1;
}

.information {
    width: 70%;
    text-align: left;
    margin: 0 auto;
    font-size: 1em;
    padding: 1% 0% 1% 0%;
}

.paragraphBox {
    width: 80%;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.paragraphBox:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.paragraphBox h3 {
    font-size: 1.2em;
    color: #222;
    text-align: center;
}

.paragraphBox p {
    margin: 0 0 20px 0;
    font-size: 0.9em;
    color: #555;
}

/* コンテナ幅設定 */
.Container,
.Container2 p {
    max-width: 800px;
}

.Container {
    max-width: 600px;
}

.container {
    max-width: 480px;
}

.containerk {
    max-width: 300px;
}

/* 廃止予定のコンテナ */
.Container2 {
    color: #555;
    font-size: 1em;
    width: 90%;
    margin: 0px 30px auto;
    padding: 10px;
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.Container2 p {
    color: #555;
    font-size: 1em;
    width: 90%;
    margin: 0px 30px auto;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

/* =========================================
   テーブル (Tables)
   ========================================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th,
td {
    font-size: 0.8em;
    opacity: 0.9;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f1f1f1;
}

tr:hover {
    background-color: #f9f9f9;
}

/* =========================================
   ヘッダー・フッター・ナビゲーション (Header, Footer, Nav)
   ========================================= */
/* ヘッダー */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to right, rgb(0, 41, 153), rgba(0, 153, 204, 0.9), rgba(38, 204, 173, 0.7), rgba(102, 221, 255, 0.5));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.9em;
    z-index: 10;
    padding: 10px;
    text-align: center;
}

/* フッター */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to right, rgb(0, 41, 153), rgba(0, 153, 204, 0.9), rgba(38, 204, 173, 0.7), rgba(102, 221, 255, 0.5));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.7em;
    z-index: 10;
    padding: 10px;
    text-align: center;
}

.H-logo {
    position: absolute;
    top: 15%;
    left: 5%;
    z-index: 10;
}

.H-toggle {
    position: absolute;
    top: 15%;
    right: 5%;
    z-index: 20;
}

.H-toggle-Button {
    background-color: rgba(141, 156, 173, 0.41);
    color: white;
    border: 2px solid white;
    /* 元: 1px solid white */
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 1.6em;
    /* 元: 1.4em */
    display: inline-flex;
    align-items: center;
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 0.9em;
}

/* アイコンパーツ */
.icon-bar {
    display: block;
    width: 15px;
    height: 2px;
    background-color: white;
    margin: 3px 0px 0px 0px;
}

.icon-container {
    display: inline-block;
    margin-right: 10px;
}

/* カテゴリーメニュー */
.H-categoryW {
    display: none;
    line-height: 0.9em;
}

.H-categoryW a {
    padding: 3px 5px 3px 5px;
    line-height: 1em;
    text-decoration: none;
    color: white;
    font-size: 0.8em;
    display: inline-block;
}

.H-categoryH {
    position: fixed;
    display: flex;
    flex-direction: row;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: white;
    font-size: 1.2em;
    /* 元: 1.3em */
    background: rgba(88, 103, 155, 0.93);
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 360px;
    /* 元: 80% */
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    line-height: 0.8em;
    align-items: center;
}

.H-categoryH.show {
    display: flex;
    opacity: 1;
    transform: translateY(0) translateX(-50%);
}

.H-categoryH a {
    text-decoration: none;
    padding: 10px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* 元: 0.39 */
    width: 129px;
    /* 元: 50% */
    font-size: 0.8em;
    line-height: 1em;
    /* 元: 1.2 */
    margin: 0px 10px 0px 15px;
}

/* SPランドスケープモード */
@media (min-width: 650px) {
    .H-categoryW {
        width: 60%;
        position: absolute;
        top: 15%;
        left: 20%;
        display: inline;
    }
}




/* アプリナビゲーション */
.app-navigation {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 320px;
    min-width: 320px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 0px;
    background: linear-gradient(to right, rgb(0, 41, 153), rgba(0, 153, 204, 0.9), rgba(36, 129, 112, 0.7), rgba(29, 70, 160, 0.85));
    z-index: 5;
}

.app-navigation a {
    width: 40px;
    height: 40px;
    font-size: 0.7em;
    line-height: 1em;
    padding: 0px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    border: 1px solid rgba(221, 221, 221, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    word-break: break-all;
}

.app-navigation a:hover,
.app-navigation a.active {
    color: #dee4e8;
}

/* =========================================
   スライドショー (Slideshow)
   ========================================= */
.slideshow {
    position: relative;
    max-width: 480px;
    min-width: 320px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    width: 100%;
    flex: 0 0 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-sizing: border-box;
}

.title {
    position: absolute;
    top: 25%;
    left: 50%;
    width: 90%;
    max-width: 350px;
    padding: 10px 30px 20px 30px;
    transform: translate(-50%, 0%);
    text-align: center;
    background: linear-gradient(to right, rgb(0, 41, 153, 0.5), rgba(0, 153, 204, 0.8), rgba(38, 204, 173, 0.8), rgba(14, 61, 190, 0.5));
    color: #fff;
    z-index: 1;
    border-left: 5px solid rgba(255, 255, 255, 0.3);
    font-size: 100%;
    border-radius: 100px;
}

.sub-images {
    width: 80%;
    height: 10%;
    position: absolute;
    bottom: 65%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.sub-image {
    width: 10%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: -140px;
}

.sub-image:hover {
    transform: scale(1.1);
}

.sub-images2 {
    width: 80%;
    height: 10%;
    position: absolute;
    bottom: 120px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    margin-top: -10%;
}

.sub-images3 {
    position: absolute;
    bottom: 0%;
    left: 50%;
    width: 70%;
    padding: 10px 30px 20px 30px;
    transform: translate(-50%, 0%);
    text-align: center;
    background: rgba(86, 131, 204, 0.58);
    color: #fff;
    z-index: 1;
    border-left: 5px solid rgba(255, 255, 255, 0.45);
    font-size: 100%;
}

/* スライドショーボタン */
.navigation-button-prev,
.navigation-button-next {
    height: 50%;
    line-height: 20%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
    padding: 10px 10px;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s, border 0.3s;
    border-radius: 5px;
    margin-top: -140px;
    position: absolute;
}

.navigation-button-prev {
    color: #555;
    left: -12%;
}

.navigation-button-next {
    color: #000;
    right: -12%;
}

/* =========================================
   モーダル・アコーディオン (Modal & Accordion)
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    height: 300px;
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    position: fixed;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    line-height: 30px;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    z-index: 2;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.accordion {
    width: 100%;
    max-height: 100%;
    background: linear-gradient(to right, rgb(0, 41, 153), rgba(0, 153, 204, 0.9), rgba(38, 204, 173, 0.7), rgba(102, 221, 255, 0.5));
    border-radius: 5px;
    padding: 10px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    height: 80%;
    position: relative;
}

.accordion-content H1,
.accordion-content li,
.accordion-content h2,
.accordion-content strong,
.accordion-content p {
    color: #fff;
}

.accordion-content H1 {
    font-size: 1.5em;
}

.accordion-content h2 {
    font-size: 1em;
}

.accordion-content strong,
.accordion-content li,
.accordion-content p {
    font-size: 0.8em;
}

.accordion-image {
    width: 80px;
    height: 50px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 20%;
    background-color: rgba(2, 2, 2, 0.24);
    color: white;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-size: 18px;
    border: none;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

/* =========================================
   FAQ・クイズ・SNS (FAQ, Quiz, SNS)
   ========================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-question,
dt {
    font-size: 0.8rem;
    line-height: 0.8rem;
    font-weight: bold;
    background-color: #e2f2df;
    padding: 5px;
    margin-top: 15px;
    border-radius: 10px;
    color: #888;
}

.faq-answer,
dd {
    font-size: 0.7rem;
    line-height: 0.7rem;
    margin: 5px 15px 15px 15px;
    color: #888;
}

.faq-answer a {
    color: #888;
}

/* ミドリフグクイズ用 */
.answerFugu {
    display: none;
}

.toggleFugu {
    font-size: 0.8em;
    background-color: #a3a3a3;
    color: white;
    border: 1px solid #939395;
    padding: 2px 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 0px 0px 5px 0px;
}

.toggleFugu:hover {
    background-color: rgba(235, 192, 9, 0.71);
}

.quiz-question {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    margin-top: 20px;
    border-left: 5px solid #8fbc8f;
    padding-left: 10px;
    background: transparent;
}

.quiz-answer {
    font-size: 1.0em;
    font-weight: bold;
    color: #d32f2f;
    margin-top: 10px;
}

.quiz-info {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    margin-top: 5px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

/* SNS関連 */
.instagram-media {
    width: 50% !important;
    margin: 0 auto;
    display: block;
}

.instagram-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.instagram-media p {
    display: none;
}

.sns-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.sns-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* =========================================
   その他ユーティリティ (Utilities)
   ========================================= */
.icon-container2 {
    position: fixed;
    bottom: 100px;
    left: 0px;
    width: 100%;
    background-color: #f0f0f0;
    padding: 0px;
    z-index: 10;
    height: 0%;
    /* 元の競合記述より優先 */
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: -10%;
}

.icon {
    width: 10%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    margin-top: 150px;
    z-index: 100;
}

.icon img {
    width: 400px;
    height: 40px;
}

.related-info {
    font-size: 9px;
    color: black;
    line-height: 9px;
}

/* アバター会話 */
.message {
    color: #555;
    font-size: 0.8em;
    line-height: 1.2em;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    word-wrap: break-word;
    display: flex;
    align-items: flex-start;
    width: fit-content;
}

.mdrin {
    background-color: #fce4ec;
    align-self: flex-start;
    margin-left: 50px;
}

.bluri {
    background-color: #e0f7fa;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 55px;
}

.mdrin .avatar {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0px;
    left: -50px;
    z-index: 1;
    margin-right: 10px;
}

.bluri .avatar {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0px;
    right: -45px;
    z-index: 1;
    margin-left: 10px;
}

.message:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.mdrin:before {
    border-width: 10px 10px 10px 0;
    border-color: transparent #fce4ec transparent transparent;
    left: -8px;
    top: 8px;
}

.bluri:before {
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #e0f7fa;
    right: -8px;
    top: 8px;
}

/* AI相関図 */
svg {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 20px auto;
    display: block;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.node circle {
    stroke: #fff;
    stroke-width: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.node circle:hover {
    opacity: 0.8;
}

.link {
    stroke: #ccc;
    stroke-opacity: 0.7;
    stroke-width: 1.5px;
}

.node text {
    font-size: 11px;
    pointer-events: none;
    fill: #444;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.node-color-mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.description {
    max-width: 80%;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease;
}

.description:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.description h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin: 20px 0 10px 0;
    font-size: 1.2em;
    color: #222;
    display: flex;
    align-items: center;
}

.description h3:target {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.description p {
    margin: 0 0 20px 0;
    font-size: 0.9em;
    color: #555;
}

/* 利用履歴・メモ用 */
.styled-paragraph {
    display: block;
    margin: 10px 0 0 0;
    font-size: 0.7em;
    line-height: 1.5;
    color: #666;
    background-color: transparent;
    padding: 10px;
    border-radius: 6px;
    border: 1px dotted #ccc;
    box-shadow: none;
}

/* モデル一覧の見出し */
.model-brand {
    border-left: 4px solid #4285f4;
    padding-left: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

/* =========================================
   Affinityページ等で使用 (New additions)
   ========================================= */

/* NEWバッジ・更新バッジ */
.badge-new {
    background-color: red;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-right: 5px;
    vertical-align: middle;
}

.badge-update {
    background-color: #8000ff;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-right: 5px;
    vertical-align: middle;
}

/* 技術記事用：リストスタイル（チェックマーク付き） */
.tech-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.tech-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

.tech-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #8fbc8f;
    font-weight: bold;
    background-color: transparent !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

/* 技術記事用：アコーディオン（詳細）UI */
.tech-details {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
}

.tech-details[open] {
    border-color: #8fbc8f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.tech-summary {
    padding: 15px 40px 15px 15px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    background-color: #f9f9f9;
    border-radius: 8px;
    color: #2e8b57;
    font-size: 1.05em;
    transition: background-color 0.2s;
}

.tech-summary::-webkit-details-marker {
    display: none;
}

.tech-details[open] .tech-summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #e8f5e9;
    border-bottom: 1px solid #8fbc8f;
}

.tech-summary::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #8fbc8f;
    font-size: 1.5em;
    transition: transform 0.2s;
}

.tech-details[open] .tech-summary::after {
    content: '-';
    color: #2e8b57;
}

.tech-content {
    padding: 20px;
    animation: fadeIn 0.3s ease;
    line-height: 1.7;
}

/* アコーディオン（用語集用） */
.term-details {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.term-summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    background-color: #fcfcfc;
    border-radius: 8px;
    font-size: 1.05em;
}

.term-summary::-webkit-details-marker {
    display: none;
}

.term-content {
    padding: 15px;
    border-top: 1px solid #eee;
    line-height: 1.7;
}

/* 開発者コメント枠 */
.dev-comment {
    font-size: 0.9em;
    color: #666;
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #ddd;
    line-height: 1.6;
}

/* AI Music ステップリンクボタン */
.step-link-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.step-link-list li {
    width: 90%;
    margin: 0 auto;
}

.step-link-list .step-btn {
    display: block;
    background-color: #f0f8ff;
    border: 1px solid #8fbc8f;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #173b01 !important;
    font-size: 1.1em !important;
}

.step-link-list .step-btn:hover {
    background-color: #e8f5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #006400 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ミドリフグガイド用 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
}

.spec-table th,
.spec-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.spec-table th {
    background-color: #f0f8ff;
    /* 薄い水色 */
    color: #333;
    width: 30%;
}

.highlight-box {
    background-color: #fffff0;
    border: 2px dashed #ffd700;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
}



/* トップページ MfuguProject用 */
.hero-tags {
    margin: 5px 0 5px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tag {
    background: linear-gradient(135deg, #6dd5ed, rgba(33, 147, 176, 0.54));
    color: white;
    font-size: 0.75em;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* シャボン玉エフェクト (Canvas) - 古い端末対応版*/
.bubble-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: block;
}

.bubble-canvas.bg {
    z-index: -1; /* bodyの直下なので、純粋に全体の背景になる */
}

.bubble-canvas.fg {
    z-index: 5; /* コンテンツの上、ヘッダー・ナビ(z-index:10)の下 */
}