.wrap {
    background: rgb(240, 240, 240);
}

/*--------------------------------------------

article-main__post

--------------------------------------------*/
.article-main__post {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 50px 5%;
}
.article-main__post h1 {
    font-size: 130%;
}

/*--------------------------------------------
min-width 650
--------------------------------------------*/
@media (min-width: 650px) {
    
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {

}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
}

/*--------------------------------------------

cms article.css

--------------------------------------------*/
/*h2*/
.post-content h2 {
    font-size: 120%;
    width: 100%;
    color: var(--color-white);
    background: var(--color-darkblue);
    padding: 0.5em 1em;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/*h3*/
.post-content h3 {
    font-size: 110%;
    width: fit-content;
    padding: 0.25em 0.5em;
    padding-bottom: 0.5em;
    margin-bottom: 1.5rem;
    border-bottom: dotted 4px var(--color-grey);
}

/*h4*/
.post-content h4 {
    padding-bottom: 1em;
}

/*img*/
.post-content img {
    margin-top: 1.5rem;
    width: 100%;
    height: auto;
}
/*video*/
.post-content video {
    width: 100%;
    height: auto;
}
/*text*/
.post-content p,
.modal-body p {
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    line-height: 1.8em;
}
/*table*/
table {
    width: 100% !important;
    height: fit-content !important;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
table tbody {
    width: 100%;
    display: inline-table;
}
table th, table td {
    padding: 0.5em;
}
table ul {
    margin: 0.5em;
}

/*list*/
.post-content ul {
    margin-bottom: 1.5em;
}
.post-content > ul li {
    padding: 0 1em;
    padding-bottom: 0.5em;
}
.post-content ul li:last-child {
    padding-bottom: 0;
}
.post-content ul li::before {
    content: "\2022";
    counter-increment: item;
    font-weight: 900;
    padding-right: 5px;
}
.post-content .toc ul li::before {
    content: none;
}
.post-content ol li {
    margin-left: 1.5em;
    margin-bottom: 0.25em;
}
.post-content ol li:last-child {
    margin-bottom: 0;
}

/*other*/
.post-content iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 1.5rem;
}
.post-content #video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    width: 100%;
    margin-top: 1.5rem;
}

/*--------------------------------------------

plugin

--------------------------------------------*/
:root {
    /*border-radius*/
    --box-radius: 15px;
    --box-radius-small: 10px;
    --section-radius: 30px;
}
/*toc*/
.toc {
    border: solid 1px rgb(0, 0, 0);
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--box-radius);
    border: none;
    margin-bottom: 3em;
}
.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc li {
    padding-bottom: 0 !important;
}
.toc > ul > li {
    margin-bottom: 1.25em;
}
.toc > ul > li:last-child {
    margin-bottom: 0;
}
.toc > ul > li > a {
    position: relative;
    padding-left: calc(1em + 15px); /* パディングを適用 */
    line-height: 1.8em;
}
.toc > ul > li:last-child > a {
    margin-bottom: 0;
}

.toc > ul > li > a::before,
.toc > ul > li > a::after {
    position: absolute;
    top: 0.95em;
    transform: translateY(-50%); /* Y軸で中央揃え */
    box-sizing: content-box;
}

.toc > ul > li > a::before {
    content: "";
    width: 1em;
    aspect-ratio: 1 / 1;
    background: rgb(200, 200, 200);
    display: inline-block;
    border-radius: 50%;
    left: 0; /* 左を0に設定 */
    padding: 5px;
}
.toc > ul > li > a::after {
    content: "";
    width: 0.4em;
    height: 0.4em;
    border-top: solid 3px rgb(255, 255, 255);
    border-right: solid 3px rgb(255, 255, 255);
    left: calc(0.5em + 4px); /* パディングを考慮して中心に配置 */
    transform: translate(-50%, -50%) rotate(45deg); /* 中央揃え & 45度回転 */
    border-radius: 2px;
}
.toc > ul > li > ul > li a {
    padding-bottom: 0.5em;
}
.toc > ul > li > ul > li:last-child a {
    padding-bottom: 0;
}
.toc ul li ul li:last-child {
    margin-bottom: 0.5em;
}
.toc ul li:last-child ul li:last-child {
    margin-bottom: 0;
}
.toc > ul > li > ul > li:first-child > a {
    margin-top: 0.75em;
}
.toc ul li ul li a {
    padding-left: calc(1.5em + 5px);
}
.toc ul li ul li a:before {
    content: "\2022";
    counter-increment:item;
    font-weight: 900;
    padding-right: 5px;
}
.toc ul li ul li ul li a {
    padding-left: calc(3em + 5px);
}
.toc a {
    color: rgb(50, 50, 50);
    text-decoration: none;
}

