/* Base Styles */
:root {
    --primary-color: #6b9dc0;
    --secondary-color: #f3e9d9;
    --accent-color: #e88c7d;
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --light-accent: #f6d9d5;
    --light-primary: #e4f1f9;
    --border-radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    margin: 10px 5px;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1;
}

.btn-primary:hover {
    background-color: #5a8bb0;
    color: var(--white);
    transform: translateY(-3px);
    z-index: 1;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background-color: #eadfc6;
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 400;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-image: url('../images/background.svg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    z-index: 1;  
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}

.wave {
    width: 100%;
    height: auto;
}

/* Activities Section */
.activities {
    padding: 80px 0;
    background-color: var(--white);
}

.rooms {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.room {
    flex: 1 1 450px;
    background-color: var(--light-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.room:hover {
    transform: translateY(-5px);
}

.room h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.service:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.service i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Services Detail Section */
.services-detail {
    padding: 80px 0;
    background-color: var(--light-primary);
}

.service-category {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 40px;
}

.service-category h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light-primary);
}

.service-category h3 i {
    margin-right: 12px;
    color: var(--accent-color);
}

.service-category h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
}

.service-price, .service-target {
    flex: 1 1 300px;
}

.service-price ul {
    list-style: none;
}

.service-price ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--secondary-color);
}

.service-methods {
    margin-bottom: 25px;
}

.methods-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-top: 10px;
}

.methods-list li span {
    display: inline-block;
    background-color: var(--light-primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.service-extra {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.service-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.pricing-item {
    flex: 1 1 250px;
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.pricing-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.price {
    font-weight: 500;
    color: var(--accent-color);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    flex: 1 1 300px;
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.expression-services {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.expression-service {
    flex: 1 1 300px;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.expression-service:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.description {
    font-style: italic;
    opacity: 0.8;
}

.affiliation {
    font-size: 0.9rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--secondary-color);
}

.tutor-services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.tutor-service {
    flex: 1 1 250px;
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: var(--border-radius);
}

.tutor-features p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tutor-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Access Section */
.access {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.access-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
}

.address, .hours {
    flex: 1 1 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.address h3, .hours h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.address p, .hours p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.address i, .hours i {
    color: var(--accent-color);
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
}

.contact-details {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-facebook {
    background-color: #3b5998;
    color: var(--white);
    padding-left: 30px;
    padding-right: 30px;
}

.btn-facebook:hover {
    background-color: #344e86;
    color: var(--white);
}

.btn-contact {
    background-color: var(--accent-color);
    color: var(--white);
    padding-left: 30px;
    padding-right: 30px;
}

.btn-contact:hover {
    background-color: #e27b6b;
    color: var(--white);
}

.contact-buttons .btn i {
    margin-right: 10px;
}

.contact-direct {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    flex: 1 1 300px;
    max-width: 450px;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
    background-color: var(--light-primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-method h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-method p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-category {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-category p {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.footer-category i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .room {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    nav ul li {
        margin: 20px 0;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-method i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
}
/* 改善後css */
.staff-member {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}
.staff-member img {
    width: 150px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}
.room-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.room-gallery img {
    width: calc(50% - 5px);
    border-radius: 10px;
    object-fit: cover;
}
.flow-chart img {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    display: block;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.map-box {
  margin: 40px auto 0 auto;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  overflow: hidden;
}
.map-box iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
  display: block;
}
.calendar-box {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    overflow: hidden;
    background: #fff;
    margin-bottom: 30px;
}
.highlight-blue {
    color: #1947a3;
    font-weight: bold;
}
.access-maps-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px auto 0 auto;
  width: 100%;
}

.map-box, .calendar-box {
  width: 100%;
  max-width: 700px; /* お好みで600や650もOK */
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  margin-bottom: 48px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-box iframe, .calendar-box iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 0;
  display: block;
}

/* カレンダー見出し（上下余白強調） */
.calendar-title {
  margin-top: 30px;
  margin-bottom: 32px;
  text-align: center;
  font-size: 2rem;
}

/* 余白調整 for PC/スマホ */
@media (max-width: 700px) {
  .map-box, .calendar-box { max-width: 100%; }
  .calendar-title { font-size: 1.3rem; }
}
/*ルームギャラリー*/
.gallery-slideshow {
    position: relative;
    max-width: 520px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.gallery-images {
    position: relative;
    height: 270px;
}

.gallery-slide {
    display: none;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.gallery-slide.active {
    display: block;
}

.gallery-controls {
    margin-top: 10px;
}

.gallery-prev, .gallery-next {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 12px;
    transition: background 0.2s;
}
.gallery-prev:hover, .gallery-next:hover {
    background: var(--accent-color);
}

.gallery-captions {
    margin-top: 14px;
    min-height: 24px;
}
.gallery-captions .caption {
    display: none;
    font-size: 1rem;
    color: var(--primary-color);
    background: #fff9;
    border-radius: 5px;
    padding: 3px 10px;
}
.gallery-captions .caption.active {
    display: inline;
}
