@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');

.s_vertical {
    writing-mode: vertical-lr;
    display: inline-block;

    margin: 5px;
    text-orientation: upright;
}
.s_w500 {
    font-weight: 500;
}
.s_w700 {
    font-weight: 700;
}
.s_w900 {
    font-weight: 900;
}
.s_ttl {
    color: var(--main-color);
    text-decoration: underline;
    font-size: 2.6em;
    text-underline-offset: 20px;
}
.dsk_hidden {
    display: none;
}
.sp_hidden {
    width: 100%;
}
@media (max-width: 1720px) {
    .s_ttl {
        font-size: 2em;
    }
}
@media (max-width: 768px) {
    .s_ttl {
        justify-content: center;
        display: flex;
    }
}
@media (max-width: 760px) {
    .dsk_hidden {
        display: flex;
        justify-content: center;
    }
    .sp_hidden {
        display: none;
    }
}
@media (max-width: 500px) {
    .s_ttl {
        display: flex;
        justify-content: center;
    }
}

/*HERO SECTION BASE */
.s_hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    padding: auto;
}

/* LEFT SIDE: Roboto Primary */
.s_hero_left_text {
    font-family: "Roboto", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.s_heading_group {
    display: flex;
    flex-direction: row;
    align-items: center; 
    gap: 25px;
    white-space: nowrap;
}
.s_edition_badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
        padding-left: 10px;
    /* -webkit-text-stroke: .1px var(--bk-color);
    -webkit-text-stroke-width: 6px;
    -webkit-text-stroke-color:var(--bk-color); */
    paint-order: stroke fill;
    stroke-miterlimit: 1;
}
.s_date_vertical {
    writing-mode: vertical-rl;
    font-size: 1.6em;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}
.s_date_xl {
    font-size: 2.5em; 
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.05em;
    display: block;
    margin: 5px 0;
}
.s_festival_name {
    font-size: 6em;
    font-weight: 500;
    margin: -25px 0px 0px 0px;
    letter-spacing: 0.1em;
    line-height: 1;
    font-family: "Noto Sans JP", sans-serif;
    /* -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black; */
}
.s_sub_text {
    display: flex;
    align-items: last baseline;
    font-size: 2.2em;
    font-weight: 700;
    margin: -20px 0px 0px 0px
}
.s_hero_month {
    margin-block: auto;
}
.s_hero_date_xl {
    font-size: 2em;
}
.s_hero_month img {
    height: 69px;
    width: auto;
    margin: 0 10px;
    vertical-align: middle;
}
.s_year, .s_time  {
    font-size: 1em;
}


/* RIGHT SIDE: Vertical Japanese */
.s_hero_right_text {
    display: flex;
    gap: 15px;
}
.s_vertical_text {
    writing-mode: vertical-rl;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin: 0;
    line-height: 1.2;
}


/* Responsive */
@media (max-width: 1250px) {
    .s_date_xl {
        font-size: 3em; 
    }
    .s_date_vertical {
        font-size: 2em;
    }
    .s_festival_name { 
        font-size: 8em; 
    }
    .s_hero_date_xl {
        font-size: 1.6em;
    }
}
@media (max-width: 760px) {
    .c_hero_container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 0px;
        display: flex;
        flex-direction: column-reverse;
    }
    .s_heading_group, .s_sub_text {
        justify-content: center;
    }
    .s_hero_right_text {
        justify-content: center;
        margin-top: 0px;
    } 
    .s_hero_right_text {
        align-items: flex-start;
        gap: 5px;
    }
    .s_hero_month img {
        height: 45px;
    }
}
@media (max-width: 500px) {
    .s_sub_text {
        display: block;
    }
    .s_hero_month img {
        height: 35px;
        margin: 0px 0px;
        vertical-align: baseline;
    }

}
@media (max-width: 470px) {
    .s_hero_left_text {
        gap: 20px;
    }
    .s_festival_name {
        font-size: 7em;
    }
    .s_date_vertical {
        font-size: 1.8em;
    }
    .s_date_xl {
        font-size: 2.5em;
    }
    .s_hero_date_xl {
        font-size: 1.4em;
    }
    .s_year, .s_time {
        font-size: .8em;
    }
    .s_hero_month img {
        height: 30px; 
    }

}
@media (max-width: 420px) {
    .s_hero_left_text {
        gap: 20px;
    }
    .s_festival_name {
        font-size: 6em;
    }
    .s_date_vertical {
        font-size: 1.6em;
    }
    
    .s_heading_group {
        gap: 15px;
    }
}


