/*
Theme Name: EN WP Theme
Theme URI: https://example.com/en-wp
Author: Antigravity
Author URI: https://example.com
Description: A modern, premium WordPress theme with animated hero section, responsive hamburger navigation, and bilingual font support.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: en-wp
Tags: custom-menu, featured-images, translation-ready
*/

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
    --color-navy: #002265;
    --color-rakuten: #B22F1E;
    --color-amazon: #FF9208;
    --color-chevron: #cccccc;
    --color-text-dark: #111111;
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-muted: #888888;
    --color-accent: #e8b84b;
    --color-primary: #1a1a2e;

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

    --header-height: 80px;
    --header-height-sm: 60px;
    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;

    --z-header: 1000;
    --z-overlay: 900;
    --z-hero: 1;
}

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

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

/* Fix for WordPress admin bar spacing */
html {
    margin-top: 0 !important;
}

* html body {
    margin-top: 0 !important;
}

body {
    font-family: var(--font-en);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
}

:lang(ja),
.ja {
    font-family: var(--font-ja);
}

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

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

ul,
ol {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
/* Utility classes consolidated below */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   SCROLL ANIMATION BASE
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"].is-visible {
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(40px);
}

[data-animate="fade-right"].is-visible {
    transform: translateX(0);
}

[data-animate="zoom-in"] {
    transform: scale(0.92);
}

[data-animate="zoom-in"].is-visible {
    transform: scale(1);
}

/* Premium Image Reveal Animations */
[data-animate="img-wipe"],
[data-animate="img-wipe-left"] {
    opacity: 1;
    transform: none;
    overflow: hidden;
    position: relative;
    display: block;
}

[data-animate="img-wipe"] img {
    transform: scale(1.2);
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1), transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
    display: block;
}

[data-animate="img-wipe"].is-visible img {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

[data-animate="img-wipe-left"] img {
    transform: scale(1.2);
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1), transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
    display: block;
}

