﻿@charset "UTF-8";

/*
Theme Name: JC Bridge
Theme URI: 
Author: 
Description: 株式会社日中総合学習学院サイトです。
Version: 1.0.0
Text Domain: jcbridge
*/

/* ==========================================================================
   Base Variables & Reset
   ========================================================================== */
:root {
    /* Colors - Warm & Friendly */
    --c-white: #FFFFFF;
    --c-text-main: #504946;
    /* Softer dark gray/brown */
    --c-text-sub: #7A726D;
    /* Warm gray */
    --c-accent: #D81F35;
    /* Sandy Brown - softer orange */
    --c-accent-hover: #B51A2C;
    --c-bg-warm: #FFFFFF;
    /* Warm off-white/beige */
    --c-bg-accent-light: #FFF4F6;
    /* Very light orange/cream */
    --c-border: #E8E5DF;
    /* Warm border */

    /* Typography */
    --font-base: "Zen Maru Gothic", "Noto Sans JP", "游ゴシック", "Yu Gothic", sans-serif;
    /* Rounded Sans if avail */
    --font-size-base: 16px;
    --line-height-base: 1.9;
    /* More breathing room */
    --letter-spacing-base: 0.08em;
    /* Wider spacing */

    /* Spacing */
    --sp-section: 120px;
    /* More whitespace */
    --sp-section-sm: 80px;
    --width-container: 1080px;

    /* Radius */
    --r-card: 24px;
    --r-btn: 50px;

    /* Label Colors */
    --c-label-bg: #FDECEF;
    --c-label-text: #b51a2c;
}

/* Reset / Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--c-text-main);
    line-height: var(--line-height-base);
    letter-spacing: var(--letter-spacing-base);
    font-size: var(--font-size-base);
    background-color: var(--c-bg-warm);
    /* Global warm bg */
    background-image: radial-gradient(#E8E5DF 1px, transparent 1px);
    /* Subtle noise/dot pattern */
    background-size: 20px 20px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-radius: 12px;
    /* Soften all images slightly */
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utilities / Layout
   ========================================================================== */
/* ==========================================================================
   Utilities / Layout
   ========================================================================== */
.l-container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 40px;
    /* More breathing room */
}

.l-section {
    padding: var(--sp-section) 0;
}

.l-section--gray {
    background-color: var(--c-bg-accent-light);
    /* Warm light orange instead of gray */
}

.c-heading {
    font-size: 2rem;
    font-weight: 500;
    /* Lighter weight */
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    color: var(--c-accent);
    letter-spacing: 0.15em;
}

.c-heading::after {
    content: "";
    /* Organic underline */
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--c-accent);
    margin: 1.5rem auto 0;
    border-radius: 4px;
    /* Rounded line */
    opacity: 0.6;
}

.c-heading--small {
    font-size: 1.4rem;
    margin-bottom: 0;
    text-align: left;
    color: var(--c-text-main);
}

.c-heading--small::after {
    content: none;
}

.u-bg-number {
    position: absolute;
    top: -2rem;
    right: -1rem;
    font-size: 11rem;
    font-weight: 800;
    line-height: 1;
    color: var(--c-accent);
    opacity: 0.05;
    z-index: -1;
    user-select: none;
    font-family: serif;
    transition: transform 0.8s ease;
}

.p-service-card:hover .u-bg-number {
    transform: translate(-10px, 10px) scale(1.05);
}

.u-deco-line {
    position: absolute;
    background: var(--c-accent);
    opacity: 0.15;
}

.u-deco-line--v {
    width: 1px;
    height: 100px;
}

.u-deco-dot {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(var(--c-accent) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.1;
    z-index: -1;
}

.u-hidden-sp {
    display: inline;
}

.u-text-center {
    text-align: center;
}

@media (max-width: 768px) {
    .u-hidden-sp {
        display: none;
    }
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.c-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 3.5rem;
    border-radius: var(--r-btn);
    /* Full pill */
    font-weight: bold;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.1em;
}

.c-btn--primary {
    background: var(--c-accent);
    /* Flat warm color */
    color: var(--c-white);
    box-shadow: 0 4px 15px rgba(216, 31, 53, 0.4);
    /* Soft colored shadow */
}

.c-btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(216, 31, 53, 0.6);
    background: var(--c-accent-hover);
}

.c-btn--large {
    font-size: 1.25rem;
    padding: 1.4rem 5rem;
}

.c-btn--header {
    padding: 0.55rem 1.4rem;
    font-size: 0.84rem;
    border: 2px solid var(--c-accent);
    /* Thicker soft border */
    color: var(--c-accent);
    background: rgba(255, 255, 255, 0.9);
}

.c-btn--header:hover {
    background-color: var(--c-accent);
    color: var(--c-white);
    box-shadow: 0 4px 12px rgba(216, 31, 53, 0.3);
}

/* Cards */
.c-card {
    display: block;
    background: var(--c-white);
    border: none;
    /* No border */
    /* border-top removed */
    padding: 3rem 2.5rem;
    text-align: center;
    border-radius: var(--r-card);
    /* Large radius */
    box-shadow: 0 10px 30px rgba(122, 114, 109, 0.08);
    /* Warm gray shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.c-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(122, 114, 109, 0.15);
}

.c-card__icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--c-accent);
    opacity: 0.8;
}

.c-card__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--c-text-main);
}

.c-card__desc {
    font-size: 1rem;
    color: var(--c-text-sub);
    line-height: 1.9;
}

/* ==========================================================================
   Page Sections
   ========================================================================== */

/* ==========================================================================
   Page Sections
   ========================================================================== */

/* Header */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: min(1560px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 12px;
    gap: 1.5rem;
}

.logo {
    margin: 0;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--c-text-main);
    transition: color 0.4s ease;
}

.logo__img {
    display: block;
    width: auto;
    height: 24px;
}

.logo__img--white {
    display: none;
}

.logo__main {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.logo__sub {
    margin-top: 0.15rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    color: var(--c-text-sub);
    opacity: 0.9;
}

.g-nav ul {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.g-nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--c-text-main);
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.p-service-card__lead {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.8rem;
    color: var(--c-text-main);
    position: relative;
    padding-bottom: 1rem;
}

.p-service-card__lead::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--c-accent);
    border-radius: 2px;
}

.g-nav a:not(.c-btn)::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-accent);
    transition: width 0.3s;
    border-radius: 2px;
}

.g-nav a:not(.c-btn):hover {
    color: var(--c-accent);
}

.g-nav a:not(.c-btn):hover::after {
    width: 100%;
}

.g-nav a.is-current:not(.c-btn) {
    color: var(--c-accent);
}

.g-nav a.is-current:not(.c-btn)::after {
    width: 100%;
}

/* Header Transparent State */
.l-header--transparent {
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.l-header--transparent .logo a {
    color: var(--c-white);
}

.l-header--transparent .logo__img--default {
    display: none;
}

.l-header--transparent .logo__img--white {
    display: block;
}

.l-header--transparent .logo__main,
.l-header--transparent .logo__sub {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
}

.l-header--transparent .logo__sub {
    color: rgba(255, 255, 255, 0.86);
}

.l-header--transparent .g-nav a:not(.c-btn) {
    color: var(--c-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.l-header--transparent .c-btn--header {
    border-color: var(--c-white);
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.1);
}

.l-header--transparent .c-btn--header:hover {
    background-color: var(--c-white);
    color: var(--c-accent);
}

.l-header--transparent .g-nav a.is-current:not(.c-btn)::after {
    background: var(--c-white);
}

/* Hero */
.p-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 130px 0 72px;
}

/* Hero Background Slider */
.p-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.p-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -15% auto;
    width: min(58vw, 720px);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(216, 31, 53, 0.3) 0%, rgba(216, 31, 53, 0) 68%);
    z-index: -1;
    pointer-events: none;
}

.p-hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            rgba(6, 10, 21, 0.35) 0%,
            rgba(15, 23, 42, 0.25) 45%,
            rgba(17, 24, 39, 0.13) 100%);
    z-index: 2;
}

.p-hero__bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(250, 249, 245, 0.9) 0%, rgba(250, 249, 245, 0) 30%);
    z-index: 1;
}

.p-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out, transform 9s ease-out;
    transform: scale(1.03);
}

.p-hero__slide--active {
    opacity: 1;
    transform: scale(1.11);
}

/* Hero Content */
.p-hero__content {
    position: relative;
    z-index: 10;
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
    color: var(--c-white);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2.2rem;
    align-items: end;
}

.p-hero__main {
    max-width: 760px;
}

.p-hero__eyebrow {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: 0.45rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    background: linear-gradient(120deg, rgba(216, 31, 53, 0.26), rgba(255, 255, 255, 0.08));
}

.p-hero__title {
    font-size: clamp(2rem, 4.2vw, 4rem);
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 1.4rem;
    letter-spacing: 0.08em;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
    font-feature-settings: "palt";
}

.p-hero__title-line {
    display: block;
}

