
@charset "UTF-8";

/* ========================================
   GRAN 会社概要ページ専用CSS
======================================== */


/* ========================================
   会社概要ページ上部
======================================== */

.gran-contact-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 380px;
    padding: 60px 8%;
    box-sizing: border-box;

    background-color: #f5f7f9;
    background-image: url('/application/files/6017/9313/9988/grantop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    text-align: left;
    color: #243b53;
}

.gran-contact-hero__inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.gran-contact-hero__en {
    margin: 0 0 12px;
    color: #28649a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 5px;
}

.gran-contact-hero__title {
    margin: 0 0 20px;
    color: #243b53;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.gran-contact-hero__text {
    margin: 0;
    color: #243b53;
    font-size: 15px;
    line-height: 2;
}

.gran-contact-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 30px;
    color: #243b53;
    font-size: 12px;
}

.gran-contact-hero__breadcrumb a {
    color: #28649a;
    text-decoration: none;
}

.gran-contact-hero__breadcrumb a:hover {
    text-decoration: underline;
}


/* ========================================
   会社概要 全体
======================================== */

.gran-about {
    --gran-ink: #293039;
    --gran-accent: #b9b0a5;
    --gran-line: #e5e2de;

    width: 100%;
    box-sizing: border-box;
    overflow: hidden;

    color: var(--gran-ink);
    font-size: 14px;
    line-height: 1.95;
    letter-spacing: 0.045em;
}

.gran-about *,
.gran-about *::before,
.gran-about *::after {
    box-sizing: border-box;
}

.gran-about__inner {
    width: min(calc(100% - 64px), 1120px);
    margin: 0 auto;
    padding: 58px 0 48px;
}


/* ========================================
   01〜03 共通レイアウト
======================================== */

.gran-about__section {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(30px, 5vw, 64px);
    margin: 0 0 58px;
}

.gran-about__services {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.gran-about__values {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.gran-about__body {
    min-width: 0;
}

.gran-about__label {
    margin: 0 0 5px;
    color: #8c877f;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.2em;
}

.gran-about__heading {
    margin: 0 0 18px;
    color: var(--gran-ink);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

.gran-about__body > p:not(.gran-about__label) {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.gran-about__body > p:last-child {
    margin-bottom: 0;
}

.gran-about__subheading {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.07em;
}


/* ========================================
   01〜04 写真共通
======================================== */

.gran-about__visual,
.gran-about__company-photo {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    background: #f2f0ed;
}

.gran-about__visual img,
.gran-about__company-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gran-about__visual-number {
    position: absolute;
    right: 15px;
    bottom: 8px;

    color: #fff;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}


/* ========================================
   02 事業内容
======================================== */

.gran-about__description {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.gran-about__service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--gran-line);
}

.gran-about__service-list li {
    position: relative;
    margin: 0;
    padding: 11px 0 11px 18px;
    border-bottom: 1px solid var(--gran-line);
    font-size: 13px;
    line-height: 1.8;
}

.gran-about__service-list li::before {
    position: absolute;
    top: 0;
    left: 2px;
    color: var(--gran-accent);
    content: "—";
}


/* ========================================
   04 会社情報
======================================== */

.gran-about__company {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas:
        "heading photo"
        "table photo";
    align-items: start;
    column-gap: clamp(30px, 5vw, 64px);
    row-gap: 0;
    margin: 0;
}

.gran-about__company-heading {
    grid-area: heading;
    min-width: 0;
}

.gran-about__company-heading .gran-about__heading {
    margin-bottom: 18px;
}

.gran-about__company-layout {
    display: contents;
}

.gran-about__table {
    grid-area: table;
    width: 100%;
    min-width: 0;
    margin: 0;
    border-top: 1px solid var(--gran-line);
}

.gran-about__row {
    display: grid;
    grid-template-columns: minmax(82px, 0.32fr) minmax(0, 0.68fr);
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gran-line);
}

.gran-about__row dt {
    margin: 0;
    color: #77736d;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.9;
}

.gran-about__row dd {
    min-width: 0;
    margin: 0;
    color: var(--gran-ink);
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.gran-about__company-photo {
    grid-area: photo;
    align-self: center;
}


/* ========================================
   タブレット・スマートフォン
======================================== */

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

    /* 会社概要本文 */
    .gran-about__inner {
        width: min(calc(100% - 40px), 560px);
        padding: 38px 0 36px;
    }

    /* 01〜03 */
    .gran-about__section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-bottom: 44px;
    }

    .gran-about__section > .gran-about__visual {
        order: 1;
        width: 100%;
        aspect-ratio: 1.55 / 1;
    }

    .gran-about__section > .gran-about__body {
        order: 2;
        width: 100%;
    }

    .gran-about__heading {
        margin-bottom: 14px;
        font-size: 21px;
    }

    .gran-about__body > p:not(.gran-about__label) {
        font-size: 13px;
        line-height: 2;
    }

    .gran-about__subheading {
        margin-bottom: 14px;
        font-size: 17px;
    }

    .gran-about__visual-number {
        right: 12px;
        bottom: 7px;
        font-size: 30px;
    }

    .gran-about__description {
        font-size: 13px;
    }

    .gran-about__service-list li {
        font-size: 13px;
    }

    /* 04 会社情報 */
    .gran-about__company {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin: 0;
    }

    .gran-about__company-photo {
        order: 1;
        width: 100%;
        aspect-ratio: 1.55 / 1;
    }

    .gran-about__company-heading {
        order: 2;
        width: 100%;
    }

    .gran-about__company-heading .gran-about__heading {
        margin-bottom: 0;
        font-size: 21px;
    }

    .gran-about__table {
        order: 3;
        width: 100%;
    }

    .gran-about__row {
        grid-template-columns: minmax(78px, 0.32fr) minmax(0, 0.68fr);
        gap: 10px;
        padding: 12px 0;
    }

    .gran-about__row dt {
        font-size: 12px;
    }

    .gran-about__row dd {
        font-size: 13px;
    }

    /* ページ上部 */
    .gran-contact-hero {
        min-height: 300px;
        padding: 40px 24px;
        background-position: center;
    }

    .gran-contact-hero__text {
        font-size: 13px;
    }
}


/* ========================================
   小さなスマートフォン
======================================== */

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

    .gran-about__inner {
        width: calc(100% - 32px);
        padding: 30px 0;
    }

    .gran-about__section {
        gap: 17px;
        margin-bottom: 38px;
    }

    .gran-about__section > .gran-about__visual,
    .gran-about__company-photo {
        aspect-ratio: 1.55 / 1;
    }

    .gran-about__heading,
    .gran-about__company-heading .gran-about__heading {
        font-size: 20px;
    }

    .gran-about__body > p:not(.gran-about__label) {
        font-size: 13px;
    }

    .gran-about__company {
        gap: 17px;
    }

    .gran-about__row {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 8px;
        padding: 11px 0;
    }

    .gran-about__row dt,
    .gran-about__row dd {
        font-size: 12px;
    }
}


/* ========================================
   動きを抑える設定
======================================== */

@media (prefers-reduced-motion: reduce) {

    .gran-about *,
    .gran-about *::before,
    .gran-about *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
