:root {
    --color-bg-main: #fcfbf9;      /* 明るく温かみのあるオフホワイト */
    --color-bg-card: #ffffff;      
    --color-gold: #b38a36;         /* 落ち着いたゴールド */
    --color-gold-muted: rgba(179, 138, 54, 0.3);
    --color-gold-hover: #9c782f;
    --color-text-main: #333333;    /* 濃いグレーで視認性を高く */
    --color-text-muted: #666666;
    --font-serif: 'Noto Serif JP', serif;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.08);
}

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

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

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-gold-hover);
}

p {
    margin-bottom: 1.5em;
}

p:last-child {
    margin-bottom: 0;
}

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

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* --- Components --- */
.sp-br { display: none; }

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.15em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 20px auto 0;
}

/* Light Card Effect */
.glass-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 50px;
    box-shadow: var(--card-shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.btn-gold {
    background: var(--color-gold);
    border: 1px solid var(--color-gold);
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold:hover {
    background: var(--color-gold-hover);
    color: #fff;
    box-shadow: 0 5px 20px rgba(179, 138, 54, 0.3);
}

.btn-large {
    padding: 16px 50px;
    font-size: 1.15rem;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 30px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-main);
    letter-spacing: 0.1em;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-list a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
    font-weight: 500;
}

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

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

.nav-list a:hover::after {
    width: 100%;
}

/* Hamburger Icon (hidden on PC) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px; /* offset for header */
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    z-index: 1;
    padding: 0 20px;
    animation: fadeIn 2s ease forwards;
}

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

.hero-catch {
    font-size: 2.2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-subtext {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3.5rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

/* --- News --- */
.news .glass-card {
    padding: 40px 50px;
}

.news-list {
    list-style: none;
}

.news-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-date {
    color: var(--color-gold);
    margin-right: 25px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    min-width: 90px;
    padding-top: 2px;
}

/* --- Appraisal --- */
.appraisal-flex {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.appraisal-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.appraisal-image::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom right, rgba(179, 138, 54, 0.1), transparent);
    pointer-events: none;
}

.appraisal-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.appraisal-image:hover img {
    transform: scale(1.03);
}

.appraisal-text {
    flex: 1.1;
}

.lead {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 35px;
    line-height: 2;
}

.pricing-card {
    background: #faf8f5;
    border: 1px solid var(--border-light);
    padding: 35px 60px;
    border-radius: 8px;
}

.pricing-card h3 {
    color: var(--color-gold);
    margin-bottom: 25px;
    font-size: 1.25rem;
    font-weight: 400;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.price-item {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.price-item strong {
    min-width: 90px;
    font-size: 1.8rem;
    font-weight: 300;
}

.price-item .price {
    font-size: 1.8rem;
    color: var(--color-text-main);
    font-weight: 300;
}

.price-item .currency {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.travel-fee {
    margin-top: 10px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.travel-fee h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.travel-fee-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.travel-fee ul {
    list-style-type: none;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding-left: 10px;
}

.travel-fee ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.travel-fee ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* --- Profile --- */
.profile-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 35px;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold-muted);
    padding: 3px;
    background: #fff;
}

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

.profile-kana {
    font-size: 1rem;
    color: var(--color-text-muted);
    display: inline-block;
}

.profile-role {
    color: var(--color-gold);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-top: 5px;
}

/* --- Contact --- */
.form-container {
    max-width: 750px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.required {
    background: rgba(179, 138, 54, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(179, 138, 54, 0.3);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 12px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--color-text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(179, 138, 54, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--color-gold);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
}

/* --- Footer --- */
.footer {
    background: #f5f5f5;
    padding: 70px 0 40px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.divider {
    color: #ccc;
    font-size: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.footer-sub-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #eee;
}

.footer-sub-link a {
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-sub-link a:hover {
    color: var(--color-text-main);
    text-decoration: underline;
}

.copyright {
    color: #999;
    font-size: 0.85rem;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: flex;
    }

    .nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav.active {
        left: 0;
    }

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

    .nav-list a {
        font-size: 1.2rem;
        font-weight: 500;
    }
    
    .hero-catch {
        font-size: 2.2rem;
        line-height: 1.5;
        letter-spacing: 0.15em;
    }

    .section-title {
        font-size: 1.5rem; /* さらに小さくして確実に1行に */
        margin-bottom: 2.5rem;
    }

    .profile-title h3 {
        font-size: 1.8rem;
    }

    .profile-kana {
        font-size: 0.85rem;
        display: block; /* 確実に改行やレイアウト崩れを防ぐためブロック化 */
        margin-top: 5px;
    }
    
    .appraisal-flex {
        flex-direction: column;
        gap: 30px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .sp-br {
        display: block;
    }

    .pc-br {
        display: none;
    }

    .glass-card {
        padding: 30px 20px;
    }
    
    .news-list li {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .divider {
        display: none;
    }
}

/* ===== Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-text-main);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.modal-box h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-gold);
    margin: 1.8rem 0 0.8rem;
}

.modal-box ul {
    padding-left: 1.5em;
    margin-bottom: 1rem;
}

.modal-box ul li {
    margin-bottom: 0.4rem;
    line-height: 1.8;
}

/* Legal Table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    vertical-align: top;
    line-height: 1.8;
}

.legal-table th {
    width: 35%;
    color: var(--color-text-muted);
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .modal-box {
        padding: 30px 24px;
    }

    .legal-table th {
        white-space: normal;
        width: 40%;
    }
}

/* ===== Profile Photos (Polaroid wrap) ===== */
.profile-polaroids {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.profile-polaroids .polaroid {
    width: 160px;
}

.polaroid {
    background: #fff;
    padding: 8px 8px 24px 8px; /* ポラロイド風の余白 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
    transform: rotate(2deg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, z-index 0s;
    margin: 0;
    position: relative;
    z-index: 1;
}

.polaroid-tilt {
    transform: rotate(-3deg);
}

.polaroid:hover {
    transform: scale(1.08) rotate(0deg) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 10;
}

.polaroid img {
    width: 100%;
    height: auto;
    display: block;
    background: #f4f4f4; /* プレースホルダー色 */
    min-height: 90px;
    object-fit: cover;
}

.polaroid figcaption {
    font-size: 0.75rem;
    text-align: center;
    color: var(--color-text-muted);
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .profile-polaroids {
        margin: 20px 0 30px;
        gap: 20px;
    }
    .profile-polaroids .polaroid {
        width: 140px;
    }
}
