@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    color: #0C54C8;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

main {
    margin: 3%;
    position: relative;
}

img {
    max-width: 100%;
}

table {
    border-collapse: collapse;
}

li {
    list-style-type: none;
}

p {
    letter-spacing: 0.05rem;
}

a {
    text-decoration: none;
    color: #333;
}

/* commmon */
#footer {
    height: 40px;
    background-color: #0C54C8;
    color: #f3f3f3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#footer {
    margin-top: 500px;
}

.footer-ttl {
    font-size: .75rem;
    letter-spacing: .8rem;
}

.top-nav {
    position: fixed;
    width: 40px;
    aspect-ratio: 1/1;
    bottom: 60px;
    right: 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    z-index: 999;
}

.top-nav.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.web-container,
.print-container {
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin: 60px 0;
}

.web-menu,
.print-menu {
    overflow: hidden;
}

.web-menu {
    max-width: 300px;
}

.web-menu img,
.print-menu img {
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: grayscale(0%);
}

.web-menu img:hover,
.print-menu img:hover,
.tab-img.active {
    transform: scale(1.02);
    filter: grayscale(100%);
}

.print-ttl h2,
.site-ttl h2 {
    width: fit-content;
    margin: 0 auto;
    font-size: 2rem;
    font-family: "Rampart One", sans-serif;
    padding-bottom: 8px;
    background-image: url(../img/line-text.svg);
    background-position: bottom;
}

.concept {
    line-height: 1.5;
    margin: 80px auto 200px;
    color: #333;
}

.cont-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.cont-table th,
.cont-table td {
    border-top: 1px solid #9EBBE9;
    border-bottom: 1px solid #9EBBE9;
}

.cont-table th {
    font-family: "Caveat Brush";
    font-size: 2rem;
}

.cont-table td {
    color: #333;
    padding: 50px 0 50px 70px;
}

.cont-table th,
.cont-table td {
    text-align: left;
}

.visit-site {
    display: block;
    width: fit-content;
    margin: 150px auto;
}

.route-txt {
    color: #809fd1;
    font-family: "Rampart One", sans-serif;
    position: relative;
    border-bottom: 1px solid #809fd1;
    transition: color 0.5s ease, border-bottom-color 0.5s ease;
}

.route-txt:hover {
    color: #9EBBE9;
    border-bottom: 1px solid #9EBBE9;
}

.route-txt::after {
    content: "";
    position: absolute;
    top: -25px;
    left: -80px;
    width: 70px;
    aspect-ratio: 1/1;
    z-index: -1;
    transform-origin: 50% 50%;
    animation: rotate 10s linear infinite;
}

.visit-site-btn::after {
    background-image: url(../img/visit-site-btn.svg);
}

.view-more-btn::after {
    background-image: url(../img/top/view-more-btn.svg);
}

.route-txt::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -78px;
    width: 70px;
    aspect-ratio: 1/1;
    background-image: url(../img/arrow-btn.svg);
    z-index: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}




/* top-page ----------------------------- */
#top {
    position: relative;
    overflow: hidden;
}

#top::before,
#top::after {
    content: "";
    position: absolute;
    height: 100vw;
    aspect-ratio: 1/1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: .1;
}

#top::before {
    top: 11%;
    left: 0;
    background-image: url(../img/top/view-more.svg);
    transform: translateX(-60%) rotate(var(--rotate-angle, 0deg));
}

#top::after {
    top: 48%;
    right: 0;
    background-image: url(../img/top/view-more.svg);
    transform: translateX(50%) rotate(calc(-1 * var(--rotate-angle, 0deg)));
}

.top-wrapper {
    width: 80%;
    margin: 0 auto;
}

