@charset "UTF-8";

:root {
    --primary-color: #00388D;
    --bg-color: #FFFFFF;
    --text-main: #333333;
    --text-light: #555555;
    --font-mincho: "Zen Old Mincho", serif;
    --font-gothic: "IBM Plex Sans JP", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sp-only {
    display: none;
}
.tb-only {
    display: none;
}
.br-sp {
    display: none;
}

body {
    font-family: var(--font-gothic);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ==================================================
   Header & Navigation
================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background-color: transparent;
    pointer-events: none;
}

.header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

.header-spacer {
    flex-grow: 1;
}

.logo-link {
    position: fixed;
    top: 50px; /* 白い背景帯の下に来るように配置 */
    left: 70px;
    height: 100px;
    display: flex;
    align-items: center;
    width: 246px; /* 従来の280pxの約88% */
    z-index: 1002; /* above header */
}

.logo-wt, .logo-blue {
    width: 100%;
    transition: opacity 0.4s ease;
}

.logo-blue { display: none; }
.logo-link:not(.is-scrolled) .logo-wt { display: block; }
.logo-link:not(.is-scrolled) .logo-blue { display: none; }
.logo-link.is-scrolled .logo-wt { display: none; }
.logo-link.is-scrolled .logo-blue { display: block; }

/* Hamburger Menu */
.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 50px;
    height: 50px;
    z-index: 1001; /* above nav */
    padding: 10px;
    transform: translateY(5px);
    pointer-events: auto;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--bg-color);
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.header.is-scrolled .hamburger span { background-color: var(--primary-color); }
.hamburger.menu-open span { background-color: var(--primary-color) !important; }

/* Hamburger Active Transform */
.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Global Nav Overlay */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #FFFFFF;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    pointer-events: auto; /* 親要素の none を上書き */
}

.global-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.nav-list {
    list-style: none;
    text-align: center;
}

.nav-list li {
    margin-bottom: 35px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.global-nav.is-active .nav-list li {
    transform: translateY(0);
    opacity: 1;
}
.global-nav.is-active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
.global-nav.is-active .nav-list li:nth-child(2) { transition-delay: 0.15s; }
.global-nav.is-active .nav-list li:nth-child(3) { transition-delay: 0.2s; }
.global-nav.is-active .nav-list li:nth-child(4) { transition-delay: 0.25s; }
.global-nav.is-active .nav-list li:nth-child(5) { transition-delay: 0.3s; }
.global-nav.is-active .nav-list li:nth-child(6) { transition-delay: 0.35s; }
.global-nav.is-active .nav-list li:nth-child(7) { transition-delay: 0.4s; }

.nav-list a {
    text-decoration: none;
    font-size: 1.2rem;
    font-family: var(--font-gothic);
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: opacity 0.3s;
}
.nav-list a:hover { opacity: 0.5; }

/* ==================================================
   Scroll Indicator
================================================== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.scroll-text {
    font-family: var(--font-mincho);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 200; /* made thinner as requested */
    animation: textBlink 3s infinite ease-in-out;
}

.scroll-line {
    width: 1px;
    height: 120px;
    position: relative;
}

.scroll-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    left: -3px; /* 1pxの線の真ん中に7pxの丸を配置 (0.5px - 3.5px) */
    top: 0;
    animation: dotBounce 6s infinite ease-in-out; /* Slowed down to 6s */
}

/* White version */
.scroll-white .scroll-text { color: var(--bg-color); }
.scroll-white .scroll-line { background-color: var(--bg-color); }
.scroll-white .scroll-dot { background-color: var(--bg-color); }

/* Blue version */
.scroll-blue .scroll-text { color: var(--primary-color); }
.scroll-blue .scroll-line { background-color: var(--primary-color); }
.scroll-blue .scroll-dot { background-color: var(--primary-color); }

/* Placement variants */
.fv-scroll {
    position: absolute;
    bottom: -60px; /* Straddling the boundary of section1 */
    right: calc(12% - 15px);
    z-index: 20;
}

.fv-scroll .scroll-line {
    background: linear-gradient(to bottom, var(--bg-color) 50%, var(--primary-color) 50%);
}

.fv-scroll .scroll-dot {
    background-color: transparent;
    animation: dotBounceFv 6s infinite ease-in-out;
}

.s3-scroll {
    margin: 80px auto 0;
}

/* Decorator (No text) */
.decorator-only .scroll-text { display: none; }
.decorator-only { position: absolute; top: 0; }
.decorator-only .scroll-line { height: 400px; }
.decorator-left { left: 0; top: -113px; }
.decorator-right { right: 0; }
.decorator-value { left: -140px; top: 420px; z-index: 10; }


