body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
}
hr {
    width: 80%;
    height: 10px;
    border: none;
} 

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    padding-top: 0;
    display: flex;
	flex-direction:column;
    justify-content: flex-end;
    align-items: center;
    z-index: 2; /* Header should be above the main content */
}
header h1 {
    width: 98%;
    margin: 0;
    padding: 1%;
    display: flex;
    align-items: center;
    background: rgba(243,244,234,.9);
}

header h1 a {
    display: block;
}

header h1 img {
    max-width: 50%;
    display: block;
    margin: 0;
}

header .logo img {
    height:     80%;
	margin-right:10px;
}

.logo {
    width: 98%;
    height: 10vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
}

.hamburger-layer {
    position: fixed;
    top: 15%;
    left: 0;
    z-index: 6; /* Ensure the hamburger button is above everything else */
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* Same height as the header */
}

.hamburger {
    width: 30px;
    height: 30px;
    display: inline-block;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    position: relative;
    margin: 0;
    padding: 0;
}

.hamburger div {
    position: absolute;
    width: 100%;
    height: 2px; /* Thinner lines */
    background-color: #333;
    transition: all 0.4s ease;
}

.hamburger div:nth-child(1) {
    top: 0;
}

.hamburger div:nth-child(2) {
    top: 10px; /* Closer together */
	opacity:1;
}

.hamburger div:nth-child(3) {
    top: 20px; /* Closer together */
}

.hamburger.open div:nth-child(1) {
    transform: rotate(45deg);
    top: 5px; /* Adjusted for closer lines */
}

.hamburger.open div:nth-child(2) {
    opacity:0;
	top:5px;
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg);
    top: 5px; /* Adjusted for closer lines */
}

.container {
    display: flex;
    width: 100%;
}

.menu {
    position: fixed;
    top: 150px;
    left: 0;
    width: 150px;
    /*height: 100%;*/ /* Full height */
    background-color: rgba(224, 224, 224, 0); /* Background color for PC */
    padding: 140px 0 0 0;
    overflow-y: auto; /* Allow scrolling if content overflows */
    z-index: 3; /* Menu should be above the header and main content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align the hamburger menu at the top */
    transition: opacity 0.5s ease; /* Add transition for fade effect */
}

.menu.fade-out {
    opacity: 0; /* Fade out effect */
}

.accordion-menu {
    position: fixed;
    top: 0;
    left: -100%; /* Initially hide off screen */
    width: 250px;
    height: 100%; /* Full height */
    background-color: rgba(250, 250, 250, 0.9);
    padding: 15% 0;
    overflow-y: auto; /* Allow scrolling if content overflows */
    z-index: 4; /* Ensure the accordion menu is above the menu */
    transition: left 0.5s ease; /* Easing effect for left property */
}

.accordion-menu.expanded {
    left: 0; /* Slide into view */
}

.accordion-menu ul {
    list-style: none; /* Remove list style */
    padding: 10px 0 0 10px;
    margin: 3% 0 0 0;
}
.accordion-menu ul li {margin:5%;}
.accordion-menu a {color:#333333;text-decoration:none;}
@media (max-width: 768px) {
    .accordion-menu ul li {margin:5%;font-size:4vw;}
}
.accordion {
    background-color: #ccc;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    position: relative;
}

.accordion::after {
    content: "▶"; /* Indicator for submenus */
    font-size: 12px;
    color: #444;
    position: absolute;
    right: 20px;
    transition: transform 0.4s;
}

.accordion.active::after {
    transform: rotate(90deg); /* Rotate indicator when active */
}

.active, .accordion:hover {
    background-color: #ddd;
}

.panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: white;
}

.panel.show {
    max-height: 1000px; /* Adjust as needed */
}

.panel a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #444;
    position: relative;
}

.panel a::after {
    content: "▶"; /* Indicator for submenus */
    font-size: 12px;
    color: #444;
    position: absolute;
    right: 20px;
    transition: transform 0.4s;
    display: none; /* Initially hidden */
}

.panel a.has-submenu::after {
    display: inline-block; /* Show only for items with submenus */
}

.panel a:hover {
    background-color: #ddd;
}

.panel a.active::after {
    transform: rotate(90deg); /* Rotate indicator when active */
}

.main {
    flex-grow: 1;
    padding: 0;
    margin: 0;
    width: 100%; /* Ensure it does not overflow the container */
    z-index: 1; /* Ensure main content is below the header */
    position: relative; /* Ensure main content respects the header's position */
}

.foot-logo {
    width: 100%;
    background: #FFFFFF;
    text-align: center;
    padding: 3% 0;
}

