*, *::before, *::after {
    box-sizing: border-box; 
}

body{
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Meiryo"
}

.sp-768px { display: none; }
.sp-500px { display: none; }
.sp-600px { display: none; } 

.only-pc { display: block; }

.koremone-image-container .only-pc {
    display: block !important;
}

.koremone-image-container .sp-500px {
    display: none !important;
}

.en-subttl {
    display: block;
    line-height: 1.5;
    margin-top: 20px;
}

.en-line-height {
    line-height: 1.3 !important;
}

.main-en-lineheight {
    line-height: 1.6 !important;
}

#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;          
    height: 20px;
    background: rgba(255, 165, 0, 0.2); 
    border-radius: 50%;
    pointer-events: none; 
    z-index: 9999;
    transition: transform 0.15s ease-out; 
    transform: translate(-50%, -50%);
    display: none;     
}

#cursor.active {
    transform: translate(-50%, -50%) scale(2);
    background: rgba(255, 165, 0, 0.3); 
}

#cursor.active-large {
    transform: translate(-50%, -50%) scale(5); 
    background: rgba(255, 165, 0, 0.15); 
}

.inner {
    width: 100%;
    /* max-width: 1280px; */
    padding: 40px;
    margin: 0 auto;
    box-sizing: border-box;
}

.all-breadcrumb-container {
    padding: 80px 0 0;
    background-color: #fff;
}

.all-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #333;
}

.all-breadcrumb-item {
    display: flex;
    align-items: center;
}

.all-navmenu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.all-breadcrumb-item + .all-breadcrumb-item::before {
    content: "/";
    margin: 0 10px;
    color: #333;
}

.all-breadcrumb-item a {
    color: #333;
    text-decoration: none;
    position: relative; 
    display: inline-block;
    padding-bottom: 2px; 
}

.all-breadcrumb-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px; 
    background-color: #333; 
    transition: width 0.3s ease; 
}

.all-breadcrumb-item a:hover::after {
    width: 100%;
}

.all-breadcrumb-item a:hover {
    opacity: 1; 
    text-decoration: none;
}

.all-breadcrumb-item[aria-current="page"] {
    font-weight: 500;
}

/* フワッと表示 */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    will-change: opacity, transform; 
}

.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ハンバーガー --- */
.nav-toggle {
    display: none; 
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    padding: 20px 0;
    padding-top: 50px;
    transition: background 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
    background: rgba(10, 50, 120, 0.8);
    padding-top: 20px;
}

.header-inner, .main-nav, .main-nav ul, .has-mega-menu {
    position: static !important;
}

.header-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo img {
    width: 100%;
    max-width: 250px;
    margin-right: 10px;
}

.main-nav {
    position: static; 
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0;
}

.main-nav a {
    /* font-family: 'Raleway', sans-serif; */
    font-weight: bold;       
    
    letter-spacing: 0.15em; 
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, opacity 0.3s ease, text-shadow 0.3s ease;
}

.main-nav a:hover {
    color: #fff; 
    opacity: 0.7; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); 
}

.mega-item:hover {
    opacity: 0.6; 
}

.mega-menu {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%; 
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    padding: 60px 0;
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    pointer-events: none; 
}

.mega-menu.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.has-mega-menu > a {
    display: flex;
    align-items: center;
    gap: 10px; 
    position: relative;
}

.has-mega-menu > a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff; 
    border-bottom: 2px solid #fff;
    transform: rotate(45deg); 
    transition: transform 0.3s ease, margin-top 0.3s ease;
    margin-top: -4px; 
}

.has-mega-menu:has(.is-active) > a::after {
    transform: rotate(-135deg); 
    margin-top: 4px; 
}

.mega-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
}

.mega-menu-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 50px;
}

.mega-title {
    flex: 0 0 280px;
    /* border-top: 2px solid #000; */
    padding-top: 15px;
    text-align: left;
}

.mega-title h2 {
    /* font-family: 'Raleway', sans-serif; */
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    color: #000;
    margin: 0;
    font-weight: bold;
}

.mega-title p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    margin-top: 5px;
}

.mega-content {
    flex: 1;
    display: flex;
    justify-content: flex-end; 
    gap: 10px;
}

.mega-item {
    flex: 1;           
    max-width: 280px;  
    min-width: 150px; 
    text-decoration: none;
    transition: transform 0.3s;
}

.mega-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; 
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

.mega-box span {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    display: block;
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
}

.mega-box span small {
    font-size: 0.7rem;
    color: #333;
    font-weight: bold;
    padding-right: 2px;
}

.mega-item:hover {
    opacity: 0.6;
}

.btn-contact {
    background: #c31d24; 
    padding: 8px 25px;
    border-radius: 20px;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #e6222a;
}

.hero-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end; 
    overflow: hidden;
}

.subpage main {
    padding-top: 110px; 
}

.subpage .subhero {
    margin-top: 0; 
}

.bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlaybk {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.26); 
    z-index: -1; 
    pointer-events: none;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 200px 60px 60px; 
    box-sizing: border-box;
}

.main-ttl h1,
.main-sub-copy {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-weight: 400; 
    letter-spacing: 0.12em; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.main-ttl h1 {
    font-size: 2.8rem; 
    line-height: 1.4;
    color: #fff;
    padding-bottom: 25px;
}

.main-ttl h1 .main-ttl-small {
    font-size: 2.1rem;
}

.sub-area-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;  
    margin-top: 60px;
}

.copy-area {
    color: #fff;
}

.copy-area h1 {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),   
        0 0 20px rgba(0, 0, 0, 0.4);  
}

.main-sub-copy {
    font-size: 2rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 2);
}

.en-copy {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    opacity: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 2);
    line-height: 1.8;
    margin-top: 70px;
}

.hero-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 2px solid #fff;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    /* font-family: 'Raleway', sans-serif; */
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: 0.4s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 2);
    margin-top: 50px;
    transform: translateX(0);
}

.hero-contact-btn:hover {
    background-color: #fff;
    color: #292549;
    transform: translateX(15px);
}

.area-item-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.kv-wrapper {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #000;
}

.kv-container {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
}

.service-item {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    z-index: 1;
    transition: clip-path 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

/* 4枚の時 */
.s1 { clip-path: polygon(0 0, 30% 0, 20% 100%, 0 100%); z-index: 5; }
.s2 { clip-path: polygon(30% 0, 55% 0, 45% 100%, 20% 100%); z-index: 4; }
.s3 { clip-path: polygon(55% 0, 80% 0, 70% 100%, 45% 100%); z-index: 3; }
.s4 { clip-path: polygon(80% 0, 100% 0, 100% 100%, 70% 100%); z-index: 2; }

/* 3枚にする場合は以下を有効に（※HTML側のs4を消す） */
/*
.s1 { clip-path: polygon(0 0, 40% 0, 30% 100%, 0 100%); }
.s2 { clip-path: polygon(40% 0, 70% 0, 60% 100%, 30% 100%); }
.s3 { clip-path: polygon(70% 0, 100% 0, 100% 100%, 60% 100%); }
*/

.active .service-item {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.service-item.is-top { z-index: 10 !important; }

.hover-sensor {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) skewX(-5.7deg);
    width: 220px; 
    height: 300px;
    z-index: 20; 
    pointer-events: auto; 
    background: rgba(255, 0, 0, 0); 
}

.s1 .hover-sensor { left: 5%; }
.s2 .hover-sensor { left: 28%; }
.s3 .hover-sensor { left: 53%; }
.s4 .hover-sensor { left: 78%; }

.label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    z-index: 15;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    white-space: nowrap;
    pointer-events: none;
    cursor: pointer;
}

.label small {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}
 
