
/* ==============================
  メインコンテンツ
============================== */
.main-content {
    width: 70.31%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 5.8%;
}
.content_title-wrap {
    margin-bottom: 4%;
}
.content_title-wrap .text-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.content_title-wrap .text-head .category {
    background-color: #000;
    width: 23.5%;
    color: #FFF;
    text-align: center;
    font-size: min(1.4vw, 1.8rem);
    padding: 0.386em 0;
    font-weight: 700;
}
.content_title-wrap .text-head .product {
    font-size: min(1.25vw, 1.6rem);
    margin: 0 0 0 1.8125em;
    vertical-align: middle;
    font-weight: 700;
}
.content_title-wrap .text-head .product span {
    font-size: min(1.09vw, 1.4rem);
    margin-right: 1em;
    font-weight: 400;
}
.content_title-wrap h3 {
    font-size: min(3.1251vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 4.75%;
}
.content_title-wrap .text-foot {
    border-top: 1px solid #BCBCBC;
    margin-top: 2.2%;
    padding-top: 2.2%;
    font-weight: 700;
    font-size: min(0.93vw, 1.2rem);
}
.content_title-wrap .text-foot span {
    margin-right: 0.91em;
    font-weight: normal
}
.content_title-wrap .text-foot .service ul,
.content_title-wrap .text-foot .purpose ul {
    display: inline;
}
.content_title-wrap .text-foot .service ul li,
.content_title-wrap .text-foot .purpose ul li {
    display: inline;
}
.content_title-wrap .text-foot .service ul li + li::before {
    content: "、";
}
.content_title-wrap .text-foot .purpose ul li + li {
    margin-left: min(0.93vw, 1.2rem);
}
.content_title-wrap .text-foot .purpose {
    margin-top: 0.6%;
}
@media print, screen and (max-width: 768px) {
    .main-content {
        width: 100%;
        max-width: 100%;
        margin-top: 5.7vw
    }
    .content_title-wrap {
        margin-bottom: 8vw;
    }
    .content_title-wrap .text-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 2.6vw;
    }
    .content_title-wrap .text-head .category {
        min-width: 26.6vw;
        width: auto;
        font-size: 3.7vw;
        padding: 0.17em 1.071em 0.25em;
    }
    .content_title-wrap .text-head .product {
        font-size: 3.2vw;
        margin: 2vw 0 0;
    }
    .content_title-wrap .text-head .product span {
        font-size: 3.2vw;
        margin-right: 0.61em;
    }
    .content_title-wrap h3 {
        font-size: 5.3vw;
        margin-top: 2vw;
        padding: 0 2.6vw;
    }
    .content_title-wrap .text-foot {
        margin-top: 2.8vw;
        padding: 4.9vw 2.6vw 0;
        font-size: 3.2vw;
    }
    .content_title-wrap .text-foot span {
        margin-right: 0;
        font-size: 3.2vw;
    }
    .content_title-wrap .text-foot .purpose ul li + li {
        margin-left: 2.9vw;
    }
    .content_title-wrap .text-foot .purpose {
        margin-top: 1.06vw;
    }
}


/* ==============================
  目次
============================== */
.table_of_contents,
#toc_container,
#ez-toc-container {
    margin-top: 7.81%
}
.table_of_contents .toc_title,
#toc_container .toc_title,
#ez-toc-container .ez-toc-title-container {
    font-size: min(1.875vw, 2.4rem);
    font-weight: 700;
}

