@charset "utf-8";
body {
    background-position: center top;
    background-repeat: no-repeat;
}

@media screen and (min-width: 1921px) {
    body {
        background-size: cover;
    }
}
.tab-outer .tab-menu {
    padding-inline: 20px;
}
.tab-outer .tab-menu li {
    width: calc(100% / 3);
}

.entry-content {
    line-height: 1.8;
}
.entry-content > *:not(.tab-outer) {
    max-width: 1292px;
    padding-inline: var(--paddings);
    margin: 0 auto;
}
.entry-content .section .heading {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 80px;
}
.entry-content .section .heading .jp {
    font-size: 2.1875rem;
    font-weight: bold;
}
.entry-content .section .heading .en {
    font-size: 1.1875rem;
    font-weight: bold;
}

@media screen and (max-width: 640px) {
    .entry-content .section .heading {
        flex-direction: column;
        gap: 5px;
    }
}

/* About us */
body:has(#company) {
    background-image: url("../../images/contents/company/company-bg.svg");
}
.companyLayout .section .heading .en {
    font-family: YuGothic, 'Yu Gothic', sans-serif;
}
.companyLayout #section01 .content01 .companyinfo {
    max-width: 1092px;
    margin: 0 auto;
}
.companyLayout #section01 .content01 .companyinfo th,
.companyLayout #section01 .content01 .companyinfo td {
    font-size: 15px;
    line-height: 2;
    padding-block: 5px;
}
.companyLayout #section01 .content01 .companyinfo th {
    text-align: left;
    vertical-align: top;
}
.companyLayout #section01 .content01 .companyinfo td span {
    display: inline-block;
}
.companyLayout #section01 .content01 .companyinfo td ul {
    list-style: disc;
    line-height: 2;
    padding-left: 1.5em;
}
.companyLayout #section01 .content01 .companyinfo td dl {
    line-height: 1.6;
}
.companyLayout #section01 .content01 .companyinfo td dl dt {
    font-weight: bold;
}
.companyLayout #section01 .content01 .companyinfo td a:hover {
    text-decoration: underline;
    opacity: 0.7;
}

@media screen and (max-width: 1024px) {
    .companyLayout #section01 .content01 .companyinfo th,
    .companyLayout #section01 .content01 .companyinfo td {
        display: block;
    }
    .companyLayout #section01 .content01 .companyinfo th {
        padding: 0;
    }
    .companyLayout #section01 .content01 .companyinfo td {
        padding: 0 0 12px 0;
    }
    .companyLayout #section01 .content01 .companyinfo td b {
        display: block;
    }
}

/* service */
body:has(#service)  {
    background-image: url("../../images/contents/our-service/our-service-bg.svg");
}
.serviceLayout .tab-contents {
    display: flex;
    flex-direction: column;
}
.serviceLayout .section {
    position: relative;
    padding-block: 40px 80px;
}
.serviceLayout .section-body {
    background-color: #fff;
    border-radius: 26px;
    box-shadow: 0 0 8px 2px rgba(0,0,0,0.08);
    position: relative;
}

.serviceLayout .section-body .content {
    max-width: 1132px;
    padding: 60px var(--paddings) 120px;
    margin: 0 auto;
}
.serviceLayout .section-body .content .heading {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.serviceLayout .section-body .content .heading h2 {
    font-size: 35px;
    text-align: left;
    font-weight: bold;
    line-height: 1;
}
.serviceLayout .section-body .content .heading h2 span {
    font-size: 19px;
}
.serviceLayout .section-body .content01 .comment,
.serviceLayout .section-body .content03 #section03-sub1 {
    max-width: 750px;
}

.serviceLayout .section .main-img {
    position: absolute;
    z-index: 10;
    overflow: hidden;
}
.serviceLayout #section02 .main-img {
    border-radius: 45px;
}
.serviceLayout #section01.section .main-img {
    top: 3%;
    right: -27%;  
}
.serviceLayout #section02.section .main-img {
    top: 22.5%;
    left: -31%;  
}
.serviceLayout #section03.section .main-img {
    top: 15%;
    right: -17%;  
}