.s3-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: calc(12% - 15px); /* Section 1と同じ横位置 */
    display: none !important; /* スマホ版以外では非表示 */
}

/* 768px以下での意図しない表示を防ぐため、PC版・タブレット版では確実に非表示 */
.s3-scroll-indicator-sp {
    display: none !important;
}

@keyframes textBlink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes dotBounce { 0% { top: 0; } 50% { top: calc(100% - 7px); } 100% { top: 0; } }

@keyframes dotBounceFv {
    0% { top: 0; background-color: var(--bg-color); }
    24.9% { background-color: var(--bg-color); }
    25% { background-color: var(--primary-color); }
    50% { top: calc(100% - 7px); background-color: var(--primary-color); }
    74.9% { background-color: var(--primary-color); }
    75% { background-color: var(--bg-color); }
    100% { top: 0; background-color: var(--bg-color); }
}

/* ==================================================
   Giant Texts
================================================== */
.giant-text-container {
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 1;
}

.giant-text {
    font-family: var(--font-mincho);
    font-weight: 500; /* 400から500へ */
    line-height: 0.75;
    letter-spacing: -0.04em;
    opacity: 1; /* 0.9から1へ */
}

.fade-in-blur {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.05);
    transition: opacity 3s cubic-bezier(0.2, 0.8, 0.2, 1), filter 3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in-blur.is-visible {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
}

.giant-s3.giant-text-container {
    flex-direction: row;
    width: 100%;
    left: 0;
    top: 100px;
    overflow: hidden;
    padding: 50px 0; /* ぼかしが切れないように余白を追加 */
}

.marquee-content {
    display: flex;
    gap: 80px;
    padding-right: 80px;
    animation: marquee-scroll 100s linear infinite;
    will-change: transform;
}

.giant-s3 .giant-text {
    font-size: 10vw;
    white-space: nowrap;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.giant-white .giant-text { color: var(--bg-color); }
.giant-white .giant-text.is-visible { opacity: 0.27; filter: blur(6px); }

.giant-blue .giant-text { color: var(--primary-color); opacity: 0; filter: blur(8px); transition: opacity 2s ease, filter 2s ease; }
.giant-blue.is-visible .giant-text { opacity: 0.1; filter: blur(8px); }

.giant-bottom-left {
    position: absolute;
    bottom: 2vh; 
    left: 0;
    gap: 0;
    width: 100%;
    overflow: hidden;
    padding-bottom: 20px;
    margin-bottom: -20px; /* 文字の位置は変えずに、マスク（枠）だけを下へ広げる */
}
.giant-bottom-left .giant-text { font-size: 16vw; }

.giant-s3 {
    position: absolute; top: 15%; left: 0;
    padding-left: 5%;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}
.giant-s3 .giant-text { font-size: 14vw; }

/* ==================================================
   Section 1 (FV)
================================================== */
.section1 {
    position: relative;
    width: 100%;
    height: 900px;
    overflow: visible; /* Changed to visible to let scroll indicator break out */
}

.fv-bg-color {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--primary-color);
    z-index: 0;
    overflow: hidden;
}

.fv-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.15; /* 透過させて青に馴染ませる */
    mix-blend-mode: luminosity; /* より重厚感のあるブレンド */
    overflow: hidden;
}
.fv-bg-img img { width: 100%; height: 100%; object-fit: cover; }

.fv-content {
    position: relative; z-index: 2; width: 100%; max-width: 1920px; height: 100%; margin: 0 auto;
}

.fv-message {
    position: absolute;
    bottom: 15%;
    right: 12%;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    color: var(--bg-color);
}

.fv-title {
    font-family: var(--font-mincho);
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

.fv-vertical-text {
    font-family: var(--font-mincho);
    writing-mode: vertical-rl;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 2.2;
    letter-spacing: 0.12em;
    padding-bottom: 200px;
    opacity: 0.9;
}

/* ==================================================
   Section 2
================================================== */
.section2 {
    max-width: 1184px;
    margin: 0 auto;
    padding: 300px 20px;
    position: relative;
    z-index: 20; /* 大幅に上げて手前へ */
}

.mvv-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 300px;
    position: relative;
}

.mvv-block:last-child { margin-bottom: 0; }

/* Mission Layout (Bleed Right, Shift Text Right) */
.mission-block .mvv-text-side {
    margin-left: 140px;
}
.mission-block .mvv-img-side {
    margin-right: calc(50% - 50vw);
    width: calc(50vw - 10%);
}

