.breadcrumb {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    font-size: 1.05rem;
    color: #444;
    margin: 10px 0 10px 40px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb span {
    color: #666;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        display: none;
    }
}

.capsule-line {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    background-color: transparent;

    overflow-x: auto;
    white-space: nowrap;
}

.capsule {
    flex: 0 0 auto;
    width: 25px;
    height: 12px;
    border-radius: 12px;
    border: 1px solid #99b3ff;
    animation: colorShift 4s infinite alternate;
}


.capsule:nth-child(odd) {
    background: linear-gradient(to right, #ffcccc, #ffe6cc);

}

.capsule:nth-child(even) {
    background: linear-gradient(to right, #ccffcc, #ccfff5);

}


@keyframes colorShift {
    0% {
        filter: brightness(100%);
    }

    50% {
        filter: brightness(110%);
    }

    100% {
        filter: brightness(100%);
    }
}


.capsule-line::-webkit-scrollbar {
    display: none;
}

.heading-16 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
    font-size: 42px;

    font-weight: bold;
    margin: 50px 0;
}

.heading-16::before,
.heading-16::after {
    width: 4px;

    height: 60px;

    background-color: #2589d0;
    content: '';
}

.heading-16::before {
    transform: rotate(-35deg);
    margin-right: 40px;

}

.heading-16::after {
    transform: rotate(35deg);
    margin-left: 40px;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    background: #fdfdfd;
}

p {
    width: 80%;
    margin-left: 10%;
    margin-right: auto;
}

.toc-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    border: 2px solid #a3c3e0;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(163, 195, 224, 0.2);
    text-align: center;
}

.toc-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #000000;

}

ul.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

ul.toc-list li {
    margin: 0.7rem 0;
}

ul.toc-list li a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

ul.toc-list li a:hover {
    color: #3263a3;
    text-decoration: underline;
}

section {
    margin: 0.5rem auto;

    padding: 1rem 1rem 1rem;

    font-size: 1.15rem;
    line-height: 1.7;
}

section h2 {
    margin-bottom: 1rem;
}

.thumbnail {
    text-align: center;
    margin-top: 30px;
}

.thumbnail img {
    width: 500px;
    max-width: 90%;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.thumbnail img:hover {
    border-color: #666;
}

.lb-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
}

.lb-data .lb-number {
    display: none !important;
}

.lb-prev,
.lb-next {
    display: none !important;
}

.thumbnail {
    text-align: center;
    margin-top: 30px;
}

