@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;600;700&?family=Inter:wght@400;700;900&display=swap');
:root {
--primary: #005CAF;
--accent: #0E8BFB;
--dark: #0a0a0a;
--dark-card: #262626;
--light: #f8f8f8;
--gray: #888888;
--border: rgba(255, 255, 255, 0.1);
--btn-color: #333;
}
        
/*【】製品情報*/
.product_bg { margin:0px auto 0px;	padding:45px 0;	width: 100%;
background-image: linear-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 200px, rgba(0, 91, 171, 0.75) 45%, rgba(0, 91, 171, 0.85) 80%, rgba(229, 229, 229, 0.85) 95%, rgba(229, 229, 229, 1) 100%), url("bg.webp");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

.text-shadow {text-shadow: 0px 0px 4px rgba(255,255,255,0.7);}

.container {
            width:93%;	max-width: 1280px;
            margin: 0 auto;
            padding: 0;
        }
        #view_category { padding: 3rem 0;}

        /* Utility */
        .hidden { display: none; }
        .flex { display: flex; }
        .grid { display: grid; }
        .items-center { align-items: center; }
        .justify-between { justify-content: space-between; }
        
        @media (min-width: 768px) {
            .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
        }
        
        /* Tabs */
        .tab-section {
            background: #002d62;
            
            z-index: 40;
        }
        @media screen and (max-width: 1023px) {
        .tab-section {
            
        }
        }

        .tab-container {
            display: flex;
        }

        .tab-btn {
            background: none;
            border: none;
            color: #bfdbfe;
            padding: 1.25rem 1.5rem;
            font-size: 1.6rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            border-bottom: 4px solid transparent;
        }

        .tab-btn:hover {
            color: white;
        }

        .tab-btn.active {
            color: white;
            border-bottom: 4px solid #facc15;
        }

.scroll-anchor {
    display: block;
    height: 120px;
    margin-top: -120px;
}

@media (max-width: 1023px) {
    .scroll-anchor {
        height: 50px;
        margin-top: -50px;
    }
}

.tab-view {
    display: none;
  opacity: 0;
    transition: opacity 0.5s ease;
    
}

.tab-view.active {
  display: block;
  opacity: 1;
}
/* フェードアニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.is-fading {
  animation: fadeIn 0.5s ease;
}




        .section-wrapper {
            margin-bottom: 4rem;
        }

        .process-Section-wrapper { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 30px;}
        @media screen and (max-width: 768px) {
            .process-Section-wrapper { flex-direction: column;}
        }

        /* Process View Cards */
        .process-group {
            background: var(--light);
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-bottom: 3rem;
            flex: 1;
            display: flex;
            flex-wrap: nowrap;
            flex-direction: column;
            gap: 0;
        }

        .process-header {
            background: #002d62;
            padding: 1.5rem 2rem;
            flex-grow: 1;
            
        }

        .process-header h2 {
            font-size: 2.5rem;
            color: var(--light);
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .process-header p {
            color: var(--light);
            font-size: 1.6rem;
            
        }

        .card-grid {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: auto;
            gap: 24px;
            padding: 2rem;
            
        }

        .category-card {
            
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
            padding: 2rem;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 1rem;
            position: relative;
            overflow: hidden;
            
            
        }

        .category-card:hover {
            transform: translateY(-5px);
            border-color: #00469b;
            box-shadow: 0 20px 25px -5px rgba(0, 70, 155, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .card-img {
            width: 150px;
            height: 150px;
            background: #e2e8f0;
            border-radius: 0.25rem;
            margin-right: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 0.75rem;
            color: #64748b;
            text-align: center;
        }

        .card-content h3 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: #1e293b;
            font-weight: 700;
        }

        .category-card:hover h3 {
            color: #00469b;
        }

        .card-content .eng-title {
            font-size: 1.6rem;
            color: #94a3b8;
            font-style: italic;
            margin-bottom: 1rem;
        }

        .view-link {
            font-size: 1.4rem;
            font-weight: 700;
            color: #00469b;
        }
        

/* 外側ラッパー（矢印用） */
.btn-flow-wrap {
  display: inline-block;
  position: relative;
  overflow: visible; /* 念のため */
}

/* ボタン本体 */
.btn-flow-arrow {
  display: inline-block;
  position: relative;
  overflow: hidden; /* 背景だけ切る */
  padding: 12px 26px 12px 26px;
  border: 2px solid var(--btn-color);
  color: var(--btn-color);
  font-weight: bold;
  text-decoration: none;
}

/* テキスト */
.btn-flow-arrow span {
  position: relative;
  z-index: 2;
  transition: color 0.25s ease;
}

/* 流れる背景 */
.btn-flow-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--btn-color);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s ease;
  z-index: 1;
}

