@charset "utf-8";

/* =========================
  concept.html / mobile first
========================= */

.concept-page {
    background: #E2E2E2;
}

/* =========================
  Concept Hero / mobile first
========================= */

.concept-hero {
    position: relative;
    overflow: hidden;
    background: #E2E2E2;
    height: 100svh;
    padding: 120px 20px 10px;
    box-sizing: border-box;
}

.concept-hero-bg-text {
    position: absolute;
    top: 92px;
    left: 0;
    z-index: 1;
    color: rgba(255,255,255,.6);
    font-size: 42px;
    font-weight: 700;
    line-height: .9;
    letter-spacing: .02em;
    pointer-events: none;
}

.concept-hero-line {
    display: none;
}

.concept-hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto auto 1fr;
    align-items: center;
    justify-items: center;
}

.concept-ring-wrap {
    position: relative;
    width: min(85vw, 315px);
    grid-row: 2;
    margin: 0 auto;
}

.concept-ring {
    width: 100%;
    margin: 0 auto;
}

.concept-ring img {
    display: block;
    width: 100%;
    height: auto;
}

/* 共通 .grid-title 使用：配置だけconcept側 */
.concept-grid-title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    grid-template-columns: repeat(2, 42px);
    margin: 0;
}

.concept-lead {
    grid-row: 3;
    margin-top: 38px;
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: .18em;
    text-align: center;
    font-family: var(--font-mincho);
}
/* =========================
  PC
========================= */

@media (min-width: 768px) {

    .sp-only {
        display: none;
    }

    .concept-hero {
        height: 100vh;
        min-height: 620px;
        padding: 120px 40px 70px;
        box-sizing: border-box;
    }

    /* ここは白下線がうまくいっている現状を維持 */
    .concept-hero-bg-text {
        top: 0;
        left: 0;
        width: 100vw;
        font-size: clamp(64px, 7vw, 112px);
        line-height: 1;
        white-space: nowrap;
        text-align: left;
        padding-left: 6vw;
        position: relative;
    }

    .concept-hero-bg-text::after {
        content: "";
        position: absolute;
        left: -50vw;
        bottom: 5px;
        width: 200vw;
        overflow: hidden;
        height: 1px;
        background: rgba(255, 255, 255, 0.55);
    }

    .concept-hero-line {
        display: none;
    }

    .concept-hero-inner {
        height: calc(100vh - 160px);
        min-height: 430px;
        display: grid;
        grid-template-rows: 0.35fr auto auto 0.65fr;
        align-items: center;
        justify-items: center;
    }

    .concept-ring-wrap {
        width: clamp(260px, 28vw, 412px);
        grid-row: 2;
    }

    .concept-ring {
        width: 100%;
        margin: 0 auto;
    }

    .concept-grid-title {
        grid-template-columns: repeat(2, 58px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .concept-lead {
        grid-row: 3;
        margin-top: 1em;
        font-size: 18px;
        line-height: 2;
        letter-spacing: .24em;
    }


}
/* =========================
  Buffing / mobile first
========================= */


.buffing-section {
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: #E2E2E2;
    padding: 72px 20px 76px;
}

.buffing-inner {
    position: relative;
    z-index: 2;
}

.buffing-text-box {
    position: relative;
    z-index: 3;
}

.recruit-title{
    position: relative;
    z-index: 100;
    font-family: var(--font-mincho);
    font-size: 26px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: -1em;
}

.buffing-bg-text {
    position: relative;
    z-index: 1;
    writing-mode: vertical-rl;
    font-size: 80px;
    line-height: .82;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,.55);
    pointer-events: none;
}

.recruit-img {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
}

.recruit-img img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    object-position: 15% 25%;
}

.buffing-text {
    font-size: 14px;
    line-height: 2;
    letter-spacing: .04em;
    position: absolute;
    top: 50px;
    z-index: 100;
}

.buffing-section .more-btn {
    margin-top: 44px;
}

.buffing-mainimage{
    margin: 10% auto 0;
    text-align: center;
    width: 100%;
    max-width: 650px;

}
.buffing-mainimage img{
    width: 100%;
    object-fit: cover;
}
/* =========================================
   Recruit / PC
========================================= */