/* Vision Layout (Bleed Left, Shift Text Left) */
.vision-block .mvv-text-side {
    margin-right: 140px;
}
.vision-block .mvv-img-side {
    margin-left: calc(50% - 50vw);
    width: calc(50vw - 10%);
}

.mvv-text-side { width: 42%; position: relative; }
.mvv-img-side { width: 48%; position: relative; }

.img-shadow {
    box-shadow: 0 20px 40px rgba(0, 56, 141, 0.08);
    border-radius: 4px;
    overflow: hidden;
    height: 480px;
}
.img-shadow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.right-align {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mvv-label {
    display: flex;
    flex-direction: column;
}
.right-align .mvv-label { align-items: flex-end; }

.label-en {
    font-family: var(--font-mincho);
    font-size: 5.5rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.02em;
    opacity: 0.9;
}

.label-ja {
    font-family: var(--font-gothic);
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: -10px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.mvv-heading {
    font-family: var(--font-mincho);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.6;
    margin-top: 20px;
    letter-spacing: 0.1em;
}

.mvv-desc {
    font-size: 0.9375rem;
    line-height: 2.4;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: left;
}

/* Value block */
.value-block {
    flex-direction: column;
    align-items: stretch;
}

.value-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    position: relative;
    margin-left: 140px;
    margin-right: 140px;
}

.value-col {
    display: flex;
    flex-direction: column;
}
.value-col-left { flex: 0 0 20%; }
.value-col-center {
    flex: 0 0 45%;
    margin-left: 40px;
}
.value-col-center .mvv-heading {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2rem;
    line-height: 1.4;
}

.indent-text {
    display: block;
    padding-left: 1.1em;
}
.value-col-right { flex: 0 0 30%; }

.value-sub {
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
}

.value-icons {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-left: 140px;
    margin-right: 140px;
}

.value-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle {
    width: 150px;
    height: 150px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--bg-color);
    box-shadow: 0 15px 30px rgba(0, 56, 141, 0.15);
    transition: transform 0.4s ease;
    overflow: hidden;
}

.icon-circle img {
    width: 80px; /* アイコンを適切なサイズに */
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 青背景に映えるよう白抜きに */
}

.icon-circle:hover { transform: translateY(-10px); }

