@charset "UTF-8";

/* =========================================================================
   File Map
   =========================================================================
   01. Foundations (Variables, Reset & Base)
   02. Header
   03. Hero Section
   04. About Section
   05. News Section
   06. Banners Section
   07. MOU Section
   08. Subpage Common
   09. History (Timeline)
   10. Membership Page
   11. News Archive Page
   12. News Detail Page
   13. Members Page
   14. Modals
   15. Footer
   16. Responsive Design
   ========================================================================= */

/* =========================================================================
   Variables
   ========================================================================= */
:root {
    --color-primary: #444444;
    --color-secondary: #0a1945;
    --color-accent: #c38b4a;
    --color-accent-hover: #a8763c;
    --color-text-main: #444444;
    --color-text-muted: #666666;
    --color-white: #ffffff;
    --color-bg-light: #f5f6f8;
    --color-border: #e0e0e0;

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

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0.25rem 2rem;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-arrow {
    position: relative;
}

.btn-arrow::after {
    content: '›';
    position: absolute;
    right: 0.55rem;
    font-size: 26px;
    top: 50%;
    transform: translateY(-50%) translateY(-0.1em);
}

.btn-sm {
    padding: 0.25rem;
    font-size: 14px;
}

.btn-sm.btn-arrow {
    padding: 0.25rem 1.5rem;
}

.btn-gold {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-gold:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(195, 139, 74, 0.3);
}

.btn-brown {
    background-color: #d17a22;
    color: white;
}

.btn-brown:hover {
    background-color: #b3681c;
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-secondary);
    font-weight: 400;
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Shared Utilities */
.bg-light {
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: 29px;
    color: var(--color-primary);
    margin: 0;
}

/* =========================================================================
   Header
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #232055;
}

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

.nav-left ul,
.nav-right ul {
    display: flex;
    gap: 2rem;
}

.nav-left a,
.nav-right a {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-main);
    position: relative;
}

.nav-left a:hover,
.nav-right a:hover,
.nav-left a.active,
.nav-right a.active {
    color: var(--color-accent);
}

/* Logo */
.logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-center a {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.site-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-ja {
    font-size: 18px;
    font-weight: 400;
    color: #B88A2A;
}

.logo-en {
    font-size: 12px;
    color: #B88A2A;
    font-family: var(--font-en);
    font-weight: 500;
    line-height: 1.2;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-text-main);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 2rem 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 500;
}

.mobile-nav a.active {
    color: var(--color-accent);
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
    --hero-content-gap: 1rem;
    --hero-title-gap: 1.4rem;
    position: relative;
    min-height: clamp(520px, 70vh, 820px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slider .swiper-wrapper {
    align-items: stretch;
    height: 100%;
}

.hero-slider .slide {
    width: min(1400px, calc(100% - clamp(3rem, 10vw, 12rem)));
    min-width: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.slide-hero-001 {
    background-image: url('../../img/001.jpg');
}

.slide-hero-002 {
    background-image: url('../../img/002.jpg');
}

.slide-hero-003 {
    background-image: url('../../img/003.jpg');
}

.slide-hero-004 {
    background-image: url('../../img/004.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.14) 48%, rgba(0, 0, 0, 0.03) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--hero-content-gap);
    width: min(90%, 1200px);
    color: var(--color-white);
}

.hero-heading-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.hero-title {
    font-family: 'Zen Kurenaido', 'Noto Sans JP', sans-serif;
    font-size: 56px;
    font-weight: 400;
    display: inline-block;
    transform: none;
    letter-spacing: 0.08em;
    line-height: 1.02;
    margin: 0;
    padding-bottom: 0;
    color: var(--color-white);
}

.hero-title-line {
    display: block;
    width: fit-content;
    padding-left: 0.24em;
    padding-right: 0.24em;
    background-color: rgba(255, 255, 255, 0.90);
    color: var(--color-text-main);
    will-change: transform, opacity;
}


.hero-title-line-1 {
    padding-top: 0.15em;
    padding-bottom: 0.15em;
}

.hero-title-line-2 {
    padding-top: 0em;
    padding-bottom: 0.2em;
}


.js .hero-title.hero-title--prepared .hero-title-line {
    opacity: 0;
    transform: translateX(-48px);
}

.js .hero-title.hero-title--prepared.hero-title--visible .hero-title-line {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.75s cubic-bezier(0.18, 0.8, 0.24, 1),
        opacity 0.75s ease;
}

.js .hero-title.hero-title--prepared.hero-title--visible .hero-title-line-1 {
    transition-delay: 0.05s;
}

.js .hero-title.hero-title--prepared.hero-title--visible .hero-title-line-2 {
    transition-delay: 0.18s;
}

.hero-title-char {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    will-change: transform, opacity, filter;
}

.js .hero-title.hero-title--prepared .hero-title-char {
    opacity: 0;
    transform: translateY(0.28em);
    filter: blur(6px);
}

.js .hero-title.hero-title--prepared.hero-title--visible .hero-title-char {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease;
}

.js .hero-logo-box.hero-logo-box--prepared::before {
    transform: translateX(-102%);
}

.js .hero-logo-box.hero-logo-box--prepared .hero-logo-box-inner {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(6px);
}

.js .hero-logo-box.hero-logo-box--prepared.hero-logo-box--visible::before {
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.18, 0.8, 0.24, 1);
}

.js .hero-logo-box.hero-logo-box--prepared.hero-logo-box--visible .hero-logo-box-inner {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition: transform 0.65s ease, opacity 0.65s ease, filter 0.65s ease;
    transition-delay: 0.16s;
}

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

    .js .hero-title.hero-title--prepared .hero-title-line,
    .js .hero-title.hero-title--prepared .hero-title-char,
    .js .hero-title.hero-title--prepared.hero-title--visible .hero-title-line,
    .js .hero-title.hero-title--prepared.hero-title--visible .hero-title-char,
    .js .hero-logo-box.hero-logo-box--prepared::before,
    .js .hero-logo-box.hero-logo-box--prepared .hero-logo-box-inner,
    .js .hero-logo-box.hero-logo-box--prepared.hero-logo-box--visible::before,
    .js .hero-logo-box.hero-logo-box--prepared.hero-logo-box--visible .hero-logo-box-inner {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

.hero-logo-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0;
    margin-bottom: 6rem;
    padding: 0.24em 0.84rem .5rem;
    overflow: hidden;
}

.hero-logo-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.hero-logo-box-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: inherit;
}

.hero-site-logo-img {
    width: 40px;
    height: 40px;
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--color-primary);
}

.hero-logo-ja {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1.6px;
}

.hero-logo-en {
    font-size: 9px;
    font-family: var(--font-en);
    font-weight: 500;
}

.hero-desc {
    font-size: 19px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0;
}



/* =========================================================================
   About Section
   ========================================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-content p {
    margin: 0;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: left center;
    display: block;
    border-radius: 0;
}

/* =========================================================================
   News Section
   ========================================================================= */
.news {
    width: min(calc(100% - 3rem), 1200px);
    margin: 0 auto;
    padding: 2.5rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
}

.news .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin: 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    column-gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition);
}