.s1 .label { left: 5%; }
.s2 .label { left: 28%; }
.s3 .label { left: 54%; }
.s4 .label { left: 81%; }

.active .service-item.is-top .label {
    left: 60px;
    font-size: clamp(1.5rem, 6vw, 2.6rem);
    opacity: 1;
}

.active .service-item.is-top .label small {
    font-size: 1rem;
}

.active .service-item:not(.is-top) .label { opacity: 0; }

:lang(en) .active .service-item.is-top .label {
    left: 40px; 
    font-size: clamp(1.2rem, 5vw, 2.2rem); 
    letter-spacing: 0.02em;
    max-width: 90vw;
    white-space: nowrap; 
}

:lang(en) .s1 .label { left: 4%; }  
:lang(en) .s2 .label { left: 29%; } 
:lang(en) .s3 .label { left: 55%; }
:lang(en) .s4 .label { left: 78%; }

:lang(en) .label {
    font-size: 0.9rem;
    
}

:lang(en) .label small {
    font-size: 0.6rem; 
}

.lines-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 20;
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.active .lines-overlay {
    opacity: 1; 
}

.line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.7);
    transform: skewX(-10deg); 
    transform-origin: top;
}
        
.line-1 { left: 30%; } 
.line-2 { left: 55%; }
.line-3 { left: 80%; }

.changing img { opacity: 0.3; }


.sub-row {
    display: flex;
    gap: 10px;          
    width: 100%;
    max-width: 800px;   
    margin: 20px auto; 
}

.sub-item {
    position: relative;
    flex: 1;            
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 16 / 7; 
}

.sub-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8); 
    transition: 0.3s;
}

.sub-item:hover img {
    filter: brightness(1);
}

.sub-label {
    position: absolute;
    top: 50%;
    left: 20px;         
    transform: translateY(-50%);
    color: #fff;
    text-align: left;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    pointer-events: none;
    font-weight: bold;
    line-height: 1.4;
}

.sub-label small {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.news-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 50, 120, 0.8);
    padding: 15px 0;
    z-index: 10;
}

.news-content {
    max-width: 1280px; 
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
    color: #fff;
    font-family: 'Raleway', sans-serif; 
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.news-date {
    margin-right: 20px;
    opacity: 0.8;
}

.news-text {
    font-weight: 300;
}

/* About us */
.grid {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 19%;
    width: 62%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.grid div {
    height: 100%;
    border-right: 1px solid #E6E6E6;
    width: 50%;
}

.grid div:first-child {
    border-left: 1px solid #E6E6E6;
}

.aboutus {
    position: relative; 
    width: 100%;
    min-height: 500px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 120px;
}

.aboutus-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 400px;
    z-index: -2; 
    object-fit: cover; 
    opacity: 0.3; 
    transition: opacity 2s ease-in-out;
}

.aboutus-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 70px 0;
}

.about-text-content {
    flex: 0 1 680px; 
}

.about-title-area {
    margin-bottom: 40px;
}

.about-en-ttl {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin: 0;
    padding-top: 100px;
}

.about-jp-ttl {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
    display: block;
}

.about-main-copy {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.4rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 500;
}

.about-description {
    width: 100%;
    max-width: 680px;
    font-size: 18px;
    line-height: 2;
    color: #333;
    margin-bottom: 50px;
}

.about-description p {
    margin-bottom: 25px;
}


.about-recruit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 2px solid #292549;
    border-radius: 50%;
    text-decoration: none;
    color: #292549;
    /* font-family: 'Raleway', sans-serif; */
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: 0.4s;
    transform: translateX(0);
}

.about-recruit-btn:hover {
    background-color: #292549;
    color: #fff;
    transform: translateX(15px);
}

.about-image-layout {
    display: flex;
    align-items: flex-start;
    gap: 3vw; 
    flex: 0 1 auto;
}

.img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    z-index: 1;
}

.img-main {
    width: 25vw; 
    max-width: 400px; 
    min-width: 250px;
    padding-top: 90px;
}

.img-sub-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.img-sub-top {
    width: 30vw;
    max-width: 500px;
    min-width: 300px;
}

.img-sub-bottom {
    width: 22vw;
    max-width: 350px;
    min-width: 200px;
    position: relative;
    z-index: 1;
}

.bg-deco-text {
    position: absolute;
    right: -40px;
    bottom: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 50, 150, 0.05); 
    transform: rotate(90deg);
    transform-origin: right bottom;
    z-index: -1;
    pointer-events: none;
}

.rotate-circle-text {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; 
    height: auto;
    z-index: -1;
    pointer-events: none; 
    animation: spin 40s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.img-sub-bottom img:not(.rotate-circle-text) {
    position: relative;
    z-index: 2;
}

/* フッター */
.site-footer {
    position: relative;
    background-color: #292549; 
    color: #fff;
    padding-top: 60px;
    /* font-family: 'Shippori Mincho', 'Noto Serif JP', serif; */
    z-index: 999;
}

.grid-wh {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 19%;
    width: 62%;
    height: 100%;
    display: flex;
    z-index: 0;
    opacity: 0.2;
}

.grid-wh div {
    height: 100%;
    border-right: 1px solid #fff;
    width: 50%;
}

.grid-wh div:first-child {
    border-left: 1px solid #fff;
}

.footer-inner {
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 250px;
}

.footer-info {
    display: flex;
    gap: 60px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.info-ttl {
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-info p {
    margin: 0;
}

.footer-line {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin: 0 0 40px 0;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    /* gap: 60px; */
    padding-bottom: 60px;
}

.pmark {
    width: 100%;
    max-width: 60px;
}

.pmark img {
    width: 100%;
}

.nav-main-link {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.nav-main-link:hover {
    opacity: 0.7;
}

.nav-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: none; 
    margin-left: 5px;
    padding-left: 15px;
}

.nav-sub-list li {
    position: relative;
    padding-bottom: 10px; 
}

.nav-sub-list li::before {
    content: "";
    position: absolute;
    left: -15px; 
    top: 0;
    width: 1px;
    height: 100%; 
    background-color: #fff;
}

.nav-sub-list li:last-child::before {
    height: 11px; 
}

.nav-sub-list li::after {
    content: "";
    position: absolute;
    top: 10px; 
    left: -15px;
    width: 10px;
    height: 1px;
    background-color: #fff;
}

.nav-sub-list li:first-child:last-child::before {
    display: none;
}

.nav-sub-list a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 20px; 
    display: block;
}

.footer-bottom {
    background-color: #fff;
    color: #333;
    text-align: right;
    padding: 15px 40px;
    font-size: 0.75rem;
}

.footer-bottom p {
    margin: 0;
}

/* 言語切り替えcss */
.lang-switch-item {
    display: flex;
    align-items: center;
    margin-left: auto;   
    margin-right: 20px;  
    z-index: 1100;      
}

.lang-switch {
    display: flex;
    position: relative;
    align-items: center;
    border: 1px solid #fff; 
    border-radius: 30px;
    padding: 2px;
    background-color: transparent;
    width: 82px;
    height: 32px;
    box-sizing: border-box;
    overflow: hidden;
}

.lang-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 38px;
    height: 26px;
    background-color: #345680; 
    border-radius: 20px;
    z-index: 1;
    transition: transform 0.3s ease;
    transform: translateX(0); 
}

.lang-switch:has(.en.active)::before {
    transform: translateX(38px);
}

.lang-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    position: relative;
    z-index: 2;
    color: #fff !important; 
    transition: color 0.5s ease;
}

.lang-btn.active {
    color: #fff !important; 
    pointer-events: none;
}