.serviceLayout .section .number {
    display: inline-block;
    color: #EEEEEE;
    font-size: 250px;
    font-family: 'Century Gothic', sans-serif;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: -14%;
    right: 3.5%;
}
.serviceLayout #section02 .number{
    top: -11%;
}
.serviceLayout #section03 .number {
    top: -18%;
}

.serviceLayout .section-body .content {
    position: relative;
    z-index: 11;
}
.serviceLayout .section-body .content .heading .icon {
    width: 100%;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.serviceLayout #section01 .content .heading .icon {
    max-width: 156px;
    aspect-ratio: 156 / 104;
    background-image: url("../../images/contents/our-service/image-web-icon.svg");
}
.serviceLayout #section02 .content .heading .icon {
    max-width: 141px;
    aspect-ratio: 141 / 137;
    mask-image: url("../../images/contents/our-service/image-web-system-icon.svg");
}
.serviceLayout #section03 .content .heading .icon {
    max-width: 160px;
    aspect-ratio: 160 / 124;
    mask-image: url("../../images/contents/our-service/image-dtp-icon.svg");
}
.serviceLayout #section02 .content .heading .icon,
.serviceLayout #section03 .content .heading .icon {
    mask-position: center center;
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #64737A;
}

.serviceLayout .section-body .content .comment {
    margin-bottom: 48px;
}
.serviceLayout .section-body .content .comment p {
    font-size: 16px;
    font-weight: bold;
}
.serviceLayout .section-body .content .sub-section {
    font-size: 15px;
}
.serviceLayout .section-body .content .sub-section:not(:last-child) {
    margin-bottom: 80px;
}
.serviceLayout .section-body .content .sub-section h3 {
    display: inline-block;
    font-size: 20px;
    color: #1C8A77;
    font-weight: bold;
    margin-bottom: 24px;
}
.serviceLayout .section-body .content .sub-section h3::before {
    content: "";
    width: 33px;
    aspect-ratio: 1 / 1;
    display: inline-block;
    background-color: #1C9A77;
    border-radius: 100%;
    vertical-align: middle;
    margin-right: 0.5em;
}
.serviceLayout .supplement {
    display: inline-block;
    color: #D80000;
}
.serviceLayout .button-position {
    width: 100%;
    text-align: center;
    padding-inline: var(--paddings);
    position: absolute;
    bottom: -40px;
    z-index: 100;
}
.serviceLayout .button {
    display: block;
    max-width: 460px;
    width: 100%;
    font-size: 27px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background-color: #1C9A77;
    border-radius: 1rem;
    transition: .3s;
    padding-block: 1rem;
    margin: 0 auto;
}
.serviceLayout .button:hover {
    background-color: #8BC145;
}

.serviceLayout .main-img02 {
    display: none;
}
.serviceLayout .main-img02 img {
    display: block;
    margin: 40px auto 60px;
}
.serviceLayout #section01 .main-img02 img,
.serviceLayout #section02 .main-img02 img {
    border-radius: 36px;
}

.serviceLayout #section01 .content01 #section01-sub1 h3 {
    margin-right: 40px;
}
.serviceLayout #section01 .content01 #section01-sub1 .item-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(290px - clamp(45px, 3.6458vw, 95px)), 1fr));
    gap: clamp(45px, 3.6458vw, 95px);
    margin-bottom: 36px;
}
.serviceLayout #section01 .content01 #section01-sub1 .item-list .item {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    gap: 0;
}
.serviceLayout #section01 .content01 #section01-sub1 .item .num {
    font-size: 45px;
    color: #1B9977;
    text-align: center;
    margin-bottom: 15px;
}
.serviceLayout #section01 .content01 #section01-sub1 .item .img {
    text-align: center;
}
.serviceLayout #section01 .content01 #section01-sub1 .item .title {
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    margin-block: 15px;
}
.serviceLayout #section01 .content01 #section01-sub1 .item .desc {
    font-size: 15px;
}