.news-item:hover {
    background-color: #fafafa;
}

.news-meta {
    display: grid;
    grid-template-columns: 6.4rem 6.4rem;
    align-items: center;
    column-gap: 1rem;
    min-width: 0;
}

.news-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
}

.news-copy.is-single-line {
    padding-top: 0.15rem;
}

.news-meta time {
    font-family: var(--font-en);
    color: var(--color-text-muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.24rem 0.7rem;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    border: none;
}

.bg-gray,
.bg-gold,
.bg-green {
    background-color: #958267;
}

.badge-member-only {
    background-color: #b45309;
    padding-inline: 0.55rem;
    min-width: 4.6rem;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.news-title {
    margin: 0;
    min-width: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title-en {
    margin: 0.35rem 0 0;
    min-width: 0;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
}

.news-title-en a {
    color: inherit;
    text-decoration: none;
}

.news-title-en a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.news-title a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* =========================================================================
   Banners Section
   ========================================================================= */
.banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.banner-link {
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem;
    transition: transform var(--transition);
}

.banner-link:hover {
    transform: scale(1.02);
}

.banner-content {
    display: grid;
    gap: 0.45rem;
    z-index: 2;
    width: 100%;
}

.banner-category {
    display: inline-block;
    justify-self: start;
    padding: 0.2rem 0.5rem;
    background-color: var(--color-primary);
    color: white;
    font-size: 12px;
    margin: 0;
    border-radius: 2px;
}

.banner-category {
    background-color: transparent;
    border: 1px solid white;
}

.banner-title-large {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

.banner-sub {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.banner-arrow {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    transform: rotate(45deg);
    margin-left: -2px;
}

.banner-membership {
    background-image:
        linear-gradient(to right, rgba(0, 30, 80, 0.7) 0%, rgba(0, 30, 80, 0.35) 50%, rgba(0, 30, 80, 0) 100%),
        url('../../img/bnr_img01.jpg');
}

.banner-members {
    background-image:
        linear-gradient(to right, rgba(0, 30, 80, 0.7) 0%, rgba(0, 30, 80, 0.35) 50%, rgba(0, 30, 80, 0) 100%),
        url('../../img/bnr_img02.jpg');
}

/* =========================================================================
   MOU Section
   ========================================================================= */
.mou {
    background: linear-gradient(180deg, #faf8f4 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mou .container {
    display: grid;
    gap: 2.5rem;
}

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

.mou-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.25rem 1.25rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: none;
    transition: border-color var(--transition);
}

.mou-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--mou-accent, var(--color-accent)) 0%, rgba(255, 255, 255, 0) 100%);
}

.mou-card-iato {
    --mou-accent: #0058A8;
}

.mou-card-otoai {
    --mou-accent: #566060;
}

.mou-card-bmu {
    --mou-accent: #383888;
}

.mou-card-lions {
    --mou-accent: #C8A028;
}

.mou-card:hover {
    border-color: rgba(195, 139, 74, 0.35);
}

.mou-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    text-align: center;
}

.mou-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 70px;
    object-fit: contain;
}

.mou-card-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-muted);
}

