/*
  New Stylesheet based on tokyobikebliss.com aesthetic
*/

/* --- Variables --- */
:root {
    --primary-color: #ea7001; /* New Orange */
    --secondary-color: #333333; /* Dark Gray for Text */
    --background-color: #FFFFFF;
    --light-gray-bg: #f9f9f9;
    --text-color: #555555;
    --font-family: 'Montserrat', sans-serif;
    --header-height: 80px;
}

/* --- Global Styles --- */
body {
    font-family: var(--font-family);
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0;
}

h1 {
    font-size: 3.0em;
    }

a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

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

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    align-items: center;
}

.button-primary {
    background-color: #ea7001;
    color: #fff;
}

.button-primary:hover {
    background-color: #e6a200; /* Darker orange */
    transform: translateY(-2px);
}

.button-hero {
    font-size: 18px;
    padding: 15px 40px;
    background-color: #fff;
    color: var(--primary-color);
}

.button-hero:hover {
    background-color: #f2f2f2;
    transform: translateY(-2px);
}

.button.mobile-book-now-header {
    display: none;
}

/* --- Header --- */
.site-header {
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
    background-color: var(--background-color);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--secondary-color);
}

.logo img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 35px;
}

.main-nav ul li a {
    text-decoration: none;
    font-weight: 700;
    padding-bottom: 5px;
    transition: color 0.3s;
    color: var(--secondary-color);
}

.main-nav ul li a.button-primary {color: #fff;}
.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Desktop styles (width > 1200px) */
@media (min-width: 1201px) {
    .main-nav {
        display: block; /* Show main nav on desktop */
    }
    .mobile-nav-toggle {
        display: none; /* Hide hamburger on desktop */
    }
    .logo a span {
        display: none; /* Hide logo text on desktop */
    }
    .button.mobile-book-now-header {
        display: none !important;
    }
}

/* Mobile styles (width <= 1200px) */
@media (max-width: 1200px) {
    .main-nav {
        display: none; /* Hide desktop nav on mobile */
        width: 100%;
        position: absolute;
        top: var(--header-height);
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block; /* Show mobile nav when active */
    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .main-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 9px; /* Reduced from 15px */
        border-bottom: 1px solid #eee;
        color: var(--secondary-color);
    }

    .main-nav .button {
        margin: 15px;
    }

    .mobile-nav-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        padding: 0;
        background: none;
        border: none;
        z-index: 101;
        overflow: hidden;
    }

    .mobile-nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--secondary-color);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

    .mobile-nav-toggle span:nth-child(1) {
        top: 0;
    }

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

    .mobile-nav-toggle span:nth-child(3) {
        bottom: 0;
    }

    /* Animation for hamburger icon */
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .button.mobile-book-now-header {
        display: inline-block;
        padding: 8px 15px;
        font-size: 0.9rem;
        margin-left: auto;
        margin-right: 15px;
    }

    .logo a span {
        display: none; /* Hide logo text on mobile */
    }

    .site-footer-bottom .footer-nav {
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px; /* Adjust as needed */
    }

    .site-footer-bottom .footer-nav a {
        margin: 5px 0; /* Vertical spacing between links */
        font-size: 10px; /* Keep the requested font size */
    }
}

/* --- About Us Page (Iruka Style) --- */
.iruka-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.profile-image-area .story-image.circular {
    margin: 0 auto;
    padding: 20px;
    align-items: center; 
}

.business-profile-list {
    margin-top: 20px;
}

.business-profile-list dt {
    font-weight: 700;
    margin-top: 15px;
}

.business-profile-list dd {
    margin-left: 0;
    margin-bottom: 10px;
}

.business-profile-list dd p {
    margin: 0 0 1em 0;
}

