@charset "UTF-8";

:root {
    --color-deep-blue: #003a8c;
    --color-blue-bright: #1a5fbf;
    --color-beige: #f5f3ef;
    --color-white: #ffffff;
    --color-text: #222222;
    --color-text-inverse: #ffffff;
    --color-red: #d13b3b;
    --color-border: #e0dcd5;

    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;

    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-beige);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.04em;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section titles */
.en-title {
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text-inverse);
    margin-bottom: 10px;
}

.ja-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text-inverse);
}

.en-title-dark {
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-deep-blue);
    margin-bottom: 10px;
}

.ja-title-dark {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Header（仮採用案：透明ヘッダー＋白ロゴ帯＋赤CTA＋固定ナビ） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    padding: 0 40px;
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--color-white);
    height: var(--header-height);
    padding: 0 75px;
    margin-left: -40px;
}

.header-logo__mark {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: block;
}

.header-logo__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-text-ja {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text-en {
    font-family: var(--font-en);
    font-size: 0.6rem;
    color: var(--color-deep-blue);
    letter-spacing: 0.05em;
    margin-top: 0.6rem;
    white-space: nowrap;
}

.header-nav-fixed {
    position: fixed;
    top: 0;
    right: 280px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header-nav-fixed.scrolled {
    mix-blend-mode: difference;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    transition: opacity 0.3s ease;
}

.nav-list a:hover {
    opacity: 0.7;
}

.btn-contact-header {
    background: var(--color-red);
    border: none;
    color: var(--color-white);
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: var(--header-height);
    margin-right: -40px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    transition: background 0.4s ease;
}

.contact-sub {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-contact-header:hover {
    background: #b52b2b;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-deep-blue);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--color-white);
    z-index: 999;
    padding: 40px;
    overflow-y: auto;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-size: 1rem;
    font-weight: 500;
}

/* Hero portal */
.hero-portal {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
    overflow: hidden;
    background: var(--color-deep-blue);
}

.hero-portal__bg {
    position: absolute;
    inset: 0;
}

.hero-portal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-portal__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 58, 140, 0.35) 0%,
        rgba(0, 58, 140, 0.55) 50%,
        rgba(0, 58, 140, 0.75) 100%
    );
}

.hero-portal__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding-bottom: 40px;
}

.hero-portal__title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-portal__title-line {
    display: block;
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-portal__title-line:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-portal__sub {
    font-size: 0.95rem;
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    letter-spacing: 0.08em;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-portal__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    opacity: 0.8;
}

.hero-portal__scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.5);
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-portal__scroll-arrow {
    width: 8px;
    height: 8px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(0.6); opacity: 1; }
}

/* Features */
.features {
    position: relative;
    padding: 100px 0 140px;
    background: linear-gradient(to bottom, var(--color-deep-blue) 0%, var(--color-deep-blue) 55%, var(--color-beige) 55%);
    z-index: 2;
}

.features-header {
    text-align: left;
    margin-bottom: 60px;
}

.features-header .en-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-header .en-title::before {
    content: '';
    width: 15px;
    height: 2px;
    background: var(--color-red);
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature-card {
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--color-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.feature-card:last-child {
    border-right: none;
}

@media screen and (min-width: 769px) {
    .feature-card:nth-child(2) { position: relative; top: -30px; }
    .feature-card:nth-child(3) { position: relative; top: -60px; }
}

.feature-img {
    height: 220px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.62) contrast(1.04);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.feature-card:hover .feature-img img {
    transform: scale(1.05);
    filter: saturate(0.88) contrast(1.06);
}

.feature-content {
    padding: 36px 28px;
}

.feature-content h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.feature-content p {
    font-size: 0.9rem;
    line-height: 2;
}

/* Mission */
.mission {
    position: relative;
    color: var(--color-text-inverse);
    padding: 100px 0 120px;
    overflow: hidden;
    min-height: clamp(480px, 52vw, 620px);
    display: flex;
    align-items: center;
}

.mission__bg {
    position: absolute;
    inset: 0;
}

.mission__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 38%;
}

.mission__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 58, 140, 0.93) 0%,
        rgba(0, 58, 140, 0.82) 38%,
        rgba(0, 58, 140, 0.45) 62%,
        rgba(0, 58, 140, 0.12) 100%
    );
}

.mission-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(120px, 0.75fr) minmax(280px, 1.35fr) minmax(200px, 0.9fr);
    gap: 48px 56px;
    align-items: center;
    width: 100%;
}