@media (min-width: 768px) {

    .buffing-section {
        padding: 120px 40px 80px;
        background: #E2E2E2;
    }
    .title-inner{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        align-items: baseline;
    }

    .buffing-inner {
        width: min(82vw, 980px);
        max-width: 980px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .buffing-text-box {
        position: relative;
        align-items: center;
        width: 85%;
        margin: 0 auto;
    }

    .buffing-bg-text {
        position: absolute;
        top: 4%;
        left: 2%;
        z-index: 1;

        writing-mode: horizontal-tb;
        font-size: clamp(120px, 10vw, 220px);
        line-height: .85;
        font-weight: 700;
        color: rgba(255,255,255,.55);
        pointer-events: none;
    }

    .recruit-title {
        grid-column: 1/-1;
        grid-row: 1;
        position: relative;
        z-index: 3;
        padding-left: 0.3em;
        letter-spacing: 0.15em;
        width: auto;
        /* margin: 0 0 36px; */
        font-family: var(--font-mincho);
        font-size: clamp(28px, 4vw, 50px);
        /* line-height: 1.75; */
        font-weight: 700;
        writing-mode: horizontal-tb;
        text-align: center;
    }

    .recruit-visual-row {
        display: contents;
    }

    .recruit-img {
        grid-column: 2;
        grid-row: 1 / 4;
        position: relative;
        z-index: 3;
        width: 100%;
        margin: 0;
    }

    .recruit-img img {
        display: block;
        width: 100%;
        height: 430px;
        max-height: none;
        object-fit: cover;
        object-position: center top;
    }

    .buffing-text {
        grid-column: 2;
        grid-row: 2;
        position: relative;
        z-index: 3;

        /* max-width: 650px; */
        font-size: 16px;
        line-height: 2.2;
        letter-spacing: .04em;
        writing-mode: horizontal-tb;
    }

    .buffing-section .more-btn {
        grid-column: 1;
        grid-row: 3;
        justify-self: end;

        position: relative;
        z-index: 3;
        margin: 54px 0 0;
        transform: none;
    }
}


    .recruit-pc{
        display: none;
    }
    .recruit-sp{
        display: block;
    }

@media (min-width: 768px) {
    .recruit-sp{
        display: none;
    }
    .recruit-pc{
        display: block;
        position: relative;
        grid-row: 1 / -1;
        grid-column: 1 / -1;
    }

    .recruit-pc::after {
        content: "";
        position: absolute;
        left: -50vw;
        bottom: -2px;
        width: 200vw;
        overflow: hidden;
        height: 1px;
        background: rgba(255, 255, 255, 0.55);
    }
}


/* =====================================================
   POLISH SECTIONS
   Mobile First
===================================================== */

.polish {
    position: relative;

    width: 100%;
    padding: 72px 20px 0;

    background: #e2e2e2;

    box-sizing: border-box;
}


/* -----------------------------------------------------
   Inner
----------------------------------------------------- */

.polish-inner {
    display: grid;

    grid-template-columns: minmax(0, 1fr);

    grid-template-areas:
        "title"
        "gallery"
        "thumbs"
        "text";

    width: 100%;
    max-width: none;
    margin: 0 auto;

    min-width: 0;
}


/* -----------------------------------------------------
   Title
----------------------------------------------------- */

.polish-title {
    grid-area: title;

    display: block;

    width: 100%;
    min-width: 0;

    margin: 0 0 28px;

    font-family: var(--font-mincho);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .18em;

    writing-mode: horizontal-tb;
    white-space: normal;
}


/* -----------------------------------------------------
   Main Image
----------------------------------------------------- */

.polish-gallery {
    grid-area: gallery;

    display: block;

    width: 100%;
    min-width: 0;
}


.polish-main-image-wrap {
    position: relative;

    display: block;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    background: #d4d4d4;
}


.polish-main-image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 10;

    object-fit: cover;
    object-position: center;

    opacity: 1;

    transform: scale(1);

    transition:
        opacity .38s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);

    backface-visibility: hidden;

    will-change:
        opacity,
        transform;
}


