:root {
    --navy:#072c68;
    --navy2:#0b3c86;
    --blue:#2674c7;
    --orange:#ff6b1a;
    --ink:#172033;
    --muted:#667085;
    --line:#e4e9f1;
    --bg:#f6f9fc;
    --white:#fff;
    --green:#2f7d56;
    --shadow:0 16px 40px rgba(7,44,104,.12);
    --radius:18px
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
    color:var(--ink);
    background:#fff;
    line-height:1.8
}
a {
    color:inherit;
    text-decoration:none
}
img {
    max-width:100%;
    display:block
}
.container {
    width:min(1120px,calc(100% - 40px));
    margin:auto
}
.topbar {
    background:var(--navy);
    color:#fff;
    font-size:12px
}
.topbar .container {
    display:flex;
    justify-content:space-between;
    padding:7px 0
     width: min(1320px, calc(100% - 40px));
}
.header {
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line)
}
.header .container {
    width: min(1320px, calc(100% - 40px));
}





.header-row {
     min-height: 86px;
    height: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo {
    display:flex;
    align-items:center;
    gap:12px;
    font-family:serif;
    color:var(--navy);
    min-width: 200px;
    flex-shrink: 0;

}
.logo-mark {
    width:46px;
    height:46px;
    border:2px solid var(--navy);
    border-radius:50% 50% 45% 45%;
    display:grid;
    place-items:center;
    font-size:25px
}
.logo strong {
    font-size:27px;
    letter-spacing:.08em;
    line-height:1
}
.logo small {
    display:block;
    font-family:sans-serif;
    font-size:9px;
    letter-spacing:.24em;
    margin-top:7px
}
.nav {
   margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.nav a:hover,.nav a.active {
    color:var(--blue)
}
.nav a {
    white-space: nowrap;
    flex-shrink: 0;
}
.header .btn.orange {
    flex-shrink: 0;
    white-space: nowrap;
}

.header-contact {
    flex-shrink: 0;
    white-space: nowrap;
}
.header-contact b {
    display:block;
    color:var(--navy);
    font-size:18px
}
.header-contact small {
    font-size:10px
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 22px;
    border-radius:8px;
    background:var(--navy);
    color:#fff;
    font-weight:700;
    border:1px solid var(--navy);
    transition:.2s
}
.btn:hover {
    transform:translateY(-2px);
    box-shadow:0 9px 22px rgba(7,44,104,.18)
}
.btn.orange {
    background:var(--orange);
    border-color:var(--orange)
}
.btn.outline {
    background:#fff;
    color:var(--navy)
}
.menu-btn {
    display:none;
    border:0;
    background:none;
    font-size:28px;
    color:var(--navy)
}
.hero {
    overflow: hidden;
    background: #f8fbff;
}
.hero-grid {
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);

    align-items: stretch;

}
.hero-copy {
    min-width: 0;
    padding: 70px 45px 70px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.eyebrow {
    color:var(--blue);
    font-weight:800;
    letter-spacing:.13em;
    font-size:13px
}
.hero-title {
    margin: 12px 0 20px;

    font-family: serif;
    font-size: clamp(40px, 3.2vw, 58px);
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--navy);
}
.hero-title span {
    display: block;
    white-space: nowrap;
}
.hero p {
    font-weight:600;
    font-size:17px
}
.hero-actions {
    display:flex;
    gap:14px;
    margin-top:30px
}
.hero-visual {
    height:100%;
    position:relative;
    min-height:480px
     overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    border-radius:20px;
    display:block;
}

.teacher-card {
    position:absolute;
    inset:45px 0 45px 25px;
    background:linear-gradient(145deg,#dcecff,#fff);
    border-radius:70px 0 0 70px;
    box-shadow:var(--shadow);
    overflow:hidden
}
.teacher-card:before {
    content:"";
    position:absolute;
    width:270px;
    height:270px;
    border-radius:50%;
    background:#ffd8c2;
    right:70px;
    top:45px
}
.teacher-card:after {
    content:"個別指導";
    position:absolute;
    right:80px;
    top:125px;
    width:230px;
    height:230px;
    border-radius:50% 50% 42% 42%;
    background:var(--navy);
    color:#fff;
    display:grid;
    place-items:center;
    font-size:36px;
    font-family:serif;
    box-shadow:0 20px 40px rgba(7,44,104,.25)
}
.visual-note {
    position:absolute;
    background:#fff;
    border-radius:14px;
    padding:14px 18px;
    box-shadow:var(--shadow);
    font-weight:700;
    color:var(--navy);
    z-index:2
}
.note1 {
    left:0;
    bottom:85px
}
.note2 {
    right:15px;
    bottom:35px
}
.notice-strip {
    background:var(--navy);
    color:#fff
}
.notice-strip .container {
    display:flex;
    justify-content:center;
    gap:24px;
    align-items:center;
    padding:15px
}
.notice-strip b {
    font-size:19px
}
.section {
    padding:88px 0
}
.section.alt {
    background:var(--bg)
}
.section-head {
    text-align:center;
    margin-bottom:42px
}
.section-head span {
    color:var(--blue);
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em
}
.section-head h2 {
    font-family:serif;
    color:var(--navy);
    font-size:34px;
    margin:7px 0
}
.section-head p {
    color:var(--muted)
}
.grid {
    display:grid;
    gap:22px
}
.features {
    grid-template-columns:repeat(5,1fr)
}
.card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:26px;
    box-shadow:0 8px 25px rgba(7,44,104,.05)
}
.feature {
    text-align:center
}
.icon {
    width:66px;
    height:66px;
    border-radius:50%;
    display:grid;
    place-items:center;
    margin:0 auto 16px;
    background:#eef5ff;
    color:var(--navy);
    font-size:29px
}
.feature h3 {
    font-size:16px;
    color:var(--navy);
    margin:0 0 8px
}
.feature p {
    font-size:13px;
    color:var(--muted);
    margin:0
}
.courses {
    grid-template-columns:repeat(3,1fr)
}
.course {
    position:relative;
    overflow:hidden
}
.course:before {
    content:"";
    display:block;
    height:8px;
    background:var(--blue);
    position:absolute;
    inset:0 0 auto
}
.course.green:before {
    background:#67a97f
}
.course.red:before {
    background:#e37365
}
.course h3 {
    font-size:22px;
    color:var(--navy);
    margin-top:8px
}
.price {
    font-size:27px;
    font-weight:900;
    color:var(--navy)
}
.price small {
    font-size:13px
}
.course ul {
    padding-left:20px;
    color:var(--muted)
}
.split {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center
}
.photo-placeholder {
    min-height:360px;
    border-radius:28px;
    background:linear-gradient(135deg,#dcecff,#fff);
    position:relative;
    overflow:hidden;
    box-shadow:var(--shadow)
}
.photo-placeholder:before {
    content:"東川塾";
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    font-family:serif;
    color:var(--navy);
    font-size:52px;
    letter-spacing:.15em
}
.check-list {
    display:grid;
    gap:13px
}
.check-list div {
    padding:14px 17px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:11px
}
.check-list div:before {
    content:"✓";
    color:var(--green);
    font-weight:bold;
    margin-right:10px
}
.news-layout {
    display:grid;
    grid-template-columns:.9fr 1.1fr 1fr;
    gap:30px
}
.news-list {
    border-top:1px solid var(--line)
}
.news-item {
    padding:15px 0;
    border-bottom:1px solid var(--line);
    font-size:14px
}
.news-item time {
    color:var(--muted);
    margin-right:10px
}
.tag {
    display:inline-block;
    font-size:10px;
    padding:2px 8px;
    border:1px solid var(--blue);
    color:var(--blue);
    border-radius:999px;
    margin-right:8px
}
.insta-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px
}
.insta-card {
    aspect-ratio:1;
    background:linear-gradient(145deg,#fff0df,#eaf3ff);
    border-radius:12px;
    padding:13px;
    display:flex;
    align-items:end;
    font-weight:800;
    font-size:13px;
    color:var(--navy)
}
.blog-mini {
    display:grid;
    gap:12px
}
.blog-mini a {
    display:grid;
    grid-template-columns:100px 1fr;
    gap:13px;
    align-items:center
}
.thumb {
    height:68px;
    border-radius:9px;
    background:linear-gradient(135deg,#dbeaff,#fff0df)
}
.cta {
    margin-top:70px;
    border:1px solid #a9bfdd;
    border-radius:20px;
    padding:34px 45px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:linear-gradient(105deg,#fff,#f2f7ff)
}
.cta h3 {
    font-family:serif;
    color:var(--navy);
    font-size:25px;
    margin:0
}
.footer {
    background:var(--navy);
    color:#fff;
    padding:54px 0 28px
}
.footer-grid {
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:50px
}
.footer a {
    opacity:.9
}
.footer-links {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px
}
.copyright {
    text-align:center;
    border-top:1px solid rgba(255,255,255,.2);
    margin-top:38px;
    padding-top:18px;
    font-size:11px;
    opacity:.75
}
.fixed-cta {
    display:none
}
.page-hero {
    background:linear-gradient(120deg,var(--navy),var(--navy2));
    color:#fff;
    padding:74px 0
}
.page-hero h1 {
    font-family:serif;
    font-size:42px;
    margin:0 0 8px
}
.breadcrumbs {
    font-size:12px;
    opacity:.75
}
.content {
    max-width:880px;
    margin:auto
}
.content h2 {
    font-family:serif;
    color:var(--navy);
    font-size:29px;
    border-left:5px solid var(--orange);
    padding-left:15px;
    margin-top:48px
}
.content h3 {
    color:var(--navy);
    margin-top:30px
}
.table-wrap {
    overflow:auto
}
.price-table {
    width:100%;
    border-collapse:collapse;
    background:#fff
}
.price-table th,.price-table td {
    border:1px solid var(--line);
    padding:15px;
    text-align:left
}
.price-table th {
    background:#eef5ff;
    color:var(--navy)
}
.faq details {
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    padding:17px 20px;
    margin-bottom:12px
}
.faq summary {
    font-weight:800;
    color:var(--navy);
    cursor:pointer
}
.blog-grid {
    grid-template-columns:repeat(3,1fr)
}
.blog-card {
    padding:0;
    overflow:hidden
}
.blog-image {
    height:180px;
    background:linear-gradient(135deg,#daeaff,#fff1e4);
    display:grid;
    place-items:center;
    font-size:44px
}
.blog-body {
    padding:22px
}
.blog-body time {
    font-size:12px;
    color:var(--muted)
}
.form-grid {
    display:grid;
    gap:18px
}
.form-row {
    display:grid;
    grid-template-columns:190px 1fr;
    gap:20px;
    align-items:start;
    padding-bottom:18px;
    border-bottom:1px solid var(--line)
}
label {
    font-weight:800;
    color:var(--navy)
}
.required {
    font-size:10px;
    color:#fff;
    background:#d33;
    padding:2px 6px;
    border-radius:4px;
    margin-left:5px
}
input,select,textarea {
    width:100%;
    padding:13px;
    border:1px solid #ccd5e2;
    border-radius:8px;
    font:inherit;
    background:#fff
}
textarea {
    min-height:160px
}
.form-note {
    font-size:13px;
    color:var(--muted)
}
.access-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px
}
.map {
    width: 100%;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.map iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

.information-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.information-heading h3 {
    margin: 0;
}

.information-heading a {
    white-space: nowrap;
}

@media(max-width:980px) {
    .nav,.header-contact,.header .orange {
        display:none
    }
    .menu-btn {
        display:block;
        margin-left:auto
    }
    .nav.open {
        display:flex;
        position:absolute;
        left:0;
        right:0;
        top:86px;
        background:#fff;
        flex-direction:column;
        padding:25px;
        box-shadow:var(--shadow)
    }
    .features {
        grid-template-columns:repeat(3,1fr)
    }
    .news-layout {
        grid-template-columns:1fr
    }
    .blog-grid {
        grid-template-columns:repeat(2,1fr)
    }
}
@media(max-width:700px) {
    .container {
        width:min(100% - 28px,1120px)
    }
    .topbar {
        display:none
    }
    .header-row {
        height:70px
    }
    .logo strong {
        font-size:22px
    }
    .logo-mark {
        width:39px;
        height:39px
    }
    .nav.open {
        top:70px
    }
    .hero-grid {
        grid-template-columns:1fr;
        min-height:auto
    }
    .hero-copy {
        padding:55px 0 25px
    }
    .hero h1 {
        font-size:38px
    }
    .hero-visual {
        min-height:300px
    }
    .teacher-card {
        inset:15px 0 30px 0;
        border-radius:35px
    }
    .teacher-card:before {
        width:190px;
        height:190px;
        right:20px
    }
    .teacher-card:after {
        width:170px;
        height:170px;
        right:30px;
        top:80px;
        font-size:25px
    }
    .note1 {
        left:10px;
        bottom:35px
    }
    .note2 {
        display:none
    }
    .notice-strip .container {
        display:block;
        text-align:center
    }
    .section {
        padding:65px 0
    }
    .section-head h2 {
        font-size:28px
    }
    .features,.courses,.blog-grid {
        grid-template-columns:1fr
    }
    .split,.access-grid {
        grid-template-columns:1fr
    }
    .cta {
        padding:25px;
        display:block;
        text-align:center
    }
    .cta .btn {
        margin-top:18px
    }
    .footer-grid {
        grid-template-columns:1fr
    }
    .form-row {
        grid-template-columns:1fr;
        gap:7px
    }
    .fixed-cta {
        display:grid;
        grid-template-columns:1fr 1fr;
        position:fixed;
        z-index:60;
        bottom:0;
        left:0;
        right:0;
        background:#fff;
        box-shadow:0 -5px 20px rgba(0,0,0,.15)
    }
    .fixed-cta a {
        padding:12px;
        text-align:center;
        font-weight:800;
        color:#fff;
        background:var(--navy)
    }
    .fixed-cta a:last-child {
        background:var(--orange)
    }
    body {
        padding-bottom:50px
    }
    .page-hero {
        padding:52px 0
    }
    .page-hero h1 {
        font-size:34px
    }
@media screen and (max-width: 1200px) {

    .hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
    }

    .hero-title {
        font-size: clamp(36px, 3.3vw, 48px);
    }

    .hero-copy {
        padding-right: 30px;
    }
}
@media screen and (max-width: 900px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 55px 0 40px;
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(36px, 6vw, 50px);
    }

    .hero-title span {
        white-space: nowrap;
    }

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

    .hero-visual {
        min-height: 430px;
    }
}
@media screen and (max-width: 700px) {

    .hero-copy {
        padding: 42px 0 30px;
    }

    .hero-title {
        font-size: clamp(25px, 7.2vw, 36px);
        line-height: 1.55;
        letter-spacing: 0;
    }

    .hero-title span {
        display: block;
        white-space: nowrap;
    }

    .hero-copy p {
        font-size: 14px;
        line-height: 1.9;
    }

    .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 12px 8px;
        font-size: 13px;
    }

    .hero-visual {
        min-height: 350px;
    }
}
@media screen and (max-width: 380px) {

    .hero-title {
        font-size: 23px;
    }

    .hero-title span {
        white-space: nowrap;
    }
}
@media screen and (max-width: 700px) {
    .map,
    .map iframe {
        min-height: 320px;
        height: 320px;
    }
}
/* =========================================================
   WordPress最新記事
========================================================= */

.wordpress-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wordpress-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(7, 44, 104, 0.05);
    transition: 0.2s;
}

.wordpress-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.wordpress-card a {
    display: block;
    height: 100%;
}

.wordpress-card-image {
    height: 190px;
    overflow: hidden;
    background: #eef5ff;
}

.wordpress-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.wordpress-card:hover .wordpress-card-image img {
    transform: scale(1.04);
}

.wordpress-no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #daeaff, #fff1e4);
    color: var(--navy);
    font-family: serif;
    font-size: 22px;
    font-weight: 700;
}

.wordpress-card-body {
    padding: 22px;
}

.wordpress-card-body time {
    color: var(--muted);
    font-size: 12px;
}

.wordpress-card-body h3 {
    margin: 8px 0;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.55;
}

.wordpress-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.wordpress-read-more {
    display: inline-block;
    margin-top: 14px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.wordpress-more {
    margin-top: 32px;
    text-align: center;
}

.wordpress-loading,
.wordpress-message {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--muted);
    text-align: center;
}
/* タブレット */
@media screen and (max-width: 900px) {
    .wordpress-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマートフォン */
@media screen and (max-width: 700px) {
    .wordpress-posts {
        grid-template-columns: 1fr;
    }

    .wordpress-card-image {
        height: 210px;
    }
}

}