﻿/* 

  HANATABA PREMIUM DESIGN SYSTEM v6.6 (Warm Palette Update)

  Concept: Warm Floral Editorial

*/

:root {

    --color-base: #fff9f2;

    /* Richer Warm Cream */

    --color-white: #ffffff;

    --color-primary: #f39c12;

    /* Soft Carrot Orange */

    --color-secondary: #fbc531;

    /* Sunny Dandelion */

    --color-accent: #e67e22;

    /* Deep Autumn Orange */

    --color-charcoal: #4a3f35;

    /* Warm Coffee Charcoal */

    --color-mist: #fff3e0;

    /* Soft Peach Mist */

    --font-serif: "Kaisei Tokumin", serif;

    --font-sans: "Zen Maru Gothic", sans-serif;

    --font-en: "Montserrat", sans-serif;

    --transition: 0.8s cubic-bezier(0.2, 1, 0.2, 1);

    --section-padding: 120px 5%;

    --radius-lg: 50px;

    --radius-md: 24px;

    --shadow-warm: 0 15px 45px rgba(74, 63, 53, 0.08);

}

@media (max-width: 768px) {

    :root {

        --section-padding: 80px 5%;

    }

}

@media (max-width: 480px) {

    :root {

        --section-padding: 60px 4%;

    }

}

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html,

body {

    overflow-x: hidden;

    width: 100%;

}

body {

    background-color: var(--color-base);

    color: var(--color-charcoal);

    font-family: var(--font-sans);

    line-height: 1.8;

}

/* --- Layout Utils --- */

.container {

    max-width: 1200px;

    margin: 0 auto;

    width: 100%;

}

.section-v6 {

    padding: var(--section-padding);

    position: relative;

}

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition: var(--transition);

}

.reveal.active {

    opacity: 1;

    transform: translateY(0);

}

/* --- Header --- */

header {

    position: fixed;

    top: 0;

    width: 100%;

    z-index: 1000;

    padding: 30px 5%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    transition: 0.4s;

}

header.scrolled {

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);

    padding: 15px 5%;

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

}

.brand {

    display: flex;

    align-items: center;

    gap: 15px;

    text-decoration: none;

    color: inherit;

}

.brand-symbol {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: var(--color-primary);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: var(--font-en);

    font-weight: 600;

}

.brand-name {

    font-family: var(--font-serif);

    font-weight: 700;

    font-size: 1.0rem;

    letter-spacing: 0.1em;

}

/* --- Mobile Menu Toggle --- */

.menu-toggle {

    display: none;

    flex-direction: column;

    gap: 6px;

    cursor: pointer;

    background: none;

    border: none;

    z-index: 2000;

    padding: 10px;

}

.menu-toggle span {

    display: block;

    width: 25px;

    height: 2px;

    background: var(--color-charcoal);

    transition: 0.3s;

}

@media (max-width: 1024px) {

    .menu-toggle {

        display: flex;

    }

    .menu-toggle.active span:nth-child(1) {

        transform: translateY(8px) rotate(45deg);

    }

    .menu-toggle.active span:nth-child(2) {

        opacity: 0;

    }

    .menu-toggle.active span:nth-child(3) {

        transform: translateY(-8px) rotate(-45deg);

    }

}

header nav {

    display: flex;

    gap: 40px;

}

@media (max-width: 1024px) {

    header nav {

        position: fixed;

        top: 0;

        right: -100%;

        width: 80%;

        height: 100vh;

        background: white;

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        padding: 50px;

        transition: 0.5s cubic-bezier(0.2, 1, 0.2, 1);

        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);

        visibility: hidden;

    }

    header nav.active {

        right: 0;

        visibility: visible;

    }

    header nav ul {

        flex-direction: column;

        gap: 40px;

        text-align: center;

    }

}

header nav ul {

    display: flex;

    list-style: none;

    gap: 30px;

}

header nav a {

    text-decoration: none;

    color: var(--color-charcoal);

    font-size: 0.75rem;

    font-family: var(--font-en);

    display: flex;

    flex-direction: column;

    align-items: center;

    opacity: 0.6;

    transition: 0.3s;

}

header nav a span {

    font-size: 10px;

    opacity: 0.5;

    margin-bottom: 2px;

}

header nav a:hover {

    opacity: 1;

    color: var(--color-primary);

}

.nav-cta {

    background: var(--color-charcoal);

    color: white !important;

    padding: 14px 35px;

    border-radius: var(--radius-lg);

    text-decoration: none;

    font-size: 0.8rem;

    font-weight: 600;

    font-family: var(--font-en);

    letter-spacing: 0.2em;

    transition: 0.3s;

}

