@charset "UTF-8";

/* ==========================================================================
   Special Job Page Styles (SP)
   ========================================================================== */

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Main Background */
main {
    background-color: #FFF;
    overflow-x: hidden;
}

/* Common */
.container {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.article-heading-main,
.section-title-large {
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    color: #002D6F;
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Special Hero Section
   -------------------------------------------------------------------------- */
.special-hero {
    min-height: auto;
    height: auto;
    flex-direction: column;
    margin-bottom: 0;
    padding-top: 0; /* ヘッダー分オフセット解除（stickyヘッダーのため） */
    overflow-x: hidden;
}

.special-hero-inner {
    flex-direction: column;
    align-items: center;
    position: relative;
    display: flex;
    overflow-x: hidden;
}

.special-hero-content {
    order: -1;
    padding: 32px 20px 120px; /* 下に120px（画像の半分）のパディングを追加 */
    width: 100%;
    background-color: #E1F0FA;
    box-sizing: border-box;
}

.special-hero-bg {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    height: 240px;
    margin-bottom: 0;
    order: 1;
    margin: -100px 0 0 50vw; /* 上に100pxずらして重ねる、右側は0に変更 */
    width: calc(100% - 40vw); /* 左側のマージン分を引く */
    border-radius: 12px 0 0 12px; /* 左側に角丸12px */
    overflow: hidden;
    box-sizing: border-box;
}

.special-hero-bg img {
    border-radius: 12px 0 0 12px; /* 左側に角丸12px */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-block {
    width: 100%;
    padding: 0;
    align-items: flex-start;
    gap: 16px;
    display: flex;
    flex-direction: column;
}

.hero-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    color: #002D6F;
    text-align: center;
}

.hero-line {
    width: 61px;
    height: 1px;
    background-color: #002D6F;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    color: #002D6F;
}

.hero-subtitle {
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    color: #002D6F;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Article Content
   -------------------------------------------------------------------------- */
.article-container {
    gap: 0;
    padding-bottom: 0;
}

.article-section {
    padding: 20px 0 40px;
}

/* Intro */
.intro-section {
    padding: 20px 0 40px;
}

.intro-text-block {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #002D6F;
    opacity: 0.9;
}

.intro-text-block p {
    margin: 0;
}

/* Feature Sections (Image + Text) */
.feature-section {
    padding: 0 0 40px;
}

.feature-content,
.feature-content.image-left,
.feature-content.image-right {
    flex-direction: column;
    gap: 16px;
    display: flex;
}

/* スマホ版では常に: タイトル → 画像 → 文章の順（HTMLの順序で自然に並ぶ） */
.feature-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #303030;
    align-items: flex-start;
    gap: 12px;
    display: flex;
    width: 100%;
    margin: 0;
}

/* スマホ版では feature-title-pc（PC用）を非表示 */
.feature-title-pc {
    display: none;
}

.feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 373;
    border-radius: 12px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text {
    width: 100%;
    display: flex;
    flex-direction: column;
}


.title-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-desc {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #444A55;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-desc p {
    margin: 0;
}

.feature-list {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.feature-list li {
    margin-bottom: 0;
    line-height: 20px;
}

/* Documents Section */
.documents-section {
    padding: 0 0 40px;
}

.docs-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background-color: #CDD8DE;
    border: 1px solid #CDD8DE;
    border-radius: 12px;
    overflow: hidden;
}

.docs-table-row {
    display: flex;
    flex-direction: column;
    background-color: #FFF;
}

.docs-table-th {
    width: 100%;
    background-color: #E1F0FA;
    border-right: none;
    border-bottom: none;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #002D6F;
    line-height: normal;
}

.docs-table-td {
    padding: 16px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    color: #303030;
}

/* Skills Section */
.skills-section {
    padding: 0 0 40px;
}

.skills-container {
    border: 1px solid #CDD8DE;
    border-radius: 12px;
    overflow: hidden;
    background-color: #CDD8DE;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.skill-item {
    background-color: #FFF;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: #303030;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.skill-desc {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #444A55;
    margin: 0;
}

.skill-note {
    background-color: #F4F8FA;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.note-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    color: #002D6F;
    margin: 0;
}

.skill-note:nth-child(n+3) .note-title {
    font-size: 14px;
    line-height: 20px;
}

.note-body {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #444A55;
    margin: 0;
}

.note-body p {
    margin: 0;
}

.note-lead {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #444A55;
    margin: 0;
}

.note-list {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.note-list li {
    margin-bottom: 0;
    line-height: 20px;
}

/* Experience Section */
.experience-section {
    padding: 0 0 40px;
}

.experience-list {
    border: 1px solid #CDD8DE;
    border-radius: 12px;
    overflow: hidden;
    background-color: #CDD8DE;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.exp-item {
    flex-direction: column;
    background-color: #FFF;
}

.exp-header {
    width: 100%;
    background-color: #F4F8FA;
    border-right: none;
    border-bottom: none;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #002D6F;
}

.exp-body {
    padding: 16px;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #303030;
}

.exp-body p {
    margin: 0;
}

/* Interviews Section */
.interviews-section {
    padding: 0 0 20px;
}

.interviews-grid {
    flex-direction: column;
    gap: 16px;
    display: flex;
}

.interview-card {
    background-color: #E1F0FA;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.interview-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.interview-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.interview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interview-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: #303030;
    margin: 0;
}

.interview-body {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #303030;
}

.interview-body p {
    margin: 0;
}

/* Featured Other Section */
.featured-other-section {
    background-color: #E1F0FA;
    padding: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

/* 親要素で横スクロールを防ぐ */
.article-container {
    overflow-x: hidden;
}

.featured-other-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.featured-header {
    background-color: #FFF;
    border-radius: 6.931px;
    padding: 18.482px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18.482px;
    width: 100%;
    box-sizing: border-box;
}

.featured-title {
    font-size: 11.551px;
    font-weight: 600;
    color: #303030;
    line-height: 17.904px;
    white-space: normal;
    flex: 1;
    margin: 0;
}

.featured-logo {
    width: 92.41px;
    height: 38.119px;
    flex-shrink: 0;
}

.featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-tags-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-label {
    font-size: 14px;
    font-weight: 600;
    color: #303030;
    margin: 0;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    background-color: #FFF;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #002D6F;
    line-height: 30.019px;
    white-space: nowrap;
}

/* Contact Section - Moved to common_sp.css */