.polish-main-image.is-changing {
    opacity: 0;

    transform: scale(1.025);
}
.washing {
    padding-top: 0;
}
/* =========================
  超音波洗浄 PC
========================= */

@media (min-width: 768px) {
    .washing {
        padding-bottom: 80px;
    }
}
/* -----------------------------------------------------
   Thumbnails
----------------------------------------------------- */

.polish-thumbnails {
    grid-area: thumbs;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    width: min(74vw, 310px);
    max-width: 100%;

    margin: 18px 0 0;

    justify-self: start;

    min-width: 0;
}


.polish-thumbnail {
    position: relative;

    display: block;

    width: 100%;
    min-width: 0;

    padding: 0;
    overflow: hidden;

    border: 1px solid transparent;
    border-radius: 12px;

    background: #fff;

    cursor: pointer;

    transition:
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease,
        opacity .3s ease;
}


.polish-thumbnail::after {
    content: "";

    position: absolute;
    inset: 0;

    border:
        1px solid rgba(255, 255, 255, .55);

    border-radius: inherit;

    pointer-events: none;
}


.polish-thumbnail img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    opacity: .72;

    transform: scale(1.02);

    transition:
        opacity .35s ease,
        transform .55s cubic-bezier(.22, 1, .36, 1);
}


.polish-thumbnail:is(:hover, :focus-visible) {
    transform: translateY(-3px);

    box-shadow:
        0 12px 26px rgba(0, 0, 0, .12);
}


.polish-thumbnail:is(:hover, :focus-visible) img {
    opacity: 1;

    transform: scale(1.08);
}


.polish-thumbnail.is-active {
    border-color: rgba(20, 20, 20, .78);

    box-shadow:
        0 0 0 2px rgba(255, 255, 255, .72),
        0 12px 26px rgba(0, 0, 0, .1);
}


.polish-thumbnail.is-active img {
    opacity: 1;

    transform: scale(1.05);
}


/* -----------------------------------------------------
   Text
----------------------------------------------------- */

.polish-text {
    grid-area: text;

    display: block;

    width: 100%;
    min-width: 0;

    margin: 32px 0 0;

    font-size: 14px;
    line-height: 2;
    letter-spacing: .04em;

    writing-mode: horizontal-tb;

    white-space: pre-line;
    overflow-wrap: normal;
    word-break: normal;
}






/* =====================================================
   POLISH GALLERY
   Tablet and PC
===================================================== */

@media screen and (min-width: 1024px) {

    .polish-inner {
        display: grid;
        grid-template-columns:
            minmax(300px, 40%)
            minmax(0, 55%);
        grid-template-areas:
            "title gallery"
            "text  gallery"
            "thumbs gallery";
        column-gap: 5%;
        align-items: end;
        width: 85vw;
        max-width: 1400px;
        margin: 0 auto;
    }


    .polish-title {
        grid-area: title;

        margin: 0 0 0 -1em;

        font-size: clamp(32px, 3.2vw, 48px);
    }


    .polish-text {
        grid-area: text;

        margin-top: 42px;

        font-size: 16px;
        line-height: 2;
    }


    .polish-thumbnails {
        grid-area: thumbs;
        display: grid;
        grid-template-columns: repeat(2, 150px);
        gap: 30px;
        width: auto;
        margin-top: 36px;
        justify-self: start;
    }


    .polish-gallery {
        grid-area: gallery;

        display: block;
    }


    .polish-main-image-wrap {
        width: 100%;
    }


    .polish-main-image {
        width: 100%;
        aspect-ratio: 3 / 2;

        object-fit: cover;
    }

}


/* =====================================================
   POLISH GALLERY
   Large PC
===================================================== */

@media screen and (min-width: 1100px) {

    .polish-gallery {
        grid-template-columns:
            minmax(160px, 28%)
            minmax(0, 1fr);

        grid-template-areas:
            "main main"
            "thumbs .";
    }

    .polish-main-image {
        min-height: 390px;
    }

    .polish-thumbnails {
        width: min(22vw, 360px);
    }

}


/* =====================================================
   Reduced Motion
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .polish-main-image,
    .polish-thumbnail,
    .polish-thumbnail img {
        transition: none;
    }

}


