@charset "utf-8";

/* ==============================
  セクション見出し共通
============================== */
section {
    padding: 7.7% 0;
}
.top-section-head {
    margin: 0 auto 1.92%;
    padding: 0;
    text-align: left;
    width: 59.37%; /* 1140/1920 */
    max-width: 1140px;
}

/* 見出し＋英語サブタイトル 同行 */
.top-section-head-inner {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.25%;
}

.top-section-head-inner .top-section-heading {
    font-size: min(4.8rem, 2.5vw);
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1;
    color: #000;
    white-space: nowrap;
}

.top-section-head-inner .top-section-subheading {
    font-size: min(2.4rem, 1.25vw);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #8d8d8d;
    line-height: 1;
    white-space: nowrap;
    margin-left: 1.125em;
}

/* 3本線の装飾 */
.top-section-deco-line {
    width: 26.31%;   /* 300.5/1142 */
    max-width: 300px;
    margin-left: -13.44%;  /* 見出し左端から左に延ばす (20.37% - 12.4%) */
}

/* ものづくりイントロ内のwhite版 */
.top-section-head--white .top-section-head-inner .top-section-heading,
.top-section-head--white .top-section-head-inner .top-section-subheading {
    color: #fff;
}

@media print, screen and (max-width: 768px) {
    section {
        padding: 15vw 0;
    }

    .top-section-head {
        width: 100vw;
        padding: 0;
        margin-bottom: 7.9vw;
    }
    .top-section-head-inner {
        flex-wrap: wrap;
        padding-left: 6.6vw;
        margin-bottom: 1.4vw;
    }
    .top-section-head-inner .top-section-heading {
        font-size: 6.6vw;
        letter-spacing: 0.15em;
    }
    .top-section-head-inner .top-section-subheading {
        font-size: 3.7vw;
        letter-spacing: 0.15em;
        margin-left: 0.72em;
    }
    .top-section-deco-line {
        width: 32.74vw; /*122.81/375*/
        margin-left: 0;
    }
}

/* ==============================
  MV（メインビジュアル）
============================== */
#mv {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.mv-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mv-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: mvFade 20s infinite;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out; /* フェードの時間 */
    z-index: 1;
}

.mv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* .mv-slide-1 { animation-delay:   0s; }
.mv-slide-2 { animation-delay: -15s; }
.mv-slide-3 { animation-delay: -10s; }
.mv-slide-4 { animation-delay:  -5s; }

@keyframes mvFade {
    0%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { opacity: 0; }
    95%  { opacity: 0; }
    100% { opacity: 1; }
} */

.mv-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2; /* 最前面へ */
}

/* 上部グラデーションオーバーレイ（mix-blend-multiply） */
.mv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 192px;   /* 192/1075 ≈ 17.86% */
    z-index: 1;
    background: linear-gradient(to bottom, #c4c4cb, rgba(217, 217, 217, 0));
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* 縦のデザイン要素（左） */
.mv-design {
    position: absolute;
    z-index: 2;
    left: 4.95%;    /* 95/1920 */
    top: 36.84%;    /* 396/1075 */
    width: 34px;
    height: 55.16%; /* 593/1075 */
    pointer-events: none;
}

.mv-design img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ブランドマーク（右下） */
.mv-brand {
    position: absolute;
    z-index: 2;
    right: 6.03%;   /* (1920-1281-523)/1920 */
    bottom: 9.4%;   /* (1075-895-79)/1075 */
    width: auto;
    pointer-events: none;
}

.mv-brand img {
    width: auto;
    max-height: 80px;
}

@media print, screen and (max-width: 768px) {
    #mv {
        height: 100svh;
    }
    .mv-overlay {
        display: none;
    }
    .mv-design {
        left: 5.6vw;
        top: 17.5svh;
        width: 4.61vw;
        height: 37.23svh; /*302/811*/
    }
    .mv-brand {
        right: 8.21vw;
        bottom: 5.7svh;
        width: 10.9vw;
    }
    .mv-slide-2 .mv-design {
        left: auto;
        top: auto;
        right: 6.5vw;
        bottom: 2.7svh;
    }
    .mv-slide-2 .mv-brand {
        right: auto;
        bottom: auto;
        left: 6.6vw;
        top: 17.5svh;
    }
    .mv-slide-3 .mv-design {
        top: auto;
        bottom: 2.7svh;
    }
    .mv-slide-3 .mv-brand {
        right: 6.6vw;
        bottom: auto;
        top: 17.5svh;
    }
    .mv-brand img {
        width: 100%;
        max-height: 100%;
    }
}