@media (min-width: 769px) {
    .iruka-profile-grid {
        grid-template-columns: 1fr 1.5fr; /* Adjust column ratio */
        grid-template-areas:
            "image profile";
        gap: 60px;
        align-items: start;
    }

    .profile-image-area { grid-area: image; }
    .business-profile-area { grid-area: profile; }

    .business-profile-list {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 15px 20px;
    }

    .business-profile-list dt {
        margin-top: 0;
        padding-top: 0.2em; /* Align with content */
    }

    .business-profile-list dd {
        margin-bottom: 0;
    }
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(45deg, #fcb800, #ff6a00);
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.eyecatch-in-article {
    display: block;
    width: 500px;
/*    height: 500px;*/
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 40px auto;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-content {
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center;
    justify-content: center;
    gap: 40px; /* Space between image and text */
}

.hero-text h1 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 0px;
    line-height: 0.9em;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ff9a01; /* Updated border to 5px and color #ff9a01 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- General Page & Section Styles --- */
.page-hero {
    background-color: var(--light-gray-bg);
    padding: 30px 0;
    text-align: center;
}

.page-hero h1 { font-size: 2.0rem; }

.intro, .cta, .tour-list, .story-content, .blog-list, .blog-post-content, .guide-section {
    padding: 50px 0;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 60px;
    text-align: center;
}

/* --- Features Grid (Homepage) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item img {
    width: 350px;
    height: 350px;
/*    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ff9a01;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    width: 300px; 
    height: 300px;
*/
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color); /* Changed border to 5px */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
/*    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    */
}

.feature-item h3 { font-size: 1.5rem; }

/* --- Tour Highlight (Homepage) --- */
.tour-highlight {
    background-color: var(--light-gray-bg);
    padding: 100px 0;
    text-align: center;
}

.highlight-content h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* --- Tour Routes Page --- */
.tour-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.tour-card.reverse { flex-direction: row-reverse; }
.tour-card-image { flex: 1 1 50%; }
.tour-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-card-content { flex: 1 1 50%; padding: 50px; }
.tour-title { font-size: 2rem; margin-top: 0; }
.tour-subtitle { font-size: 1.1rem; color: var(--primary-color); font-weight: 700; margin-bottom: 20px; }
.tour-highlights { list-style: none; padding: 0; margin: 30px 0; }
.tour-highlights li { padding-left: 25px; position: relative; margin-bottom: 10px; }
.tour-highlights li::before { content: '3'; color: var(--primary-color); position: absolute; left: 0; }
.tour-meta { display: flex; gap: 20px; margin: 30px 0; font-weight: 700; }

/* --- Story Page --- */
.story-section { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.story-section.reverse { flex-direction: row-reverse; }
.story-text { flex: 1 1 50%; }
.story-image { flex: 1 1 50%; }
.story-image img { width: 100%; border-radius: 10px; }

/* --- Story Page --- */
.story-section {
    /* Removed flex properties */
    margin-bottom: 80px;
    text-align: center; /* Center content */
}

.story-text {
    /* Removed flex properties */
    max-width: 800px; /* Constrain text width */
    margin: 0 auto; /* Center text */
}

.story-text h2 {
    text-align: left;
}
.story-text p {
    text-align: justify;
}

.story-image {
    /* Removed flex properties */
    margin: 0 auto; /* Center image */
}

.story-image img {
    width: 300px; /* Adjusted for better circularity and consistency */
    height: 300px; /* Adjusted for better circularity and consistency */
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color); /* Changed border to 5px */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Blog --- */
.blog-post-summary { border-bottom: 1px solid #eee; padding: 40px 0; }
.blog-date { font-size: 0.9rem; color: #999; margin-bottom: 10px; }
.blog-post-summary h2 { margin-top: 10px; }
.blog-post-summary h2 a { text-decoration: none; color: var(--secondary-color); }
.read-more { display: inline-block; margin-top: 20px; font-weight: 700; }
.blog-post-content { max-width: 800px; margin: 0 auto; }
.blog-post-content img { border-radius: 10px; margin: 40px 0; }
.blog-post-content blockquote { border-left: 4px solid var(--primary-color); padding-left: 20px; margin: 40px 0; font-style: italic; font-size: 1.2rem; }
.post-meta { font-size: 1rem; color: #999; }


.where-shall-we-start {
    background-color: var(--light-gray-bg);
}

/* --- CTA --- */
.cta { text-align: center; background-color: var(--light-gray-bg); }
.cta h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta p { max-width: 600px; margin: 0 auto 40px; }

/* --- Footer --- */
.site-footer-bottom { background-color: var(--secondary-color); color: #aaa; padding: 60px 0; text-align: center; }
.footer-nav { margin-bottom: 20px; }
.footer-nav a { color: #fff; margin: 0 15px; text-decoration: none; font-size: 9px; }
.footer-nav a:hover { color: var(--primary-color); }
.social-links a { color: #fff; margin: 0 10px; text-decoration: none; font-size: 1.2rem; }
.copyright { margin-top: 20px; font-size: 9px; }

/* --- WhatsApp Button --- */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px; /* Desktop size */
    height: 60px; /* Desktop size */
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4beb65; /* Set background to white */
    overflow: hidden; /* Ensure image stays within the circle */
}
.whatsapp-fab:hover {
    transform: scale(1.05);
}
.whatsapp-fab img {
    width: 80%;  /* Make the image smaller than its container */
    height: 80%; /* Make the image smaller than its container */
    object-fit: contain; /* Ensure the whole image is visible */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .whatsapp-fab {
        width: 45px; /* Smaller size for mobile */
        height: 45px; /* Smaller size for mobile */
        bottom: 20px;
        right: 20px;
    }
}

/* --- Pricing Page --- */
.price-configurator {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
}

.price-options {
    flex: 2;
    min-width: 300px;
}

.price-options .form-group {
    margin-bottom: 40px;
}

.footnote {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
}

.price-options .form-group > label {
    font-weight: 700;
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Participant Selection Grid */
.tour-type-card .tour-type-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.tour-type-card .inclusions-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.tour-type-card .inclusions-list li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.tour-type-card .inclusions-list li::before {
    content: "2";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.tour-type-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.4);
}

.participant-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.participant-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.participant-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.2);
}

.participant-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.4);
    background-color: #fcf4e6; /* Light orange background for selected */
}

.participant-card .person-icons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 5px;
}

.participant-card .person-icon {
    width: 30px;
    height: 30px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.participant-card.selected .person-icon {
    background-color: var(--primary-color);
}

.participant-card p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 5px 0;
    color: var(--text-color);
}

.participant-card .price-display {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Custom Checkbox Styling */
.form-group .checkbox-group {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.form-group .checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.form-group .checkbox-group label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 0;
    cursor: pointer;
    flex-grow: 1;
    padding-left: 30px; /* Space for custom checkbox */
}

.form-group .checkbox-group label::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
}

.form-group .checkbox-group input[type="checkbox"]:checked + label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-group .checkbox-group label::after {
    content: '';
    position: absolute;
    left: 22px; /* Position for checkmark */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transition: all 0.2s ease;
}

.form-group .checkbox-group input[type="checkbox"]:checked + label::after {
    opacity: 1;
}

.calculated-price-section {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    background-color: #f5f5f7; /* Light gray background like Apple */
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px; /* Adjust based on header height */
}

.calculated-price-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.calculated-price-section .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.calculated-price-section .price-detail {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.calculated-price-section .note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
}

.calculated-price-section .button-primary {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
}

/* Responsive adjustments for price page */
@media (max-width: 768px) {
    .price-configurator {
        flex-direction: column;
    }

    .calculated-price-section {
        display: none; /* Hide the original price section on mobile */
    }

    .mobile-price-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        z-index: 100;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .mobile-price-header.visible {
        transform: translateY(0);
    }

    .mobile-price-header .price-summary {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .mobile-price-header .button-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }

    main {
        padding-top: 0; /* Remove padding, as header is initially hidden */
    }
}

@media (min-width: 769px) {
    .mobile-price-header {
        display: none; /* Hide the mobile header on desktop */
    }
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

.review-card .stars {
    color: #FFD700; /* Gold color for stars */
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.review-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.review-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-card .reviewer-info {
    font-size: 0.85rem;
    color: #999;
    margin-top: 20px;
}

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


/* --- FAQ Page --- */
.faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}


.logo a span {
    display: none; /* Default to hidden */
}

@media (min-width: 1131px) { /* Hide on desktop sizes (above 1130px) */
    .logo a span {
        display: none;
    }
}

.faq-index {
    background-color: var(--light-gray-bg);
    padding: 30px;
    margin-top: 50px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.faq-index h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.faq-index ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.faq-index ul li a {
    display: block;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.faq-index ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Contact Us Page --- */
.contact-form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    margin-bottom: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--secondary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .button-primary {
    width: auto;
    padding: 12px 40px;
}

.form-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

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

.contact-info a {
    font-weight: 700;
}


.form-group .error-message {
    color: #d9534f; /* Red for errors */
    font-size: 0.85rem;
    margin-top: 5px;
    display: none; /* Hidden by default */
}

.form-group.error input,
.form-group.error textarea {
    border-color: #d9534f;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto; /* Override 100% width */
}

.checkbox-group label {
    margin-bottom: 0; /* Adjust label margin */
    font-weight: normal; /* Adjust label font weight */
}


/* --- Book Now Page --- */
.booking-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.booking-option-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}

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

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

.booking-option-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide by default on mobile */
        width: 100%;
        position: absolute;
        top: var(--header-height);
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block; /* Show mobile nav when active */
    }

    .main-nav ul {
        flex-direction: column;
        padding: 5px 0; /* Reduced padding */
    }

    .main-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 8px 15px; /* Reduced padding */
        border-bottom: 1px solid #eee;
    }

    .main-nav .button {
        margin: 10px 15px; /* Reduced margin */
    }

    .mobile-nav-toggle { display: block; background: none; border: none; color: inherit; font-size: 24px; cursor: pointer; }
    .hero-content { flex-direction: column; }
    .hero-text h1 { font-size: 2.5rem; }
    .tour-card, .tour-card.reverse, .story-section, .story-section.reverse {
        flex-direction: column;
    }

    .story-section .story-image {
        order: 1; /* Ensure image is first on mobile */
    }

    .story-section .story-text {
        order: 2; /* Ensure text is second on mobile */
    }

    .tour-card-content, .story-text { padding: 30px; }
}

.inline-post-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 10px auto; /* Center by default for mobile */
  display: block;
}