.foot-logo img {
    max-width: 80px;
    height: auto;
}

footer {
	color:#FFFFFF;
    padding: 10px 20px;
    background-color: #319eb6;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    margin-left: 0; /* Avoid overlapping with the sidebar */
    position: relative;
    z-index: 1; /* Ensure footer is below the header */
	display:flex;
	justify-content:space-around;
}

footer a {color:#FFFFFF;text-decoration:none;}
footer a:hover {text-decoration:underline;}
.foot-copy {width: 45%;
    text-align: right;
    padding: 5px 10px;
    font-size: 12px;
	letter-spacing:2px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;}

footer ul {
    list-style: none; /* デフォルトのリストマーカーを消す */
    padding: 0 10px;
	font-size:12px;
	letter-spacing:2px;
	margin-bottom:8%;
}

footer ul li {
    position: relative;
    padding: 10px; /* 矢印分のスペース */
}

footer ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    
    /* 三角形のスタイル */
    width: 0;
    height: 0;
    border-left: 6px solid white; /* 矢印の色 */
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}
@media (max-width: 768px) {
	footer {flex-direction:column;}
	.foot-copy {width:90%;}
	footer ul {display:none;font-size:15px;margin:0;}
}


/* Slideshow CSS */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Set height to 100% of the viewport height */
    max-width: 100%;
    margin: auto;
    overflow: hidden; /* Prevents images from overflowing the container */
    pointer-events: none; /* スライダータッチ無効 */
}

.slick-slider {
    width: 100%;
    height: 100%; /* Ensure slider takes full height */
}

.slick-slide img {
    width: 100%;
    height: 100vh; /* Ensure images take full height */
    object-fit: cover; /* Cover the container without distortion */
}

.text-layer {
    position: absolute;
    width: 100%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 5; /* Ensure text is above the slideshow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Sawarabi Mincho";
}

.text-layer span {
    display: inline-block;
    opacity: 0;
    font-weight: bold;
    transform: translate3d(0, 0, 0) rotate(0deg);
    animation: rotateIn 1s forwards;
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: translate3d(calc(50vw - 50%), calc(50vh - 50%), 0) rotate(360deg);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}
#text-h3, #text-h4, #text-h5 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #333;
    margin: 1% auto;
}

.text-layer {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    /*transform: translate(-50%, -50%) translateY(50px);
    opacity: 0;
    transition: opacity 1s ease-out, transform 1.5s ease-out;*/
    max-width: 80vw; /* 画面幅の80%まで拡大 */
    max-height: 50vh; /* 画面高さの50%まで拡大 */
}

/*.text-layer.show {
    opacity: 1;
    transform: translate(-50%, -50%);
}
*/
.text-layer img {
	width:76vw;
	max-width:1000px;
}
@media (max-width: 768px) {
	.text-layer img {
	width:80vw;
}
}

.sdgs-logo {
    position: absolute;
    bottom: 5%;
    left: 30px;
    z-index: 5; /* Ensure SDGs logo is above the slideshow */
}

.sdgs-logo img {
    max-width: 75%; /* Adjust as needed */
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    header {
        height: auto;
    }
    .logo {
        height: 10vh;
        padding:0 5px;
    }
	header h1 {padding:5px;}
header h1 img {max-width:50%;}
    .menu {
        display: none;
        width: 100%;
        height: 100%;
        background-color: transparent; /* No background for mobile */
    }

    .accordion-menu {
        width: 100%;
        height: 100%;
        left: -100%; /* Completely hide off screen */
    }

    .accordion-menu.expanded {
        left: 0; /* Slide into view */
    }
	.hamburger-layer {
    top: 30px;
}
    .hamburger {
        margin: 0;
        padding: 0;
        position: fixed;
        top: 50px;
        left: 20px;
        z-index: 6; /* Ensure hamburger button is above the menu */
    }

    .container {
        margin-left: 0;
        width: 100%;
    }

    .main {
        margin-left: 0;
        width: 100%; /* Full width */
    }

    footer {
        margin-left: 0;
    }
    .text-layer h3 span {
        font-size: 300%;
    }
    .text-layer h4 span {
        font-size: 100%;
    }
    .text-layer h5 span {
        font-size: 95%;
    }
    .sdgs-logo {
        bottom: 1%;left:1%;
    }
    .sdgs-logo img {
        max-width: 75%; /* Adjust as needed */
    }
}

@media (min-width: 1300px) {
    .text-layer h3 span {
        font-size: 1000%;
    }
    .text-layer h4 span {
        font-size: 200%;
    }
    .text-layer h5 span {
        font-size: 150%;
    }
}