/* ==============================
  お知らせ
============================== */
#news {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    padding-bottom: 8.2%;
}

/* 背景パターン */
#news .top-news-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 63.8%;   /* 1225/1920 */
    aspect-ratio: 245 / 93;
    z-index: 0;
    pointer-events: none;
}

#news .top-news-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#news .top-section-head {
    position: relative;
    z-index: 1;
}

.news-list {
    display: flex;
    justify-content: flex-start;
    gap: 2.8%;
    width: 59.37%; /* 1140/1920 */
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.news-item {
    flex: 1;
    max-width: 360px;
}

.news-item-link {
    display: block;
    text-decoration: none;
    color: #000;
}

.news-item-link:hover .news-image img {
    transform: scale(1.05);
}

.news-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: transform 0.4s ease;
    /* vertical-align: bottom; */
    position: absolute;
    top: 0;
    left: 0;
}

.news-body {
    padding-top: 1.04em;
}

.news-date {
    font-size: min(1.6rem, 0.83vw);
    letter-spacing: 0.05em;
    color: #000;
}

.news-title {
    font-size: min(2rem, 1.04vw);
    letter-spacing: 0.1em;
    line-height: 1.8;
    color: #000;
}

/* お知らせ一覧ボタン */
.news-more {
    text-align: center;
    margin-top: 4%;
    position: relative;
    z-index: 1;
}

.news-more-link {
    display: inline-flex;
    align-items: center;
    gap: 2em;
    font-size: min(2.4rem, 1.25vw);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

/* スライダー用wrapper（PCではそのまま） */
.news-slider {
    display: contents;
}
.news-dots {
    display: none;
}

@media print, screen and (max-width: 768px) {
    #news {
        padding-bottom: 10vw;
    }
    #news .top-news-bg {
        width: 100vw;
        aspect-ratio: 125 / 71;
    }
    .news-list {
        display: block;
        padding: 0;
        overflow: hidden;
        width: max-content;
        margin-right: 0;
        max-width: max-content;
    }
    .news-slider {
        display: flex;
        padding-left: 7.2vw; /* 27/375 */
        transition: transform 0.5s ease;
        will-change: transform;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
        touch-action: pan-y;
    }
    .news-slider.is-dragging {
        cursor: grabbing;
        transition: none;
    }
    .news-item {
        width: 69.7vw; /* 261.65/375 */
        max-width: 69.7vw;
        margin-right: 6.2vw; /* 23.25/375 */
        flex-shrink: 0;
    }
    .news-item:last-of-type {
        margin-right: 0;
    }
    .news-item img {
        -webkit-user-drag: none;
    }
    .news-image {
        aspect-ratio: 3 / 2;
    }
    .news-date {
        font-size: 3.2vw;
    }
    .news-title {
        font-size: 3.7vw;
        letter-spacing: 0.15em;
        line-height: 2.5;
    }
    .news-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5.3vw; /* 20/375 */
        margin-top: 7.5vw; /* 28/375 */
        margin-left: 39.4vw;
        width: 21.3vw;
    }
    .news-dot {
        display: block;
        width: 2.13vw; /* 8/375 */
        height: 2.13vw;
        border-radius: 50%;
        background-color: #D9D9D9;
        transition: background-color 0.3s;
        cursor: pointer;
    }
    .news-dot.active {
        background-color: #000;
    }
    .news-more {
        margin-top: 10.17vw;
    }


    .news-more-link {
        font-size: 4.2vw;
        letter-spacing: 0.25em;
    }
}