.mou-card-label::after {
    content: '';
    width: 0.42rem;
    height: 0.42rem;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

/* =========================================================================
   Subpage Common
   ========================================================================= */
.subpage-body {
    background-color: #fff;
}

.subpage-hero {
    margin-top: 80px;
    padding: 5.5rem 0 4.5rem;
    background-image: url('../../img/about_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.subpage-kicker,
.section-heading-en {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8d8d8d;
}

.subpage-kicker,
.section-heading-en {
    font-size: 12px;
}

.subpage-title {
    margin-top: 0.9rem;
    font-size: clamp(1rem, 2vw, 1.7rem);
    color: var(--color-primary);
}

.subpage-hero .subpage-kicker,
.subpage-hero .subpage-title {
    color: #fff;
}

.breadcrumb {
    padding: 1rem 0 0;
    color: var(--color-text-muted);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb li+li::before {
    content: '›';
    margin: 0 0.6rem;
    font-size: 18px;
    line-height: 1;
    opacity: 0.6;
}

.breadcrumb a {
    color: inherit;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.section-heading {
    margin-bottom: 3rem;
}

.section-heading-center {
    text-align: center;
}

.section-intro {
    max-width: 860px;
    margin: 0 auto 3.5rem;
}

.section-intro-center {
    text-align: center;
}

.section-heading:last-child,
.section-intro>*:last-child {
    margin-bottom: 0;
}

.section-lead {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.about-profile {
    background-color: var(--color-white);
}

.about-profile-inner {
    max-width: 860px;
}

/* =========================================================================
   History (Timeline)
   ========================================================================= */
/* History Timeline */
.history-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.history-sidebar {
    position: sticky;
    top: 120px;
    /* Adjust based on header height */
    width: 200px;
    flex-shrink: 0;
    font-size: 15px;
}

.history-sidebar-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.history-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history-nav-list li+li {
    margin-top: 0.5rem;
}

.history-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    transition: color 0.2s;
    border-bottom: 1px solid #ebebeb;
}

.history-nav-link::after {
    content: '›';
    font-size: 19px;
}

.history-nav-link:hover {
    color: var(--color-accent);
}

.history-main {
    flex-grow: 1;
    position: relative;
    padding-left: 2rem;
}

.history-main::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0;
    width: 1px;
    background-color: #ddd;
}

.history-group {
    margin-bottom: 6rem;
    scroll-margin-top: 100px;
}

.history-item {
    position: relative;
    margin-bottom: 4rem;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 9px;
    height: 9px;
    background-color: var(--color-accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px #fff;
}

.history-year {
    font-size: 29px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.history-title {
    font-size: 22px;
    margin-bottom: 1rem;
    color: #333;
}

.history-desc {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.history-grid-item {
    aspect-ratio: 16 / 9;
    background-color: #eee;
    overflow: hidden;
    border-radius: 4px;
}

.history-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .history-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .history-sidebar {
        position: static;
        width: 100%;
    }

    .history-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .history-nav-list li {
        width: calc(33.333% - 0.667rem);
        margin-top: 0 !important;
    }

    .history-main {
        padding-left: 1.5rem;
    }

    .history-item::before {
        left: -1.5rem;
    }
}

@media (max-width: 767px) {
    .history-nav-list li {
        width: calc(50% - 0.5rem);
    }

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

    .history-year {
        font-size: 24px;
    }

    .history-title {
        font-size: 19px;
    }
}

.profile-card {
    border-top: 1px solid #d7d7d7;
}

.profile-table {
    display: grid;
    gap: 0;
}

.profile-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e3e3e3;
    align-items: start;
}

.profile-row dt {
    color: #666666;
}

.profile-row dd {
    color: #333333;
    line-height: 1.6;
}

.profile-contact-link {
    color: #0f5d73;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    transition: color 0.2s ease;
}

.profile-contact-link:hover,
.profile-contact-link:focus-visible {
    color: #083d4d;
}

.profile-officer-list {
    display: grid;
    gap: 0;
}

.profile-officer-item {
    display: grid;
    grid-template-columns: 88px 120px 1fr;
    gap: 0.75rem 1rem;
    align-items: start;
}

.profile-officer-role,
.profile-officer-name {
    color: #2f2f2f;
}

.profile-officer-desc {
    color: #555555;
}

.about-story-band {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}

.about-story-list {
    display: grid;
    gap: 2.75rem;
}

.story-block {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 2.4rem 0;
    border-top: 1px solid #d7d7d7;
}

.story-block:last-child {
    padding-bottom: 0;
}

.story-block-profile-only {
    grid-template-columns: 1fr;
    justify-items: center;
}

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

.story-block-profile-only .story-visual {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    width: min(100%, 760px);
}

.story-block-profile-only .story-visual .story-photo {
    width: min(32%, 220px);
    flex: 0 0 auto;
}

.story-block-profile-only .story-visual .story-signature {
    margin: 0;
    width: min(100%, 34rem);
    flex: 1 1 auto;
}

.story-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.story-visual .story-photo {
    width: min(68%, 220px);
    aspect-ratio: 3 / 4;
    height: auto;
    border: 1px solid #d2d2d2;
    object-fit: cover;
    object-position: center top;
}

.story-visual .story-signature {
    margin: 1rem 0 0;
}

.story-visual .story-photo-large {
    width: min(75%, 240px);
}

.story-text {
    color: #555555;
    line-height: 1.6;
    max-width: 100%;
}

.story-signature {
    display: block;
    width: min(100%, 34rem);
    max-width: 100%;
    margin: 1.25rem 0 0 auto;
    color: #444444;
    line-height: 1.6;
    text-align: left;
}

.story-signature-main {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    padding-bottom: 0.2rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid #cfcfcf;
}

.story-signature-org {
    min-width: 0;
}

.story-signature-role {
    text-align: left;
    white-space: normal;
}

.story-signature-history {
    display: block;
    color: #666666;
}

.story-signature-history:empty {
    display: none;
}


.about-focus {
    background-color: var(--color-white);
}

.focus-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
}

.focus-layout-statement {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}

.focus-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 1.85rem;
    align-items: start;
}

.focus-row .focus-copy p {
    color: #3d3d3d;
    line-height: 1.6;
    margin: 0;
}

.focus-row .focus-copy p+p {
    margin-top: 0.5rem;
}

.focus-row-reverse .focus-media {
    order: 2;
}

.focus-row-reverse .focus-copy {
    order: 1;
}

.focus-row-reverse {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

/* =========================================================================
   Membership Page
   ========================================================================= */
.membership-intro {
    margin-bottom: 5rem;
}

.membership-sub-heading {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: var(--color-secondary);
    letter-spacing: 0.05em;
}

.membership-president-sign {
    display: block;
    text-align: right;
    margin-top: 1rem;
}

.membership-divider {
    display: block;
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

.membership-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.membership-type-card {
    background: #f9f9f9;
    padding: 2.5rem;
    border-top: 4px solid var(--color-accent);
    border-radius: 4px;
}

.fee-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 0.25rem;
}

.fee-amount {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.membership-form-area {
    background: #fff;
    padding: 6rem 4rem;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.membership-modern-form {
    max-width: 800px;
    margin: 5rem auto 0;
}

.membership-grid-layout {
    margin-top: 4rem;
}

.membership-type-card {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 4px;
}

.membership-type-card.corporate-card {
    border-top: 4px solid var(--color-accent);
}

.membership-type-card.individual-card {
    border-top: 4px solid var(--color-secondary);
}

.membership-type-card h3 {
    font-size: 24px;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.membership-type-card p.card-desc {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.fee-box {
    margin-top: 2rem;
}

.fee-box .fee-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 0.25rem;
}

.fee-box .fee-amount {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
}

.fee-box .fee-currency {
    font-size: 1rem;
    margin-left: 0.3rem;
}

.membership-process-section {
    background-color: var(--color-bg-light);
}


.process-steps {
    margin-top: 4rem;
    position: relative;
}

.step-item-icon {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
    font-weight: bold;
}

.step-item h4 {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.step-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.membership-form-area {

    background: #fff;
    padding: 6rem 4rem;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-section .membership-form-area {
    padding-top: 3rem;
}

.section-heading .form-note {
    margin-top: 1.5rem;
    color: #888;
    font-size: 15px;
}

.membership-modern-form {
    max-width: 800px;
    margin: 5rem auto 0;
}

.contact-section .membership-modern-form {
    margin-top: 0;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.form-col {
    flex: 1;
    min-width: 300px;
}

.field-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.field-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.field-input:focus {
    border-color: var(--color-secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    outline: none;
}

.form-section-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--color-secondary);
    border-radius: 2px;
}

.modern-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    color: #fff;
    margin-left: auto;
    font-weight: normal;
}

.modern-badge-required {
    background: #e74c3c;
}

.modern-badge-optional {
    background: #999;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

.radio-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 15px;
    color: #555;
}

.radio-label input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--color-secondary);
}

select.field-input {
    cursor: pointer;
}

.form-col-zip {
    flex: 0 0 200px;
}

.form-col-addr {
    flex: 1;
}

.radio-group-wrap {
    flex-wrap: wrap;
    gap: 1rem;
}

textarea.field-input {
    resize: vertical;
    min-height: 120px;
}

.form-submit-area {
    text-align: center;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.privacy-check-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #333;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.privacy-check-input {
    width: 1.3rem;
    height: 1.3rem;
    accent-color: var(--color-secondary);
}

.privacy-check-link {
    color: var(--color-secondary);
    text-decoration: underline;
}

.form-submit-btn {
    padding: 1.2rem 2rem;
    font-size: 18px;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

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

.form-submit-note {
    font-size: 14px;
    color: #999;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--color-secondary);
    padding-left: 0.8rem;
}

.privacy-list {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.membership-cta {
    margin: 6rem auto 4rem;
    text-align: center;
    padding: 5rem 4rem;
    background: var(--color-secondary);
    color: #fff;
    border-radius: 8px;
    max-width: 1000px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.membership-cta h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.membership-cta p.cta-desc {
    margin-bottom: 3rem;
    opacity: 0.9;
    font-size: 17px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1.2rem 2rem;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 18px;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 320px;
}

.cta-hours {
    font-size: 15px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Membership Invitation Section (Grouping Intro Text and Cards) */
.membership-invitation-section {
    margin-top: 2rem;
}

.membership-invitation-text {
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Base style for CTA divider if not exists */
.cta-divider {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .cta-divider {
        display: none;
    }
}

/* =========================================================================
   News Archive Page
   ========================================================================= */
.news-page .news-hero {
    background-image:
        url('../../img/about_bg.jpg');
}

.news-archive {
    background-color: var(--color-white);
}

.news-archive-container {
    max-width: 960px;
}

.news-archive-heading {
    margin-bottom: 2.5rem;
}

.news-archive-panel {
    padding: 3rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
}

.news-archive-meta {
    display: grid;
    grid-template-columns: 6.4rem 6.4rem;
    align-items: center;
    column-gap: 1rem;
    color: var(--color-text-muted);
}

.news-archive-title a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.news-archive-list {
    display: grid;
}

.news-archive-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--color-border);
}

.news-archive-item:last-child {
    border-bottom: 0;
}

.news-archive-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
}

.news-archive-copy.is-single-line {
    padding-top: 0.15rem;
}

.news-archive-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    overflow-wrap: anywhere;
    line-break: strict;
}

.news-archive-title a {
    color: inherit;
    text-decoration: none;
}

.news-archive-title-en {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
}

.news-archive-title-en a {
    color: inherit;
    text-decoration: none;
}

.news-archive-title-en a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* =========================================================================
   Modals
   ========================================================================= */
.news-detail {
    background-color: var(--color-white);
}

.news-detail-container {
    max-width: 900px;
    min-width: 0;
}

.news-detail-page {
    overflow-x: hidden;
}

.news-detail-page .breadcrumb li {
    min-width: 0;
    overflow-wrap: anywhere;
    line-break: strict;
}

.news-detail-header {
    display: grid;
    gap: 1.2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-muted);
}

.news-detail-title {
    color: var(--color-primary);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.55;
    overflow-wrap: anywhere;
    line-break: strict;
}

.news-detail-title-en {
    margin: -0.55rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

.news-detail-visual {
    position: relative;
    overflow: hidden;
    margin: 2.5rem 0;
    background: #eeeeee;
    aspect-ratio: 16 / 9;
}

.news-detail-main-image {
    display: block;
    position: relative;
    z-index: 1;
}

.news-detail-visual:not(.news-detail-visual-portrait) .news-detail-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-visual-portrait {
    padding: 0;
    background: #e9edf1;
}

.news-detail-visual-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.news-detail-visual-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
}

.news-detail-visual-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.08);
    opacity: 0.62;
}

.news-detail-visual-portrait .news-detail-main-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: fill;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.news-detail-body {
    display: grid;
    gap: 1.5rem;
    color: var(--color-text-main);
    line-height: 1.9;
}

.news-detail-body p {
    overflow-wrap: anywhere;
    line-break: strict;
}

.news-detail-body a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

.news-detail-body a:hover {
    color: var(--color-primary);
}

.news-detail-info,
.news-detail-gallery,
.news-detail-attachments {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.news-detail-info h3,
.news-detail-gallery h3,
.news-detail-attachments h3 {
    margin-bottom: 1rem;
    color: var(--color-secondary);
    font-size: 19px;
    font-weight: 500;
}

.news-detail-info dl {
    display: grid;
    border-top: 1px solid var(--color-border);
}

.news-detail-info dl div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 1.25rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
}

.news-detail-info dt {
    color: var(--color-text-muted);
}

.news-detail-info dd {
    color: var(--color-text-main);
}

.news-gallery-carousel {
    position: relative;
}

.news-gallery-viewport {
    overflow: hidden;
    min-width: 0;
    width: 100%;
    touch-action: pan-y;
}

.news-gallery-grid {
    --news-gallery-gap: 1rem;
    --news-gallery-columns: 3;
    display: flex;
    gap: var(--news-gallery-gap);
    transition: transform 0.35s ease;
}

.news-gallery-item {
    flex: 0 0 calc((100% - (var(--news-gallery-gap) * (var(--news-gallery-columns) - 1))) / var(--news-gallery-columns));
    min-width: 0;
}

.news-gallery-arrow {
    display: none;
    position: absolute;
    top: 50%;
    z-index: 3;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #ffffff;
    color: var(--color-secondary);
    cursor: pointer;
    font-size: 29px;
    line-height: 1;
    transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
    transform: translateY(-50%);
}

.news-gallery-arrow-prev {
    left: -3.25rem;
}

.news-gallery-arrow-next {
    right: -3.25rem;
}

.news-gallery-carousel.is-slider .news-gallery-arrow {
    display: inline-flex;
}

.news-gallery-arrow:hover:not(:disabled) {
    border-color: rgba(195, 139, 74, 0.55);
    background: #fafafa;
    color: var(--color-accent);
}

.news-gallery-arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

.news-gallery-arrow[hidden] {
    display: none;
}

.news-gallery-button {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 0;
    aspect-ratio: 4 / 3;
    background: #eeeeee;
    cursor: pointer;
    user-select: none;
}

.news-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.news-gallery-button:hover>img {
    transform: scale(1.04);
}

.news-gallery-button-portrait {
    background: #e9edf1;
}

.news-gallery-thumb-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.news-gallery-thumb-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
}

.news-gallery-thumb-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(14px);
    transform: scale(1.1);
    opacity: 0.62;
}

.news-gallery-button-portrait>.news-gallery-thumb-main {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    width: auto;
    height: 100%;
    max-width: none;
    transform: translateX(-50%);
}

.news-gallery-button-portrait:hover>.news-gallery-thumb-main {
    transform: translateX(-50%) scale(1.04);
}

.news-gallery-item figcaption {
    margin-top: 0.45rem;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.attachment-list {
    display: grid;
    gap: 0.8rem;
}

.attachment-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fafafa;
}

.attachment-link:hover {
    border-color: rgba(195, 139, 74, 0.5);
    color: var(--color-accent);
}

.attachment-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.16rem 0.4rem;
    border-radius: 4px;
    background: var(--color-secondary);
    color: #ffffff;
    font-size: 12px;
}

.news-detail-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0 0;
}

