        :root {
            --c1: #0f172a;
            --c2: #334155;
            --cA: #F85757;
        }

        html {
            scroll-behavior: smooth
        }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
            line-height: 1.7;
            color: #111;
            background-image: url(/image/background.jpg);
            
        }

        header,
        main,
        footer {
            display: block
        }

        .container {
            max-width: 960px;
            margin-inline: auto;
            padding: 24px
        }

        h1 {
            font-size: clamp(24px, 4vw, 36px);
            margin: 0 0 8px;
            color: var(--c1)
        }

        h2 {
            font-size: clamp(20px, 3.2vw, 28px);
            margin: 32px 0 12px;
            color: var(--c2)
        }

        p {
            margin: 0 0 12px
        }


        .lead {
            font-size: 1.05rem
        }

        .access-card {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 16px;
            background: #fafafa
        }

        .btn {
            display: inline-block;
            padding: 10px 14px;
            border-radius: 10px;
            border: 1px solid var(--cA);
            text-decoration: none;
            color: white;
            background: var(--cA)
        }

        .btn:focus,
        .btn:hover {
            filter: brightness(0.95)
        }

        address {
            font-style: normal;
            white-space: pre-line
        }


        /* -header- */

        header.site-header {
            position: sticky;
            top: 0;
            inset-inline: 0;
            z-index: 50;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: saturate(1.5) blur(8px);
            border-bottom: 1px solid var(--border);
        }

        .header-inner {
            height: var(--header-h);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .brand {
            width: 20%;
        }

        .brand img {
            background-size: cover;
            width: 100%;
        }

        nav.primary-nav ul {
            display: flex;
            gap: 20px;
            align-items: center;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        nav.primary-nav a {
            font-weight: 600;
            padding: 8px 10px;
            border-radius: 10px;
        }

        nav.primary-nav a:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
        }

        /* Hamburger */
        .hamburger {
            display: none;
            position: relative;
            width: 44px;
            height: 44px;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: #fff;
            cursor: pointer;
        }

        .hamburger:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
        }

        .hamburger span,
        .hamburger span::before,
        .hamburger span::after {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 22px;
            height: 2px;
            background: var(--text);
            content: "";
            transition: transform .25s ease, opacity .2s ease;
            border-radius: 999px;
        }

        .hamburger span {
            top: 50%;
        }

        .hamburger span::before {
            top: -7px;
        }

        .hamburger span::after {
            top: 7px;
        }

        .hamburger[aria-expanded="true"] span {
            opacity: 0;
        }

        .hamburger[aria-expanded="true"] span::before {
            transform: translateX(-50%) rotate(45deg);
            top: 0;
            opacity: 1;
        }

        .hamburger[aria-expanded="true"] span::after {
            transform: translateX(-50%) rotate(-45deg);
            top: 0;
            opacity: 1;
        }

        /* Mobile Nav */
        .mobile-drawer {
            position: fixed;
            inset: 0;
            z-index: 40;
            display: grid;
            grid-template-rows: 1fr;
            visibility: hidden;
            opacity: 0;
            transition: opacity .2s ease, visibility .2s ease;
        }

        .mobile-drawer[aria-hidden="false"] {
            visibility: visible;
            opacity: 1;
        }

        .mobile-backdrop {
            background: rgba(2, 6, 23, .32);
        }

        .mobile-panel {
            align-self: start;
            margin-top: var(--header-h);
            background: #fff;
            border-bottom: 1px solid var(--border);
            box-shadow: var(--shadow);
        }

        .mobile-panel ul {
            list-style: none;
            margin: 0;
            padding: 8px;
        }

        .mobile-panel a {
            display: block;
            padding: 14px 12px;
            font-weight: 700;
            border-radius: 12px;
        }

        .mobile-panel a:hover {
            background: var(--surface);
            text-decoration: none;
        }

        .return {
            max-width: 960px;
            margin-inline: auto;
            padding: 24px
        }

        .return button {
            all: unset;
            cursor: pointer;

        }

        .return button {
            all: unset;
            background: #F85757;
            color: #fff;
            padding: 10px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
        }

        .return button:hover {
            background: #ff8383
        }

        @media (max-width: 960px) {
            .hero-inner {
                grid-template-columns: 1fr;
            }


            .classrooms {
                grid-template-columns: 1fr;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            nav.primary-nav {
                display: none;
            }

            .sensei {
                grid-template-columns: 1fr;
            }

            .hamburger {
                display: inline-block;
                cursor: pointer;
            }

            .news-item {
                grid-template-columns: 1fr;
                gap: 4px;
            }
        }

        /* 橿原ページ */
        .kashihara-grid {
            display: grid;
            grid-template-columns: 1fr .5fr;
            /* 横2列 */
            grid-template-rows: 1fr 1fr;
            /* 縦2行 */
            gap: 10px;
            margin-bottom: 5vw;
        }

        .kashihara-grid img {
            object-fit: cover;
            width: 100%;
            height: 100%;
            display: block;
            /* 下の隙間消す */
        }

        .item1 {
            grid-row: 1 / 3;
            /* 1行目から3行目まで使う → 縦に2マス分 */
        }

        .item2 {
            grid-column: 2;
            grid-row: 1;
        }

        .item3 {
            grid-column: 2;
            grid-row: 2;
        }

        .item {
            /* background-color: aqua; */
            padding: 0;
            margin: 0;
            
        }


       