[data-animate="img-wipe-left"].is-visible img {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

/* Overlay / Block Reveal Animation */
[data-animate="block-reveal"] {
    opacity: 1;
    transform: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

[data-animate="block-reveal"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--reveal-color, var(--color-navy));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 2;
}

[data-animate="block-reveal"] img {
    opacity: 0;
    transform: scale(1.15);
    width: 100%;
    height: auto;
    display: block;
}

[data-animate="block-reveal"].is-visible::after {
    animation: blockRevealAnim 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

[data-animate="block-reveal"].is-visible img {
    animation: imgRevealAnim 0.1s 0.7s forwards, imgZoomOut 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0.7s forwards;
}

@keyframes blockRevealAnim {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    45% {
        transform-origin: left;
        transform: scaleX(1);
    }

    55% {
        transform-origin: right;
        transform: scaleX(1);
    }

    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

@keyframes imgRevealAnim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes imgZoomOut {
    0% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

[data-delay="1"] {
    transition-delay: 0.1s;
}

[data-delay="2"] {
    transition-delay: 0.2s;
}

[data-delay="3"] {
    transition-delay: 0.3s;
}

[data-delay="4"] {
    transition-delay: 0.4s;
}

[data-delay="5"] {
    transition-delay: 0.5s;
}

[data-delay="6"] {
    transition-delay: 0.6s;
}

/* ============================================
   SITE HEADER
   ============================================ */
#masthead {
    position: fixed;
    top: 24px;
    left: 2%;
    width: 96% !important;
    height: var(--header-height);
    z-index: var(--z-header);
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 4px !important;
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#masthead.header-transparent {
    background: var(--color-white);
    /* Reference image shows white */
}

#masthead.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-inner {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 !important;
    margin: 0 !important;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

.header-right {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* LOGO */
.site-branding {
    display: flex;
    align-items: center;
    padding: 0 0 0 40px !important;
    /* Some breathing room for logo */
    z-index: calc(var(--z-header) + 10);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo-img {
    height: 32px;
    width: auto;
    filter: none;
    /* Navy color logo as per image */
}

.site-title-text {
    font-family: var(--font-ja);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.05em;
}

.menu-open .site-title-text,
.menu-open .site-logo-img {
    /* Keep visible in menu */
}

/* PRIMARY NAVIGATION (DESKTOP) */
.main-navigation {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation ul li a {
    font-family: var(--font-ja);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.main-navigation ul li a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--color-chevron);
    border-right: 1.5px solid var(--color-chevron);
    transform: rotate(45deg);
    transition: border-color var(--transition-fast);
}

.main-navigation ul li a:hover {
    color: var(--color-navy);
}

.main-navigation ul li a:hover::after {
    border-color: var(--color-navy);
}

.header-actions {
    display: flex;
    align-items: stretch;
    height: var(--header-height);
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
}

@media (max-width: 1024px) {

    .header-actions,
    .main-navigation {
        display: none;
    }

    .header-inner {
        padding-right: 0;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
    }
}

@media (max-width: 768px) {

    /* Hide header logo on mobile per design (it's part of the hero content) */
    .site-branding {
        display: none;
    }

    .header-inner {
        padding: 0;
    }

    .menu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
    }
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 35px;
    margin: 0 !important;
    border-radius: 0 !important;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    position: relative;
}

.btn-action:hover {
    opacity: 0.9;
}

.btn-rakuten {
    background-color: var(--color-rakuten);
}

.btn-amazon-footer {
    background-color: var(--color-amazon);
}

.btn-amazon {
    background-color: var(--color-amazon);
}

.btn-amazon .footer {
    border-radius: none !important;
}

.btn-action .chevron-right {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

/* HEADER CTA BUTTON */
.header-cta {
    margin-left: 48px;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-accent);
    padding: 10px 24px;
    border-radius: 2px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-header:hover {
    background: var(--color-accent-2);
    transform: translateY(-1px);
}

/* ============================================
   HAMBURGER MENU BUTTON
   ============================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #EA6534;
    border: none;
    cursor: pointer;
    z-index: calc(var(--z-header) + 10);
    position: relative;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 18px;
}

.hamburger-bar:nth-child(1) {
    top: calc(50% - 8px);
}

.hamburger-bar:nth-child(2) {
    top: 50%;
}

.hamburger-bar:nth-child(3) {
    top: calc(50% + 8px);
}

/* Open state */
.menu-open .hamburger-bar:nth-child(1) {
    top: 50%;
    margin-top: -1px;
    transform: rotate(45deg);
}

.menu-open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-open .hamburger-bar:nth-child(3) {
    top: 50%;
    margin-top: -1px;
    transform: rotate(-45deg);
    width: 24px;
    left: 18px;
}

/* ============================================
   FULLSCREEN OVERLAY MENU (MOBILE)
   ============================================ */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: var(--z-overlay);
    display: flex;
    flex-direction: column;
    padding: 0;
    clip-path: circle(0% at calc(100% - 30px) 30px);
    transition: clip-path 0.5s ease-in-out;
    pointer-events: none;
    overflow-y: auto;
}

.menu-open .nav-overlay {
    clip-path: circle(150% at calc(100% - 30px) 30px);
    pointer-events: all;
}

.menu-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #EA6534;
    color: #ffffff;
    border: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.overlay-inner {
    padding: 80px 5% 40px;
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.overlay-illustration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.overlay-illustration img {
    width: 100%;
    height: auto;
}

.nav-overlay .overlay-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    position: relative;
    z-index: 1;
}

.nav-overlay .overlay-menu li {
    border-bottom: 1px solid #eeeeee;
}

.nav-overlay .overlay-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a5f;
    padding: 20px 10px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.menu-open .nav-overlay .overlay-menu li a {
    transform: translateY(0);
    opacity: 1;
}

.menu-open .nav-overlay .overlay-menu li:nth-child(1) a {
    transition-delay: 0.1s;
}

.menu-open .nav-overlay .overlay-menu li:nth-child(2) a {
    transition-delay: 0.2s;
}

.menu-open .nav-overlay .overlay-menu li:nth-child(3) a {
    transition-delay: 0.3s;
}

.chevron-right-grey {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #cccccc;
    border-right: 2px solid #cccccc;
    transform: rotate(45deg);
}

.overlay-shop-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.4s;
}

.menu-open .overlay-shop-links {
    opacity: 1;
    transform: translateY(0);
}

.overlay-shop-links .shop-link {
    height: 100px;
}

.overlay-shop-links .shop-icon {
    width: 40px;
    position: absolute;
    right: 60px;
}

.shop-link-arrow {
    width: 25px;
}


.overlay-shop-links .shop-link-text h3 {
    font-size: 1.2rem;
}

.overlay-shop-links .shop-link-text p {
    font-size: 0.8rem;
}

/* ============================================
   HERO SECTION (Design Match)
   ============================================ */
.site-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-color: #fff;
    display: flex;
    align-items: flex-end;
    /* Bottom on Desktop */
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-pc,
.hero-bg-sp {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-bg-pc {
    background-image: url('assets/images/kv-pc.png');
    display: block;
}

.hero-bg-sp {
    background-image: url('assets/images/kv-sp.png');
    display: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.hero-tag {
    font-size: 1.1rem;
    color: #888;
    /* margin-bottom: 24px; */
    font-family: var(--font-ja);
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.25;
    font-weight: 700;
    font-family: var(--font-ja);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.2s;
}

.hero-title .navy {
    color: var(--color-navy);
}

.hero-title .orange {
    color: #EA6534;
}

.hero-title .black {
    color: var(--color-black);
}

.hero-sub {
    font-size: 1.1rem;
    color: #aaa;
    letter-spacing: 0.12em;
    font-family: var(--font-en);
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s;
}

/* Visibility classes (from IntersectionObserver or .hero-active) */
.hero-active .hero-tag,
.hero-active .hero-title,
.hero-active .hero-sub,
.is-visible.hero-tag,
.is-visible.hero-title,
.is-visible.hero-sub {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .site-hero {
        align-items: center;
        padding-bottom: 0;
    }

    .hero-bg-pc {
        display: none;
    }

    .hero-bg-sp {
        display: block;
    }

    .hero-content {
        padding: 0 24px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-accent);
    padding: 16px 36px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-white);
    transform: translateX(-101%);
    transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 14px 32px;
    border-radius: 2px;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(232, 184, 75, 0.06);
}

/* Hero scroll indicator */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.8s forwards;
}

.hero-scroll-hint span {
    font-family: var(--font-en);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Decorative corner lines on hero */
.hero-deco-tl,
.hero-deco-br {
    position: absolute;
    z-index: 2;
    width: 60px;
    height: 60px;
}

.hero-deco-tl {
    top: 110px;
    left: 40px;
    border-top: 2px solid rgba(232, 184, 75, 0.5);
    border-left: 2px solid rgba(232, 184, 75, 0.5);
    opacity: 0;
    animation: fadeIn 0.6s ease 1.5s forwards;
}

.hero-deco-br {
    bottom: 80px;
    right: 60px;
    border-bottom: 2px solid rgba(232, 184, 75, 0.5);
    border-right: 2px solid rgba(232, 184, 75, 0.5);
    opacity: 0;
    animation: fadeIn 0.6s ease 1.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
/* #primary {
    padding: 100px 0;
} */

/* ============================================
   FOOTER
   ============================================ */
#colophon {
    background: #FAFAEF;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo img {
    height: 36px;
}

.footer-copy {
    font-family: var(--font-en);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   SECTION 2: SPENDING KINDNESS
   ============================================ */
.section-kindness {
    background-color: #f9f9f0;
    /* Cream background from design */
    padding: 100px 5%;
}

.container-full {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.kindness-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 80px 10%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.kindness-eyebrow {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    color: #ccc;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.kindness-title {
    font-family: var(--font-ja);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1.3;
}

.kindness-title .orange {
    color: var(--color-rakuten);
}

.kindness-subtitle {
    font-family: var(--font-ja);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    margin-bottom: 70px;
}

.kindness-subtitle .accent {
    color: #EA6534;
    font-weight: 700;
}

.kindness-subtitle .orange {
    color: #EA6534;
    font-weight: 700;
}

.kindness-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-bottom: 60px;
}

.kindness-text p {
    font-family: var(--font-ja);
    font-size: 1.05rem;
    line-height: 2;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.kindness-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
}

.kindness-action {
    margin-top: 40px;
}

.btn-navy-pill {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 18px 45px;
    border-radius: 50px;
    font-family: var(--font-ja);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-navy-pill:hover {
    background-color: #001a4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 34, 101, 0.2);
}

.btn-navy-pill .chevron-right {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
}

@media (max-width: 1024px) {
    .kindness-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kindness-image {
        order: -1;
    }

    .kindness-card {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .kindness-title {
        font-size: 1.8rem;
    }

    .kindness-subtitle {
        font-size: 1.1rem;
    }

    .kindness-text p {
        font-size: 0.95rem;
    }

    /* Disable hard line breaks on mobile for better text wrapping */
    .kindness-text br {
        display: none;
    }
}

.kindness-title-navy {
    color: var(--color-navy);
}

/* Line 1: plain navy text block */
.kindness-line1 {
    display: block;
}

/* Line 2: flex row — bottoms of navy text and SVG aligned */
.kindness-line2 {
    display: inline-flex;
    align-items: center;
    /* Bottom-align navy text + SVG */
    gap: 12px;
    flex-direction: row;
    justify-content: center;
}

/* SVG scales to match the font height */
.kindness-title-svg {
    /* height: 1em; */
    width: auto;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .kindness-line2 {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .kindness-title-svg {
        /* height: 1.1em; */
        margin-top: 5px;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.section-gallery {
    padding: 0;
    /* Remove padding to close the gap to the CTA section */
    background-color: #f9f9f0;
    /* Match Spending Kindness cream background */
}

.gallery-container-98 {
    width: 98%;
    margin: 0 auto;
    max-width: 100%;
}

.gallery-bento {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: 1fr 1fr;
    /* Force equal rows */
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 0;
    /* Sharp corners per design */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.item-1 {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.item-2 {
    grid-column: 5 / 9;
    grid-row: 1 / 3;
}

.item-3 {
    grid-column: 9 / 15;
    grid-row: 1 / 2;
}

.item-4 {
    grid-column: 9 / 12;
    grid-row: 2 / 3;
}

.item-5 {
    grid-column: 12 / 15;
    grid-row: 2 / 3;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 34, 101, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 1024px) {
    .gallery-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .item-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .item-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .item-3 {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }

    .item-4 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .item-5 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .section-gallery {
        padding: 0 5% 60px;
    }

    .gallery-bento {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5 {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    background-color: #f9f9f0;
    padding: 15px 0 10px;
    /* 15px top padding matches the gallery grid gap */
}

.shop-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.shop-link {
    display: flex;
    text-decoration: none;
    color: #ffffff;
    height: 140px;
    transition: transform 0.3s ease;
}

.shop-link:hover {
    transform: translateY(-5px);
}

.shop-link-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.rakuten-shop .shop-link-content {
    background-color: #b73225;
}

.amazon-shop .shop-link-content {
    background-color: #f59600;
}

.shop-link-text {
    text-align: center;
}

.shop-link-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    color: #ffffff;
}

.shop-link-text p {
    font-size: 0.95rem;
    font-family: var(--font-ja);
    margin: 0;
    color: #ffffff;
}

.shop-icon {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.shop-link-arrow {
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rakuten-shop .shop-link-arrow {
    background-color: #8c2114;
}

.amazon-shop .shop-link-arrow {
    background-color: #bd7400;
}

.arrow-right {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
}

.contact-banner {
    display: block;
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.contact-banner:hover {
    transform: translateY(-5px);
}

.contact-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.contact-banner:hover .contact-banner-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.contact-banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 60px;
}

.contact-eyebrow {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-ja);
    color: #ffffff;
}

.contact-desc {
    font-size: 0.95rem;
    font-family: var(--font-ja);
    margin: 0;
    color: #ffffff;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.page-hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    height: 100%;
}

.page-title-box {
    position: absolute;
    bottom: 0;
    left: 80px;
    background-color: #FAFAEF;
    padding: 40px 80px;
    text-align: center;
    min-width: 320px;
}

.page-eyebrow {
    display: block;
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #EA4C34;
    margin-bottom: 15px;
}

.page-title {
    font-family: var(--font-ja);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

.page-content-area {
    padding: 0;
    max-width: 100%;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.about-philosophy {
    padding: 100px 0;
    background-color: #F9F9F0;
    background-image: url('assets/images/about/2.png');
    background-size: 800px auto;
    /* Adjust size to match design */
    background-position: top 0px right -100px;
    /* Position circle at top right */
    background-repeat: no-repeat;
}

.philosophy-outer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 100px 80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.philosophy-header {
    margin-bottom: 60px;
}

.philosophy-eyebrow {
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 700;
    color: #EA6534;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.philosophy-title {
    font-family: var(--font-ja);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-navy);
}

.philosophy-catch-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    gap: 40px;
}

.philosophy-catch {
    flex: 1;
}

.catch-main {
    display: block;
    font-family: var(--font-ja);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: black;
    margin-bottom: 20px;
}

.highlight-blue {
    color: #3A569B;
}

.highlight-orange {
    color: #F28D52;
}

.catch-sub {
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    color: #b0b0b0;
    letter-spacing: 0.1em;
}

.philosophy-illust img {
    width: 390px;
    height: auto;
}

.philosophy-text-lead {
    font-family: var(--font-ja);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2;
    color: var(--color-navy);
    margin-bottom: 60px;
}

.philosophy-text-detail {
    font-family: var(--font-ja);
    font-size: 1rem;
    line-height: 2;
    color: #666666;
    margin-bottom: 80px;
}

.philosophy-text-detail p {
    margin-bottom: 2em;
}

.philosophy-text-detail p:last-child {
    margin-bottom: 0;
}

.philosophy-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 80px;
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.philosophy-text-detail.bottom {
    margin-bottom: 80px;
}

.representative-box {
    margin-top: 100px;
}

.rep-image {
    width: 100%;
    margin-bottom: 30px;
}

.rep-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rep-info p {
    font-family: var(--font-ja);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
}

.rep-info span {
    font-weight: 400;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
    background-size: cover;
    background-position: center;
}

.contact-section {
    padding: 100px 0;
    background-color: #F9F9F0;
    background-image: url('assets/images/contact/section1-bg.png');
    background-size: 800px auto;
    background-position: top 00px right -100px;
    background-repeat: no-repeat;
}

.contact-card {
    padding: 100px 80px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 80px;
}

.contact-intro p {
    font-family: var(--font-ja);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-navy);
}

.contact-form-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.contact-form-item.align-top {
    align-items: flex-start;
}

.contact-form-item>p {
    margin: 0;
}

.contact-form-item>p:first-child,
.contact-form-item>label {
    width: 280px;
    font-family: var(--font-ja);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    flex-shrink: 0;
    margin: 0;
}

.contact-form-item label {
    font-family: var(--font-ja);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    display: flex;
    align-items: center;
}

.tag-required {
    color: var(--color-rakuten);
    font-size: 0.85rem;
    margin-left: 5px;
    font-weight: 700;
}

.form-input-wrap {
    flex: 1;
}

.form-input-wrap p {
    margin: 0;
}

/* CF7 Wrappers */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.form-input-wrap input[type="text"],
.form-input-wrap input[type="email"],
.form-input-wrap input[type="tel"],
.form-input-wrap textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-ja);
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.3s;
}

.form-input-wrap input:focus,
.form-input-wrap textarea:focus {
    outline: none;
    border-color: var(--color-rakuten);
}

/* Privacy Box */
.privacy-box-wrap {
    margin-top: 60px;
    margin-bottom: 40px;
}

.privacy-policy-box {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #e0e0e0;
    background: #fcfcfc;
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.privacy-content {
    font-family: var(--font-ja);
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

.privacy-content h3 {
    font-size: 1rem;
    margin: 1.5em 0 0.5em;
    color: var(--color-navy);
}

.privacy-consent,
.wpcf7-acceptance {
    text-align: center;
    display: block;
    margin-top: 20px;
}

.privacy-consent label,
.wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-ja);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.privacy-consent input[type="checkbox"],
.wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
}

.form-submit-wrap {
    text-align: center;
    margin-top: 40px;
}

.contact-form-wrap p:has(.contact-submit) {
    text-align: center;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 240px;
    height: 60px;
    background-color: var(--color-rakuten);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: var(--font-ja);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin: 40px auto 0;
    padding: 0;
    /* Re-add SVG arrow */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10" fill="none"><path d="M1 1l4 4-4 4" stroke="white" stroke-width="1.5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 30px center;
}

/* Fix for wpautop inserting <br> tags inside the button */
.contact-submit br {
    display: none;
}

.contact-submit:hover {
    background-color: #d63c2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(183, 50, 37, 0.3);
}

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks-section {
    padding: 150px 0;
    background-color: #FAFAEF;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-title-box {
    margin-bottom: 50px;
}

.thanks-eyebrow {
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-rakuten);
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.thanks-title {
    font-family: var(--font-ja);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

.thanks-message {
    font-family: var(--font-ja);
    font-size: 1rem;
    line-height: 2;
    color: var(--color-navy);
    margin-bottom: 50px;
}

.thanks-message p {
    margin: 0;
}

.thanks-btn-wrap {
    text-align: center;
}

.btn-back-home {
    text-decoration: none;
    margin: 0 auto;
}

/* ============================================
   BUSINESS & OVERVIEW SECTIONS
   ============================================ */
.about-business,
.about-overview {
    padding: 0 0 100px;
    background-color: #F9F9F0;
}

.business-logo-box {
    background-color: #F9F9F0;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.business-logo-box img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================
   MAP SECTION
   ============================================ */
.about-map {
    width: 100%;
    background-color: #F9F9F0;
    padding-bottom: 100px;
}

.map-container {
    width: 100%;
}

.map-container iframe {
    display: block;
}

.business-sub-title {
    font-family: var(--font-ja);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 30px;
}

.business-desc {
    font-family: var(--font-ja);
    font-size: 1rem;
    line-height: 2;
    color: #666666;
    margin-bottom: 40px;
}

.overview-table {
    margin-top: 40px;
}

.overview-row {
    display: flex;
    border-bottom: 1px solid #eeeeee;
}

.overview-row:first-child {
    border-top: 1px solid #eeeeee;
}

.overview-label {
    width: 200px;
    background-color: #F9F9F0;
    padding: 20px 30px;
    font-family: var(--font-ja);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    display: flex;
    align-items: center;
}

.overview-value {
    flex: 1;
    padding: 20px 30px;
    font-family: var(--font-ja);
    font-size: 0.95rem;
    color: #666666;
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .shop-link {
        height: 140px;
    }

    .shop-link-content {
        gap: 6px;
    }

    .shop-icon {
        width: 40px;
        position: absolute;
        right: 60px;
    }

    .shop-link-text h3 {
        font-size: 1.5rem;
    }

    .contact-banner {
        height: 300px;
    }

    .contact-banner-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }

    .page-hero-container {
        padding: 0 20px;
    }

    .page-title-box {
        left: 20px;
        padding: 25px 40px;
        min-width: 240px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-eyebrow {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    /* PHILOSOPHY SECTION MOBILE */
    .about-philosophy {
        padding: 60px 0;
    }

    .philosophy-card {
        padding: 60px 20px;
        border-radius: 20px;
    }

    .philosophy-catch-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 40px;
    }

    .catch-main {
        font-size: 2rem;
    }

    .philosophy-illust img {
        width: 180px;
    }

    .philosophy-text-lead {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .philosophy-image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .grid-item img {
        border-radius: 8px;
    }

    .representative-box {
        margin-top: 60px;
    }

    .rep-info p {
        font-size: 1.1rem;
    }

    /* CONTACT PAGE MOBILE */
    .contact-section {
        padding: 60px 0;
    }

    .contact-card {
        padding: 60px 20px;
    }

    .contact-form-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-form-item label {
        width: 100%;
    }

    .privacy-policy-box {
        padding: 20px;
        height: 150px;
    }

    .contact-submit {
        width: 100%;
        max-width: 300px;
    }

    /* BUSINESS & OVERVIEW MOBILE */
    .about-business,
    .about-overview {
        padding: 0 0 60px;
    }

    .business-logo-box {
        padding: 40px 20px;
    }

    .business-sub-title {
        font-size: 1.2rem;
    }

    .overview-row {
        flex-direction: column;
    }

    .overview-label {
        width: 100%;
        padding: 10px 20px;
        background-color: #fcfcf7;
    }

    .overview-value {
        padding: 15px 20px;
    }

    .shop-links-grid {
        grid-template-columns: 1fr;
        padding: 0 0px;
        max-width: 450px;
        margin: 0 auto 15px auto;
    }

    .shop-link {
        height: 120px;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-banner-content {
        padding: 30px 20px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #FAFAEF;
    padding: 60px 0 40px;
}

.footer-container {
    width: 98%;
    max-width: 100%;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #1e3a5f;
    color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.instagram-link:hover {
    transform: scale(1.1);
    background-color: #142844;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    color: #1e3a5f;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.chevron-right-small {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 10px;
    margin-top: 2px;
}

.footer-copy {
    font-size: 0.75rem;
    color: #b0b0b0;
    font-family: var(--font-en);
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 320px;
}

.footer-btn {
    display: block;
    width: 100%;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: filter 0.3s ease;
    position: relative;
}

.footer-btn .btn-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.footer-btn .chevron-right-small {
    margin: 0;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #ffffff;
    border-right: 1.5px solid #ffffff;
}

.footer-btn:hover {
    filter: brightness(1.1);
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-bottom-left {
        order: 2;
        width: 100%;
        text-align: center;
    }

    .footer-menu {
        display: none;
    }

    .footer-copy {
        text-align: center;
    }

    .footer-bottom-right {
        order: 1;
        width: 320px;
        max-width: 100%;
        gap: 5px;
    }
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0;
    }

    .hero-content {
        padding: 0 40px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-sm);
    }

    #masthead:not(.header-scrolled) {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Header */
    .header-inner {
        padding: 0 20px;
    }

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

    /* Hide desktop nav, show hamburger */
    .main-navigation,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
    }

    /* Hero */
    .hero-bg-pc {
        display: none;
    }

    .hero-bg-sp {
        display: block;
    }

    .hero-content {
        padding: 0 24px;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-title-ja {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-deco-tl,
    .hero-deco-br {
        display: none;
    }

    .container {
        padding: 0 20px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 20px;
    }

    .nav-overlay .overlay-menu li a {
        font-size: 22px;
        /* padding: 16px 32px; */
    }

    .form-input-wrap {
        width: 100%;
    }

    #masthead {
        background: none !important;
        box-shadow: none !important;
    }

    #masthead.header-scrolled {
        backdrop-filter: blur(0px);
    }
}

/* Default: Hide the mobile version */
.u-sp-only {
    display: none !important;
}

/* When the screen is 767px or smaller */
@media screen and (max-width: 767px) {
    /* Hide the PC version */
    .u-pc-only {
        display: none !important;
    }
    /* Show the mobile version */
    .u-sp-only {
        display: block !important;
    }
}