.mission-col--title {
    align-self: center;
}

.mission-col--visual {
    min-height: 1px;
}

.mission-header {
    text-align: left;
    margin-bottom: 0;
}

.mission-header .en-title {
    margin-bottom: 16px;
}

.mission-header .ja-title {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.6;
}

.mission-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 28px;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 16px rgba(0, 20, 60, 0.2);
}

.mission-text {
    font-size: 0.95rem;
    line-height: 2.2;
    opacity: 0.95;
    margin-bottom: 36px;
    text-shadow: 0 1px 8px rgba(0, 20, 60, 0.15);
}

.btn-outline-white {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 36px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-deep-blue);
}

/* News */
.news {
    padding: 100px 0 120px;
    background: var(--color-beige);
}

.news-box {
    background: var(--color-white);
    padding: 72px 80px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 80px;
    margin-top: -40px;
}

.news-header {
    width: 200px;
    flex-shrink: 0;
}

.en-title-inline {
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-deep-blue);
    margin-bottom: 10px;
}

.ja-title-inline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.news-list li {
    border-bottom: 1px solid var(--color-border);
}

.news-list li:first-child {
    border-top: 1px solid var(--color-border);
}

.news-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
}

.news-link:hover .news-title {
    color: var(--color-deep-blue);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 200px;
    flex-shrink: 0;
}

.news-meta .date {
    font-family: var(--font-en);
    font-size: 0.88rem;
}

.tag-red {
    background: var(--color-red);
    color: var(--color-white);
    font-size: 0.68rem;
    padding: 3px 10px;
}

.news-title {
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

/* Huge text marquee（grid背面に重ね） */
.grid-nav {
    --grid-nav-gap: clamp(48px, 6vw, 72px);
    --grid-overlap: clamp(52px, 7.5vw, 88px);
    --huge-text-height: clamp(264px, 34vw, 384px);
    --huge-text-cut: clamp(12px, 1.8vw, 22px);
    --huge-text-lift: clamp(4px, 0.6vw, 10px);
    position: relative;
    background: var(--color-beige);
    padding-top: var(--grid-nav-gap);
    padding-bottom: 80px;
}

.huge-text-wrapper {
    position: absolute;
    top: calc(
        var(--grid-nav-gap) + var(--grid-overlap) + var(--huge-text-cut)
        - var(--huge-text-height) * 0.5 - clamp(1.2rem, 3.36vw, 2.88rem)
        - var(--huge-text-lift)
    );
    left: 0;
    right: 0;
    height: var(--huge-text-height);
    z-index: 0;
    background: var(--color-deep-blue);
    overflow: hidden;
}

.grid-nav__title-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding-top: clamp(28px, 4.5vw, 52px);
}

.grid-nav-header {
    text-align: center;
    margin-bottom: 0;
}

.en-title--blue-band {
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.en-title--blue-band::before {
    content: '';
    width: 15px;
    height: 2px;
    background: var(--color-red);
    flex-shrink: 0;
}

.ja-title--blue-band {
    color: var(--color-white);
}

.huge-text-marquee {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
}

.huge-text-track {
    display: flex;
    width: max-content;
    animation: hugeTextMarquee 55s linear infinite;
}

.huge-text {
    font-family: var(--font-en);
    font-size: clamp(2.88rem, 7.8vw, 6.6rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
    line-height: 0.9;
    white-space: nowrap;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    padding-right: 0.75em;
}

@keyframes hugeTextMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.grid-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--grid-overlap) 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(32px, 4vw, 48px) clamp(20px, 2.5vw, 28px);
}

.grid-item {
    position: relative;
    display: block;
    overflow: visible;
}

.grid-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 7 / 3.2;
}

.grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.grid-item:hover .grid-img img {
    transform: scale(1.04);
}

.grid-body {
    position: relative;
    z-index: 2;
    width: min(100%, 86%);
    margin: clamp(-48px, -6vw, -64px) auto 0;
    padding: 26px 28px 30px;
    background: var(--color-white);
    border-top: 3px solid var(--color-deep-blue);
    box-shadow: 0 20px 50px rgba(3, 33, 80, 0.11);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.grid-body::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 28px;
    width: 28px;
    height: 3px;
    background: var(--color-red);
}

.grid-item:hover .grid-body {
    box-shadow: 0 26px 60px rgba(3, 33, 80, 0.15);
    transform: translateY(-2px);
}

.grid-body .en-label {
    margin-bottom: 0;
}

