@charset "utf-8";
/* 共用 */
.tab-outer .tab-menu li {
    width: calc(100% / 3);
}
.thumbnail img, .mainimage img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 30px;
    grid-auto-rows: 1fr;
}
.works-list.no-item {
    display: block;
}
.works-list .works-item .thumbnail {
    aspect-ratio: 350 / 220;
    border: 1px solid #aaa;
    box-shadow: 0px 0px 12px 4px rgb(170,170,170);
    overflow: hidden;
    margin-bottom: 16px;
}
.works-list .works-item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease;
}
.works-list .works-item .no--thumbnail {
    background-color: #fff;
    display: grid;
    justify-items: center;
    align-items: center;
    padding: 20px;
}
.works-list .works-item .no--thumbnail img {
    width: 50%;
    height: auto;
    object-fit: contain;
}
.works-list .works-item .title {
    font-size: 17px;
    font-weight: bold;
    margin-top: 10px;
}
.works-list .works-item .url {
    font-size: 12px;
}
.works-list .works-item a:hover .thumbnail img {
    transform: scale(1.1);
}

@media screen and (max-width: 992px) {
    .works-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 640px) {
    .works-list {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .works-list .works-item {
        width: 100%;
        max-width: 380px;
    }
}

/* ========================= */
/* archive */
/* ========================= */
#works .inner {
    max-width: clamp(1274px, calc(1274 * (100vw / 1920)), 3840px);
    padding-inline: var(--paddings);
    margin: 0 auto;
}

body:has(#works) {
    background-image: url("../../images/contents/works-archive/works-list-bg.svg");
    background-position: center 375px;
    background-repeat: no-repeat;
}

#works .tab-content h2 {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #000;
    margin-bottom: 50px;
}
@media screen and (min-width: 1921px) {
    body:has(#works) {
        background-size: cover;
    }
}
@media screen and (max-width: 992px) {
    #works .tab-content h2 {
        font-size: 20px;
    }
    .tab-outer .tab-menu li a {
        font-size: 15px;
    }
}
@media screen and (max-width: 640px) {
    .tab-outer .tab-menu li a {
        font-size: 13px;
    }
}

/* ========================= */
/* single */
/* ========================= */

/* 共用 */
body:has(#works-detail) {
    background-image: url(../../images/contents/works-archive/works-single-bg.svg);
    background-position: top;
    background-repeat: no-repeat;
}

#works-detail .container {
    max-width: clamp(1274px, calc(1274 * (100vw / 1920)), 3840px);
    padding-inline: var(--paddings);
    margin: 0 auto;
}
#works-detail .detail-content {
    --circle: 25px;
    --circle2: -25px;
}

#works-detail .w-content01 .w-section h3 { font-weight: bold; }

#works-detail .detail-header h2::before,
#works-detail .w-content01 .w-section h3::before {
    content: "";
    display: inline-block;
    width: var(--circle);
    background-color: #1C9A77;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    vertical-align: sub;
    margin-right: 0.5em;
}

@media screen and (min-width: 1921px) {
    body:has(#works-detail) {
        background-size: cover;
    }
}

#works-detail .detail-header {
    display: flex;
    align-items: center;
    gap: 6%;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
    margin-bottom: 40px;
}
#works-detail .detail-header h2 {
    font-size: 24px;
    font-weight: bold;
}

#works-detail .detail-body .main-image {
    border: 1px solid #eee;
    margin-bottom: 40px;
}
#works-detail .detail-body .main-image img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#works-detail .w-imageList {
    display: flex;
    justify-content: center;
    gap: 25px;
}
#works-detail .w-imageItem {
    border: 1px solid #e2e2e2;
}

.others {
    padding-block: 100px 60px;
}

#works-detail .info-block__heading {
    font-size: 16px;
    color: #1C8A77;
    font-weight: bold;
    margin-bottom: 10px;
}

#works-detail .w-infoList dl dd p {
    display: inline-flex;
    align-items: center;
    gap: 30px;
}
#works-detail .w-infoList dl dd p a {
    display: inline-block;
    text-decoration: underline;
}
#works-detail .w-infoList dl dd .url-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#works-detail .w-infoList dl dd div .url-icon img {
    display: block;
}

#works-detail .w-infoList dl dd a:hover {
    text-decoration: none;
    opacity: 0.7;
}

#works-detail .w-content01 .w-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
#works-detail .w-content01 .w-section .w-prList .w-prItem {
    margin-bottom: 60px;
}