/* 求人 */
.btn-back-corp {
    display: inline-flex;
    align-items: center;
    gap: 8px;              
    text-decoration: none;
    color: #049bde;        
    font-size: 13px;      
    font-weight: 700;
    padding: 6px 15px;
    border: 1px solid #049bde; 
    border-radius: 50px;    
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-back-corp i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.btn-back-corp:hover {
    background-color: #049bde; 
    color: #fff;               
}

.btn-back-corp:hover i {
    transform: translateX(-3px);
}

.recruit-header {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid #eee;
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.recruit-header.is-scrolled {
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: blur(10px); 
}

.recruit-header-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

/* ロゴ部分 */
/* 
.recruit-header-logo {
    background-color: #0596b2; 
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    min-width: 200px;
}
.recruit-header-logo img {
    height: 40px;
    display: block;
}
*/

.recruit-header-nav {
    display: flex;
    align-items: center;
    height: 100%;
} 

.recruit-nav-links {
    display: flex;
    list-style: none;
    margin: 0 40px 0 0;
    padding: 0;
}

.recruit-nav-links li {
    margin-left: 30px;
}

.recruit-nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.recruit-nav-links li a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.recruit-nav-links li a:hover::after {
    transform: rotate(45deg) translate(3px, 3px);
}

.recruit-btn-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #049bde;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    width: 140px;
    height: 100%;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.recruit-btn-entry:hover {
    background-color: #2476b0;
}

.recruit-hero-section {
    width: 100%;
    background: url(../img/recruit/recruit_hero.webp) no-repeat center center / cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.recruit-hero-copy-wrapper {
    position: absolute;
    top: 69%;
    left: 5%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 800px;
}

.recruit-hero-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    filter: blur(12px);
    /* 2秒かけてゆったりと出現 */
    transition: opacity 2.0s ease-out, filter 2.0s ease-out;
    will-change: opacity, filter;
}

.recruit-hero-copy-wrapper.is-visible .recruit-hero-img {
    opacity: 1;
    filter: blur(0);
}

.rc-vision {
    position: relative;
    width: 100%;
    background-color: #fff; 
    overflow: hidden;
}

.rc-vision-bg-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%; 
    height: 100%;
    background-color: #deeef6; 
    z-index: 1;
}

.rc-vision-sub {
    color: #40b4e5;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
} 

/* 文字の場合 */
/* .rc-job-bg-text {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    color: #fff;
    white-space: nowrap;
    line-height: 0.8; 
    letter-spacing: -0.03em; 
} */

.rc-rotate-img {
    position: absolute;
    right: -91px;
    top: -37px;  
    z-index: 1;
    width: 100%;
    max-width: 400px;      
    height: auto;
    margin-bottom: 10px;
    display: block;
    pointer-events: none;

    animation: rc-spin 20s linear infinite;
}

@keyframes rc-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rc-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.rc-job-ttl-box {
    flex-shrink: 0; 
}

.rc-vision-ttl {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.rc-vision-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px; 
    padding: 100px 0;
    margin: 0 auto;
    text-align: center;

}

.rc-vision-txt {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
}

.rc-vision-txt:last-child {
    margin-bottom: 0;
}

.rc-gallery {
    width: 100%;
    overflow: hidden; 
}

.rc-gallery-wrap {
    width: 100%;
}

.rc-gallery-inner {
    display: flex;
}

.rc-gallery-img {
    width: 100%; 
    height: auto; 
    flex-shrink: 0; 
}

.rc-gallery-wrap:hover .rc-gallery-inner {
    animation-play-state: paused;
}

.rc-job {
    position: relative;
    width: 100%;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        transparent 100%
    ); 
    
    background-image: linear-gradient(to right, #fff 50%, #deeef6 50%);
    background-size: 100% 1000px; 
    background-repeat: no-repeat;
    background-color: #fff; 
    overflow: hidden;
}

.rc-job-ttl-box {
    flex-shrink: 0; 
}

.rc-job-content {
    position: relative;
    z-index: 2;
    padding: 100px 20px 0;
}

.rc-job-table-wrapper {
    position: relative;
    z-index: 10; 
    margin-top: -30px;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border: 1px solid #eee;
}

.rc-job-table {
    width: 100%;
    border-collapse: collapse;
}

.rc-job-table th {
    width: 30%;
    text-align: left;
    vertical-align: top;
    padding: 30px 20px;
    background-color: #deeef6; 
    border-bottom: 1px solid #020b35;
    font-size: 1.05rem;
    color: #020b35;
    font-weight: bold;
}

.rc-job-table td {
    width: 70%;
    text-align: left;
    padding: 30px 20px;
    border-bottom: 1px solid #020b35; 
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.rc-job-table tr:last-child th,
.rc-job-table tr:last-child td {
    border-bottom: none;
}

.rc-job-table a[href="#entry"] {
    position: relative;
    text-decoration: none; 
    color: #049bde;
    font-weight: bold;
    padding-bottom: 4px; 
    display: inline-block;
}

.rc-job-table a[href="#entry"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; 
    height: 1px; 
    background-color: #049bde; 
    transition: width 0.4s ease; 
}

.rc-job-table a[href="#entry"]:hover::after {
    width: 100%; 
}

.rc-map-btn {
    display: inline-block;
    border: 1px solid #049bde;
    color: #40b4e5;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 2px 12px;
    border-radius: 20px;
    margin-left: 10px;
    font-weight: bold;
}

.rc-map-btn:hover {
    background: #049bde;
    color: #fff;
}

.rc-location-item {
    margin-bottom: 20px;
}

.rc-job .rc-map-area {
    display: none; 
    margin-top: 15px;
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.rc-job .rc-map-area.is-open {
    display: block !important; 
    animation: rcFadeIn 0.3s ease-out;
}

.rc-job .rc-map-area iframe {
    width: 100% !important;
    height: 300px !important;
}

@keyframes rcFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.rc-entry {
    width: 100%;
    height: 500px; 
    background: url('../img/recruit/entry_bk.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rc-entry-container {
    width: 100%;
    padding: 0 20px;
}

.rc-entry-main-ttl {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.rc-entry-sub-img {
    max-width: 600px;
    margin: 0 auto 40px;
}

.rc-entry-sub-img img {
    width: 100%;
    height: auto;
}

.rc-entry-btn {
    display: inline-block;
    background-color: #049bde;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 15px 80px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #049bde;
    transition: all 0.3s ease;
}

.rc-entry-btn:hover {
    background-color: #fff;
    color: #049bde;
}


/* 各項目リンク */
.total-division {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.total-division-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.total-division-header {
    margin-bottom: 50px;
}
.total-sub-ttl {
    color: #00adef;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}
.total-main-ttl {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.total-division-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.total-tab-btn {
    padding: 10px 30px;
    border: 2px solid #049bde;
    border-radius: 50px;
    background: #fff;
    color: #049bde;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
}

.total-tab-btn:hover {
    background: #049bde;
    color: #fff;
}

.total-division-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
    
    opacity: 1;
    transform: translateY(0); 
    visibility: hidden;
    
    transition: opacity 0.6s ease, transform 0.6s ease;
    overflow: hidden;
    margin-top: 40px;
}

.total-division-grid.is-visible {
    display: grid;
    opacity: 1;
    transform: translateY(0); 
    visibility: visible;
}

.total-division-card {
    display: block;
    text-decoration: none;
    text-align: left;
    transition: 0.3s;
    will-change: opacity, transform;
}

.total-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 25px; 
    overflow: hidden;
    margin-bottom: 15px;
}

.total-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.total-division-card:hover img {
    transform: scale(1.1);
}

.total-card-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid #fff; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.total-card-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.total-arrow-symbol {
    display: block;
    width: 20px;
    height: 1px;
    background: #fff;
    position: relative;
}

.total-arrow-symbol::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 0 10px; 
    border-color: transparent transparent transparent #fff; 
}

.total-division-card:hover .total-card-arrow {
    background-color: #fff;
}

.total-division-card:hover .total-arrow-symbol {
    background-color: transparent;
    mix-blend-mode: destination-out; 
}

.total-division-card:hover .total-arrow-symbol {
    background-color: #333; 
}

.total-division-card:hover .total-arrow-symbol::after {
    border-color: transparent transparent transparent #333; 
}

.total-card-title {
    font-size: 1.1rem;
    text-align: left;
    font-weight: bold;
    color: #333;
    padding-left: 5px;
    text-decoration: none; 
    border: none; 
}

.total-tab-btn.active {
    background: #049bde;
    color: #fff;
}

/* koremone */
.koremone {
    width: 100%;
}

.koremone-hero {
    position: relative;
    width: 100%;
    background: url(../img/koremone/koremone_hero.webp) no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.koremone-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); 
}

.koremone-hero-inner {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    height: 80%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.koremone-text-group {
    text-align: center;
    margin-top: 50px; 
}

.koremone-main-copy {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 4vw, 2.6rem); 
    letter-spacing: 0.15em;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(0,0,0,0.5);
    color: #fff;
    margin-bottom: 15px;
}

.koremone-sub-copy {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    letter-spacing: 0.4em;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: #fff;
}

.koremone-main-copy,
.koremone-sub-copy {
    opacity: 0;
    filter: blur(12px); 
    transition: opacity 2.0s ease-out, filter 2.0s ease-out;
    will-change: opacity, filter; 
}

.koremone-text-group.is-visible .koremone-main-copy {
    opacity: 1;
    filter: blur(0);
}

.koremone-text-group.is-visible .koremone-sub-copy {
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.8s; 
}

.koremone-logo-box {
    position: absolute;
    right: 0;
    bottom: 40px;
    text-align: center;
}

.koremone-logo-info {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #fff;
    font-weight: bold;
}

.koremone-logo-img {
    width: 100%;
    max-width: 400px; 
    height: auto;
    display: block;
}

.koremone-logo-img img {
    width: 100%;
}

.koremone-only-sp {
    display: none;
}

.koremone-only-pc {
    display: block;
}

.koremone-intro-section {
    position: relative;
    padding: 0 0 80px;
    background-color: #fff; 
}

.koremone-layout-wrapper {
    width: 100%;
    padding: 80px 0;
}

.koremone-image-container {
    width: 70%; 
    max-width: 1100px; 
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 50px;

    overflow: hidden;
    background-color: #ffffff;
}

.koremone-concept-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 

    clip-path: inset(0 var(--edge-width, 0%) 0 var(--edge-width, 0%));
    transition: clip-path 0.6s ease-out;
    will-change: clip-path;
}

.koremone-text-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.koremone-catch-headline {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 40px;
    text-align: left !important; 
    display: block;
    color: #333;
}

.catch-en {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

.koremone-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
    padding: 0 15px;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.koremone-description.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.char {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5); 
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), 
                transform 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
    
    transition-delay: calc(0.08s * var(--char-index));
}

.is-active .char {
    opacity: 1;
    transform: scale(1);
}

.whitespace {
    display: inline-block;
}

.koremone-points-section {
    background-color: #e0e6e6; 
    padding: 100px 0 200px;
}

.koremone-points-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.koremone-points-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 70px;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 25px;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.koremone-points-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; 
    height: 1px;
    background-color: #333;
}

