/* ==============================================
   セクション共通スタイル
   ============================================== */

/* リードセクション */
.lead-section {
    width: 100%;
    max-width: 1440px;
    background-color: var(--color-white);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 50px 165px;
    gap: 0;
    text-align: justify;
    font-size: var(--font-size-14);
    color: var(--color-black);
    font-family: var(--font-lato);
}

.lead-section__text {
    height: 246px;
    width: 100%;
    max-width: 445px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--gap-24);
}

.lead-section__title {
    margin: 0;
    width: 100%;
    max-width: 445px;
    height: 107px;
    position: relative;
    font-size: var(--font-size-36);
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    display: inline-block;
}

.lead-section__description {
    width: 100%;
    max-width: 445px;
    position: relative;
    line-height: 140%;
    display: inline-block;
}

.lead-section__learn-more {
    position: relative;
    line-height: 140%;
    color: var(--color-crimson);
    display: none;
    white-space: nowrap;
}

.lead-section__image {
    height: 311px;
    width: 100%;
    max-width: 445px;
    position: relative;
    border-radius: 15px;
    object-fit: cover;
}

/* 取り組みセクション */
.initiative-section {
    width: 100%;
    max-width: 1440px;
    height: auto;
    background-color: var(--color-gray-100);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 63px 165px;
    gap: 30px;
    font-size: var(--font-size-36);
    color: var(--color-black);
}

.initiative-section__title {
    margin: 0;
    height: 55px;
    width: 100%;
    position: relative;
    font-size: var(--font-size-36);
    display: inline-block;
    font-family: inherit;
    text-align: center;
}

.initiative-section__grid {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--gap-30);
    width: 100%;
    max-width: 1200px;
}

/* 取り組みセクション - PCリンク */
.initiative-section__link {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.initiative-section__link a {
    color: var(--color-black);
    text-decoration: none;
    font-size: var(--font-size-16);
    font-weight: 600;
    font-family: var(--font-lato);
    transition: color 0.3s ease;
}

/* 取り組みセクション - Mobileリンク */
.initiative-card__mobile-link {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    display: none;
}

.initiative-card__mobile-link a {
    color: var(--color-black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-lato);
    transition: color 0.3s ease;
}

/* サービスセクション */
.service-section {
    width: 100%;
    max-width: 1193px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 52px;
    text-align: center;
    font-size: var(--font-size-36);
    color: var(--color-black);
    font-family: var(--font-lato);
    margin: 0 auto;
    padding: 60px 40px;
}

.service-section__title {
    margin: 0;
    align-self: stretch;
    height: 55px;
    position: relative;
    font-size: var(--font-size-36);
    font-family: inherit;
    display: inline-block;
}

.service-section__grid {
    width: 100%;
    max-width: 1102px;
    height: 226px;
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* 修正: center から flex-start に変更 */
    justify-content: center;
    gap: 14px;
    font-size: var(--font-size-100);
    color: var(--color-gray-500);
}

.service-section__column {
    width: 532px;
    height: 226px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 38px;
}

/* 実例セクション */
.example-section {
    width: 100%;
    max-width: 1440px;
    background-color: var(--color-cornflowerblue);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 50px 165px;
    gap: 0;
    text-align: left;
    font-size: var(--font-size-24);
    color: var(--color-white);
    font-family: var(--font-lato);
    flex-wrap: wrap; /* 子要素の折り返しを許可 */
    height: auto;    /* コンテンツの高さに合わせて可変に */
    padding-bottom: 60px; /* 下部に余白を追加 */
}

.example-section__text {
    height: auto;
    min-height: 195px;
    max-width: 471px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-24);
    flex-shrink: 0;
    min-width: 0;
    margin-right: 60px;
}

.example-section__status {
    width: 100%;
    max-width: 471px;
    position: relative;
    font-weight: 600;
    display: inline-block;
    text-align: center;
}