@media screen and (max-width: 1024px) {
    #works-detail .w-deviceImages,
    #works-detail .w-caseImage {
        padding-left: var(--paddings);
    }
}
@media screen and (max-width: 640px) {
    #works-detail .detail-header {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
    }
    #works-detail .detail-header h2 {
        font-size: 20px;
    }
    #works-detail .w-content01 .w-section h3 {
        font-size: 16px;
    }
    
    #works-detail .w-infoList dl dd p {
        gap: 10px;
    }
}

#works-detail .u-breakout {
    position: relative;
    margin-inline: calc(50% - 50vw);
    max-width: 100vw;
    overflow: hidden;
}
#works-detail .u-breakout .u-breakout__bg {
    background-color: #f2f2f2;
}
#works-detail .u-breakout .u-breakout__parts {
    line-height: 0;
}
#works-detail .u-breakout .u-breakout__parts img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#works-detail .w-content02 .w-section {
    padding-block: 0 150px;
}
#works-detail .w-content02 .w-section h3 {
    font-family: 'Tw Cen MT', sans-serif;
    text-align: center;
    font-size: 34px;
    margin-bottom: 40px;
}

#works-detail .w-content02 #section02 .w-section--container {
    max-width: clamp(1852px, calc(1852 * (100vw / 1920)), 3840px);
    padding-right: var(--paddings);
    margin-right: auto;
    display: flex;
    gap: clamp(28px, calc(108px + (100vw - 1920px) * 0.2), 108px);
    justify-content: space-between;
    align-items: center;
}
#works-detail .w-content02 #section02 .w-information {
    width: calc(738vw / 19.2);
    background-color: #fff;
    border-radius: 0 1em 1em 0;
}
#works-detail .w-content02 #section02 .w-infoInner {
    max-width: 500px;
    padding: 20px;
    margin-left: auto;
    position: relative;
}

#works-detail .w-content02 #section02 .w-infoList .inner {
    display: flex;
    flex-direction: column;
    row-gap: 60px;
    padding: 60px 0;
    position: relative;
}
#works-detail .w-content02 #section02 .w-information h3 {
    position: absolute;
    top: 0;
    margin: 0;
    transform: translateY(-50%);
}
#works-detail .w-content02 #section02 .w-infoList .info-block dl {
    display: flex;
    margin-block: 15px;
}
#works-detail .w-content02 #section02 .w-infoList .info-block dt {
    width: 25%;
    font-weight: bold;
}
#works-detail .w-content02 #section02 .w-infoList .info-block dd {
    width: 75%;
    font-size: 15px;
}
#works-detail .w-content02 #section02 .w-infoList .info .desc p {
    color: #1C8A77;
    font-weight: bold;
    margin-bottom: 16px;
}
#works-detail .w-content02 #section02 .w-infoList .info .desc dl {
    display: grid;
    gap: 20px 40px;
    grid-template-columns: max-content 1fr;
}
#works-detail .w-content02 #section02 .w-infoList .desc dl dt {
    font-weight: bold;
}
#works-detail .w-content02 #section02 .w-infoList .desc dl dd a {
    text-decoration: underline;
}

@media screen and (max-width: 640px) {
    #works-detail .w-content02 #section02 .w-infoInner {
        padding: 12px;
    }
}

/* content02 --#section02 */
#works-detail .detail-body .content02 #section03 .inContent03 {
    max-width: 1852px;
    padding-right: var(--paddings);
    margin-right: auto;
    display: flex;
    gap: clamp(28px, calc(108px + (100vw - 1920px) * 0.2), 108px);
    justify-content: space-between;
    align-items: center;
}

/* content02 --#section02(device) */
#works-detail .w-content02 #section02 .w-deviceImages {
    width: max-content;
    position: relative;
    padding-left:4.5%;
    padding-bottom: 3.5%;
    pointer-events: none;
}
#works-detail .w-content02 #section02 .w-deviceImages .w-device--sp {
    --base-w: 247px;
    --ratio: clamp(0.2, calc(1 - 0.8 * ((1024px - 100vw) / 777px)), 1);
    width: calc(var(--base-w) * var(--ratio));
    height: auto;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
}
#works-detail .w-content02 #section02 .w-deviceImages .device-images {
    max-width: max-content;
}
#works-detail .w-content02 #section02 .w-deviceImages .device-images .screen-area {
    position: relative;
}
#works-detail .w-content02 #section02 .w-deviceImages .device-images .frame {
    width: 100%;
    position: relative;
    z-index: 2;
    object-fit: contain;
    overflow: hidden;
}
#works-detail .w-content02 #section02 .device-images .screen {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#works-detail .w-content02 #section02 .device-images .screen .fallBack {
    width: 100%;
    background-color: #ddd;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 20px;
}
#works-detail .w-content02 #section02 .device-images .fallBack--pc {
    aspect-ratio: 754 / 431;
}

