@charset "UTF-8";

/* =========================================================
   YA-MAN LP  product_yaman.css
   ヘッダー/フッターは既存サイトを利用するため
   .products_contents_wrapper 配下のスタイルのみ定義
   ========================================================= */

/* ---------- 変数 ---------- */
.products_contents_wrapper {
    --navy: #1a2244;
    --navy-dark: #131a35;
    --gold: #c8a15a;
    --gold-light: #d9b878;
    --text: #333333;
    --text-light: #666666;
    --bg-gray: #f0ede8;
    --line: #e5e5e0;

    color: var(--text);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 16px;
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;

    padding-top: 10px;
}

.products_contents_wrapper * {
    box-sizing: border-box;
}

.products_contents_wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.products_contents_wrapper h2 {
    position: relative;
    font-size: inherit;
    line-height: inherit;
    padding-top: 0;
    padding-bottom: 0;
    color: inherit;
    font-weight: inherit;
    text-align: inherit;
    border-top: inherit;
    border-bottom: inherit;
    margin-top: inherit;
    margin-bottom: inherit;
}

.single-item .products_contents_wrapper h3 {
    font-size: inherit;
    padding: 0;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
    text-align: inherit;
    border-top: inherit;
    border-bottom: inherit;
    margin-top: inherit;
    margin-bottom: inherit;
}

/* ---------- 共通：見出しラベル ---------- */
.products_contents_wrapper .ym-eyebrow {
    text-align: center;
    color: var(--gold);
    font-size: 1.0rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    margin: 0 0 1.5rem;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.products_contents_wrapper .ym-eyebrow--light {
    color: var(--gold-light);
}

/* =========================================================
   HERO / メインビジュアル
   ========================================================= */
.products_contents_wrapper .ym-hero {
    display: flex;
    width: 100%;
    min-height: 520px;
    max-height: 600px;
}

.products_contents_wrapper .ym-hero__visual {
    width: 52%;
    position: relative;
    overflow: hidden;
    background: #f0ece4;
}

/* 斜めの境界 */
.products_contents_wrapper .ym-hero__visual::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -1px;
    width: 120px;
    height: 102%;
    background: #191b31;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.products_contents_wrapper .ym-hero__swiper {
    width: 100%;
    height: 100%;
}

.products_contents_wrapper .ym-hero__swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products_contents_wrapper .ym-hero__pagination {
    bottom: 20px !important;
}

.products_contents_wrapper .ym-hero__pagination .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
}

.products_contents_wrapper .ym-hero__pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}

.products_contents_wrapper .ym-hero__copy {
    width: 48%;
    background: linear-gradient(to right, #191b31, #0f335f);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5%;
}

.products_contents_wrapper .ym-hero__title {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin: 0 0 3.0rem;
    line-height: 1.5;
}

.products_contents_wrapper .ym-hero__lead {
    font-size: 1.0rem;
    line-height: 2;
    color: #d5d8e4;
    margin: 0 0 2.5rem;
    letter-spacing: 0.15em;
}

.products_contents_wrapper .ym-hero__logo img {
    width: 220px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.products_contents_wrapper .ym-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 0 5rem;
    text-align: center;
}

.products_contents_wrapper .ym-about__title {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 2rem;
}

.products_contents_wrapper .ym-about__text {
    font-size: 1.0rem;
    color: var(--text-light);
    margin: 0 0 3.5rem;
}

/* ギャラリー */
.products_contents_wrapper .ym-about__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 12px; */
    margin-bottom: 4.5rem;
}

.products_contents_wrapper .ym-about__gallery-item {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.products_contents_wrapper .ym-about__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* バッジ */
.products_contents_wrapper .ym-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2.0rem;
    flex-wrap: wrap;
}

.products_contents_wrapper .ym-badge {
    width: 220px;
}

.ym-annotation {
    margin-top: 45px;
    font-size: 0.5rem;
    text-align: left;
    letter-spacing: 0.05em;
    filter: opacity(0.8);
}

