/* body,
html {
    margin: 0;
    padding: 0;
    background-image: url(../img/white-bg2.jpg);
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    background-attachment: fixed;

    height: 100%;
    font-family: sans-serif;

    scroll-behavior: smooth;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow-x: hidden;
} */

body,
html {
    overflow-x: hidden;
}

/* div.bg-paper {
    margin: 0;
    padding: 0;
    background-image: url(../img/white-bg2.jpg);
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    background-attachment: fixed;
    height: 100%;
    font-family: sans-serif;
    scroll-behavior: smooth;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow-x: hidden;
    z-index: -111;
} */

div.bg-paper {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    z-index: -111;
    /* margin-top: 200px; */
}

div.bg-paper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(../img/white-bg2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -111;
    pointer-events: none;
    transform: translateZ(0);
}

.shippori-mincho {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}

.shippori-minchoui {
    font-family: Shippori Mincho, system-ui;
    font-weight: 400;
    font-style: normal;
}

.noto-serif {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.yuji-syuku {
    font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
}

.sawarabi-gothic {
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kaushan {
    font-family: "Kaushan Script", cursive;
}

img {
    width: 100%;
}

a {
    border-bottom: none;
    text-decoration: none;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-logo {
    opacity: 0;
    max-width: 450px;
    height: auto;
    transition: opacity 1s ease;
}

#loading-logo img {
    object-fit: contain;
}

#main-content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    /* padding: 2rem; */
    position: relative;
    z-index: 1;
}

.mainvisual {
    /* padding-top: 100px; */
    width: 100%;
    height: 100vh;
    position: relative;
}

img#mainvisual-img {
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 1s ease;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    object-fit: cover;
    z-index: 1;
}

#mainvisual>img {
    z-index: 1;
}


video#mainvisual-video {
    opacity: 0;
    transition: opacity 4s ease;
    z-index: -4;
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.mainvisual h2 {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    font-size: 6.0rem;
    /* text-shadow: 3px 3px 3px rgb(0, 0, 0); */
    z-index: 11;
    width: 100%;
}

.mainvisual h2 #maintext1,
.mainvisual h2 #maintext2,
.mainvisual h2 #maintext3 {
    opacity: 0;
    transition: opacity 1s ease;

    font-style: normal;
    font-weight: 500;
    text-align: center;

    color: #000000;
    text-shadow: 4px 5px 7px rgb(255, 255, 255);
}


.mainvisual h2 #maintext1 {
    position: relative;
    left: -10%;
}

.mainvisual h2 #maintext2 {
    position: relative;
    left: 0px;
}

.mainvisual h2 #maintext3 {
    position: relative;
    left: 15%;
}


.catchcopy {
    position: absolute;
    top: 30%;
    left: 50%;
    z-index: 20;
    font-size: 5vw;
    font-family: "Yuji Syuku", serif;
    /* お好みの太め明朝体に変更可能 */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    text-align: left;
    opacity: 1;
}

.slide-line {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    color: #000;
    /* 最初は黒 */
    transition: all 1s ease-out, color 1s ease-out;
    z-index: 11;
}

.slide-line.show {
    opacity: 0.9;
    transform: translateY(0);
    color: #fff;
    /* アニメ後は白 */
}

/* 背景グラデ演出 */
.slide-line::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00c61b, #f3f11d);
    transform: translateX(-100%);
    z-index: -1;
    transition: transform 1s ease-out;
}

.slide-line.show::before {
    transform: translateX(0);
}


/* 候補者5人の横並びコンテナ */
.politicians {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100vw;
    height: 100vh;
    /* padding: 0 2vw; */
    box-sizing: border-box;
    position: relative;
    z-index: -10;
    overflow: hidden;
}

/* 各候補者画像 */
.politician {
    width: 19vw;
    height: 100vh;
    object-fit: cover;
    /* object-position: center top;  顔を上に寄せて表示 */
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.6s ease;

}

/* 
#mainmember1,
#mainmember2,
#mainmember3,
#mainmember4,
#mainmember5 {
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 5;
}

#mainmember img {
    width: 200px;
    object-fit: contain;
    border-radius: 50%;
} */

/* .member.blue::before {
    background: linear-gradient(180deg, #2e5fa8, #6a8ecf);
}

.member.yellow::before {
    background: linear-gradient(180deg, #e5b144, #f9d976);
}

.member.green::before {
    background: linear-gradient(180deg, #4eb714, #c6e228);
}

.member.orange::before {
    background: linear-gradient(180deg, #e58b3c, #fbbf70);
}

.member.red::before {
    background: linear-gradient(180deg, #d63c3c, #f38b8b);
} */