/* 右矢印（外側） */
.btn-flow-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  width: 28px;
  height: 8px;
  border-bottom: 1px solid var(--btn-color);
  border-right: 1px solid var(--btn-color);
  transform: translateY(-50%) skewX(50deg);
  transition: right 0.25s ease, border-color 0.25s ease;
  z-index: 10;
}

/* ホバー時 */
.btn-flow-wrap:hover .btn-flow-arrow span {
  color: #fff;
}

.btn-flow-wrap:hover .btn-flow-arrow::before {
  transform-origin: left center;
  transform: scaleX(1);
}

.btn-flow-wrap:hover::after {
  right: -25px;
  border-color: #333;
}

/* 右矢印リンク */
.arrow-link-right {
  --arrow-color: #00469b;
  display: inline-flex; /* テキストと矢印を横並び */
  align-items: center; 
  color: var(--arrow-color); /* テキスト色 */
  text-decoration: none;
  position: relative; /* 矢印の位置基準 */
}

/* ホバー時も文字色を変えない */
.arrow-link-right:hover {
  color: var(--arrow-color);
}

/* 右矢印 */
.arrow-link-right::after {
  content: '';
  position: absolute;
  left: 100%; /* テキストの右端に配置 */
  width: 30px; 
  height: 10px; 
  border-bottom: 1px solid var(--arrow-color);
  border-right: 1px solid var(--arrow-color);
  transform: skewX(50deg); 
  transition: margin-left 0.3s ease;
}

/* ホバーで矢印を右にスライド */
.category-card:hover .arrow-link-right::after {
  margin-left: 10px;
}




        

        /* Industry View */
        .industry-grid {
            display: grid;
            gap: 2rem;
        }

        .industry-card {
            background: white;
            padding: 2rem;
            border-radius: 0.75rem;
            border: 1px solid #e2e8f0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .industry-card h3 {
            font-size: 1.5rem;
            color: #00469b;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .industry-card h3 span {
            margin-right: 0.5rem;
        }

        .industry-list {
            list-style: none;
        }

        .industry-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem;
            text-decoration: none;
            color: #475569;
            font-weight: 500;
            border-radius: 0.25rem;
            transition: background 0.2s;
        }

        .industry-item:hover {
            background: #eff6ff;
            color: #00469b;
        }

        .arrow {
            color: #3b82f6;
            transition: transform 0.2s;
        }

        .industry-item:hover .arrow {
            transform: translateX(5px);
        }

        
        