/* ==============================
  商品のご紹介
============================== */
#products {
    position: relative;
    overflow: hidden;
    background-color: rgba(238, 238, 238, 0.87);
    padding-bottom: 6.5%;
}
/* 背景パターン */
#products .top-products-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

#products .top-products-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3×3 グリッド（幅: 3×360px = 1080px → 56.25%） */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 59.37%; /* 1140/1920 */
    max-width: 1140px;
    margin: 0 auto;
}

.product-item {
    width: 31.57%; /*360/1140*/
    max-width: 360px;
}
.product-item:nth-child(n + 4) {
    margin-top: 2.1%;
}

.product-item a {
    display: block;
    text-decoration: none;
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
    transition: transform 0.4s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.04);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(187, 187, 187, 1);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.product-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.8rem, 1.46vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

/* CTA ボタン群 */
.products-cta {
    width: 59.3%;
    max-width: 1139px;
    margin: 0 auto;
    padding-top: 2.9%; /* 56/1920 */
}

.products-cta-btn-wrap {
    display: flex;
    justify-content: space-between;
    gap: 3.9%;
    margin-bottom: 4.9%; /* 56/1139 */
}

.products-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 3.08em;
    box-sizing: border-box;
    border: 1px solid #000;
    text-decoration: none;
    padding: 0 1.5em 0 2em;
    transition: background-color 0.3s;
    font-size: min(2.4rem, 1.25vw);
    gap: 2em;
}

.products-cta-btn span:first-child {
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #000;
    transition: color 0.3s;
}

/* オンラインショップバナー */
.products-shop-banner {
    position: relative;
    width: 100%;
    height: 261px;
    overflow: hidden;
}

.products-shop-banner-bg {
    position: absolute;
    inset: 0;
}

.products-shop-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.products-shop-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(187, 187, 187, 0.7);
    mix-blend-mode: multiply;
}

.products-shop-banner-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    text-decoration: none;
    font-size: min(3.2rem, 1.67vw);
}

.products-shop-banner-link span:first-child {
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #fff;
}

.products-shop-banner-link .more-arrow {
    width: 1.625em;
    height: 1.812em;
}
.products-shop-banner-link .more-arrow::before {
    width: 2.343em;
}

@media print, screen and (max-width: 768px) {
    #products {
        padding-bottom: 19.86vw;
    }
    #products .sp.top-products-bg {
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
    }

    .products-grid {
        width: 84.53vw;
        max-width: 84.53vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .product-item {
        width: 40.57vw;
    }
    .product-item:nth-of-type(even) {
        margin-left: 3.3vw;
    }
    .product-item:nth-child(n + 4),
    .product-item:nth-child(n + 3) {
        margin-top: 3.4vw;
    }

    .product-image {
        aspect-ratio: 152 / 101;
    }
    .product-label {
        font-size: 4.2vw;
        letter-spacing: 0.25em;
    }
    .products-cta {
        width: 100vw;
        padding-top: 10.54vw;
    }
    .products-cta-btn-wrap {
        flex-direction: column;
        margin-bottom: 13.2vw;
    }
    .products-cta-btn {
        position: relative;
        width: 84.5vw;
        height: 11.4vw;
        margin: 0 auto;
    }
    .products-cta-btn + .products-cta-btn {
        margin-top: 5.3vw;
    }
    .products-cta-btn span:first-child {
        font-size: 4.2vw;
        letter-spacing: 0.25em;
    }

    .products-cta-btn .more-arrow {
        position: absolute;
        right: 4vw;
    }

    .products-shop-banner {
        height: 22.9vw;
    }
    .products-shop-banner-link span:first-child {
        font-size: 4.2vw;
        letter-spacing: 0.25em;
    }
}