/* About Section */
.s_about {
    background-color: var(--wh-color);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.15);
}
.s_about_info, .s_about_img_box {
    display: flex;
    flex-direction: column;
}
.s_about_info {
    max-width: 54%;
    width: 100%;
    gap: 50px;
}
.s_about_txt {
    color: var(--bk-color);
    line-height: 33px;
}
.s_about_img_box {
    object-fit: contain;
    height: auto;
    width: auto;
}
.s_about_img {
    border-radius: 20px;
}


@media (max-width: 1546px) {
    .s_about_info {
        max-width: 51%;
    }
}
@media (max-width: 1342px) {
    .s_about_info {
        max-width: 62%;
    }
}
@media (max-width: 760px) {
    .s_about_info {
        max-width: 100%;
    } 
    .s_about_img_box {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .s_about_img {
        width: 80%;
        height: 300px;
    }
}
@media (max-width: 600px) {
    .s_about_img {
        width: 100%;
        height: 250px;
    }
}


/* Announcement Section */
.s_announcement {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0px 50px 0px;
    background-color: rgba(255, 255, 255, 0.5);
}
.s_announcement_info {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.s_announcement_btn {
    display: inline-block;
    position: relative;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--rgb-bk-color);
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
    width: fit-content;
    background-color: transparent;
}

.s_announcement_btn_txt {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
    position: relative;
    z-index: 5;
    color: var(--bk-color);
    font-weight: 700;
    transition: color 0.4s ease;
}


/* The Circle around the chevron */
.s_chevron_main  {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}


/*Chevron Icon*/
.pure_css_chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid var(--bk-color);
    border-left: 2.5px solid var(--bk-color);
    box-sizing: border-box;
}


/* --- Chevron Style --- */
.s_chevron_main  use {
    fill: var(--wh-color);
}
.news-notice:hover .s_chevron_main  use {
    fill: var(--main-color); 
}
.news-notice:hover .s_chevron_main  {
    transform: translateX(5px);
    fill: var(--main-color);
}
.c_chevron_circle_container {
    display: flex;
    justify-content: end;
}


/* Direction Rotations */
.pure_css_chevron.left {
    transform: translateX(2px) rotate(-45deg);
}

.pure_css_chevron.right {
    transform: translateX(-2px) rotate(135deg);
}

.pure_css_chevron.up {
    transform: translateY(2px) rotate(45deg);
}


/* Sliding Background Fill */
.s_announcement_btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: var(--main-color);
    transition: all 0.5s ease;
}
.s_announcement_btn:hover::after {
    left: 0;
    width: 100%;
}
.s_announcement_btn:hover .s_announcement_btn_txt {
    color: var(--wh-color);
}
.pure_css_chevron {
    border-color: var(--wh-color);
}
.s_chevron_main  {
    background-color: var(--main-color);
}
.s_announcement_btn:hover .s_chevron_main  {
    background-color: var(--wh-color);
}
.s_announcement_btn:hover .pure_css_chevron {
    border-color: var(--main-color) !important;
}


/* Border removal on hover */
.s_announcement_btn:hover {
    border-color: transparent;
}