.nav-cta:hover {

    background: var(--color-primary);

}

/* --- Hero v6 --- */

.hero-v6 {

    height: 100vh;

    min-height: 600px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

}

.hero-backdrop {

    position: absolute;

    top: 0;

    right: 0;

    width: 60%;

    height: 100%;

    background: var(--color-mist);

    z-index: -1;

    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);

}

.hero-content {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 5%;

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 60px;

    align-items: center;

}

.hero-text h1 {

    font-family: var(--font-serif);

    font-size: clamp(2.5rem, 5vw, 4.2rem);

    line-height: 1.2;

    margin-bottom: 40px;

    color: var(--color-charcoal);

    font-weight: 500;

}

.hero-text p {

    font-size: 1.1rem;

    opacity: 0.7;

    max-width: 500px;

    margin-bottom: 50px;

}

.hero-image-wrap {

    position: relative;

}

.hero-image-main {

    width: 100%;

    aspect-ratio: 4/5;

    background: #ddd;

    border-radius: 200px 50px 200px 50px;

    overflow: hidden;

}

@media (max-width: 768px) {

    .hero-v6 {

        height: auto;

        padding: 120px 0 80px;

    }

    .hero-backdrop {

        width: 100%;

        height: 100%;

        clip-path: none;

        opacity: 0.5;

        background: var(--color-mist);

    }

    .hero-content {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 40px;

    }

    .hero-text h1 {

        font-size: 2.2rem;

        margin-bottom: 25px;

    }

    .hero-text p {

        margin: 0 auto 40px;

        font-size: 1rem;

    }

    .hero-image-main {

        aspect-ratio: 4/3;

        border-radius: 20px;

    }

}

/* --- News Ticker --- */

.news-ticker-v6 {

    background: var(--color-white);

    padding: 20px 5%;

    display: flex;

    align-items: center;

    gap: 30px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);

    position: relative;

    z-index: 10;

}

.ticker-label {

    font-family: var(--font-en);

    font-weight: 700;

    font-size: 0.8rem;

    color: var(--color-primary);

}

.ticker-content {

    flex: 1;

    overflow: hidden;

    white-space: nowrap;

    font-size: 0.9rem;

}

@media (max-width: 768px) {

    .news-ticker-v6 {

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        margin-top: 0;

    }

}

/* --- Typography Helpers --- */

.v6-label {

    display: block;

    font-family: var(--font-en);

    font-size: 0.8rem;

    margin-bottom: 20px;

    letter-spacing: 0.3em;

    color: var(--color-primary);

    font-weight: 600;

}

.v6-h2 {

    font-family: var(--font-serif);

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.3;

    margin-bottom: 60px;

}

.v6-title-wrap {

    text-align: center;

    margin-bottom: 100px;

}

@media (max-width: 768px) {

    .v6-h2 {

        margin-bottom: 40px;

    }

    .v6-title-wrap {

        margin-bottom: 60px;

    }

}

/* --- Service Story --- */

.service-story {

    display: flex;

    align-items: center;

    gap: 80px;

    margin-bottom: 150px;

}

.service-story:nth-child(even) {

    flex-direction: row-reverse;

}

.service-story .text {

    flex: 1;

}

.service-story .image {

    flex: 1.2;

    position: relative;

}

.service-story .image .img-box {

    width: 100%;

    aspect-ratio: 3/2;

    background: #eee;

}

@media (max-width: 768px) {

    .service-story {

        flex-direction: column !important;

        gap: 30px;

        margin-bottom: 80px;

        text-align: center;

    }

    .service-story .text {

        width: 100%;

    }

    .service-story .image {

        width: 100%;

    }

    .service-story .btn-organic {

        margin: 0 auto;

    }

}

/* --- Tables (Responsive) --- */

.table-scroll {

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    margin-bottom: 40px;

}

.corporate-table-bespoke,

.price-table-bespoke {

    width: 100%;

    border-collapse: collapse;

    min-width: 600px;

}

.corporate-table-bespoke th,

.corporate-table-bespoke td,

.price-table-bespoke th,

.price-table-bespoke td {

    padding: 25px;

    border-bottom: 1px solid var(--color-mist);

    text-align: left;

}

.corporate-table-bespoke th {

    font-family: var(--font-en);

    font-size: 0.8rem;

    color: var(--color-primary);

    width: 30%;

}

.price-table-bespoke th {

    background: var(--color-mist);

    font-size: 0.9rem;

}

/* --- Grid Boxes --- */

.bespoke-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 40px;

}

/* --- Recruit Cards --- */