.table_of_contents ul,
#toc_container ul,
#ez-toc-container ul {
    border-top: 1px solid #BCBCBC;
    border-bottom: 1px solid #BCBCBC;
    margin-top: 1.25%;
    padding: 2.3% 0;
    font-size: min(1.25vw, 1.6rem);
    margin-bottom: 7.8125%;
}
.table_of_contents ul li + li,
#toc_container ul li + li,
#ez-toc-container ul li + li {
    margin-top: 1.875em;
}
.table_of_contents ul li a::before,
#toc_container ul li a::before,
#ez-toc-container ul li a::before {
    content: "";
    display: block;
    background-color: #000;
    height: 2px;
    width: 0.75em;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;

}
.table_of_contents ul li a,
#toc_container ul li a,
#ez-toc-container ul li a {
    position: relative;
    color: #000;
    padding-left: 1.93em;
    text-decoration: underline;
}
/*.table_of_contents ul li a:hover {
    color: #0153FF;
}*/
@media print, screen and (max-width: 768px) {
    .table_of_contents,
    #toc_container,
    #ez-toc-container {
        margin: 8vw 0 0;
    }
    .main-content .content-text-wrap .table_of_contents p.toc_title,
    #toc_container .toc_title,
    #ez-toc-container .ez-toc-title-container {
        font-size:3.2vw;
    }

    .table_of_contents ul,
    #toc_container ul,
    #ez-toc-container ul {
        margin-top: 2.6vw;
        padding: 6.6vw 0;
        font-size: 3.2vw;
        margin-bottom:8vw;
    }
    .table_of_contents ul li + li,
    #toc_container ul li + li,
    #ez-toc-container ul li + li {
        margin-top: 4vw;
    }
    .table_of_contents ul li a::before,
    #toc_container ul li a::before,
    #ez-toc-container ul li a::before {
        background-color: #0053FF;
        height: 0.26vw;
        width: 1.42vw;
    }
    .table_of_contents ul li a,
    #toc_container ul li a,
    #ez-toc-container ul li a {
        color: #0053FF;
        padding-left: 3.67vw;
    }

}

.main-content .content-text-wrap p {
    font-size: min(1.4vw, 1.8rem);
    line-height: 1.8;
    margin-top: 2.3%;
}
.main-content .content-text-wrap h2.wp-block-heading,
#other-list h4 {
    position: relative;
    font-size: min(2.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 9.3%;
    padding-left: 0.468em;
}
.main-content .content-text-wrap h2.wp-block-heading::before,
#other-list h4::before {
    content: "";
    display: block;
    background-color: #0053FF;
    height: 1.2em;
    width: 4px;
    position: absolute;
    top: 0;
    left: 0;
}
.main-content .content-text-wrap h3.wp-block-heading {
    font-size: min(1.875vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 9.3%;
}
.main-content .content-text-wrap img {
    margin-top: 2.3%;
    height: auto;
}

.main-content .content-text-wrap ul.check-list,
.main-content .content-text-wrap ul.wp-block-list {
    margin-top: 2.3%;
}
.main-content .content-text-wrap ul.check-list li,
.main-content .content-text-wrap ul.wp-block-list li {
    font-size: min(1.4vw, 1.8rem);
    line-height: 1.8;
    position: relative;
    padding-left: 1.5em;
    font-weight: 700;
}
.main-content .content-text-wrap ul.check-list li::before,
.main-content .content-text-wrap ul.wp-block-list li::before {
    content: "";
    display: block;
    background-image: url(../common/images/check.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 0.8em;
    width: 0.8em;
    position: absolute;
    top: 0.5em;
    left: 0;
}
@media print, screen and (max-width: 768px) {
    .main-content .content-text-wrap {
        padding: 0 2.6vw;
    }

    .main-content .content-text-wrap p {
        font-size: 3.7vw;
        line-height: 2;
        margin-top: 6.6vw;
    }
    .main-content .content-text-wrap h2.wp-block-heading,
    #other-list h4{
        font-size: 5.3vw;
        margin-top: 16vw;
        padding-left: 0.34em;
    }
    .main-content .content-text-wrap h2.wp-block-heading::before,
    #other-list h4::before {
        width: 0.53vw;
    }
    .main-content .content-text-wrap h3.wp-block-heading {
        font-size: 4vw;
        margin-top: 16vw;
    }
    .main-content .content-text-wrap img {
        margin-top: 6.6vw;
    }

    .main-content .content-text-wrap ul.check-list,
    .main-content .content-text-wrap ul.wp-block-list {
        margin-top: 6.6vw;
    }
    .main-content .content-text-wrap ul.check-list li,
    .main-content .content-text-wrap ul.wp-block-list li {
        font-size: 3.7vw;
        padding-left: 6.1vw;
    }
    .main-content .content-text-wrap ul.check-list li::before,
    .main-content .content-text-wrap ul.wp-block-list li::before {
        height: 4.26vw;
        width: 4.26vw;
        top: 0.3em;
    }
}

