/* =================================
   about（welcome）ページ用スタイル
   ================================= */

/* 共通セクションスタイル */
.about-section {
    padding: 30px 15px;
}

.about-section-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-section-title small {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-top: 5px;
}

/* --- コンセプトリンク --- */
.concept-link-section {
    background: var(--gray-bg);
    padding: 20px 15px;
    text-align: center;
}

.concept-link-btn {
    display: inline-block;
    padding: 14px 30px;
    background: #fff;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 14px;
    border-radius: 30px;
}

.concept-link-btn:hover {
    background: var(--accent-blue);
    color: #fff;
    opacity: 1;
}

/* --- 1分でわかる！S大 5つのポイント --- */
.five-points-section {
    background: #fff;
}

.five-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.five-points-list li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.five-points-list li:last-child {
    border-bottom: none;
}

.five-points-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 15px;
}

.five-points-text {
    font-size: 14px;
    line-height: 1.5;
}

.five-points-text strong {
    color: var(--accent-red);
}

.five-points-highlight {
    color: var(--accent-red);
    font-weight: bold;
}

/* --- 東京（八王子）にある大学 アクセス --- */
.access-section {
    background: var(--gray-bg);
}

.access-map-placeholder {
    background: #ddd;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

.access-routes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.access-route {
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.access-route-name {
    font-size: 13px;
    font-weight: bold;
}

.access-route-time {
    font-size: 12px;
    color: var(--accent-blue);
    font-weight: bold;
}

/* --- 将来像から選べる学びの領域（8学部） --- */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.faculty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 12px 6px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    background: #fff;
    line-height: 1.4;
    transition: all 0.3s;
}

.faculty-btn:hover {
    background: var(--accent-orange);
    color: #fff;
    border-color: var(--accent-orange);
    opacity: 1;
}

.faculty-btn small {
    display: block;
    font-size: 10px;
    font-weight: normal;
    margin-top: 3px;
    color: #666;
}

.faculty-btn:hover small {
    color: rgba(255, 255, 255, 0.8);
}

/* --- 学生満足度、全国トップクラス --- */
.satisfaction-section {
    background: #fff;
}

.satisfaction-title {
    color: var(--accent-red) !important;
    font-size: 18px !important;
}

.satisfaction-lead {
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 20px;
}

.satisfaction-headline {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.satisfaction-subtitle {
    font-size: 13px;
    text-align: center;
    color: #666;
    margin-bottom: 15px;
}

.satisfaction-cards-container {
    margin: 0;
}

.satisfaction-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.satisfaction-card {
    background: #f9f9f9;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

/* 右列を少し下にオフセットしてジグザグ配置 */
.satisfaction-card:nth-child(even) {
    margin-top: 30px;
}

.satisfaction-card-text {
    padding: 10px 8px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.4;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.satisfaction-card-img {
    height: 80px;
    background: #e8e8e8;
    border-radius: 50%;
    width: 80px;
    margin: 0 auto 10px;
}

.satisfaction-highlight {
    margin-top: 25px;
    text-align: center;
}

.satisfaction-highlight-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--accent-blue);
    margin-bottom: 15px;
    line-height: 1.5;
}

/* カードスタック */
.card-stack {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 auto;
}

.card-stack-item {
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    margin-left: -60px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    transition: transform 0.4s ease, background 0.4s ease;
    cursor: grab;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-stack-item:active {
    cursor: grabbing;
}

.card-stack-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.card-stack-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
}

.card-stack-dot.active {
    background: var(--accent-blue);
}

.satisfaction-highlight-label {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.satisfaction-highlight-rank {
    font-size: 16px;
    font-weight: bold;
}

.satisfaction-highlight-rank span {
    font-size: 32px;
    font-weight: 900;
}

/* --- 世界基準で評価されるグローバル教育（ランキング） --- */
.ranking-section {
    background: var(--accent-blue);
    color: #fff;
}

.ranking-section .about-section-title {
    color: #fff;
}

.ranking-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ranking-section-subtitle {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
}

.ranking-card {
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.ranking-card-with-desc {
    display: flex;
    text-align: left;
    gap: 15px;
    align-items: center;
}

.ranking-card-left {
    flex: 0 0 auto;
    text-align: center;
    min-width: 120px;
}

.ranking-card-right {
    flex: 1;
}

.ranking-card-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.ranking-card-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ranking-card-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
}

.ranking-card-number small {
    font-size: 14px;
}

.ranking-card-sub {
    font-size: 10px;
    font-weight: normal;
    color: #666;
}

.ranking-card-note {
    font-size: 10px;
    color: #666;
    margin-top: 8px;
}

.ranking-card-desc {
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.ranking-card-link {
    display: inline-block;
    font-size: 12px;
    padding: 6px 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    color: #333;
}

.ranking-card-link:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    opacity: 1;
}

/* --- 志ある人が集うアカデミックな環境（パララックステキスト） --- */
.parallax-text-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 50px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.parallax-text-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="50" y="50" font-size="8" fill="rgba(255,255,255,0.03)" text-anchor="middle">創価大学</text></svg>') repeat;
    pointer-events: none;
}

.parallax-main-text {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.parallax-sub-text {
    font-size: 12px;
    margin-top: 20px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.parallax-paragraphs {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.parallax-bg-area {
    width: 100%;
    height: 180px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 25px;
}

.parallax-paragraph {
    font-size: 13px;
    line-height: 2;
    text-align: center;
    margin: 0 0 25px;
    opacity: 0;
    transform: translateY(40px);
}

/* 段落ごとに異なるスピード */
.parallax-paragraph:nth-child(1) { transition: opacity 0.8s ease, transform 0.8s ease; }
.parallax-paragraph:nth-child(2) { transition: opacity 1.2s ease, transform 1.2s ease; }
.parallax-paragraph:nth-child(3) { transition: opacity 1.8s ease, transform 1.8s ease; }

.parallax-paragraph.is-visible {
    opacity: 0.95;
    transform: translateY(0);
}

/* --- 就職偏差値ランキング --- */
.employment-section {
    background: #fff;
}

.employment-card {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--gray-bg);
    border-radius: 10px;
    padding: 20px;
}

.employment-card-left {
    flex: 0 0 auto;
    text-align: center;
    min-width: 130px;
}

.employment-card-label {
    font-size: 10px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.employment-card-number {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.employment-card-number span {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-red);
}

.employment-card-sub {
    font-size: 14px;
    font-weight: bold;
}

.employment-card-sub span {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-red);
}

.employment-card-note {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
}

.employment-card-right {
    flex: 1;
}

.employment-card-desc {
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 10px;
}

/* --- 次の時代の学びへ、進化中（YouTube動画） --- */
.video-embed-section {
    background: #fff;
}

.video-embed-lead {
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 15px;
}

.video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.video-embed-wrapper iframe,
.video-embed-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed-placeholder {
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

/* --- 気になるところから… 導入テキスト --- */
.atmosphere-intro {
    text-align: center;
    padding: 30px 15px 0;
    background: var(--gray-bg);
}

.atmosphere-intro p {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.8;
    margin: 0;
}

/* --- 見てわかる、S大の雰囲気（バーチャルツアー等） --- */
.atmosphere-section {
    background: var(--gray-bg);
}

.atmosphere-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.atmosphere-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
}

.atmosphere-item-label {
    background: var(--accent-orange);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 15px;
}

.atmosphere-item-img {
    width: 100%;
    height: 140px;
    background: #e8e8e8;
}

.atmosphere-item-desc {
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
    padding: 15px;
    margin: 0;
}

.atmosphere-item .concept-link-btn {
    display: block;
    text-align: center;
    margin: 0 15px 15px;
}

/* --- もうちょっと、導入テキスト --- */
.sun-intro {
    text-align: center;
    padding: 30px 15px 0;
    background: #fff;
}

.sun-intro p {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

/* --- 広報誌SUN --- */
.sun-section {
    background: #fff;
}

.sun-banner {
    text-align: center;
}

.sun-banner-img {
    width: 100%;
    height: 160px;
    background: #e8e8e8;
    border-radius: 8px;
    margin-bottom: 15px;
}

.sun-banner-desc {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.sun-banner-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ccc;
    font-weight: bold;
    font-size: 13px;
    border-radius: 25px;
    color: #333;
}

/* --- 資料チェック --- */
.documents-section {
    background: var(--gray-bg);
}

.documents-img-area {
    width: 100%;
    height: 160px;
    background: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
}

.documents-desc {
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 15px;
}

/* --- オープンキャンパスCTA --- */
.oc-cta-section {
    background: #c8daf0;
    color: #333;
    text-align: center;
    padding: 35px 15px;
}

.oc-cta-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.oc-cta-img {
    width: 100%;
    height: 120px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
    margin-bottom: 20px;
}

.oc-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    border-radius: 30px;
}

.oc-cta-btn:hover {
    background: #333;
    color: #fff;
    opacity: 1;
}

/* --- S大の学びがもっとわかるコンテンツ集（横スライダー） --- */
.contents-slider-section {
    background: #fff;
    padding-bottom: 40px;
}

.contents-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 15px 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.contents-slider::-webkit-scrollbar {
    height: 6px;
}

.contents-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.contents-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.contents-card-img {
    height: 90px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
}

.contents-card-text {
    padding: 10px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.3;
}

/* --- SP用：右サイドバー内容を下に表示 --- */
.block-c-sp {
    display: none;
    padding: 25px 15px;
    background: #fff;
    border-top: 10px solid var(--gray-bg);
}