.grid-body .ja-label {
    margin-top: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.22rem;
}

.grid-desc {
    font-size: 0.86rem;
    line-height: 1.82;
    margin-top: 16px;
    color: var(--color-text);
}

.grid-desc--lead {
    font-weight: 500;
    margin-top: 16px;
    color: var(--color-deep-blue);
}

.grid-points {
    list-style: none;
    margin-top: 12px;
}

.grid-points li {
    position: relative;
    padding-left: 1.1em;
    margin-bottom: 6px;
    font-size: 0.85rem;
    line-height: 1.75;
}

.grid-points li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.grid-note {
    margin-top: 16px;
    padding: 14px 16px;
    font-size: 0.82rem;
    line-height: 1.75;
    background: var(--color-beige);
    border-left: 3px solid var(--color-red);
}

.en-label {
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-deep-blue);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.ja-label {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.ja-label .arrow {
    font-size: 0.55rem;
    color: var(--color-red);
}

.services-extra {
    position: relative;
    z-index: 1;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.services-extra__title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-deep-blue);
}

.services-extra__list li {
    border-bottom: 1px solid var(--color-border);
}

.services-extra__list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 0.95rem;
}

.services-extra__list a:hover {
    color: var(--color-deep-blue);
}

.service-details {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 16px;
    padding-bottom: 24px;
}

.service-detail {
    scroll-margin-top: calc(var(--header-height) + 24px);
    padding: 48px 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-detail__en {
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-deep-blue);
    margin-bottom: 8px;
}

.service-detail__title {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--color-deep-blue);
    line-height: 1.4;
}

.service-detail__head {
    margin-bottom: 20px;
}

.service-detail__lead {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.85;
    margin-bottom: 16px;
}

.service-detail__body {
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 16px;
    color: var(--color-text);
}

.service-detail__points {
    list-style: none;
    margin-bottom: 20px;
}

.service-detail__points li {
    position: relative;
    padding-left: 1.1em;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-detail__points li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.service-detail__note {
    background: var(--color-white);
    padding: 18px 22px;
    font-size: 0.92rem;
    line-height: 1.8;
    border-left: 3px solid var(--color-red);
}

/* Area */
.area {
    padding: 100px 0;
    background: var(--color-white);
}

.area-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.area-text p {
    margin-bottom: 24px;
    line-height: 2;
}

.area-remote {
    padding: 20px 24px;
    background: var(--color-beige);
    border-left: 4px solid var(--color-deep-blue);
    margin-bottom: 28px;
    font-size: 0.93rem;
    line-height: 2;
}

.area-cities-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.area-cities__label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-deep-blue);
}

.area-cities__note {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.8;
}

.area-address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 2;
}

.area-tel {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    display: inline-block;
    margin-top: 8px;
}

.area-cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.area-cities li {
    font-size: 0.95rem;
    padding: 12px 16px;
    background: var(--color-beige);
    text-align: center;
}

/* Price */
.price {
    padding: 100px 0;
    background: var(--color-beige);
}

/* 顧問契約・スポット契約（並列セクション） */
.price-advisory,
.price-spot {
    margin-bottom: 64px;
}

.price-spot:last-child {
    margin-bottom: 0;
}

.price-advisory__head,
.price-spot__head {
    text-align: center;
    margin-bottom: 40px;
}

.price-advisory__title,
.price-spot__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-deep-blue);
    margin-bottom: 12px;
}

.price-advisory__desc,
.price-spot__desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
}

.price-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

@media (min-width: 900px) {
    .price-plans {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.price-plan {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-plan--featured {
    border-color: var(--color-deep-blue);
    box-shadow: 0 16px 48px rgba(0, 58, 140, 0.14);
}

.price-plan__ribbon {
    position: absolute;
    top: 0;
    right: 24px;
    transform: translateY(-50%);
    background: var(--color-red);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 6px 16px;
}

.price-plan__top {
    margin-bottom: 16px;
}

.price-plan__name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 12px;
}

.price-plan__highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-blue-bright) 100%);
    color: var(--color-white);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 10px 18px;
    line-height: 1.4;
}

.price-plan--featured .price-plan__highlight {
    font-size: 0.95rem;
    padding: 12px 20px;
}

.price-plan__summary {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.85;
    margin-bottom: 20px;
}

.price-plan__formula {
    background: #f0f4fa;
    border-left: 3px solid var(--color-deep-blue);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    line-height: 1.6;
}

.price-plan__formula-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 4px;
}