/* =========================================================
   CORE TECHNOLOGY
   ========================================================= */
.products_contents_wrapper .ym-tech {
    background: var(--navy-dark);
    color: #ffffff;
    padding: 5.5rem 5%;
}

.products_contents_wrapper .ym-tech__title {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 3.5rem;
}

.products_contents_wrapper .ym-tech__list {
    list-style: none;
    margin: 0 auto 2rem;
    padding: 0;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.products_contents_wrapper .ym-tech__card {
    /* background: rgba(255, 255, 255, 0.04); */
    background-color: #16213e;
    /* border: 1px solid rgba(200, 161, 90, 0.2); */
    box-shadow: 0 0 0 1px #2e3a5c inset;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 5px;
}

.products_contents_wrapper .ym-tech__icon {
    display: inline-flex;
    width: 70px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.products_contents_wrapper .ym-tech__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.products_contents_wrapper .ym-tech__label {
    display: block;
    color: var(--gold-light);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.6rem;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.products_contents_wrapper .ym-tech__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem !important;
}

.products_contents_wrapper .ym-tech__desc {
    font-size: 0.85rem;
    line-height: 1.9;
    color: #c5c8d4;
    text-align: left;
    margin: 0;
}

/* 特許数など */
.products_contents_wrapper .ym-tech__stats {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.products_contents_wrapper .ym-tech__stat {
    border: 1px solid rgba(200, 161, 90, 0.2);
    padding: 1.8rem 1.5rem 1.2rem;
    text-align: center;
}

.products_contents_wrapper .ym-tech__stat-num {
    color: var(--gold-light);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    letter-spacing: 0.05em;
}

.products_contents_wrapper .ym-tech__stat-label {
    font-size: 0.85rem;
    color: #d5d8e4;
    margin: 0 0 1rem;
}

.products_contents_wrapper .ym-tech__stat-note {
    font-size: 0.68rem;
    color: #8a8fa0;
    margin: 0;
}

/* =========================================================
   PRODUCT LINEUP
   ========================================================= */
.products_contents_wrapper .ym-lineup {
    width: 100%;
    background: #fafafa;
    padding: 6rem 0;
}

.products_contents_wrapper .ym-lineup__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.products_contents_wrapper .ym-lineup__head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.products_contents_wrapper .ym-lineup__title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 1rem;
}

.products_contents_wrapper .ym-lineup__lead {
    font-size: 1.0rem;
    color: var(--text-light);
    margin: 0;
}

/* カテゴリ見出し */
.products_contents_wrapper .ym-category {
    margin-bottom: 3.5rem;
}

.products_contents_wrapper .ym-category:last-of-type {
    margin-bottom: 0;
}

.products_contents_wrapper .ym-category__title {
    color: var(--gold) !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding-bottom: 0.8rem !important;
    border-bottom: 1px solid var(--line) !important;
    margin: 0 0 2rem !important;
}

.products_contents_wrapper .ym-category__title span {
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* 商品カード */
.products_contents_wrapper .ym-product {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    border: 1px solid #e8e0d5;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border-radius: 5px;
}

.products_contents_wrapper .ym-product__img {
    flex: 0 0 280px;
}

.products_contents_wrapper .ym-product__body {
    flex: 1;
}

.products_contents_wrapper .ym-product__name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
}

.products_contents_wrapper .ym-product__en {
    color: var(--gold);
    font-size: 0.75rem;
    /* font-weight: 400; */
    margin-left: 0.4rem;
    letter-spacing: 0.05em;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.products_contents_wrapper .ym-product__tag {
    display: inline-block;
    background: #2a2f3d;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.3rem 1.0rem;
    margin-bottom: 1rem;
}

.products_contents_wrapper .ym-product__catch {
    font-weight: 700;
    font-size: 1.0rem;
    margin: 0 0 0.8rem;
}

.products_contents_wrapper .ym-product__desc {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--text-light);
    margin: 0 0 1.2rem;
}

/* スペックタグ */
.products_contents_wrapper .ym-product__specs {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.products_contents_wrapper .ym-product__specs li {
    font-size: 0.7rem;
    color: var(--text-light);
    background: var(--bg-gray);
    /* border: 1px solid var(--line); */
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
}

/* ボタン */
.products_contents_wrapper .ym-product__btn {
    display: inline-block;
    width: min(250px, 100%);
    background: #2a2f3d;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.0rem;
    font-weight: 700;
    padding: 0.75rem 0;
    transition: background 0.25s;
    letter-spacing: 0.1em;
    text-align: center;
    border-radius: 5px;
}

.products_contents_wrapper .ym-product__btn:hover {
    background: var(--gold);
}

/* =========================================================
   レスポンシブ（タブレット）
   ========================================================= */
@media screen and (max-width: 900px) {
    .products_contents_wrapper .ym-hero {
        flex-direction: column;
        max-height: inherit;
    }

    .products_contents_wrapper .ym-hero__visual,
    .products_contents_wrapper .ym-hero__copy {
        width: 100%;
        align-items: center;
    }

    .products_contents_wrapper .ym-hero__visual {
        min-height: 64vw;
    }

    .products_contents_wrapper .ym-hero__visual::after {
        display: none;
    }

    .products_contents_wrapper .ym-hero__lead {
        text-align: center;
    }

    .products_contents_wrapper .ym-tech__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .products_contents_wrapper .ym-about {
        padding: 6rem 5%;
    }

    .products_contents_wrapper .ym-lineup {
        padding: 6rem 5%;
    }

    .products_contents_wrapper .ym-product__img {
        flex: 0 0 220px;
    }
}

/* =========================================================
   レスポンシブ（スマホ）
   ========================================================= */
@media screen and (max-width: 600px) {
    .products_contents_wrapper .ym-hero__visual {
        min-height: 80vw;
        height: 80vw;
    }

    .products_contents_wrapper .ym-hero__copy {
        padding: 4rem 10%;
    }

    .products_contents_wrapper .ym-hero__lead {
        font-size: 0.875rem;
    }

    .products_contents_wrapper .ym-hero__title {
        font-size: 1.7rem;
    }

    .products_contents_wrapper .ym-about {
        padding: 4rem 5% 3.5rem;
    }

    .ym-about__text {
        margin-bottom: 2rem !important;
        text-align: left;
    }

    .products_contents_wrapper .ym-about__text {
        font-size: 0.875rem;
        margin-bottom: 2rem !important;
        text-align: left;
    }

    .products_contents_wrapper .ym-about__title,
    .products_contents_wrapper .ym-tech__title,
    .products_contents_wrapper .ym-lineup__title {
        font-size: 1.4rem;
    }

    .products_contents_wrapper .ym-about__gallery {
        grid-template-columns: 1fr;
        margin-bottom: 2.5rem;
    }

    .products_contents_wrapper .ym-badges {
        gap: 1rem;
    }

    .products_contents_wrapper .ym-badge {
        width: 140px;
        height: 122px;
    }

    .ym-annotation {
        margin: 2.0rem 0 0 0;
    }

    .products_contents_wrapper .ym-tech {
        padding: 4.0rem 5%;
    }

    .products_contents_wrapper .ym-tech__list,
    .products_contents_wrapper .ym-tech__stats {
        grid-template-columns: 1fr;
    }

    .products_contents_wrapper .ym-lineup {
        padding: 4rem 5%;
    }

    .products_contents_wrapper .ym-lineup__lead {
        font-size: 0.875rem;
    }

    /* 商品カードを縦積み */
    .products_contents_wrapper .ym-product {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .products_contents_wrapper .ym-product__img {
        flex: none;
        width: 70%;
        margin: 0 auto;
    }

    .products_contents_wrapper .ym-product__btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}
