/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.75;
}

:root {
    --juku-color: #1e40af;
    --juku-color-light: #3b82f6;
    --juku-color-dark: #1e3a8a;
    --juku-color-bg: #dbeafe;
    --main-color: #5de2d3;
    --main-color-light: #e0faf8;
    --accent-color: #f9b163;
}

/* Import base styles from main stylesheet for common utilities */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pt-40 {
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.-mr-16 {
    margin-right: -4rem;
}

.-mt-16 {
    margin-top: -4rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

/* Layout */
.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.w-full {
    width: 100%;
}

.w-2 {
    width: 0.5rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-32 {
    width: 8rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-32 {
    height: 8rem;
}

.h-40 {
    height: 10rem;
}

.h-48 {
    height: 12rem;
}

.h-64 {
    height: 16rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-sm {
    max-width: 24rem;
}

/* Display */
.hidden {
    display: none;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Flexbox */
.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.self-start {
    align-self: flex-start;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-loose {
    line-height: 2;
}

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

.italic {
    font-style: italic;
}

/* Colors */
.bg-white {
    background-color: #fff;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.bg-slate-100 {
    background-color: #f1f5f9;
}

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

.bg-main-light {
    background-color: var(--main-color-light);
}

.bg-main\/10 {
    background-color: rgba(37, 99, 235, 0.1);
}

.bg-main\/20 {
    background-color: rgba(37, 99, 235, 0.2);
}

.bg-facebook {
    background-color: #1877F2;
}

.bg-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.text-white {
    color: #fff;
}

.text-gray-400 {
    color: #9ca3af;
    text-align: center;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-900 {
    color: #111827;
}

.text-main {
    color: var(--main-color);
}

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

.bg-juku-light {
    background-color: var(--juku-color-light);
}

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

.text-juku {
    color: var(--juku-color);
}

.border-juku {
    border-color: var(--juku-color);
}

.border-juku-bg {
    border-color: var(--juku-color-bg);
}

.border-juku-light {
    border-color: var(--juku-color-light);
}

.text-juku-light {
    color: var(--juku-color-light);
}

.border-main {
    border-color: var(--main-color);
}

/* Border */
.border {
    border-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-800 {
    border-color: #1f2937;
}

.border-2 {
    border-width: 2px;
}

/* Border Radius */
.rounded-full {
    border-radius: 9999px;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-\[2rem\] {
    border-radius: 2rem;
}

.rounded-\[3rem\] {
    border-radius: 3rem;
}

/* Padding */
.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

/* Shadow */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Z-index */
.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* Opacity */
.opacity-90 {
    opacity: 0.9;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.object-cover {
    object-fit: cover;
}

/* Position */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

/* Background with opacity */
.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

.bg-white\/60 {
    background-color: rgba(255, 255, 255, 0.6);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Backdrop blur */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Transition */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Transform */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Hover Effects */
.hover\:opacity-70:hover {
    opacity: 0.7;
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

.hover\:text-main:hover {
    color: var(--main-color);
}

.hover\:text-juku:hover {
    color: var(--juku-color);
}

.hover\:bg-main:hover {
    background-color: var(--main-color);
}

.hover\:bg-juku:hover {
    background-color: var(--juku-color);
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

.hover\:text-white:hover {
    color: #fff;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.active\:scale-95:active {
    transform: scale(0.95);
}

/* Group hover */
.group:hover .group-hover\:bg-main {
    background-color: var(--main-color);
}

.group:hover .group-hover\:text-white {
    color: #fff;
}

/* Custom Classes */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--main-color);
    margin: 1rem auto 0;
}

/* Utility Classes */
.no-underline {
    text-decoration: none;
}

.text-inherit {
    color: inherit;
}

.cursor-pointer {
    cursor: pointer;
}

/* Testimonials Slider */
.testimonials-slider {
    scrollbar-width: thin;
    scrollbar-color: var(--juku-color-bg) transparent;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: transparent;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--juku-color-bg);
    border-radius: 4px;
}

.testimonials-slider::-webkit-scrollbar-thumb:hover {
    background-color: var(--juku-color-light);
}

/* Testimonials layout */
.testimonials-row {
    display: flex;
    gap: 1.5rem;
    padding: 0.25rem 0.25rem 0.75rem;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    min-width: 280px;
    max-width: 380px;
}

.testimonial-quote {
    position: relative;
    padding-left: 0.75rem;
    border-left: 3px solid rgba(37, 99, 235, 0.25);
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(37, 99, 235, 0.12);
    color: var(--main-color);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
}

/* Header Navigation Links */
.header-nav-link {
    text-decoration: none;
    color: #374151;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    height: 2.5rem;
}

.header-nav-link:hover {
    color: var(--main-color);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 14px; /* hover bridge */
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 190px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 60;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
    display: block;
}

.nav-submenu-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-submenu-link:hover {
    background: rgba(37, 99, 235, 0.12);
    color: var(--main-color);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    height: 2.5rem;
    text-decoration: none;
}

/* Footer Navigation Links */
.footer-nav-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--main-color);
}

/* Footer Contact Links */
.footer-contact-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--main-color);
}

/* Shadow with glow effect */
.shadow-\[0_0_15px_rgba\(99\,229\,249\,0\.5\)\] {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

/* Shadow with glow effect */
.shadow-\[0_0_15px_rgba\(99\,229\,249\,0\.5\)\] {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

/* Responsive */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:w-1\/2 {
        width: 50%;
    }
    
    .md\:h-auto {
        height: auto;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    
    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    .md\:space-y-0 > * + * {
        margin-top: 0;
    }
    
    .md\:space-x-4 > * + * {
        margin-left: 1rem;
    }
    
    .md\:block {
        display: block;
    }
    
    .md\:w-32 {
        width: 8rem;
    }
    
    .md\:mr-6 {
        margin-right: 1.5rem;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
    
    .md\:items-end {
        align-items: flex-end;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:w-1\/2 {
        width: 50%;
    }
    
    .lg\:text-left {
        text-align: left;
    }
}

/* News Link */
.news-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border: 2px solid var(--main-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 50px;
}

.news-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.news-link:hover::before {
    left: 100%;
}

.news-link:hover {
    background: var(--main-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.news-link::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.news-link:hover::after {
    transform: translateX(4px);
}

/* News Link Mobile Styles */
@media (max-width: 767px) {
    .news-link {
        max-width: 60%;
        margin: 10px auto;
        display: block;
    }
}

/* News Item */
.news-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
}

.news-item:last-child {
    border-bottom: none;
}

/* !mx-0 utility */
.\!mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* -------------------------------------------------- */
/* Migrated from juku-page.php inline styles          */
/* -------------------------------------------------- */

/* 本文フォントサイズ 1rem（text-sm上書き用） */
.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

/* 画像 object-position */
.object-pos-top {
    object-position: top center;
}

.object-pos-bottom {
    object-position: bottom center;
}

/* 星レーティングアイコン */
.icon-star {
    width: 1rem;
    height: 1rem;
}

/* Google Maps iframe デフォルトボーダー除去 */
.map-iframe {
    border: 0;
}
.pc{
    display: none;
}

@media (max-width: 767px) {
    .pc{
        display: block;
    } 
}