/* ==============================
  カメヤのものづくり
============================== */
#monozukuri {
    background-color: #fff;
    padding: 0;
}

/* イントロ */
.monozukuri-intro {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    aspect-ratio: 1920 / 961;
}

.monozukuri-intro-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.monozukuri-intro-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.monozukuri-intro-overlay {
    position: absolute;
    inset: 0;
    background-color: #909090;
    mix-blend-mode: multiply;
}

.monozukuri-intro-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.monozukuri-intro-text {
    font-size: min(2.4rem, 1.25vw);
    letter-spacing: 0.1em;
    line-height: 1.92;
    color: #fff;
    text-align: justify;
    text-justify: inter-ideograph;
    width: 60.7%;
    box-sizing: border-box;
    max-width: 1166px;
    margin: 0 auto;
}

/* キャッチコピー */
.monozukuri-quote {
    position: relative;
    text-align: center;
    padding: 2.5% 0;
}

.monozukuri-quote-text {
    font-size: clamp(2.4rem, 2.08vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    line-height: 1.6;
    color: #000;
}

/* 背景パターン */
#monozukuri .monozukuri-grow-bg,
#monozukuri .monozukuri-make-bg,
#monozukuri .monozukuri-deliver-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    aspect-ratio: 480 / 157;
    z-index: 0;
    pointer-events: none;
}

#monozukuri .monozukuri-grow-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: -10.7%; /* 206/1920 */
}
#monozukuri .monozukuri-make-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: -0.8%; /* 206/1920 */
}
#monozukuri .monozukuri-deliver-bg {
    width: 43.64%; /* 838/1920  */
    aspect-ratio: 419 / 207;
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
}
#monozukuri .monozukuri-deliver-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grow / Make / Deliver 各ブロック共通 */
.monozukuri-block {
    position: relative;
    /* min-height: 916px;
    display: flex; */
    overflow: hidden;
}
#monozukuri-deliver.monozukuri-block {
    padding-bottom: 11.5%; /* 222/1920*/
}

.monozukuri-block-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.monozukuri-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
#monozukuri-make .monozukuri-block-image {
    width: 50%;
    max-width: 960px;
    aspect-ratio: 4 / 3;
    margin: 9.8% 0 0 auto;
}
#monozukuri-deliver .monozukuri-block-image {
    width: 85.9%;
    max-width: 1650px;
    aspect-ratio: 3 / 2;
}

/* 縦組みの大きな英語ラベル（画像上にオーバーレイ） */
.monozukuri-block-label {
    position: absolute;
    z-index: 3;
    font-size: min(16rem, 8.33vw);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #8D8D8D;
    line-height: 1;
    writing-mode: vertical-rl;
    user-select: none;
    pointer-events: none;
}

/* Grow / Deliver：ラベルは右側 */
#monozukuri-grow .monozukuri-block-label {
    top: 0.3em ;
    right: 3.375%;
}
#monozukuri-deliver .monozukuri-block-label {
    top: auto;
    right: 3.375%;
    bottom: 0.43em;
}

/* Make：ラベルは左側 */
#monozukuri-make .monozukuri-block-label {
    top: 0.65em;
    left: 4.78%;
}

/* コンテンツ（白い半透明ボックス） */
.monozukuri-block-content {
    position: relative;
    z-index: 2;
    width: 41.25%;
    max-width: 792px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 9.68% 8.75%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#monozukuri-make .monozukuri-block-content {
    background-color: transparent;
    width: 25.62%;
    max-width: 492px;
    padding: 0;
}
#monozukuri-deliver .monozukuri-block-content {
    padding-right: 5%;
}

/* Grow / Deliver：コンテンツを右に */
.monozukuri-block--right {
    justify-content: flex-end;
}

.monozukuri-block--right .monozukuri-block-content {
    margin: 5.05% 4.375% 5.05% auto;
}

