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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

p, ul, ol, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary-color: #8B7BA8;
    --primary-dark: #6B5B88;
    --primary-light: #ABA0C3;
    --accent-color: #D4AF37;
    --black: #1A1A1A;
    --dark-gray: #2C2C2C;
    --medium-gray: #666666;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-color: #333333;
}

/* ========================================
   Base Typography
   ======================================== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
}

h1 {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

h2 {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
}

p, li {
    font-size: clamp(0.9375rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

small, .caption {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* ========================================
   Utilities
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.sp-only {
    display: inline;
}

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

.pc-only {
    display: none;
}

@media (min-width: 769px) {
    .pc-only {
        display: block;
    }
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem) 0;
}

.logo a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-main {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 400;
    color: var(--medium-gray);
}

/* Navigation */
.main-nav {
    position: relative;
}

.nav-menu {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.nav-menu li a {
    font-weight: 400;
    color: var(--text-color);
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

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

.btn-contact {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 123, 168, 0.3);
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-menu li a {
        display: block;
        width: 100%;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--white);
    padding: clamp(2rem, 5vw, 4rem);
    max-width: 800px;
    margin-left: clamp(2rem, 5vw, 6rem);
}

.hero-content h1 {
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-content .lead-text {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(139, 123, 168, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 123, 168, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

/* ========================================
   Section General
   ======================================== */
section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

section + section {
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.section-header h2 {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    color: var(--primary-color);
}

.section-header .lead-text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--medium-gray);
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

.feature-card {
    background: var(--white);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--medium-gray);
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.cta-section .lead-text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--light-gray);
}

/* ========================================
   Contact Info Section
   ======================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

.contact-info-card {
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--light-gray);
    border-radius: 8px;
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info-card p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 1rem;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-dark);
}

/* ========================================
   Form Styles
   ======================================== */
.form-group {
    margin-bottom: 2rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.required {
    color: #e74c3c;
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    padding-top: 2rem;
}

.btn-submit {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 123, 168, 0.4);
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ========================================
   Table Styles
   ======================================== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.info-table:last-child {
    margin-bottom: 0;
}

.info-table th,
.info-table td {
    padding: 1rem;
    border: 1px solid var(--light-gray);
    text-align: left;
}

.info-table th {
    background: var(--light-gray);
    font-weight: 700;
    width: 30%;
}

@media (max-width: 768px) {
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    
    .info-table th {
        border-bottom: none;
    }
    
    .info-table tr {
        border-bottom: 2px solid var(--light-gray);
    }
}

/* ========================================
   Map
   ======================================== */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 3rem);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-main {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.footer-logo .logo-sub {
    font-size: 0.875rem;
    color: var(--light-gray);
    font-weight: 400;
}

.footer-description {
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-contact h4,
.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.contact-item a {
    color: var(--primary-light);
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--white);
}

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

.footer-links a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* ========================================
   Message Box
   ======================================== */
.message-box {
    background: var(--light-gray);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 8px;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    border-left: 4px solid var(--primary-color);
}

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

.message-box h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.message-box p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

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

/* ========================================
   Page Header (Subpages)
   ======================================== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-header-content h1 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
    padding: 1.5rem 0;
    background: var(--light-gray);
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb li::after {
    content: ">";
    color: var(--medium-gray);
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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


/* ========================================
/* ========================================
   Hero Section - Responsive
   ======================================== */

/* PC・大画面（1025px以上） */
@media (min-width: 1025px) {
    .hero {
        align-items: flex-end;
        justify-content: flex-start;
    }
    
    .hero-bg {
        object-position: 45% 15%;
        object-fit: cover;
        filter: brightness(0.7);
    }
    
    .hero-content {
        max-width: 850px;
        margin-left: clamp(3rem, 6vw, 8rem);
        margin-bottom: clamp(3rem, 5vh, 5rem);
        text-align: left;
    }
}

/* タブレット（768px〜1024px） */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        min-height: 650px;
        align-items: flex-end;
        justify-content: flex-start;
    }
    
    .hero-bg {
        object-position: center center;
        object-fit: cover;
        filter: brightness(0.7);
    }
    
    .hero-content {
        max-width: 650px;
        margin-left: clamp(2rem, 4vw, 3rem);
        margin-bottom: 3rem;
        text-align: left;
    }
    
    .hero-content h1 {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }
    
    .hero-content .lead-text {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }
}

/* スマートフォン（〜768px） */
@media (max-width: 768px) {
    .hero {
        align-items: flex-end;
        justify-content: center;
        min-height: 100vh;
    }
    
    .hero-bg {
        object-position: center 30%;
        object-fit: cover;
        filter: brightness(0.75);
    }
    
    .hero-content {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        padding: 2.5rem 1.5rem 4rem;
        max-width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    }
    
    .hero-content h1 {
        font-size: clamp(1.875rem, 8vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-content .lead-text {
        font-size: clamp(0.875rem, 4vw, 1rem);
        line-height: 1.7;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-top: 2rem;
    }
}

/* PC版: 「あなたらしい、」の折り返しを防ぐ */
@media (min-width: 1025px) {
    .hero-content h1 .no-wrap {
        white-space: nowrap;
    }
}

/* 特徴セクションの注釈 */
.features-note {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    margin-top: 3rem;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    display: block;
}