@media (max-width: 768px) {
    .news-archive-panel {
        padding: 1.25rem;
    }

    .news-archive-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        align-items: start;
    }

    .news-archive-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }

    .news-detail-info dl div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .news-gallery-grid {
        --news-gallery-columns: 1;
    }

    .news-gallery-carousel {
        margin-inline: 0;
    }

    .news-gallery-arrow {
        width: 2.35rem;
        height: 2.35rem;
        background: rgba(255, 255, 255, 0.9);
    }

    .news-gallery-arrow-prev {
        left: 0.35rem;
    }

    .news-gallery-arrow-next {
        right: 0.35rem;
    }

    .attachment-link {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-detail-actions {
        justify-content: stretch;
    }

    .news-detail-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .news-item {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: start;
        column-gap: 1.5rem;
        row-gap: 0;
    }

    .news-meta {
        min-height: 100%;
        align-self: start;
        padding-top: 0.15rem;
    }

    .news-copy {
        align-self: start;
    }

    .news-archive-item {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: start;
        column-gap: 1.5rem;
        row-gap: 0;
    }

    .news-archive-meta {
        align-self: start;
        padding-top: 0.15rem;
    }

    .news-archive-copy {
        align-self: start;
    }
}

/* =========================================================================
   Members Page
   ========================================================================= */