.header-cont {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.top-ttl {
    width: fit-content;
    position: relative;
    top: 100px;
    left: 8%;
    font-size: 9.5vw;
    font-family: "Caveat Brush";
}

.swiper.top-slider {
    width: 50%;
    position: absolute;
    top: 5%;
    right: 5%;
}


.nav-cont {
    margin-top: 250px;
    display: flex;
    gap: 60px;
    padding: 10px;
}

.nav-cont.reverse {
    flex-direction: row-reverse;
}

.nav-img {
    flex: 1;
    transition: all 0.8s ease;
}

.nav-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.view-more:hover .route-txt {
    color: #9EBBE9;
    border-bottom: 1px solid #9EBBE9;
}

.view-more:hover .nav-img {
    scale: 1.02;
}

.view-more-btn {
    display: block;
    width: fit-content;
    margin: 0 0 0 auto;
}

.desc-ttl,
.logo-ttl {
    color: #0C54C8;
    width: fit-content;
    font-family: "Caveat Brush";
    font-size: 3rem;
    margin-bottom: 50px;
    background: linear-gradient(transparent 60%, #fffca6 50%);
}

.nav-desc p {
    color: #333;
    line-height: 1.4;
}

.about {
    margin-top: 300px;
    display: flex;
    gap: 50px;
}

.about-img {
    flex: 1;
}

.about-desc {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.name {
    font-size: 3rem;
    font-family: "Caveat Brush";
}

.about-desc p {
    color: #333;
    line-height: 1.4;
}

.logo {
    margin-top: 250px;
}

.logo-ttl {
    margin: 0 auto 50px;
}

.logo p {
    width: 50%;
    margin: 0 auto;
    color: #333;
}

.logo-slider {
    margin-top: 100px;
}

.logo-slider .swiper-wrapper {
    transition-timing-function: linear;
}


/* web-page ----------------------------- */
.site-ttl {
    padding-top: 40px;
}

#web .cont-item {
    width: 90%;
    margin: 0 auto;
}

#web .cont-img {
    margin: 0 auto;
    position: relative;
}

#web .scroll-text {
    top: 90px;
    right: -50px;
}

.site-wrapper {
    width: 85%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.demo-cont {
    margin-top: 250px;
}

.demo-scroll {
    width: fit-content;
    margin: 50px auto;
    color: rgba(158, 187, 233, 0.5);
    font-size: 3rem;
    font-family: "Caveat Brush";
    position: relative;
}

.demo-scroll::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -30px;
    height: 40px;
    aspect-ratio: 3/7;
    background: url(../img/line-arrow.svg) no-repeat;
    background-size: contain;
    animation: updown 2s ease-in-out infinite;
}

.web-demo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.demo-item {
    flex: 1;
    width: 250px;
    aspect-ratio: 375/667;
    overflow: scroll;
    border: 5px solid #9EBBE9;
}

.full-demo-item {
    flex: 1;
    width: 100%;
    aspect-ratio: 1440/900;
    overflow: scroll;
    border: 5px solid #9EBBE9;
}

#web .route-txt {
    margin-left: 35px;
}

/* print-page------------------- */
.print-wrapper {
    width: 60%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.print-menu {
    max-width: 180px;
}

#print-page .cont-item {
    width: 80%;
    margin: 0 auto;
}


#print .cont-img {
    margin: 60px auto;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.print-ttl {
    padding-top: 40px;
}

.print-wrapper .scroll-text {
    top: 10px;
    right: -110px;
}

.print-wrapper .scroll-text::after {
    top: 0;
}



/* banner-page-------------------------- */
.page-ttl {
    width: fit-content;
    font-family: "Caveat Brush";
    font-size: 6rem;
    background: linear-gradient(transparent 60%, #fffca6 50%);
}

#banner-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    position: relative;
}

.banner-container {
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin: 60px 0;
}

.banner-menu {
    max-width: 240px;
    overflow: hidden;
}

.banner-menu img {
    transition: transform 0.5s ease;
}

.banner-menu:hover img {
    transform: scale(1.05);
}

body.show {
    height: 100%;
    overflow: hidden;
}

.banner-item.show {
    transform: translateY(0);
    opacity: 1;
}

.banner-ttl {
    width: fit-content;
    padding: 5px;
    margin-top: 100px;
    font-family: "Rampart One", sans-serif;
    background-image: url(../img/line-text.svg);
    background-position: bottom;
}

.banner-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background-color: #ffffff50;
    transform: translateY(100dvh);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.6s ease;
}

.banner-cont {
    width: 40%;
    height: 85vh;
    background-image: url(../img/banner/banner-content-bg.webp);
    background-size: cover;
    background-position: center;
    border: 10px solid #9EBBE9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-pop-img,
.pop-desc {
    width: 85%;
    max-width: 550px;
}

.pop-desc {
    padding: 0 10px;
}

.pop-desc h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: "Rampart One", sans-serif;
    position: relative;
    width: fit-content;
    z-index: 1;
}