@media (max-width: 1720px) {
    .s_announcement_btn_txt {
        padding: 10px;
    }
}
@media (max-width: 1180px) {
}
@media (max-width: 760px) {
    .s_announcement_info {
        align-items: center;
        padding-bottom: 30px;
    }
}
@media (max-width: 500px) {
    .s_announcement_btn_txt {
        padding: 5px;
        gap: 10px;
        font-size: 1.2em;
    }
}
@media (max-width: 356px) {
    .s_announcement_btn {
        width: 65%;
    }
}


/*News List*/
.news-notice {
    display: flex;
    flex-direction: row;
    gap: 30px;
    color: var(--bk-color);
    transition: transform 0.3s ease-in-out;
    transform-origin: left center; 
    font-size: 1.5em;
    will-change: transform;
}

.news-title {
    color: var(--bk-color);
    width: 100%;
}
.s_wrap_content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}
.s_notice{
    display: grid;
    grid-template-columns: 20% 80%;
    justify-content: center;
    padding: 50px 100px 100px 100px;
}
ul a:not(:last-child) .rounded-dashes {
    border: none;
    height: 2px; /* Thickness of the dash */
    width: 100%;
    margin-top: 10px;
    
    /* 2. SVG Background for Rounded Dashes */
    /* - stroke-dasharray='10, 15': 10px dash length, 15px gap (Wider Gap)
       - stroke-linecap='round': This creates the rounded ends of the dashes
    */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='1' x2='100%25' y2='1' style='fill:none; stroke:rgba(0, 0, 0, 0.1); stroke-width:2; stroke-dasharray:2, 15; stroke-linecap:round;' /%3E%3C/svg%3E");
    
    background-repeat: repeat-x;
    background-position: center;
    
    /* 3. Hover Effect: Minimal ease-in to the right */
    transition: transform 0.3s ease-in-out;
}
ul a:not(:first-child) .news-notice{
    padding-top: 25px; 
}
ul a:not(:last-child) .news-notice{
    padding-bottom: 25px;
}
.news-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}
.news-notice:hover {
    transform: scale(1.01) translatey(0px);
    transition: transform 0.3s ease;
}


@media (max-width: 1720px) {
    .news-notice {
        font-size: 1.2em;
    }
}
@media (max-width: 834px) {
    .s_announcement_info {
        align-items: center;
        padding-bottom: 50px;
    }
    .s_notice {
        display: grid;
        grid-template-columns: 100%;
        justify-content: center;
        padding: 0px 20px 50px 20px;
    }
    .news-notice {
        flex-direction: column;
        align-items: start !important;
        gap: 10px;
        padding-bottom: 10px !important;
    }
}
@media (max-width: 500px) {
    .news-notice {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 0px;
        margin-bottom: 20px;
    }
}


/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding-bottom: 20px;
}
.news-pagination a, 
.news-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    width: 45px;
    height: 45px;
    color: var(--bk-color);           
    text-decoration: none;
    transition: 0.3s ease;
    border-radius: 10px;
}
.news-pagination .prev,
.news-pagination .next{
    display: flex;
    align-items: center;
    width: 120px;
    height: 45px;
    font-size: 1.5em;
    line-height: 1;
}


/* Hover, Active (Current), and Chevrons */
.news-pagination a:hover, 
.news-pagination .current {
    color: var(--main-color) !important;           
}


