@charset "utf-8";

/* strengths page specific styles */

/* 背景色設定 */
.strengths_bg_slate50 {
    background-color: #f8fafc;
    /* slate-50 */
}

/* Header section - 中央寄せレイアウト */
.strengths_header {
    max-width: 56rem;
    /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

/* 背景の大きな番号 - h2の上端からの基準で配置 */
.strengths_number_bg {
    position: absolute;
    top: 0;
    /* h2の上端からの基準（h2のmargin-topを考慮） */
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: bold;
    color: #f8fafc;
    /* slate-50 */
    line-height: 1;
    z-index: -10;
    user-select: none;
    font-family: var(--en-sans, sans-serif);
}

@media (min-width: 768px) {
    .strengths_number_bg {
        font-size: 14rem;
    }
}

.strengths_bg_slate50 .strengths_number_bg {
    color: #ffffff;
}

.com_sect:not(.strengths_bg_slate50) .strengths_number_bg {
    color: #f8fafc;
}

/* タイトル */
.strengths_title {
    font-size: 2.25rem;
    /* text-4xl */
    font-weight: bold;
    color: #0f172a;
    /* slate-900 */
    margin-top: 0;
    /* 番号の位置を統一するため */
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .strengths_title {
        font-size: 3rem;
        /* text-5xl */
    }
}

/* 説明文 */
.strengths_desc {
    font-size: 1.125rem;
    /* text-lg */
    line-height: 1.625;
    /* leading-relaxed */
    color: #475569;
    /* slate-600 */
}

.strengths_desc p {
    margin-bottom: 1rem;
}

.strengths_desc p:last-child {
    margin-bottom: 0;
}

/* 【】内のテキストを強調 */
.strengths_flow-text {
    color: #003366;
    font-weight: 700;
}

/* Grids */
.strengths_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .strengths_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .strengths_grid_4cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .strengths_grid_4cols {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Cards */
.strengths_card {
    background-color: #fff;
    padding: 2.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.strengths_card_icon {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    /* slate-300 */
    font-size: 3rem;
    transition: all 0.3s;
    display: inline-block;
}

.strengths_card_text {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: bold;
    color: #1e293b;
    /* slate-800 */
    letter-spacing: 0.025em;
    /* tracking-wide */
    margin: 0;
}

/* Bottom Text Area */
.strengths_bottom_area {
    margin-top: 5rem;
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.strengths_bottom_box {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.strengths_bottom_text {
    font-size: 1.125rem;
    line-height: 2;
    color: #334155;
    /* slate-700 */
    font-weight: 500;
    text-align: center;
}

@media (min-width: 768px) {
    .strengths_bottom_text {
        font-size: 1.25rem;
    }
}

/* 改行制御 */
.strengths_md_hidden {
    display: inline;
}

@media (min-width: 768px) {
    .strengths_md_hidden {
        display: none;
    }
}