#mainmember .topposi1 {
    position: absolute;
    top: 60px;
    left: 40%;
}

#mainmember .topposi2 {
    position: absolute;
    top: 200px;
    right: 14%;
}

#mainmember .topposi3 {
    position: absolute;
    top: 600px;
    right: 15%;
}

#mainmember .topposi4 {
    position: absolute;
    top: 550px;
    left: 30%;
}

#mainmember .topposi5 {
    position: absolute;
    top: 353px;
    left: 7%;
}

#header {
    opacity: 0;
    transition: opacity 1s ease;
}


.logo-container {
    margin: 20px auto;
    width: 300px;
    height: auto;
}


.video-text-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-text-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-text {
    position: relative;
    z-index: 1;

    font-size: 5rem;
    font-weight: 900;
    text-align: center;

    background: url("");
    /* 初期値（fallback） */
    background: none;
    color: transparent;

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    mix-blend-mode: screen;
}


.parallax_content {
    min-height: 400px;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* 
.parallax_content {
    position: relative;
    height: 100vh;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    will-change: transform;
} */

.front_content {
    padding: 60px;
    background-color: #fff;
}

.parallax_content.img_bg_01 {
    /* background-image: url(../img/section1-bg222.webp); */
    min-height: 400px;
    position: relative;
    z-index: 1
}

/* .parallax_content.img_bg_02 {
    background-image: url(../img/section1-bg22.webp);
}

.parallax_content.img_bg_03 {
    background-image: url();
} */

@media screen and (max-width: 768px) {
    .parallax_content {
        height: 100%;
        background-image: none;
    }

    .parallax::before {
        content: "";
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        -webkit-transform: translate3d(0, 0, -1px);
        transform: translate3d(0, 0, -1px);
        width: 100%;
        min-height: 100%;
        -webkit-background-size: cover;
        background-size: cover;
        z-index: -1;
    }

    .parallax_content.img_bg_01::before {
        background-image: url();
    }

    .parallax_content.img_bg_02::before {
        background-image: url();
    }

    .parallax_content.img_bg_03::before {
        background-image: url();
    }
}

.section0 {
    position: relative;
    margin: 70px auto;
    overflow: hidden;
}

.section0 .flex {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: -4;
    /* background: radial-gradient(circle, rgb(216, 231, 9) 0%, rgb(41, 227, 4) 100%); */
}

.section0 .flex .para1-text {
    text-align: left;
}

.section0 img {
    width: 300px;
    /* border-radius: 50%; */
}

.section0 div.kuwahara-img {
    position: relative;
    display: inline-block;
}

.section0 div.kuwahara-img::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 270px;
    height: 270px;
    /* background: radial-gradient(circle, rgb(216, 231, 9) 0%, rgb(41, 227, 4) 100%); */
    /* 薄い赤背景（変更可） */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -5;
}


.bg-loop-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10rem;
    overflow: hidden;
    z-index: -4;
    transform: translateY(-50%);
    pointer-events: none;
}

.scrolling-text {
    display: flex;
    width: max-content;
    animation: scroll-left 60s linear infinite;
}

.scrolling-text span {
    font-size: 10rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    padding-right: 2rem;

    background: linear-gradient(174deg, #f3f11d4a, #00c61b3d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.section0 .para1-text span {
    color: red;
    font-size: 3.7rem;
    font-weight: 500;
    line-height: 1.6;
}

.section0 img {
    width: 300px;
}

/* 最初は非表示でふんわり用意 */
.para1-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2;
    text-shadow: 1px 1px 2px white;
    padding-top: 30px;
}

/* 表示されたときに適用されるクラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.appear-penki {
    transition: all 0.1s ease-out;
}

.fade-in.view {
    opacity: 1;
    transform: translateX(0);
    transform: translateY(0);
}

.fade-in.left {
    transform: translateX(-30px);
}

.fade-in.right {
    transform: translateX(30px);
}

.fade-in.view.left,
.fade-in.view.right {
    transform: translate(0, 0);
}

.fade-in.blur {
    filter: blur(5px);
    transform: translateY(20px);
}

.fade-in.view.blur {
    filter: blur(0);
    transform: translateY(0);
}

.appear-penki.view {
    clip-path: inset(0 100% 0 0);
    animation: penki-anime .5s ease forwards;
    opacity: 0;
    /* transition: opacity 1s ease-in; */
}

@keyframes penki-anime {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0% 0 0);
    }
}


.delay01 {
    transition-delay: .1s;
}