/*bubble*/
.bubble {
    padding: 10px;
    position: relative;
    width: fit-content;
    background: rgb(255, 255, 255);
}
.bubble span.arrow-bg, .bubble span.arrow-border {
    position: absolute;
}
.bubble span.arrow-bg{
    background: rgb(255, 255, 255);
}

.bubble.top {margin-top: 45px;}
.bubble.top span.arrow-bg, .bubble.top span.arrow-border {
    width: 30px;
    height: 15px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.bubble.top span.arrow-border {top: -15px;}
.bubble.top span.arrow-bg {top: -12px;}

.bubble.bottom {margin-bottom: 45px;}
.bubble.bottom span.arrow-bg, .bubble.bottom span.arrow-border {
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.bubble.bottom span.arrow-border {bottom: -15px;}
.bubble.bottom span.arrow-bg {bottom: -12px;}

.bubble.left{margin-left: 45px;}
.bubble.left span.arrow-bg, .bubble.left span.arrow-border {
    width: 15px;
    height: 30px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.bubble.left span.arrow-border {left: -15px;}
.bubble.left span.arrow-bg {left: -12px;}

.bubble.right {margin-right: 45px;}
.bubble.right span.arrow-bg, .bubble.right span.arrow-border {
    width: 15px;
    height: 30px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.bubble.right span.arrow-border {right: -15px;}
.bubble.right span.arrow-bg {right: -12px;}

/*point*/
.point {
    padding: 1.5em 1em 1em 1em;
    position: relative;
    margin: 2em 0 1.5rem 0 !important;
    width: fit-content;
    text-align: center;
}
.point span.box-title {
    content: "POINT";
    position: absolute;
    left: -10px;
    top: -15px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 2.5px 20px;
    border-radius: 100px;
}
@media (max-width: 810px) {
    .point {
        width: 100%;
    }
}

/*link-btn box-btn*/
.link-btn, .box-btn {
    padding: 10px 20px;
    text-decoration: none;
    position: relative;
    display: block;
    width: fit-content;
}
.link-btn.link-btn.shape-1, .box-btn.box-btn.shape-1 {
    border-radius: 0;
}
.link-btn.link-btn.shape-2, .box-btn.box-btn.shape-2 {
    border-radius: 10px;
}
.link-btn.link-btn.shape-3, .box-btn.box-btn.shape-3 {
    border-radius: 500px;
}
.link-btn.link-btn.shape-4, .box-btn.box-btn.shape-4 {
    border-radius: 0;
}
.link-btn.link-btn.shape-5, .box-btn.box-btn.shape-5 {
    border-radius: 0;
}
.link-btn.link-btn.shape-6, .box-btn.box-btn.shape-6 {
    border-radius: 0;
}
.link-btn.shape-1 span ,.box-btn.shape-1 span ,
.link-btn.shape-2 span ,.box-btn.shape-2 span ,
.link-btn.shape-3 span ,.box-btn.shape-3 span {
    display: none;
}
.link-btn.shape-4 span, .box-btn.shape-4 span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.link-btn.shape-4 span.shape-border, .box-btn.shape-4 span.shape-border {
    width: 20px;
    height: 100%;
}
.link-btn.shape-4 span.shape-bg, .box-btn.shape-4 span.shape-bg {
    width: 15px;
    height: calc(100% - 4px);
}
.link-btn.shape-4 span.right, .box-btn.shape-4 span.right {
    clip-path: polygon(0% 0%, 100% 0, 70% 50%, 100% 100%, 0% 100%);
}
.link-btn.shape-4 span.left, .box-btn.shape-4 span.left {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%, 30% 50%);
}
.link-btn.shape-4 span.shape-border.right, .box-btn.shape-4 span.shape-border.right {
    right: -20px;
}
.link-btn.shape-4 span.shape-bg.right, .box-btn.shape-4 span.shape-bg.right {
    right: -17px;
}
.link-btn.shape-4 span.shape-border.left, .box-btn.shape-4 span.shape-border.left {
    left: -20px;
}
.link-btn.shape-4 span.shape-bg.left, .box-btn.shape-4 span.shape-bg.left {
    left: -17px;
}
.link-btn.shape-5, .box-btn.shape-5 {
    padding: 10px 10px 10px 20px;
}
.link-btn.shape-5, .box-btn.shape-5
.link-btn.shape-6, .box-btn.shape-6 {
    margin-right: 20px !important;
}
.link-btn.shape-5 span.left, .box-btn.shape-5 span.left ,
.link-btn.shape-6 span.left, .box-btn.shape-6 span.left {
    display: none;
}
.link-btn.shape-5 span, .box-btn.shape-5 span ,
.link-btn.shape-6 span, .box-btn.shape-6 span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);

}
.link-btn.shape-5 span.shape-border, .box-btn.shape-5 span.shape-border ,
.link-btn.shape-6 span.shape-border, .box-btn.shape-6 span.shape-border {
    right: -22px;
    width: 20px;
    height: calc(100% + 4px);
}
.link-btn.shape-5 span.shape-bg, .box-btn.shape-5 span.shape-bg,
.link-btn.shape-6 span.shape-bg, .box-btn.shape-6 span.shape-bg {
    right: -19px;
    width: 19px;
    height: 100%;
}
.link-btn.shape-5 span, .box-btn.shape-5 span {
    clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.link-btn.shape-6 span, .box-btn.shape-6 span {
    clip-path: polygon(100% 100%, 0 0, 0 100%);
}

/*arrow-list*/
.arrow-list {
    width: fit-content;
    display: flex;
    flex-direction: column;
    padding-left: 0 !important;
}
.arrow-list > li {
    position: relative;
    padding: 1em !important;
    text-align: center;
    list-style: none;
}
.arrow-list > li::before {
    content: none !important;
}
.arrow-list > li > span.arrow-list-item {
    width: 2em;
    height: 1em;
    display: block;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    position: absolute;
    bottom: -0.75em;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}
.arrow-list > li:last-child > span.arrow-list-item {
    display: none;
}
.arrow-list > li > span.arrow-list-item::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.arrow-list > li:nth-child(6n+1), .arrow-list > li:nth-child(6n+1) > span.arrow-list-item::before {
    background: rgba(255, 255, 255, 0.2);
}
.arrow-list > li:nth-child(6n+2), .arrow-list > li:nth-child(6n+2) > span.arrow-list-item::before {
    background: rgba(255, 255, 255, 0.4);
}
.arrow-list > li:nth-child(6n+3), .arrow-list > li:nth-child(6n+3) > span.arrow-list-item::before {
    background: rgba(255, 255, 255, 0.6);
}
.arrow-list > li:nth-child(6n+4), .arrow-list > li:nth-child(6n+4) > span.arrow-list-item::before {
    background: rgba(255, 255, 255, 0.8);
}
.arrow-list > li:nth-child(6n+5), .arrow-list > li:nth-child(6n+5) > span.arrow-list-item::before {
    background: rgba(255, 255, 255, 0.6);
}
.arrow-list > li:nth-child(6n+6), .arrow-list > li:nth-child(6n+6) > span.arrow-list-item::before {
    background: rgba(255, 255, 255, 0.4);
}
/*review*/
.review {
    max-width: 100%;
    width: fit-content;
}
.review img {
    width: 100px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.review-text {
    background: rgb(246 248 251);
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 20px;
    justify-content: space-between;
    border-radius: 10px;
}
.review-text::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background: rgb(246 248 251);
    width: 40px;
    height: 20px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.review-text span.star {
    color: rgb(255, 200, 0);
}
.review-text p {
    width: 100%;
    margin: 20px 0 0 0;
    position: relative;
    background: rgb(255, 255, 255);
    box-shadow: 1px 1px 4px rgb(192, 200, 211);
    padding: 10px;
}

/*dialog*/
.dialog {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 30px;
    width: fit-content;
}
.dialog.myself {
    flex-direction: row-reverse;
    margin: 30px 0 0 auto;
}
.dialog img {
    width: 100px;
    margin: 0;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.dialog > p {
    border-radius: 10px;
    border: solid 2px rgb(0, 0, 0);
    position: relative;
    padding: 20px;
}
.dialog > p::before,
.dialog > p::after {
    content: "";
    width: 15px;
    height: 20px;
    position: absolute;
    top: 20px;
}
.dialog.myself > p {
    background: rgb(255, 255, 255);
    margin-right: 15px;
}
.dialog.myself > p::before,
.dialog.myself > p::after {
    clip-path: polygon(0 20%, 0 100%, 100% 0);
}
.dialog.myself > p::before {
    background: rgb(0, 0, 0);
    right: -15px;
}
.dialog.myself > p::after {
    background: rgb(255, 255, 255);
    right: -10px;
    top: 23px;
}
.dialog.partner > p {
    background: rgb(240, 240, 240);
    margin-left: 15px;
}
.dialog.partner > p::before,
.dialog.partner > p::after {
    clip-path: polygon(0 0, 100% 100%, 100% 20%);
}
.dialog.partner > p::before {
    background: rgb(0, 0, 0);
    left: -15px;
}
.dialog.partner > p::after {
    background: rgb(240, 240, 240);
    left: -10px;
    top: 23px;
}


/*tpl*/
.tpl-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.tpl-box > * {
    /* デフォルトは1つの要素が100%の幅 */
    width: 100%;
}
.tpl-box:has(> :nth-child(n+2)) > * ,
.tpl-box:has(> :nth-child(n+2)) > .tpl-content {
    /* 2つの要素の場合 */
    width: calc(50% - 14px);
}
.tpl-box:has(> :nth-child(n+3)) > * ,
.tpl-box:has(> :nth-child(n+3)) > .tpl-content {
    /* 3つの要素の場合 */
    width: calc(100% / 3 - (52px / 3));
}
.tpl-box:has(> :nth-child(n+4)) > * ,
.tpl-box:has(> :nth-child(n+4)) > .tpl-content {
    /* 4つの要素の場合 */
    width: calc(25% - (76px / 4));
}
.tpl-box.large {
    flex-wrap: nowrap;
}
.tpl-box.medium .text {
    width: calc(((100% / 3) * 2) - (40px / 2));
}
.tpl-box.medium .img {
    width: calc(100% / 3 - (40px / 2));
}
.tpl-box .img {
    position: relative;
    border: dotted 2px rgb(240, 240, 240);
    height: 200px;
}
/* img タグが存在する場合に border を none にする */
.tpl-box .img:has(img) {
    border: none;
    height: fit-content;
}
.tpl-box .img::before {
    content: "ここに画像を挿入";
    color: rgb(150, 150, 150);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: -1;
    width: 100%;
    text-align: center;
}
.tpl-box .img:has(img)::before {
    content: ""; /* contentを空にする */
    display: none; /* 擬似要素を非表示にする */
}
.tpl-box .img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
}
.tpl-box .img video {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
}
.tpl-box .img span.mce-preview-object.mce-object-video {
    width: 100%;
}
.tpl-box h3 {
    margin-top: 10px;
    margin-bottom: 0;
}
.tpl-box p {
    margin-top: 0;
    margin-bottom: 0;
}
@media (max-width: 810px) {
    .tpl-box:has(> :nth-child(n+2)) > * ,
    .tpl-box:has(> :nth-child(n+2)) > .tpl-content {
        width: 100%;
    }
    .tpl-box:has(> :nth-child(n+3)) > * ,
    .tpl-box:has(> :nth-child(n+3)) > .tpl-content {
        /* 3つの要素の場合 */
        width: 100%;
    }
    .tpl-box:has(> :nth-child(n+3)) > * ,
    .tpl-box:has(> :nth-child(n+4)) > .tpl-content {
        /* 4つの要素の場合 */
        width: calc(50% - 10px);
    }
    .tpl-box.medium .text{
        width: 100%;
    }
    .tpl-box.medium .img{
        width: 100%;
    }
}

/*preview用*/
.sp-view .tpl-box:has(> :nth-child(n+2)) > * ,
.sp-view .tpl-box:has(> :nth-child(n+2)) > .tpl-content {
    width: 100%;
}
.sp-view .tpl-box:has(> :nth-child(n+3)) > .tpl-content {
    /* 3つの要素の場合 */
    width: 100% !important;
}
.sp-view .tpl-box:has(> :nth-child(n+4)) > .tpl-content {
    /* 4つの要素の場合 */
    width: calc(50% - 10px) !important;
}

/*info-content*/
.info-content dl {
    margin-top: 2em;
}
.info-content dt {
    width: fit-content;
    color: var(--color-white);
    background: var(--color-darkblue);
    border-radius: 100px;
    padding: 0.5em 2em;
}
.info-content dd {
    margin-left: 0;
    margin-top: 1em;
}