@charset "UTF-8";

/* ========================================
   事業内容ページ：スマートフォン用CSS
   1rem = 16px
======================================== */
body {
    background: #f3f2ed;
    color: #0f1111;
    font-family: "Shippori Mincho", serif;
}


/* ========================================
   ページ全体
======================================== */
.business-page {
    width: 100%;
    padding-top: 10rem;
    padding-bottom: 10rem;
}


/* ========================================
   導入部分
======================================== */
.business-intro {
    display: grid;
    place-items: center;
    position: relative;
    width: 65%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
}

.business-intro img {
    display: block;
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 半透明の黒フィルター */
.business-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* 画像の上下左右中央に配置 */
.business-intro-lead {
    grid-area: 1 / 1;
    width: 82%;
    margin: 0;
    color: #fff;
    font-size: 2.4vw;
    line-height: 2;
    text-shadow: 0 0 3px rgba(0, 0, 0, 1);
    z-index: 2;
}


/* ========================================
   事業一覧
======================================== */
.business-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    width: 85%;
    max-width: 120rem;
    margin: 10rem auto 0;
}


/* ========================================
   各事業項目
======================================== */
.business-item {
    display: grid;
    /* grid-template-columns: 2rem minmax(0, 1fr); */
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    /* column-gap: 1rem;
    row-gap: 2rem; */
    align-items: center;
    height: auto;
    box-sizing: border-box;
}


/* 番号 */
.business-item_number {
    grid-column: 1;
    grid-row: 1;
    /* justify-self: center; */
    align-self: center;
    padding-top: 0.5rem;
    font-size: 5vw;
    letter-spacing: 0.08em;

    justify-self: start;
    transform: translateX(18vw);
}

.business-item_image {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 0.5 / 1;
    overflow: hidden;
}

.business-item_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* 事業説明 */
.business-item_text {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    align-self: center;
    justify-self: center;
    margin-top: 3vw;
    padding-left: 0;
}

.business-item_text h2 {
    margin-bottom: 2vw;
    font-size: 5.5vw;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.business-item_text .lead {
    margin-bottom: 2vw;
    font-size: 4vw;
    line-height: 2;
    letter-spacing: 0.04em;
}

.business-item_text > p:last-child {
    font-size: 3.5vw;
    line-height: 2.1;
    letter-spacing: 0.03em;
}
