@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Zen+Old+Mincho:wght@400;700&display=swap');

/*///////////////////////////////////////////////////////
reset
///////////////////////////////////////////////////////*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

ul, ol, dl {
    list-style: none;
}

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

/*///////////////////////////////////////////////////////
common
///////////////////////////////////////////////////////*/
/*chrome対策*/
*:focus {
	outline: none;
}
html,body {
    width: 100%;
    margin:0;
    padding:0;
}


html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #5E573A;
    font-size: 1rem;
    line-height: 2.5;
    letter-spacing: 0.15rem;
}

.txtCenter {
    text-align: center;
}

.smp-only-img {
    display: none !important;
}

/*///////////////////////////////////////////////////////
header
///////////////////////////////////////////////////////*/

header {
    margin: 0;
    padding: 0;
    display: flow-root; 
}

.header-inner {
    margin: 0;
    padding: 0;
}

header h1 {
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 0.75em;
    font-weight: 300;
    color: #A18C1A;
    margin: auto;
    padding: 5px 0;
    height: 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 100;
}

/* ===メインビジュアル（MV）コンテナ=== */

.mv-container {
    position: relative;
    width: 100%;
    height: 1125px;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}

.mv_fade {
    position: absolute;
    inset: 0;
    background: url(../images/mv_fade_back.png) repeat-x;
    z-index: 1;
}

#confetti-canvas {
    pointer-events: none;
}

/* ====パーツ配置（絶対値・等倍）=== */

.mv-wave-layer {
    position: absolute;
    top: 600px;
    left: 0;
    width: calc(100% + 2916px);
    height: 400px;
    transform: translateY(-50%);
    background: transparent url(../images/mv/mv_fade_04_2.png) repeat-x;
    background-size: 2916px 168px;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s ease;
    animation: wave-flow 30s linear infinite;
}

.mv-wave-layer.is-visible {
    opacity: 1 !important;
}

/* 親コンテナ（高さ必須） */
.mv-main-images {
    position: relative;
    width: 100%;
    height: 1125px;
    overflow: hidden;
    margin-top: -50px;
    padding: 0; 
}

.mv-common-img {
    position: absolute;
    opacity: 0;
    transition: opacity 2s ease;
}

.mv-common-img:nth-child(1),
.mv-common-img:nth-child(2),
.mv-common-img:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: auto;
    height: auto;
}

.mv-common-img:nth-child(4) {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    z-index: 5;
    opacity: 0;
    transition: opacity 4s ease-in-out; 
}

/* ナビゲーション */
.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 60px;
    left: 50%;
    gap: 30px;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
}
.header-nav div {
    margin: 0;
    flex-shrink: 0;
}

.header-nav div img {
    width: 376px;
    max-width: none;
}

/* ===　紙吹雪　===*/

#confetti-canvas {
    position: absolute;
    width: 100% !important;
    z-index: 7;
    pointer-events: none;
}

/* =================================================
   アニメーション・表示制御
==================================================== */

@keyframes wave-flow {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-2916px);
    }
}

header + section,
header + main {
    position: relative;
    margin-top: 0;
    clear: both;
}

/*///////////////////////////////////////////////////////
main
///////////////////////////////////////////////////////*/

main {
    width: 100%;
}

/*///////////////////////////////////////////////////////
message
///////////////////////////////////////////////////////*/

#message {
    background: url(../images/message_back.png) no-repeat center top;
}
.message-inner {
    max-width: 900px;
    margin: auto;
    font-size: 1.1em;
    padding: 140px 0 80px 0;
    text-align: center;
}
.message-inner h2 {
    font-family: 'Zen Old Mincho', serif;
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    z-index: 1;
}
.message-inner h2::after {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 413px;
    height: 106px;
    background: url(../images/message_ttl_back.png) no-repeat center/contain;
    z-index: -1;
}
.message-inner p {
    margin-bottom: 30px;
    text-align: justify;
}
.message-inner p:last-child {
    margin-bottom: 0;
}
.name-flex {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 20px;
    margin-left: auto;
    width: fit-content;
    margin-top: 40px;
    padding-bottom: 60px;
}
.name-flex .name-wrap {
    padding-bottom: 0;
}
.name-flex p {
    line-height: 1.2;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: right;
}
.name-flex .riji,.renmei {
    font-size: 0.8rem;
}
.name-flex .name {
    font-size: 1.1rem;
}

