/* profile.css — プロフィールページ固有CSS */

/* ビルボード左オフセット無効化（サービスページ） */
@media (min-width: 1200px) {
    .article-header__inner {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   物語テキスト（profile-story）
   ============================================ */
.profile-story {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
    color: #1F2937;
}

.profile-story p {
    margin-bottom: 1.5em;
}

.profile-story h2 {
    border-left: 5px solid #2563EB;
    padding-left: 16px;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    line-height: 1.4;
    margin-top: 3em;
    margin-bottom: 1.5em;
    color: #0F2440;
}

.profile-story h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    color: #0F2440;
}

/* ============================================
   写真（profile-photo）
   ============================================ */
.profile-photo {
    margin: 2em 0;
    padding: 0;
}

.profile-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.profile-photo figcaption {
    font-size: 0.8125rem;
    color: #6B7280;
    margin-top: 8px;
    text-align: center;
    line-height: 1.5;
}

/* wide: フルワイド写真 */
.profile-photo--wide {
    margin: 2.5em 0;
}

/* right: テキスト回り込み（右配置） */
@media (min-width: 768px) {
    .profile-photo--right {
        float: right;
        width: 45%;
        margin: 0 0 1.5em 2em;
    }

    .profile-photo--left {
        float: left;
        width: 45%;
        margin: 0 2em 1.5em 0;
    }
}

/* フロート解除 */
.profile-story::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================
   実績数字（profile-achievements）
   ============================================ */
.profile-achievements {
    max-width: 780px;
    margin: 2em auto;
}

.profile-achievements__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .profile-achievements__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.profile-achievements__item {
    background: white;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-achievements__number {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0F2440;
    line-height: 1.2;
}

.profile-achievements__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.profile-achievements__sub {
    font-size: 0.75rem;
    color: #6B7280;
}

/* ============================================
   プロフィール情報（profile-bio）
   ============================================ */
.profile-bio {
    max-width: 780px;
    margin: 2em auto;
}

.profile-bio__header {
    background: linear-gradient(135deg, #F0F4F8 0%, #E8ECF0 100%);
    border-radius: 12px;
    padding: 32px;
}

.profile-bio__header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F2440;
    margin-bottom: 8px;
}

.profile-bio__header p {
    font-size: 0.9375rem;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   事業紹介カード（profile-company）
   ============================================ */
.profile-companies {
    max-width: 780px;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-company {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .profile-company {
        display: grid;
        grid-template-columns: 280px 1fr;
    }
}

.profile-company__photo {
    overflow: hidden;
}

.profile-company__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .profile-company__photo {
        height: 200px;
    }
}

.profile-company__body {
    padding: 24px;
}

.profile-company__name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0F2440;
    margin-bottom: 12px;
}

.profile-company__body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 8px;
}

.profile-company__link {
    color: #2563EB;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.profile-company__link:hover {
    opacity: 0.7;
}

/* ============================================
   資格セクション（profile-credentials）
   ============================================ */
.profile-credentials {
    max-width: 780px;
    margin: 3em auto 0;
    padding-top: 2em;
    border-top: 1px solid #E5E7EB;
}

.profile-credentials h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0F2440;
    margin-bottom: 1.5em;
}

.profile-credentials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 1.5em;
}

@media (max-width: 767px) {
    .profile-credentials__grid {
        grid-template-columns: 1fr;
    }
}

.profile-credentials__item {
    background: #F9FAFB;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.profile-credentials__item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.profile-credentials__item span {
    display: block;
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.profile-credentials__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-credentials__list li {
    background: #F0F4F8;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #374151;
}

/* ============================================
   ミッションセクション
   ============================================ */
.profile-mission {
    background: linear-gradient(135deg, #0F2440 0%, #1E3A5F 100%);
    color: white;
    padding: 80px 0;
}

.profile-mission__inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.profile-mission__inner .section-heading__label {
    color: rgba(255, 255, 255, 0.6);
}

.profile-mission__title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.5;
    margin: 1em 0 1.5em;
    color: white;
}

.profile-mission__text {
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1em;
}

/* ============================================
   導入文（profile-intro）
   ============================================ */
.profile-intro__lead {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 700;
    line-height: 1.7;
    color: #0F2440;
    margin-bottom: 1em;
}

/* ============================================
   セクション背景バリエーション
   ============================================ */

/* Navy: 物語のクライマックス用 */
.section--navy {
    background: linear-gradient(135deg, #0F2440 0%, #1E3A5F 100%);
    color: white;
}

.section--navy .section-heading__label {
    color: rgba(255, 255, 255, 0.5);
}

.section--navy .section-heading__title {
    color: white;
}

.section--navy .profile-story {
    color: rgba(255, 255, 255, 0.9);
}

.section--navy .profile-story p {
    color: rgba(255, 255, 255, 0.9);
}

.section--navy .profile-story h2 {
    color: white;
    border-left-color: #60A5FA;
}

.section--navy .profile-photo figcaption {
    color: rgba(255, 255, 255, 0.5);
}

/* Navy内の強調表現 */
.section--navy .em-highlight {
    background: linear-gradient(transparent 55%, rgba(251, 191, 36, 0.4) 55%);
    color: white;
}

.section--navy .em-strong-highlight {
    font-weight: 700;
    color: #FBBF24;
    background: none;
}

.section--navy .em-underline {
    color: white;
    text-decoration-color: #FBBF24;
}

.section--navy .em-bold {
    color: white;
    font-weight: 700;
}

.section--navy .profile-story blockquote {
    background: rgba(0, 0, 0, 0.3);
}

/* Accent: 実績セクション用（明るいブルー） */
.section--accent {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.section--accent .profile-achievements__item {
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.section--accent .profile-achievements__number {
    color: #1E40AF;
}

/* Services: サービス一覧セクション */
.section--services {
    background: linear-gradient(135deg, #F0FDF4 0%, #EFF6FF 100%);
    padding: 60px 0;
}


/* ============================================
   サービスカード（profile-services）
   ============================================ */
.profile-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 780px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .profile-services__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.profile-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.profile-service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: white;
}

.profile-service-card__icon--school { background: linear-gradient(135deg, #2563EB, #60A5FA); }
.profile-service-card__icon--camp { background: linear-gradient(135deg, #059669, #34D399); }
.profile-service-card__icon--comm { background: linear-gradient(135deg, #D97706, #FBBF24); }
.profile-service-card__icon--exec { background: linear-gradient(135deg, #7C3AED, #A78BFA); }

.profile-service-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0F2440;
    margin-bottom: 4px;
}

.profile-service-card__desc {
    font-size: 0.75rem;
    color: #6B7280;
    line-height: 1.5;
}

/* ============================================
   blockquote調整（profile内）
   ============================================ */
.profile-story blockquote {
    background: linear-gradient(135deg, #1E3A5F 0%, #0F2440 100%);
    color: white;
    padding: 32px 40px;
    border-radius: 0;
    margin: 2.5em -48px;
    font-size: 1.0625rem;
    line-height: 1.8;
    position: relative;
    clear: both;
}

.profile-story blockquote::before {
    content: "\201C";
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

@media (max-width: 767px) {
    .profile-story blockquote {
        margin-left: -16px;
        margin-right: -16px;
        padding: 28px 24px;
    }
}

/* ============================================
   section--gray の背景コントラスト
   ============================================ */
.section--gray .profile-company {
    background: white;
}

.section--white .profile-company {
    background: #F9FAFB;
}