.serviceLayout #section01 .content01 .pr-comment {
    font-weight: bold;
    color: #1C8A77;
    text-align: center;
}
.serviceLayout #section01 .content01 .pr-comment.__l-size {
    font-size: 29px
}
.serviceLayout #section01 .content01 .pr-comment.__s-size {
    font-size: 16px;
}

.serviceLayout #section02 .content02 .comment p {
    margin-bottom: 30px;
}
.serviceLayout #section02 .content02 .comment ul li {
    font-size: 15px;
    text-indent: -1.25em;
    padding-left: 1.25em;
    &::before {
        content: "―";
    }
}
.serviceLayout #section02 .content02 #section02-sub1 .step-list .step:not(:last-child) {
    margin-bottom: 60px;
}
.serviceLayout #section02 .content02 #section02-sub1 .step-list .step .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    span {
        color: #1C8A77;
    }
}
.serviceLayout #section02 .content02 #section02-sub1 .step-list .step .text > *:nth-last-child(n+2):not(last-child),
.serviceLayout #section02 .content02 #section02-sub1 .step-list .step .text > *:nth-last-child(n+2) ~ *:not(:last-child) {
    margin-bottom: 40px;
}
.serviceLayout #section02 .content02 #section02-sub1 .step-list .step .text > *:only-child {
    margin: 0;
}
.serviceLayout #section02 .content02 #section02-sub1 .step-list .step ul li::before {
    content: "･";
}
.serviceLayout #section02 .content02 #section02-sub2 ol {
    font-weight: bold;
}

.serviceLayout #section03 .content03 #section03-sub2 ul {
    width: 100%;
    display: flex;
    gap: 45px;
    margin-bottom: 40px;
}
.serviceLayout #section03 .content03 #section03-sub2 ul li {
    aspect-ratio: 337 / 225;
}
.serviceLayout #section03 .content03 #section03-sub2 ul li img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.serviceLayout #section03 .content03 #section03-sub2 .profile p:nth-child(1) { font-weight: bold; }
.serviceLayout #section03 .content03 #section03-sub2 .profile p:nth-child(1) span { font-size: 20px; }
.serviceLayout #section03 .content03 #section03-sub2 .profile p:nth-child(3) a { text-decoration: underline; }
.serviceLayout #section03 .content03 #section03-sub2 .profile p:nth-child(3) a:hover {
    text-decoration: none;
    opacity: 0.7;
}

@media screen and (max-width: 1024px) {
    .serviceLayout .section-body .content {
        padding: 20px 20px 120px;
    }
    .serviceLayout .main-img {
        display: none;
    }
    .serviceLayout .main-img02 {
        display: block;
    }
    .serviceLayout #section01 .number,
    .serviceLayout #section02 .number,
    .serviceLayout #section03 .number {
        right: 0;
    }
    .serviceLayout #section01 .number,
    .serviceLayout #section02 .number {
        top: -8%;
    }
    .serviceLayout #section03 .number {
        top: -12%;
    }
    
    .serviceLayout #section03 .content03 #section03-sub2 ul {
        flex-wrap: wrap;
    }
    .serviceLayout #section03 .content03 #section03-sub2 ul li {
        width: calc(50% - 45px);
    }
}
@media screen and (max-width: 640px) {
    .serviceLayout .section-body .content .heading h2 {
        font-size: 25px;
    }
    .serviceLayout .section-body .content .heading h2 span {
        font-size: 15px;
    }
    .serviceLayout #section01 .number,
    .serviceLayout #section02 .number {
        top: -6%;
    }
    .serviceLayout #section03 .number {
        top: -10%;
    }
    .serviceLayout .section-body .content {
        padding: 12px 12px 120px;
    }
    .serviceLayout #section01 .content01 #section01-sub1 .item-list {
        grid-template-columns: 1fr;
    }
    .serviceLayout #section03 .content03 #section03-sub2 ul {
        flex-direction: column;
        align-items: center;
        flex-wrap: none;
    }
    .serviceLayout #section03 .content03 #section03-sub2 ul li {
        width: 100%;
    }
}

