@charset "utf-8";
/* ========================
common
========================*/
:root {
    --serif_ja: "Noto Serif JP", sans-serif;
    --sansserif_ja: "Noto Sans JP", sans-serif;
    --gray: #5C5C5C;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    font-family: var(--sansserif_ja);
    font-style: normal;
    color: #000;
    font-weight: 400;
    background-color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.mv {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.mv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block; /* 画像の下に余白ができるのを防ぐ */
}

.article {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 520px;
    margin: 0 auto;
}

.article__date {
    font-family: var(--serif_ja);
    font-weight: 700;
    font-size: 6.5rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.article__title {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article__title h3{
    font-size: 3.2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.08em;
}

.article__title p {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.08em;
}

.article__map {
    max-height: 250px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.article__txt {
    font-size: 1.6rem;
    line-height: 2;
    text-align: justify;
}

.video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 80px;
}

.video iframe {
    width: 100%;
    height: 100%;
}

.spBr {
    display: none;
}

@media screen and (max-width: 768px) {
    .article {
        gap: 24px;
        max-width: 85%;
    }

    .article__date {
        font-size: 4rem;
        line-height: 1.3;
    }

    .article__title h3 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .article__title p {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .article__txt {
        font-size: 1.4rem;
    }

    .video {
        margin-top: 24px;
    }

    .spBr {
        display: block;
    }
}

@media screen and (max-width:450px) {
    .mv {
        aspect-ratio: unset;
        height: 100dvh;
        overflow: hidden;
    }
}

/* ========================
nav
========================*/
.nav {
    position: fixed;
    min-width: 120px;
    height: 100%;
    padding-top: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 50;
}

.nav__list {
    padding: 0 15% 0 15%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.nav__item {
    font-family: var(--serif_ja);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2;
    color: var(--gray);
    text-align: right;
    position: relative;
}

.nav__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 1px;
    background: #000;
    translate: -50% 0;
    transition: all .3s;
    transform: scale(0 , 1);
    transform-origin: left top;
}

.nav__item:hover {
    color: #000;
}

.nav__item:hover::after {
    transform: scale(1 , 1);
}

@media screen and (max-width: 768px) {
    .nav__item {
        color: #000;
    }

    .nav__item::after {
        display: none;
    }

    .nav__humberger {
        position: fixed;
        width: 60px;
        height: 60px;
        top: 40px;
        right: 20px;
        z-index: 10000;
        cursor: pointer;
    }
    
    .nav__humberger span {
        position: absolute;
        width: 60%;
        height: 1px;
        left: 12px;
        background-color: #000;
        transition: transform 0.3s ease, top 0.3s ease;
    }

    .nav__humberger span:nth-of-type(1) {
        top: 0px;
    }

    .nav__humberger span:nth-of-type(2) {
        top: 12px;
    }

    .nav__humberger span:nth-of-type(3) {
        top: 24px;
    }

    /* activeクラスが付与されると線が回転して×に */

    .nav__humberger.active span:nth-of-type(1) {
        transform: translateY(12px) rotate(45deg);
    }

    .nav__humberger.active span:nth-of-type(2) {
        opacity: 0;
    }    

    .nav__humberger.active span:nth-of-type(3) {
        transform: translateY(-12px) rotate(-45deg);
    }  

    /* スマートホン版ナビゲーションの出現 */
    .nav {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(3px);
        width: 100%;
        height: 100svh;/*42/7修正*/
        padding: 60px 60px calc(60px + env(safe-area-inset-bottom));/*42/7修正*/
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.4s; 
        align-items: start;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__item:hover {
        transform:  scale(1.2);
    }
    
    .nav__list {
        padding: 0 ;
        gap: 32px;
    }
}
/* SP 768px */
    

/* ========================
main visual
========================*/
.mainVisual {
    position: relative;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    padding: 0 85px;
}

.main__kyodologo {
    position: absolute; 
    top: 60px;
    right: 5%; 
    max-width: 135px;
}


.main__title {
    display: flex;
    flex-direction: column;
    animation: fadeIn 3s ease-out forwards;
}

.main__title img {
    max-width: 350px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.main__title p {
    font-size: 2rem;
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 2;
    margin: 64px auto 0;
    width: 57%;
}

@media screen and (max-width: 768px){
    .mainVisual {
        padding: 0 24px;
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .main__kyodologo {
        top: 40px;
        right: unset;
        left: 30px;
    }

    .main__title img {
        margin: 160px auto 0;
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .main__title p {
        font-size: 1.6rem;
        margin-top: 40px;
        width: 75%;
    }
}

/* SP 768px */

/* ========================
april
========================*/
.gallery__april {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 80px auto;
    padding: 0 16%;
}

.gallery__april img {
    object-fit: cover;
    aspect-ratio: 1.618 / 1;
}

@media screen and (max-width: 768px) {
    .gallery__april {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0;
    }
}

/* ========================
may
========================*/
.section__may {
    margin-top: 200px;
}

.gallery__may {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 80px auto;
    padding: 0 16%;
}

.gallery__may img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .section__may {
        margin-top: 96px;
    }

    .gallery__may {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0;
    }
}


/* ========================
june
========================*/
.section__june {
    margin-top: 200px;
}

.gallery__june {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin: 80px auto;
    padding: 0 16%;
    width: auto;
    align-items: center;
}

.gallery__june img:first-child {
    max-width: 870px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1.618 / 1;
}

.gallery__june img:last-child {
    max-width: 620px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1.618 / 1;
}

@media screen and (max-width: 768px) {
    .section__june {
        margin-top: 96px;
    }

    .gallery__june {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0 16%;
    }

    .gallery__june img:first-child,
    .gallery__june img:last-child  {
        padding: 0;
        max-height: none;
        width: 100%;
    }    
}


/* ========================
july
========================*/
.section__july {
    margin-top: 200px;
}

.gallery__july {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 80px auto;
    padding: 0 16%;
}

.gallery__july img:last-child {
   grid-column: 1 / -1;
   width: 100%;
   object-fit: cover;
   aspect-ratio: 1.618 / 1;
}

@media screen and (max-width: 768px) {
    .section__july {
        margin-top: 96px;
    }

    .gallery__july {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0;
    }

    .gallery__july img:last-child {
       aspect-ratio: 1.618 / 1;
    }
}

/* ========================
august
========================*/
.section__august {
    margin-top: 200px;
}

.gallery__august {
    display: grid;
    grid-template-columns: 4fr 5fr;
    grid-template-rows: auto auto;
    gap: 16px;
    margin: 80px auto 144px;
    padding: 0 16%;
}

.gallery__august img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__august img:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 1.414 / 1;
    max-height: 495px;
    object-fit: cover;
    margin-top: 64px;
}

@media screen and (max-width: 768px) {
    .section__august {
        margin-top: 96px;
    }

    .gallery__august {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0;
    }

    .gallery__august img:last-child {
        margin-top: 0;
    }
}

/* ========================
september
========================*/
.section__september {
    margin-top: 200px;
}

.gallery__september {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    row-gap: 16px;
    margin: 80px auto 144px;
    padding: 0 16%;
}

.gallery__september img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__september img:last-child {
   grid-column: 1 / -1;
   width: 100%;
   object-fit: cover;
   margin-top: 64px;
   aspect-ratio: 1.618 / 1;
}

@media screen and (max-width: 768px) {
    .section__september {
        margin-top: 96px;
    }

    .gallery__september {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0;
    }

    .gallery__september img:last-child {
       aspect-ratio: 1.414 / 1;
       margin-top: 0px;
    }
}


/* ========================
october
========================*/
.section__october {
    margin-top: 200px;
}

.gallery__october {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 80px auto;
    padding: 0 16%;
}

.gallery__october img:first-child {
   grid-column: 1 / -1;
   width: 100%;
   object-fit: cover;
   aspect-ratio: 1.618 / 1;
}

@media screen and (max-width: 768px) {
    .section__october {
        margin-top: 96px;
    }

    .gallery__october {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0;
    }

    .gallery__october img:first-child {
       aspect-ratio: 2 / 1;
    }
}

/* ========================
november
========================*/
.section__november {
    margin-top: 200px;
}

.gallery__november {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 48px 16px;
    margin: 80px auto;
    padding: 0 16%;
}

.gallery__november img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__november img:first-child,
.gallery__november img:last-child {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 1.618 / 1;
}

@media screen and (max-width: 768px) {
    .section__november {
        margin-top: 96px;
    }

    .gallery__november {
        gap: 8px;
        margin: 24px auto 48px;
        padding: 0;
    }

    .gallery__november img:first-child,
    .gallery__november img:last-child {
        grid-column: 1 / -1;
        width: 100%;
        aspect-ratio: 2 / 1;
    }
}

/* ========================
footer
========================*/
.footer {
    margin-top: 200px;
}

.credit__kyodoLogo {
    max-width: 135px;
    position: relative;
    display: inline-block; 
    text-align: center;
    margin-top: 50px; 
    padding-top: 50px; 
    left: 50%;
    transform: translateX(-50%);
}

.credit__kyodoLogo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 364px; 
    height: 1px; 
    background-color: #333;
}

.footer__txt {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 2;
    text-align: center;
    margin: 120px auto 80px;
}

.footer__credit {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer__credit img {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
}

.credit {
    text-align: center;
}

.credit__item {
    margin-top: 56px;
}

.credit__item dt {
    font-size: 1.6rem;
    font-weight: 600;
}

.credit__item dd {
    font-family: var(--serif_ja);
    font-size: 1.6rem;
    margin-top: 16px;
}

.topBtn {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 2%;
    right: 12px;
    opacity: 0.7;
    z-index: 100;
    transition: opacity 0.5s;
}

.topBtn:hover {
    opacity: 1;
}

.topBtn img {
    display: block;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .footer {
        margin-top: 160px;    
    }

    .footer__credit {
        padding: 0 24px;
    }

    .credit__kyodoLogo {
        max-width: 150px;
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 40px;
        padding-top: 40px;
    }

    .credit__kyodoLogo::before {
        width: 100%; /* ロゴ幅に追従 */
        transform: none; /* 親のtransformと競合しないようにリセット */
        left: 0;
    }

    .credit__item {
        margin-top: 32px;
    }

    .credit__item dt {
        font-size: 1.4rem;
    }

    .credit__item dd {
        font-size: 1.4rem;
        margin-top: 8px;
    }

    .footer__txt {
        font-size: 1.3rem;
        padding: 0 24px;
        margin: 40px auto 80px;
    }
}

/* ========================
scroll animation
========================*/
.scroll-infinity {
    width: 100%;
    overflow: hidden;
    margin-top: 200px;
    position: relative;
}

.scroll-infinity__wrap {
  display: flex;
  width: fit-content;
  gap: 0 10px;
}

.scroll-infinity__list {
    display: flex;
    flex: none;
    animation: slide 50s linear infinite;
    gap: 0 10px;
}

.scroll-infinity__item {
    flex: 0 0 auto;
}

.scroll-infinity__item img {
    display: block;
    width: 470px;
    height: 287px;
    object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); 
  }
}


@media screen and (max-width: 768px) {
    .scroll-infinity__item img {
        width: 300px; 
        height: 200px; 
    }
    
    .scroll-infinity {
        margin-top: 100px; 
    }
}
/* SP 768px */
