/* --- メインビジュアル --- */
.main-visual {
	background: url(https://www.omik.co.jp/wp/wp-content/themes/solaris_tcd088-child/img/renewal/greeting/image_sub_1360x400_pc.png) no-repeat center / cover;
    width: calc(100% - 80px);
    height: 400px;
    display: flex;
    align-items: center;
    margin-left: 80px;
}

.main-visual-inner {
    padding-left: 80px;
}

.main-visual h1 {
    font-size: 64px;
    font-family: "Yu Mincho", "YuMincho", "Shippori Mincho", serif;
    background: linear-gradient(to right, #022E6B, #1A88D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	font-weight: 500;
}



/* --- 代表挨拶セクション --- */
.greeting-section {
    padding: 160px 0;
}

.greeting-flex {
    display: flex;
    position: relative;
}

/* 擬似要素で右側の背景を補完 */
.greeting-flex:after {
    content: "";
    position: absolute;
    top: 80px;
    left: 80px;
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    background-color: #E3ECFA;
    z-index: -1;
}

.greeting-image {
    width: 50%;
    padding-right: 80px;
}

.greeting-image img {
    width: 100%;
    display: block;
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);*/
}

.greeting-content {
    z-index: 1;
    position: relative;
    width: 50%;
    padding-top: 80px;
    margin-top: 80px;
    padding-right: max(80px, calc(50% - 560px));
    padding-right: 80px;
    box-sizing: border-box;
    /* 右端まで伸ばすための設定 */
    position: relative;
    padding-bottom: 80px;

}



.job-title {
    display: block;
    color: #022E6B;
    font-size: 16px;
    margin-bottom: 13px;
    line-height: 26px;
}

.ceo-name {
    /* フォントを明朝系に設定 */
    font-family: "Yu Mincho", "YuMincho", "Shippori Mincho", serif;
    font-size: 48px;
    /* 明朝体は少し細く見えるのでサイズを微調整 */
    margin-bottom: 33px;
    font-weight: 500;
    display: inline-block;

    /* グラデーションの設定 */
	background: linear-gradient(to right, #022E6B, #1A88D6);
    /* 左から右へ濃い青から薄い青 */
    -webkit-background-clip: text;
    /* テキストで背景を切り抜く(Safari/Chrome用) */
    background-clip: text;
    /* テキストで背景を切り抜く */
    color: transparent;
    /* 本来の文字色を透明にして背景を表示 */
    display: inline-block;
    /* グラデーションの範囲を文字幅に合わせる */
    line-height: 1;
}

.ceo-name small {
    font-size: 18px;
    margin-left: 20px;
    font-weight: normal;

    /* 英語表記の方は元の色に戻す場合（お好みで） */
    color: #003399;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
}
.greeting-body{
    max-width: 560px;
}
.greeting-body p {
    font-size: 16px;
    text-align: justify;
    line-height: 2.2;
    color: #344052;
    margin-bottom: 1.5em;
}

.greeting-body p:last-child {
    margin-bottom: 0;
}

.greeting-body p .sp_on {
    display: none;
}



@media (max-width: 1040px) {
    .greeting-section {
        padding: 80px 0;
    }

    .bottom-nav {
        flex-direction: column;
    }

    .greeting-image {
        padding-right: 40px;
    }

    .greeting-content {
        padding-top: 40px;
        padding-right: 40px;
        margin-top: 40px;
		padding-bottom: 40px;
    }

    .greeting-flex:after {
        top: 40px;
		left: 40px;
		        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
}

/* --- レスポンシブ (768px以下) --- */
@media (max-width: 768px) {
    .main-visual {
        height: 400px;
        margin-left: 20px;
        width: calc(100% - 20px);
        align-items: initial;
        padding-top: 114px;
    }

    .main-visual-inner {
        padding-left: 20px;
    }

    .main-visual h1 {
        font-size: 32px;
    }


    .greeting-section {
        padding: 77px 0 0;
        margin-bottom: 40px;
    }

    .greeting-flex {
        flex-direction: column;
    }

    .greeting-image {
        width: 100%;
        padding-right: 44px;
    }

    .greeting-content {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        padding: 40px 20px 40px;
    }

    .greeting-flex:after {
        left: 0;
        width: 100%;
        top: 40px;
        height: calc(100% - 40px);
    }

    .greeting-body p .sp_on {
        display: block;
    }

.greeting-body {
    max-width: 100%;
}
    .ceo-name {
        font-size: 32px;
        line-height: 51px;
        margin-bottom: 24px;
    }

    .job-title {
        margin-bottom: 2px;
        line-height: 26px;
    }
}