@charset "UTF-8";

/* ========================================================
   Variables
======================================================== */
:root {
    --primary-color: #a4826b; /* Warm brownish/beige */
    --accent-color: #ddc6b6;
    --text-main: #3a3836;
    --text-light: #77736f;
    --bg-light: #fdfcfb;
    --bg-gray: #f5f3f0;
    --white: #ffffff;
    
    --font-jp: 'Noto Serif JP', serif;
    --font-en: 'Jost', sans-serif;
    
    --header-height: 80px;
    --section-pad: 100px 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ========================================================
   Typography & Titles
======================================================== */
.sub-title {
    font-family: var(--font-en);
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.sec-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-main);
}

.sec-header {
    text-align: center;
    margin-bottom: 60px;
}

.section {
    padding: var(--section-pad);
}

.bg-gray {
    background-color: var(--bg-gray);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ========================================================
   Header & Nav
======================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: background 0.4s ease;
}

.header.scrolled {
    background-color: rgba(253, 252, 251, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    backdrop-filter: blur(5px);
}

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

.logo a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

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

.nav a {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 400;
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-contact {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.btn-contact:hover {
    opacity: 0.8;
}

/* Hamburger */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--text-main);
    position: absolute;
    transition: all 0.3s;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-btn span:nth-child(3) { bottom: 0; }

.menu-btn.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

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

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

/* ========================================================
   Hero
======================================================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 16s infinite;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
}

.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 8s; }

@keyframes fadeSlide {
    0%   { opacity: 0; transform: scale(1.05); }
    10%  { opacity: 1; }
    40%  { opacity: 1; transform: scale(1); }
    50%  { opacity: 0; }
    100% { opacity: 0; }
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(255,255,255,0.8);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-down::after {
    content: '';
    width: 1px;
    height: 60px;
    background-color: var(--text-main);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================================
   Common Flex Layout
======================================================== */
.inner-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.inner-flex .text-box {
    flex: 1;
}

.inner-flex .img-box {
    flex: 1;
}

.flex-reverse {
    flex-direction: row-reverse;
}

/* ========================================================
   Concept & Profile
======================================================== */
.concept .sec-title, .profile .sec-title {
    margin-bottom: 30px;
}

.img-reveal {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Softness */
}

/* ========================================================
   Works (Gallery)
======================================================== */
.tab-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-list {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-item {
    font-family: var(--font-en);
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    color: var(--text-light);
    transition: all 0.3s;
}

.tab-item:hover, .tab-item.active {
    color: var(--primary-color);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.gallery-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    animation: fadeInTab 0.5s ease forwards;
}

.gallery-grid.active {
    display: grid;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

.mt-40 { margin-top: 40px; }

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

/* ========================================================
   Plan
======================================================== */
.plan-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.plan-card {
    background: var(--white);
    flex: 1;
    max-width: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.plan-body {
    padding: 30px;
}

.plan-body h4 {
    font-size: 1.4rem;
    font-weight: 400;
    font-family: var(--font-en);
    margin-bottom: 10px;
}

.price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: var(--font-en);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price span {
    font-size: 0.9rem;
    font-family: var(--font-jp);
    color: var(--text-light);
}

.plan-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.plan-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.notes {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 30px;
}

/* ========================================================
   Voice
======================================================== */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.voice-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--bg-gray);
    padding: 30px;
    border-radius: 8px;
}

.v-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.v-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* ========================================================
   Flow
======================================================== */
.flow-list {
    max-width: 800px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.flow-num {
    font-family: var(--font-en);
    font-size: 2.5rem;
    color: var(--accent-color);
    line-height: 1;
}

.flow-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

.acc-item {
    border-bottom: 1px solid #ddd;
}

.acc-head {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    padding-right: 40px;
}

.acc-head::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.acc-item.active .acc-head::after {
    transform: translateY(-50%) rotate(45deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.acc-body p {
    padding-bottom: 20px;
    color: var(--text-light);
}

/* ========================================================
   Contact
======================================================== */
.contact-desc {
    text-align: center;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-line, .btn-ig {
    display: block;
    width: 250px;
    padding: 15px 0;
    text-align: center;
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
}

.btn-line { background-color: #06C755; }
.btn-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.btn-line:hover, .btn-ig:hover {
    opacity: 0.9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfc;
    transition: border-color 0.3s;
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--text-main);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

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

/* ========================================================
   Footer
======================================================== */
.footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

/* ========================================================
   Animations (Fade in)
======================================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* ========================================================
   Responsive Design
======================================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --section-pad: 70px 20px;
    }

    .header-inner { padding: 0 20px; }
    
    .nav { display: none; }
    .menu-btn { display: block; }
    
    .hero-text h2 { font-size: 2rem; }

    .inner-flex { flex-direction: column; gap: 40px; }
    .flex-reverse { flex-direction: column; }
    
    .sec-title { font-size: 1.6rem; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .plan-cards { flex-direction: column; }
    
    .voice-grid { grid-template-columns: 1fr; }
    .voice-card { flex-direction: column; text-align: center; }
    
    .flow-item { flex-direction: column; gap: 15px; }
    
    .contact-methods { flex-direction: column; align-items: center; gap: 15px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}