.p-hero__title-line--accent {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0 0.5rem;
    background: linear-gradient(transparent 56%, #d81f35 56%);
}

.p-hero__desc {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
    line-height: 1.95;
    max-width: 620px;
}

.p-hero__desc-strong {
    color: #fff;
    font-weight: 700;
}

.p-hero__tags {
    margin: 1.35rem 0 0;
    display: flex;
    justify-content: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.p-hero__tags li {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(216, 31, 53, 0.28);
    border: 1px solid rgba(216, 31, 53, 0.62);
    box-shadow: 0 6px 14px rgba(181, 26, 44, 0.24);
}

.p-hero__cta {
    margin-top: 1.9rem;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.p-hero__panel {
    display: grid;
    gap: 1rem;
}

.p-hero__panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.p-hero__panel-card {
    position: relative;
    display: block;
    min-height: 170px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.p-hero__panel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
    border-color: rgba(255, 255, 255, 0.5);
}

.p-hero__panel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: brightness(0.98) saturate(1.05);
}

.p-hero__panel-card--primary {
    min-height: 300px;
}

.p-hero__panel-body {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.95rem 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: rgba(7, 10, 18, 0.56);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.p-hero__panel-label {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.35rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.p-hero__panel-body h3 {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.28rem;
}

.p-hero__panel-body p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.p-hero__panel-card--primary .p-hero__panel-body h3 {
    font-size: 1.16rem;
}

.p-hero__panel-card--primary .p-hero__panel-body p {
    font-size: 0.86rem;
}

@media (max-width: 1080px) {
    .p-hero {
        padding: 110px 0 56px;
    }

    .p-hero__content {
        width: min(100%, calc(100% - 60px));
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .p-hero__main {
        max-width: none;
    }

    .p-hero__panel {
        max-width: 760px;
    }

    .p-hero__panel-card--primary {
        min-height: 240px;
    }

}

.p-hero-links-sp {
    display: none;
}

.p-hero-links-sp__grid {
    display: grid;
    gap: 0.7rem;
}

.p-hero-links-sp__card {
    position: relative;
    display: block;
    min-height: 110px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 12px 24px rgba(19, 27, 44, 0.16);
}

.p-hero-links-sp__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: brightness(0.98) saturate(1.04);
}

.p-hero-links-sp__card--primary {
    min-height: 132px;
}

.p-hero-links-sp__body {
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.6rem 0.7rem;
    color: #fff;
    background: rgba(7, 10, 18, 0.56);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.p-hero-links-sp__label {
    margin-bottom: 0.2rem;
    font-size: 0.6rem;
    letter-spacing: 0.13em;
    color: rgba(255, 255, 255, 0.82);
}

.p-hero-links-sp__body h3 {
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Purpose */
.p-purpose__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    /* More space */
}

.p-purpose__item {
    text-align: center;
}

.p-purpose__icon {
    margin-bottom: 1.5rem;
    color: var(--c-accent);
    background: var(--c-bg-accent-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    /* Circle icon bg */
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.p-purpose__term {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--c-text-main);
}

.p-purpose__text {
    font-size: 1rem;
    color: var(--c-text-sub);
    text-align: left;
    line-height: 2;
}

/* Notice */
.p-notice__inner {
    background: var(--c-white);
    padding: 3rem;
    border-radius: var(--r-card);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    /* Soft float */
}

.p-notice__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--c-border);
    /* Dashed is friendlier */
}

.p-notice__icon {
    margin-right: 0.5rem;
    color: var(--c-accent);
}

.p-notice__link {
    color: var(--c-accent);
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background 0.3s;
}

.p-notice__link:hover {
    text-decoration: none;
    background: var(--c-bg-accent-light);
}

.p-notice__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.p-notice__list li::before {
    content: "●";
    /* Dot instead of generic bullet */
    position: absolute;
    left: 0;
    font-size: 0.6em;
    top: 0.6em;
    color: var(--c-accent);
}

/* Nav Cards */
.p-nav-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

/* CTA */
.p-cta__box {
    background-color: var(--c-bg-accent-light);
    /* Light warm bg */
    border-radius: var(--r-card);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.p-cta__box::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(216, 31, 53, 0.1);
    border-radius: 50%;
}

.p-cta {
    position: relative;
}

.p-cta__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: var(--c-text-main);
}

.p-cta__text {
    margin-bottom: 3rem;
    color: var(--c-text-sub);
    font-size: 1.1rem;
}

.p-cta__box--feature {
    background-size: cover;
    background-position: center;
    color: #fff;
}

.p-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(6, 17, 34, 0.78), rgba(8, 31, 45, 0.55));
}

.p-cta__feature-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.p-cta__kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.p-cta__box--feature .p-cta__title,
.p-cta__box--feature .p-cta__text {
    color: #fff;
}

.p-cta__points {
    margin: 0 auto 1.8rem;
    max-width: 640px;
    text-align: left;
}

.p-cta__points li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
}

.p-cta__points li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0.62rem;
}

/* Footer */
.l-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--c-border);
    font-size: 0.875rem;
    color: #999;
}

/* ==========================================================================
   Problem Section (NEW)
   ========================================================================== */
.p-problem {
    background: var(--c-bg-accent-light);
    position: relative;
    overflow: hidden;
}

.p-problem::before {
    content: "";
    /* Decorative circle */
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.p-problem__bubbles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.p-problem__bubble {
    background: #fff;
    border-radius: var(--r-btn);
    padding: 2rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    position: relative;
    font-weight: bold;
    color: var(--c-text-main);
    font-size: 1.1rem;
    border: 2px solid #fff;
    /* Border to stand out */
}

.p-problem__bubble::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #fff;
}

.p-problem__bubble--left {
    align-self: flex-start;
    margin-left: 10%;
    transform: rotate(-2deg);
    /* Organic feel */
}

.p-problem__bubble--right {
    align-self: flex-end;
    margin-right: 10%;
    transform: rotate(2deg);
    /* Organic feel */
}

.p-problem__solution {
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.p-problem__message {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: bold;
    color: var(--c-accent);
}

.p-problem__message .highlight {
    color: var(--c-text-main);
    background: linear-gradient(transparent 70%, rgba(216, 31, 53, 0.3) 70%);
    /* Marker style */
    display: inline-block;
    padding: 0 0.5rem;
}

/* ==========================================================================
   Curriculum Section (NEW)
   ========================================================================== */
.p-curriculum__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.p-curriculum__card {
    background: #fff;
    border: none;
    padding: 3rem 2rem;
    position: relative;
    border-radius: var(--r-card);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.p-curriculum__card:hover {
    transform: translateY(-5px);
}

.p-curriculum__num {
    font-size: 3.5rem;
    font-weight: bold;
    color: rgba(216, 31, 53, 0.15);
    /* Very light accent */
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
    font-family: sans-serif;
}

.p-curriculum__title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--c-text-main);
}

.p-curriculum__text {
    font-size: 1rem;
    color: var(--c-text-sub);
    line-height: 1.9;
}

/* ==========================================================================
   Numbers Section (NEW)
   ========================================================================== */
.p-numbers__grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    background: #fff;
    padding: 4rem;
    border-radius: var(--r-card);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.p-numbers__item {
    text-align: center;
}

.p-numbers__icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--c-accent);
}

.p-numbers__val {
    font-size: 4rem;
    font-weight: bold;
    color: var(--c-accent);
    line-height: 1;
    font-family: sans-serif;
}

.p-numbers__unit {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    color: var(--c-text-sub);
}

.p-numbers__label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    color: var(--c-text-main);
}

/* ==========================================================================
   Voices Section (NEW)
   ========================================================================== */
.p-voices__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.p-voices__item {
    background: #fff;
    border: none;
    padding: 3rem;
    border-radius: var(--r-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.p-voices__img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--c-bg-accent-light);
}

.p-voices__comment {
    font-style: normal;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.p-voices__meta {
    font-weight: bold;
    color: var(--c-accent);
    font-size: 0.95rem;
    background: var(--c-bg-accent-light);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}

/* ==========================================================================
   Flow Section (NEW)
   ========================================================================== */
.p-flow__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 2rem;
}

.p-flow__item {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.p-flow__step {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--c-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.p-flow__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--c-accent);
}

.p-flow__title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: var(--c-text-main);
}

.p-flow__desc {
    font-size: 0.9rem;
    color: var(--c-text-sub);
    line-height: 1.7;
}

.p-flow__arrow {
    flex: 0 0 40px;
    align-self: center;
    height: 2px;
    background: transparent;
    border-bottom: 2px dashed var(--c-border);
    /* Dashed connector */
    position: relative;
    margin-top: -60px;
}

/* ==========================================================================
   FAQ Section (NEW)
   ========================================================================== */
.p-faq__list {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.p-faq__item {
    background: #fff;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.p-faq__q {
    padding: 1.5rem 2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    list-style: none;
    font-size: 1.1rem;
    color: var(--c-text-main);
    display: flex;
    align-items: center;
}

.p-faq__q::before {
    content: "Q";
    color: var(--c-accent);
    font-weight: 900;
    margin-right: 1rem;
    font-size: 1.3rem;
}

.p-faq__q::-webkit-details-marker {
    display: none;
}

.p-faq__q::after {
    content: "+";
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--c-accent);
    font-weight: 300;
}

.p-faq__item[open] .p-faq__q::after {
    content: "-";
}

.p-faq__a {
    padding: 1rem 2rem 2rem 4rem;
    /* Indent answer */
    color: var(--c-text-sub);
    line-height: 1.8;
    background: var(--c-bg-warm);
    /* Slight fill for answer */
}

/* ==========================================================================
   Subpage / Table / Profile / History
   ========================================================================== */
.p-sub-hero {
    margin-top: 80px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 3rem 1rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.p-sub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.p-sub-hero__title,
.p-sub-hero__breadcrumb {
    position: relative;
    z-index: 1;
}

.p-sub-hero__title {
    font-size: 2.6rem;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
}

.p-sub-hero__breadcrumb {
    font-size: 0.95rem;
    opacity: 0.95;
}

.p-sub-hero__breadcrumb a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.p-about__content p,
.p-message__content p {
    color: var(--c-text-sub);
}

.p-philosophy__grid {
    align-items: stretch;
}

.p-future-outlook {
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(216, 31, 53, 0.12) 0%, rgba(216, 31, 53, 0) 70%),
        linear-gradient(180deg, #fffafb 0%, #fff3f7 100%);
    border: 1px solid #ecd8c2;
    border-radius: 22px;
    padding: clamp(1.6rem, 3vw, 3rem);
    box-shadow: 0 14px 28px rgba(80, 73, 70, 0.08);
}

.p-achievements {
    position: relative;
    padding-bottom: 72px;
    background:
        radial-gradient(78% 68% at 100% 0%, rgba(181, 26, 44, 0.12) 0%, rgba(181, 26, 44, 0) 72%),
        linear-gradient(180deg, #fff9fb 0%, #fff3f7 100%);
}

.p-achievements__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.p-achievements__intro {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    color: var(--c-text-sub);
    line-height: 1.9;
    text-align: center;
}

.p-achievements__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.p-achievements__item {
    position: relative;
    background: #fff;
    border: 1px solid #ecd8c2;
    border-radius: 20px;
    padding: 1.25rem 1.1rem 1.05rem;
    box-shadow: 0 12px 26px rgba(80, 73, 70, 0.1);
    overflow: hidden;
}

.p-achievements__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-hover) 100%);
}