/* Make：コンテンツを左に */
.monozukuri-block--left {
    justify-content: flex-start;
}

.monozukuri-block--left .monozukuri-block-content {
    margin: 14.4% 0 14.4% 14.1%;
}

.monozukuri-block-title {
    font-size: min(4rem, 2.08vw);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #000;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

.monozukuri-block-sub {
    font-size: min(2.4rem, 1.25vw);
    letter-spacing: 0.08em;
    color: #8d8d8d;
    line-height: 1;
    margin-bottom: 1.8em;
}

.monozukuri-block-text {
    font-size: min(2.4rem, 1.25vw);
    letter-spacing: 0.1em;
    line-height: 1.92;
    color: #000;
    text-align: justify;
    text-justify: inter-ideograph;
    margin-bottom: 3.58em;
}

#monozukuri-make .monozukuri-block-content .monozukuri-block-text {
    width: 92.6%;
}
#monozukuri-deliver .monozukuri-block-content .monozukuri-block-text {
    width: 86.3%;
}

/* もっと見る */
.monozukuri-more {
    display: inline-flex;
    align-items: center;
    gap: 2em;
    font-size: clamp(2.4rem, 1.25vw);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #000;
    text-decoration: none;
    align-self: flex-start;
}

@media print, screen and (max-width: 768px) {
    .monozukuri-intro {
        min-height: auto;
        align-items: flex-start;
        aspect-ratio: unset;
    }
    .monozukuri-intro-content {
        width: 100%;
        padding: 0 0 12.2vw;
    }
    .monozukuri-intro-content .top-section-head {
        padding-top: 15vw;
        margin-bottom: 6.2vw;
    }

    .monozukuri-intro-content .top-section-head-inner {
        margin-bottom: 0;
    }
    .monozukuri-intro-content .top-section-head .top-section-subheading {
        margin-top: 0.98vw;
        margin-left: 0;
    }
    .monozukuri-intro-text {
        width: 84.5vw; /*317/375*/
        max-width: none;
        font-size: 4.2vw;
        letter-spacing: 0.1em;
        line-height: 2.06;
    }
    .monozukuri-quote {
        padding: 14vw 0;
    }
    #monozukuri .monozukuri-grow-bg,
    #monozukuri .monozukuri-make-bg,
    #monozukuri .monozukuri-deliver-bg {
        display: none;
    }
    .monozukuri-quote-text {
        font-size: 5.8vw;
        letter-spacing: 0.1em;
        line-height: 1.6;
    }
    .monozukuri-block {
        position: relative;
        flex-direction: column;
        min-height: auto;
    }

    #monozukuri-deliver.monozukuri-block {
        padding-bottom: 0;
    }

    #monozukuri-grow .sp.monozukuri-grow-bg,
    #monozukuri-make .sp.monozukuri-make-bg,
    #monozukuri-deliver .sp.monozukuri-deliver-bg {
        display: block;
        width: 100%;
        aspect-ratio: unset;
    }
    #monozukuri .monozukuri-grow-bg img {
        margin-top: 0;
    }

    .monozukuri-block-image,
    #monozukuri-make .monozukuri-block-image,
    #monozukuri-deliver .monozukuri-block-image {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-top: 0;
    }
    .monozukuri-block-label {
        display: block;
        font-size: 26.6vw;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.25);
    }

    #monozukuri-grow .monozukuri-block-label {
        top: 0.9em;
        right: auto;
        left: 6.9vw;
    }
    #monozukuri-deliver .monozukuri-block-label {
        top: 0.77em;
        right: auto;
        bottom: auto;
        left: 6.9vw;
        font-size: 21vw;
    }

    /* Make：ラベルは左側 */
    #monozukuri-make .monozukuri-block-label {
        left: auto;
        right: 8vw;
        top: -0.05em
    }

    .monozukuri-block-content,
    #monozukuri-make .monozukuri-block-content,
    #monozukuri-deliver .monozukuri-block-content {
        position: relative;
        width: 100%;
        max-width: none;
        padding: 16vw 7.7vw 14vw;
        background-color: rgba(255, 255, 255, 0.87);
    }
    .monozukuri-block-title {
        font-size: 6.6vw;
        letter-spacing: 0.15em;
    }
    .monozukuri-block-sub {
        font-size: 3.7vw;
        margin-bottom: 12vw;
    }
    .monozukuri-block-text,
    #monozukuri-make .monozukuri-block-content .monozukuri-block-text,
    #monozukuri-deliver .monozukuri-block-content .monozukuri-block-text {
        width: 100%;
        font-size: 4.2vw;
        letter-spacing: 0.1em;
        line-height: 2.06;
        margin-bottom: 15.2vw;
    }
    .monozukuri-block--right .monozukuri-block-content,
    .monozukuri-block--left .monozukuri-block-content {
        margin: 0;
    }
    .monozukuri-more {
        display: flex;
        justify-content: center;
        width: 100%;
        font-size: 4.2vw;
        letter-spacing: 0.25em;
    }
}