.price-plan__unit-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-deep-blue);
    margin-bottom: 12px;
}

.price-tier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    flex-grow: 1;
}

@media (min-width: 480px) {
    .price-tier-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.price-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 10px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    min-height: 88px;
}

.price-plan--featured .price-tier {
    background: #f8faff;
    border-color: #d4e0f0;
}

.price-tier--estimate {
    grid-column: 1 / -1;
    background: #f0f4fa;
    border-style: dashed;
    min-height: auto;
    padding: 14px;
}

.price-tier__range {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    margin-bottom: 6px;
}

.price-tier__amount {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.price-tier__num {
    font-size: 1.2rem;
    letter-spacing: 0.01em;
}

.price-tier--estimate .price-tier__amount {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

/* 注意事項（各コンテンツ末尾） */
.price-footnotes {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.price-footnotes p {
    font-size: 0.78rem;
    color: #777;
    line-height: 1.85;
    padding-left: 1.1em;
    text-indent: -1.1em;
}

.price-footnotes p::before {
    content: '※';
    margin-right: 0.35em;
}

.price-footnotes p + p {
    margin-top: 6px;
}

/* スポット契約 コンテンツ枠 */
.price-light-promo {
    margin-top: 40px;
    margin-bottom: 0;
}

.price-light-promo:first-child {
    margin-top: 0;
}

.price-light-promo__card {
    display: flex;
    flex-direction: column;
    background: var(--color-beige);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-deep-blue);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.price-light-promo__card:hover {
    box-shadow: 0 14px 40px rgba(0, 58, 140, 0.12);
    transform: translateY(-2px);
}

.price-light-promo__card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 28px;
    width: 32px;
    height: 3px;
    background: var(--color-red);
    z-index: 1;
}

.price-light-promo__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 32px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.price-light-promo__logo {
    width: clamp(150px, 24vw, 220px);
    height: auto;
}

.price-light-promo__body {
    padding: 24px 28px 28px;
    background: var(--color-white);
}

.price-light-promo__label {
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-deep-blue);
    margin-bottom: 12px;
}

.price-light-promo__message {
    font-family: var(--font-serif);
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 20px;
}

.price-light-promo__message strong {
    color: var(--color-deep-blue);
    font-weight: 600;
}

.price-light-promo__link {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-white);
    background: var(--color-deep-blue);
    padding: 12px 22px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.price-light-promo__link .arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.price-light-promo__card:hover .price-light-promo__link {
    background: var(--color-blue-bright);
}

.price-light-promo__card:hover .price-light-promo__link .arrow {
    transform: translateX(3px);
}

@media (min-width: 720px) {
    .price-light-promo__card {
        flex-direction: row;
        align-items: stretch;
    }

    .price-light-promo__brand {
        width: 34%;
        min-width: 200px;
        max-width: 280px;
        padding: 32px 28px;
        border-bottom: none;
        border-right: 1px solid var(--color-border);
    }

    .price-light-promo__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 28px 36px;
    }
}

.price-spot-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

@media (min-width: 768px) {
    .price-spot-groups {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        align-items: start;
    }
}

.price-spot-group__title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-deep-blue);
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--color-deep-blue);
}

.price-spot-list {
    margin-top: 8px;
}

.price-spot-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 480px) {
    .price-spot-item {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
    }
}

.price-spot-item__name {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--color-text);
    flex: 1;
}

.price-spot-item__price {
    font-family: var(--font-en);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    white-space: nowrap;
    flex-shrink: 0;
}

.price-spot-item__price--quote {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: #666;
}

