@charset "UTF-8";

/* ==========================================================================
   Variables & Theme
   ========================================================================== */
:root {
    /* Colors - Elegant / Clean Corporate */
    --c-primary: #C5A47E;
    /* Champagne Gold */
    --c-primary-hover: #AB8860;
    --c-text: #333333;
    --c-text-light: #666666;
    --c-bg: #FFFFFF;
    --c-bg-light: #F9F8F6;
    /* Soft Beige */
    --c-accent: #E6E1DC;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Layout */
    --width-container: 1100px;
    --space-sm: 20px;
    --space-md: 40px;
    --space-lg: 80px;
    --space-xl: 120px;

    /* Transitions */
    --t-fast: 0.3s ease;
    --t-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--c-text);
    background-color: var(--c-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

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

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

.hidden-sp {
    display: none;
}

@media (min-width: 768px) {
    .hidden-sp {
        display: inline;
    }
}

/* Section Header */
.section-header {
    margin-bottom: clamp(30px, 5vw, 50px);
}

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

.section-en {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    letter-spacing: 0.1em;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
}

.section-jp {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--c-text-light);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background-color: var(--c-text);
    color: #FFF;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: background-color var(--t-fast);
}

.btn-primary:hover {
    background-color: var(--c-primary);
    color: #FFF;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #E0E0E0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05));
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform var(--t-smooth);
}

.header--hidden {
    transform: translateY(-100%);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.header__logo a {
    display: block;
    line-height: 1;
}

.header__logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header__nav {
    display: none;
}

@media (min-width: 768px) {
    .header__nav {
        display: block;
    }

    .header__inner {
        padding: 20px 60px;
    }
}

.header__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__list a {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.btn-contact-small {
    background-color: var(--c-primary);
    color: #FFF !important;
    padding: 10px 24px;
    border-radius: 40px;
}

.btn-contact-small:hover {
    background-color: var(--c-primary-hover);
}

/* Hamburger (Mobile Only) */
.hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--c-text);
    left: 0;
    transition: var(--t-fast);
}

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

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

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

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: block;
    background-color: #F0EEEA;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 高解像度画像を綺麗に縮小表示するための設定 */
    image-rendering: -webkit-optimize-contrast; 
    overflow: hidden;
}

/* Removed hero__content and hero__title classes */

/* ==========================================================================
   Mission Section
   ========================================================================== */
.mission {
    position: relative;
    z-index: 2;
    background-color: var(--c-bg);
    margin-top: -50px;
    /* Slight overlap */
    padding-top: var(--space-xl);
}

.mission__content {
    max-width: 800px;
}

.mission__lead {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.mission__text {
    color: var(--c-text-light);
}

/* ==========================================================================
   Profile Section
   ========================================================================== */
.profile__wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .profile__wrapper {
        flex-direction: row;
        align-items: center;
        gap: var(--space-xl);
    }
}

.profile__image {
    flex: 1;
    max-width: 400px;
}

.profile__img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.profile__info {
    flex: 1.5;
}

.profile__name {
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.1em;
}

.profile__name .title {
    display: block;
    font-size: 1.2rem;
    color: var(--c-primary);
    margin-bottom: 5px;
}

.profile__text {
    color: var(--c-text-light);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services__intro {
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--c-bg-light);
    padding: var(--space-md);
    border-radius: 4px;
    height: 100%;
    transition: transform var(--t-fast);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card__num {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    color: var(--c-primary);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-card__desc {
    font-size: 1.4rem;
    color: var(--c-text-light);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact__box {
    background-color: var(--c-bg);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
    .contact__box {
        padding: 40px 40px;
        max-width: 800px;
        margin: 0 auto;
    }
}

.contact__text {
    margin-bottom: 25px;
}

.contact__note {
    display: block;
    margin-top: 15px;
    font-size: 1.3rem;
    color: var(--c-text-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #3b3b3b;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer__brand {
    display: none;
    /* Hide brand for simple footer as requested */
}

.footer__links {
    width: 100%;
}

.footer__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 1.3rem;
}

.footer__nav a {
    color: #cccccc;
    transition: color var(--transition-bounce);
}

.footer__nav a:hover {
    color: #fff;
}

.footer__copy {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer__copy small {
    font-size: 1rem;
    opacity: 0.5;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* ==========================================================================
   Legal Pages Styling
   ========================================================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.15em;
    font-family: var(--font-heading);
    color: var(--c-primary);
    position: relative;
    padding-bottom: 25px;
}

.legal-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--c-accent);
}

.legal-box {
    background: #fff;
    padding: clamp(40px, 8vw, 80px);
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.legal-box h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 60px 0 25px;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--c-primary);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-box h2::before {
    content: '';
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--c-accent);
}

.legal-box h2:first-child {
    margin-top: 0;
}

.legal-box p {
    margin-bottom: 30px;
    line-height: 2.2;
    font-size: 1.45rem;
    color: #4a4a4a;
    letter-spacing: 0.05em;
}

.legal-box ul,
.legal-box ol {
    margin-bottom: 30px;
    padding-left: 20px;
    line-height: 2.2;
    font-size: 1.45rem;
    color: #4a4a4a;
    letter-spacing: 0.05em;
}

.legal-box li {
    margin-bottom: 12px;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-box p strong {
    font-weight: 500;
    color: var(--c-primary);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-top: 1px solid var(--c-accent);
}

.legal-table th,
.legal-table td {
    border: 1px solid #eaeaea;
    border-left: none;
    border-right: none;
    padding: 25px 20px;
    font-size: 1.4rem;
    line-height: 1.8;
}

.legal-table td:first-child {
    background-color: rgba(197, 168, 128, 0.03);
    font-weight: 500;
    width: 30%;
    color: var(--c-primary);
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .legal-table td {
        display: block;
        width: 100% !important;
    }

    .legal-table td:first-child {
        border-bottom: none;
        padding-bottom: 10px;
        background-color: transparent;
        color: var(--c-accent);
    }

    .legal-table td:last-child {
        padding-top: 5px;
    }
}