.product_category_thumb { margin: 0 auto 3rem; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap:30px; }
@media screen and (max-width: 1023px) {
.product_category_thumb {  grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 640px) {
.product_category_thumb {  grid-template-columns: repeat(1, 1fr); }
}
.product_category_thumb article { box-sizing: border-box; width: 100%;display: grid; grid-template-rows: subgrid; grid-row: span 2;gap: 15px;}

.product_category_thumb article > a { box-shadow: 0px 0px 10px rgba(255,255,255,0.5); padding: 1em; display: flex; flex-direction: column; gap: 15px; box-sizing: border-box; text-decoration: none; width: 100%; height: 100%;}
.product_category_thumb article > a figure { margin: 0 auto; padding: 0; width: 70px; height: 70px; text-align: center; }
.product_category_thumb article > a figure img {  height: 70px; width: auto;}
.product_category_thumb article > a h3 { font-size: 2.4rem; font-weight: bold; text-align: center; flex-grow: 1; }
.product_category_thumb article > a h3 span { display: block; font-size: 1.8rem;font-feature-settings:"palt" 2; }
.product_category_thumb article > a p { font-size: 1.4rem; text-align:justify;text-justify:inter-ideograph; }
.product_category_thumb article > a#card_recycle { background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 100%), url("../../images/top/card_recycling_bg.png"); background-position: center center; background-size: cover;}
.product_category_thumb article > a#card_crushing{ background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 100%), url("../../images/top/card_crushing_bg.png"); background-position: center center; background-size: cover;}
.product_category_thumb article > a#card_powder { background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 100%), url("../../images/top/card_powder_bg.png"); background-position: center center; background-size: cover;}
.product_category_thumb article > a#card_casting { background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 100%), url("../../images/top/card_casting_bg.png"); background-position: center center; background-size: cover;}

.product_category_thumb article > a#card_recycle figure { background-image: url("../../images/top/icon_recycling.png"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px; inset: 0; object-fit: contain;}
.product_category_thumb article > a#card_crushing figure { background-image: url("../../images/top/icon_crushing.png"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px;}
.product_category_thumb article > a#card_powder figure { background-image: url("../../images/top/icon_powder.png"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px;width: 70px; height: 70px;}
.product_category_thumb article > a#card_casting figure { background-image: url("../../images/top/icon_casting.png"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px;width: 70px; height: 70px;}
.product_category_thumb article > a#card_recycle:hover figure { background-image: url("../../images/top/icon_recycling_g.png?231101"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px;}
.product_category_thumb article > a#card_crushing:hover figure { background-image: url("../../images/top/icon_crushing_g.png?231101"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px;}
.product_category_thumb article > a#card_powder:hover figure { background-image: url("../../images/top/icon_powder_g.png?231101"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px;}
.product_category_thumb article > a#card_casting:hover figure { background-image: url("../../images/top/icon_casting_g.png?231101"); background-size: 70px 70px; background-repeat: no-repeat; background-position: center 5px;}
.product_category_thumb article > a:hover { background-color: rgba(255,255,255,0.85);}
.product_category_thumb article > a:hover figure img { opacity: 0;}
.product_category_thumb article > a:hover h3,
.product_category_thumb article > a:hover h3 span,
.product_category_thumb article > a:hover p{ color: rgb(0,91,171);}

.product_news { display: block; width: 100%; height: 200px; overflow-y: scroll; box-sizing: border-box;
/* IE, Edge 対応 */
    -ms-overflow-style: none;
    /* Firefox 対応 */
    scrollbar-width: none;
  }
  /* Chrome, Safari 対応 */
.product_news::-webkit-scrollbar { display:none;}
.product_news dl { margin: 0em auto; font-size: 1.4rem;}
.product_news dl dt { margin: 0 0 .5em; color: #fff;}
.product_news dl dt span { margin: -2px 0 0 5px; padding: 3px 5px 1px; display: inline-block; background-color: #D34200; color: #fff; line-height: 1; font-size: 1.3rem;}
.product_news dl dd { margin: 0 0 1.5em; padding: 0; color: #fff;}
.product_news dl dd a { color: #fff; text-decoration: none;}
.product_news dl dd a:hover { text-decoration: underline;}


/* 1. 流線背景用のCanvas */
        #bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 1;
            pointer-events: none;
        }

        /* 2. 巨大横流れテキスト（マーキー） */
        .marquee-container {
            position: absolute;
            top: 45%;
            left: 0;
            transform: translateY(-50%);
            white-space: nowrap;
            overflow: hidden;
            width: 100vw;
            z-index: 0;
            opacity: 0.25;
            pointer-events: none;
            display: flex;
        }

        .marquee-content {
            display: flex;
            flex-shrink: 0;
        }

        .marquee-text {
            font-size: 22vw;
            font-weight: 900;
            font-family: "Inter", "IBM Plex Sans JP",　sans-serif;
            text-transform: uppercase;
            line-height: 1;
            -webkit-text-stroke: 2px rgba(255,255,255,0.6);
            color: transparent;
            padding-right: 0.1em;
        }

        /* ヒーローセクション */
        .hero_Section {
            position: relative;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding: 10vh 0;
            background-image: linear-gradient(rgba(10,10,10,0.85) 0, rgba(16,16,16,1) 100%);
        }

        .hero-grid {
            display: grid;
            gap: 3rem;
            align-items: center;
            position: relative;
            z-index: 10;
        }

        @media (min-width: 768px) {
            .hero-grid {
                grid-template-columns: 1.2fr 0.8fr;
            }
        }

        .sub-title {
            font-size: 1.8rem;
            font-weight: 700;
            font-family: "Inter", "IBM Plex Sans JP",　sans-serif;
            letter-spacing: 0.5em;
            color: var(--primary);
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            display: block;
        }

        .hero_Section h1 {
            font-size: 4rem;
            font-weight: 900;
            font-family: "Inter", "IBM Plex Sans JP",　sans-serif;
            line-height: 1.1;
            margin-bottom: 2rem;
            color: var(--light);
        }

        @media (min-width: 768px) {
            .hero_Section h1 {
                font-size: 5.5rem;
            }
        }

        .text-outline {
            -webkit-text-stroke: 1px var(--light);
            color: transparent;
        }

        .hero-desc {
            color: var(--light);
            max-width: 32em;
            margin-bottom: 3rem;
            font-size: 1.6rem;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--light);
            text-decoration: none;
            padding: 1rem 2rem;
            border-radius: 4px;
            font-weight: 700;
            font-size: 1.6rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s;
        }

        .btn-primary:hover {
            filter: brightness(1.2);
            transform: scale(1.05);
        }

        .hero-image-wrapper {
            position: relative;
        }

        .hero-image-wrapper img {
            width: 100%;
            border-radius: 8px;
            filter: grayscale(100%);
            transition: filter 0.7s, transform 0.7s;
            box-shadow: 0 30px 60px rgba(0,0,0,0.5);
        }

        .hero-image-wrapper:hover img {
            filter: grayscale(0%);
            transform: scale(1.02);
        }

        .hero-glow {
            position: absolute;
            bottom: -2rem;
            right: -2rem;
            width: 15rem;
            height: 15rem;
            background: rgba(0, 92, 175, 0.2);
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
        }

        /* プロダクトセクション */
        .products_Section {
            padding: 8rem 0;
            background-color: rgba(255, 255, 255, 0.75);
        }

        .section-header {
            margin-bottom: 5rem;
        }

        .section-title {
            font-size: 2.8rem;
            font-weight: 700;
            position: relative;
            display: inline-block;
            padding-bottom: 1rem;
            margin-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 58px;
            height: 4px;
            background: var(--primary);
        }

        .section-subtitle {
            color: var(--gray);
        }

        /* グリッドレイアウト */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* PCは2列 */
            gap: 20px;
            list-style: none;
            padding: 0;
        }

        /* スマホ用（768px以下は1列） */
        @media (max-width: 768px) {
            .product-grid {
                grid-template-columns: 1fr;
            }
        }

        /* リストアイテム（リンク） */
        .product-item {
            display: flex;
            align-items: center; /* 上下中央 */
            background-color: var(--light);
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            padding: 12px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        /* 画像コンテナ */
        .product-image-wrapper {
            position: relative;
            flex-shrink: 0;
            width: 100px;
            height: 66px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 20px;
        }

        .product-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        /* 画像オーバーレイ */
        .product-image-wrapper::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        /* 製品名 */
        .product-name {
            flex-grow: 1;
            font-size: 1.6rem;
            font-weight: 600;
            line-height: 1.4;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 3; /* 3行まで表示 */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* 丸囲み矢印 */
        .arrow-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: 2px solid var(--dark);
            border-radius: 50%;
            margin-left: 15px;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .arrow-icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* ホバーアクション */
        .product-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .product-item:hover .product-image {
            transform: scale(1.1); /* 画像拡大 */
        }

        .product-item:hover .product-image-wrapper::after {
            opacity: 1; /* 黒半透明オーバーレイ */
        }

        .product-item:hover .arrow-icon {
            transform: scale(1.2); /* 矢印の丸囲みを拡大 */
            border-color: var(--dark);
            background-color: var(--dark);
            color: #fff;
        }
        .product-item:hover .arrow-icon svg { stroke: var(--light);}

        .glass-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            padding: 2.5rem;
            border-radius: 12px;
            transition: all 0.4s ease;
        }

        .glass-card:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--primary);
            transform: translateY(-8px);
        }

        .glass-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .glass-card p {
            font-size: 0.875rem;
            color: var(--gray);
            margin-bottom: 1.5rem;
        }



        /* アニメーション用クラス */
        .reveal { opacity: 0; transform: translateY(30px); }
        .text-outline {
            -webkit-text-stroke: 1px var(--light);
            color: transparent;
        }


.webcolumn_Section {
padding: 8rem 0;
background-image: linear-gradient(rgba(171,171,171,0.75) 0, rgba(191,191,191,0.8) 100%);
}

.ticker {
  overflow: hidden;
  width: 100%;
  margin: auto;
}

.track {
  display: flex;
  will-change: transform;
}

.ticker-card {
  flex: 0 0 33.3333%;
  padding: 0 10px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 640px) {
.ticker-card {
  flex: 0 0 45%;
}
}

.ticker-card-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  line-height: 0;
}

.ticker-card-image img {
  width: 100%;
  height: auto;
  transition: transform .4s ease;
  object-fit: contain;
  display: block;
  vertical-align: top;
}

.ticker-card-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
}

.ticker-card-image:hover img {
  transform: scale(1.1);
}

.ticker-card-image:hover .overlay {
  opacity: 1;
}

.ticker-card-text {
  padding-top: 10px;
}
.ticker-card-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px;}

.ticker-card-tag { display: block;}
.ticker-card-tag span {
  font-size: 1.4rem;
  color: var(--light);
  text-align: center;
  line-height: 1;
  background-color: var(--dark-card);
  display: inline-block;
  padding: 5px;
  margin: 0px 10px 10px 0;
}

.ticker-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.ticker-nav button {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #eee;
  cursor: pointer;
}