.delay03 {
    transition-delay: .3s;
}

.delay05 {
    transition-delay: .5s;
}

.delay07 {
    transition-delay: .7s;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.container .slick-prev:before,
.container .slick-next:before {
    font-size: 40px;
    color: black;
}

.container .slick-next {
    right: -30px;
}

.container .slick-prev {
    left: -50px;
}

.sub-title {
    display: flex;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.section2 {
    padding: 30px 20px;
    margin-top: 100px;
    margin-bottom: 70px;
}

.section3 {
    padding: 30px 20px;
    margin-bottom: 300px;
}

.section3 .sec-right .bg-img.back-penki {
    position: absolute;
}

.section3 video#mainvisual-video {
    opacity: 1;
    max-height: 500px;
    border-radius: 4%;
    box-shadow: 3px 1px 12px;
}

.section4 {
    padding: 30px 20px;
    margin-bottom: 200px;
}

.section5 {
    padding: 30px 20px;
    margin-bottom: 100px;
}

.separate-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-content {}

.separate-content .sec-left,
.separate-content .sec-right {
    position: relative;
}

.section2 .sec-right.content,
.section3 .sec-left.content {
    width: 40%;
}

.section3 .sec-left.content {
    height: 560px;
    top: 260px;
}

.separate-content.bg-img img {
    width: 300px;
}

.separate-content>div {
    width: 50%;
}

.separate-content .content-title h3,
.full-content .content-title h3 {
    font-size: 1.4rem;
}

/* .separate-content .content {
    position: relative;
} */

.separate-content .content-title,
.full-content .content-title {
    position: relative;
    margin-bottom: 10px;
}

.section4 .content-title,
.section5 .content-title {
    margin-bottom: 30px;
}

.content-part h5 {
    font-size: 2rem;
}

.separate-content .content .content-part p,
.full-content .content-part p {
    line-height: 30px;
    margin-top: 70px;
}

.separate-content .content-title h4,
.full-content .content-title h4 {
    font-size: 9rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* opacity: 0.04; */
    letter-spacing: 20px;
    background: linear-gradient(20deg, #f3f11d21, #00c61b26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}

.top-message img {
    max-width: 370px;
    border-radius: 10px;
}

.top-member {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;

}

.top-member img {
    object-fit: contain;
    width: 530px;
}




.youtube-section {
    /* background-color: #1c1c1c; */
    padding: 60px 20px;
    border-radius: 10px;
    margin-bottom: 60px;
    color: #000000;
}

.youtube-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.youtube-header h2 {
    font-size: 2.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.youtube-header h2 img {
    width: 30px;
    height: 30px;
}

.youtube-view-all a.youtube-btn {
    /* background: #f00; */
    color: black;
    padding: 10px 24px;
    /* border-radius: 30px; */
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}

.youtube-view-all a.youtube-btn:hover {
    /* background: #cc0000; */
    background-color: #0aba1c91;
    color: white;
    -webkit-transition: all .8s ease;
}

/* .sby_item{
    max-width: 400px;
} */

.youtube-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.youtube-slider::-webkit-scrollbar {
    display: none;
}

.youtube-thumbnail {
    position: relative;
    flex: 0 0 auto;
    width: 280px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.youtube-thumbnail:hover {
    transform: scale(1.05);
}

.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sliders3 .sliders__item {
    padding: 0 10px;
    /* 左右に10pxの隙間を作る（合計20px） */
    box-sizing: border-box;
}

.sliders3 .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
}



.news-section {
    background-image: linear-gradient(180deg, rgba(0, 198, 27, 0) 0%, #00c61b 40%,
            #81f31d 80%,
            rgba(0, 198, 27, 0) 100%);
    padding: 80px 0;
    margin: 60px auto;
    color: #000;
    height: 70vh;
}

/* 
.news-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-viewport {
    width: 1100px;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.news-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 25px;
} */

.news-card {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
    transform: scale(1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: scale(1.03);
    box-shadow: 3px 5px 9px rgba(0, 0, 0, 0.2);
}

.section4 .news-card h5 {
    text-align: left;
    font-size: 14px;
}

.news-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-text {
    padding: 16px;
}

.news-text h5 {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.news-text p {
    font-size: 14px;
    color: #444;
}

.scroll-btn {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    font-size: 24px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.scroll-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.scroll-btn.left {
    position: absolute;
    left: 10%;
}

.scroll-btn.right {
    position: absolute;
    right: 10%;
}

.googlemap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.googlemap .btn {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.fixed-side-buttons {
    position: fixed;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 70px;
    z-index: 100;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease;
    /* display: flex; */
    /* あらかじめレイアウト確保のためにflexを維持 */
}

.fixed-side-buttons.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.side-button {
    position: relative;
    width: 60px;
    height: 60px;
    overflow: visible;
}

.side-content {
    display: flex;
    align-items: flex-start;
    transition: all 0.4s ease;
    position: relative;
}

.side-content img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
    box-shadow: 3px 4px 10px #939393;
}

.side-button h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-align: center;
    color: #6dab3c;
}

.side-button.active img {
    width: 200px;
    height: 110px;
    border-radius: 20px;
    object-fit: cover;
}

.side-button.active .side-content {
    transform: translateX(-150px);
    z-index: 101;
    /* スライド量調整 */
}

.side-button .info {
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    margin-left: -330px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.4s ease;
    min-width: 180px;
    position: absolute;
    top: 110px;
    left: 250px;
    z-index: 1;
}

.side-button.active .info {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.close-btn {
    position: absolute;
    top: 4px;
    right: 6px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

/* 
.fixed-side-buttons {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 1000;
}

.fixed-side-buttons.visible {
    display: block;
    opacity: 1;
} */

.img-link {
    display: none;
}

.side-button.active .img-static {
    display: none;
}

.side-button.active .img-link {
    display: inline-block;
}

@media screen and (max-width: 768px) {

    .politicians {
        height: auto;
        display: flex;
        align-items: center;
        padding-top: 10vh;
        margin-top: 0;
    }

    .politician {
        width: 19vw;
        height: auto;
        object-position: center top;
        /* モバイルでも同じく上寄りに */
        margin-right: 0.1rem;
    }
}


@media screen and (max-width: 768px) {
    #mainmember img {
        max-width: 140px;
    }

    .mainvisual {
        height: 60vh;
    }

    .mainvisual h2 {
        font-size: 2.9rem;
        padding-bottom: 30px;
        /* padding-bottom: clamp(50px, 5vw, 100px); */
    }

    /* #mainmember .topposi1 {
        top: 120px;
        left: 9%;
    }

    #mainmember .topposi2 {
        right: 5%;
    }

    #mainmember .topposi3 {
        top: 450px;
        right: 0;
    }

    #mainmember .topposi4 {
        top: 478px;
        left: 34%;
    }

    #mainmember .topposi5 {
        top: 396px;
        left: 0;
    } */


    .section0 .flex {
        display: block;
    }

    .section0 .flex .para1-text {
        line-height: 1.6;
        margin-bottom: 20px;
        max-width: 146px;
        margin: 0 auto 20px;
    }

    .bg-loop-text {
        height: 5rem;
    }

    .scrolling-text span {
        font-size: 5rem;
    }

    div.bg-paper {
        margin-top: 50px;
    }

    .parallax_content.img_bg_01 {}

    .section2 {
        margin-top: 0;
        margin-bottom: 50px;
    }

    .section3 {
        margin-bottom: 70px;
        padding: 0;
    }

    .section3 video#mainvisual-video {
        max-height: 300px;
    }


    .section4 {
        margin-bottom: 70px;
    }

    .section5 {
        margin-bottom: 70px;
    }

    .fixed-side-buttons.visible {
        display: none;
    }

    .separate-content {
        display: block;
    }

    .separate-content>div {
        width: 100% !important;
    }

    .top-member img {
        width: 450px;
    }

    .youtube-header h2 {
        font-size: 1.8rem;
    }

    .index .youtube-section .fa-youtube:before {
        font-size: 2rem;
    }

    .para1-text {
        font-size: 1.1rem;
    }

    .separate-content .content-title h3,
    .full-content .content-title h3 {
        font-size: 1.4rem;
    }

    .separate-content .content-title h4,
    .full-content .content-title h4 {
        font-size: 3rem;
    }

    .separate-content .content .content-part p,
    .full-content .content-part p {
        line-height: 25px;
        font-size: .9rem;
        margin-top: 30px;
    }

    .btn .button-border {
        padding: 15px 20px;
        font-size: .9rem;
    }

    .container .slick-prev {
        left: 0px;
        z-index: 1;
    }

    .container .slick-next {
        right: 0;
        z-index: 1;
    }

    .section0 {
        margin: 250px auto 0;
    }

    .section0 .para1-text span {
        font-size: 2rem;
    }

    .section0 img {
        width: 270px;
    }

    .pc-768 {
        display: none !important;
    }

    .sp-768 {
        display: block !important;
    }
}

.pc-768 {
    display: block;
}

.sp-768 {
    display: none;
}


.section4 {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.section4 .content {
    max-width: 1200px;
    margin: 0 auto;
}

.section4 .content-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section4 .content-title h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section4 .content-title h4 {
    font-size: 1.2rem;
    color: #888;
}

.section4 .content-part p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.section4 .news-wrapper {
    position: relative;

}

/* .section4 .news-viewport {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    display: flex;
    justify-content: center;
    padding: 10px;
} */

.section4 .news-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.section4 .news-card {
    flex: 0 0 auto;
    width: clamp(260px, 30vw, 320px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    box-sizing: border-box;
}

.section4 .news-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section4 .news-text {
    padding: 1rem;
}

.section4 .news-text h5 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.section4 .news-text p {
    font-size: 1rem;
    color: #333;
}

@media screen and (max-width: 600px) {
    .section4 {
        padding: 2rem 1rem;
    }

    .section4 .content-title h3 {
        font-size: 1.5rem;
    }

    .section4 .content-title h4 {
        font-size: 1rem;
    }

    .section4 .content-part p {
        font-size: 1rem;
    }

    .section4 .news-text h5 {
        font-size: 0.8rem;
    }

    .section4 .news-text p {
        font-size: 0.95rem;
    }

}

@media screen and (max-width: 768px) {
    .diagonal-section {
        width: 100%;
        overflow: hidden;
    }

    .diagonal-block {
        position: relative;
        width: 100%;
        height: 200px;
        /* 必要に応じて調整 */
        clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
        transform: skewY(-5deg);
        overflow: hidden;
    }

    .diagonal-block img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: skewY(5deg);
        /* 補正 */
    }

    .block1 {
        background-color: #63e0e6;
    }

    .block2 {
        background-color: #ff76c1;
    }

    .block3 {
        background-color: #ffe25d;
    }

    .block4 {
        background-color: #aad751;
    }

    .block5 {
        background-color: #ffb347;
    }

}



@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.scroll-infinity {
    margin-top: 50px;
}

@media screen and (max-width: 550px) {
    .scroll-infinity {
        margin-top: 170px;
    }
}

.scroll-infinity {
    display: none;
    /* 初期は非表示 */
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    gap: 4px;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 40s infinite linear 0.5s both;
}

.scroll-infinity__item {
    width: calc(100vw / 1.6);
}

.scroll-infinity__item>img {
    width: 100%;
}

.video-mask-container {
    position: absolute;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 484.19 / 439.76;
    transform: translate(0%, -40%) !important;
    top: -10%;
    left: 0%;
}

.masked-video-sp {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask: url(#video-mask-sp);
    -webkit-mask: url(#video-mask-sp);
    mask-type: luminance;
    position: relative;
    top: 30%;
}

.masked-video-pc {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask: url(#video-mask-pc);
    -webkit-mask: url(#video-mask-pc);
    mask-type: luminance;
    position: relative;
    top: 30%;
}

svg.mask-svg {
    width: 0;
    height: 0;
}

@media screen and (max-width: 768px) {
    .video-mask-container {
        transform: translate(0%, 0%);
        top: 0%;
        left: 0%;
    }

    .section3 .sec-left.content {
        height: 500px;
        top: 0px;
    }
}

/* 
.news-viewport {
    display: flex;
    gap: 1em;
    justify-content: center;
} */
.news-viewport {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 
.news-viewport:has(.news-card:nth-child(2)) {
    justify-content: flex-start;
}

.news-viewport:has(.news-card):not(:has(.news-card:nth-child(2))) {
    justify-content: center;
} */



@media screen and (max-width: 768px) {
    .news-wrapper.swiper-container {
        padding: 10px 0;
    }

    .news-viewport {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        /* デフォルト：左寄せ */
        overflow-x: auto;
        padding: 10px;
    }

    .news-card {
        width: 90%;
        flex-shrink: 0;
    }

    /* 子要素が1件のみ → 中央寄せにする */
    .news-viewport:has(.news-card):not(:has(.news-card:nth-child(2))) {
        justify-content: center;
    }
}







.news-card:hover {
    transform: translateY(-5px);
}

.news-img img {
    width: 100%;
    height: auto;
    display: block;
}

.news-text {
    padding: 1rem;
}

/* スマホは1件ずつ横スクロール */
@media screen and (max-width: 768px) {
    .news-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* .news-viewport {
        flex-wrap: nowrap;
        gap: 1rem;
        width: max-content;
    } */

    .news-card {
        flex: 0 0 80%;
        max-width: 80%;
    }
}