.koremone-points-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px 0; 
}

.koremone-point-item {
    width: 47%; 
}

.koremone-point-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.point-badge {
    background-color: #345680; 
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.point-badge span {
    font-size: 1.3rem;
    display: block;
    margin-top: 2px;
}

.point-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    font-family: 'Shippori Mincho', serif;
}

.point-image {
    width: 100%;
    margin-bottom: 20px;
}

.point-image img {
    width: 100%;
    height: auto;
    display: block;
}

.point-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

.koremone-product-bk {
    background: rgba(240, 236, 233, 0.2);
    padding-bottom: 150px;
}

.koremone-product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.koremone-section-title {
    font-size: 2rem;
    border-bottom: 1px solid #333;
    padding: 15px 0 35px ;
    margin-bottom: 60px;
}

.koremone-category-block {
    margin-bottom: 80px;
}

.koremone-category-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.koremone-product-grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.koremone-product-item {
    width: 25%;
    box-sizing: border-box;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    border-right: 1px solid #333;
}

.koremone-product-item:nth-child(n+5) {
    margin-top: 40px; 
}

.koremone-product-item:nth-child(4n) {
    border-right: none;
}

.koremone-item-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    overflow: hidden;
}

.koremone-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.koremone-item-thumb:hover img {
    transform: scale(1.05); 
    /* 少し暗くなる */
    /* filter: brightness(0.9);  */
}

/* モーダル */
.koremone-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.koremone-modal.is-show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
    max-width: 90%;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2); 
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000; 
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-close i {
    color: #fff;
    font-size: 24px;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.9); 
    transform: rotate(90deg); 
}

.modal-close:hover i {
    color: #333; 
}

.koremone-modal.is-show .modal-content {
    transform: scale(1);
}

.modal-content {
    max-width: 100%;
    max-height: 70vh; 
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0; 
    transition: opacity 0.4s ease, transform 0.4s ease; 
    transform: scale(0.95); 
}

.modal-content.is-faded-in {
    opacity: 1;
    transform: scale(1);
}

.modal-content.is-fading {
    opacity: 0;
}

.modal-nav {
    display: flex;
    gap: 40px;
    justify-content: center;
    pointer-events: auto; 
}