/*=== other service ===*/
body:has(#other-service .otherServiceLayout) {
    background-image: url("../../images/contents/other-service/bg-other-service.svg");
    background-position: center 250px;
}
.otherServiceLayout .services .box {
    display: block;
    background-color: #fff;
    padding: 20px;
    border-radius: 19px;
    box-shadow: 0px 0px 12px 5px rgba(34,34,34, 0.08);
}

.otherServiceLayout .services {
    display: grid;
    grid-auto-rows: 1fr;
    row-gap: 70px;
}

.otherServiceLayout .services .box .inBox {
    display: flex;
    gap: 40px;
}
.otherServiceLayout .services .inBox .img {
    max-width: 360px;
    width: 100%;
    aspect-ratio: 36 / 25;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
}
.otherServiceLayout .services .box01 .inBox .img,
.otherServiceLayout .services .box03 .inBox .img {
    display: grid;
    align-items: center;
    justify-content: center;
}
.otherServiceLayout .services .box01 .inBox .img,
.otherServiceLayout .services .box03 .inBox .img {
    padding: 20px;
}
.otherServiceLayout .services .box01 .inBox .img img,
.otherServiceLayout .services .box03 .inBox .img img {
    object-fit: contain;
    transition: .3s ease;
}
.otherServiceLayout .services .box02 .inBox .img img {
    width: 100%;
    object-fit: cover;
    transition: .3s ease;
}
.otherServiceLayout .services .box .inBox:hover .img img {
    transform: scale(1.1);
}

.otherServiceLayout .services .inBox .desc .text01 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
.otherServiceLayout .services .inBox .desc .text01 span {
    display: inline-block;
}

@media screen and (max-width: 992px) {
    .otherServiceLayout .services {
        justify-items: center;
    }
    .otherServiceLayout .services .box {
        max-width: 400px;
    }
    .otherServiceLayout .services .box .inBox {
        flex-direction: column;
    }
    .otherServiceLayout .services .inBox .desc .text01 {
        font-size: 16px;
    }
}

/*=== contact&download ===*/
input[type=date], input[type=email], input[type=number], input[type=password], 
input[type=tel], input[type=text], input[type=url],
select, textarea {
    font-size: 1rem;
    padding: .8em 1em;
    border: 1px solid #bbb;
    width: 100%;
}
body:has(#contact) {
    background-image: url("../../images/contents/bg-contact.svg");
}
body:has(#download) {
    background-image: url("../../images/contents/bg-download.svg");
}
body:has(#contact),body:has(#download) {
    background-position: center 300px;
}

.contactLayout dd.size-s input {
    max-width: 445px;
}
.contactLayout dd .address01 input,
.contactLayout dd .address02 input {
    max-width: 535px;
}
.contactLayout .submit input:disabled {
    opacity: .7;
}
.entry-content .contactLayout {
    max-width: 1040px;
}
.contactLayout .required {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    background-color: #D90000;
    line-height: 1.5;
    border-radius: 7px;
    padding: .25em .5em;
}
.contactLayout .required-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 10px;
}
.contactLayout .select dd label, .contactLayout .privacy-check label {
    cursor: pointer;
}