#works-detail .w-content02 #section02 .device-images .screen img {
    width: 100%;
    object-fit: contain;
    object-position: center;
}
#works-detail .w-content02 #section02 .device-images .screen .fallBack img {
    object-fit: contain;
}
#works-detail .w-content02 #section02 .device-images .screen .fallBack--pc img {
    width: 75%;
}

#works-detail .w-content02 #section02 .w-deviceImages .w-device--pc .device-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#works-detail .w-content02 #section02 .w-deviceImages .w-device--pc .device-images .screen-area {
    max-width: 801px;
    width: 81.56822810590631%;
}
#works-detail .w-content02 #section02 .w-deviceImages .w-device--pc .device-images .screen-area .frame {
    max-width: 801px;
    aspect-ratio: 801 / 503;
}
#works-detail .w-content02 #section02 .w-deviceImages .w-device--pc .device-images .screen-area .screen {
    aspect-ratio: 754 / 431;
    padding: 4.8606% 2.9338% 4.0535% 2.7338%; 
}
#works-detail .w-content02 #section02 .w-deviceImages .w-device--pc .device-images .keyboard-area {
    width: 100%;
    max-width: 982px;
    aspect-ratio: 982 / 29;
    object-fit: contain;
}
#works-detail .w-content02 #section02 .w-deviceImages .w-device--pc .device-images .keyboard-area img {
    display: block;
    margin-bottom: auto;
}

@media screen and (max-width: 1024px) {
    #works-detail .w-content02 #section02 .w-section--container {
        flex-direction: column;
        gap: 108px;
    }
    #works-detail .w-content02 #section02 .w-information {
        width: 100%;
    }
    #works-detail .w-content02 #section02 .w-deviceImages {
        width: auto;
        padding: 0;
        margin: 0 auto;
    }
}


/* web-siteのみ*/
#web-site .w-content02 #section02 .device-images .fallBack--sp {
    aspect-ratio: 209 /455;
}
#web-site .w-content02 #section02 .w-deviceImages .w-device--sp .device-images .frame {
    max-width: 247px;
    aspect-ratio: 247 / 485;
}
#web-site .w-content02 #section02 .w-deviceImages .w-device--sp .device-images .screen {
    aspect-ratio: 209 / 455;
    padding: 3.0928% 7.6923%;
}

#web-site .w-content02 #section03 .inner {
    max-width: clamp(1210px, calc(1210 * (100vw / 1920)), 3840px);
    padding-inline: var(--paddings);
    margin: 0 auto;
}
#web-site .w-content02 #section03 .w-imageItem {
    max-width: 545px;
}

#web-site .w-content02 #section04 .inner {
    max-width: clamp(1254px, calc(1254 * (100vw / 1920)), 3840px);
    padding-inline: var(--paddings);
    margin: 0 auto;
}
#web-site .w-content02 #section04 .w-imageList .w-imageItem {
    max-width: 279px;
}

@media screen and (max-width: 1024px) {
    #web-site .w-content02 .w-imageList {
        display: grid;
    }
    #web-site .w-content02 .SP.w-imageList {
        width: fit-content;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        margin: 0 auto;
    }
}

@media screen and (max-width: 640px) {
    #web-site .w-content02 .w-section--images  .PC.w-imageList {
        flex-direction: column;
        align-items: center;
    }
    #web-site .w-content02 .w-imageList > * {
        width: 100%;
        flex: unset;
    }
    #web-site .w-content02 .SP.w-imageList {
        grid-template-columns: auto;
    }
}
@media screen and (max-width: 480px) {
    #web-site .w-content02 .image-sp.w-imageList > * {
        width: 100%;
    }
}

/* DTPのみ */
#works-detail #dtp .w-content02 #section02 .w-section--container {
    gap: 108px 15px;
}
#dtp .w-content02 #section02 .w-caseImage {
    max-width: 1120px;
}
#dtp .w-content02 #section02 .w-caseImage .w-caseImage__body {
    background-color: #fff;
    border-radius: 19px;
    padding: 30px;
}

#dtp .w-content02 #section03 .inner {
    max-width: 1464px;
    padding-inline: var(--paddings);
    margin: 0 auto;
}
#dtp .w-content02 #section03 .w-imageItem {
    max-width: 325px;
}
@media screen and (max-width: 1024px) {
    #dtp .w-content02 #section03 .w-imageList {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
   #dtp .w-content02 #section02 .w-caseImage .w-caseImage__body {
        padding: 15px;
    } 
}
@media screen and (max-width: 640px) {
    #dtp .w-content02 #section03 .w-imageList {
        grid-template-columns: 1fr;
    }
}

/* others-article */
.others-article {
    padding-block: 130px 210px;
}