@media (min-width: 768px) {
  .inline-post-image.left {
    float: left;
    margin-right: 20px;
    margin-left: 0;
  }
  .inline-post-image.right {
    float: right;
    margin-left: 20px;
    margin-right: 0;
  }
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.clear-float {
  clear: both;
}

/* --- Itinerary Styles (v3) --- */
.itinerary {
  border: 2px solid #fdb400;
  border-radius: 8px;
  padding: 20px;
  margin: 40px 0;
}

.itinerary h3 {
  margin-top: 0;
}

.itinerary-item {
  display: flex;
  align-items: flex-start; /* Top-align all items */
  margin-bottom: 15px;
}

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

.itinerary-marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #fdb400;
  flex-shrink: 0; /* Prevent shrinking */
  margin-top: 3px; /* Fine-tune vertical position */
}

.itinerary-time {
  font-weight: 700;
  color: #333;
  width: 85px; /* Increased width for more space */
  flex-shrink: 0;
  padding: 0 15px; /* Use padding for spacing */
  box-sizing: border-box;
}

.itinerary-description {
  margin: 0;
}


.button.button-primary {
    display: inline-block;
}
.button-center-container {
    text-align: center;
    margin: 40px;
}

/* --- Apple Carousel Styles --- */
.apple-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.apple-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    padding: 20px; 
    width: max-content;
}