/*///////////////////////////////////////////////////////
photoline-section
///////////////////////////////////////////////////////*/

#photoline-section {
    background: url(../images/photoline.jpg) repeat-x center center;
    min-height: 350px;
}

/*///////////////////////////////////////////////////////
content-section
///////////////////////////////////////////////////////*/

#content-section {
    background-color: #ECE7D1;
    padding-bottom: 140px;
}
.content {
    max-width: 1300px;
    width: 95%;
    margin: auto;
    text-align: center;
}

.content h2 {
    font-family: 'Zen Old Mincho', serif;
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
    margin-top: 100px;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    z-index: 1;
}
.content h2::after {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 676px;
    height: 79px;
    background: url(../images/contents_ttl_back.png) no-repeat center/contain;
    z-index: -1;
}
.content_year {
    background: url(../images/content_year_back.jpg) no-repeat center/contain;
    font-size: 1.8rem;
    font-family: 'Zen Old Mincho', serif;
    color: #ffffff;
}
.list_flex {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin: 25px auto;
}
.list_flex .list_year {
    width: 200px;
    color: #A18C1A;
    margin-right: 30px;
    line-height: 1.2;
}
.list_flex .list_year .num {
    font-size: 3rem;
    font-family: 'Zen Old Mincho', serif;
}
.list_flex .list_year .nendo {
    font-size: 0.9rem;
}
.list_flex .list_program {
    width: 1065px;
    color: #5E573A;
    max-width: calc(100% - 230px);
}
.list_flex .list_program dl {
    background-color: #ffffff;
    display: table;
    padding: 20px;
    line-height: 1.6;
    position: relative;
    width: 100%;
}

.list_flex .list_program dt {
    width: 380px;
    font-weight: 700;
    flex-shrink: 0;
    display: table-cell;
    vertical-align: middle;
}
.list_flex .list_program dd {
    width: auto;
    flex-grow: 1;
    margin-left: 20px;
    font-size: 0.9rem;
    padding-right: 150px;
    padding-left: 20px;
    border-left: 3px #A18C1A solid;
    min-height: 80px;
    display: table-cell;
    vertical-align: middle;
    letter-spacing: 0.15rem;
}
.list_flex .list_program dd span {
    font-weight: 700;
    font-size: 1.2rem;
}
.list_flex .list_program .indent {
    padding-left: 4.75em;
    text-indent: -4.75em;
}


.list_wrap {
    position: relative;
    margin-bottom: 10px;
}
.list_wrap:last-child {
    margin-bottom: 0;
}
.list_link_container {
    position: absolute;
    bottom: 20px; 
    right: 20px;
    transform: none;
    
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}
.list_link_container img {
    width: 19px;
    height: 19px;
    margin-left: 5px;
}
.list_link_container a { 
    color: #A18C1A;
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.3;
    transition: 0.3s;
    
    display: flex;
    align-items: flex-end;
}
.list_link_container a:hover { 
    color: #e3dbaa;
    opacity: 0.7;
}
.list_link2 {
    margin-bottom: 0;
}
.list_link2:last-child {
    margin-bottom: 0;
}
 .list_link a:hover,
.list_link2 a:hover { 
    color: #e3dbaa;
    opacity: 0.7;
}

.list_link {
    display: flex;
    align-items: flex-end;
}
.list_link img {
    transform: translateY(2px);
}


.content-line {
    margin: 0;
    padding: 0;
    height: 3px;
}

.content-line img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/*///////////////////////////////////////////////////////
footer
///////////////////////////////////////////////////////*/