.price-spot__body .price-footnotes {
    margin-top: 36px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

/* CTA */
.price-cta {
    text-align: center;
    margin-top: 56px;
}

.price-cta__btn {
    display: inline-block;
    background: var(--color-deep-blue);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 18px 40px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.price-cta__btn:hover {
    background: var(--color-blue-bright);
}

/* Company */
.company {
    padding: 100px 0 0;
    background: var(--color-beige);
}

.company-table-wrap {
    max-width: 720px;
    margin: 0 auto 48px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.company-table th,
.company-table td {
    border-bottom: 1px solid var(--color-border);
    padding: 16px 12px;
    vertical-align: top;
    line-height: 1.7;
    text-align: left;
}

.company-table th {
    width: 28%;
    font-weight: 600;
    color: var(--color-deep-blue);
    white-space: nowrap;
}

.company-table td a {
    color: var(--color-deep-blue);
    font-family: var(--font-en);
    font-weight: 600;
}

.company-map iframe {
    display: block;
    width: 100%;
    min-height: 360px;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.contact-header {
    text-align: left;
    margin-bottom: 20px;
}

.contact-free-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-blue-bright) 100%);
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 14px 24px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.contact-lead {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 32px;
}

.contact-form-free {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--color-deep-blue);
    background: #f0f4fa;
    border-left: 4px solid var(--color-deep-blue);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.contact-form-free strong {
    font-size: 1.05em;
    font-weight: 700;
}

.contact-tel {
    display: block;
    padding: 24px;
    background: var(--color-beige);
    border-left: 4px solid var(--color-deep-blue);
}

.contact-tel__label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.contact-tel__num {
    font-family: var(--font-en);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    display: block;
}

.contact-tel__time {
    font-size: 0.82rem;
    color: #666;
    margin-top: 4px;
    display: block;
}

.contact-form .form-row {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.required {
    color: var(--color-red);
    font-size: 0.75rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: var(--color-beige);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-deep-blue);
    background: var(--color-white);
}

.contact-form .form-row.is-invalid input,
.contact-form .form-row.is-invalid textarea {
    border-color: var(--color-red);
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(209, 59, 59, 0.12);
}

.contact-form .form-row.is-invalid input:focus,
.contact-form .form-row.is-invalid textarea:focus {
    border-color: var(--color-red);
    background: #fff5f5;
}

.form-row.is-invalid .checkbox-label {
    padding: 10px 12px;
    background: #fff5f5;
    outline: 1px solid rgba(209, 59, 59, 0.45);
}

.form-field-error {
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-red);
    line-height: 1.5;
}

.form-field-error[hidden] {
    display: none !important;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

.checkbox-label a {
    color: var(--color-deep-blue);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--color-deep-blue);
    color: var(--color-white);
    border: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: var(--color-blue-bright);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    display: none;
    margin: 4px 0 16px;
    padding: 14px 16px 14px 48px;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 500;
    position: relative;
}

.form-status:not([hidden]) {
    display: block;
}

.form-status::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.form-status.is-error {
    color: #8f1f1f;
    background: #fff0f0;
    border: 1px solid #f0b4b4;
    border-left: 4px solid var(--color-red);
    animation: form-alert-in 0.35s ease;
}

.form-status.is-error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d13b3b'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");
}

.form-status.is-success {
    color: #1f5c38;
    background: #edf7f1;
    border: 1px solid #b7dfc5;
    border-left: 4px solid #2a7a4b;
}

.form-status.is-success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232a7a4b'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.5-4.5 1.4 1.4z'/%3E%3C/svg%3E");
}

.form-status.is-shake {
    animation: form-alert-in 0.35s ease, form-shake 0.45s ease;
}

@keyframes form-alert-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes form-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.form-row--honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-recaptcha-note {
    margin-top: 12px;
    font-size: 0.72rem;
    line-height: 1.7;
    color: #888;
}

.form-recaptcha-note a {
    text-decoration: underline;
    color: #666;
}

/* reCAPTCHA バッジ非表示（利用規約告知はフォーム下・プライバシーポリシーに記載） */
.grecaptcha-badge {
    visibility: hidden !important;
}

body.is-modal-open {
    overflow: hidden;
}

/* Form modal / loading */
.form-modal[hidden],
.form-loading[hidden] {
    display: none !important;
}

.form-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.form-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 24, 48, 0.55);
}

.form-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
    background: var(--color-white);
    padding: 36px 32px 28px;
    box-shadow: 0 24px 60px rgba(0, 30, 80, 0.22);
    animation: form-modal-in 0.28s ease;
}

@keyframes form-modal-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-modal__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-deep-blue);
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 700;
}

.form-modal__icon--error {
    background: var(--color-red);
    font-size: 1.6rem;
    line-height: 1;
}

.form-modal__title--error {
    color: var(--color-red);
}

.form-modal__note {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #666;
    text-align: center;
    margin: -12px 0 24px;
}

.form-modal__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-deep-blue);
    margin-bottom: 10px;
    text-align: center;
}

.form-modal__lead {
    font-size: 0.92rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 24px;
    color: #444;
}

.form-modal__review {
    border-top: 1px solid var(--color-border);
    margin-bottom: 28px;
}