.pop-desc h3::after {
    content: "";
    position: absolute;
    width: 60px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #9EBBE930;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    z-index: -1;
}

.pop-desc p {
    color: #333;
}


.close-btn {
    display: block;
    width: 35px;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 5px;
}

.bg-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9999;
    opacity: .1;
    background-image: url(../img/line-bg.svg), url(../img/line-bg-row.svg);
    background-repeat: no-repeat, no-repeat;
    background-size: 670px auto, 300px auto;
    background-position: top right, bottom left;
}

.scroll-text {
    color: rgba(158, 187, 233, 0.5);
    font-size: 3rem;
    font-family: "Caveat Brush";
    writing-mode: vertical-rl;
    position: absolute;
    z-index: -1;
    top: 340px;
    right: 0;
    animation: updown 2s ease-in-out infinite;
}

.scroll-text::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 130px;
    background: url(../img/line-arrow-long.svg) no-repeat;
    background-size: contain;
}

.bg-text {
    color: rgba(158, 187, 233, 0.2);
    font-size: 14.7vw;
    font-family: "Caveat Brush";
    position: absolute;
    z-index: -1;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

@keyframes updown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}


/* tab-js ----------------------------------- */
.tab-cont {
    display: none;
}

.tab-cont.active {
    display: block;
}

.tab-menu li {
    cursor: pointer;
    width: 27%;
}

/* animation-js ------------------ */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease;
}

.fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}


/* ナビゲーション */
.nav-btn {
    font-family: "Caveat Brush";
    width: 100px;
    aspect-ratio: 1/1;
    position: fixed;
    top: 60px;
    right: 60px;
    background-image: url(../img/top-nav-bg.webp);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0C54C8;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    font-size: 2rem;
    z-index: 3;
    border: 10px solid #0C54C8;
    border-radius: 50%;
    transition: color 0.5s ease, border-color 0.5s ease;
}

.nav-btn.hm-active {
    color: #9EBBE9;
    border: 10px solid #9EBBE9;
}

.drawer-nav {
    position: fixed;
    top: 160px;
    right: 60px;
    opacity: 0;
    transform: translateX(200px);
    transition: opacity .8s ease, transform .8s ease;
    z-index: 5;
}

.drawer-nav.hm-active {
    opacity: 1;
    transform: translateX(0);
}

.drawer-nav-menu {
    list-style-type: none;
}

.drawer-nav-link {
    display: block;
    text-decoration: none;
    color: #0c54c8;
    padding: 5px;
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
    font-family: "Caveat Brush";
    font-size: 2rem;
}

.drawer-nav-link:hover {
    color: #809fd1;
    transition: .3s;
}

@media (max-width: 1280px) {

    .print-ttl h2,
    .site-ttl h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .nav-btn {
        font-size: 1.5rem;
    }

    .cont-sup h3 {
        font-size: 1rem;
        font-weight: bold;
        margin-top: 20px;
        padding-bottom: 5px;
    }

    .tab-menu li {
        width: 27%;
    }

    .banner-cont {
        width: 80%;
        height: 60dvh;
    }

}

