@charset "utf-8";

/* 
Base style
*/
html {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
    color: #333;
    font-family: 'Noto Sans JP', system-ui, -apple-system,
        BlinkMacSystemFont, 'Segoe UI',
        'Hiragino Kaku Gothic ProN',
        'Yu Gothic', Meiryo, sans-serif;
}

a {
    color: #333;
    text-decoration: none;
}

video {
  filter: drop-shadow(0px 0px rgba(0,0,0,0));
}

/*
hero
*/
.hero {
    display: flex;
    justify-content: center;
    margin-top: 14vw;
}

.hero>h1 {
    font-size: 6.4vw;
    font-weight: lighter;
    margin: 11vw 0 auto auto;
}

.hero>video {
    width: 43vw;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hero {
        position: relative;
        height: 100vh;
    }

    .hero>h1 {
        font-size: 10vw;
        position: absolute;
        z-index: 2;
        top: 65vw;
        left: 2vw;
    }

    .hero>video {
        position: absolute;
        z-index: 1;
        top: 7vw;
        left: 44vw;
        width: 70vw;
        height: auto;
        overflow: hidden;
    }
}

/*
news
*/
.news {
    margin: 0 auto;
    position: relative;
}

.news h2 {
    width: 95%;
    font-size: 5vw;
    font-weight: 400;
    border-top: 1px solid #333;
    padding-bottom: 1vw;
    margin: auto;
}

.news-contents {
    width: 65%;
    margin-left: auto;
    margin-right: 0;
}

.news-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #333;
    padding: 1vw 0;
    margin-right: 3vw;
}

.news-item img {
    width: 15vw;
    height: auto;
    margin-right: 1vw;
}

.news-content {
    flex: 1;
    display: flex;
}

.category {
    font-size: 1.7vw;
    margin: 0;
    width: 12vw;
    text-align: center;
}

.news-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
}

.date {
    font-size: 1.7vw;
    margin: 0 auto 0 0;
}

.text {
    font-size: 1.7vw;
    margin-bottom: 1vw;
    line-height: 1.5;
}

.link {
    text-decoration: none;
    color: #333;
    font-size: 1.7vw;
    display: inline-block;
    margin-top: 0.5vw;
}

.more {
    text-align: right;
    margin-top: 4vw;
    margin-right: 4vw;
}

.more a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    font-size: 2.5vw;
}

@media (max-width: 768px) {
    .news h2 {
        font-size: 8vw;
    }

    .news-contents {
        width: 90%;
        margin: 5vw auto auto auto;
    }

    .news-item {
        padding-top: 5vw;
        border-bottom: 1.5px solid #333;
    }

    .news-item img {
        width: 35vw;
    }

    .category {
        font-size: 3vw;
    }

    .date {
        font-size: 3vw;
        margin-left: 2vw;
    }

    .text {
        font-size: 3vw;
        margin-left: 2vw;
    }

    .link {
        font-size: 2vw;
    }

    .more {
        margin-top: 5vw;
    }

    .more>a {
        font-size: 5vw;
    }
}

/* 
website creation 
*/
.website-creation {
    margin: 0 auto;
    padding-top: 10vw;
}

.website-creation h2 {
    width: 95%;
    font-size: 5vw;
    font-weight: 400;
    border-top: 1px solid #333;
    padding-bottom: 1vw;
    margin: auto;
}

.devices {
    text-align: center;
    justify-content: center;
    margin: 10vw auto;
    display: flex;
}

.imac-screen {
    width: 30vw;
    height: auto;
    margin-right: 8vw;
}

.ipad-screen {
    width: 20vw;
    height: auto;
}

.iphone-screen {
    width: 10vw;
    height: auto;
    margin-left: 8vw;
}

.info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2列 */
    gap: 3vw;
    width: 59%;
    margin: 5vw auto;
}

.info-top {
    margin-left: 5vw;
}

.info-bottom {
    margin-right: 5vw;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #3e3e3e;
    padding-top: 1vw;
}

.info-box-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.info-box .subtitle {
    font-size: 2vw;
    margin: 0 0 2vw 0;
}

.info-box h3 {
    font-size: 4vw;
    font-weight: bold;
    margin: 0 0 0.5vw 0;
}

.info-box>p {
    font-size: 1.1vw;
    margin: 0 0 0 1vw;
    line-height: 1.4;
    font-weight: 600;
}

.read-more {
    width: 90%;
    margin: 3vw auto 0;
    text-align: right;
}

.read-more a {
    text-decoration: none;
    color: #111;
    font-size: 2.5vw;
}

@media (max-width: 768px) {
    .website-creation {
        margin-top: 15vw;
    }

    .website-creation h2 {
        font-size: 8vw;
    }

    .devices {
        display: block;
    }

    .imac-screen {
        width: 70vw;
        margin-right: auto;
    }

    .ipad-screen {
        width: 35vw;
        margin-top: 10vw;
        margin-right: 8vw;
    }

    .iphone-screen {
        width: 20vw;
        margin-left: 5vw;
        margin-top: 11vw;
    }

    .info {
        display: block;
        margin: auto;
        width: 90%;
    }

    .info-top {
        margin-left: auto;
    }

    .info-bottom {
        margin-right: auto;
    }

    .info-box {
        margin-bottom: 5vw;
    }

    .info-box h3 {
        font-size: 7vw;
    }

    .info-box .subtitle {
        font-size: 5vw;
    }

    .info-box>p {
        font-size: 2.5vw;
    }

    .read-more a {
        font-size: 5vw;
    }
}

/*
review
*/
section.review {
    position: relative;
    width: 90vw;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    padding: 2vw;
    box-sizing: border-box;
}

.review h2 {
    text-align: center;
    margin-bottom: 3vw;
    font-size: 4vw;
    font-weight: lighter;
}