/* Themes CSS */
@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.theme, .theme2 {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.theme.show, .theme2.show {
    opacity: 1;
    transform: scale(1);
    animation: zoomIn 0.5s ease;
}

.themes, .themes2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
}

.theme {
    flex: 1 1 calc(33.333% - 10px);
    box-sizing: border-box;
    margin: 5px;
    background-color: #f8f8f8;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

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

.theme-content, .theme2-content {
    margin-top: 10px;
}

.theme-content {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-right: 10px;
    color: #40a2b8;
}

.theme-content p {
    font-size: .8rem;
    flex: 1;
    padding-left: 3px;
    border-left: 1px solid #777777;
}

@media (max-width: 768px) {
    .theme, .theme2 {
        flex: 1 1 100%;
        margin: 5px 0;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    .theme img {
        max-width:50%;
    }
    .theme-content, .theme2-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0 0 0 5px;
        margin-top:0;
    }
    .theme-content h3, .theme2-content h3 {
        font-size:95%;
        margin: 0;
        padding: 0;
    }
    .theme-content p, .theme2-content p{
        border:none;
        font-size:75%;
    }
}
.news {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    padding: 20px;
    width: calc(100% - 40px);
}
.news-header {
    display: flex;
    align-items: baseline;
}
.news-header h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 10px;
    color: #40a2b8;
}
.news-header span {
    font-size: 1rem;
    color: #555;
}
.news-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.news-date {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin-right: 10px;
}
.news-title {
    font-size: 1rem;
    flex: 1;
    color: #000;
}

.sec {
	width:100%;
	max-width:1888px;
	margin:0 auto;
	padding:0;
	display:flex;
	flex-direction:column;
	align-items:center;
}

.sec h2 {
    width: 80%;
    margin: 0 auto 3vh auto;
    text-align: center;
}

.sec h2 img {
    max-height: 80px;
}

.sec h3 {
    width: 80%;
    margin: 1vh auto 2vh auto;
    text-align: center;
    line-height: 200%;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(21px, 3.5vw, 24px);
}

.sec h3 img {
    width: auto;
    max-height: 100px;
}

.sec h4 {
    width: 80%;
    margin: 1vh auto 1vh auto;
    padding: 0;
    text-align: center;
}

.sec h5 {
    font-size: clamp(15px, 2vw, 21px);
    margin: 1vh auto 5vh auto;
    text-align: center;
    font-weight: normal;
    letter-spacing: 3px;
    display: inline-block;
}

.sec h5 img {
    max-width: 300px;
}

.sec p {
    font-size: clamp(12px, 1.2vw, 15px);
    line-height: 250%;
    letter-spacing: 2px;
    text-align: center;
}

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

.sec_shapes {
    max-width: 60%;
    margin: 3vh 0;
}

.sec_common {
    padding-top: 10vw;
}

.p_common {
    padding: 0 11%;
    text-align: left!important;
}

.h_common {
    width: calc(80% - 2vw);
    margin: 0 auto 5vw auto!important;
    padding: 0 0 1.5vw 0!important;
    display: inline-grid;
}

.h_common h4 {
    width: 100%;
    font-size: clamp(18px, 2vw, 24px);
}

.hub_bottom {
    padding-bottom: 5vw!important;
}

.sec_02 {
    background: rgba(77,143,156,.22);
}

.sec_03 {
    background: rgba(135,110,34,.21);
}

.sec_04 {
    background: rgba(114,166,81,.22);
}

.sec_05 {
    background: rgba(224,207,67,.22);
}

.sec_06 {
    background: rgba(152,88,76,.17);
}

.letter_space {
    letter-spacing: 5px;
	font-size:200%!important;
}
.list-history {font-family: "Noto Serif JP", serif;font-size:clamp(15px, 2vw, 21px);margin-bottom:5vh;}
.list-history table {width:90%;margin:0 auto;margin-bottom:5vh;}
.list-history table tr th {
    min-width: 100px;
    vertical-align: top;
    padding-top: 1em;
}
.list-history table tr td {
    font-weight:bold;
    vertical-align: top;
    padding-top: 1em;
}
@media (max-width: 768px) {
	.sec {width:100%;}
	.sec h2 {width:40%;}
	.sec h3 {width:80%;margin:1vh auto 1vh auto;}
	.sec h4 {width:80%;}
	.sec h4 span {display:block;}
	.sec h5 {margin:1vh auto 5vh auto;}
	.sec h5 img {max-width:250px;}
	.sec p {letter-spacing:1px;}
	.sec_shapes {max-width:90%;margin:3vh 0;}
    .p_common {padding:0 10%;}
    .h_common {padding:0 10%;}
    .letter_space {letter-spacing: 2px;}
    .list-history table {width:100%;margin:0 auto;}
}