@media (max-width: 768px) {
    #footer {
        margin-top: 300px;
    }

    .concept {
        margin: 40px auto 100px;
    }

    .swiper.top-slider {
        top: 20%;
        right: 5%;
    }

    .nav-btn {
        top: 15px;
        right: 15px;
    }

    .drawer-nav {
        top: 120px;
        right: 25px;
    }

    .nav-cont,
    .nav-cont.reverse {
        width: 80%;
        margin: 250px auto 0;
        flex-direction: column;
        gap: 20px;
    }

    .desc-ttl {
        margin-bottom: 20px;
    }

    .view-more-btn {
        margin-top: 60px;
    }

    .about {
        margin-top: 250px;
    }

    .about-img {
        flex: 2;
        display: flex;
        align-items: center;
    }

    .about-desc {
        gap: 20px;
    }

    .logo p {
        width: 100%;
    }

    /* web-page */
    .demo-cont {
        margin-top: 150px;
    }

    /* banner-page */
    .banner-item {
        width: 100%;
    }

    .banner-cont {
        width: 90%;
    }

    .close-btn {
        width: 60px;
    }

    /* print-page */
    .print-wrapper {
        width: 80%;
    }

    .print-container {
        gap: 20px;
    }

    .print-menu {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    #top main {
        margin: 0;
    }

    main {
        margin: 5%;
    }

    #footer {
        margin-top: 250px;
    }

    .top-nav {
        bottom: 20px;
        right: 20px;
    }

    .page-ttl {
        font-size: 3rem;
    }

    .web-container,
    .print-container {
        width: 100%;
        gap: 10px;
        margin-top: 40px;
    }

    .tab-menu li {
        width: 30%;
    }

    .site-ttl,
    .print-ttl {
        padding: 20px 0;
    }

    .site-ttl h2,
    .print-ttl h2 {
        font-size: 1.25rem;
    }

    .concept {
        margin-top: 20px;
    }

    .cont-img {
        margin: 20px auto;
    }

    .cont-table tr {
        display: flex;
        flex-direction: column;
    }

    .cont-table th {
        font-size: 1.5rem;
        border-bottom: none;
        padding-top: 20px;
    }

    .cont-table td {
        padding: 20px 0;
        border-top: none;
        border-bottom: none;
    }

    .cont-table tr:last-child td {
        border-bottom: 1px solid #9EBBE9;
    }

    .site-wrapper {
        width: 95%;
    }

    .nav-btn {
        width: 70px;
        font-size: 1rem;
        border: 5px solid #0C54C8;
    }

    .nav-btn.hm-active {
        color: #9EBBE9;
        border: 5px solid #9EBBE9;
    }

    .drawer-nav {
        top: 90px;
    }

    .drawer-nav-link {
        font-size: 1.25rem;
        margin-top: 5px;
        font-family: "Caveat Brush";
        font-size: 2rem;
    }

    .header-cont {
        aspect-ratio: 4/3;
    }

    .swiper.top-slider {
        width: 60%;
        z-index: -1;
    }

    .nav-cont,
    .nav-cont.reverse {
        width: 100%;
        margin-top: 100px;
        gap: 10px;
        padding: 0;
    }

    .desc-ttl {
        font-size: 2rem;
    }

    .nav-desc p {
        font-size: .75rem;
    }

    .view-more-btn {
        margin-top: 20px;
    }

    .route-txt {
        font-size: .875rem;
    }

    .route-txt::after {
        top: -10px;
        left: -60px;
        width: 50px;
    }

    .route-txt::before {
        top: -10px;
        left: -59px;
        width: 50px;
    }

    /* top-page */
    #top::before,
    #top::after {
        height: 200vw;
    }

    #top::before {
        top: 5%;
        transform: translateX(-70%) rotate(var(--rotate-angle, 0deg));
    }

    #top::after {
        top: 30%;
        transform: translateX(55%) rotate(calc(-1 * var(--rotate-angle, 0deg)));
    }

    .about {
        flex-direction: column;
        gap: 10px;
        margin-top: 150px;
    }

    .about-img {
        width: 70%;
        margin: 0 auto;
    }

    .name {
        font-size: 2rem;
        text-align: center;
    }

    .logo {
        margin-top: 100px;
    }

    .logo-ttl {
        margin-bottom: 20px;
    }

    .logo-slider {
        margin-top: 50px;
    }

    .bg-line {
        background-image: url(../img/line-bg-row.svg);
        background-repeat: no-repeat;
        background-size: 300px auto;
        background-position: bottom left;
    }

    /* web-page */
    #web .scroll-text {
        top: 20px;
        right: -30px;
    }

    .scroll-text::after {
        bottom: -20px;
    }

    .demo-cont {
        margin-top: 100px;
    }

    .demo-item {
        width: 300px;
    }

    .visit-site {
        margin: 100px auto;
    }

    /* banner-page */
    .banner-cont {
        height: 80dvh;
    }

    .banner-ttl {
        margin-top: 40px;
    }

    .pop-desc h3 {
        font-size: 1.25rem;
        margin: 15px auto 15px 0;
    }

    .banner-menu {
        max-width: 300px;
        margin: 0 auto;
    }

    .scroll-text {
        top: 270px;
        right: -15px;
    }


    /* print-page */
    #print-page .cont-item {
        width: 95%;
    }

    #print .cont-img {
        margin: 20px auto;
    }

    .print-wrapper .scroll-text {
        right: -60px;
    }

    .scroll-text {
        font-size: 2rem;
    }

    .scroll-text::after {
        height: 85px;
    }
}