.p-achievements__item-title {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #b51a2c;
}

.p-achievements__item-title i {
    margin-top: 0.08rem;
    color: #c61d31;
}

.p-achievements__item p {
    color: var(--c-text-sub);
    line-height: 1.78;
    font-size: 0.9rem;
}

.p-achievements__list {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--c-text-sub);
}

.p-achievements__list li {
    margin-bottom: 0.4rem;
    line-height: 1.72;
    font-size: 0.88rem;
}

.p-achievements__text-marquee {
    margin-top: 0.9rem;
    display: flex;
    overflow: hidden;
    gap: 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.p-achievements__text-track {
    display: flex;
    flex-shrink: 0;
    gap: 0.75rem;
    min-width: max-content;
    padding-right: 0.75rem;
    animation: homeGalleryLoop 24s linear infinite;
}

.p-achievements__text-item {
    width: clamp(190px, 18vw, 260px);
    border: 1px solid #ecd8c2;
    border-radius: 14px;
    background: #fffdf9;
    padding: 0.35rem;
    box-shadow: 0 8px 18px rgba(80, 73, 70, 0.1);
}

.p-achievements__text-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.p-future-outlook-section {
    padding-top: 52px;
}

.p-about-history {
    padding-top: 56px;
    padding-bottom: 40px;
    background:
        radial-gradient(74% 60% at 0% 0%, rgba(216, 31, 53, 0.12) 0%, rgba(216, 31, 53, 0) 70%),
        linear-gradient(180deg, #fff9fb 0%, #fff4f8 100%);
}

.p-future-outlook__title {
    text-align: center;
    margin-bottom: 1.3rem;
}

.p-future-outlook__text {
    text-align: center;
    line-height: 2;
    max-width: 920px;
    margin: 0 auto;
    color: var(--c-text-sub);
}

.p-b2b-policy {
    margin-inline: auto;
}

.p-about-nav {
    padding: 2rem 0 1rem;
}

body.p-about-page {
    background-color: #fff;
    background-image: none;
}

.p-about-nav__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.p-about-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.3rem;
    border-radius: 0;
    border: 1px solid #ecd8c2;
    background: #fff;
    color: #b51a2c;
    font-size: 0.93rem;
    letter-spacing: 0.06em;
    line-height: 1.2;
    min-height: 50px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.p-about-nav__link:hover {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
    transform: translateY(-1px);
}

#about-profile,
#about-logo,
#about-history,
#about-achievements,
#about-future {
    scroll-margin-top: 90px;
}

#about-logo {
    background:
        linear-gradient(180deg, #fff8fa 0%, #fff3f6 100%);
}

#about-profile {
    background: #fff;
    padding-bottom: 40px;
}

#about-profile .p-table-container {
    margin-bottom: 0;
}

#about-history,
#about-future {
    background: #fff;
}

#about-achievements {
    background: #fff;
}

#about-future .p-future-outlook {
    background: linear-gradient(180deg, #fff8fa 0%, #fff3f7 100%);
    border-color: #f1d5dc;
}

#about-achievements .p-achievements__text-item {
    background: #fff;
}

.p-table-container {
    background: #fff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.p-about-logo {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #f1d5dc;
    box-shadow: 0 16px 40px rgba(181, 26, 44, 0.06);
}

.p-about-logo__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f9 100%);
    border: 1px solid #f3d9df;
}

.p-about-logo__image {
    width: min(100%, 240px);
    height: auto;
}

.p-about-logo__lead {
    margin-bottom: 1.5rem;
    color: #9f1626;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.9;
}

.p-about-logo__text p {
    margin: 0;
    color: var(--c-text-sub);
    line-height: 2;
}

.p-about-logo__text p+p {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .p-about-logo {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .p-about-logo__visual {
        padding: 1.5rem;
    }

    .p-about-logo__lead {
        font-size: 1.08rem;
    }
}

.p-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.p-table th,
.p-table td {
    border: 1px solid var(--c-border);
    padding: 1rem;
    vertical-align: top;
}

.p-table th {
    width: 28%;
    background: #fdecef;
    font-weight: bold;
    text-align: left;
}

.p-table td {
    background: #fff;
    color: var(--c-text-sub);
}

.p-table ul,
.p-table ol {
    margin-left: 1.2rem;
}

.p-table li {
    margin-bottom: 0.5rem;
}

.p-service-features {
    position: relative;
    background:
        radial-gradient(80% 60% at 0% 0%, rgba(216, 31, 53, 0.15) 0%, rgba(216, 31, 53, 0) 70%),
        linear-gradient(180deg, #fff8fa 0%, #fff2f6 100%);
}

.p-service-features__lead {
    max-width: 760px;
    margin: 0 auto 2.1rem;
    color: var(--c-text-sub);
}

.p-service-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.p-service-feature-card {
    position: relative;
    background: #fff;
    border: 1px solid #ecd8c2;
    border-radius: 20px;
    padding: 1.5rem 1.25rem 1.2rem;
    box-shadow: 0 14px 28px rgba(80, 73, 70, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.p-service-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-hover) 100%);
}

.p-service-feature-card:hover {
    transform: translateY(-4px);
    border-color: #e4b0ba;
    box-shadow: 0 18px 34px rgba(80, 73, 70, 0.14);
}

.p-service-feature-card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    color: #b51a2c;
    background: linear-gradient(135deg, rgba(216, 31, 53, 0.2) 0%, rgba(181, 26, 44, 0.3) 100%);
    border: 1px solid rgba(181, 26, 44, 0.36);
    font-size: 1.05rem;
}

.p-service-feature-card h4 {
    font-size: 1.12rem;
    margin-bottom: 0.65rem;
    color: var(--c-text-main);
}

.p-service-feature-card p {
    color: var(--c-text-sub);
    line-height: 1.9;
    font-size: 0.93rem;
}

.p-service-feature-card__emphasis {
    font-weight: 700;
    color: #b51a2c;
}

.p-service-feature-card__note {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #ecd8c2;
}

.p-service-feature-card__image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0.9rem;
    border-radius: 14px;
}

.p-service-feature-card__link-wrap {
    margin-top: 0.9rem;
}

.p-service-feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #fff4f6;
    border: 1px solid #f3ccd4;
    color: #b51a2c;
    font-weight: 700;
    line-height: 1.4;
}

.p-service-feature-card__link::after {
    content: "\f35d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
}

.p-profile {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.2rem;
    align-items: start;
}

.p-profile__img {
    position: sticky;
    top: 110px;
}

.p-profile__img img {
    width: 100%;
    border-radius: var(--r-card);
    border: 1px solid #ecd8c2;
    box-shadow: 0 16px 32px rgba(80, 73, 70, 0.14);
}

.p-profile__content {
    min-width: 0;
    background: #fff;
    border: 1px solid #ecd8c2;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(80, 73, 70, 0.08);
    padding: clamp(1.2rem, 2.2vw, 2rem);
}

.p-profile__name {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.p-profile__name-en {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-accent);
    letter-spacing: 0.08em;
}

.p-profile__text p {
    margin-bottom: 1rem;
    color: var(--c-text-sub);
    line-height: 2;
}

.p-profile__section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.12rem;
    margin-bottom: 1.1rem;
    color: #b51a2c;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.p-profile__section-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
}

.p-profile__section-title--profile {
    margin-top: 0.4rem;
}

.p-profile__divider {
    border: 0;
    border-top: 1px dashed #ecd8c2;
    margin: 2rem 0 1.7rem;
}

.p-profile__signature {
    text-align: right;
    margin-top: 1.8rem;
    color: var(--c-text-main);
    font-weight: 500;
}

.p-history {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0.3rem 0;
}

.p-history::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 157px;
    width: 2px;
    background: linear-gradient(180deg, #f6d5db 0%, #e26a7a 50%, #f6d5db 100%);
}

.p-history__item {
    position: relative;
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 2.5rem;
    padding: 0.72rem 0;
    border-bottom: none;
}

.p-history__item:first-child {
    border-top: none;
}

.p-history__year {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #f0c8cf;
    background: linear-gradient(180deg, #fff4f6 0%, #ffecef 100%);
    font-weight: 700;
    color: #b51a2c;
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 7px 16px rgba(80, 73, 70, 0.08);
}

.p-history__title {
    margin-bottom: 0.42rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--c-text-main);
}

.p-history__content {
    position: relative;
    background: #fff;
    border: 1px solid #ecd8c2;
    border-radius: 16px;
    padding: 0.92rem 0.95rem 0.86rem;
    box-shadow: 0 10px 24px rgba(80, 73, 70, 0.08);
}

.p-history__content::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: -1.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b51a2c;
    box-shadow: 0 0 0 4px #fdeaef;
}

.p-history__content p {
    color: var(--c-text-sub);
    line-height: 1.75;
}

/* ==========================================================================
   News Section
   ========================================================================== */
.p-news__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-news__heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--c-accent);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.p-news__list {
    width: 100%;
    max-width: 800px;
    margin-bottom: 3rem;
}

.p-news__item {
    border-bottom: 1px dotted var(--c-border);
    /* Dotted line */
}

.p-news__item a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    color: var(--c-text-main);
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        color 0.4s ease;
    overflow: hidden;
}

.p-news__item a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--c-accent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

.p-news__item a:hover {
    color: var(--c-accent-hover);
    background: rgba(216, 31, 53, 0.05);
}

.p-news__item a:hover::before {
    transform: scaleX(1);
}