/* ==============================
  あわせて読みたい
============================== */
.main-content .more-cases-box {
    margin: 8.5% auto;
}
.main-content .more-cases-item +  .more-cases-item {
    margin-top: 4.25%;
}
.main-content .more-cases-item a {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    box-shadow: 0px 4px 10px 0px #00000026;
    color: #000;
    text-decoration: none;
}
/*.main-content .more-cases-item a:hover {
    color: #0153FF;
}*/
.main-content .more-cases-item .image {
    position: relative;
    width: 39.1%;
    aspect-ratio: 352 / 197;
    overflow: hidden;
}
.main-content .more-cases-item .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    margin-top: 0;
}
.main-content .more-cases-item .text {
    width: 60.9%;
    box-sizing: border-box;
    padding: 3% 2.2% 3% 3%;
}
.main-content .more-cases-item .text h3 {
    font-size: min(0.93vw, 1.2rem);
    font-weight: 700;
}
.main-content .more-cases-item .text h4 {
    font-size: min(1.4vw, 1.8rem);
    font-weight: 700;
    margin-top: 1.8%;
    padding-left: 0;
    line-height: 1.8;
}
.main-content .more-cases-item .text h4::before {
    display: none;
}
.main-content .more-cases-item .btn-more {
    position: absolute;
    right: 2.2%;
    bottom: 10.1%;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}
/*.main-content .more-cases-item a:hover .btn-more {
    background-color: #0153FF;
}*/
.main-content .more-cases-item .btn-more img {
    width: 13.41px;
    height: 12px;
}
.main-content .message-box {
    display: block;
    border-top: 1px solid #000;
    margin-top: 8.5%;
}
.main-content .message-box .message-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding-top: 2.7%;
}
.main-content .message-box .message-item .label {
    text-align: center;
    color: #FFF;
    background-color: #000;
    border-radius: 0 0 0.83em 0.83em;
    font-size: min(0.93vw, 1.2rem);
    width: 11.66em;
    padding: 0.575em 0 0.875em;
    position: absolute;
    top: 0;
    right: 2.2%;
}
.main-content .message-box .message-item .image {
    width: 16.2%;
    height: 11.406vw; /* 146px */
}
.main-content .message-box .message-item .image img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 50em;
}
.main-content .message-box .message-item .text {
    width: 80%;
}
.main-content .message-box .message-item .text .name {
    font-size: min(1.4vw, 1.8rem);
    font-weight: 700;
}
.main-content .message-box .message-item .text .name span {
    font-size: min(0.93vw, 1.2rem);
    font-weight: normal;
    margin-left: 1.33em;
}
.main-content .message-box .message-item .text p {
    font-size: min(1.09vw, 1.4rem);
    margin-top: 1.3%;
}
@media screen and (min-width: 1280px) {
    .main-content .message-box .message-item .image {
        height: 146px;
    }
}
@media print, screen and (max-width: 768px) {
    .main-content .more-cases-box {
        display: block;
        width: 86.6vw;
        margin: 16vw auto;
    }
    .main-content .more-cases-item a {
        position: relative;
        display: block;
        box-shadow: 0px 4px 10px 0px #00000026;
    }
    .main-content .more-cases-item .image {
        width: 100%;
    }
    .main-content .more-cases-item .text {
        padding: 1.7vw 2vw 8.2vw;
        width: auto;
    }
    .main-content .more-cases-item .text h3 {
        font-size: 3.2vw;
        font-weight: 700;
    }
    .main-content .more-cases-item .text h4 {
        font-size: 3.7vw;
        font-weight: 700;
        margin-top: 1.3vw;
    }
    .main-content .more-cases-item .btn-more {
        position: absolute;
        right: 2.6vw;
        bottom:  2.2vw;
        width: 4.8vw;
        height: 4.8vw;
    }
    .main-content .more-cases-item .btn-more img {
        width: 2.081vw;
        height: 1.867vw;
    }
    .main-content .message-box {
        display: block;
        border-top: 1px solid #000;
        width: 94.66vw;
        margin: 16vw auto 0;
    }
    .main-content .message-box .message-item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
        padding-top: 10.73vw;
        padding-right: 4.4vw;
    }
    .main-content .message-box .message-item .label {
        text-align: center;
        color: #FFF;
        background-color: #000;
        border-radius: 0 0 1.3vw 1.3vw;
        font-size: 3.2vw;
        width: 15.78em;
        padding: 0.5em 0;
        position: absolute;
        top: 0;
        right: 3.3vw;
    }
    .main-content .message-box .message-item .image {
        width: 24.4vw;
        height: 24.4vw;
    }
    .main-content .message-box .message-item .text {
        width: 61.2vw;
    }
    .main-content .message-box .message-item .text .name {
        font-size: 3.2vw;
        font-weight: 700;
    }
    .main-content .message-box .message-item .text .name span {
        font-size: 3.2vw;
        font-weight: normal;
        margin-left: 1.33em;
    }
    .main-content .message-box .message-item .text p {
        font-size: 3.2vw;
        margin-top: 1.3vw;
    }
}



