
@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-contact-intro {
    padding: 58px 24px 54px;
    background: #ffffff;
    color: #12324a;
    font-family: inherit;
    box-sizing: border-box;
}

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

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

/* 英字ラベル */

.gran-contact-intro__label {
    margin: 0 0 12px;
    color: #078fe0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
}

/* メイン見出し */

.gran-contact-intro__title {
    margin: 0 0 18px;
    color: #12324a;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* 導入文 */

.gran-contact-intro__lead {
    margin: 0;
    color: #526b7d;
    font-size: 15px;
    line-height: 2;
    text-align: center;
}

/* サービス紹介エリア */

.gran-contact-intro__services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
    padding: 28px 12px;
    border-top: 1px solid #e0eff8;
    border-bottom: 1px solid #e0eff8;
    background: #f5fbff;
}

/* 各サービス */

.gran-contact-intro__item {
    min-width: 0;
    padding: 8px 20px;
    text-align: center;
}

.gran-contact-intro__item + .gran-contact-intro__item {
    border-left: 1px solid #d4e7f4;
}

/* 番号アイコン */

.gran-contact-intro__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #e0f3ff;
    color: #078fe0;
}

.gran-contact-intro__icon span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* サービス見出し */

.gran-contact-intro__item h3 {
    margin: 0 0 12px;
    color: #12324a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

/* サービス説明 */

.gran-contact-intro__item p {
    margin: 0;
    color: #647d8f;
    font-size: 13px;
    line-height: 1.9;
}

/* 返信についての注記 */

.gran-contact-intro__note {
    margin: 24px 0 0;
    color: #526b7d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}


/* ========================================
   スマートフォン対応
======================================== */

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

    /* ページ上部 */

    .gran-contact-hero {
        min-height: 300px;
        padding: 40px 24px;
        background-position: center;
    }

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

    /* お問い合わせ導入 */

    .gran-contact-intro {
        padding: 42px 18px;
    }

    .gran-contact-intro__label {
        font-size: 12px;
    }

    .gran-contact-intro__title {
        font-size: 25px;
        line-height: 1.5;
    }

    .gran-contact-intro__lead {
        font-size: 14px;
        line-height: 1.9;
        text-align: left;
    }

    .gran-contact-intro__pc {
        display: none;
    }

    /* サービスを縦並びにする */

    .gran-contact-intro__services {
        grid-template-columns: 1fr;
        margin-top: 26px;
        padding: 12px 18px;
    }

    .gran-contact-intro__item {
        padding: 22px 8px;
    }

    .gran-contact-intro__item + .gran-contact-intro__item {
        border-top: 1px solid #d4e7f4;
        border-left: none;
    }

    .gran-contact-intro__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .gran-contact-intro__item h3 {
        margin-bottom: 8px;
        font-size: 15px;
    }

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

    /* 返信についての注記 */

    .gran-contact-intro__note {
        margin-top: 20px;
        font-size: 14px;
    }
}


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

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

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