.p-news__date {
    font-family: sans-serif;
    color: var(--c-text-sub);
    margin-right: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.p-news__cat {
    display: inline-block;
    background: var(--c-accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    margin-right: 1.5rem;
    border-radius: 10px;
    min-width: 80px;
    text-align: center;
}

.p-news__title {
    flex: 1;
    font-weight: 500;
}

.c-link-arrow {
    color: var(--c-accent);
    font-weight: bold;
    position: relative;
    padding-right: 1.5em;
    font-size: 0.95rem;
}

.c-link-arrow::after {
    content: "→";
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.c-link-arrow:hover::after {
    transform: translateX(5px);
}

/* ==========================================================================
   Department (Zigzag)
   ========================================================================== */
.p-service-overview {
    background:
        radial-gradient(90% 70% at 0% 0%, rgba(216, 31, 53, 0.06) 0%, rgba(216, 31, 53, 0) 70%),
        linear-gradient(180deg, #fffdfe 0%, #fff9fb 100%);
}

.p-service-overview__lead {
    margin: 0 auto 3rem;
    max-width: 74ch;
    color: var(--c-text-sub);
}

.p-service-overview__item {
    position: relative;
}

.p-service-card {
    position: relative;
    background: #fff;
    padding: 3.5rem;
    border-radius: 32px;
    margin-bottom: 5rem;
    /* Soft Multi-layered Shadow for Perspective */
    box-shadow:
        0 10px 30px rgba(80, 73, 70, 0.04),
        0 30px 60px rgba(80, 73, 70, 0.03),
        0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(232, 229, 223, 0.4);
    overflow: visible;
    /* Allow deco objects to bleed */
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1),
        box-shadow 0.5s ease;
}

.p-service-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(80, 73, 70, 0.06),
        0 40px 80px rgba(80, 73, 70, 0.04);
}

.p-service-card:last-child {
    margin-bottom: 0;
}

.p-service-card__header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(232, 229, 223, 0.8);
    position: relative;
}

.p-service-card__sub {
    font-size: 0.9rem;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.p-service-card__sub::before {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
}

.p-service-card__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--c-text-main);
    letter-spacing: -0.02em;
}

.p-service-card__top {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.p-service-card__bottom {
    border-top: 1px solid rgba(232, 229, 223, 0.6);
    padding-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}


.p-service-card__visual-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(80, 73, 70, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.p-service-card__visual-stack {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.p-service-card:hover .p-service-card__visual-box {
    transform: translateY(-8px) scale(1.02);
}

.p-service-card__visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.p-service-label {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--c-label-bg);
    color: var(--c-label-text);
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 0.8rem;
}

.p-service-card__note {
    margin-top: 0.85rem;
    margin-bottom: 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, #fff8fa 0%, #fff2f5 100%);
    border-left: 4px solid var(--c-accent);
    border-radius: 0 12px 12px 0;
    color: var(--c-text-main);
    font-size: 0.96rem;
    line-height: 1.9;
}

.p-service-card__note-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-service-card__note-list li {
    position: relative;
    padding-left: 1.1rem;
}

.p-service-card__note-list li+li {
    margin-top: 0.35rem;
}

.p-service-card__note-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-accent);
    font-weight: 700;
}

.p-service-card__note--simple {
    margin-top: 0.2rem;
    padding: 0.2rem 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.p-service-card__note--simple .p-service-card__note-list li {
    padding-left: 1rem;
    line-height: 1.7;
}

.p-service-card__note--simple .p-service-card__note-list li::before {
    content: "・";
    left: 0;
    top: 0;
    color: var(--c-text-main);
}

.p-service-card__visual-box--portrait {
    aspect-ratio: auto;
    background: #f7f1e8;
    height: auto;
}

.p-service-card__visual-box--portrait img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: initial;
}

.p-service-points {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.p-service-points--1col {
    grid-template-columns: 1fr;
}

.p-service-points li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-text-main);
}

.p-service-points li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 0.1rem;
    left: 0;
    color: var(--c-accent);
    font-size: 0.85rem;
}

.p-service-format {
    display: grid;
    gap: 0.9rem;
}

.p-service-format__group {
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, #fffdf7 0%, #fff7eb 100%);
    border: 1px solid rgba(240, 213, 181, 0.8);
    border-radius: 14px;
}

.p-service-format__title {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text-main);
}

.p-service-format__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.p-service-format__list li {
    position: relative;
    padding-left: 1rem;
    color: var(--c-text-main);
    line-height: 1.7;
}

.p-service-format__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-accent);
    font-weight: 700;
}

.u-mt-auto {
    margin-top: auto;
    padding-top: 1.5rem;
}

.p-service-tags li {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #fff4f6;
    border: 1px solid #f3ccd4;
    font-size: 0.82rem;
    color: #b51a2c;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   Home Links
   ========================================================================== */
.p-home-lead {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 2.5rem;
    color: var(--c-text-sub);
}

.p-home-links__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.p-home-links__card {
    color: inherit;
}

.p-home-links__thumb {
    width: 100%;
    height: 160px;
    margin-bottom: 1.2rem;
    border-radius: 16px;
    overflow: hidden;
}

.p-home-links__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-home-links__card .c-card__desc {
    text-align: left;
}

.p-home-links__card .c-card__icon {
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
}

.p-home-service__grid .p-campus__title {
    font-size: 1.15rem;
}

.p-home-service__grid .p-campus__text {
    min-height: 7.5em;
}

.p-home-visuals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.p-home-visuals__item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.p-home-visuals__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.p-home-visuals__item figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   Home Top (Full Width Modern)
   ========================================================================== */
.p-home-wide {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

.p-home-section--service {
    background: linear-gradient(180deg, #fff7fa 0%, #fffafb 100%);
}

.p-home-wide__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.8rem;
    margin-bottom: 2rem;
}

.p-home-wide__head--compact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.p-home-wide__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--c-accent);
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.p-home-wide__title {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: var(--c-text-main);
}

.p-home-wide__lead {
    color: var(--c-text-sub);
    line-height: 1.95;
    max-width: 55ch;
}

.p-home-wide__head .c-btn {
    justify-self: end;
    white-space: nowrap;
}

.p-home-showcase {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(160px, auto);
    gap: 1.1rem;
}

.p-home-showcase__item {
    position: relative;
    display: block;
    border-radius: 26px;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px rgba(122, 114, 109, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    grid-column: span 5;
}

.p-home-showcase__item--large {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 450px;
}

.p-home-showcase__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 44px rgba(122, 114, 109, 0.2);
}

.p-home-showcase__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: brightness(0.98) saturate(1.05);
}

.p-home-showcase__body {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.15rem 1.2rem 1.05rem;
    background: rgba(7, 10, 18, 0.58);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    color: #fff;
}

.p-home-showcase__label {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
}

.p-home-showcase__body h4 {
    font-size: 1.2rem;
    line-height: 1.45;
    margin-bottom: 0.3rem;
}

.p-home-showcase__body p {
    font-size: 0.86rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
}

.p-home-strength {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(85% 70% at 0% 0%, rgba(216, 31, 53, 0.05) 0%, rgba(216, 31, 53, 0) 70%),
        radial-gradient(65% 55% at 100% 100%, rgba(181, 26, 44, 0.06) 0%, rgba(181, 26, 44, 0) 72%),
        linear-gradient(180deg, #fffdfe 0%, #fff9fb 100%);
    color: var(--c-text-main);
}

.p-home-strength::before {
    content: "";
    position: absolute;
    width: min(44vw, 480px);
    aspect-ratio: 1 / 1;
    top: -18%;
    right: -10%;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(216, 31, 53, 0.11) 0%, rgba(216, 31, 53, 0) 72%);
}

.p-home-strength::after {
    content: "";
    position: absolute;
    inset: auto auto -35% -10%;
    width: min(42vw, 460px);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(181, 26, 44, 0.09) 0%, rgba(181, 26, 44, 0) 72%);
}

.p-home-strength__inner {
    position: relative;
    z-index: 1;
}

.p-home-strength__head {
    margin-bottom: 2rem;
    max-width: 760px;
}

.p-home-strength__head .p-home-wide__kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.78rem;
    border-radius: 999px;
    background: #f9d9e0;
    color: #b51a2c;
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
}

.p-home-strength__head .p-home-wide__title {
    color: var(--c-text-main);
    line-height: 1.35;
}

.p-home-strength__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.p-home-strength__metric {
    padding: 1rem 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(2px);
}

.p-home-strength__metric strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.2;
}

.p-home-strength__metric span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: 0.08em;
}

.p-home-strength__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.45rem;
    counter-reset: strength-card;
}

.p-home-strength__card {
    position: relative;
    isolation: isolate;
    padding: 2.75rem 1.9rem 2rem;
    border-radius: 0;
    background:
        linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-hover) 100%) 0 0 / 100% 5px no-repeat,
        radial-gradient(120% 120% at 0% 100%, rgba(216, 31, 53, 0.08) 0%, rgba(216, 31, 53, 0) 58%),
        linear-gradient(162deg, #ffffff 0%, #fff9fb 55%, #ffeff4 100%);
    border: 1px solid #e9c6cf;
    box-shadow:
        0 2px 6px rgba(86, 17, 31, 0.05),
        0 14px 32px rgba(79, 16, 29, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.p-home-strength__card>* {
    position: relative;
    z-index: 1;
}

.p-home-strength__card::before {
    content: none;
}

.p-home-strength__card::after {
    counter-increment: strength-card;
    content: "0" counter(strength-card);
    position: absolute;
    top: 0.12rem;
    right: 0.4rem;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(181, 26, 44, 0.1);
    letter-spacing: 0.02em;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.p-home-strength__card:hover {
    transform: translateY(-4px);
    border-color: #d38998;
    box-shadow:
        0 3px 8px rgba(86, 17, 31, 0.07),
        0 18px 36px rgba(79, 16, 29, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.p-home-strength__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0.35rem auto 1.35rem;
    background: none;
    border: none;
    box-shadow: none;
    color: #991427;
    font-size: 3.35rem;
    line-height: 1;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.p-home-strength__icon::before {
    content: none;
}

.p-home-strength__icon::after {
    content: none;
}

.p-home-strength__icon i {
    position: relative;
    z-index: 1;
    font-size: 1em;
    filter: drop-shadow(0 4px 8px rgba(124, 10, 29, 0.18));
}

.p-home-strength__card:hover .p-home-strength__icon {
    transform: translateY(-1px) scale(1.01);
}

.p-home-strength__card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--c-text-main);
    text-align: center;
    line-height: 1.45;
}

.p-home-strength__card h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin: 0.52rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(216, 31, 53, 0.72) 0%, rgba(181, 26, 44, 0.32) 100%);
}

.p-home-strength__card p {
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--c-text-sub);
    margin: 0;
}

