@charset "UTF-8";


/* --- CSS Variables (Colors & Fonts) --- */
:root {
    --bg-color: #FAFAF5;       /* Off-white / Cream */
    --text-color: #333333;     /* Dark Grey */
    --accent-red: #D64040;     /* Vermilion (Shrine Red) */
    --accent-green: #7D9D5B;   /* Matcha Green */
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Zen Maru Gothic', sans-serif;
    --font-script: 'Kaushan Script', cursive;
}


/* --- Reset & Basic Setup --- */
* { box-sizing: border-box; margin: 0; padding: 0; }


body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }


/* --- Common Components --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}


.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}


/* Decorative script text above titles */
.section-title::before {
    content: 'Story';
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--accent-green);
    display: block;
    margin-bottom: 5px;
}
.page-courses .section-title::before { content: 'Itinerary'; }
.page-contact .section-title::before { content: 'Let\'s Chat'; }


.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-red);
    color: white;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn:hover {
    background-color: #b52b2b;
    transform: translateY(-2px);
}


.btn-white {
    background-color: white;
    color: var(--accent-green);
}
.btn-white:hover {
    background-color: #f0f0f0;
}


/* --- Header --- */
header {
    padding: 20px 0;
    background-color: rgba(250, 250, 245, 0.95);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}


.nav-links {
    display: flex;
    gap: 30px;
}


.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    position: relative;
}


/* Active Page Indicator */
.nav-links a.active {
    color: var(--accent-red);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
}


.nav-links .cta-link {
    color: var(--accent-red);
    font-weight: bold;
}


/* --- Hero Section (Home) --- */
.hero {
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}


.hero-content {
    position: relative;
    display: inline-block;
}


.catch-copy {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--accent-red);
    transform: rotate(-5deg);
    margin-bottom: 10px;
    display: block;
}


.main-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 40px;
}


/* --- Slideshow --- */
.slideshow {
    width: 100%;
    height: 400px;
    position: relative;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

.slideshow-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder style - remove when real images are added */
/* .slide {
    background-color: #e8e8e0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide:nth-child(1) { background-color: #d4e6d4; }
.slide:nth-child(2) { background-color: #e6d4d4; }
.slide:nth-child(3) { background-color: #d4d4e6; }

.slide img[src*="placeholder"],
.slide img:not([src]),
.slide img[src="images/slide1.jpg"],
.slide img[src="images/slide2.jpg"],
.slide img[src="images/slide3.jpg"] {
    display: none;
} */

.slide::after {
    color: #888;
    font-weight: bold;
}

.slide:nth-child(1)::after { content: "Slide 1: Add your image"; }
.slide:nth-child(2)::after { content: "Slide 2: Add your image"; }
.slide:nth-child(3)::after { content: "Slide 3: Add your image"; }

/* Slideshow dots */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--accent-red);
}


/* --- About Section Styles --- */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}


.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    background-color: #ccc;
}


.profile-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}


.skills-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}


.skill-item {
    background: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    color: var(--accent-green);
    border: 1px dashed var(--accent-green);
}

.about-mood-image {
    width: 100%;
    max-width: 600px; /* 横幅を制限 */
    height: 250px;
    object-fit: cover; /* トリミングして枠に収める */
    border-radius: 15px;
    margin: 30px auto; /* 上下に余白、左右中央寄せ */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* --- Services Section Styles --- */
.course-wrapper {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}
.course-wrapper:last-child { border-bottom: none; }


.course-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    border-left: 5px solid var(--accent-red);
    padding-left: 15px;
}


.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
}


.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ccc;
    border-top: 2px dashed #aaa;
    z-index: 0;
}


.timeline-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    width: 22%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}


.timeline-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}


.timeline-time {
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}


.price-note {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.05);
    position: relative;
}
.price-note::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: radial-gradient(#333 20%, transparent 20%);
    background-size: 30px 30px;
    background-position: 10px top;
}


/* --- Contact Section Styles --- */
.contact-hero {
    padding: 80px 0;
    background-color: var(--accent-green);
    color: white;
    text-align: center;
}
.contact-hero .section-title { color: white; }
.contact-hero .section-title::before { color: #e0f0d0; }


.contact-form-wrapper {
    max-width: 600px;
    margin: -50px auto 50px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: var(--text-color);
}

.course-header-img,
.course-wrapper .slideshow {
    width: calc(100% + 80px); /* 親要素のpadding分（左右40pxずつ）広げる */
    margin-left: -40px; /* 左にずらして端に合わせる */
    margin-top: -40px; /* 上にずらして端に合わせる */
    margin-bottom: 30px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px 10px 0 0; /* 上の角だけ丸くする */
}
/* --- Footer --- */
footer {
    background-color: #333;
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: auto;
}


/* --- Responsive --- */
@media (max-width: 768px) {
    .catch-copy { font-size: 2rem; }
    .main-title { font-size: 2rem; }
    .nav-links { display: none; } /* Implement JS menu later */
   
    .timeline {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline::before {
        width: 2px;
        height: 100%;
        left: 20px;
        top: 0;
    }
    .timeline-item {
        width: 100%;
        margin-bottom: 20px;
        margin-left: 40px;
        text-align: left;
    }
    .skills-list { flex-direction: column; }

    .course-wrapper {
        padding: 20px; /* スマホではpaddingを狭く */
    }
    .course-header-img,
    .course-wrapper .slideshow {
        width: calc(100% + 40px); /* 左右20pxずつ広げる */
        margin-left: -20px;
        margin-top: -20px;
    }
}