.notched-box {
  position: relative;
  padding: .1rem 2rem;
  border: 2px solid #333;
  clip-path: 
    polygon(
      5px 0, calc(100% - 5px) 0, 100% 5px, 
      100% calc(100% - 5px), calc(100% - 5px) 100%, 
      5px 100%, 0 calc(100% - 5px), 0 5px
    );
}

.block-group {
            display: flex;
            flex-direction: column;
            max-width: 70%;
            margin: 5% auto 0 auto;
        }
        .block-pair {
			width:100%;
            display: flex;
            gap: 5%; /* ブロック間の間隔 */
            flex-wrap: nowrap; /* 狭い画面では折り返し */

        }
        .block {
            max-width: 48%;
            flex: 1;
            padding: 1%;
        }
.block-group p {font-size:clamp(12px, 1.2vw, 13px);line-height:200%;letter-spacing:2px;}
.block-group img {max-width:100%;height:auto;}
.block-group2 {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin: 5% auto 0 auto;
}
.block-group2 h5,.block-group2 h6 {
    font-size: clamp(15px, 2vw, 21px);
    margin: 0 auto;
    font-weight: normal;
    letter-spacing: 3px;
}
.block-group2 h5 {color: #de6500;font-weight:bold;}
.block-group2 h6 {color: #2070b9;font-weight:bold;}
.block-group2 p {padding-top: 0;text-align:left;}
@media (max-width: 768px) {
	.block-group {max-width:80%;}
	.block-pair {flex-direction:column;margin-bottom:5%;}
    .block {max-width:98%;}
}
.readmore {width:80%;margin:0 auto;text-align:right;padding:5% 10% 10% 10%;}
.readmore img {width:40%;height:auto;max-width:300px;}
.contactus {margin:0 10% 10% 10%;text-align:right;}
.contactus img {width:60%;height:auto;max-width:800px;}
@media (max-width: 1024px) {
	.readmore {width:90%;padding:10% 5%;}
	.readmore img {max-width:80%;height:auto;}
}
@media (max-width: 768px) {
	.contactus {width:95%;margin:10% auto;text-align: center;}
	.contactus img {width:80%;height:auto;}
}


.pic-list {width:80%;display:flex;flex-wrap:wrap;justify-content:space-between;margin:3% 0;}
.pic-list img {width:21%;margin:2%;}
.txt-box {width:80%;display:flex;flex-wrap:wrap;justify-content:space-between;margin:3% 0;}
.txt-box img {width:30%;margin:0 5%;}
.txt-box p {width:55%;margin-top:0;text-align:left;font-size:clamp(14px, 1.2vw, 18px);line-height:220%;}
.txt-box2 {width:80%;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:flex-start;margin:0 auto 3% auto;}
.txt-box2 p {width:auto;margin:0 1%;text-align:left;font-size:clamp(14px, 1.2vw, 18px);line-height:220%;}
.txt-box2_img {
    width: 20vw;
    margin: 0 1%;
    flex-shrink: 0;
    min-width: 200px;
}
.txt-box2_img2 {
    width: 40vw;
    margin: 0 1%;
    flex-shrink: 0;
    min-width: 200px;
}
.txt-box2_img3 {
    width: 45vw;
    margin: 0 1%;
    flex-shrink: 0;
    min-width: 250px;
}
.commit-list {width:80%;display:flex;flex-wrap:wrap;justify-content:space-between;margin:3% 0;}
.commit-box {width:30%;}
.commit-box img {margin-bottom:10px;}
.commit-box p {line-height:150%;font-size:clamp(11px, 1.2vw, 14px);margin:0 0 20% 0;text-align:left;}
.mind-box {width:100%;display:flex;margin:8% 0;}
.mind-left {width:30%;margin-left:20%;}
.mind-left p{text-align:left;}
.mind-right{width:45%;margin-left:5%;}
.box-rev {flex-direction:row-reverse;}
.big_num {font-size:130%;margin:0 1vw;}
.title-img {display:grid;text-align:left!important;margin-top: 2vw!important;padding-bottom:2vw!important;letter-spacing: 3px;}
.title-img img {width:50%!important;height:auto;margin:0 1vw;}
.locate-num{font-size: 150%;padding-top: .5em!important;font-weight: normal!important;min-width: 50px!important;}
.locate-address {
    font-family: sans-serif;
    font-size:80%;
    font-weight: normal!important;
    line-height: 1.5;
}
.locate-address span {
    font-size: 120%;
    display: flex;
    align-items: center;
    padding-bottom: .5em;
}
.locate-address span img {
    padding: 0 1em;
    height: 1.2em;
    width: auto;
    vertical-align: sub;
}
@media (max-width: 768px) {
.title-img img {width:100%!important;height:auto;}
}

.recruit-wrapper {
  position: relative;
  display: inline-block;
}

.notched-box2 {
  padding: .1rem 4rem;
  border: 2px solid #333;
  clip-path: polygon(
      5px 0, calc(100% - 5px) 0, 100% 5px, 
      100% calc(100% - 5px), calc(100% - 5px) 100%, 
      5px 100%, 0 calc(100% - 5px), 0 5px
  );
  font-weight: bold;
  font-size: 2rem;
}

.recruit-wrapper::after {
  content: "Recruit";
  position: absolute;
  top: 0; /*2rem;*/
  right: -55px;
  transform: rotate(20deg);
  background-color: #e26310;
  color: #fff;
  font-size: 1.3rem;
  padding: 4px 28px;
  border-radius: 8px;
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);*/
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}


.arrow-underline {
  position: relative;
  display: inline-block;
  padding:1vw 0;
  margin:0 1vw;
  line-height: 1.2;
}

/* 横線 */
.arrow-underline::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #000;
}