/* ==============================
  会社概要
============================== */
#company {
    background-color: #fff;
    padding: 6.6% 0 10.2%;
}

#company .top-section-head {
    margin: 0 auto 1.92%;
    width: 68.2%; /* 1310/1920 */
    max-width: 1310px;
}

/* 3枚のリンクカード */
.company-links {
    display: flex;
    justify-content: space-between;
    width: 68.2%; /* 1310/1920 */
    max-width: 1310px;
    margin: 0 auto;
}

.company-link-item {
    width: 32%;
    max-width: 420px;
    display: block;
    text-decoration: none;
    color: #000;
    position: relative;
    overflow: hidden;
}

.company-link-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.company-link-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
    transition: transform 0.4s ease;
}

.company-link-item:hover .company-link-image img {
    transform: scale(1.05);
}

/* ラベル（画像中央に重ねる） */
.company-link-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: min(2.4rem, 1.25vw);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #fff;
    pointer-events: none;
}

@media print, screen and (max-width: 768px) {
    #company {
        background-color: rgba(238, 238, 238, 0.87);
        padding-top: 16vw;
        padding-bottom: 0;
    }

    #company .top-section-head {
        margin: 0 auto 5.6vw;
        width: 100%;
    }
    #company .top-section-head-inner {
        flex-direction: column;
        margin-bottom: 4.7vw;
    }
    #company .top-section-head-inner .top-section-subheading {
        margin-top: 0.98vw;
        margin-left: 0;
    }

    .company-links {
        flex-direction: column;
        padding: 0;
        width: 100%;
    }
    .company-link-item {
        max-width: 100%;
        width: 100%;
    }
    .company-link-image {
        aspect-ratio: 2 / 1;
    }
    .company-link-label {
        font-size: 5.7vw;
        font-weight: 700;
        letter-spacing: 0.25em;
    }
}

/* ==============================
  アニメーション
============================== */
/* アニメーション前（透明＆30px下に配置） */
.js-fadeups {
    opacity: 0;
    transform: translateY(30px);
    /* 0.8秒かけて、ふわっと変化させる */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  /* アニメーション後（JSでこのクラスが付与されたら元の位置・濃さに戻る） */
  .js-fadeups.is-shown {
    opacity: 1;
    transform: translateY(0);
  }

  /* -------------------------------------
 * グループでフェードアップさせる設定
 * ------------------------------------- */
/* まず、親の中にある .fade-item を透明＆下にずらしておく */
.js-fade-group .fade-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 親ブロックに is-shown が付いたら、中の .fade-item を表示！ */
.js-fade-group.is-shown .fade-item {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------
 * ワンテンポ遅らせる魔法のクラス
 * ------------------------------------- */
/* is-shown が付いた要素の中にある u-delay は、0.8秒遅れてスタートする */
.js-fade-group.is-shown .u-delay {
    transition-delay: 0.8s;
}