footer {
    position: relative;
    background-color: #ffffff;
}
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px; /* 線の太さ */

    background-image: linear-gradient(
        90deg, 
        rgba(226, 212, 184, 1) 0%, 
        rgba(227, 219, 170, 1) 5%, 
        rgba(161, 140, 26, 1) 50%, 
        rgba(227, 219, 170, 1) 95%, 
        rgba(226, 212, 184, 1) 100%
    );
}
.footer-inner {
    padding: 25px 0 40px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-inner p {
    margin: 0;
    display: flex;
    justify-content: center;
}
.footer-inner p img {
    height: auto;
    width: 50%;
}

/*page-topとの重なり処理*/
footer img[src*="footer_img_01.png"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    height: auto;
}

.footer-inner {
    text-align: center;
    position: relative;
    width: 100%;
}


/*///////////////////////////////////////////////////////
トップへ戻るボタン
///////////////////////////////////////////////////////*/

#page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
}

#page-top a {
    display: block;
    transition: 0.3s; /* hover用 */
}

#page-top a:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

#page-top img {
    width: 60px;
    height: auto;
}




/* =================================================
   Responsive: Tablet & Smartphone (768px以下)
==================================================== */

@media screen and (max-width: 768px) {
    html, body {
        min-width: 100%;
        overflow-x: hidden;
    }

    .no-pc { display: none; }

/*=== header ===*/

    header h1 {
        text-align: center;
        font-size: clamp(0.8rem, 5vw, 1.2rem);
        letter-spacing: 0;
        font-weight: 300;
        color: #A18C1A;
        padding: 5px 0 0;
        z-index: 100;
        height: 50px;
        display: flex;
        justify-content: center;
    }
    .mv-wave-layer {
        display: none !important;
    }
    .mv-container {
        width: 100%;
        height: 100vh;
        max-height: 800px !important;
        position: relative;
        overflow: hidden;
        
    }
    .mv-main-images {
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }

    #smp-target-img {
        width: 100% !important;
        left: 0 !important;
        transform: scale(1.3);
        transform-origin: center center;
    }

    #smp-target-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .mv-common-img:nth-child(1),
    .mv-common-img:nth-child(2),
    .mv-common-img:nth-child(3) {
        top: calc(5% + 5vh)!important;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 10;
        width: 70%;
        height: auto;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 60%;
        left: 50%;
        gap: 10px;
        transform: translateX(-50%);
        width: 70%;
        z-index: 10;
    }
    .header-nav div {
        width: 100%;
        max-width: 376px;
        margin: 0;
        flex-shrink: 0;
    }

    .header-nav div img {
        width: 100%;
    }


/*=== message ===*/

    #message {
        background: none;
    }
    .message-inner {
        max-width: 90%;
        margin: auto;
        font-size: 1rem;
        padding: 100px 0 40px 0;
        text-align: center;
    }
    .message-inner h2 {
        font-family: 'Zen Old Mincho', serif;
        font-size: clamp(1.7rem, 5vw, 2.75rem);
        font-weight: 300;
        letter-spacing: 0.2rem;
        line-height: 1.2;
        margin-bottom: 40px;
        position: relative;
        display: inline-block;
        z-index: 1;
    }
    .message-inner h2::after {
        content: "";
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 180%;
        background: url(../images/message_ttl_back_smp.png) no-repeat center;
        background-size: 80% auto;
        z-index: -1;
    }
    .message-inner p {
        margin-bottom: 30px;
        line-height: 2;
        letter-spacing: 0;
    }
    .message-inner p:last-child {
        margin-bottom: 0;
    }
    .name-flex .riji,.renmei {
        font-size: 0.8rem;
    }
    .name-flex .name {
        font-size: 1rem;
    }

/*=== photoline-section ===*/

    #photoline-section {
        background: url(../images/photoline_smp.jpg) no-repeat center center;
        min-height: auto;
        height: auto;
        aspect-ratio: 800 / 320;
        background-size: contain;
        width: 100%;
    }