/* 左の ＞ */
.arrow-underline::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: -7px;
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    transform: rotate(225deg);
}

/* 右の ＜ */
.arrow-underline-end {
      position: absolute;
    bottom: -5px;
    right: -7px;
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(-225deg);
}

@media (max-width: 1024px) {
h2 {font-size:5vw;}
.notched-box2 {font-size:4vw;padding:.1rem 2.5rem;}
.recruit-wrapper::after {font-size:2vw;top:0;}
.arrow-underline::before {height:2px;}
.arrow-underline::after {width:4px;height:4px;left:-4px;}
.arrow-underline-end {width:4px;height:4px;right:-4px;}
}
@media (max-width: 1024px) {
.pic-list {width:100%;}
/*.pic-list img {width:48%;margin:1%;}*/

.commit-list {width:90%;}
.commit-box {width:48%;}
.mind-box {width:100%;flex-direction:column;}
.mind-left {width:80%;margin:auto;}
.mind-right {width:100%;margin:auto;}
}

@media (max-width: 768px) {
    .txt-box {width:80%;flex-direction:column;}
.txt-box img {width:60%;max-width:300px;margin:0 auto 5% auto;}
.txt-box p {width:100%;margin:auto;}
.txt-box2 {width:80%;flex-direction:column;}

.txt-box2 p {width:100%;margin:auto;}
    .txt-box2_img {
        width: 100%;
        min-width: 300px;
        margin: 2% auto;
    }
    .txt-box2_img2 {
        width: 100%;
        height: auto;
        display: block;
    }
    .txt-box2_img3 {
        width: 100%;
        height: auto;
        display: block;
    }
	.recruit-wrapper::after {font-size:3vw;top:0;right:-10vw;}
}

.rounded-image {
    border-radius: 20px; /* 角丸の半径 */
    display: block;      /* 横並び防止、必要に応じて */
}

/* エフェクトライブラリ用CSS */
.fadein-up,
.fadein-down,
.fadein-left,
.fadein-right,
.fadein-zoom,
.fadein-rotate,
.fadein-blur {
  opacity: 0;
  transition: all 0.8s ease;
  will-change: transform, opacity;
}

/* 表示時共通 */
.inview {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 1. 下から上 */
.fadein-up {
  transform: translateY(30px);
}
.fadein-up.inview {
  transform: translateY(0);
}

/* 2. 上から下 */
.fadein-down {
  transform: translateY(-30px);
}
.fadein-down.inview {
  transform: translateY(0);
}

/* 3. 右から左 */
.fadein-left {
  transform: translateX(30px);
}
.fadein-left.inview {
  transform: translateX(0);
}

/* 4. 左から右 */
.fadein-right {
  transform: translateX(-30px);
}
.fadein-right.inview {
  transform: translateX(0);
}

/* 5. 拡大 */
.fadein-zoom {
  transform: scale(0.8);
}
.fadein-zoom.inview {
  transform: scale(1);
}

/* 6. 回転フェードイン */
.fadein-rotate {
  transform: rotate(-10deg);
}
.fadein-rotate.inview {
  transform: rotate(0deg);
}

/* 7. ぼかし→くっきり */
.fadein-blur {
  filter: blur(5px);
}
.fadein-blur.inview {
  filter: blur(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.duration-fast { transition-duration: 0.4s; }
.duration-normal { transition-duration: 0.8s; }
.duration-slow { transition-duration: 1.2s; }