.p-home-gallery {
    background: linear-gradient(180deg, #ffffff 0%, #fff8fa 100%);
}

.p-home-gallery__marquee {
    display: flex;
    overflow: hidden;
    gap: 0;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.p-home-gallery__track {
    display: flex;
    flex-shrink: 0;
    gap: 1rem;
    min-width: max-content;
    padding-right: 1rem;
    animation: homeGalleryLoop 28s linear infinite;
}

.p-home-gallery__item {
    position: relative;
    width: clamp(240px, 22vw, 360px);
    height: clamp(180px, 17vw, 260px);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(122, 114, 109, 0.16);
}

.p-home-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.p-home-gallery__item figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

@keyframes homeGalleryLoop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 1rem));
    }
}

@media (prefers-reduced-motion: reduce) {

    .p-home-gallery__track,
    .p-achievements__text-track {
        animation: none;
    }
}

.p-home-news {
    background: linear-gradient(180deg, #fff6f9 0%, #fffafb 100%);
}

.p-home-news__panel {
    background: #fff;
    border-radius: 28px;
    padding: 2.1rem;
    box-shadow: 0 22px 42px rgba(122, 114, 109, 0.12);
}

.p-home-news__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.p-home-news__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.p-home-news__item {
    display: block;
    height: 100%;
    padding: 1.1rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--c-border);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.p-home-news__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(122, 114, 109, 0.14);
    border-color: rgba(216, 31, 53, 0.6);
}

.p-home-news__date {
    display: block;
    color: var(--c-text-sub);
    font-size: 0.83rem;
    margin-bottom: 0.55rem;
}

.p-home-news__cat {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: var(--c-bg-accent-light);
    color: var(--c-text-main);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.p-home-news__item p {
    color: var(--c-text-main);
    line-height: 1.7;
    font-size: 0.94rem;
}

.p-home-news__img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.85rem;
}

.p-home-cta {
    background: linear-gradient(180deg, #fffafb 0%, #f9eff3 100%);
}

.p-home-cta .p-home-wide {
    width: 100%;
}

.p-home-cta .p-cta__box--feature {
    border-radius: 0;
    min-height: 520px;
    padding: clamp(2.8rem, 5vw, 4.6rem);
}

.p-home-cta .p-cta__overlay {
    background: linear-gradient(120deg, rgba(7, 12, 23, 0.84) 0%, rgba(7, 12, 23, 0.55) 100%);
}

.p-home-cta .p-cta__feature-content {
    max-width: 680px;
}

.l-footer .l-container {
    max-width: min(1560px, calc(100% - 64px));
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 1080px) {
    .p-home-wide {
        width: calc(100% - 60px);
    }

    .p-home-wide__head,
    .p-home-wide__head--compact {
        grid-template-columns: 1fr;
        align-items: start;
        margin-bottom: 1.5rem;
    }

    .p-home-wide__head .c-btn {
        justify-self: start;
    }

    .p-home-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p-home-showcase__item,
    .p-home-showcase__item--large {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 260px;
    }

    .p-service-features__grid {
        grid-template-columns: 1fr 1fr;
    }

    .p-home-strength__metrics,
    .p-home-strength__grid {
        grid-template-columns: 1fr 1fr;
    }

    .p-home-strength__head {
        max-width: none;
    }

    .p-home-gallery__item {
        width: clamp(210px, 32vw, 300px);
        height: clamp(155px, 24vw, 215px);
    }

    .p-home-news__list {
        grid-template-columns: 1fr 1fr;
    }

    .p-about-nav__links {
        justify-content: flex-start;
        gap: 0.85rem;
    }

    .p-achievements__grid {
        grid-template-columns: 1fr 1fr;
    }

    .p-achievements__item:last-child {
        grid-column: 1 / -1;
    }

    .p-achievements {
        padding-bottom: 60px;
    }

    .p-achievements__text-track {
        animation-duration: 22s;
        gap: 0.65rem;
        padding-right: 0.65rem;
    }

    .p-achievements__text-item {
        width: 210px;
    }

    .p-future-outlook-section {
        padding-top: 44px;
    }

    .p-home-cta .p-home-wide {
        width: 100%;
    }

    .l-header__inner {
        max-width: calc(100% - 24px);
        padding: 0 4px;
    }

    .l-footer .l-container {
        max-width: calc(100% - 44px);
    }
}

@media (max-width: 768px) {
    .p-home-wide {
        width: calc(100% - 40px);
    }

    .p-home-wide__title {
        font-size: 1.6rem;
    }

    .p-home-showcase {
        grid-template-columns: 1fr;
    }

    .p-home-showcase__item,
    .p-home-showcase__item--large {
        min-height: 230px;
    }

    .p-home-showcase__body {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.85rem;
        padding: 0.95rem 1rem;
    }

    .p-home-showcase__body h4 {
        font-size: 1.04rem;
    }

    .p-home-strength__metrics,
    .p-home-strength__grid {
        grid-template-columns: 1fr;
    }

    .p-service-features__grid {
        grid-template-columns: 1fr;
    }

    .p-home-strength__head {
        margin-bottom: 1.35rem;
    }

    .p-home-strength__card {
        padding: 2.1rem 1.22rem 1.34rem;
    }

    .p-home-strength__card::after {
        top: 0.1rem;
        right: 0.32rem;
        font-size: 3.7rem;
    }

    .p-home-strength__icon {
        font-size: 2.7rem;
        margin-top: 0.25rem;
        margin-bottom: 1.08rem;
    }

    .p-home-strength__card h4 {
        font-size: 1.06rem;
        text-align: center;
    }

    .p-home-news__panel {
        padding: 1.4rem 1rem;
        border-radius: 18px;
    }

    .p-home-news__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .p-home-news__list {
        grid-template-columns: 1fr;
    }

    .p-about-nav {
        padding: 1.35rem 0 0.8rem;
    }

    .p-about-nav__links {
        gap: 0.75rem;
    }

    .p-about-nav__link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        min-height: 48px;
    }

    .p-achievements {
        padding-bottom: 46px;
    }

    .p-future-outlook-section {
        padding-top: 30px;
    }

    .p-future-outlook {
        padding: 1.25rem;
    }

    .p-home-gallery__marquee {
        mask-image: none;
    }

    .p-home-gallery__track {
        animation-duration: 22s;
        gap: 0.7rem;
        padding-right: 0.7rem;
    }

    .p-home-gallery__item {
        width: 240px;
        height: 165px;
        border-radius: 16px;
    }

    .p-home-cta .p-home-wide {
        width: 100%;
    }

    .p-home-cta .p-cta__box--feature {
        border-radius: 0;
    }

    .l-header__inner {
        max-width: 100%;
        padding: 0;
    }

    .l-footer .l-container {
        max-width: calc(100% - 32px);
    }
}

/* ==========================================================================
   News Detail
   ========================================================================== */
.p-news-detail {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--r-card);
    padding: 2.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.p-news-detail__header {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 1.4rem;
}

.p-news-detail__meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
    color: var(--c-text-sub);
    font-size: 0.9rem;
}

.p-news-detail__cat {
    display: inline-block;
    background: var(--c-bg-accent-light);
    color: var(--c-text-main);
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.p-news-detail__title {
    font-size: 1.9rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.p-news-detail__body p {
    color: var(--c-text-sub);
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.p-contact {
    max-width: 980px;
    margin: 0 auto;
}

.p-contact__intro .c-heading {
    margin-bottom: 1.8rem;
}

.p-contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 1.8rem;
    align-items: start;
}

.p-contact__form {
    background: #fff;
    border-radius: var(--r-card);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.p-contact__field {
    display: block;
    margin-bottom: 1.1rem;
}

.p-contact__field span {
    display: block;
    font-weight: 700;
    margin-bottom: 0.45rem;
    letter-spacing: 0.04em;
}

.p-contact__field em {
    color: #c53030;
    font-style: normal;
}

.p-contact__field input,
.p-contact__field select,
.p-contact__field textarea {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    font: inherit;
    color: var(--c-text-main);
    background: #fff;
}

.p-contact__field textarea {
    resize: vertical;
}

.p-contact__field input:focus,
.p-contact__field select:focus,
.p-contact__field textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(216, 31, 53, 0.2);
}

.p-contact__check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
    color: var(--c-text-sub);
}

.p-contact__message {
    margin-top: 1rem;
    color: var(--c-accent);
    font-weight: 700;
}

.p-contact__side {
    display: grid;
    gap: 1rem;
}

.p-contact__side-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.p-contact__side-card h4 {
    margin-bottom: 0.6rem;
    color: var(--c-text-main);
}

.p-contact__side-card p,
.p-contact__side-card li {
    color: var(--c-text-sub);
}

.p-contact__mail-list {
    display: grid;
    gap: 0.75rem;
}

.p-contact__mail-item {
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: #f5f8fc;
    border: 1px solid rgba(10, 64, 112, 0.08);
    border-radius: 12px;
}

.p-contact__mail-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--c-text-main);
    font-weight: 700;
}

.p-contact__mail-item a {
    color: #0a5c9f;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.p-contact__mail-item a:hover {
    text-decoration: underline;
}

.p-contact__side-card ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.p-contact__side-tel {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-text-main);
}

.c-btn--outline {
    border: 2px solid var(--c-text-main);
    /* Thicker border */
    color: var(--c-text-main);
    padding: 0.8rem 2.5rem;
    background: transparent;
}

.c-btn--outline:hover {
    background: var(--c-text-main);
    color: #fff;
    border-color: var(--c-text-main);
}

/* ==========================================================================
   Campus Life (Card Grid)
   ========================================================================== */
.p-campus__lead {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    line-height: 2;
    color: var(--c-text-sub);
}

