/* --- Variables & Reset --- */
:root {
    --bg-white: #FFFFFF;
    --bg-gray: #b6bdbe;
    --accent: #4a69bd;
    --text-main: #333333;
    --font-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
    --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

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

ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h2, h3, h4, .logo {
    font-family: var(--font-serif);
    font-weight: 500;
}

.sub-label {
    display: block;
    color: var(--accent);
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

/* --- Header --- */
.header {
height: 120px; /* ヘッダーの高さを指定 */
  overflow: hidden; /* はみ出た部分を隠す */
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px 40px 40px;
}

.logo { font-size: 1.5rem; }
.logo span { font-weight: 300; font-size: 0.9rem; }

.nav-desktop ul { display: flex; align-items: center; gap: 30px; }
.btn-small {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
}

/* --- Hero --- */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('images/Top.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.en-title { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; }
.hero h2 { font-size: 2.5rem; margin: 15px 0; }

/* --- Statement --- */
.statement {
    padding: 120px 0;
    text-align: center;
    background: var(--bg-white);
    position: relative;
}

/* アラベスク模様の装飾代わり */
.statement::before {
    content: url("images/f0105_1_02.png");
	height: 30px;
    position: absolute;
    top: 50px; left: 50%; bottom: 40px;
    transform: translateX(-50%);
    color: var(--bg-gray);
    font-size: 2rem;
}

/* --- Bento Grid --- */
.bento-section { padding: 60px 0; }
.bento-grid {
    display: grid;
    grid-template-areas: 
        "main main sub1"
        "main main sub2";
    gap: 20px;
    height: 500px;
}

.bento-item {
    background: var(--bg-gray);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.item-main { grid-area: main; background-image: url('https://images.unsplash.com/photo-1481391243133-f96216dcb5d2?q=80&w=800'); }
.item-sub1 { grid-area: sub1; background-image: url('https://images.unsplash.com/photo-1550617931-e17a7b70dce2?q=80&w=800'); }
.item-sub2 { grid-area: sub2; background-image: url('https://images.unsplash.com/photo-1516733725897-1aa73b87c8e8?q=80&w=800'); }

.bento-text {
    background: rgba(255,255,255,0.85);
    padding: 15px 20px;
    border-radius: 5px;
    width: 100%;
}

/* --- Sections Common --- */
.bg-gray { background-color: #f7f8f8; }
.lesson-info { padding: 100px 0; }
.lesson-flex { display: flex; gap: 50px; align-items: center; }
.lesson-image { flex: 1; }
.img-placeholder {
    width: 100%; height: 400px; background: var(--bg-gray);
    display: flex; align-items: center; justify-content: center; border-radius: 20px;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を歪めずに枠いっぱいにトリミング表示 */
}

.lesson-text { flex: 1; }
.information { padding: 50px;}
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
	text-align: center;
}

/* --- Gallery --- */
.gallery { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.gallery-item img{
	width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を歪めずに枠いっぱいにトリミング表示 */
    aspect-ratio: 1;
    background: var(--bg-gray);
    border-radius: 10px;
}

/* --- Flow & FAQ --- */
.flow-faq { padding: 80px 0; }
.flow-steps { display: flex; justify-content: space-between; margin-bottom: 60px; }
.step { text-align: center; position: relative; flex: 1; }
.step span { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--accent); }

.faq-list dt { font-weight: bold; margin-top: 20px; color: var(--accent); }
.faq-list dd { border-bottom: 1px solid #ddd; padding-bottom: 10px; }

/* --- information --- */

/* --- Footer --- */
/*.footer { background: var(--bg-white); padding: 60px 0; border-top: 1px solid #eee; }*/
.footer { background-image: url("images/footer.png"); padding: 60px 0; border-top: 1px solid #eee; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.footer-nav ul { display: flex; gap: 20px; color: #eeeeee;}
.copyright { font-size: 0.8rem; color: #fefefe; }

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive & Mobile --- */
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--text-main); margin: 5px; }

.mobile-actions {
    display: none;
    position: fixed;
    bottom: 0; width: 100%;
    z-index: 2000;
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .hamburger { display: block; }
    .hero h2 { font-size: 1.8rem; }
    
    .bento-grid {
        grid-template-areas: 
            "main"
            "sub1"
            "sub2";
        height: auto;
    }
    .bento-item { height: 250px; }
    
    .lesson-flex { flex-direction: column; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-steps { flex-direction: column; gap: 20px; }
    
    .mobile-actions { display: flex; }
    .btn-reserve { flex: 4; background: var(--accent); color: white; text-align: center; padding: 15px; font-weight: bold; }
    .btn-top { flex: 1; background: #333; color: white; border: none; }
    
    .mobile-menu {
        position: fixed; top: 70px; left: 0; width: 100%; background: white;
        padding: 40px; transform: translateX(100%); transition: 0.3s; z-index: 999;
    }
    .mobile-menu.is-active { transform: translateX(0); }
    .mobile-menu ul li { margin-bottom: 20px; font-size: 1.2rem; }
}