/* CSS Document */

/*--- contents ---*/
section {
    width: 100%;
    margin: 0 auto;
}
section > div {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    color: white;
}
.content {
    width: 100%;
    margin: 0 auto;
}

.background-area {
    height: 100%;
    overflow-y: auto;
    background-image: url("/bs/networkprint/express-design/images/bg01_pc.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
@media (max-width: 768px) {
    .background-area {
        background-image: url("/bs/networkprint/express-design/images/bg01_sp.webp");
    }
}

/*--- contentTop ---*/
.topArea {
    display: flex;
    flex-direction: row;
}
.sideArea {
    width: 25%;
    padding: 1rem;
}
.titleArea {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    margin: 1rem 0.5rem;
}
.titleMain {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 0.8rem;
}
.titleSub {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}
.titleLogos {
    display: flex;
    justify-content: center;
}
.titleNote {
    font-size: 0.8rem;
    margin: 0.2rem auto 2rem auto;
}
.designBtn {
    background-color: black;
    border-radius: 3rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}
.customSpace {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem
}
@media (max-width: 768px) {
    .topArea {
        display: flex;
        flex-direction: column;
    }
    .titleLogos img {
        width: 70%;
    }
    .sideArea {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    .customSpace {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/*--- designCategory ---*/
.titleCategory {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 1.5rem;
}
.templatesBtn {
    margin: 1.5rem auto 0 auto;
}
.templatesTxt {
    background-image: linear-gradient(100deg, #018bba, #008081);
    border-radius: 3rem;
    padding: 0.8rem 2.5rem;
    cursor: pointer;
    font-weight: bold;
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
}
.tab {
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    font-size: 0.75rem;
}
.tab.active {
    background-color: black;
    border-radius: 20px;
    padding: 0 1.5rem;
}
.tabContent {
    display: none;
    padding: 1.5rem 2.5rem;
}
.tabContent.active {
    display: block;
}
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.designAreaSP {
    position: relative;
}
.designTitleSP {
    position: absolute;
    top: 20%;
    right: 10%;
    color: white;
    font-size: clamp(1rem, 5vw, 2rem);
}
.designImgSP {
    position: absolute;
    right: 10%;
    bottom: 5%;
    width: 35%;
    height: auto;
    z-index: 10;
}
.templateCard {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}
.templateImg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(150, 150, 150, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.templateCard:hover .overlay {
    opacity: 1;
}
.penImg {
    width: 10%;
}
.overlayTxt {
    padding-top: 1rem;
}

/*--- whatisAdobeExpress ---*/
#whatisAdobeExpress {
    background-color: black;
}
.expressTitle {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.redTxt {
    color: red;
}
.introductionTxt {
    font-size: 1rem;
    text-align: center;
}
@media (max-width: 768px) {
    .introductionTxt {
        padding: 0 25px;
        text-align: left;
    }
}

/*--- conveniPrint ---*/
#conveniPrint {
    background-color: #eacccc;
}
.printContainer {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}
.printContainer .titleLogos img {
    width: 70%;
}
.conveniTitle {
    color: black;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0.8rem auto;
}
.meritArea {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.meritCards {
    width: 60%;
    z-index: 2;
}
.rowOne {
    display: flex;
    justify-content: center;
}
.rowTwo {
    display: flex;
    justify-content: center;
}
.cardItem {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    margin: 0.4rem;
    text-align: center;
    color: black;
    width: 55%;
    font-size: 0.9rem;
    font-weight: bold;
}
.meritImg {
    flex: 1;
    transform: translateX(5%) translateY(5%);
    z-index: 1;
    margin-bottom: unset;
}
@media (max-width: 768px) {
    .meritArea {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .meritCards {
        width: 90%;
        z-index: 2;
    }
    .meritImg {
        flex: 1;
        transform: translateX(5%) translateY(-25%);
        z-index: 1;
        width: 70%;
        margin-bottom: -6rem;
    }
}

/*--- howto ---*/
.titleHowto {
    font-size: 1.4rem;
}
.howtoContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.5rem auto;
}
.rowFirst {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    width: 70%;
    margin-bottom: 1.2rem;
}
.rowSecond {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    width: 70%;
    margin-left: 8rem;
}
.stepItem {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stepImg {
    width: 70%;
}
.arrowItem {
    display: flex;
    justify-content: center;
    align-items: center;
}
.arrowImg {
    width: 60px;
    opacity: 0.6
}
.titleStep {
    font-size: 1rem;
    margin: 0.5rem auto;
}
@media (max-width: 768px) {
    .rowFirst {
        flex-direction: column;
        width: 90%;
    }
    .rowSecond {
        flex-direction: column;
        width: 90%;
        margin-left: unset;
    }
    .arrowImg {
        transform: rotate(90deg);
    }
}

/*--- videoGuide ---*/
#videoGuide {
    background-color: black;
}
.titleGuide {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}
.FVideo {
	width: calc(100% - 20px);
	padding: 2rem 5rem;
	margin-left: auto;
	margin-right: auto;
}

.FVideoWrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.FVideoContent {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media (max-width: 768px) {
    .FVideo {
        padding: 0.75rem;
    }
}

/*--- トップへ戻るボタン ---*/
#scrollButton {
    position: fixed;
    bottom: 42px;
    right: 35px;
    display: block;
    z-index: 100;
}

#scrollButton #scrollButtonLink {
    display: inline-block;
    padding: 0 0 0 16px;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
    border: unset;
    cursor: pointer;
}

#scrollButton #scrollButtonLink:before, #scrollButton #scrollButtonLink:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

#scrollButton #scrollButtonLink:before {
    background-color: #EFB33B;
    width: 40px;
    height: 40px;
    border-radius: 10%;
}

#scrollButton #scrollButtonLink:after {
    left: 10px;
    top: -10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 10px;
    height: 15px;
    border: 10px solid transparent;
    border-bottom: 8px solid #fff;
}

@media (hover: hover) {
    #scrollButton #scrollButtonLink:hover:before {
        opacity:.7;
    }
}

@media (hover: none) {
    #scrollButton #scrollButtonLink:active:before {
        opacity:.7;
    }
}


.pc {
    display: flex;
}
.mobile {
    display: none;
}
@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .mobile {
        display: flex;
    }
}