:root {
    --color-primary: #1D3461;
    /* Hokusai Blue (Deep Indigo) */
    --color-secondary: #0A1C2E;
    /* Dark Navy */
    --color-accent: #658BAC;
    /* Medium Blue */
    --color-highlight: #C4A564;
    /* Muted Gold/Wood */
    --color-bg: #FCFDFE;
    /* Cool White */
    --color-bg-alt: #F0F4F8;
    /* Light Blue Grey */
    --color-text: #333333;
    --color-white: #ffffff;

    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', sans-serif;

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

    --container-width: 1200px;
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.4;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.sp-only {
    display: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
}

.nav-list a:not(.nav-btn):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-highlight);
    transition: width 0.3s;
}

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

.nav-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: 50px;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition: all 0.3s;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

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

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 2rem 0;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    color: var(--color-white);
    padding-top: 60px;
    /* Offset for header */
}

.hero-sub {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 2px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
}

.cta-btn:hover {
    background-color: var(--color-highlight);
    color: var(--color-white);
}

/* Sections Common */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.en-title {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-highlight);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.jp-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

/* About */
.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.representative {
    margin-top: 3rem;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.representative .role {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.2rem;
}

.representative .name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Service */
.service {
    background-color: var(--color-bg-alt);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.usp-item {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.usp-item:hover {
    transform: translateY(-5px);
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.usp-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-image-wide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Price */
.price-notice {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background-color: var(--color-white);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: all 0.3s;
}

.price-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-highlight);
}

.client-type {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    color: var(--color-secondary);
}

.price-total {
    margin-bottom: 2rem;
    color: var(--color-primary);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-total .label {
    font-size: 0.9rem;
}

.price-total .amount {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.price-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.price-details li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-highlight);
}

/* Contact */
.contact-box {
    background-color: var(--color-bg-alt);
    padding: 4rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-lead {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    box-shadow: 0 4px 10px rgba(29, 52, 97, 0.3);
}

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

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.method-label {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.1em;
}

.sns-links {
    display: flex;
    gap: 1.5rem;
}

.sns-links a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Footer */
.footer {
    background-color: var(--color-secondary);
    color: #bbb;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-info address {
    font-style: normal;
    line-height: 1.8;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Concept Section */
.concept {
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

/* Background decoration for Concept */
.concept::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 28, 46, 0.7), rgba(10, 28, 46, 0.7)), url('assets/starry_sky.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.concept .container {
    position: relative;
    z-index: 1;
}

.concept-title-wrapper {
    margin-bottom: 3rem;
    display: block;
}

.concept-title-wrapper .en-title {
    display: block;
    color: var(--color-highlight);
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.concept-title-wrapper .jp-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

.concept-main-message {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #fff, #C4A564, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.concept-text {
    font-size: 1.1rem;
    line-height: 2.2;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.concept-decoration {
    font-size: 2rem;
    color: var(--color-highlight);
    margin-top: 2rem;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

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

    .jp-title {
        font-size: 2rem;
    }

    .contact-box {
        padding: 2rem;
    }

    .contact-methods {
        gap: 2rem;
    }

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

    .concept-text br {
        display: none;
    }

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

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    list-style: none;
    /* remove default arrow */
    color: var(--color-primary);
    font-size: 1.1rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.q-icon {
    color: var(--color-highlight);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-right: 1.5rem;
    font-size: 1.3rem;
}

.toggle-icon {
    margin-left: auto;
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.3s ease;
}

.toggle-icon::after {
    transform: rotate(90deg);
}

details[open] .toggle-icon::after {
    transform: rotate(0);
}

details[open] .toggle-icon::before {
    background-color: var(--color-highlight);
}

.faq-answer {
    padding: 0 2rem 1.5rem 4rem;
    /* indent for Q icon alignment */
    color: #555;
    line-height: 1.8;
    border-top: 1px solid transparent;
}

details[open] .faq-answer {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@media (max-width: 768px) {
    .faq-question {
        padding: 1.2rem 1rem;
    }

    .q-icon {
        margin-right: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1.5rem 2.8rem;
    }
}