.members-page .members-hero {
    background-image:
        url('../../img/about_bg.jpg');
}

.members-locked .members-protected {
    display: none;
}

.members-unlocked .members-lock {
    display: none;
}

.members-lock {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.members-lock-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.members-lock-title {
    margin: 0.75rem 0 1rem;
    font-size: 26px;
    color: var(--color-primary);
}

.members-lock-text {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.members-login-form {
    display: grid;
    gap: 1rem;
    text-align: left;
}

.members-password-input {
    text-align: center;
}

.members-login-button {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
}

.members-login-message {
    min-height: 1.5em;
    margin: 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

.members-login-message.is-error {
    color: #c63828;
}

.members-container-narrow {
    max-width: 900px;
}

.members-intro {
    padding-bottom: 3rem;
}

.members-news-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.members-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.4rem 1.6rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

.members-logout-button {
    appearance: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #ffffff;
    color: var(--color-text-muted);
    padding: 0.4rem 0.9rem;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}

.members-logout-button:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.members-news-list {
    display: grid;
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

.members-news-item {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1rem 1.6rem;
    border-bottom: 1px solid var(--color-border);
}

.members-news-item:last-child {
    border-bottom: 0;
}

.members-news-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-muted);
}

.members-news-title {
    font-size: 1rem;
}

.members-news-title a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.downloads-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.download-list {
    display: grid;
    background: var(--color-white);
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.6rem;
    border-bottom: 1px solid var(--color-border);
}

.download-item:last-child {
    border-bottom: 0;
}

.download-item-main {
    min-width: 0;
}

.download-item-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-muted);
    font-size: 14px;
}

