@charset "utf-8";

body {
    min-height: 200vh;
}

#banner {
    filter: opacity(0);
}

#top-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: opacity(100); 
}

#main-content {
    min-height: 200vh;
    width: 100%;
    position: relative;
    margin: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.spacer {
  height: 100vh;
}

h2 {
    padding-top: 30px;
    border-bottom: 3px solid white;
    font-family: "Rosarivo", Sans-serif;
}

#scroll-image {
    color: white;
    text-align: center;
    width: 100%;
    position: sticky;
    bottom: 0;
    padding: 20px 0 50px 0;
    z-index: 2;
}

#scroll-image p {
    color: white;
    font-size: 1.2em;
}

.arrow-down::before {
  content: "∨";
  font-size: 16px;
  color: white;
}

#scroll-image p,
.arrow-down {
    margin: 0;
    padding: 0;
}

#articles-area {
    margin: 50px auto 50px 15%;
    padding: 0 5%;
    max-width: 1080px;
    display: block;
}

@media screen and (min-width: 1800px) {
    #articles-area {
        margin: 50px auto;
    }
}

@media screen and (max-width: 1453px) {
    .many {
        display: none;
    }
}

#articles-area,
#articles-area a {
    color: white;
}

.articles {
    width: 100%;
}

#pickup-article-area,
.recent-article-area {
    display: flex;
}

.recent-article-area {
    margin: 0.5%;
}

.pickup-articles-p {
    width: 46%;
    margin: 2%;
    position: relative;
}

.pickup-articles-c {
    width: 100;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.orientation-landscape {
    aspect-ratio: 16 / 9;
}

.orientation-portrait {
    aspect-ratio: 1 / 1.4142;
}

.recent-articles-p {
    width: calc(30% + (1% / 3));
    margin: 1.5%;
    position: relative;
}

.recent-articles-c {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.pickup-articles-c img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.recent-articles-c img {
    width: 100%;
    height: 100%;
}

.back-blur {
    object-fit: cover;
    transition: 0.3s;
}

.front-scale {
    position: absolute;
    object-fit: contain;
    object-position: center center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
}

.pickup-articles-c p {
    position: absolute;
    top:50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    transform: translate(-50%,-50%);/*センター寄せの修正*/
    margin: 0 !important;/*文字がずれている場合や*/
    padding: 0 !important;/*文字が折り返される場合*/
    opacity: 0;
    transition: 0.5s;
}

.pickup-articles-c p {
    font-size: 1.3rem;
}

.recent-articles-p a {
    font-size: 0.8rem;
    font-weight: normal;
}

.pickup-articles-c:hover img {
    filter: brightness(0.4);
    transition: 0.5s;
}

.recent-articles-p:hover .back-blur {
    filter: blur(15px);
    transition: 0.5s;
}

.recent-articles-p:hover .front-scale {
    opacity: 1;
    transition: 0.3s;
}

.pickup-articles-c:hover p {
    opacity: 1;
    transition: 0.5s;
}

.info-articles {
    margin: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.info-articles p {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

.info-articles h3 {
    margin: 0;
    padding: 0;
}

#readmore {
    padding-left: 10px;
}

.sns-rapper {
    display: flex;
    min-width: 0;
}

#post {
    margin: 0 10px;
    width: calc(50% - 20px);
    min-width: 0;
    overflow: hidden;
}

#contents {
    margin: 0 10px;
    width: calc(50% - 20px);
}

.twitter-tweet iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

@media screen and (max-width: 760px) {
    .sns-rapper {
        display: block;
    }

    #post {
        margin: 0 10px;
        width: calc(100% - 20px);
    }

    #contents {
        margin: 0 10px;
        width: calc(100% - 20px);
    }
}

@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */

    header {
        background-color: rgba(0, 0, 0, 0);
    }

    #articles-area {
        margin-left: auto;
        margin-right: auto;
        display: grid;
    }

    #articles-left {
        min-width: 420px;
        max-width: 900px;
        margin: 0 auto;
    }

    #articles-right {
        min-width: 420px;
        max-width: 900px;
        margin: 0 auto;
    }

    .recent-articles-p:hover #more {
        font-size: 2.2em;
    }

    .pickup-articles-c p,
    .recent-articles-c p:not(#more) {
        position: absolute;
        top: 100%;
        left: auto;
        transform: none;
        -ms-transform: none;
        -webkit-transform: none;
        margin: initial !important;
        padding: initial !important;
        opacity: 1;
        transition: none;
    }

    .pickup-articles-c:hover img,
    .recent-articles-c:hover img {
        filter: none;
        transition: none;
    }

    .pickup-articles-c:hover p,
    .recent-articles-c:hover p:not(#more) {
        opacity: 1;
        transition: none;
    }

}
@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */

    #articles-area {
        margin-left: auto;
        margin-right: auto;
        display: grid;
    }

    #articles-left {
        min-width: 0;
        max-width: 900px;
        margin: 0 auto;
    }

    #articles-right {
        min-width: 0;
        max-width: 900px;
        margin: 0 auto;
    }

    #pickup-article-area,
    .recent-article-area {
        display: block;
    }

    .pickup-articles-p,
    .recent-articles-p {
        margin: auto;
        min-width: 200px;
        width: 100%;
    }

    .recent-articles-p:hover #more {
        font-size: 2.2em;
    }

}