/*=== content-section ===*/

    #content-section {
        padding-bottom: 80px;
    }
    .content {
        max-width: 90%;
        margin: auto;
        text-align: center;
    }

    .content h2 {
        font-size: clamp(1.7rem, 5vw, 2.75rem);
        line-height: 1.4;
        margin-top: 100px;
        margin-bottom: 0;
        width: 100%;
        letter-spacing: 0.2rem;
    }
    .content h2::after {
        top: -18px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 100%;
        background: url(../images/contents_ttl_back.png) no-repeat center/contain;
        z-index: -1;
    }
    .content_year {
        background: none;
        font-size: clamp(0.8rem, 5vw, 1.4rem);
        font-family: 'Zen Old Mincho', serif;
        color: #5E573A;
        margin-top: -20px;
        letter-spacing: 0;
    }
    .content_year::before {
        content: '＜';
        font-family: 'Zen Old Mincho', serif;
    }
    .content_year::after {
        content: '＞';
        font-family: 'Zen Old Mincho', serif;
    }

    .space-none { display: none; }

    .list_flex {
        display: block;
        margin: 25px auto -5px;
    }
    .list_flex .list_year {
        width: 100%;
        color: #ffffff;
        margin-right: 0;
        line-height: 1.2;
        text-align: center;
        letter-spacing: 0;
        min-height: 40px;
        padding: 10px 50px 10px 10px;
        background-image: linear-gradient(90deg, rgba(222, 197, 0, 1), rgba(181, 161, 2, 1) 40%, rgba(161, 140, 26, 1));
        position: relative;
        cursor: pointer;
    }
    .list_flex .list_year .num {
        font-size: clamp(1.6rem, 5vw, 2.75rem);
        font-family: 'Zen Old Mincho', serif;
        letter-spacing: 0.12rem;
    }
    .list_flex .list_year .nendo {
        font-size: clamp(0.8rem, 5vw, 1.3rem);
    }
    .list_flex .list_year .nengo {
        font-size: clamp(0.7rem, 5vw, 1.1rem);
        margin-right: auto;
    }
    .list_flex .list_program {
        width: 100%!important;
        max-width: 100%!important;
        color: #5E573A;
    }
    .list_flex .list_program dl {
        width: 100%!important;
        display: block!important;
        flex-wrap: nowrap;
        padding: 20px 20px;
        line-height: 1.6;
        margin-bottom: 0;
        margin-top: 20px;
        position: relative!important;
    }
    .list_flex .list_program dt {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    .list_flex .list_program dd {
        display: block;
        width: 100%;
        margin-left: 0;
        
        font-size: 0.9rem;
        padding-top: 15px;
        padding-right: 0;
        padding-left: 0;
        border-left: none;
        border-top: 2px #A18C1A solid;
    }
    .list_flex .list_program dd span {
        font-weight: 700;
        font-size: 1.2rem;
    }


    .list_wrap {
        position: relative!important;
        display: block;
        width: 100%;
    }
    .list_link_container {
        width: 100%;
        position: relative;
        top: 0;
        bottom: 0;
        right: 0;
        background-color: #ffffff;
        margin-top: 0;
        margin-bottom: 20px;
        padding: 0 20px 20px;

        display: flex;
        flex-direction: column;
        align-items: flex-end;

        top: auto;
        transform: none;
    }

    .content-line {
        display: none;
    }

/*=== アコーディオン ===*/

    .list_flex .list_year,
    .js-accordion-trigger {
        display: block;
        position: relative;
        width: 100%;
        padding: 15px 45px;
        box-sizing: border-box;
        text-align: center;
        cursor: pointer;
    }

    .trigger-inner {
        display: inline-block;
        text-align: center;
        width: auto;
    }

    .list_flex .list_year .accordion-icon,
    .accordion-icon {
        display: block !important;
        position: absolute;
        right: 15px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: auto;
        margin: 0;
        z-index: 10;
        transition: transform 0.5s ease;
    }

    .js-accordion-content {
        display: none;
    }

    .js-accordion-trigger.is-open .accordion-icon {
        transform: translateY(-50%) rotate(180deg);
    }

/*=== footer ===*/

    footer::before {
        background-image: none;
    }

/*=== page-top ===*/  

    #page-top {
        position: fixed;
        right: 20px;
        bottom: 20px;
        left: auto;
        margin: 0;
        width: 50px;
        z-index: 10000;
        display: none;
    }

    #page-top a img {
        width: 100%;
        height: auto;
    }
}