.modal-prev, .modal-next {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.modal-prev:hover, .modal-next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.koremone-item-label {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    letter-spacing: 0.03em;
}

.koremone-ec-intro-section {
    position: relative;
    z-index: 999;
    background-color: #e0e6e6;
    padding: 250px 0 100px;
}

.koremone-ec-main-visual {
    position: absolute;
    top: -200px;
    right: 0;
    width: 70%;
    max-width: 1100px;
    z-index: 5;
}

.koremone-ec-photo-wrap {
    position: relative;
}

.koremone-ec-photo-wrap::after {
    content: ""; 
    position: absolute;
    bottom: 110px;
    left: 35px;
    width: 500px; 
    height: 90px;  
    background-image: url('../img/koremone/koremone_direct.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.koremone-ec-photo-wrap img {
    width: 100%;
    display: block;

    clip-path: inset(0 var(--edge-width, 0%) 0 var(--edge-width, 0%));
    transition: clip-path 0.6s ease-out;
    will-change: clip-path;
}

.koremone-ec-description-box {
    opacity: 0;
    transform: translateY(20px);
    /* 1.5秒かけてゆっくり変化させる設定 */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* 2. JavaScriptでこのクラスがついたら表示状態にする */
.koremone-ec-description-box.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.koremone-ec-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 60px auto 0;
    box-sizing: border-box;
}

.koremone-space {
    padding: 40px 0;
    background: rgba(240, 236, 233, 0.2);
}

.koremone-ec-catch {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: bold;
    border-bottom: 1px solid #333; 
    padding: 25px 0;
    margin-bottom: 30px;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.koremone-ec-sub-catch {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 20px;
    font-weight: bold;
}

.koremone-ec-small-text {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    padding: 0 20px;
}

.koremone-footer {
    width: 100%;
    padding: 0 0 100px;
    margin-top: 70px;
    background-color: #fff; 
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.koremone-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.koremone-ec-banners {
    display: flex;
    gap: 40px;
}

.koremone-banner-item {
    width: 50%;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.koremone-banner-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
}

.koremone-banner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); 
}

.koremone-banner-item:hover .koremone-banner-img-wrap img {
    transform: scale(1.08); 
}

.koremone-banner-logo {
    position: absolute;
    top: 45px;
    left: 30px;
    width: 200px;
    padding: 5px 10px;
}

.koremone-banner-caption {
    position: absolute;
    right: 0;
    bottom: -20px; 
    width: 75%;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.blue-box { background-color: #24547a; }
.black-box { background-color: #2c3442; }

.koremone-caption-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
}

.koremone-caption-sub {
    font-size: 1.1rem;
    margin: 5px 0 0 0;
}

.koremone-mini-btn {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.koremone-banner-item:hover .koremone-mini-btn {
    background: #fff;
    color: #2c3442;
}

/* lbd */
.lbd {
    width: 100%;
}

.lbd-hero {
    position: relative;
    width: 100%;
    background: url('../img/lbd/lbd_hero.webp') no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.lbd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); 
}

.lbd-text-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.lbd-catch-headline {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 40px;
    text-align: left !important; 
    display: block;
    color: #333;
}

.catch-en {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

.lbd-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
    padding: 0 15px;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.lbd-description.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lbd-subttl {
    font-size: 0.9rem;
}

.lbd-lineup-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.lbd-lineup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lbd-lineup-item.lbd-reverse {
    flex-direction: row-reverse;
}

.lbd-lineup-text {
    flex: 1;
}

.lbd-lineup-number {
    display: block;
    font-family: 'Raleway', sans-serif;
    color: #b5aa96; 
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.lbd-lineup-name {
    font-size: 2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.lbd-lineup-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.lbd-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #345680; 
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden; 
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(52, 86, 128, 0.2);
}

.lbd-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #264666; 
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lbd-btn-icon {
    margin-left: 15px;
    font-size: 0.8rem;
    display: inline-block; 
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lbd-download-btn:hover {
    color: #fff;
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(38, 70, 102, 0.4);
}

.lbd-download-btn:hover::before {
    width: 100%; 
}

.lbd-download-btn:hover .lbd-btn-icon {
    transform: translateX(5px) rotate(360deg);
}

.lbd-download-btn:active {
    transform: translateY(-1px); 
}

.lbd-lineup-image {
    flex: 1;
    text-align: center;
}

.lbd-lineup-image img {
    max-width: 100%;
    height: auto;
}

.lbd-items-section {
    margin-top: 120px; 
    text-align: left;
}

.lbd-items-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.lbd-items-title::before {
    content: "";
    position: absolute;
    top: -35px;
    left: 0;
    width: 125px;
    height: 1px;
    background-color: #333;
}

.lbd-items-image-box {
    background-color: #fff;
    padding: 60px 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

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

.koremone-ec-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 60px auto 0;
    box-sizing: border-box;
}

.lbd-ec-intro-section {
    position: relative;
    z-index: 999;
    background-color: #fff;
    padding: 250px 0 100px;
}

.lbd-product-bk {
    background: #e0e6e6;
    padding-bottom: 150px;
}

.lbd-ec-main-visual {
    position: absolute;
    top: -140px;
    right: 0;
    width: 70%;
    max-width: 1100px;
    z-index: 5;
}

.lbd-ec-photo-wrap {
    position: relative;
}

.lbd-ec-photo-wrap img {
    width: 100%;
    display: block;
    
    clip-path: inset(0 var(--edge-width, 0%) 0 var(--edge-width, 0%));
    transition: clip-path 0.6s ease-out;
    will-change: clip-path;
}

.lbd-space {
    padding: 70px 0;
}

.lbd-ec-catch {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: bold;
    border-bottom: 1px solid #333; 
    padding: 25px 0;
    margin-bottom: 30px;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.lbd-ec-sub-catch {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 20px;
    font-weight: bold;
}

.lbd-ec-small-text {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    padding: 0 20px;
}

.lbd-ec-description-box {
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.lbd-ec-description-box.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lbd-service-grid {
    display: flex;
    gap: 60px;
    justify-content: center;
    padding: 60px 15px 30px;
}

.lbd-service-card {
    flex: 1;
    max-width: 580px;
}

.lbd-card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.lbd-card-body {
    padding-top: 30px;
}

.lbd-card-label {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: #b5aa96; 
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.lbd-card-title {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
}

.lbd-card-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.en-lbd-card-text {
    height: 230px;
}

.lbd-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    width: fit-content;
    margin: 0 auto;
    transition: all 0.6s ease;
}

.lbd-service-btn-text {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
}

.lbd-service-btn-arrow {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #264666; 
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    border: solid 1px #dfdfdf;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1), 
                background-color 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.lbd-service-btn-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.lbd-service-btn-arrow i {
    font-size: 1.35rem;
    z-index: 2;
    background: linear-gradient(to right, #264666 50%, #fff 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.lbd-service-btn:hover .lbd-service-btn-arrow {
    background-color: #fff;
}

.lbd-service-btn:hover .lbd-service-btn-arrow::before {
    opacity: 1;
}

.lbd-service-btn:hover .lbd-service-btn-arrow i {
    background-position: 0 0;
}

.lbd-equipment-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    background-color: #fff !important;
    color: #fff;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    z-index: 999;
}

.lbd-equipment-img {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lbd-equipment-img img {
    width: 100%;
}

.lbd-equipment-container {
    position: absolute;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    width: 100%;
    max-width: 600px;
    background-color: #264666;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    bottom: 0;
    right: 0;
}

.lbd-equipment-content-left {
    width: 60%;
}

.lbd-equipment-content-right {
    width: 40%;
}

.lbd-equipment-ttl {
    padding-top: 60px; 
}

.lbd-equipment-ttl p{
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.lbd-red {
    color: #e54d42;
}

.lbd-equipment-title {
    font-size: 1.8rem; 
    font-weight: bold;
    line-height: 1.3;
    margin: 15px;
}

.lbd-equipment-title .lbd-small  {
    font-size: 1.2rem !important;
}

.lbd-equipment-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    gap: 20px;
    text-decoration: none;
    width: fit-content;
    margin-left: auto; 
}

.lbd-equipment-btn-arrow {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #fff; 
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.lbd-relative {
    position: relative;
}

.lbd-equipment-btn-arrow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #264666; 
    border: 1px solid #fff;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.lbd-equipment-btn-arrow i {
    font-size: 1.35rem;
    z-index: 2;
    background: linear-gradient(to right, #fff 50%, #264666 50%);
    background-size: 200% 100%;
    background-position: 100% 0; 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.lbd-equipment-btn:hover .lbd-equipment-btn-arrow {
    background-color: #264666;
}

.lbd-equipment-btn:hover .lbd-equipment-btn-arrow::before {
    opacity: 1;
}

.lbd-equipment-btn:hover .lbd-equipment-btn-arrow i {
    background-position: 0 0;
}

.lbd-en-height {
    height: 80px;
}

.en-marginbottom {
    margin-bottom: 40px;
}

/* ipsd */
.ipsd-hero {
    position: relative;
    width: 100%;
    background: url('../img/ipsd/ipsd_hero.webp') no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.deepblue {
    color: #345680;
    font-size: 1.5rem !important;
}

.ipsd-lineup-container {
    display: flex;
    flex-direction: column;
    gap: 80px; 
}

.ipsd-lineup-item {
    display: flex;
    align-items: center; 
    gap: 50px;           
}

.ipsd-lineup-item.is-reverse {
    flex-direction: row-reverse;
}

.ipsd-lineup-text-block {
    flex: 1; 
}

.ipsd-lineup-image-block {
    width: 100%;          
    max-width: 400px;       
    position: relative;     
    overflow: hidden;       
    cursor: pointer; 
}

.ipsd-lineup-img.is-default {
    position: relative; 
    z-index: 2;
    width: 100%;
    height: auto;       
    display: block;     
    object-fit: contain; 
    transition: opacity 2.5s ease-in-out;
    opacity: 1;
}

.ipsd-lineup-img.is-hover {
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;       
    object-fit: contain; 
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.ipsd-lineup-image-block.is-switch .ipsd-lineup-img.is-default {
    opacity: 0; 
}

.ipsd-lineup-image-block.is-switch .ipsd-lineup-img.is-hover {
    opacity: 1; 
}


.ipsd-points-inner {
    max-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
    box-sizing: border-box;
}

.ipsd-section-title-wrap {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    margin: 60px 0 40px;  
}

.ipsd-section-title-line {
    display: block;
    width: 130px;          
    height: 1px;          
    background-color: #333; 
    margin-bottom: 25px;  
}

.ipsd-section-title-text {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 2rem;      
    font-weight: bold;  
    color: #333;
    margin: 0;
    padding-left: 10px;
}

.ipsd-clients-bg-area {
    background-image: url('../img/ipsd/boueisho-bk.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0; 
    position: relative;
}

.ipsd-clients-bg-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    z-index: 1;
}
    
.ipsd-clients-container {
    display: flex;
    justify-content: space-between; 
    gap: 30px;               
    position: relative;
    z-index: 2;              
    flex-wrap: wrap;        
}

.ipsd-client-box {
    background-color: rgba(255, 255, 255, 0.8); 
    width: 350px;
    height: 330px;
    display: flex;
    flex-direction: column;  
    align-items: center;     
    justify-content: center; 
    padding: 40px;
    box-sizing: border-box;  
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.ipsd-client-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.ipsd-client-icon {
    width: 100%; 
    max-width: 110px;            
    margin-bottom: 30px;     
}

.ipsd-client-icon img {
    width: 100%;
}

.ipsd-client-name {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.white {
    color: #fff;
}

.ipsd-main-products-section {
    background-image: url('../img/ipsd/bk-02.webp'); 
    background-size: cover;      
    background-position: center;  
    background-attachment: fixed; 
    padding: 100px 0;           
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.ipsd-products-flex {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 60px;               
    margin-top: 40px;
}

.ipsd-products-list {
    flex: 1;                 
    display: flex;
    flex-direction: column; 
    max-width: 550px;        
}

.ipsd-products-image {
    flex: 1;                
    text-align: right;
}

.ipsd-products-image img {
    width: 100%;
    max-width: 500px;        
    height: auto;
    border-radius: 2px;      
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); 
}

.ipsd-products-list-item {
    width: 100% !important; 
    margin: 0 !important; 
    padding: 18px 10px !important;
    justify-content: space-between !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
    box-sizing: border-box;
    transition: background-color 0.4s ease;
}

.ipsd-products-list-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.ipsd-products-list-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.ipsd-products-list-item .lbd-service-btn-text {
    color: #fff !important;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.ipsd-products-list-item .lbd-service-btn-arrow {
    width: 45px !important;
    height: 45px !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.js-product-img {
    opacity: 1;
    transition: opacity 1.5s ease-in-out; 
    will-change: opacity;
}

.is-changing {
    opacity: 0;
}


.ipsd-contact {
    position: relative;
    padding: 100px 20px;
    background: url('../img/ipsd/bk.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    z-index: 999;
}

.ipsd-contact-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.ipsd-contact-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.ipsd-contact-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
}

.ipsd-contact-text {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 10px;
}

.ipsd-contact-info {
    font-size: 1rem;
    margin-bottom: 50px;
}

.ipsd-contact-btns {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.ipsd-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    text-decoration: none;
    transition: background-color 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.ipsd-contact-btn-red { background-color: #ff4b2e; color: #fff; }
.ipsd-contact-btn-white { background-color: #f2f2f2; color: #333; }

.ipsd-products-list .lbd-service-btn-arrow,
.ipsd-contact-btn .lbd-service-btn-arrow {
    position: relative;
    width: 45px;
    height: 45px;
    background-color: transparent; 
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1), 
                background-color 1.0s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.ipsd-contact-btn-red .lbd-service-btn-arrow {
    border: solid 1px #fff; 
}

.ipsd-contact-btn-red .lbd-service-btn-arrow i {
    font-size: 1.1rem;
    z-index: 2;
    background-image: linear-gradient(to right, #e54d42 50%, #fff 50%); /* 赤ボタンの色に合わせる */
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.ipsd-contact-btn-red:hover .lbd-service-btn-arrow {
    background-color: #fff;
    border-color: #fff;
}

.ipsd-contact-btn-red:hover .lbd-service-btn-arrow i {
    background-position: 0 0;
}

.ipsd-contact-btn-white .lbd-service-btn-arrow {
    border: solid 1px #333; 
}

.ipsd-contact-btn-white .lbd-service-btn-arrow i {
    font-size: 1.1rem;
    z-index: 2;
    background-image: linear-gradient(to right, #fff 50%, #333 50%); 
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.ipsd-contact-btn-white:hover .lbd-service-btn-arrow {
    background-color: #333;
    border-color: #333;
}

.ipsd-contact-btn-white:hover .lbd-service-btn-arrow i {
    background-position: 0 0;
}

.ipsd-contact-btn:hover .lbd-service-btn-arrow {
    transform: scale(1.1);
}

.btn-space {
    gap: 50px;
}

/* sp */
.sp-hero {
    position: relative;
    width: 100%;
    background: url('../img/spd/spd_hero.webp') no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.spd-points-section {
    background-color: #e0e6e6;
    padding: 100px 0 220px;
}

.spd-flex-row {
    display: flex;
    width: 100%;
    margin-bottom: 150px;
    align-items: center;
}

.spd-flex-row.spd-reverse {
    flex-direction: row-reverse;
}

.spd-text-area {
    flex: 1;
    display: flex;
    justify-content: center; 
    padding: 0 4%;
}

.spd-inner-content {
    max-width: 600px; 
    width: 100%;
}

.spd-image-area {
    flex: 1;
    height: 100%;
}

.spd-image-area img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.spd-image-area.is-rectangle {
    flex: none !important;  
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0 auto;         
}

.spd-image-slider-track {
    display: flex;
    width: max-content; 
    animation: spd-scroll-left 30s linear infinite;
}

.spd-image-area.is-rectangle img {
    width: 100%;
    height: 100%;        
    object-fit: cover;   
}

.spd-image-slider-container {
    width: 100%;
    max-width: 800px;
    overflow: hidden; 
    /* border: 2px solid #00224e; */
    padding: 20px 0;
    margin-top: 20px;
}

.spd-image-slider-track {
    display: flex;
    width: max-content;    
    animation: spd-scroll-left 60s linear infinite;
}

.spd-image-slider-container:hover .spd-image-slider-track {
    animation-play-state: paused;
}

@keyframes spd-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.spd-slider-item {
    width: 250px; 
    height: 180px; 
    padding: 0 10px; 
    box-sizing: border-box;
}

.flex-column {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.spd-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border: 1px solid #ccc; 
    cursor: pointer;
    transition: opacity 0.3s;
}

.spd-slider-item img:hover {
    opacity: 0.8;
}

.spd-modal {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2147483647;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.spd-modal-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    animation: spdZoom 0.3s ease-out;
    position: relative;
}

@keyframes spdZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.spd-header { 
    display: flex; 
    align-items: baseline; 
    margin-bottom: 30px; 
    padding-bottom: 15px; 
}

.spd-num { 
    font-size: 2.6rem; 
    font-weight: bold; 
    color: #345680; 
    margin-right: 20px; 
    line-height: 1; 
}

.idx-num {
    font-family: 'Raleway', sans-serif;
}

.spd-title { 
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 2rem; 
    font-weight: bold; 
    color: #333; 
    margin: 0; 
}

.spd-description { 
    font-size: 1rem; 
    line-height: 2; 
    color: #333; 
    margin-bottom: 60px; 
}

.spd-list-box { 
    background: #fff; 
    padding: 30px 20px; 
    width: 100%; 
    box-sizing: border-box; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

.spd-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.spd-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.spd-list li { 
    font-size: 1.05rem; 
    font-weight: bold; 
    margin-bottom: 12px; 
    display: flex; 
    align-items: center; 
    color: #333; 
}

.spd-list li i { 
    color: #345680; 
    margin-right: 6px; 
    font-size: 1.5rem; 
}

.spd-gallery-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end; 
    width: 100%;
    box-sizing: border-box;
    min-height: 400px; 
}

.sp-white {
    color: #fff !important;
}

.spd-bg-navy {
    background-color: #828EA6;
    padding: 120px 0;
    width: 100%;
    overflow-x: hidden;
}

.spd-ic-item {
    background: #fff;
    color: #00224e;
    padding: 20px;
    flex: 1;
    text-align: center;
}

.spd-ic-item img {
    height: 80px;
    margin: 10px 0;
}

.spd-ic-item p {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.4;
}

.spd-icons {
    display: flex;
    gap: 20px;
}

.spd-section-title-line {
    display: block;
    width: 130px;          
    height: 1px;          
    background-color: #fff; 
    margin-bottom: 25px;  
}
.spd-map-section {
    width: 100%;
    margin-bottom: 150px;
}

.spd-map-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.spd-map-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 40px;
}

.spd-map-image img {
    width: 100%;
    height: auto;
}

.spd-logi-box {
    color: #FFF;
}

.spd-logi-item {
    margin-bottom: 25px;
}

.spd-logi-item:last-child {
    margin-bottom: 0;
}

.spd-logi-itembox {
    padding-left: 20px;
}

.spd-logi-idx {
    font-weight: bold;
    display: block;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.spd-logi-item p {
    font-size: 1rem;
    line-height: 1.6;
}

.spd-arrow-box {
    text-align: left;
    margin: 30px 0;
    font-size: 1.1rem;
}

.spd-arrow-box i {
    display: block;
}



/* --- 右側追従バナー --- */
.koremone-side-nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh; 
    width: 60px;   
    background-color: rgba(245, 245, 245, 0.3);
    z-index: 998;
    display: flex;
    align-items: center; 
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    top: 50%;
    transform: translateY(-50%);
}

.koremone-side-nav.is-show {
    opacity: 1;
    visibility: visible;
}

.koremone-side-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.koremone-side-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    text-decoration: none;
    color: #fff;
    transition: 0.3s ease;
}

.koremone-side-link.blue { background-color: #3a639b; }
.koremone-side-link.dark { background-color: #2c3442; }

.icon-circle {
    width: 36px;
    height: 36px;
    background-color: transparent; 
    border: 1.5px solid #fff;      
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon-circle i {
    font-size: 14px;
    color: #fff !important;
}
.koremone-side-link.blue .icon-circle i { color: #345680; } 
.koremone-side-link.dark .icon-circle i { color: #293440; }

.koremone-vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright; 
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 1;
    font-weight: 600;
}

.koremone-side-link:hover {
    filter: brightness(1.2);
    width: 70px; 
    margin-left: -10px;
}

/* subhero */
.sub-all-main-copy,
.sub-all-sub-copy {
    opacity: 0;
    filter: blur(12px); 
    transition: opacity 2.0s ease-out, filter 2.0s ease-out;
    will-change: opacity, filter; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sub-all-text-group.is-visible .sub-all-main-copy {
    opacity: 1;
    filter: blur(0);
}

.sub-all-text-group.is-visible .sub-all-sub-copy {
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.8s; 
}

/* topに戻る追従 */
.scroll-top-custom {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: none !important;
    border-radius: 50%;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
    opacity: 0;
    visibility: hidden;
    background: #0a3278cc;
}

.scroll-top-custom.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-custom i {
    font-size: 18px;
    margin-bottom: 4px;
}

.scroll-top-text {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.scroll-top-custom:hover {
    background-color: #fff;
    color: #292549; 
}

/* privacy */
.privacy-hero {
    background: url('../img/privacy/privacy_hero.webp') no-repeat right center / cover;
    color: #fff;
    padding: 250px 0; 
}

.subhero-inner {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.privacy-hero h1 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.1em;
}

.privacy-hero p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px 0 0; 
    letter-spacing: 0.4em;
}

.privacy {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden; 
}

.privacy_image-wrapper,
.company_image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    padding-bottom: 60px;
}

.privacy_img,
.company_img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2; 
}

.privacy_image-wrapper::after {
    content: "";
    position: absolute;
    width: 75%;
    height: 80%;
    top: 43%;
    right: -28%;
    background-image: url(../img/privacy/privacy_sec1.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.company_image-wrapper::after {
    content: "";
    position: absolute;
    width: 75%;
    height: 80%;
    top: 43%;
    right: -28%;
    background-image: url(../img/company/company_sec1.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.privacy_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.privacy-set {
    padding-left: 0 !important;
    font-size: 2.2rem !important;
}

.privacy-set-p  {
    padding-left: 2% !important;
}

.privacy_content {
    padding: 40px 20px;
}

.privacy_list h3 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 25px 0 10px;
    color: #020b35;
}

.privacy_list h4 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 25px 0 10px;
    color: #020b35;
}

.list-container {
    padding: 0 20px;
}

.privacy_list ul {
    list-style: none;
    padding-left: 0;
}

.privacy_list li {
    position: relative;
    padding-left: 1.2em;
    font-size: 1rem;
}

.privacy_list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.privacy_footer {
    margin-top: 70px;
    text-align: right; 
}

.privacy_footer p {
    font-size: 1rem;
}

.privacy-points-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 70px;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 25px;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.privacy_list small {
    display: block;
    font-size: 0.9rem; 
    color: #666;
    margin-top: 5px;
    line-height: 1.6;
}

.privacy_table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
}

.privacy_table-wrapper table {
    width: 100%;
    table-layout: fixed; 
    border-collapse: collapse;
    font-size: 1rem;
    color: #333;
    border: 1px solid #666; 
    background-color: #fff;
    margin-bottom: 20px;
}

.privacy_table-wrapper th,
.privacy_table-wrapper td {
    border: 1px solid #666;
    padding: 10px 20px; 
    line-height: 1.4;
    vertical-align: middle;
    word-wrap: break-word;
    height: 80px; 
}

.last-td {
    padding: 20px !important;
}

.privacy_table-wrapper table thead th {
    width: 33.33%; 
    background-color: #345680;
    color: #fff;
    font-weight: bold;
    text-align: center;
    height: 50px; 
}

.privacy_table-wrapper tbody th {
    width: 33.33%; 
    background-color: #345680;
    color: #fff;
    font-weight: bold;
    text-align: left;
}

.privacy_list small {
    display: block;
    font-size: 0.85rem;
    color: #000;
    margin-top: 10px;
    line-height: 1.4;
}

.privacy_link-hover {
    color: #0071bc; 
    text-decoration: none; 
    position: relative; 
    display: inline-block; 
    transition: color 0.6s ease;
}

.privacy_link-hover::after {
    content: '';
    position: absolute;
    bottom: 0px; 
    left: 0;
    width: 100%;
    height: 1px; 
    background-color: #0071bc; 
    transform: scaleX(0);
    transform-origin: left top;
    transition: transform 0.6s ease;
}

.privacy_link-hover:hover {
    color: #0071bc; 
}

.privacy_link-hover:hover::after {
    transform: scaleX(1);
}

.en-stack-container {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;
    height: 100%;           
}

.en-label-text {
    color: #fff;
    font-size: 14px;        
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 5px;     
    text-align: center;
    letter-spacing: 0.05em;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.rotate-text {
    writing-mode: vertical-rl; 
    transform: rotate(0deg); 
    white-space: nowrap;     
}

/* sitemap */
.sitemap-hero {
    background: url('../img/sitemap/hero.webp') no-repeat right center / cover;
    color: #fff;
    padding: 250px 0; 
}

.sitemap-hero h1 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.1em;
}

.sitemap-hero p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px 0 0; 
    letter-spacing: 0.4em;
}

.sitemap_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.sitemap_content {
    border: 1px solid #ccc;
    width: 100%;
    margin: 0 auto;
    line-height: 1.5;
}  
.sitemap__row {
    display: grid;
    grid-template-columns: 240px 1fr;
}
.sitemap__row:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.sitemap__label, .sitemap__sub-label {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sitemap__label {
    border-right: 1px solid #ccc;
    font-weight: bold;
}

.sitemap__content {
    display: flex;
    flex-direction: column;
}

.sitemap__group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
}
.sitemap__group:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.sitemap__sub-label {
    border-right: 1px solid #ccc;
}

.sitemap__links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sitemap__link-pair {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.sitemap a {
    text-decoration: none;
    color: #0066cc;
    display: inline-block;
}

.sitemap a:hover {
    text-decoration: underline;
    color: #003399; 
}

.sitemap a::after {
    content: ' >';
    font-size: 0.9em;
    color: #999;
}

.is-en, .txt-en {
    font-size: 0.85rem;
    font-weight: normal;
}

/* contact */
.contact-hero {
    background: url('../img/contact/contact_hero.webp') no-repeat right center / cover;
    color: #fff;
    padding: 250px 0; 
}

.contact-hero h1 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.1em;
}

.contact-hero p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px 0 0; 
    letter-spacing: 0.4em;
}

/* company */
.company-hero {
    background: url('../img/company/company_hero.webp') no-repeat right center / cover;
    color: #fff;
    padding: 250px 0; 
}

.company {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden; 
}

.company-hero h1 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.1em;
}

.company-hero p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px 0 0; 
    letter-spacing: 0.4em;
}

.company-section {
    width: 100%;
    background-color: #dde3e3;
}

.company-inner {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 80px 40px;
    box-sizing: border-box;

}

.company-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.company-scroll::-webkit-scrollbar {
    display: none;
}

.company-table {
    width: 100%;
    max-width: 1100px;
    min-width: 800px;
    border-collapse: collapse;
    border: 1px solid #020b35; 
    table-layout: fixed; 
    margin: 0 auto;
}

.company-table th {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    width: 250px;
    background-color: #345680; 
    color: #fff;
    font-weight: normal;
    text-align: left;
    padding: 20px;
    vertical-align: baseline;
    border-bottom: 1px solid #020b35;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.company-table td {
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Meiryo";
    background-color: #fff;
    color: #333;
    padding: 20px;
    vertical-align: top;
    border-bottom: 1px solid #020b35;
    line-height: 1.8;
    font-size: 1rem;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table p {
    margin: 0;
}

.section-label {
    font-weight: bold;
    margin-bottom: 5px !important;
}

.company-map {
    width: 100%;
    background-color: #293440;
}

.company-points-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 70px;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 25px;
    color: #fff;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.company-points-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; 
    height: 1px;
    background-color: #fff;
}

.company-map-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    gap: 60px; 
    width: 100%;
    padding-top: 40px;
}

.company-map-block {
    flex: 0 1 calc(50% - 30px); 
    width: 100%;
}

.company-map-right {
    margin-top: 100px; 
}

.company-map-info {
    margin-bottom: 25px; 
}

.company-map-branch {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 1.3rem; 
    font-weight: normal;
    margin: 0 0 15px 0;
    color: #fff; 
}

.company-map-address {
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Meiryo";
    font-size: 1rem;
    margin-bottom: 0; 
    color: #fff;
}

.company-map-iframe-wrapper {
    position: relative;
    width: 100%;
    /* padding-top: 75%; */
    height: 550px; 
    background: #2c333d;
    overflow: hidden;
}

.company-map-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.company-history {
    width: 100%;
    padding: 100px 0;
    background-color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    overflow: hidden;
}

.company-history-inner {
    margin: 0 auto;
    box-sizing: border-box;
}

.company-history-title {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 100px;
}

.company-history-container {
    position: relative;
    margin: 0 auto;
    padding: 60px 0;
}

.history-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    pointer-events: none;
    z-index: 0;
}

.bg-img-item {
    position: absolute; 
    width: 30vw;
    max-width: 380px;
    min-width: 250px;
    aspect-ratio: 3 / 2;
    transform: none !important;
    opacity: 0; 
    transform: translateY(15px); 
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.bg-img-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.item-95 {
    top: 0; right: 0;
    width: 250px; height: 200px;
}

.item-00 {
    top: 600px;
    left: 0;
    width: 400px;
    height: 250px;
}

.item-00 .bg-watermark {
    position: absolute;
    top: -200px; 
    left: 100px;
    width: 450px;
    height: 390px;
    opacity: 0.1; 
    z-index: -1;
}
.item-00 .bg-img-main {
    position: relative; width: 100%; height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.item-04 {
    top: 1100px;
    right: 0;
    width: 250px;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.item-12 {
    top: 1750px;
    left: 0;
    width: 150px;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.item-24 {
    bottom: 0;
    right: 0;
    width: 400px;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-history-line {
    position: absolute; 
    left: 50%; 
    top: 0; 
    bottom: 0; 
    width: 1px;
    background: rgba(67, 95, 131, 0.2); 
    transform: translateX(-50%);
}

.company-history-line-progress {
    position: absolute; 
    left: 50%; 
    top: 0; 
    width: 1px;
    background: #01164d; 
    transform: translateX(-50%);
    height: 0; 
    transition: height 0.2s linear;
}

.company-history-item {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 auto 150px;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(40px) scale(0.95);
    transition: 
        opacity 0.8s ease, 
        filter 0.8s ease, 
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-history-item.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.company-history-dot {
    position: absolute; 
    left: 50%; 
    top: 50%; 
    width: 30px; 
    height: 30px;
    background: #fff; 
    border: 1px solid #345680; 
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 10; 
    transition: transform 0.4s ease-out;
}

.company-history-dot span { 
    position: absolute; 
    top: 50%; 
    left: 50%;
    width: 28px; 
    height: 28px; 
    background: #fff; 
    border-radius: 50%; 
    transform: translate(-50%, -50%); 
}

.company-history-item.is-visible .company-history-dot { 
    transform: translate(-50%, -50%) scale(1); 
}

.company-history-year { 
    font-family: 'Barlow', 'Noto Sans JP', sans-serif;
    width: 50%; 
    text-align: right;
    padding-right: 50px; 
    font-size: 3.2rem; 
    font-weight: bold; 
    color: #345680; 
    letter-spacing: 0.02em;
}

.company-history-year span { 
    font-size: 2rem;
    margin-left: 5px;
    font-weight: bold;
}

.company-history-content { 
    width: 50%; 
    padding-left: 50px; 
    font-size: 1rem; 
    line-height: 1.8; 
    color: #333; 
}