/* Sponsorship Section */
.s_sponsorship {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0px 100px 0px;
    background-color: rgba(255, 255, 255, 0.5);
}
.s_sponsorship_info {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.s_sponsorship_box {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}
.s_sponsorship_info_box {
    background-color: var(--wh-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 40px;
}
.s_sponsorship_box_num {
    color: var(--main-color);
    text-decoration: underline;
    font-size: 2em;
    text-underline-offset: 20px;
}
.s_sponsorship_box_ttl {
    color: var(--main-color);
    font-size: 1.1em;
}
.s_sponsorship_box_desc {
    font-size: .85em;
}
.s_sponsorship_img {
    margin-top: 20px;
}


@media (max-width: 1304px) {
    .s_sponsorship_box_num {
        font-size: 1.8em;
    }
    .s_sponsorship_box_ttl {
        font-size: 1em;
    }
}
@media (max-width: 1182px) {
    .s_sponsorship_box_num {
        font-size: 1.5em;
    }
    .s_sponsorship_box_ttl {
        font-size: .9em;
    }
}
@media (max-width: 820px) {
    .s_sponsorship_info {
       padding: 20px;
    }
}
@media (max-width: 696px) {
    .s_sponsorship_box {
        flex-direction: column;
        align-items: center;
    }
    .s_sponsorship_info {
       padding: 0px;
    }
    .s_sponsorship_box_num {
        font-size: 2.5em;
    }
    .s_sponsorship_box_ttl {
        color: var(--main-color);
        font-size: clamp(1.8em, 4vw, 1.8em);
    }
    .s_sponsorship_txt, .s_sponsorship_box_desc {
        font-size: clamp(1.5em, 4vw, 1.8em);
    }
}
@media (max-width: 388px) {
    .s_sponsorship_box_num {
        font-size: 2.5em;
    }
    .s_sponsorship_box_ttl {
        color: var(--main-color);
        font-size: clamp(1.4em, 4.2vw, 1.6em);
    }
    .s_sponsorship_txt, .s_sponsorship_box_desc {
        font-size: clamp(1em, 4.2vw, 1.5em);
    }
}


/* Single Page */
.s_single{
    display: flex;
    grid-template-columns: 20% 80%;
    justify-content: center;
    padding: 50px 100px 100px 100px;
}
.news-single {
    display: flex;
    flex-direction: row;
    gap: 30px;
    color: var(--bk-color);
    transition: transform 0.3s ease-in-out;
    font-size: 1.5em;
}
.s_single{
    display: grid;
    grid-template-columns: 20% 80%;
    justify-content: center;
    padding: 50px 100px 100px 100px;
}


@media (max-width: 1720px) {
    .news-single {
        font-size: 1.2em;
    }
}
@media (max-width: 834px) {
    .s_single {
        display: grid;
        grid-template-columns: 100%;
        justify-content: center;
        padding: 0px 20px 50px 20px;
    }
    .news-single {
        flex-direction: column;
        align-items: start !important;
        gap: 10px;
        padding-bottom: 10px !important;
    }
}


/* --- Chevron Hover Style --- */

    .news-single:hover .s_chevron_main  use {
        transform: translateX(5px);
        fill: var(--main-color);
    }
    .news-single {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 2px dashed rgba(0, 0, 0, 0.1); 
        padding-bottom: 50px; 
        margin-bottom: 20px;
        list-style: none;
    }


@media (max-width: 500px) {
    .news-single {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 0px;
        margin-bottom: 20px;
    }
}


/* Notice Details */
.s_divider {
    border: none;
    border-top: 2px solid var(--bk-color);
    margin: 40px 0 40px;
}


/* Primary Image*/
.s_post_main_image {
    width: 100%;
    margin-bottom: 15px;
}
.s_post_main_image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover; 
    border-radius: 4px;
    display: block;
}

/* Gride Image */
.s_image_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    margin-bottom: 50px; 
}
.grid_item {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f5f5f5;
}
.grid_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.grid_item:hover img {
    transform: scale(1.08); 
}


/* Content Text*/
.s_single_content {
    font-size: 1em;
    font-weight: 600;
    line-height: 2;
    margin-bottom: 60px;
}


/*Navigation */
.s_btn_single{
    display: flex;
    justify-content: start;
    padding-top: 40px;
    max-width: 300px;
    width: 100%;
}



@media (max-width: 900px) {
    .s_image_grid {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .s_post_main_image img {
        max-height: 350px;
    }
    .s_image_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

  
}
@media (max-width: 480px) {
    .s_image_grid {
        grid-template-columns: 1fr; 
    }
    
    .grid_item {
        aspect-ratio: 16 / 9;
    }
}