.swiper {
    width: 80vw;
    height: 25vw;
}

.swiper-slide {
    border-radius: 10px;
    padding: 2vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swiper-slide-header {
    margin-bottom: 1vw;
    margin-left: 7vw;
}

.author {
    font-size: 2vw;
    margin-left: 1vw;
    font-weight: 500;
    display: inline-block;
}

.swiper-slide>p {
    margin-left: 7vw;
    font-size: 1.4vw;
}

.swiper-slide>a {
    margin-right: 7vw;
    font-size: 1.2vw;
    text-align: right;
}

.swiper-slide-header>img {
    width: 8vw;
    height: auto;
    display: inline-block;
    margin: 0 auto 1vw auto;
}

.review-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100%;
    padding: 1vw;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: #3e3e3e;
    font-size: 4vw;
}

.swiper-button-prev,
.swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    width: 3vw;
    height: 3vw;
}

.swiper-button-prev {
    left: 2vw;
}

.swiper-button-next {
    right: 2vw;
}

/* ボタンのアイコンサイズ */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 3vw;
    /* 今の4vwより少し小さめに */
    color: #3e3e3e;
}

@media (max-width: 768px) {
    .review h2 {
        font-size: 7vw;
        margin-top: 15vw;
    }

    section.review {
        padding: 2vw;
        width: 100vw;
    }

    .swiper {
        width: 96vw;
        height: 75vw;
    }

    .swiper-button-next {
        top: 67%;
    }

    .swiper-button-prev {
        top: 67%;
    }

    .swiper-slide-header {
        margin-left: 5vw;
    }

    .swiper-slide-header>img {
        width: 15vw;
    }

    .author {
        font-size: 4vw;
    }

    .swiper-slide>p {
        font-size: 3.5vw;
        margin-left: 6vw;
        width: 81vw;
    }

    .swiper-slide>a {
        font-size: 3vw;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 7vw;
    }
}

/* 
future 
*/
.future {
    width: 100%;
    padding: 60px 3%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #111;
}

.goal-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.goal-text h2 {
    font-size: 6vw;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

.goal-media video {
    width: 30vw;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .future {
        height: 100vh;
    }

    .goal-text h2 {
        font-size: 8vw;
        margin-top: 40vw;
    }

    .goal-media {
        margin-left: 40vw;
    }

    .goal-media video {
        width: 50vw;
        margin-top: 15vw;
    }
}

/* 
isshoumono-museum 
*/
.isshoumono-museum {
    margin: 0 auto;
    padding-bottom: 10vw;
    position: relative;
}

.isshoumono-museum h2 {
    width: 95%;
    font-size: 5vw;
    font-weight: 400;
    border-top: 1px solid #333;
    padding-bottom: 1vw;
    margin: auto;
}

.museum-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.museum-container p {
    font-size: 5vw;
    line-height: 1.6;
    ;
    margin-left: 3vw;
    font-weight: lighter;
}

.frames {
    display: grid;
    grid-template-columns: repeat(2, 13vw);
    grid-auto-rows: 15vw;
    gap: 15vw;
    position: relative;
    margin-top: 7vw;
    margin-right: 7vw;
}

.frame {
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.frame1 {
    position: absolute;
    top: 5vw;
    left: -11vw;
    width: 24.45vw;
    height: auto;
}

.frame2 {
    position: absolute;
    top: -2vw;
    right: -7vw;
    width: 30vw;
    height: auto;
}

.frame3 {
    position: absolute;
    top: 23vw;
    right: 3vw;
    width: 24.45vw;
    height: auto;
}

.go-to-the-museum {
    width: 90%;
    margin: 15vw auto 0;
    text-align: right;
}

.go-to-the-museum a {
    text-decoration: none;
    color: #111;
    font-size: 2.5vw;
}

@media (max-width: 768px) {
    .isshoumono-museum {
        padding-bottom: 12vw;
        margin-top: 50vw;
    }

    .isshoumono-museum h2 {
        font-size: 8vw;
    }

    .museum-container {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .museum-container p {
        font-size: 8vw;
        margin-top: 23vw;
    }

    .frames {
        margin-left: 17vw;
        margin-right: 11vw;
    }

    .frame1 {
        width: 36vw;
        left: 5vw;
    }

    .frame2 {
        width: 45vw;
        right: -44vw;
    }

    .frame3 {
        width: 36vw;
        top: 32vw;
        right: -32vw;
    }

    .go-to-the-museum {
        text-decoration: none;
        color: #111;
        font-size: 1.5vw;
        margin: 3vw auto 0;
    }
    .go-to-the-museum a {
        font-size: 5vw;
    }
}
@media (max-width: 660px) {
    .isshoumono-museum {
        margin-top: 30vw;
    }
}
@media (max-width: 500px) {
    .isshoumono-museum {
        margin-top: 5vw;
    }
}
@media (max-width: 450px) {
    .isshoumono-museum {
        margin-top: 0;
    }
}
/*
About
*/
.about h2 {
    width: 95%;
    font-size: 5vw;
    font-weight: 400;
    border-top: 1px solid #3e3e3e;
    padding-bottom: 1vw;
    margin: auto;
}

.about table {
    width: 80%;
    border-collapse: collapse;
    margin: 3vw auto 10vw;
}

.about td {
    padding: 2vw 1.2vw;
    border-bottom: 1px solid #3e3e3e;
    font-size: 2vw;
    width: 70%;
}

.about td:first-child {
    width: 200px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .about h2 {
        font-size: 8vw;
    }

    .about table {
        width: 90%;
    }

    .about td {
        font-size: 3.5vw;
    }
}

/* fade-in base */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
    transition-delay: 0.3s;
}

/* visible state */
.fade-in.is-visible {
    opacity: 1;
}