.p-campus__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.p-campus__card {
    display: block;
    /* link */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.p-campus__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.p-campus__img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

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

.p-campus__card:hover .p-campus__img img {
    transform: scale(1.1);
}

.p-campus__title {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--c-text-main);
}

.p-campus__text {
    font-size: 0.95rem;
    color: var(--c-text-sub);
    padding: 0 1.5rem 2rem;
    line-height: 1.7;
}

/* ==========================================================================
   Updated CTA (Band)
   ========================================================================== */
.p-cta__btns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.c-btn--white {
    background: #fff;
    color: var(--c-accent);
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.c-btn--white:hover {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

/* ==========================================================================
   Mega Footer
   ========================================================================== */
.l-footer {
    position: relative;
    overflow: visible;
    --c-footer-accent: #38bdf8;
    background: #0f172a;
    color: #d7e3f4;
    padding: 4rem 0 2rem;
    text-align: left;
}

.l-footer::before,
.l-footer::after {
    content: none;
}

.l-footer__top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.l-footer__brand {
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0;
    padding: 0 0 1.2rem;
}

.l-footer__badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.55);
    background: rgba(14, 165, 233, 0.14);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: #a5f3fc;
}

.l-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.l-footer__logo {
    margin-bottom: 0.9rem;
}

.l-footer__logo-img {
    display: block;
    width: min(260px, 72vw);
    height: auto;
}

.l-footer__lead {
    color: #c7d6e9;
    line-height: 1.9;
    margin-bottom: 1.4rem;
}

.l-footer__contactchips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.7rem;
}

.l-footer__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    transition: color 0.25s ease;
}

.l-footer__chip:hover {
    color: var(--c-footer-accent);
}

.l-footer__col {
    border-radius: 0;
    padding: 0;
}

.l-footer__address {
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 0;
    opacity: 0.9;
}

.l-footer__address--brand {
    margin-top: 0.8rem;
}

.l-footer__heading {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.l-footer__links ul li {
    margin-bottom: 0.7rem;
}

.l-footer__links a {
    font-size: 0.88rem;
    transition: color 0.3s, padding-left 0.3s;
    color: #bfcee3;
    position: relative;
    display: inline-block;
}

.l-footer__links a:hover {
    color: var(--c-footer-accent);
    padding-left: 0.25rem;
}

.l-footer__copy {
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
    padding-top: 1.4rem;
    font-size: 0.8rem;
    opacity: 0.78;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Splash Screen (Global - applies to all screen sizes)
   ========================================================================== */
.c-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--c-bg-warm);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
    overflow: hidden;
}

.c-splash__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.64)),
        url("images/splash_bg.jpg") center center / cover no-repeat;
    opacity: 0.48;
    transform: scale(1.04);
    filter: saturate(0.9);
    pointer-events: none;
}

.c-splash__logo {
    position: relative;
    width: min(195px, 32vw);
    --reveal-angle: 0deg;
    transform-origin: center center;
    will-change: transform;
    z-index: 1;
}

