/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

.ib {
    display: inline-block;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.7;
    color: #333;
    font-size: 17px;

    background-color: #fff;
    background-color: #fff;
}

h2 {
    font-size: 40px;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    cursor: pointer;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

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

/* Utilities */
.sp-only {
    display: none;
}

/* アクセシビリティ対応：視覚的に非表示だがスクリーンリーダーには読み上げられる */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.top-page .container {
    max-width: 1200px;
}

.img-placeholder {
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
    overflow: hidden;
}

.mb-40 {
    margin-bottom: 40px;
}

.section {
    padding: 60px 0;
}

.footer-nav-list {
    text-align: left;
}

.footer-nav-list .privacy-link {
    font-size: 0.9rem;
    color: #777;
}




.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    margin-bottom: 40px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 20px;
    background: url('../img/treat.svg') no-repeat center center;
    background-size: contain;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

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

.btn-area {
    text-align: center;
    margin-top: 27px;
}

.btn-more {
    display: inline-block;
    padding: 15px 40px;
    background-color: #e65c5c;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    font-size: 17px;
    min-width: 300px;
    text-align: center;
}

/* Header styles moved to header.css */

/* =========================================
   Page MV (Main Visual)
   ========================================= */
.page-mv {
    width: 100%;
    margin-top: 80px;
    /* Header height */
    padding: 60px 0;
    text-align: center;
    background-color: #f0f0f0;
    /* Default fallback */
    background-image: url('../img/bg-dot.png');
    background-repeat: repeat;
    background-size: 300px;
    /* Increased to 300px */
    background-blend-mode: multiply;
}

.page-mv .mv-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

.page-mv .mv-subtitle {
    font-size: 20px;
    font-weight: 900;
    color: #333;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Page Specific Colors (Matching Nav) */
.page-mv.bg-service {
    background-color: #dbefff;
}

.page-mv.bg-english {
    background-color: #dfffdb;
}

.page-mv.bg-price {
    background-color: #ffe4db;
}

.page-mv.bg-facility {
    background-color: #ffdbed;
}

.page-mv.bg-online {
    background-color: #e4dbff;
}

.page-mv.bg-news {
    background-color: #fff9db;
}

/* Home Yellow */
.page-mv.bg-contact {
    background-color: #e0f7fa;
}

/* Light Teal */


/* =========================================
   Breadcrumbs
   ========================================= */
.breadcrumb-section {
    background-color: #fff;
    padding: 10px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li::after {
    content: '>';
    margin: 0 10px;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    text-decoration: none;
    color: #333;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* Hero */
.hero-section {
    margin-top: 80px;
    text-align: center;
}

.hero-catch {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 110px;
    letter-spacing: 0.05em;
}

.hero-catch .text-blue {
    color: #0099ff;
}

.hero-catch .text-pink {
    color: #ff6699;
}

.hero-top-text.img-placeholder {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
}

.hero-visual {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

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

.corner-deco {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 10;
}

/* Triangle shapes using borders */
.corner-deco.yellow {
    border-top: 60px solid #ffcc00;
    border-right: 60px solid transparent;
}

.corner-deco.blue {
    border-top: 60px solid #0099ff;
    border-left: 60px solid transparent;
}

.corner-deco.green {
    border-bottom: 60px solid #66cc33;
    border-right: 60px solid transparent;
}

.corner-deco.pink {
    border-bottom: 60px solid #ff6699;
    border-left: 60px solid transparent;
}

.hero-visual .top-left {
    top: -10px;
    left: -10px;
}

.hero-visual .top-right {
    top: -10px;
    right: -10px;
}

.hero-visual .bottom-left {
    bottom: -10px;
    left: -10px;
}

.hero-visual .bottom-right {
    bottom: -10px;
    right: -10px;
}


.hero-banner.img-placeholder {
    max-width: 800px;
    height: 60px;
    margin: 20px auto 0;
    background-color: #ffccdd;
    border-radius: 30px;
}

/* Campaign Banner Redesign */
.hero-banner-link {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.campaign-banner {
    display: inline-block;
    position: relative;
    border: 4px solid #ff99cc;
    border-radius: 10px;
    padding: 15px 60px;
    width: 1000px;
    max-width: 100%;
    background: #fff;
    color: #ff99cc;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    overflow: visible;
}

/* Speech Bubble Badge */
.campaign-banner .badge {
    position: absolute;
    top: -22px;
    left: 30px;
    background: #ff99cc;
    color: #fff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.campaign-banner .badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 8px solid #ff99cc;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

/* Corner Decoration (Triangle) */
.campaign-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: 30px solid #ff99cc;
    border-left: 30px solid transparent;
    border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    /* slight curve to match container roughly inside */
    transition: border-color 0.3s;
}

/* Hover Effects */
.campaign-banner:hover {
    background-color: #ff99cc;
    color: #fff;
}

.campaign-banner:hover .badge {
    background-color: #fff;
    color: #ff99cc;
}

.campaign-banner:hover .badge::after {
    border-top-color: #fff;
}

.campaign-banner:hover::after {
    border-bottom-color: #fff;
}

/* 5 Column Grid for Icons */
.icon-grid-5 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 60px;
    /* Added spacing as per user request */
}

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


/* .circle-icon base styles */
.circle-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: #fff;
}

/* For text placeholders (Service section) */
.circle-icon.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* For image icons (Features section) */
img.circle-icon {
    display: block;
    object-fit: cover;
}

/* Maintain .large modifier */
.circle-icon.large {
    width: 180px;
    height: auto;
}

.icon-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.icon-item p {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

/* Color rules for icons and h3 titles */
/* Color rules for icons and h3 titles */
.icon-item:nth-child(1) .circle-icon {
    /* border: 5px solid #ffcc00; removed */
    color: #ffb200;
}

.icon-item:nth-child(1) h3 {
    color: #ffb200;
}

.icon-item:nth-child(2) .circle-icon {
    /* border: 5px solid #0099ff; removed */
    color: #0099ff;
}

.icon-item:nth-child(2) h3 {
    color: #0099ff;
}

.icon-item:nth-child(3) .circle-icon {
    /* border: 5px solid #66cc33; removed */
    color: #66cc33;
}

.icon-item:nth-child(3) h3 {
    color: #66cc33;
}

.icon-item:nth-child(4) .circle-icon {
    /* border: 5px solid #ff9933; removed */
    color: #ff9933;
}

.icon-item:nth-child(4) h3 {
    color: #ff9933;
}

.icon-item:nth-child(5) .circle-icon {
    /* border: 5px solid #ff6699; removed */
    color: #ff6699;
}

.icon-item:nth-child(5) h3 {
    color: #ff6699;
}

/* Service Icon Text Overlay */
.icon-text-overlay {
    position: absolute;
    top: 38%;
    /* Adjusted from 50% to accommodate the image effectively */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Specific adjustment for mobile if needed, but 20px usually scales ok for 180px circle */


/* News */
.news-section {
    background-color: #f9f9f9;
}

.news-list {
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
}

.news-list li {
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 50px;
    /* Removed padding and flex from here to move to anchor */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: none;
    overflow: hidden;
    /* Ensure link respects border-radius */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item-link {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-list .news-date {
    font-weight: bold;
    color: #333;
    font-size: 18px;
    min-width: 120px;
}

.news-list .news-text {
    font-size: 16px;
    color: #333;
    /* Ensure text color is dark */
    transition: color 0.2s;
}

.news-item-link:hover .news-text {
    color: #ff9933;
    /* Orange on hover */
    text-decoration: underline;
}


/* Framed Sections */

/* Framed Sections */
.framed-box {
    border: 15px solid #ddd;
    position: relative;
    padding: 40px 53px;
    background: #fff;
    margin: 40px 0;
}

/* Remove colored borders from framed-box classes as the frame is now grey */
.framed-box.border-blue,
.framed-box.border-green,
.framed-box.border-orange,
.framed-box.border-pink {
    border-color: #ddd;
}

.framed-box .corner-deco {
    width: 80px;
    height: 80px;
    position: absolute;
    z-index: 10;
}

/* Specific positioning for corner decos to stick out */
.framed-box .top-left {
    top: -40px;
    left: -40px;
}

.framed-box .bottom-right {
    bottom: -40px;
    right: -40px;
}

/* Blue Corner */
.framed-box .corner-deco.blue.top-left {
    border-top: 80px solid #0099ff;
    border-right: 80px solid transparent;
    border-left: 0;
    border-bottom: 0;
}

.framed-box .corner-deco.blue.bottom-right {
    border-bottom: 80px solid #0099ff;
    border-left: 80px solid transparent;
    border-right: 0;
    border-top: 0;
}

/* Green Corner */
.framed-box .corner-deco.green.top-left {
    border-top: 80px solid #66cc33;
    border-right: 80px solid transparent;
    border-left: 0;
    border-bottom: 0;
}

.framed-box .corner-deco.green.bottom-right {
    border-bottom: 80px solid #66cc33;
    border-left: 80px solid transparent;
    border-right: 0;
    border-top: 0;
}

/* Orange Corner */
.framed-box .corner-deco.orange.top-left {
    border-top: 80px solid #ff9933;
    border-right: 80px solid transparent;
    border-left: 0;
    border-bottom: 0;
}

.framed-box .corner-deco.orange.bottom-right {
    border-bottom: 80px solid #ff9933;
    border-left: 80px solid transparent;
    border-right: 0;
    border-top: 0;
}

/* Pink Corner */
.framed-box .corner-deco.pink.top-left {
    border-top: 80px solid #ff6699;
    border-right: 80px solid transparent;
    border-left: 0;
    border-bottom: 0;
}

.framed-box .corner-deco.pink.bottom-right {
    border-bottom: 80px solid #ff6699;
    border-left: 80px solid transparent;
    border-right: 0;
    border-top: 0;
}

/* Mobile Responsive Corner Decos */
@media (max-width: 768px) {
    .page-mv {
        margin-top: 60px;
        /* Adjust if header height is smaller on SP */
    }

    .section-title {
        margin-bottom: 30px;
    }

    .page-mv .mv-title {
        font-size: 32px;
    }

    .framed-box {
        border-width: 8px;
        /* Thinner frame on mobile */
        padding: 40px 20px;
        margin: 40px 0;
    }

    .framed-box .corner-deco {
        width: 40px;
        height: 40px;
    }

    .framed-box .top-left {
        top: -20px;
        left: -20px;
    }

    .framed-box .bottom-right {
        bottom: -20px;
        right: -20px;
    }

    /* Override border sizes for all colors */
    .framed-box .corner-deco.blue.top-left,
    .framed-box .corner-deco.green.top-left,
    .framed-box .corner-deco.orange.top-left,
    .framed-box .corner-deco.pink.top-left {
        border-top-width: 40px;
        border-right-width: 40px;
    }

    .framed-box .corner-deco.blue.bottom-right,
    .framed-box .corner-deco.green.bottom-right,
    .framed-box .corner-deco.orange.bottom-right,
    .framed-box .corner-deco.pink.bottom-right {
        border-bottom-width: 40px;
        border-left-width: 40px;
    }
}


/* Content Row */
.content-row {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.content-text {
    flex: 1;
    /* Ensure text takes equal width */
}

.content-img.img-placeholder {
    flex: 1;
    height: auto;
    aspect-ratio: 16/9;
    /* Maintain ratio */
    border: 8px solid #ddd;
    /* Default fallback */
    border-radius: 15px;
    background-color: #eee;
}

/* Image Element Styles */
img.content-img {
    flex: 1;
    height: auto;
    /* Allow shrinking */
    aspect-ratio: 16/9;
    /* Maintain ratio */
    width: 50%;
    object-fit: cover;
    border: 8px solid #ddd;
    border-radius: 15px;
    display: block;
}

/* English Lesson (uses border-blue on parent framed-box) */
.framed-box.border-blue .content-img.img-placeholder,
.framed-box.border-blue img.content-img {
    border-color: #0099ff;
}

/* Price Items */
.price-item.bg-yellow .content-img.img-placeholder,
.price-item.bg-yellow img.content-img {
    border-color: #ffcc00;
}

.price-item.bg-blue .content-img.img-placeholder,
.price-item.bg-blue img.content-img {
    border-color: #0099ff;
}

.price-item.bg-green .content-img.img-placeholder,
.price-item.bg-green img.content-img {
    border-color: #66cc33;
}


/* Alternating layout for Price Items */
.price-item.bg-blue .content-row {
    flex-direction: row-reverse;
}



/* Mobile responsive for alternating layout */
@media (max-width: 768px) {

    /* Reset to column for mobile */
    .content-row,
    /* Apply to ALL content rows */
    .price-item.bg-blue .content-row {
        flex-direction: column !important;
    }

    .content-img.img-placeholder,
    img.content-img {
        width: 100%;
        height: auto;
    }
}


/* Price Section */
.price-list {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.price-item {
    padding: 27px 40px;
    border-radius: 20px;
}

.price-item.bg-yellow {
    background-color: #fffcf0;
}

.price-item.bg-blue {
    background-color: #f0f9ff;
}

.price-item.bg-green {
    background-color: #f0fff0;
}

.price-title {
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 13px;
}

.price-title.yellow {
    color: #e2b500;
}

.price-title.blue {
    color: #0099ff;
}

.price-title.green {
    color: #66cc33;
}

.price-item .desc {
    margin-bottom: 10px;
}

.price-details p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.price-details strong {
    font-size: 1.9rem;
    color: #333;
    font-weight: 700;
}

/* Specific size for monthly fee if needed larger */
.price-details p:last-child strong {
    font-size: 2.2rem;
}

.price-details span {
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Responsive adjustments for Price items within their container */
@media (max-width: 768px) {
    .price-item {
        padding: 30px 20px;
    }

    .price-title {
        font-size: 1.5rem;
    }

    .price-details strong {
        font-size: 1.5rem;
    }

    .price-details p:last-child strong {
        font-size: 2rem;
    }
}

/* Map Grid */
.map-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Adjusted for 2 items */
    gap: 20px;
}

/* Map Iframe Style */
.map-iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
}

.map-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    /* Add some spacing */
    font-weight: 700;
}

.map-img.img-placeholder {
    height: 150px;
    margin-bottom: 10px;
}

/* Blog Button */
.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0;
    padding: 10px 30px;
    background-color: #fff;
    /* White background */
    color: #ff9933;
    /* Orange text */
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    font-size: 16px;
    border: 2px solid #ff9933;
    /* Orange border */
    width: 100%;
    /* Full width inside container */
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.map-btn.img-placeholder {
    height: 30px;
    width: 100px;
    margin: 10px auto 0;
    font-size: 17px;
    border-radius: 15px;
}

/* Online Grid */
.online-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    text-align: center;
}

.online-desc h3 {
    font-size: 30px;
    margin-top: 60px;
    /* Increased from default/mt-40 */
}

.online-item p {
    font-size: 22px;
}

.circle-img.img-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.online-img-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.online-feature-img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.online-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    z-index: 10;
}

.online-number.yellow {
    background-color: #ffcc00;
}

.online-number.blue {
    background-color: #0099ff;
}

.online-number.green {
    background-color: #66cc33;
}

.online-number.orange {
    background-color: #ff9933;
}

img.circle-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 10px;
    object-fit: cover;
    display: block;
}

img.circle-img.border-yellow {
    border: 5px solid #ffcc00;
}

img.circle-img.border-blue {
    border: 5px solid #0099ff;
}

img.circle-img.border-green {
    border: 5px solid #66cc33;
}

img.circle-img.border-orange {
    border: 5px solid #ff9933;
}

/* Footer styles moved to footer.css */

/* Responsive */
/* Mobile Responsive Global Adjustments (Non-Header/Footer) */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .hero-img.img-placeholder,
    .hero-img {
        height: auto;
    }

    .icon-grid-5 {
        gap: 10px;
    }

    .icon-item {
        width: 45%;
        /* 2 cols */
    }

    .framed-box {
        padding: 30px 15px;
        /* Reduced from 30px 15px */
        margin: 20px 0;
        /* Reduced from 40px */
    }

    .content-row {
        flex-direction: column;
    }

    .map-grid,
    .online-grid {
        grid-template-columns: 1fr;
    }

    /* Typography Adjustments for Mobile */
    br {
        display: none;
    }

    .hero-catch {
        font-size: 2.1rem;
        /* Reduced from 2.5rem */
        padding: 0 10px;
        margin-top: 100px;
        margin-bottom: 30px;
    }

    /* News List Mobile */
    .news-list li {
        border-radius: 20px;
    }

    .news-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 15px 20px;
    }

    .news-list .news-date {
        font-size: 14px;
        min-width: auto;
        color: #888;
    }

    .section-title h2 {
        font-size: 30px;
        /* Reduced from 40px */
    }

    .campaign-banner {
        padding: 15px 20px;
        /* Reduced from 15px 60px */
        width: 90%;
        box-sizing: border-box;
    }

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

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