/* ==============================
  お仕事に関する質問・相談
============================== */
.main-content .contact {
    background-color: #0153FF;
    margin: 12.89% auto 0;
    color: #FFF;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.main-content .contact .image {
    position: relative;
    width: 42.5%;
    aspect-ratio: 191 / 164;
    overflow: hidden;
}
.main-content .contact .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 0;
}
.main-content .contact .text {
    width: 57.5%;
    box-sizing: border-box;
    padding: 0 6.2% 0 7%;
}
.main-content .contact .text h2 {
    font-size: min(2.5vw, 3.2rem);
    font-weight: 700;
}
.main-content .contact .text p {
    font-size: min(1.4vw, 1.8rem);
    line-height: 1.8;
    margin-top: 2.2%;
}
.main-content .contact .text .btn {
    margin-top: 4.2%;
}
.main-content .contact .text .btn a {
    width: 16.095em;
}
/*.main-content .contact .text .btn a:hover {
    color: #0153FF;
}
.main-content .contact .text .btn a:hover::before {
    background: #0153FF;
}*/
@media print, screen and (max-width: 768px) {
    .main-content .contact {
        width: 86.6vw;
        margin: 6.6vw auto 0;
        flex-direction: column;
    }
    .main-content .contact .image {
        width: 100%;
        aspect-ratio: 65 / 36;
    }
    .main-content .contact .text {
        width: 100%;
        padding: 4vw 5.3vw 4.2vw;
    }
    .main-content .contact .text h2 {
        font-size: 4.2vw;
    }
    .main-content .contact .text p {
        font-size: 3.2vw;
        margin-top: 4vw;
    }
    .main-content .contact .text .btn {
        margin-top: 4vw;
        margin-left: 0;

    }
    .main-content .contact .text .btn a {
        font-size: 3.2vw;
        width: 16.95em;
        max-width: 51.46vw;
        margin: 0 auto;
    }
}

/* ==============================
  その他の事例
============================== */
#other-list {
    width: 70.31%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 8.5%;
}
#other-list h4 {
    margin-bottom: 1.5em;
}
#other-list section a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    text-decoration: none;
}
/*#other-list section a:hover {
    color: #0153FF;
}*/
#other-list section + section {
    margin-top: 2.3%;
    padding-top: 2.3%;
    border-top: 1px solid #CFCFCF;
}

#other-list section .image {
    position: relative;
    width: 17.7%;
    aspect-ratio: 32 / 19;
    overflow: hidden;
}
#other-list section .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 0;
}
#other-list section .text {
    width: 78.2%;
}
#other-list section .text .text-head {
    font-size: min(0.93vw, 1.2rem);
}
#other-list section .text .text-head span {
    display: inline-block;
    width: 1.8%; /* 12px */
    height: 1.8%;
    margin-left: 10px;
}
#other-list section .text h5 {
    font-size: min(1.25vw, 1.6rem);
    font-weight: 700;
    margin-top: 1.1%;
}
#other-list section .text .text-foot,
#other-list section .text .text-foot .tag {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: min(0.93vw, 1.2rem);
}
#other-list section .text .text-foot {
    margin-top: 1.1%;
}
#other-list section .text .text-foot .tag,
#other-list section .text .text-foot .tag li + li {
    margin-left: 1em;
}
@media print, screen and (max-width: 768px) {
    #other-list {
        width: 94.66vw;
        max-width: 94.66vw;
        margin-top: 16vw;
    }
    #other-list h4 {
        margin-bottom: 6.6vw;
    }
    #other-list section + section {
        margin-top: 4vw;
        padding-top: 4vw;
    }

    #other-list section .image {
        width: 32vw;
        aspect-ratio: 3 / 2;
    }
    #other-list section .text {
        width: 56.9vw;
        margin-right: 2vw;
    }
    #other-list section .text .text-head {
        font-size: 3.2vw;
    }
    #other-list section .text .text-head span {
        width: 3vw;
        height: 3vw;
        margin-left: 2vw;
        line-height: 0.75;
    }
    #other-list section .text h5 {
        font-size: 3.2vw;
        margin-top: 1.73vw;
    }
    #other-list section .text .text-foot,
    #other-list section .text .text-foot .tag {
        font-size: 3.2vw;
    }
    #other-list section .text .text-foot {
        margin-top: 1.73vw;
    }

}