.download-item-title {
    font-size: 1rem;
    margin-top: 0.35rem;
}

.download-item-main p {
    margin-top: 0.4rem;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

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

.members-resource-card {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
}

.members-resource-image {
    min-height: 150px;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 4px;
}

.members-resource-image--slider {
    position: relative;
    aspect-ratio: 2 / 3;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: #ffffff;
    border-radius: 0;
}

.members-resource-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease;
    object-fit: contain;
    background: #ffffff;
}

.members-resource-slide.is-active {
    opacity: 1;
}

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

.members-resource-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.members-resource-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

.members-resource-copy h3 {
    font-size: 20px;
    color: var(--color-secondary);
}

.members-resource-copy p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.members-resource-copy .btn {
    margin-top: auto;
}

@media (max-width: 900px) {

    .members-resource-grid {
        grid-template-columns: 1fr;
    }

    .members-news-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .members-lock-card {
        padding: 2rem 1.5rem;
    }

    .members-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .members-news-item {
        padding: 1rem;
    }

    .download-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .members-news-meta {
        flex-wrap: wrap;
    }

    .members-resource-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .members-resource-image {
        min-height: 190px;
    }

    .members-resource-image--slider {
        width: min(62vw, 210px);
        min-height: 0;
        margin: 0 auto;
    }
}

/* Initial state for form logic */
#identity-section,
#corporate-only-area,
#individual-only-area,
#contact-section,
#remarks-section {
    display: none;
}
/* =========================================================================
   Modal
   ========================================================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    border: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-accent);
}

.history-grid-item img {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.history-grid-item img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Privacy Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.privacy-text p.intro {
    margin-bottom: 2rem;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--color-secondary);
    padding-left: 0.8rem;
}

.privacy-list {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.modal-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-close-modal {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.8rem 3rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-top: 2px solid #B88A2A;
    padding: 1rem 0 0;
    position: relative;
}

.footer::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 100%;
    aspect-ratio: 776 / 670;
    background-image: url('../../img/footer_right.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(var(--color-white) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition), background-color var(--transition), color var(--transition), visibility var(--transition);
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -65px;
    right: -59px;
    width: 80px;
    height: 80px;
    background-image: url('../../img/totop_img.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .scroll-to-top:hover {
        background-color: var(--color-white);
        color: var(--color-secondary);
    }
}

.footer .container {
    display: grid;
    gap: 3rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.footer-nav a {
    font-size: 14px;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    color: #eac05e;
}

.footer-site-logo-img {
    width: 72px;
    height: 72px;
    filter: brightness(0) invert(1);
}

.f-logo-ja {
    display: block;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .1em;
}

.f-logo-en {
    font-size: 10px;
    font-family: var(--font-en);
    font-weight: 500;
    letter-spacing: .25em;
}

.footer-address {
    font-style: normal;
    font-size: 15px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    font-size: 10px;
    color: var(--color-text-muted);
    background-color: var(--color-white);
    border-top: 2px solid #B88A2A;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 292px;
    height: 334px;
    background-image: url('../../img/footer_left.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.footer-bottom p {
    position: relative;
    z-index: 1;
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 1024px) {
    /* Header */

    .nav-left ul,
    .nav-right ul {
        display: none;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: calc(50% + 4px);
        transform: translateY(-50%);
    }

    .header-container {
        justify-content: center;
        padding: 8px 5rem 0;
    }

    .logo-center {
        width: 100%;
    }

    .logo-mark {
        gap: 10px;
    }

    .logo-ja {
        font-size: 1rem;
    }

    .logo-en {
        font-size: 11px;
    }

    /* Hero */
    .hero-title {
        font-size: 3rem;
    }

    .hero {
        height: 64vh;
        min-height: 0;
    }

    .hero-slider .slide {
        width: 100%;
    }

    /* MOU */
    .mou-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-signature {
        width: 100%;
    }

    .story-signature-main {
        grid-template-columns: 1fr;
        gap: 0.08rem;
        padding-bottom: 0.3rem;
    }

    .story-signature-role {
        text-align: left;
        white-space: normal;
        line-height: 1.35;
    }

    .story-signature-org {
        line-height: 1.35;
    }
}