.contactLayout dl > * {
    display: inline-block;
    text-align: left;
    font-weight: 500;
    vertical-align: top;
}
.contactLayout dl { 
    display: flex;
    gap: 20px;
    align-items: center;
    border-top: 1px solid #000;
    padding-block: 35px;
}
.contactLayout dl.align-top {
    align-items: flex-start;
}
.contactLayout dl.first {
    border: none;
}
.contactLayout dl dt {
    font-size: 19px;
    max-width: 26.6%;
    width: 100%;
}
.contactLayout dl dd { 
    flex-grow: 1;
}
.contactLayout .selects dd label,
.contactLayout .selects dd label input{
    cursor: pointer;
}

.contactLayout .privacy dl dt,
.contactLayout .privacy dl dd,
.contactLayout .privacy ul li {
    line-height: 160%;
}
.contactLayout .privacy dt {
    font-size: 15px;
    font-weight: bold;
    max-width: 100%;
    width: 100%;
    display: block;
    margin: 0;
}
.contactLayout .privacy ul li {
    margin: 4px 0;
}
.contactLayout .privacy ol.indent {
    padding-left: 3em;
    list-style-type: decimal;
}

.contactLayout .zip .post-number {
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin-bottom: 20px;
}
.contactLayout .address01 {
    margin-bottom: 10px;
}
.contactLayout .privacy,
.contactLayout .privacy > * {
    display: block;
    width: 100%;
}.contactLayout .privacy dt {
    margin-bottom: 10px;
}
.contactLayout .privacy-box {
    width: 100%;
    height: 243px;
    background-color: #fff;
    border: 1px solid #BBBBBB;
    padding: 1em;
    overflow-y: scroll;
}
.contactLayout .privacy-box h4 {
    font-size: 1rem;
    background-color: #ccc;
    padding: .5em;
    margin-bottom: 10px;
}
.contactLayout .privacy-box h4 span {
    display: inline-block;
}
.contactLayout .privacy-box h4,
.contactLayout .privacy-box dt {
    font-weight: bold
}
.contactLayout .privacy-box dl {
    display: block;
    padding: 0;
    marigin: 0;
    border: none;
}
.contactLayout .privacy-box dl > * {
    font-size: 15px;
    display: block;
    width: 100%;
}
.contactLayout .privacy-box dl dt {
    margin-top: 15px;
}
.contactLayout .privacy-box ul {
    padding-left: 1.5em;
    list-style: disc;
}

.contactLayout .privacy-check {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #000;
    background-color: #FF9999;
    padding-block: 20px;
    margin-bottom: 90px;
}
.contactLayout .privacy-check input {
    cursor: pointer;
}

.contactLayout .submit input {
    font-size: 33px;
    display: block;
    max-width: 570px;
    width: 100%;
    padding: 40px 20px;
    margin: 0 auto;
    color: #fff;
    font-weight: bold;
    background-color: #1D9A78;
    border: 3px solid #fff;
    border-radius: 100px;
    cursor: pointer;
    transition: .25s;
}
.contactLayout .submit input:not(:disabled):hover {
    border-color: #1D9A78;
    color: #1D9A78;
    background-color: #fff;
}
 .wpcf7-list-item {
    margin: 0 1em 0 0;
}

@media screen and (max-width: 992px) {
    .contactLayout dl,
    .contactLayout dl > *,
    .contactLayout dl dt,
    .contactLayout dl dd {
        display: block;
        width: 100%;
        margin: 0;
    }
    .contactLayout dl dt {
        max-width: 100%;
        font-size: 17px;
        margin-bottom: 10px;
    }
    .contactLayout .required-label {
        justify-content: flex-start;
        column-gap: 30px;
    }
    .contactLayout .zip .post-number span {
        font-size: 14px;
    }
    .contactLayout .privacy-box h4,
    .contactLayout .privacy-box p {
        font-size: 14px;
    }
    .contactLayout .privacy-box dl > * {
        font-size: 13px;
    }
    .contactLayout .privacy-check {
        font-size: 16px;
    }
}
@media screen and (max-width: 640px) {
    .contactLayout .zip .post-number {
        column-gap: 10px;
    }
    .contactLayout .zip .post-number span {
        font-size: 12px;
    }
}