@charset "UTF-8";

/* ====================================
   chat GPT研修 専用スタイル (service-chatgpt.css)
   ==================================== */

/* --- FV (Page Header) --- */
.service-fv {
    position: relative;
    height: 50vh;
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding-top: 100px;
}

.service-fv-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fv-title {
    font-family: var(--font-en);
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fv-sub {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ====================================
   Section Headers (Center Alignment)
   ==================================== */
.section-label {
    display: block;
    text-align: center;
    padding-left: 0;
    margin-bottom: 15px;
}

.section-label::before {
    display: none;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* --- Intro Section (Center Creative) --- */
.intro-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: linear-gradient(180deg, #fff 0%, #FAFDFD 100%);
}

.intro-bg-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-en);
    font-size: 15vw;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.intro-box {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.intro-heading {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--text-main);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
    letter-spacing: 0.08em;
}

.intro-heading .highlight {
    background: linear-gradient(transparent 65%, rgba(10, 186, 181, 0.2) 65%);
    padding: 0 5px;
}

.intro-box p {
    line-height: 2.2;
    color: var(--text-main);
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .intro-section {
        padding: 18% 0;
    }

    .intro-heading {
        font-size: 6vw;
    }

    .intro-box p {
        font-size: 4vw;
    }
}

/* --- Core Benefits (3 Columns Block) --- */
.core-benefits {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 20px 50px rgba(10, 186, 181, 0.1);
    border: 1px solid rgba(10, 186, 181, 0.1);
}

.core-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    display: inline-block;
    padding: 10px 40px;
    border-radius: 50px;
    margin-bottom: 50px;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(10, 186, 181, 0.3);
    white-space: nowrap;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.b-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid #eee;
}

.b-item:last-child {
    border-right: none;
}

.b-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--primary);
    background: #F0FCFB;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.b-icon svg {
    width: 40px;
    height: 40px;
}

.b-item:hover .b-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.b-item h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.b-item p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* ====================================
   Merit Section (Image Card Style)
   ==================================== */
.merit-img-grid {
    display: flex;           /* GridからFlexに変更 */
    flex-wrap: wrap;         /* 折り返しを有効化 */
    justify-content: center; /* アイテムを中央寄せ（これで下2つが真ん中に来ます） */
    gap: 40px;
    margin-top: 60px;
}

.merit-card {
    /* PC時は3列にする計算式： (100% - ギャップ40px × 2つ分) ÷ 3 */
    width: calc((100% - 80px) / 3);
    
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    /* 高さ揃えはFlexboxの特性で自動的に行われます */
}

/* 画面幅が狭くなった時の調整 */
@media (max-width: 1024px) {
    .merit-card {
        /* タブレットサイズ付近は2列に： (100% - ギャップ40px) ÷ 2 */
        width: calc((100% - 40px) / 2);
    }
}

@media (max-width: 600px) {
    .merit-card {
        /* スマホサイズは1列に */
        width: 100%;
    }
}

.merit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 186, 181, 0.15);
}

/* 画像エリア（以下変更なし） */
.merit-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.merit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.merit-card:hover .merit-img img {
    transform: scale(1.1);
}

/* 番号バッジ（以下変更なし） */
.merit-num {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px 0 0 0;
    box-shadow: -5px -5px 20px rgba(0,0,0,0.1);
}

/* テキストエリア（以下変更なし） */
.merit-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.merit-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0FCFB;
}

.merit-body p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-main);
    margin-bottom: 0;
}

/* --- Curriculum Images (Existing) --- */
.img-placeholder {
    /* background: #eee; */
    /* height: 300px; */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 40px;
    /* border: 2px dashed #ccc; */
    border-radius: 8px;
}

.btn-area {
    text-align: center;
    margin-top: 60px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .b-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 40px;
    }
    .b-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .core-benefits {
        padding: 50px 20px 40px;
    }
    .core-title {
        font-size: 1.1rem;
        padding: 8px 25px;
    }
    /* メリットカードのスマホ調整 */
    .merit-img {
        height: 180px;
    }

    .img-placeholder {
        width: 100%;
        margin-bottom: 5%;
    }
}