@media (max-width: 768px) {

    /* Foundations */
    :root {
        --fs-mobile-2xs: 0.5rem;
        --fs-mobile-xs: 0.6rem;
        --fs-mobile-sm: 0.8rem;
        --fs-mobile-md: 0.9rem;
        --fs-mobile-base: 1rem;
        --fs-mobile-lg: 1.2rem;
        --fs-mobile-xl: 1.5rem;
    }

    .container {
        width: calc(100% - 3rem);
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .news {
        width: calc(100% - 2rem);
        padding: 1.25rem;
    }

    /* Type */
    .logo-ja,
    .logo-en {
        line-height: 1.1;
    }

    .section-title {
        font-size: var(--fs-mobile-xl);
    }

    .subpage-title {
        font-size: 1rem;
    }

    .about-content p,
    .hero-desc {
        font-size: var(--fs-mobile-base);
    }

    .news-header .btn-sm,
    .footer-nav a {
        font-size: var(--fs-mobile-sm);
    }

    .news-meta time,
    .footer-address {
        font-size: var(--fs-mobile-sm);
    }

    .news-title {
        font-size: var(--fs-mobile-base);
    }

    .news-item,
    .news-archive-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        align-items: start;
    }

    .news-meta,
    .news-archive-meta {
        display: flex;
        gap: 0.7rem;
        flex-wrap: wrap;
    }

    .news-title-en,
    .news-archive-title-en {
        font-size: 0.78rem;
    }

    .banner-title-large {
        font-size: var(--fs-mobile-base);
    }

    /* Header */
    .header {
        height: 72px;
    }

    .subpage-hero {
        margin-top: 72px;
        padding: 4.6rem 0 3.6rem;
    }

    .header-container {
        padding: 8px 4rem 0;
    }

    .logo-center {
        justify-content: center;
    }

    .logo-mark {
        gap: 6px;
        white-space: nowrap;
    }

    .site-logo-img {
        width: 34px;
        height: 34px;
    }

    .logo-ja {
        font-size: var(--fs-mobile-sm);
    }

    .logo-en {
        display: block;
        font-size: var(--fs-mobile-2xs);
        max-width: 6.2rem;
    }

    .menu-toggle {
        right: 1rem;
        width: 28px;
        height: 22px;
    }

    .mobile-nav {
        top: 72px;
        padding: 1.5rem 0;
    }

    .mobile-nav ul {
        gap: 1rem;
    }

    .mobile-nav a {
        font-size: var(--fs-mobile-base);
    }

    /* Hero */
    .hero {
        --hero-content-gap: 0.75rem;
        --hero-title-gap: clamp(1.75rem, 6svh, 3rem);
        height: auto;
        min-height: min(620px, calc(100svh - 116px));
        margin-top: 72px;
    }

    .hero-title {
        width: 100%;
        font-size: clamp(2.8rem, 11vw, 3.9rem);
        line-height: 1.06;
        letter-spacing: 0.04em;
        margin: 0;
        padding-bottom: 0;
    }

    .hero-title-line {
        padding-left: 0.3em;
        padding-right: 0.18em;
    }

    .hero-title-line-1 {
        padding-top: 0.12em;
        padding-bottom: 0.2em;
    }

    .hero-title-line-2 {
        padding-top: 0;
        padding-bottom: 0.25em;
    }

    .hero-desc {
        text-align: center;
        margin: 0 auto 1rem auto;
    }

    .hero-content {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        min-height: min(620px, calc(100svh - 116px));
        padding: calc(52px + 1rem) 0 clamp(1.1rem, 4svh, 1.75rem);
        gap: var(--hero-content-gap);
    }

    .hero-heading-group {
        width: auto;
    }

    .hero-logo-box {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.4rem;
        margin-bottom: 8rem;
        width: auto;
        display: inline-flex;
        align-self: flex-start;
        margin-top: 0;
        padding-left: 0.8rem;
        margin-left: 0;
    }

    .hero-site-logo-img {
        width: 32px;
        height: 32px;
    }

    .hero-logo-ja {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .hero-logo-text {
        align-items: flex-start;
        margin-bottom: 0;
    }

    .hero-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0.02) 100%);
    }

    /* Soften white bands on mobile */
    .hero-title-line {
        background-color: rgba(255, 255, 255, 0.82);
    }

    .hero-logo-box::before {
        background: rgba(255, 255, 255, 0.82);
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-image img {
        max-width: 320px;
        margin: 0 auto;
    }

    /* News */
    .news-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .news-header .btn-sm {
        flex-shrink: 0;
        padding: 0.2rem 1rem;
        white-space: nowrap;
    }

    .news-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-meta {
        min-width: auto;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        margin-bottom: 0.2rem;
    }

    /* Banners */
    .banners-grid {
        grid-template-columns: 1fr;
    }

    .profile-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.75rem 0;
    }

    .profile-row dt {
        font-size: var(--fs-mobile-md);
        color: #6f6f6f;
        letter-spacing: 0.04em;
    }

    .profile-row dd {
        font-size: var(--fs-mobile-md);
    }

    .profile-officer-item {
        grid-template-columns: 5.2rem 1fr;
        gap: 0.2rem 0.65rem;
    }

    .profile-officer-role {
        font-size: var(--fs-mobile-md);
        color: #686868;
    }

    .profile-officer-name {
        font-size: var(--fs-mobile-md);
    }

    .profile-officer-desc {
        grid-column: 1 / -1;
        font-size: var(--fs-mobile-md);
        color: #666666;
        line-height: 1.55;
        padding-bottom: 0.45rem;
        border-bottom: 1px dotted #d9d9d9;
    }

    .profile-officer-item:last-child .profile-officer-desc {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .story-block {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .story-block-profile-only .story-visual {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .story-block-profile-only .story-visual .story-photo {
        width: min(68%, 220px);
    }

    .story-block-profile-only .story-visual .story-signature {
        margin: 1rem 0 0;
        width: 100%;
        max-width: 34rem;
    }

    .story-profile-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .focus-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .focus-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .focus-row-reverse .focus-media,
    .focus-row-reverse .focus-copy {
        order: initial;
    }

    .about .container,
    .banners .container,
    .mou .container {
        width: calc(100% - 3rem);
    }

    .banner-link {
        min-height: 128px;
        height: auto;
        padding: 1rem;
    }

    .banner-title-large {
        font-size: var(--fs-mobile-lg);
    }

    .banner-sub {
        font-size: var(--fs-mobile-sm);
        max-width: calc(100% - 2.5rem);
    }

    .banner-arrow {
        right: 1rem;
        width: 26px;
        height: 26px;
    }

    /* MOU */
    .mou .container {
        gap: 1.5rem;
    }

    .mou-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .mou-card {
        padding: 1.2rem 1rem 1rem;
    }

    /* Hero actions */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 272px;
        padding: 0.7rem 0.9rem;
        font-size: var(--fs-mobile-md);
    }

    /* Footer */
    .footer .container {
        gap: 2rem;
        padding-bottom: 1.5rem;
    }

    .footer::after {
        display: none;
    }

    .footer-bottom::before {
        left: -2em;
        bottom: calc(100% - 1.5rem);
    }

    .scroll-to-top {
        width: 48px;
        height: 48px;
        right: 1rem;
        bottom: 1rem;
    }

    .footer-nav {
        padding-bottom: 1.25rem;
    }

    .footer-nav ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        width: min(100%, 22rem);
    }

    .footer-nav a {
        display: block;
        text-align: center;
        white-space: nowrap;
    }

    .footer-info {
        gap: 1rem;
    }

    .footer-site-logo-img {
        width: 60px;
        height: 60px;
    }

    .f-logo-ja {
        font-size: var(--fs-mobile-lg);
    }

    .f-logo-en {
        font-size: var(--fs-mobile-xs);
    }

    /* Membership Page Mobile Adjustments */
    .membership-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .process-steps {
        flex-direction: column !important;
        gap: 2.5rem !important;
    }

    .process-steps::after {
        display: none;
    }

    .step-item {
        max-width: 100% !important;
    }

    .membership-form-area {
        padding: 3rem 1.5rem !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .form-col {
        min-width: 0 !important;
        flex: initial !important;
    }

    .membership-modern-form {
        margin-top: 3rem !important;
    }

    .contact-section .membership-modern-form {
        margin-top: 0 !important;
    }

    .membership-cta {
        margin-top: 5rem !important;
        padding: 3rem 1.5rem !important;
    }

    .membership-cta h3 {
        font-size: 1.5rem !important;
    }


}

@media (max-width: 768px) and (max-height: 700px) {

    /* Hero only */
    .hero {
        --hero-content-gap: 0.55rem;
        --hero-title-gap: 2.2rem;
        min-height: calc(100svh - 116px);
    }

    .hero-title {
        font-size: clamp(2.65rem, 11vw, 3.65rem);
        margin: 0;
        padding-bottom: 0;
    }

    .hero-desc {
        font-size: var(--fs-mobile-sm);
    }

    .hero-content {
        min-height: calc(100svh - 116px);
        padding: calc(46px + 0.6rem) 0 clamp(1.1rem, 4svh, 1.75rem);
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    .hero-logo-box {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.35rem;
        margin-bottom: 6rem;
        width: auto;
        display: inline-flex;
        align-self: flex-start;
        margin-top: 0;
        padding-left: 0.8rem;
    }

    .hero-site-logo-img {
        width: 30px;
        height: 30px;
    }

    .hero-logo-ja {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .hero-logo-text {
        align-items: flex-start;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) and (max-height: 620px) {

    /* Hero only */
    .hero {
        --hero-content-gap: 0.4rem;
        --hero-title-gap: 0.8rem;
        min-height: calc(100svh - 124px);
    }

    .hero-title {
        font-size: clamp(2.45rem, 11vw, 3.3rem);
        margin: 0;
        padding-bottom: 0;
    }

    .hero-desc {
        font-size: var(--fs-mobile-sm);
    }

    .hero-content {
        min-height: calc(100svh - 124px);
        padding: calc(72px + 0.45rem) 0 clamp(1.1rem, 4svh, 1.75rem);
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    .hero-logo-box {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.35rem;
        margin-bottom: 2rem;
        width: auto;
        display: inline-flex;
        align-self: flex-start;
        margin-top: 0;
        padding-left: 0.8rem;
    }

    .hero-site-logo-img {
        width: 29px;
        height: 29px;
    }

    .hero-logo-ja {
        font-size: 14px;
        letter-spacing: 0.9px;
    }

    .hero-logo-text {
        align-items: flex-start;
        margin-bottom: 0;
    }
}