.c-splash__logo img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: conic-gradient(from -90deg, #000 0deg var(--reveal-angle), transparent var(--reveal-angle) 360deg);
    mask-image: conic-gradient(from -90deg, #000 0deg var(--reveal-angle), transparent var(--reveal-angle) 360deg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Hide splash if JS disabled */
.no-js .c-splash {
    display: none;
}

/* ==========================================================================
   Hamburger & Mobile Nav (Base - hidden on desktop)
   ========================================================================== */
.c-hamburger {
    display: none;
}

.g-nav-sp {
    display: none;
}

/* ==========================================================================
   Responsive (Mobile: max-width 768px)
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --sp-section: var(--sp-section-sm);
    }

    .c-btn:not(.c-btn--header) {
        padding: 0.95rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 0.06em;
    }

    /* Header */
    .l-header {
        height: 64px;
    }

    .logo__img {
        height: 20px;
    }

    .c-splash__logo {
        width: min(125px, 42vw);
    }

    .logo__sub {
        display: none;
    }

    .g-nav {
        display: none;
    }

    .l-container {
        padding: 0 16px;
    }

    .l-header__inner {
        max-width: calc(100% - 16px);
        padding: 0 8px;
    }

    /* Hamburger Menu Button */
    .c-hamburger {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1002;
    }

    .c-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--c-text-main);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }

    .l-header--transparent .c-hamburger span {
        background-color: var(--c-white);
    }

    .l-header.is-active .c-hamburger span {
        background-color: var(--c-text-main);
    }

    .c-hamburger span:nth-child(1) {
        top: 0;
    }

    .c-hamburger span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .c-hamburger span:nth-child(3) {
        bottom: 0;
    }

    .c-hamburger.is-active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .c-hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .c-hamburger.is-active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    /* Mobile Navigation Overlay */
    .g-nav-sp {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 74px 14px 18px;
        background:
            radial-gradient(110% 65% at 10% 0%, rgba(216, 31, 53, 0.2) 0%, rgba(216, 31, 53, 0) 66%),
            linear-gradient(165deg, #fffafb 0%, #fff4f8 54%, #ffedf3 100%);
        z-index: 1001;
        justify-content: center;
        align-items: flex-start;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .g-nav-sp.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .g-nav-sp ul {
        width: min(100%, 430px);
        margin: 0 auto;
        list-style: none;
        padding: 0;
        display: grid;
        gap: 0.56rem;
    }

    .g-nav-sp li {
        margin: 0;
    }

    .g-nav-sp a {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .g-nav-sp.is-active a {
        opacity: 1;
        transform: translateY(0);
    }

    .g-nav-sp li:nth-child(1) a {
        transition-delay: 0.02s;
    }

    .g-nav-sp li:nth-child(2) a {
        transition-delay: 0.05s;
    }

    .g-nav-sp li:nth-child(3) a {
        transition-delay: 0.08s;
    }

    .g-nav-sp li:nth-child(4) a {
        transition-delay: 0.11s;
    }

    .g-nav-sp li:nth-child(5) a {
        transition-delay: 0.14s;
    }

    .g-nav-sp li:nth-child(6) a {
        transition-delay: 0.17s;
    }

    .g-nav-sp a:not(.c-btn) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.88rem 0.92rem;
        border-radius: 0;
        border: 1px solid #f0dcc7;
        background: rgba(255, 255, 255, 0.86);
        box-shadow: 0 8px 16px rgba(122, 114, 109, 0.08);
        font-size: 1rem;
        font-weight: 600;
        color: var(--c-text-main);
        letter-spacing: 0.03em;
    }

    .g-nav-sp a:not(.c-btn)::after {
        content: "→";
        font-size: 0.86rem;
        color: rgba(184, 106, 40, 0.9);
    }

    .g-nav-sp a:not(.c-btn):active {
        transform: scale(0.99);
    }

    .g-nav-sp a.is-current:not(.c-btn) {
        color: #b51a2c;
        border-color: rgba(181, 26, 44, 0.46);
        background: linear-gradient(135deg, #fff2f5 0%, #ffe9ee 100%);
        box-shadow: 0 10px 20px rgba(181, 26, 44, 0.2);
    }

    .g-nav-sp .c-btn {
        margin-top: 0.38rem;
        width: 100%;
        border-radius: 0;
        justify-content: center;
        padding: 0.9rem 0.9rem;
        font-size: 0.92rem;
    }

    /* Hero */
    .p-hero {
        min-height: 100svh;
        padding: 72px 0 18px;
        align-items: center;
    }

    .p-hero__bg::before {
        background: linear-gradient(125deg,
                rgba(6, 10, 20, 0.47) 0%,
                rgba(11, 18, 35, 0.35) 52%,
                rgba(13, 19, 35, 0.22) 100%);
    }

    .p-hero__content {
        width: calc(100% - 28px);
        display: block;
    }

    .p-hero__main {
        text-align: left;
        max-width: 640px;
        margin: 0 auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    .p-hero__title {
        font-size: clamp(1.9rem, 8vw, 2.35rem);
        font-weight: 700;
        padding: 0;
        margin-bottom: 0.62rem;
        line-height: 1.24;
        letter-spacing: 0.03em;
        text-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
    }

    .p-hero__title-line {
        width: auto;
        padding: 0;
        border-radius: 0;
        background: none;
    }

    .p-hero__title-line--accent {
        margin-top: 0.14rem;
        background: none;
        color: #ffc9d2;
    }

    .p-hero__eyebrow {
        margin-bottom: 0.9rem;
        font-size: 0.7rem;
        letter-spacing: 0.14em;
    }

    .p-hero__desc {
        font-size: 0.9rem;
        padding: 0;
        line-height: 1.62;
        max-width: 34ch;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.42);
    }

    .p-hero__tags {
        display: none;
    }

    .p-hero__cta {
        margin-top: 0.78rem;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .p-hero__cta .c-btn {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 138px;
        max-width: 260px;
        padding: 0.88rem 0.75rem;
        font-size: 0.82rem;
    }

    .p-hero__panel {
        display: none;
    }

    .p-hero-links-sp {
        display: block;
        padding: 6px 0 0;
    }

    .p-hero-links-sp .p-home-wide {
        width: calc(100% - 28px);
    }

    .p-hero-links-sp__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .p-hero-links-sp__card {
        min-height: 78px;
        border-radius: 12px;
    }

    .p-hero-links-sp__card--primary {
        grid-column: 1 / -1;
        min-height: 90px;
    }

    .p-hero-links-sp__body {
        padding: 0.42rem 0.48rem;
    }

    .p-hero-links-sp__label {
        display: none;
    }

    .p-hero-links-sp__body h3 {
        font-size: 0.71rem;
        line-height: 1.28;
    }

    /* Section Spacing */
    .l-section {
        padding: 80px 0;
    }

    /* Purpose */
    .p-purpose__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Notice */
    .p-notice__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .p-notice__link {
        margin-top: 0.5rem;
        padding: 0.5rem 1.5rem;
        background: var(--c-bg-accent-light);
        display: inline-block;
    }

    /* Nav Cards */
    .p-nav-cards__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* CTA */
    .p-cta__box {
        padding: 3rem 1.5rem;
    }

    .p-cta__title {
        font-size: 1.4rem;
    }

    .p-cta__points {
        margin-bottom: 1.3rem;
    }

    .p-cta__btns {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
    }

    .p-cta__btns .c-btn {
        width: auto;
    }

    /* Problem */
    .p-problem__bubbles {
        gap: 1.5rem;
    }

    .p-problem__bubble {
        margin: 0 !important;
        width: 90%;
        padding: 1.5rem;
        transform: none;
        text-align: center;
    }

    .p-problem__message {
        font-size: 1.3rem;
    }

    /* Numbers */
    .p-numbers__grid {
        gap: 2.5rem;
        padding: 2rem;
    }

    .p-numbers__val {
        font-size: 3rem;
    }

    /* Department (Zigzag) */
    .p-zigzag {
        flex-direction: column;
        gap: 1rem;
    }

    .p-zigzag--reverse {
        flex-direction: column;
    }

    .p-zigzag__img {
        height: 200px;
        width: 100%;
    }

    .p-zigzag__content {
        width: 100%;
    }

    .p-zigzag__sub {
        margin-bottom: 0.55rem;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        font-style: normal;
    }

    .p-zigzag__title {
        font-size: 1.28rem;
        margin-bottom: 0.45rem;
    }

    .p-zigzag__desc {
        font-size: 0.9rem;
        line-height: 1.75;
        margin-bottom: 0.75rem;
    }

    .p-service-overview .c-heading {
        text-align: left;
        margin-bottom: 1rem;
        font-size: 1.62rem;
        letter-spacing: 0.1em;
    }

    .p-service-overview .c-heading::after {
        margin: 1rem 0 0;
    }

    .p-service-overview__lead {
        margin-bottom: 1.2rem;
        padding: 0.85rem 0.95rem;
        border-radius: 14px;
        border: 1px solid #f1dfca;
        background: rgba(255, 255, 255, 0.74);
        text-align: left;
        font-size: 0.88rem;
        line-height: 1.78;
    }

    .p-service-overview__item {
        margin-bottom: 1.2rem;
        padding: 0.68rem;
        border-radius: 18px;
        border: 1px solid #ead9c6;
        background: #fff;
        box-shadow: 0 10px 24px rgba(122, 114, 109, 0.12);
        overflow: hidden;
    }

    .p-service-overview__item:last-child {
        margin-bottom: 0;
    }

    .p-service-overview__item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        border-radius: 18px 18px 0 0;
        background: linear-gradient(90deg, #d81f35 0%, #b51a2c 100%);
    }

    .p-service-overview__item--02::before {
        background: linear-gradient(90deg, #e3495f 0%, #c61d32 100%);
    }

    .p-service-overview__item--03::before {
        background: linear-gradient(90deg, #d4344b 0%, #b71a2d 100%);
    }

    .p-service-overview__item .p-zigzag__img {
        height: 168px;
        border-radius: 14px;
    }

    .p-service-overview__item .p-zigzag__content {
        padding: 0.14rem 0.1rem 0.2rem;
    }

    .p-service-overview__item .p-zigzag__sub {
        display: inline-flex;
        align-items: center;
        padding: 0.22rem 0.56rem;
        border-radius: 999px;
        margin-bottom: 0.55rem;
        border: 1px solid #f0d5b5;
        background: #fff1f4;
        color: #9e1728;
        font-size: 0.64rem;
        letter-spacing: 0.1em;
    }

    .p-service-overview__item .p-zigzag__title {
        font-size: 1.22rem;
        letter-spacing: 0.04em;
    }

    .p-service-overview__item .p-zigzag__desc {
        margin-bottom: 0.65rem;
        font-size: 0.88rem;
        line-height: 1.68;
    }

    .p-service-overview__item .p-service-points {
        gap: 0.5rem;
    }

    .p-service-overview__item .p-service-points li {
        padding: 0.52rem 0.64rem 0.52rem 1.45rem;
        font-size: 0.83rem;
        line-height: 1.6;
    }

    .p-service-overview__item .p-service-points li::before {
        top: 0.8rem;
        left: 0.5rem;
    }

    .p-zigzag__body {
        padding: 1.2rem 1rem;
        margin-top: 1.5rem;
        background: #fff;
        border-radius: 8px;
    }

    .p-service-label {
        font-size: 0.75rem;
        padding: 0.15rem 0.6rem;
    }

    .p-service-overview__item .p-service-tags {
        margin-top: 0.7rem;
        gap: 0.45rem;
    }

    .p-service-overview__item .p-service-tags li {
        padding: 0.28rem 0.56rem;
        font-size: 0.7rem;
    }

    /* Curriculum */
    .p-curriculum__grid {
        grid-template-columns: 1fr;
    }

    /* Campus Life */
    .p-campus__grid {
        grid-template-columns: 1fr;
    }

    .p-home-links__grid {
        grid-template-columns: 1fr;
    }

    .p-home-links__thumb {
        height: 180px;
    }

    .p-home-visuals {
        grid-template-columns: 1fr;
    }

    .p-home-visuals__item img {
        height: 220px;
    }

    /* Home top */
    .p-home-wide {
        width: calc(100% - 28px);
    }

    .p-home-wide__head {
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

    .p-home-wide__lead {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .p-home-wide__head .c-btn {
        width: 100%;
        justify-content: center;
    }

    .p-home-showcase__item,
    .p-home-showcase__item--large {
        min-height: 250px;
    }

    .p-home-showcase__body {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.88rem 0.92rem;
    }

    .p-home-showcase__body p {
        font-size: 0.8rem;
        line-height: 1.65;
    }

    .p-home-strength__card {
        padding: 1.9rem 1.08rem 1.22rem;
    }

    .p-home-strength__card::after {
        top: 0.06rem;
        right: 0.3rem;
        font-size: 3.05rem;
    }

    .p-home-strength__icon {
        width: 100%;
        margin-top: 0.2rem;
        margin-bottom: 0.92rem;
        font-size: 2.35rem;
    }

    .p-home-strength__card h4 {
        font-size: 1.02rem;
        text-align: center;
    }

    .p-home-strength__card h4::after {
        width: 34px;
        margin-top: 0.42rem;
    }

    .p-home-strength__card p {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .p-home-news__panel {
        padding: 1.2rem 0.9rem;
    }

    .p-home-news__item {
        padding: 0.9rem 0.85rem;
    }

    .p-home-news__img {
        height: 120px;
        margin-bottom: 0.7rem;
    }

    .p-home-cta .p-cta__box--feature {
        min-height: auto;
        padding: 2.6rem 1rem 2.3rem;
    }

    .p-home-cta .p-cta__title {
        font-size: 1.26rem;
        line-height: 1.6;
    }

    .p-home-cta .p-cta__text {
        font-size: 0.92rem;
        line-height: 1.85;
        margin-bottom: 1.6rem;
    }

    .p-home-cta .p-cta__title br,
    .p-home-cta .p-cta__text br {
        display: none;
    }

    .p-home-cta .p-cta__points {
        margin-bottom: 1.2rem;
    }

    .p-home-cta .p-cta__btns {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .p-home-cta .p-cta__btns .c-btn {
        width: 100%;
    }

    .p-news-detail {
        padding: 1.5rem;
    }

    .p-news-detail__title {
        font-size: 1.45rem;
    }

    .p-contact__layout {
        grid-template-columns: 1fr;
    }

    .p-contact__form {
        padding: 1.3rem;
    }

    /* Voices */
    .p-voices__grid {
        grid-template-columns: 1fr;
    }

    /* Flow */
    .p-flow__list {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .p-flow__item {
        width: 100%;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 2px dashed var(--c-border);
    }

    .p-flow__item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .p-flow__arrow {
        display: none;
    }

    /* Subpages */
    body.p-about-page {
        letter-spacing: 0.04em;
    }

    .p-about-page .c-heading {
        letter-spacing: 0.08em;
    }

    .p-about-page .p-sub-hero__title {
        letter-spacing: 0.07em;
    }

    .p-about-page .p-sub-hero__breadcrumb {
        letter-spacing: 0.03em;
    }

    .p-about-page .p-about-nav__link {
        letter-spacing: 0.03em;
    }

    .p-about-page .p-profile__name-en {
        letter-spacing: 0.05em;
    }

    .p-about-page .p-profile__greeting .p-profile__section-title {
        letter-spacing: 0.03em;
    }

    .p-about-page .p-profile__greeting p {
        letter-spacing: 0.02em;
        line-height: 1.86;
    }

    .p-about-page .p-profile__text p,
    .p-about-page .p-history__content p,
    .p-about-page .p-future-outlook__text,
    .p-about-page .p-about-logo__text p,
    .p-about-page #about-achievements p,
    .p-about-page #about-achievements li {
        letter-spacing: 0.03em;
    }

    .p-sub-hero {
        margin-top: 60px;
        min-height: 220px;
        padding: 2rem 1rem;
    }

    .p-sub-hero__title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .p-sub-hero__breadcrumb {
        font-size: 0.85rem;
    }

    .p-table-container {
        padding: 1.2rem;
    }

    .p-table th,
    .p-table td {
        display: block;
        width: 100%;
    }

    .p-table th {
        border-bottom: none;
    }

    .p-profile {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .p-profile__img {
        position: static;
        max-width: 280px;
        margin: 0 auto;
    }

    .p-profile__name {
        font-size: 1.5rem;
        text-align: left;
    }

    .p-profile__content {
        padding: 1.1rem;
    }

    .p-profile__section-title {
        font-size: 1rem;
    }

    .p-history__item {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        padding: 0.46rem 0 0.88rem 1.55rem;
    }

    .p-history {
        padding-left: 0;
    }

    .p-history::before {
        left: 1.1rem;
    }

    .p-history__year {
        min-width: 0;
        width: fit-content;
        font-size: 0.77rem;
        padding: 0.3rem 0.55rem;
        box-shadow: none;
    }

    .p-history__content {
        border-radius: 12px;
        padding: 0.78rem 0.78rem 0.74rem;
        box-shadow: 0 8px 18px rgba(80, 73, 70, 0.07);
    }

    .p-history__content::before {
        left: -0.75rem;
        top: 0.95rem;
        width: 8px;
        height: 8px;
        box-shadow: 0 0 0 3px #fdeaef;
    }

    .p-history__title {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .p-achievements__intro {
        text-align: left;
        margin-bottom: 1rem;
    }

    .p-achievements__grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .p-achievements__item:last-child {
        grid-column: auto;
    }

    .p-achievements__item {
        border-radius: 14px;
        padding: 1rem 0.88rem 0.86rem;
    }

    .p-achievements__item-title {
        font-size: 0.94rem;
        margin-bottom: 0.58rem;
    }

    .p-achievements__item p,
    .p-achievements__list li {
        font-size: 0.84rem;
    }

    .p-achievements__text-marquee {
        mask-image: none;
        margin-top: 0.75rem;
    }

    .p-achievements__text-track {
        animation-duration: 20s;
        gap: 0.55rem;
        padding-right: 0.55rem;
    }

    .p-achievements__text-item {
        width: 178px;
        border-radius: 10px;
        padding: 0.28rem;
    }

    /* Mega Footer */
    .l-footer {
        padding: 3.5rem 0 2rem;
    }

    .l-footer .l-container {
        max-width: calc(100% - 28px);
        padding: 0;
    }

    .l-footer__top {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        margin-bottom: 2rem;
    }

    .l-footer__brand {
        padding: 0 0 1rem;
    }

    .l-footer__logo {
        margin-bottom: 0.7rem;
    }

    .l-footer__logo-img {
        width: min(210px, 68vw);
    }

    .l-footer__lead {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }

    .l-footer__contactchips {
        align-items: flex-start;
    }

    .l-footer__chip {
        justify-content: flex-start;
    }

    .l-footer__grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        text-align: left;
    }

    .l-footer__heading {
        border-bottom: 1px solid rgba(148, 163, 184, 0.28);
        padding-bottom: 0.5rem;
        margin-bottom: 0.8rem;
        display: inline-block;
        width: 100%;
    }

    /* News mobile */
    .p-news__list {
        margin-bottom: 0;
        display: grid;
        gap: 0.7rem;
    }

    .p-news__item {
        border: 1px solid #ead8c4;
        border-radius: 0;
        background: #fff;
        box-shadow: 0 8px 18px rgba(122, 114, 109, 0.08);
        position: relative;
        overflow: hidden;
    }

    .p-news__item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #d81f35 0%, #b51a2c 100%);
    }

    .p-news__item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        padding: 0.9rem 0.82rem 0.78rem;
        border-radius: 0;
        background: transparent;
        color: var(--c-text-main);
    }

    .p-news__item a:hover {
        color: var(--c-text-main);
        background: transparent;
    }

    .p-news__date {
        margin-right: 0;
        margin-top: 0.1rem;
        font-size: 0.78rem;
    }

    .p-news__cat {
        margin-right: 0;
        border-radius: 0;
        min-width: auto;
        padding: 0.2rem 0.58rem;
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }

    .p-news__title {
        width: 100%;
        margin-top: 0.2rem;
        padding-top: 0.55rem;
        border-top: 1px dashed #ebdccb;
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

/* ==========================================================================
   Responsive (Extra Small: max-width 480px)
   ========================================================================== */
@media (max-width: 480px) {

    /* Service Card Mobile */
    .p-service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .p-service-card__header {
        margin-bottom: 1.5rem;
    }

    .p-service-card__title {
        font-size: 1.8rem;
    }

    .p-service-card__top {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .p-service-card__bottom {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 2rem;
    }

    .p-service-card__visual-box {
        order: -1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .p-service-card__visual-stack {
        order: -1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .p-service-card__visual-stack .p-service-card__visual-box {
        max-width: none;
        margin: 0;
    }

    .p-service-card__visual-box--circle {
        width: 200px;
        margin: 0 auto;
    }

    .c-heading {
        font-size: 1.5rem;
    }

    body.p-about-page {
        letter-spacing: 0.035em;
    }

    .p-about-page .c-heading {
        letter-spacing: 0.06em;
    }

    .p-about-page .p-profile__greeting .p-profile__section-title {
        letter-spacing: 0.025em;
    }

    .p-about-page .p-profile__greeting p {
        letter-spacing: 0.018em;
        line-height: 1.82;
    }

    .p-hero__title {
        font-size: clamp(1.78rem, 9.2vw, 2.08rem);
        line-height: 1.22;
    }

    .p-hero__main {
        padding: 0;
    }

    .p-hero__desc {
        font-size: 0.84rem;
    }

    .p-hero__cta .c-btn {
        min-width: 0;
        font-size: 0.78rem;
        padding: 0.8rem 0.55rem;
    }

    .p-hero-links-sp__card {
        min-height: 72px;
    }

    .p-hero-links-sp__card--primary {
        min-height: 82px;
    }

    .p-service-overview .c-heading {
        font-size: 1.48rem;
    }

    .p-service-overview__lead {
        padding: 0.72rem 0.78rem;
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .p-service-overview__item {
        padding: 0.56rem;
        border-radius: 15px;
    }

    .p-service-overview__item::before {
        height: 3px;
        border-radius: 15px 15px 0 0;
    }

    .p-service-overview__item .p-zigzag__img {
        height: 146px;
    }

    .p-service-overview__item .p-zigzag__title {
        font-size: 1.08rem;
    }

    .p-service-overview__item .p-zigzag__desc {
        font-size: 0.82rem;
    }

    .p-service-overview__item .p-service-points li {
        font-size: 0.78rem;
        padding: 0.46rem 0.54rem 0.46rem 1.28rem;
    }

    .p-service-overview__item .p-service-points li::before {
        top: 0.82rem;
        left: 0.54rem;
    }

    .p-history__item {
        padding-left: 1.42rem;
    }

    .p-history::before {
        left: 0.5rem;
    }

    .p-history__content::before {
        left: -1.2rem;
    }

    .p-achievements__item {
        border-radius: 12px;
        padding: 0.86rem 0.74rem 0.72rem;
    }

    .p-achievements__item-title {
        font-size: 0.9rem;
        gap: 0.45rem;
    }

    .p-achievements__item p,
    .p-achievements__list li {
        font-size: 0.8rem;
    }

    .p-news__list {
        gap: 0.56rem;
    }

    .p-news__item {
        box-shadow: none;
    }

    .p-news__item a {
        padding: 0.82rem 0.68rem 0.7rem;
    }



    .p-news__title {
        font-size: 0.86rem;
        padding-top: 0.48rem;
    }

    .c-btn--large {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

@media (max-width: 390px) {
    .p-hero {
        padding: 66px 0 14px;
    }

    body.p-about-page {
        letter-spacing: 0.03em;
    }

    .p-about-page .p-profile__greeting .p-profile__section-title {
        letter-spacing: 0.02em;
    }

    .p-about-page .p-profile__greeting p {
        letter-spacing: 0.015em;
        line-height: 1.78;
    }

    .p-hero__content {
        width: calc(100% - 22px);
    }

    .p-hero__title {
        font-size: clamp(1.72rem, 8.9vw, 1.98rem);
        line-height: 1.2;
        margin-bottom: 0.54rem;
    }

    .p-hero__desc {
        font-size: 0.82rem;
        line-height: 1.58;
        max-width: 32ch;
    }

    .p-hero__cta {
        margin-top: 0.66rem;
        gap: 0.42rem;
    }

    .p-hero__cta .c-btn {
        font-size: 0.74rem;
        padding: 0.74rem 0.5rem;
        letter-spacing: 0.03em;
    }

    .p-hero-links-sp .p-home-wide {
        width: calc(100% - 22px);
    }

    .p-hero-links-sp__grid {
        gap: 0.35rem;
    }

    .p-hero-links-sp__card {
        min-height: 66px;
    }

    .p-hero-links-sp__card--primary {
        min-height: 76px;
    }

    .p-hero-links-sp__body {
        padding: 0.38rem 0.42rem;
    }

    .p-hero-links-sp__body h3 {
        font-size: 0.66rem;
    }

    .p-service-overview__item .p-zigzag__img {
        height: 132px;
    }

    .p-service-overview__item .p-zigzag__title {
        font-size: 1rem;
    }

    .p-service-overview__item .p-service-points li {
        font-size: 0.75rem;
    }

    .p-history__item {
        padding-left: 1.34rem;
    }

    .p-history::before {
        left: 0.4rem;
    }

    .p-history__content::before {
        left: -1.12rem;
        width: 7px;
        height: 7px;
    }

    .p-achievements__item {
        padding: 0.8rem 0.66rem 0.68rem;
    }

    .p-achievements__item-title {
        font-size: 0.84rem;
    }

    .p-achievements__item p,
    .p-achievements__list li {
        font-size: 0.76rem;
    }

    .p-news__item a {
        padding: 0.76rem 0.62rem 0.66rem;
    }



    .p-news__cat {
        font-size: 0.64rem;
    }

    .p-news__title {
        font-size: 0.82rem;
    }
}

.p-home-news__item--empty,
.p-news__item-empty {
    pointer-events: none;
}

.p-news__item-empty {
    display: block;
    padding: 1.25rem 1.4rem;
    border-radius: 18px;
    border: 1px dashed rgba(216, 31, 53, 0.35);
    background: #fffaf9;
}

.p-news-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.p-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: #fff;
    color: var(--c-text-main);
    font-weight: 700;
}

.p-news-pagination .page-numbers.current {
    border-color: var(--c-accent);
    background: var(--c-accent);
    color: var(--c-white);
}

.p-news-detail__thumb {
    margin-bottom: 1.5rem;
}

.p-news-detail__thumb img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(80, 73, 70, 0.14);
}

.p-contact__form .wpcf7 {
    width: 100%;
}

.p-contact__form .wpcf7-form p {
    margin-bottom: 0;
}

.p-contact__form .wpcf7-spinner {
    margin: 0.75rem 0 0;
}

.p-contact__form .wpcf7-response-output {
    margin: 1rem 0 0;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
}

.p-contact__form .wpcf7-not-valid-tip {
    margin-top: 0.45rem;
    font-size: 0.82rem;
}
