/* 私たちが選ばれる理由セクション */
.reason-section {
    padding: 40px 0;
}

/* タイトルセクション */
.reason-title-section {
    padding: 76px 0 19px;
}

.reason-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reason-column {
    width: 100%;
}

.reason-col-100 {
    width: 100%;
}

.reason-widget-wrap {
    width: 100%;
}

.reason-widget {
    margin-bottom: 20px;
}

.reason-widget-container {
    width: 100%;
}

/* グリッドレイアウト（3カラム） */
.reason-content-section {
    padding: 20px 0;
}

.reason-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.reason-grid-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.reason-grid-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 画像 */
.reason-item-image {
    width: 100%;
    margin-bottom: 20px;
}

.reason-item-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ヘッダー（番号+タイトル） */
.reason-item-header {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    align-items: stretch;
}

/* ヘッダー直下の2要素に共通パディング */
.reason-item-header > .reason-item-number,
.reason-item-header > .reason-item-title {
    padding: 5px;
}

.reason-item-number {
    flex-shrink: 0;
    width: 15%;
    display: flex;
    align-items: center;
}

.reason-item-number span {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    background-color: #0A8F20;
    border-radius: 50%;
}

/* 番号バッジの色を 1→#297842, 2→#199bc8, 3→#fdd000 の順で繰り返し */
.reason-grid-row .reason-grid-item:nth-of-type(3n+1) .reason-item-number span {
    background-color: #297842;
}

.reason-grid-row .reason-grid-item:nth-of-type(3n+2) .reason-item-number span {
    background-color: #199bc8;
}

.reason-grid-row .reason-grid-item:nth-of-type(3n) .reason-item-number span {
    background-color: #fdd000;
}

.reason-item-title {
    width: 85%;
    display: flex;
    align-items: center;
}

.reason-item-title p {
    text-align: left;
    font-family: "Noto Sans JP", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5em;
    margin: 0;
    color: #333;
}

/* 説明文 */
.reason-item-description {
    flex: 1;
}

.reason-item-description p {
    line-height: 1.8;
    margin: 0;
    color: #000;
    font-size: 0.95em;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .reason-grid-row {
        gap: 15px;
    }
    
    .reason-item-number {
        width: 15%;
    }
    
    .reason-item-number span {
        font-size: 1.1em;
    }
    
    .reason-item-title p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .reason-title-section {
        padding: 40px 0 10px;
    }
    
    .reason-content-section {
        padding: 10px 0;
    }
    
    .reason-grid-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .reason-grid-item {
        width: 100%;
    }
    
    .reason-item-header {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }
    
    .reason-item-number {
        width: 17%;
    }
    
    .reason-item-number span {
        font-size: 18px;
    }
    
    .reason-item-title {
        width: 80%;
        display: block;
    }
    
    .reason-item-title p {
        font-size: 16px;
        line-height: 1.5em;
    }
    
    .reason-item-description p {
        font-size: 0.9em;
    }
}