.example-section__status h3 {
    margin: 0;
    font-size: var(--font-size-24);
    font-weight: 600;
    font-family: inherit;
    margin-bottom: 8px;
}

.example-section__title {
    margin: 0;
    font-size: var(--font-size-36);
    font-weight: 700;
    font-family: inherit;
}

.example-section__description {
    width: 100%;
    max-width: 471px;
    position: relative;
    font-size: var(--font-size-16);
    line-height: 140%;
    text-align: justify;
    display: inline-block;
}

.btn-sample--white {
    margin-top: 20px;
    margin-bottom: 0px;
}

.example-section__notice {
    width: 100%;
    max-width: 471px;
    position: relative;
    font-size: var(--font-size-16);
    font-weight: 400;
    text-align: center;
    display: inline-block;
    margin-top: 15px;
    line-height: 150%;
    color: inherit;
}

.example-section__image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.example-section__logo {	
    width: 275px;	
    height: 44px;	
    margin: 20px auto 8px;
    display: block;	
    object-fit: contain;	
    position: relative;	
}

.example-section__author {
    width: 100%;
    max-width: 471px;
    position: relative;
    font-size: var(--font-size-14);
    font-weight: 600;
    text-align: center;
    display: inline-block;
    margin-top: 15px;
}

.example-section__image {
    height: 267px;
    width: 100%;
    max-width: 533px;
    position: relative;
    object-fit: cover;
}

/* コラムセクション */
.column-section {
    width: 100%;
    max-width: 1440px;
    background-color:var(--color-gray-100);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 94px 165px;
    gap: 60px;
    box-sizing: border-box;
    text-align: left;
    font-family: var(--font-lato);
    margin: 0 auto;
}

.column-section__left {
    flex-shrink: 0; /
    width: 30%;     /
    display: flex;
    align-items: flex-start;
    min-width: 0;
}

.column-section__right {
    flex: 1; /
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.column-section__title {
    margin: 0;
    font-size: var(--font-size-36);
    font-weight: 600;
    color: var(--color-black);
    display: flex;
    gap: 10px;
    font-family: var(--font-lato);
}

.column-section__subtitle {
    margin: 0;
    font-size: var(--font-size-24);
    font-weight: 600;
    color: var(--color-black);
    font-family: var(--font-lato);
    margin-bottom: 20px; 
}

.column-section__text {
    margin: 0;
    font-size: var(--font-size-16);
    line-height: 150%;
    color: var(--color-black);
    font-family: var(--font-lato);
    margin-bottom: 30px; 
}

/* ... existing styles ... */
.column-section__link:hover {
    opacity: 0.7;
}

/* セクション間の区切り */
.section-divider {
    height: 60px;
    background-color: var(--color-white);
    width: 100%;
    max-width: 1440px;
}

/* Noteへのリンクボタンのスタイル */
.column-section__note-btn {
    display: inline-block;
    background-color: var(--color-cornflowerblue); /* 指摘事項を反映: 変数を使用 */
    color: #000000;
    font-size: 14px;
    padding: 8px 24px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-align: center; /* テキストを中央揃え */
}

.column-section__note-btn:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* 追加メッセージの共通スタイル */
.example-section__message {
    flex-basis: 100%;
    margin-top: 40px;
    text-align: left;
    color: var(--color-white);
    /* ▼▼▼ ここから修正 ▼▼▼ */
    border: 2px solid var(--color-white);
    border-radius: var(--br-8);
    padding: 24px;
    box-sizing: border-box;
    /* ▲▲▲ ここまで修正 ▲▲▲ */
}

.message__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1em;
}

.message__body {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

/* JavaScriptで生成される「続きを読む」ボタンのスタイル */
.read-more-btn {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: inherit;
    font-weight: 700;
    text-decoration: underline;
    padding: 0;
    margin-left: 5px;
    transition: opacity 0.3s;
}

.read-more-btn:hover {
    opacity: 0.8;
}