.form-modal__row {
    display: grid;
    grid-template-columns: 7.5em 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.form-modal__row dt {
    color: #666;
    font-weight: 500;
}

.form-modal__row dd {
    word-break: break-word;
    white-space: pre-wrap;
    line-height: 1.7;
}

.form-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.form-modal__actions--center {
    justify-content: center;
}

.form-modal__btn {
    min-width: 120px;
    padding: 12px 20px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.form-modal__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-modal__btn--primary {
    background: var(--color-deep-blue);
    color: var(--color-white);
}

.form-modal__btn--primary:hover:not(:disabled) {
    background: var(--color-blue-bright);
}

.form-modal__btn--ghost {
    background: transparent;
    color: var(--color-deep-blue);
    border: 1px solid var(--color-deep-blue);
}

.form-modal__btn--ghost:hover:not(:disabled) {
    background: #eef3fa;
}

.form-loading {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 24, 48, 0.45);
}

.form-loading__panel {
    background: var(--color-white);
    padding: 36px 48px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 30, 80, 0.18);
}

.form-loading__spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    border: 3px solid #d9e2ef;
    border-top-color: var(--color-deep-blue);
    border-radius: 50%;
    animation: form-spin 0.75s linear infinite;
}

@keyframes form-spin {
    to { transform: rotate(360deg); }
}

.form-loading__text {
    font-size: 0.95rem;
    color: var(--color-deep-blue);
    font-weight: 500;
    letter-spacing: 0.06em;
}

/* Privacy */
.privacy {
    padding: 60px 0 80px;
    background: var(--color-beige);
    border-top: 1px solid var(--color-border);
}

.privacy__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--color-deep-blue);
}

.privacy p {
    font-size: 0.88rem;
    line-height: 2;
    color: #555;
}

/* Footer */
.footer {
    background: var(--color-beige);
    padding: 72px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    line-height: 1.4;
}

.footer-address,
.footer-contact {
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 8px;
}

.footer-tel {
    font-family: var(--font-en);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-deep-blue);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
    margin-bottom: 48px;
}

.footer-nav a {
    font-size: 0.88rem;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--color-deep-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom a {
    font-size: 0.8rem;
    color: #888;
}

.copyright {
    font-family: var(--font-en);
    font-size: 0.72rem;
    color: #aaa;
}

/* Scroll animations */
.fade-box {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-box.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .features-cards {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(2),
    .feature-card:nth-child(3) {
        top: 0;
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .mission {
        min-height: clamp(520px, 120vw, 680px);
        padding: 80px 0 100px;
    }

    .mission__bg-img {
        object-position: 65% 32%;
    }

    .mission__overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 58, 140, 0.9) 0%,
            rgba(0, 58, 140, 0.78) 55%,
            rgba(0, 58, 140, 0.35) 100%
        );
    }

    .mission-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mission-col--visual {
        display: none;
    }

    .mission-header {
        text-align: center;
    }

    .news-box {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }

    .news-header {
        width: 100%;
    }

    .price-plan {
        padding: 32px 20px 24px;
    }

    .price-light-promo {
        margin-top: 28px;
    }

    .price-light-promo__brand {
        padding: 24px 20px;
    }

    .price-light-promo__body {
        padding: 20px 20px 24px;
    }

    .price-light-promo__link {
        width: 100%;
        justify-content: center;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .area-grid {
        grid-template-columns: 1fr;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-container {
        padding: 0 20px;
    }

    .header-logo {
        margin-left: -20px;
        padding: 0 16px;
        gap: 10px;
    }

    .header-logo__mark {
        width: 40px;
        height: 40px;
    }

    .logo-text-ja {
        font-size: 0.85rem;
    }

    .logo-text-en {
        font-size: 0.5rem;
        margin-top: 0.35rem;
    }

    .header-nav-fixed {
        display: none;
    }

    .btn-contact-header {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 18px;
        right: 20px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-body {
        width: min(100%, 92%);
        margin-top: -40px;
        padding: 22px 20px 26px;
    }

    .grid-body::before {
        left: 20px;
        width: 22px;
    }

    .news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-meta {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-modal__dialog {
        padding: 28px 20px 24px;
    }

    .form-modal__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .form-modal__actions {
        flex-direction: column-reverse;
    }

    .form-modal__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .hero-portal__title-line,
    .hero-portal__sub {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-portal__scroll-line {
        animation: none;
    }

    .huge-text-track {
        animation: none;
    }

    .fade-box {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .form-modal__dialog,
    .form-loading__spinner,
    .form-status.is-error,
    .form-status.is-shake {
        animation: none;
    }
}
