@charset "UTF-8";

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

:root {
    --bg-color: #f9f8f4;
    /* Cream paper-like background */
    --text-color: #4a4a4a;
    /* Softer dark gray */
    --accent-color: #8c7b6c;
    /* Brownish gray */
    --gold-accent: #c5a059;
    /* Gold/Beige */
    --font-base: 'M PLUS Rounded 1c', sans-serif;
}

body {
    font-family: var(--font-base);
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Changed from center to allow scrolling */
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for depth */
    min-height: 90vh;
    /* Ensure some height layout */
}

/* Sidebar (Left Column) */
.sidebar {
    width: 35%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
    background-color: #fff;
    position: relative;
    padding-bottom: 40px;
}

.sidebar-image-box {
    position: relative;
    width: 100%;
    height: 500px;
    /* Taller image area */
    overflow: hidden;
}

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

/* Badge Style */
.magazine-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gold-accent);
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-align: center;
    line-height: 1.2;
    transform: rotate(-10deg);
}

.sidebar-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.sidebar-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    color: #333;
}

.subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.subtitle::before,
.subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--accent-color);
}

.subtitle::before {
    left: -40px;
}

.subtitle::after {
    right: -40px;
}

.sidebar-text p {
    font-size: 0.95rem;
    line-height: 2.2;
    color: #666;
    text-align: justify;
    text-align-last: center;
}


.btn-box {
    margin-top: 10px;
}

.view-more {
    display: inline-flex;
    /* Changed to flex for icon alignment */
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 40px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.view-more:hover {
    background-color: #333;
    color: #fff;
}

.instagram-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    /* Inherits text color */
}

/* Contact Info */
.contact-info {
    margin-top: 30px;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.1rem;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.contact-info p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Sidebar Map */
.sidebar-map {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #e0e0e0;
}


/* Main Content (Right Column) */
.main-content {
    flex: 1;
    padding: 60px;
    background-color: #fff;
    background-image:
        linear-gradient(#eee 1px, transparent 1px),
        linear-gradient(90deg, #eee 1px, transparent 1px);
    background-size: 40px 40px;
    /* Subtle grid background pattern */
    background-color: #fcfcfc;
}

.main-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 20px;
    border: 1px solid #333;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 400px;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
}

.title-jp {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.title-en {
    display: block;
    font-size: 3rem;
    font-family: 'Times New Roman', serif;
    /* Contrast font */
    font-style: italic;
    color: #333;
    line-height: 0.8;
}

/* Grid Layout */
.grid-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    /* Allow flexible rows */
    gap: 40px;
}

/* Feature the first card fully on the right side logic or keep grid symmetrical? 
   Let's make card 1 span full height of the first column, card 2 and 3 stacked in second?
   Or Card 1 is big, Card 2 and 3 small.
*/

/* Making an asymmetrical magazine layout */
.card-large {
    grid-column: 1 / -1;
    /* Banner style */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.card-large .card-image-wrapper {
    width: 60%;
    height: 400px;
    border-radius: 4px;
    /* Slight round */
}

.card-large .card-body {
    width: 40%;
    padding-right: 20px;
}

.card {
    position: relative;
}

/* Default card style for grid items (Card 2, 3) */
.grid-top>.card:not(.card-large) {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grid-top>.card:not(.card-large) .card-image-wrapper {
    height: 250px;
    width: 100%;
}


/* Image Wrapper & Overlay */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-overlay {
    position: absolute;
    bottom: 20px;
    right: -10px;
    /* Stick out a bit */
    background: #fff;
    padding: 15px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: right;
    border-radius: 2px;
}

.card-overlay .number {
    display: block;
    font-size: 1.2rem;
    color: var(--gold-accent);
    font-family: 'Times New Roman', serif;
    font-style: italic;
    margin-bottom: 2px;
}

.card-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.card-body p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        max-width: 100%;
        margin: 0;
        box-shadow: none;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .sidebar-image-box {
        height: 300px;
    }

    .main-content {
        padding: 30px 20px;
    }

    .main-title {
        min-width: auto;
        width: 100%;
    }

    .grid-top {
        grid-template-columns: 1fr;
    }

    .card-large {
        flex-direction: column;
    }

    .card-large .card-image-wrapper,
    .card-large .card-body {
        width: 100%;
    }

    .card-overlay {
        right: 0;
        bottom: 0;
        width: 100%;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Bread Section Specifics */
.bread-section {
    margin-top: 80px;
    border-top: 1px solid #eee;
    padding-top: 0px;
}

.bread-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

/* Map Display Control */
.map-pc-only {
    display: block;
}

.map-mobile-only {
    display: none;
}

@media (max-width: 900px) {
    .map-pc-only {
        display: none;
    }

    .map-mobile-only {
        display: block;
        margin-top: 20px;
        padding: 0 20px 40px 20px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .map-mobile-only h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 5px;
        color: #333;
    }

    .map-mobile-only .subtitle {
        margin-bottom: 20px;
    }

    /* Remove border from mobile map container */
    .map-mobile-only.sidebar-map {
        border: none;
    }
}