/* =================================================
   Responsive: Smartphone (480px以下)
==================================================== */


@media screen and (max-width: 480px) and (orientation: portrait){

    h1 {
        font-size: 0.9rem !important; 
        white-space: nowrap !important;
        letter-spacing: 0.05rem !important;
    }

    .name-flex {
        display: flex;
        flex-direction: row;
        align-items: flex-end; 
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .name-flex .name-wrap {
        flex: 1;
        padding-bottom: 0;
    }

    .name-flex div:last-child {
        width: 40%;
        flex-shrink: 0;
    }

    .name-flex div img {
        width: 100%;
        height: auto;
    }

    .name-flex .renmei {
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .name-flex p {
        line-height: 1.2;
        text-align: right;
    }
}


/*=== MV ===*/ 

    @media screen and (max-width: 480px) {
    .mv-container {
        height: 100vh !important;
        aspect-ratio: auto !important;
    }

    .mv-main-images {
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }

    #smp-target-img {
        width: 100% !important;
        left: 0 !important;
        transform: scale(1.3);
        transform-origin: center center;
    }

    #smp-target-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .mv-common-img:nth-child(1),
    .mv-common-img:nth-child(2),
    .mv-common-img:nth-child(3) {
        top: calc(0% + 5vh)!important;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 10;
        width: 90%;
        height: auto;
    }
    
    .smp-only-img {
        display: block !important;
        z-index: 5 !important; 
        position: absolute !important;
        top: 0; left: 0; width: 100%; height: 100%;
    }
    .smp-only-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        max-width: none !important;
    }

    #smp-target-img {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        opacity: 0;
        display: block !important;
        transition: opacity 3s ease;
        z-index: 10;
    }
    #smp-target-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

.pc-only-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}


/* =================================================
   Responsive: Smartphone (380px以下)
==================================================== */

@media screen and (max-width: 380px) {
    .mv-container {
        position: relative;
        height: 100vh;
        min-height: none;
        overflow: hidden;
    }
    .mv-common-img:nth-child(1),
    .mv-common-img:nth-child(2),
    .mv-common-img:nth-child(3) {
        width: 90%;
        height: auto;
    }

    .header-nav {
        top: 65%;
    }
}


/**/

/*=== 横向き時の設定 ===*/
@media screen and (orientation: landscape) {
    @media screen and (max-width: 1439px) {
        .mv-container {
            height: 1125px !important;
        }
    }
}

/*=== FVはみ出し防止処理 ===*/
@media screen and (max-width: 480px) {
    .mv-container {
        height: 100svh !important;
        max-height: 100svh !important;
        min-height: 100svh !important;
        overflow: hidden !important;
        position: relative !important;
        display: block !important;
    }

    .mv-container > * {
        max-height: 100svh !important;
    }

    .header-nav {
        top: 65% !important; 
        bottom: auto !important;
        transform: translateX(-50%) !important;
        position: absolute !important;
        width: 60%;
    }
}


/* =================================================
   Responsive: Tablet size (1200px以下)
==================================================== */

@media screen and (max-width: 1200px) and (min-width: 769px) {
    main {
        padding-top: 140px;
    }

    .message-inner {
        padding: 0 20px;
    }

    .content_year {
        background: url(../images/content_year_back.jpg) no-repeat center/cover;
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 36px;
    }

    /* 年度中央寄せ */
    .list_flex {
        display: block;
        width: 100%;
        max-width: none;
        align-self: stretch; 
    }
    
    .list_year {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 15px 0 20px 0 !important;
    }
    .list_year .num, .list_year .nendo { display: inline; }
    .list_year br.no-pc { display: none; }
    .list_year .nengo { display: block; margin-top: 5px; }

    .list_program {
        display: block;
        width: 100%;
        min-width: 100%;
    }

    .list_program dl {
        display: flex;
        flex-direction: row;
        width: 100%; 
        min-width: 100%;
        margin: 0 0 20px 0;
    }
    .list_program dt {
        flex: 0 0 35%;
        width: 35%;
    }
    .list_program dd {
        flex: 1 1 auto;
    }
    
}