.thumbnail img {
    width: 680px;
    max-width: 90%;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.thumbnail img:hover {
    border-color: #666;
}

.thumbnail {
    text-align: center;
    margin-top: 30px;
}

.thumbnail img {
    width: 680px;
    max-width: 90%;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.thumbnail img:hover {
    border-color: #666;
}

.image-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.img-container {
    max-width: 500px;
    flex: 1 1 300px;
    text-align: center;
}

.img-container img {
    width: 100%;
    border: 2px solid #ccc;
    height: auto;
}

.caption {
    font-size: 0.85rem;
    color: #000;
    text-align: center;
    margin-top: 5px;
}

.img-caption a {
    font-size: 0.95rem;
    color: #222;
    text-decoration: underline;
}

.thumbnail {
    text-align: center;
    margin-top: 30px;
}

.thumbnail img {
    width: 780px;
    max-width: 90%;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.thumbnail img:hover {
    border-color: #666;
}

.balloon-color {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 10px 0;
}


.balloon-color.left {
    flex-direction: row;

}

.left .chatting-color {
    position: relative;
    display: inline-block;
    margin: 15px 20px 20px;
    padding: 15px 30px;
    background: #6800fa;
    text-align: left;
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
    font-size: 18px;

}

.left .chatting-color::after {
    content: "";
    border: 15px solid transparent;
    border-top-color: #6800fa;
    position: absolute;
    top: 15px;
    left: -15px;
}

.balloon-color.right {
    flex-direction: row-reverse;
}

.right .chatting-color {
    position: relative;
    display: inline-block;
    margin: 15px 20px 20px;
    padding: 15px 30px;
    background: #f56e0f;
    text-align: left;
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
}

.right .chatting-color::after {
    content: "";
    border: 15px solid transparent;
    border-top-color: #f56e0f;
    position: absolute;
    top: 15px;
    right: -15px;
}

.balloon-color figure img {
    border-radius: 50%;
    margin: 0;
    width: 100%;
    height: auto;
}

.icon-color {
    width: 100px;
    height: 100px;
    text-align: center;
    flex-shrink: 0;
}

.name-color {
    width: 100px;
    font-size: 12px;
    text-align: center;
    margin-top: 4px;
}

.text-color {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;
}

body {
    margin: 0;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    margin-right: 10px;
    max-width: 90vw;
    margin-left: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.capsule-button {
    all: unset;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    font-weight: 700;
    color: #004080;
    background: linear-gradient(145deg, #d0e3ff, #a0c0ff);
    padding: 10px 30px;
    border-radius: 9999px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 4px 8px rgba(51, 153, 255, 0.4);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.capsule-button:hover,
.capsule-button:focus {
    background: linear-gradient(145deg, #a0c0ff, #70a0ff);
    color: #00264d;
    outline: none;
    box-shadow: 0 6px 12px rgba(51, 153, 255, 0.6);
}

.capsule-button:active {
    background: linear-gradient(145deg, #70a0ff, #5080ff);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
    .button-container {
        padding: 8px 12px;
        margin-right: 6px;
    }

    .capsule-button {
        padding: 8px 20px;
        font-size: 14px;
    }
}

.references {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    color: #000;
}

.references-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.references-title::before,
.references-title::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #3a6ef8;
    margin: 0 1rem;
}

.reference-item {
    position: relative;
    padding: 1rem 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 8px;
}

.reference-item a {
    color: #000;
    text-decoration: none;
}

.reference-item .quote-mark {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2rem;
    font-weight: bold;
    user-select: none;
}

.reference-item .quote-mark.right {
    bottom: 0;
    right: 0;
    top: auto;
    left: auto;
}

.reference-date {
    font-weight: normal;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.button-wrapper {
    display: flex;
    justify-content: space-between;

    align-items: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 50px 0;
    gap: 10px;
    flex-wrap: nowrap;

    overflow-x: auto;

}

.nav-button {
    padding: 12px 24px;
    background-color: #400395;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    transition: background-color 0.3s ease;
    white-space: nowrap;

    flex: 0 1 auto;

    max-width: 48%;

    box-sizing: border-box;
}

.nav-button:hover {
    background-color: #5c17c0;
}

@media (max-width: 600px) {
    .button-wrapper {
        flex-direction: row;

        justify-content: space-between;
        align-items: center;
        overflow-x: auto;

    }

    .nav-button {
        flex: 0 1 auto;
        max-width: 48%;
    }
}

.custom-footer {
    position: relative;
    background: linear-gradient(135deg, #001F3F, #003366, #0059A0);
    color: #ffffff;
    text-align: center;


    padding: 22px 14px 18px;

    font-size: 14px;
    line-height: 1.6;

    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.custom-footer a {
    color: #66B2FF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.custom-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.custom-footer .footer-logo {
    max-width: 190px;

    margin-bottom: 9px;
}

.custom-footer .copy {
    margin-top: 18px;
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.pagetop-wrapper #pagetop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 15px 25px;
    background-color: white;
    color: #3496a2;
    border: 3px double #3496a2;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    text-align: center;
    transition: all 0.3s;
    z-index: 999;
}

.pagetop-wrapper #pagetop:hover {
    background-color: #3496a2;
    color: white;
}

.capsule-line {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    background-color: transparent;

    overflow-x: auto;
    white-space: nowrap;
}

.capsule {
    flex: 0 0 auto;
    width: 25px;
    height: 12px;
    border-radius: 12px;
    border: 1px solid #99b3ff;
    animation: colorShift 4s infinite alternate;
}


.capsule:nth-child(odd) {
    background: linear-gradient(to right, #ffcccc, #ffe6cc);

}

.capsule:nth-child(even) {
    background: linear-gradient(to right, #ccffcc, #ccfff5);

}


@keyframes colorShift {
    0% {
        filter: brightness(100%);
    }

    50% {
        filter: brightness(110%);
    }

    100% {
        filter: brightness(100%);
    }
}


.capsule-line::-webkit-scrollbar {
    display: none;
}

.custom-footer {
    position: relative;
    background: linear-gradient(135deg, #001F3F, #003366, #0059A0);
    color: #ffffff;
    text-align: center;


    padding: 22px 14px 18px;

    font-size: 14px;
    line-height: 1.6;

    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.custom-footer a {
    color: #66B2FF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.custom-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.custom-footer .footer-logo {
    max-width: 190px;

    margin-bottom: 9px;
}

.custom-footer .copy {
    margin-top: 18px;
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.pictogram-table {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
}

.pictogram-table th,
.pictogram-table td {
    border: 1px solid #ccc;
    padding: 10px;
    vertical-align: top;
    text-align: left;
}

.pictogram-table th {
    background-color: #c9edf3;
    color: 000;
    text-align: center;
}

.pictogram-table tr:nth-child(even) td {
    background-color: #f8f8f8;
}

.pictogram-table ul {
    margin: 0;
    padding-left: 20px;
}

.pictogram-table td ul li {
    margin-bottom: 5px;
}

.balloon-color {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 10px 0;
}


.balloon-color.left {
    flex-direction: row;

}

.left .chatting-color {
    position: relative;
    display: inline-block;
    margin: 15px 20px 20px;
    padding: 15px 30px;
    background: #aed5f3;
    text-align: left;
    border-radius: 15px;
    color: #fff;
    max-width: 800px;

}

.left .chatting-color::after {
    content: "";
    border: 15px solid transparent;
    border-top-color: #aed5f3;
    position: absolute;
    top: 15px;
    left: -15px;
}


.balloon-color.right {
    flex-direction: row-reverse;
}

.right .chatting-color {
    position: relative;
    display: inline-block;
    margin: 15px 20px 20px;
    padding: 15px 30px;
    background: #fba465;
    text-align: left;
    border-radius: 15px;
    color: #fff;
    max-width: 800px;

}

.right .chatting-color::after {
    content: "";
    border: 15px solid transparent;
    border-top-color: #fba465;
    position: absolute;
    top: 15px;
    right: -15px;
}


.balloon-color figure img {
    border-radius: 50%;
    margin: 0;
    width: 100%;
    height: auto;
}


.icon-color {
    width: 100px;
    height: 100px;
    text-align: center;
    flex-shrink: 0;
}


.name-color {
    width: 100px;
    font-size: 13.8px;
    text-align: center;
    margin-top: 4px;
}


.text-color {
    color: #000;
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;

}

.compare-table {
    width: 85%;
    max-width: 1000px;
    margin: 30px auto;
    border-collapse: collapse;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.compare-table th,
.compare-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.compare-table th {
    background-color: #c9edf3;

    color: 000;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.compare-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.compare-table img {
    max-width: 90px;
    height: auto;
    display: block;
    margin: 0 auto 5px auto;
}


.compare-table tr:hover {
    transform: scale(1.03);
    background-color: #eef6ff;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

@media screen and (max-width: 600px) {

    .compare-table,
    .compare-table thead,
    .compare-table tbody,
    .compare-table th,
    .compare-table td,
    .compare-table tr {
        display: block;
    }

    .compare-table tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #ddd;
    }

    .compare-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .compare-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        font-weight: bold;
        text-align: left;
    }

    .compare-table th {
        display: none;
    }
}









.capsule-line {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    background-color: transparent;

    overflow-x: auto;
    white-space: nowrap;
}

.capsule {
    flex: 0 0 auto;
    width: 25px;
    height: 12px;
    border-radius: 12px;
    border: 1px solid #99b3ff;
    animation: colorShift 4s infinite alternate;
}


.capsule:nth-child(odd) {
    background: linear-gradient(to right, #ffcccc, #ffe6cc);
}

.capsule:nth-child(even) {
    background: linear-gradient(to right, #ccffcc, #ccfff5);

}


@keyframes colorShift {
    0% {
        filter: brightness(100%);
    }

    50% {
        filter: brightness(110%);
    }

    100% {
        filter: brightness(100%);
    }
}


.capsule-line::-webkit-scrollbar {
    display: none;
}

.custom-footer {
    position: relative;
    background: linear-gradient(135deg, #001F3F, #003366, #0059A0);
    color: #ffffff;
    text-align: center;


    padding: 22px 14px 18px;

    font-size: 14px;
    line-height: 1.6;

    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック体', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.custom-footer a {
    color: #66B2FF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.custom-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.custom-footer .footer-logo {
    max-width: 190px;

    margin-bottom: 9px;
}

.custom-footer .copy {
    margin-top: 18px;
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.pagetop-wrapper #pagetop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 15px 25px;
    background-color: white;
    color: #3496a2;
    border: 3px double #3496a2;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    text-align: center;
    transition: all 0.3s;
    z-index: 999;
}

.pagetop-wrapper #pagetop:hover {
    background-color: #3496a2;
    color: white;
}

.capsule-line {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    background-color: transparent;

    overflow-x: auto;
    white-space: nowrap;
}

.capsule {
    flex: 0 0 auto;
    width: 25px;
    height: 12px;
    border-radius: 12px;
    border: 1px solid #99b3ff;
    animation: colorShift 4s infinite alternate;
}


.capsule:nth-child(odd) {
    background: linear-gradient(to right, #ffcccc, #ffe6cc);

}

.capsule:nth-child(even) {
    background: linear-gradient(to right, #ccffcc, #ccfff5);

}


@keyframes colorShift {
    0% {
        filter: brightness(100%);
    }

    50% {
        filter: brightness(110%);
    }

    100% {
        filter: brightness(100%);
    }
}


.capsule-line::-webkit-scrollbar {
    display: none;
}