.apple-carousel-slide {
    width: 360px; /* Slightly smaller width */
    flex-shrink: 0;
    box-sizing: border-box;
    text-align: center;
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 20px;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .apple-carousel-track {
        padding: 20px 12vw 20px 5vw; /* Adjust preview padding */
        gap: 10px;
    }
    .apple-carousel-slide {
        width: 78vw; /* Slightly smaller width on mobile */
    }
    .slide-content img {
        max-width: 100%; /* Ensure image scales down with the slide */
    }
}

/* PC full-width styles */
@media (min-width: 769px) {
    .intro > .container,
    .where-shall-we-start > .container {
        max-width: none; /* Allow container to be full-width */
        width: 100%;
        padding: 0;
    }
    .apple-carousel-track {
        /* Adjust padding to pseudo-align with the main content width */
        padding-left: max(20px, calc((100vw - 1140px) / 2));
        padding-right: max(20px, calc((100vw - 1140px) / 2));
    }
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-content img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid; /* Style and width set here, color below */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.slide-content h2 {
    font-size: 1.6rem; /* Smaller font size */
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.slide-detail p{
    text-align: left;
    padding: 10px; 
}

.slide-detail p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px 0;
    max-width: 450px;
    margin: 0 auto;
}

.carousel-button {
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.carousel-button:hover {
    background-color: rgba(253, 180, 0, 0.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
    margin: 0 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d2d2d7;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: #6e6e73;
}

/* --- Custom Slide Colors --- */
.apple-carousel-slide.slide-1 {
    background-color: #ffffff;
    border: 0.5px solid #333333;
}
.apple-carousel-slide.slide-2 {
    background-color: #efefef;
    border: 0.5px solid #333333;
}
.apple-carousel-slide.slide-3 {
    background-color: #1c0e04;
}
.apple-carousel-slide.slide-4 {
    background-color: #ff8d26;
}
.apple-carousel-slide.slide-5 {
    background-color: #f9f9f9;
    border: 0.5px solid #333333;
}
.apple-carousel-slide.slide-6 {
    background-color: #f5f5f5;
    border: 0.5px solid #333333;
}
.apple-carousel-slide.slide-7 {
    background-color: #f5f3f3;
    border: 0.5px solid #333333;
}
.apple-carousel-slide.slide-8 {
    background-color: #f1f1f1;
    border: 0.5px solid #333333;
}

/* Custom border colors */
.apple-carousel-slide.slide-1 .slide-content img {
    /* border-color: #c45f00; */
    background-color: #ffffff;
}
.apple-carousel-slide.slide-2 .slide-content img { border-color: #aeb1b6; }
.apple-carousel-slide.slide-3 .slide-content img { border-color: #3b2d22; }
.apple-carousel-slide.slide-4 .slide-content img { border-color: #d97318; }
.apple-carousel-slide.slide-5 .slide-content img { border-color: #1e3a52; }
.apple-carousel-slide.slide-6 .slide-content img { border-color: #3a7370; }
.where-shall-we-start .apple-carousel-slide.slide-7 .slide-content img {
    border-color: #468563;
}
.apple-carousel-slide.slide-8 .slide-content img { border-color: #3a7370; }

/* Adjust text color for backgrounds */
/* White text for dark backgrounds */
/* .apple-carousel-slide.slide-1 .slide-content h2, */
/* .apple-carousel-slide.slide-1 .slide-detail p, */
.apple-carousel-slide.slide-3 .slide-content h2,
.apple-carousel-slide.slide-3 .slide-detail p,
.apple-carousel-slide.slide-4 .slide-content h2,
.apple-carousel-slide.slide-4 .slide-detail p {
    color: #fff;
}

/* --- Blog Post Content Styles --- */
.blog-post .container article h1,
.blog-post .container article h2,
.blog-post .container article h3 {
    padding-bottom: 0.3em;
    color: #333;
}

.blog-post .container article h1 {
    margin-top: 1.5em; /* Reduced top margin */
    margin-bottom: 0.8em;
    border-bottom: 3px solid #ea7001;
    font-size: 1.5em; /* Match H2 */
    line-height: 1.2; /* Tighter line-height */
}

.blog-post .container article h2 {
    margin-top: 1.5em; /* Reduced top margin */
    margin-bottom: 0.5em;
    border-bottom: 5px solid #fcb400;
    font-size: 1.5em;
    line-height: 1.2; /* Tighter line-height */
}

.blog-post .container article h3 {
    margin-top: 1.5em; /* Reduced top margin */
    margin-bottom: 0.5em;
    border-bottom: 3px dotted #ff8d26;
}

.blog-post .container article blockquote.with-avatar {
    position: relative;
    padding: 220px 20px 20px 20px; /* top padding for avatar */
    margin: 50px 0;
    background-color: #f9f9f9;
    border-radius: 10px;
    font-style: normal;
    /* font-size: 1.1rem;*/
    border-left: none;
}

.blog-post .container article .quote-avatar {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

}


.blog-post .container article blockquote p:first-of-type {
    margin-top: 0;
}

.blog-post .container article blockquote p:last-of-type {
    margin-bottom: 0;
}

.blog-post .container article ul, .blog-post .container article ol {
    list-style: none;
    padding: 1.5em;
    border: 2px solid #fcb400;
    border-radius: 15px;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.blog-post .container article ul li {
    margin-bottom: 0.5em;
    padding-left: 1.2em;
    position: relative;
}

.blog-post .container article ul li::before {
    content: '\25CF';
    color: #fcb400;
    position: absolute;
    left: 0;
    top: 0;
}

.blog-post .container article ol {
    padding-left: 1.5em; /* Reset padding for ol */
    counter-reset: ordered-list-counter;
}

.blog-post .container article ol li {
    counter-increment: ordered-list-counter;
    margin-bottom: 1em;
    padding-left: 2.5em;
    position: relative;
    line-height: 1.5;
}

.blog-post .container article ol li::before {
    content: counter(ordered-list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8em;
    height: 1.8em;
    background-color: #fcb400;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    line-height: 1.8em;
    font-size: 0.9em;
}

.blog-post .container article strong {
    font-weight: bold; /* strongのデフォルトだが明示的に指定 */
    background: linear-gradient(to top, rgba(252, 180, 0, 0.5) 50%, transparent 50%); /* 半透明の黄色マーカー */
    padding: 0.1em 0.2em; /* 上下左右の余白を少し調整 */
    line-height: 1.8; /* マーカーが他の行に重ならないように調整 */
    display: inline; /* インライン要素であることを保証 */
}

/* --- Blog Post Meta (Category & Tags) --- */
.post-meta-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

a.post-category {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

a.post-category:hover {
    background-color: #e6a200; /* Darker orange */
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-tags a {
    background-color: #f0f0f0;
    color: #555;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.post-tags a:hover {
    background-color: #ddd;
    color: #333;
}

/* --- Related Posts Section --- */
.related-posts {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-post-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.related-post-card h3 {
    font-size: 1.1em;
    padding: 20px;
    margin: 0;
    color: var(--secondary-color);
    line-height: 1.4;
}

.blog-post .container article .clearfix p a {
    font-weight: bold;
    color: #ea7001;
}

.blog-post .container article .clearfix p a:hover {
    text-decoration: underline;
}

/* --- Blog List Card Layout --- */
.blog-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-card-image {
    flex-shrink: 0;
    padding: 20px;
}

.blog-card-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.blog-card-content {
    padding: 20px;
    padding-left: 0;
}

.blog-card-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 5px;
}

.blog-card-title {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
}

.blog-card-title a {
    text-decoration: none;
    color: var(--secondary-color);
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-summary {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.blog-card-read-more {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive adjustments for blog cards */
@media (max-width: 768px) {
    .blog-card-image img {
        width: 80px;
        height: 80px;
    }
    .blog-card-summary,
    .blog-card-read-more {
        display: none;
    }
    .blog-card-title {
        font-size: 1.1rem;
    }
    .blog-card-content {
        padding: 15px;
        padding-left: 0;
    }
}

/* --- Custom Slide Colors for Where Shall We Start Carousel --- */
.where-shall-we-start .apple-carousel-slide.slide-1 { background-color: #C0C0C0; /* Silver for Ginza */ }
.where-shall-we-start .apple-carousel-slide.slide-2 { background-color: #36454F; /* Charcoal for Shinjuku */ }
.where-shall-we-start .apple-carousel-slide.slide-3 { background-color: #4B0082; /* Indigo for Shibuya */ }
.where-shall-we-start .apple-carousel-slide.slide-4 { background-color: #A52A2A; /* Brown for Tokyo Station */ }
.where-shall-we-start .apple-carousel-slide.slide-5 { background-color: #8A2BE2; /* BlueViolet for Roppongi */ }
.where-shall-we-start .apple-carousel-slide.slide-6 { background-color: #B22222; /* Firebrick for Asakusa */ }
.where-shall-we-start .apple-carousel-slide.slide-7 { background-color: #2E8B57; /* SeaGreen for Many More */ }

/* Custom border colors for the new carousel */
.where-shall-we-start .apple-carousel-slide.slide-1 .slide-content img { border-color: #A9A9A9; }
.where-shall-we-start .apple-carousel-slide.slide-2 .slide-content img { border-color: #2C3E50; }
.where-shall-we-start .apple-carousel-slide.slide-3 .slide-content img { border-color: #3A006A; }
.where-shall-we-start .apple-carousel-slide.slide-4 .slide-content img { border-color: #800000; }
.where-shall-we-start .apple-carousel-slide.slide-5 .slide-content img { border-color: #7A1FB1; }
.where-shall-we-start .apple-carousel-slide.slide-6 .slide-content img { border-color: #8B0000; }
.where-shall-we-start .apple-carousel-slide.slide-7 .slide-content img { border-color: #256C45; }

/* Adjust text color for the new carousel's dark backgrounds */
.where-shall-we-start .apple-carousel-slide .slide-content h2,
.where-shall-we-start .apple-carousel-slide .slide-detail p {
    color: #FFFFFF;
}

/* --- Home Page Review Section --- */
.home-review-section {
    background-color: var(--light-gray-bg);
    padding: 0 0 80px;
}

.review-card-home {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    border-left: 5px solid var(--primary-color);
}

.review-avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.8) translateY(10px);
}

.review-content .review-stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.review-content blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.review-content blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.review-content cite {
    font-weight: 700;
    color: var(--secondary-color);
    font-style: normal;
}

/* Responsive adjustments for home review section */
@media (max-width: 768px) {
    .review-card-home {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 20px;
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }

    .review-avatar img {
        width: 120px;
        height: 120px;
    }
}
.where-shall-we-start .apple-carousel-slide.slide-7 .slide-content img {
    object-fit: contain;
    box-sizing: border-box;
    padding: 15%;
    background-color: #ffffff;
}

.intro .apple-carousel-slide.slide-1 .slide-content img {
    background-color: #ffffff;
}

/* --- Guide Section --- */
.guide-section {
    background-color: #fff;
}

.guide-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 50px;
    align-items: center;
}

.guide-title {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: left;
}

.guide-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.guide-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

.guide-content {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.custom-tour-intro {
    background-color: #fec75c;
    border-left: 5px solid #fdb400;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 5px;
}

.custom-tour-intro h2 {
    font-size: 1.5em;
    margin-top: 0;
    color: #333;
}

.custom-tour-intro p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 0;
}

.guide-content ul {
    list-style: none;
    padding-left: 20px;
    margin: 20px 0;
}

.guide-content ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.guide-content ul li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .guide-card {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .guide-title {
        margin-bottom: 0;
    }
    .guide-image {
        /* No need to reorder, as it's already after the title in the HTML */
    }
    .guide-image img {
        width: 200px;
        height: 200px;
    }
}

/* --- Hero Features List --- */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.hero-features li {
    /* ackground-color: rgba(255, 255, 255, 0.2);*/
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero-features li:hover {
    /*background-color: rgba(255, 255, 255, 0.4);*/
    /*transform: translateY(-2px);*/
}

.hero-features li::before {
    content: '✔'; /* Checkmark icon */
    color: #000;
    font-size: 1.2em;
}

/* Custom styles for h2 elements on index.php */
.intro h2,
.home-review-section h2,
.guide-title,
.where-shall-we-start h2 {
    font-size: 2rem;
    line-height: 1.5;
    text-align: center;
}

/* --- Photo Gallery Grid --- */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-number {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fdb400;
    color: white;
    padding: 5px 10px;
    border-bottom-right-radius: 10px;
    font-weight: bold;
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fdb400;
    color: white;
    /*padding: 10px; */
    text-align: center;
    line-height: 1.4em;
    /*font-weight: bold; */
}

@media (max-width: 768px) {
    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* Custom style for h2 elements outside of article */
.article-style-h2 {
    padding-bottom: 0.3em; 
    color: #333; 
    margin-top: 1.5em; 
    margin-bottom: 0.5em;
    border-bottom: 5px solid #fcb400;
}

.custom-tour-intro {
    background-color: #fff;
    padding: 20px 30px; 
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-color);
}

.custom-tour-intro h2 {
    font-size: 1.5em;
    line-height: 1.2;
    margin-top: 0; 
    color: #333; 
}
 
.custom-tour-intro p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0;
}
.tour-card-content ul {
    list-style: none;
    padding-left: 20px;
}

.tour-card-content ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.5em;
}

.tour-card-content ul li::before {
    content: '\25CF';
    color: #fcb400;
    position: absolute;
    left: 0;
}
.apple-carousel-slide.selected {
    border: 4px solid #007bff; /* A distinct blue border */
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}
/* --- Tile Selection --- */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tile {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tile.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(253, 180, 0, 0.5);
}

.tile-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.tile-title {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px;
    text-align: center;
    margin: 0;
}

.route-selection h2 {
    margin-top: 50px;
    border-bottom: 5px solid #fcb400;
}

/* Added from index.php and price.php */
.jumbotron {
    position: relative;
    background-image: url('../images/top.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}
.jumbotron::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Overlay color */
    z-index: 1;
}
.jumbotron > * {
    position: relative;
    z-index: 2;
}
.card-img-top,
.tour-image {
    height: 200px;
    object-fit: cover;
}
.card {
    height: 100%;
}
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- Standalone Features Grid (intro-features) --- */
.intro-features .features-grid-standalone {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* Center items on mobile */
}

.intro-features .features-grid-standalone > .apple-carousel-slide {
    width: 100%;
    max-width: 420px; /* Constrain width on mobile */
}

@media (min-width: 992px) {
    .intro-features .features-grid-standalone {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        align-items: stretch;
    }
    .intro-features .features-grid-standalone > .apple-carousel-slide {
        max-width: none; /* Remove mobile width constraint */
    }
}

/* --- Price Section (Homepage) --- */
section.price {
    text-align: center;
    padding: 40px 0;
    background-color: var(--light-gray-bg);
}

/* --- Price.phpのtable --- */
    .pricing-table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 1rem;
    }
    .pricing-table th, .pricing-table td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: left;
    }
    .pricing-table th {
        background-color: #f2f2f2;
        font-weight: 700;
    }
    .pricing-table tr:nth-child(even) {background-color: #f9f9f9;}
    .pricing-table strong { color: var(--primary-color); }

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}