/* Base Styles */
:root {
    --primary-color: #C07B58;
    --secondary-color: #ffffff;
    --bg-color: #F5F5F0;
    --text-color: #333333;
    --light-gray: #f4f4f4;
    --dark-gray: #2c3e50;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif); /* デフォルトを明朝体に設定 */
    line-height: 1.8;
    color: var(--text-color);
    background-color: #fff;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-serif); /* 明朝体に修正 */
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-family: var(--font-sans);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    line-height: 1.3;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background-color: var(--bg-color);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Intro Section */
.intro {
    padding: 100px 0;
    text-align: center;
    background-color: #fff;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.services-summary, .greeting-summary, .access-summary {
    padding: 100px 0;
}

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

/* Services Detail */
.services-detail {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-card p {
    font-size: 1rem;
    color: #555;
}

/* Greeting Detail */
.greeting-detail {
    padding: 80px 0;
    background-color: #fff;
}

.greeting-content-box {
    max-width: 850px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 60px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.greeting-content-box p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-weight: bold;
}

/* Contact Detail */
.contact-detail {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.form-intro {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-family: var(--font-sans);
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.form-group textarea {
    height: 180px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
    padding: 18px;
}

.contact-info-box {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
}

.contact-info-box h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.contact-info-box p {
    margin-bottom: 15px;
}

.map-small {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: var(--font-sans);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-family: var(--font-sans);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    font-family: var(--font-sans);
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    color: #bbb;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.footer-contact a {
    color: #bbb;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #777;
    font-family: var(--font-sans);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .greeting-content-box {
        padding: 35px 25px;
    }
}
