@charset "UTF-8";

/* ---------------------------------------------------
    技術・実績
--------------------------------------------------- */

.technology_page .content {
    max-width: 1200px;
}

.technology_lead {
    margin: 0 0 36px;
    color: #444;
    font-size: 1em;
    line-height: 1.9;
}

.technology_lead p {
    margin: 0;
}

.technology_lead p + p {
    margin-top: 8px;
}


/* ---------------------------------------------------
    分岐カード
--------------------------------------------------- */

.technology_cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.technology_card {
    --technology-accent: #65c830;

    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 270px;
    overflow: hidden;

    background-color: #58615b;
    background-image: var(--technology-card-bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    box-shadow: 2px 2px 4px rgba(100, 100, 100, 0.5);

    color: #fff;
    text-decoration: none;
}

.technology_card--achievements {
    --technology-accent: #087fd5;
}

/* 写真の上に文字を読みやすくする暗幕 */
.technology_card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.56) 55%,
        rgba(0, 0, 0, 0.32) 100%
    );

    transition: background 0.3s ease;
}

/* 左側アクセント */
.technology_card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;

    width: 6px;
    background: var(--technology-accent);
}

.technology_card_inner {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: 100%;
    padding: 38px 44px;
}

.technology_card_label {
    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68em;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.12em;
}

.technology_card_title {
    display: block;
    margin: 0 0 14px;

    color: #fff;
    font-size: 1.65em;
    font-weight: bold;
    line-height: 1.35;
    letter-spacing: 0.05em;
}

.technology_card_description {
    display: block;

    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9em;
    line-height: 1.7;
}

.technology_card_more {
    position: relative;
    display: inline-block;

    margin-top: 22px;
    padding-right: 22px;

    color: #fff;
    font-size: 0.78em;
    font-weight: bold;
    line-height: 1.4;
}

.technology_card_more::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 0;

    color: var(--technology-accent);
    font-size: 22px;
    font-weight: bold;
    line-height: 1;

    transform: translateY(-54%);
    transition: transform 0.2s ease;
}


/* ---------------------------------------------------
    hover
--------------------------------------------------- */

@media (any-hover: hover) {

    .technology_card:hover {
        color: #fff;
        text-decoration: none;
    }

    .technology_card:hover::before {
        background: rgba(0, 0, 0, 0.72);
    }

    .technology_card:hover .technology_card_more::after {
        transform: translate(4px, -54%);
    }
}


/* ---------------------------------------------------
    タブレット・スマホ
--------------------------------------------------- */

@media screen and (max-width: 768px) {

    .technology_lead {
        margin-bottom: 28px;
        line-height: 1.7;
    }

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

    .technology_card {
        min-height: 220px;
    }

    .technology_card_inner {
        padding: 30px 28px;
    }

    .technology_card_title {
        margin: 0 0 10px;
        font-size: 1.4em;
    }

    .technology_card_description {
        font-size: 0.85em;
    }

    .technology_card_more {
        margin-top: 18px;
    }
}


/* ---------------------------------------------------
    小さいスマホ
--------------------------------------------------- */

@media screen and (max-width: 480px) {

    .technology_card {
        min-height: 200px;
    }

    .technology_card_inner {
        padding: 26px 22px;
    }

    .technology_card_label {
        font-size: 0.6em;
        letter-spacing: 0.08em;
    }

    .technology_card_title {
        font-size: 1.25em;
    }

    .technology_card_description {
        font-size: 0.8em;
    }
}


/* =========================================================
   技術・実績
   スマホ表示 最終調整
   他ページの本文・カード余白と統一
   ========================================================= */

@media screen and (max-width: 600px) {

    /* -----------------------------------------------------
       リード文
       ----------------------------------------------------- */

    .technology_lead {
        width: 92%;
        max-width: 360px;
        margin: 0 auto 28px;

        color: #444;
        font-size: 14px;
        line-height: 1.8;
        letter-spacing: 0;
        text-align: left;
    }

    .technology_lead p + p {
        margin-top: 6px;
    }


    /* -----------------------------------------------------
       分岐カード全体
       ----------------------------------------------------- */

    .technology_cards {
        width: 92%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;

        grid-template-columns: 1fr;
        gap: 18px;
    }


    /* -----------------------------------------------------
       カード
       ----------------------------------------------------- */

    .technology_card {
        min-height: 200px;
    }

    .technology_card_inner {
        padding: 24px 20px;
    }


    /* 英語ラベル */
    .technology_card_label {
        margin-bottom: 7px;

        font-size: 10px;
        line-height: 1.4;
        letter-spacing: 0.08em;
    }


    /* カードタイトル */
    .technology_card_title {
        margin: 0 0 10px;

        font-size: 20px;
        line-height: 1.4;
        letter-spacing: 0.02em;
    }


    /* カード説明 */
    .technology_card_description {
        font-size: 14px;
        line-height: 1.75;
        letter-spacing: 0;
    }


    /*
       HTML側の <br> による固定改行を
       スマホでは解除して自然な位置で折り返す
    */
    .technology_card_description br {
        display: none;
    }


    /* 詳しく見る */
    .technology_card_more {
        margin-top: 16px;

        font-size: 13px;
        line-height: 1.4;
    }
}


/* 共通HERO：写真36。高さ・文字エリア幅はpage.cssで管理 */
.technology-page-hero {
    position: relative;
    isolation: isolate;
    background: #294c43;
    color: #fff;
}
.technology-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: no-repeat center 65% / cover;
}
.technology-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(9,35,30,.82) 0%, rgba(9,35,30,.64) 36%, rgba(9,35,30,.15) 64%, rgba(9,35,30,.04) 100%);
}
.technology-page-hero .technology-hero-kicker {
    margin: 0 0 15px;
    color: #e2e5d8;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: .06em;
}
.technology-page-hero #technology-hero-title {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
}
.technology-page-hero .technology-hero-description {
    margin: 0;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 21px;
    line-height: 1.9;
    letter-spacing: .04em;
}

.technology_page { border-top: 0; }
#pankuzu.agri-breadcrumb + .technology_page > #technology.technology-body {
    margin-top: 0;
    padding-top: 24px;
}
#technology.technology-body > .content { padding-top: 0; }
@media screen and (max-width: 767px) {
    .technology-hero-bg { background-position: 73% center; }
    .technology-hero-shade {
        background: linear-gradient(90deg, rgba(9,35,30,.78), rgba(9,35,30,.56) 56%, rgba(9,35,30,.16));
    }
    .technology-page-hero #technology-hero-title { font-size: 32px; }
    .technology-page-hero .technology-hero-description { font-size: 18px; }
    #pankuzu.agri-breadcrumb + .technology_page > #technology.technology-body { padding-top: 20px; }
}
