@charset "UTF-8";

.youtube-title {
    position: relative;
    padding: 1rem 1rem 1rem 1.5rem;
    margin-right: auto;
    margin-left: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    border-radius: 5px;
    border: 3px solid #1258af;
    box-shadow: -3px 3px 0 0 #1258af;
    font-weight: bold;
    font-size: 1.3em;
    color: #1258af;
    width: 80%;
    max-width: 600px;
}


.youtube-title:before,
.youtube-title:after {
    position: absolute;
    left: 30px;
    height: 0;
    width: 0;
    border: solid transparent;
    content: "";
}

.youtube-title:before {
    top: 100%;
    margin-left: -12px;
    border-color: transparent;
    border-top-color: #1258af;
    border-right-color: #1258af;
    border-width: 10px;
}

.youtube-title:after {
    top: 99%;
    margin-left: -7px;
    border-color: transparent;
    border-width: 6.5px;
}

.showcase-youtube {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.showcase-youtube img {
    padding-bottom: 1em !important;

}

/* 目次 */
.accordion-column {
    max-width: 700px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.details-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em 2em;
    background-color: #1258af;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
}

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

.details-summary::after {
    content: '';
    width: 9px;
    height: 9px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.accordion-column.open .details-summary::after {
    transform: rotate(225deg);
}

.details-content {
    background-color: #f0f8ff;
    overflow: hidden;
    max-height: 0;
    padding: 0 2em;
    /* ← 縦paddingを0にする */
    box-sizing: border-box;
    transition: max-height 0.4s ease;
}

.accordion-column.open .details-content {
    max-height: 1000px;
    padding: 1em 2em;
    /* ← まとめて指定 */
}

.details-content>ul>li {
    font-weight: bold;
    margin-bottom: 0.5em;
    /* font-size: 2.2rem; */
}

section[id]::before {
    content: "";
    display: block;
    height: 120px;
    margin-top: -120px;
    visibility: hidden;
}


.details-content>ul>li:not(:first-child) {
    margin-top: 2.8rem;
}

.details-content .toc-sub li {
    font-weight: normal;
    margin-bottom: 0;
    /* font-size: 2rem; */
    margin-left: 1em;
    margin-top: 1.5rem;
}

.details-content li a {
    text-decoration: underline #1d63b9;
    width: fit-content;
}

.details-content a:hover {
    text-decoration: none;
    opacity: 0.7;
}

@media(1200px < width) {
    .accordion-column {
        margin-bottom: 3em;
    }

    .details-content>ul>li {
        font-size: 15px;
    }

    .details-content .toc-sub li {
        font-size: 15px;
    }
}

/* 事例内容 */
.caselead {
    background: #fff;
}

.userCon {
    padding: 1em 1.5em;
}

.casemain p {
    margin-bottom: 1em;
    font-size: 1em !important;
}

.casemain img {
    margin-bottom: 1em;
}

.case-img {
    max-width: 700px;
    width: 65%;
    margin-right: auto;
    margin-left: auto;
}

.casebottom p {
    text-align: center;
}

.casebottom2 {
    width: 100%;
    max-width: 700px;
    padding: 0;
}

@media(819px < width) {
    .case-img-box {
        display: flex;
        justify-content: center;
        gap: 1em;
    }

    .case-img-box img {
        width: 50%;
    }
}

.next_prev {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 7rem auto 5rem;
    gap: 3rem;
    flex-wrap: wrap;
}

.next_prev a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 1.2rem 2rem;
    border: 2px solid #1258af;
    border-radius: 999px;
    color: #1258af;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.next_prev a:hover {
    background: #1258af;
    color: #fff;
}

.next_prev .prev-link::before {
    content: "←";
    margin-right: 0.6rem;
}

.next_prev .next-link::after {
    content: "→";
    margin-left: 0.6rem;
}

@media screen and (max-width: 767px) {
    .next_prev {
        flex-direction: column;
        gap: 1.2rem;
    }

    .next_prev a {
        width: 100%;
        max-width: 320px;
        padding: 1.4rem 2rem;
    }
}