.recruit-card-bespoke {

    border: 1px solid var(--color-mist);

    padding: 50px;

    background: white;

    margin-bottom: 40px;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-warm);

    border-left: 8px solid var(--color-primary);

}

.recruit-table {

    width: 100%;

    font-size: 0.95rem;

}

.recruit-table th {

    padding: 15px 0;

    text-align: left;

    border-bottom: 1px solid #f9f9f9;

    width: 120px;

    color: var(--color-primary);

}

.recruit-table td {

    padding: 15px 0;

    border-bottom: 1px solid #f9f9f9;

}

@media (max-width: 500px) {

    .recruit-card-bespoke {

        padding: 30px 20px;

    }

    .recruit-table th {

        width: 80px;

        font-size: 0.8rem;

    }

    .recruit-table td {

        font-size: 0.85rem;

    }

}

/* --- Footer --- */

footer {

    background: var(--color-charcoal);

    color: white;

    padding: 100px 5% 40px;

}

.footer-grid {

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 80px;

}

.footer-brand h2 {

    font-family: var(--font-serif);

    margin-bottom: 20px;

}

.footer-info p {

    margin-bottom: 10px;

    opacity: 0.7;

    font-size: 0.9rem;

}

.footer-links h4 {

    font-family: var(--font-en);

    font-size: 0.8rem;

    letter-spacing: 0.2em;

    margin-bottom: 25px;

    color: var(--color-primary);

}

.footer-links ul {

    list-style: none;

}

.footer-links li {

    margin-bottom: 12px;

}

.footer-links a {

    color: white;

    text-decoration: none;

    opacity: 0.5;

    font-size: 0.85rem;

    transition: 0.3s;

}

.footer-links a:hover {

    opacity: 1;

    padding-left: 5px;

}

@media (max-width: 768px) {

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 50px;

        text-align: center;

    }

    .footer-links h4 {

        margin-bottom: 15px;

    }

}

.copyright {

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    margin-top: 80px;

    padding-top: 30px;

    text-align: center;

    font-size: 0.7rem;

    opacity: 0.4;

    letter-spacing: 0.1em;

}

/* --- Utils --- */

.btn-organic {

    display: inline-block;

    padding: 18px 45px;

    border: 2px solid var(--color-primary);

    border-radius: var(--radius-lg);

    text-decoration: none;

    color: var(--color-primary);

    font-family: var(--font-en);

    font-size: 0.85rem;

    font-weight: 600;

    letter-spacing: 0.2em;

    transition: 0.4s;

    background: transparent;

}

.btn-organic:hover {

    background: var(--color-primary);

    color: white;

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);

}

/* --- Philosophical Banner --- */

.philosophical-banner {

    background: var(--color-primary);

    color: white;

    padding: 150px 5%;

    text-align: center;

}

.philosophical-banner h2 {

    font-family: var(--font-serif);

    font-size: 3rem;

    margin-bottom: 40px;

}

@media (max-width: 768px) {

    .philosophical-banner {

        padding: 80px 5%;

    }

    .philosophical-banner h2 {

        font-size: 2rem;

    }

}

/* --- Flow v6 --- */

.flow-v6-container {

    max-width: 900px;

    margin: 0 auto;

    border-left: 1px solid var(--color-mist);

    padding-left: 50px;

}

.flow-v6-step {

    position: relative;

    margin-bottom: 100px;

}

.flow-v6-step::before {

    content: '';

    position: absolute;

    left: -56px;

    top: 0;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--color-secondary);

}

.flow-num {

    font-family: var(--font-en);

    font-size: 5rem;

    line-height: 1;

    color: var(--color-mist);

    position: absolute;

    top: -10px;

    right: 0;

    font-weight: 800;

    z-index: -1;

}

.flow-content h3 {

    font-family: var(--font-serif);

    font-size: 1.8rem;

    margin-bottom: 20px;

    color: var(--color-secondary);

}

@media (max-width: 768px) {

    .flow-v6-container {

        padding-left: 30px;

    }

    .flow-v6-step::before {

        left: -36px;

    }

    .flow-num {

        font-size: 3rem;

        top: -20px;

    }

}

/* --- Responsive Line Breaks --- */

.pc-br {

    display: inline;

}

.sp-br {

    display: none;

}

.inline-block {

    display: inline-block;

}

@media (max-width: 768px) {

    .pc-br {
        display: none;
    }

    .sp-br {
        display: inline;
    }

    .contact-flex-v6 {
        flex-direction: column !important;
        gap: 60px !important;
    }

    .contact-flex-v6>div {
        width: 100% !important;
    }
}