.value-name {
    font-family: var(--font-mincho);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.value-desc {
    font-family: var(--font-gothic);
    font-size: 0.85rem;
    line-height: 1.8;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

/* ==================================================
   Section 3
================================================== */
.section3 {
    position: relative;
    padding: 150px 0;
    background-color: #E6EEF8; /* グレーからキーカラー寄りの薄いブルーへ */
    overflow: hidden;
    z-index: 1; /* 後ろへ */
}

.s3-content {
    position: relative;
    z-index: 2;
    max-width: 1184px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.s3-title {
    font-family: var(--font-mincho);
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.s3-line {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 auto 50px;
}

.s3-desc {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-main);
    margin-bottom: 80px;
}

.partner-cards {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.partner-card {
    flex: 1;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 56, 141, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 56, 141, 0.12);
}

.card-img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.partner-card:hover .card-img { transform: scale(1.05); }

.card-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-family: var(--font-gothic);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 2;
}

.card-body {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-text {
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 30px;
    flex: 1;
}

.card-result {
    background: #F4F7FB;
    padding: 18px 22px;
    border-radius: 14px;
}

.result-label {
    display: block;
    font-family: var(--font-gothic);
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================================================
   Footer
================================================== */
.container {
    max-width: 1184px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer {
    position: relative;
    background-color: #fff;
    padding: 0 0 80px;
    overflow: hidden;
}

.footer-line {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 100px;
}

#footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1184px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-logo-wrap {
    margin-bottom: 45px;
}

.footer-logo {
    height: 100px;
    width: auto !important;
}

.footer-info {
    font-family: var(--font-gothic);
    font-size: 0.85rem;
    color: #666;
    line-height: 2.2;
    margin-bottom: 60px;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}
.contact-link:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-family: var(--font-mincho);
    font-size: 0.7rem;
    color: #aaaaaa;
    letter-spacing: 0.05em;
}

.footer-right {
    margin-top: 0;
}

.univ-logo-box {
    border: 1px solid #eeeeee;
    background-color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-univ-logo {
    height: 77px;
    width: auto !important;
}

/* ==================================================
   Animations Common
================================================== */
.fade-in-target, .fade-in-blur, .fade-in-right, .fade-in-left {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-target {
    transform: translateY(40px);
}

.fade-in-right {
    transform: translateX(80px);
}

.fade-in-left {
    transform: translateX(-80px);
}

.fade-in-target.is-visible, 
.fade-in-right.is-visible, 
.fade-in-left.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ==================================================
   Desktop Only Overrides (min-width: 1025px)
================================================== */
@media (min-width: 1025px) {
    /* Section2のValue下部の余白をさらに縮める */
    .section2 {
        padding-bottom: 40px !important;
    }
    /* Vision横(右)の棒パーツを上にずらす */
    .decorator-right {
        top: -120px !important;
    }
    /* Value左のスクロールパーツをうすい青い背景(Section3)にまたがるよう下げる */
    .decorator-value {
        top: 600px !important;
    }
    /* Section3下のスクロールパーツはフェードインさせず最初から表示 */
    .s3-scroll-indicator {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==================================================
   Responsive (768px, 450px)
================================================== */
@media (max-width: 768px) {
    /* Merged from 1024px */
    .container { padding: 0 80px !important; }
    .footer-line { background-clip: content-box; }
    .fv-message { right: 5%; bottom: 15%; }
    .mvv-block { flex-direction: column; gap: 60px; margin-bottom: 120px; }
    .mvv-text-side, .mvv-img-side { width: 100%; margin: 0 !important; }
    .right-align, .right-align .mvv-label { text-align: left; align-items: flex-start; }
    .vision-block { flex-direction: column-reverse; }
    .decorator-left, .decorator-right { display: none; }
    .value-header { flex-direction: column; align-items: flex-start; gap: 30px; }
    .value-title-wrap { text-align: left; }
    .value-icons { flex-wrap: wrap; }
    .value-item { min-width: 45%; margin-bottom: 40px; }
    .partner-cards { flex-direction: column; }
    .giant-text { font-size: 20vw; }
    .container { padding: 0 60px !important; }
    .footer-line { margin-bottom: 60px !important; }
    /* Navigation - Synced with index */
    .header {
        padding: 0 20px 0 35px;
        height: 70px;
        background-color: #FFFFFF !important;
    }
    .logo-link {
        top: 16px;
        left: 35px;
        height: 38px;
        width: auto;
    }
    .logo-wt { display: none !important; }
    .logo-blue { display: block !important; height: 100%; width: auto; }
    .hamburger {
        transform: translateY(0);
        gap: 7px;
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    .hamburger span {
        width: 30px;
        background-color: var(--primary-color) !important;
    }
    /* ハンバーガーメニューが×になる時のアニメーションズレを防止するため、ここでのtranslateY(8px)の上書きを削除（PC側の9pxを継承） */
    .nav-list a {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }
    .nav-list li {
        margin-bottom: 25px;
    }
    .fv-title { font-size: 2.2rem; }
    .fv-message { flex-direction: column; align-items: flex-start; gap: 30px; bottom: 100px; left: 20px; right: auto; }
    .fv-vertical-text { writing-mode: horizontal-tb; padding-bottom: 0; }
    .giant-bottom-left .giant-text { font-size: 24vw; }
    .label-en { font-size: 3.5rem; }
    .scroll-indicator { right: 20px; bottom: 20px; }
    .footer-logos { flex-direction: column; gap: 30px; }
    .footer { padding-bottom: 80px !important; }

    /* ==================================================
       タブレット版 (Section1,2,3) のレイアウト調整用
       （スマホ版からのコピー・後で微調整するための一時ペースト）
    ================================================== */
    /* ぼかし巨大文字のぼかしを少し取る */
    .giant-bottom-left .giant-text.is-visible {
        filter: blur(4px);
    }

    /* 巨大文字は今の大きさ・位置のまま */
    .giant-bottom-left {
        bottom: auto;
        top: 75px; /* ナビゲーション白帯のすぐ下 */
    }
    .giant-bottom-left .giant-text {
        font-size: 27vw; /* 画面幅いっぱいに可変するよう指定 */
        line-height: 0.85;
    }

    /* 青い背景の高さを削って短くする */
    .section1 {
        height: 600px;
    }

    /* メッセージ（大コピー・小コピー）を右側に移動 */
    .fv-message {
        display: block !important;
        position: absolute !important;
        top: 100px !important;
        left: auto !important;
        right: 60px !important; /* タブレット幅に合わせて60pxに */
        bottom: auto !important;
        width: 140px !important;
        height: 450px !important;
        z-index: 10;
    }

    /* 大コピー（タイトル）のサイズと位置の調整 */
    .fv-title {
        position: absolute !important;
        top: 155px !important;
        left: 0 !important;
        right: auto !important;
        writing-mode: vertical-rl;
        font-size: 2.0rem;
        line-height: 1.5;
        letter-spacing: 0.15em;
        margin: 0 !important;
    }

    /* スクロールパーツの位置調整 */
    .fv-scroll {
        bottom: -60px;
        left: 60px; /* タブレット幅に合わせて60pxに */
        right: auto;
    }

    /* 小コピー（説明文）の縦書き化と1行化 */
    .fv-vertical-text {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        writing-mode: vertical-rl;
        font-size: 0.9rem;
        line-height: 2.0;
        letter-spacing: 0;
        opacity: 0.8;
        white-space: nowrap !important;
    }
    
    .fv-vertical-text br {
        display: none !important;
    }

    /* 全体コンテンツ幅を合わせる */
    .mvv-block {
        padding: 0 !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .vision-block {
        margin-top: -40px !important;
        margin-bottom: 75px !important;
    }
    
    /* 画像の影を非表示 */
    .img-shadow {
        box-shadow: none !important;
    }

    /* Value横のバーを非表示 */
    .decorator-value {
        display: none !important;
    }

    /* --- Section 2 順番入れ替えと画像調整 --- */
    .mvv-text-side {
        display: contents !important;
    }
    
    /* 1. 青い文字の塊を横並び・下揃えに */
    .mvv-label {
        order: 1 !important;
        margin-bottom: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-end !important;
        gap: 0 15px !important;
    }
    
    /* 英語の上下にある文字を調整 */
    .label-ja {
        width: 100% !important;
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }
    .label-en {
        line-height: 1 !important;
    }
    .mvv-heading {
        font-size: 16px !important;
        margin-top: 31px !important;
    }
    
    /* 2. 画像を真ん中にし、PC版のはみ出しマージンをリセット */
    .mvv-img-side {
        order: 2 !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    .mvv-img-side .img-wrap {
        width: 100%;
        height: 250px; /* タブレット幅を考慮し少し高めに仮置き */
    }
    .mvv-img-side .img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* 3. 小さい文字を一番下にし、14pxに変更 */
    .mvv-desc {
        order: 3 !important;
        font-size: 14px !important;
        line-height: 1.8;
    }
    
    /* PC版の右揃えをリセット */
    .right-align {
        text-align: left !important;
        align-items: flex-start !important;
    }
    .right-align .mvv-label {
        align-items: flex-start !important;
    }
    
    /* Valueの青い文字と小さい文字の配置・揃えを横並びに */
    .value-header {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        column-gap: 15px !important;
        row-gap: 15px !important;
        margin-bottom: 30px !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .value-col-left {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        align-self: end !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 0 !important;
    }
    .value-col {
        margin-bottom: 0 !important;
    }
    .value-col-center {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        align-self: end !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
    }
    .value-col-center .mvv-heading {
        font-size: 16px !important;
        margin-top: 31px !important;
    }
    .value-col-center .mvv-heading br {
        display: none !important;
    }
    .value-col-center .indent-text {
        padding-left: 0 !important;
        display: inline !important;
    }
    .value-col-right {
        grid-column: 1 / 3 !important;
        grid-row: 2 / 3 !important;
        align-self: start !important;
        width: 100% !important;
        margin-top: 15px !important;
    }
    .value-sub {
        font-size: 14px !important;
        line-height: 1.8 !important;
        letter-spacing: -0.04em !important;
    }

    /* Valueのアイコンと文字を小さくし、横縦2列に */
    .value-icons {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 20px 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .value-item { 
        min-width: 0 !important;
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        margin-bottom: 0 !important;
    }
    .icon-circle {
        width: 110px !important;
        height: 110px !important;
        margin-bottom: 12px !important;
    }
    .icon-circle img {
        width: 55px !important;
        height: 55px !important;
    }
    .value-name {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    .value-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Section3 スクロールパーツの再配置 */
    .s3-scroll-indicator {
        display: none !important;
    }
    .s3-scroll-indicator-sp {
        position: absolute;
        bottom: -60px;
        right: 60px; /* タブレット幅に合わせて60pxに */
        z-index: 100 !important;
        display: flex !important;
    }
    .s3-scroll-indicator-sp .scroll-text {
        position: relative !important;
        left: -20px !important;
    }


    /* --- Section 2 & 3 の追加調整 --- */
    .section2 {
        padding: 118px 60px 80px !important; /* タブレット幅に合わせて60pxに */
    }
    .section3 {
        padding: 110px 60px 90px !important; /* タブレット幅に合わせて60pxに */
    }
    .s3-title {
        font-size: 26px !important;
        line-height: 1.5 !important;
    }
    .s3-title br.sp-only:first-of-type {
        display: block !important;
    }
    .s3-title br.sp-only:last-of-type {
        display: none !important;
    }

    /* Footer Canvasをindex・ROOMと合わせる（タブレット版のみ） */
    #footer-canvas {
        top: -500px !important;
        height: calc(100% + 500px) !important;
        z-index: 0 !important;
        display: block !important;
    }

    .card-text,
    .card-result p,
    .result-label,
    .card-badge {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
    .s3-content {
        padding: 0 !important;
    }
    
    .s3-line {
        width: 30px !important;
        margin-bottom: 30px !important;
    }
    .s3-desc {
        font-size: 16px !important;
        line-height: 1.8 !important;
        margin-bottom: 40px !important;
    }
    .hide-on-450 {
        display: none !important;
    }
    .partner-card {
        max-width: 95%;
        margin: 0 auto;
    }
    .card-body {
        padding: 20px 20px !important;
    }
    .card-text {
        margin-bottom: 20px !important;
        text-align: justify !important;
        text-justify: inter-ideograph !important;
    }

    /* FVの巨大背景文字の右はみ出し防止 */
    .giant-bottom-left {
        width: 100% !important;
        overflow: hidden !important;
        padding-bottom: 40px !important;
    }

    /* Section 3の背景巨大文字の右はみ出し防止 */
    .giant-s3 {
        left: 0 !important;
        width: 100% !important;
        top: 50px !important;
    }
    .marquee-content {
        gap: 15px !important;
        padding-right: 15px !important;
        animation-duration: 40s !important;
    }
    .giant-s3 .giant-text {
        font-size: 26vw !important;
    }
    .giant-s3 .giant-text.is-visible,
    .giant-blue.is-visible .giant-text {
        filter: blur(8px) !important;
        opacity: 0.15 !important;
    }
    .tb-only {
        display: block !important;
    }
    /* ==================================================
       タブレット版コピー ここまで
    ================================================== */

    /* Footer PC/SP display switch */
    .pc-only {
        display: none !important;
    }
    .sp-only {
        display: block !important;
    }
    .value-desc br.sp-only {
        display: none !important;
    }
    .footer-univ-logo-sp {
        margin-bottom: 20px;
    }
    .footer-univ-logo-sp .footer-univ-logo {
        height: 45px;
        width: auto;
        display: block;
    }
    .footer-content { position: relative; display: block; width: 100%; }
    .footer-left { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; }
    .footer-logo-wrap { margin-bottom: 25px; height: 60px; display: flex; align-items: center; }
    .footer-logo { height: 60px; width: auto; }
    .footer-info { margin-bottom: 30px; font-size: 0.8rem; width: 100%; }
    .footer-copyright { font-size: 0.7rem; text-align: left; width: 100%; position: relative; z-index: 2; line-height: 1.35 !important; }
    .footer-right { position: absolute; top: 0; right: 60px; margin-top: 0; display: flex; align-items: center; height: 60px; }
    .univ-logo-box { padding: 10px 20px; max-width: 100%; box-sizing: border-box; }
}

@media (max-width: 450px) {
    html {
        overflow-x: hidden !important;
    }
    .container { padding: 0 30px !important; }
    .tb-only { display: none !important; }
    .header {
        padding: 0 15px 0 25px !important;
        height: 70px !important;
    }
    .logo-link {
        left: 25px;
    }
    /* ぼかし巨大文字のぼかしを少し取る */
    .giant-bottom-left .giant-text.is-visible {
        filter: blur(2.5px);
    }

    /* 巨大文字は今の大きさ・位置のまま */
    .giant-bottom-left {
        bottom: auto;
        top: 75px; /* ナビゲーション白帯のすぐ下 */
    }
    .giant-bottom-left .giant-text {
        font-size: 27vw; /* 画面幅いっぱいに可変するよう指定 */
        line-height: 0.85;
    }

    /* 青い背景の高さを削って短くする */
    .section1 {
        height: 600px;
    }

    /* メッセージ（大コピー・小コピー）を右側に移動 */
    .fv-message {
        display: block !important; /* flexボックスのバグを回避するためブロック要素に変更 */
        position: absolute !important;
        top: 100px !important;
        left: auto !important; /* 768px以下の left: 20px を確実に解除 */
        right: 30px !important; /* 右側に移動 */
        bottom: auto !important;
        width: 140px !important; /* 大コピー（約80px）＋小コピー（14px）＋隙間を考慮した幅 */
        height: 450px !important;
        z-index: 10;
    }

    /* 大コピー（タイトル）のサイズと位置の調整 */
    .fv-title {
        position: absolute !important;
        top: 155px !important;
        left: 0 !important;
        right: auto !important;
        writing-mode: vertical-rl;
        font-size: 2.0rem;
        line-height: 1.5;
        letter-spacing: 0.15em;
        margin: 0 !important;
    }

    /* スクロールパーツの位置調整 */
    .fv-scroll {
        bottom: -60px; /* 線（長さ120px）の真ん中がセクション境界に合うように跨がせます */
        left: 30px;    /* 左側に移動 */
        right: auto;
    }

    /* 小コピー（説明文）の縦書き化と1行化 */
    .fv-vertical-text {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        writing-mode: vertical-rl; /* 768pxの横書き指定を上書き */
        font-size: 0.9rem;
        line-height: 2.0;
        letter-spacing: 0; /* 文字間をさらに詰める */
        opacity: 0.8;
        white-space: nowrap !important;
    }
    
    .fv-vertical-text br {
        display: none !important; /* スマホでは改行を無効にして1行にする */
    }

    /* 全体コンテンツ幅をindexのスマホサイズ(padding: 0 30px)に合わせる */
    .mvv-block {
        padding: 0 !important; /* セクション側のpaddingに寄せるためリセット */
        flex-direction: column !important; /* vision-blockのcolumn-reverseを確実に上書き */
        align-items: flex-start !important; /* 中央揃えを解除し左端に揃える */
        gap: 0 !important; /* タブレット用の gap: 60px をリセット */
    }
    .vision-block {
        margin-top: -40px !important;
        margin-bottom: 75px !important;
    }
    
    /* 画像の影を非表示 */
    .img-shadow {
        box-shadow: none !important;
    }

    /* Value横のバーを非表示 */
    .decorator-value {
        display: none !important;
    }

    /* --- Section 2 順番入れ替えと画像調整 --- */
    .mvv-text-side {
        display: contents !important; /* テキストの枠を確実に解除 */
    }
    
    /* 1. 青い文字の塊を一番上に */
    .mvv-label {
        order: 1 !important;
        margin-bottom: 15px !important; /* 4pxは狭すぎたため15pxに調整（元20px） */
    }
    
    /* 英語の上下にある文字を小さく */
    .label-ja {
        font-size: 13px !important;
    }
    .mvv-heading {
        font-size: 14px !important; /* 1.1remからさらに縮小 */
        margin-top: 5px !important; /* 少し隙間を詰める */
    }
    
    /* 2. 画像を真ん中にし、PC版のはみ出しマージンをリセット */
    .mvv-img-side {
        order: 2 !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important; /* 4pxは狭すぎたため15pxに調整（元20px） */
    }
    .mvv-img-side .img-wrap {
        width: 100%;
        height: 180px; 
    }
    .mvv-img-side .img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* 3. 小さい文字を一番下にし、14pxに変更 */
    .mvv-desc {
        order: 3 !important;
        font-size: 14px !important;
        line-height: 1.8;
    }
    
    /* PC版の右揃えをリセット */
    .right-align {
        text-align: left !important;
        align-items: flex-start !important;
    }
    .right-align .mvv-label {
        align-items: flex-start !important;
    }
    
    /* Valueの青い文字と小さい文字の配置・揃えを他と同じに */
    .value-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        margin-bottom: 30px !important;
        padding: 0 !important; /* 二重padding防止の念押し */
        margin-left: 0 !important; /* PC版の140pxをリセット */
        margin-right: 0 !important; /* PC版の140pxをリセット */
    }
    .value-col {
        margin-bottom: 4px !important; /* Mission/Visionと同じ余白に */
    }
    .value-col-left {
        align-self: flex-start !important; /* タブレット版のend指定をリセットして左揃えに */
    }
    .value-col-center {
        margin-left: 0 !important; /* PC版のmarginリセット */
        margin-bottom: 12px !important; /* 下の小さい文字との間隔を開ける */
        align-self: flex-start !important; /* タブレット版のend（右寄り）指定をリセットして左揃えに */
        text-align: left !important;
    }
    .value-col-center .mvv-heading {
        font-size: 14px !important; /* 他と同じ14pxに */
        margin-top: 5px !important;
    }
    .value-col-center .mvv-heading br {
        display: none !important; /* 改行を非表示にして1行にする */
    }
    .value-col-center .indent-text {
        padding-left: 0 !important; /* インデントを解除して左揃え */
        display: inline !important; /* block指定を解除し改行を防いで1行にする */
    }
    .value-sub {
        font-size: 14px !important; /* 14pxに統一 */
        line-height: 1.8 !important;
        letter-spacing: -0.04em !important;
    }

    /* Section3 スクロールパーツの位置移動（背景境界にまたがるように） */
    .s3-scroll-indicator {
        bottom: auto !important;
        top: -60px !important; /* 線が背景の境界にまたがるように */
        right: 30px !important;
        z-index: 100 !important; /* Section2の下に隠れないように最前面へ */
    }

    /* Valueのアイコンと文字を小さくし、横縦2列に */
    .value-icons {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 20px 10px !important; /* 縦20px、横10pxの隙間 */
        margin-left: 0 !important; /* PC版のmarginリセット */
        margin-right: 0 !important;
    }
    .value-item { 
        min-width: 0 !important;
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        margin-bottom: 0 !important;
    }
    .icon-circle {
        width: 90px !important; /* 150px -> 90px */
        height: 90px !important;
        margin-bottom: 12px !important;
    }
    .icon-circle img {
        width: 45px !important; /* 80px -> 45px */
        height: 45px !important;
    }
    .value-name {
        font-size: 1rem !important; /* 1.2rem -> 1rem */
        margin-bottom: 8px !important;
    }
    .value-desc {
        font-size: 12px !important; /* 0.85rem -> 12px */
        line-height: 1.5 !important;
    }
    .value-desc br.sp-only {
        display: inline !important;
    }

    .footer-right { right: 30px; }
    .footer-logo-wrap { height: 75px !important; margin-bottom: 30px !important; }
    .footer-logo { height: 75px !important; width: auto !important; }
    .footer { padding-bottom: 80px !important; }



    /* Section3 スクロールパーツの再配置（Section2の末尾から下に飛び出させる） */
    .s3-scroll-indicator {
        display: none !important; /* 元のパーツは非表示 */
    }
    .s3-scroll-indicator-sp {
        position: absolute;
        bottom: -60px; /* Section2の下端から60px下にはみ出させる（境界線またぎ） */
        right: 30px;
        z-index: 100 !important;
        display: flex !important; /* sp-onlyのdisplay:noneを上書き */
    }
    .s3-scroll-indicator-sp .scroll-text {
        left: 0px !important;
    }

    /* --- Section 2 & 3 の追加調整 (復活・二重padding解消) --- */
    .section2 {
        padding: 118px 30px 80px !important; /* 左右を 30px、下部を少し縮小 */
    }
    .section3 {
        padding: 110px 30px 90px !important; /* 上下余白を縮小 */
    }
    .s3-title {
        font-size: 21px !important;
        line-height: 1.5 !important;
    }
    .s3-desc,
    .card-text,
    .card-result p,
    .result-label,
    .card-badge {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
    .s3-content {
        padding: 0 !important; /* セクション側のpaddingに寄せるためリセット */
    }
    
    .s3-line {
        width: 30px !important;
        margin-bottom: 30px !important;
    }
    .s3-desc {
        margin-bottom: 40px !important;
    }
    .br-sp {
        display: block !important;
    }
    .hide-on-450 {
        display: none !important;
    }
    .partner-card {
        max-width: 95%;
        margin: 0 auto;
    }
    .card-body {
        padding: 20px 20px !important;
    }
    .card-text {
        margin-bottom: 20px !important;
        text-align: justify !important;
        text-justify: inter-ideograph !important;
    }

    /* FVの巨大背景文字の右はみ出し防止 (復活) */
    .giant-bottom-left {
        width: 100% !important;
        overflow: hidden !important;
        padding-bottom: 40px !important; /* ぼかしが切れないようにマスク範囲（padding）を下へ広げる */
    }

    /* Section 3の背景巨大文字の右はみ出し防止 (復活) */
    .giant-s3 {
        left: 0 !important;
        width: 100% !important;
        top: 50px !important; /* 青い文字の背面に移動 */
    }
    .marquee-content {
        gap: 15px !important;
        padding-right: 15px !important;
        animation-duration: 40s !important;
    }
    .giant-s3 .giant-text {
        font-size: 32vw !important;
    }
    .giant-s3 .giant-text.is-visible,
    .giant-blue.is-visible .giant-text {
        filter: blur(4px) !important;
        opacity: 0.15 !important;
    }
}
