/* =========================================================
   東川塾 リニューアル共通CSS
   目次
   01. デザイン変数
   02. リセット・共通要素
   03. ヘッダー・ナビゲーション
   04. ボタン
   05. トップページ：ヒーロー
   06. 共通セクション・カード
   07. トップページ：特徴・コース・情報
   08. 下層ページ
   09. フォーム・表・FAQ・アクセス
   10. フッター・固定CTA
   11. レスポンシブ
========================================================= */

/* =========================================================
   01. デザイン変数
========================================================= */
:root {
    --navy: #183a7a;
    --navy-dark: #072c68;
    --blue: #2f6fdd;
    --blue-deep: #0757b8;
    --light-blue: #eef6fc;
    --pale-blue: #dcecf6;
    --orange: #f97316;
    --green: #2f7d56;
    --ink: #172033;
    --text: #374151;
    --muted: #667085;
    --white: #ffffff;
    --bg: #f7f9fc;
    --cream: #fbf8f1;
    --line: #e3e9f1;
    --shadow-sm: 0 8px 24px rgba(24, 58, 122, 0.07);
    --shadow: 0 18px 48px rgba(24, 58, 122, 0.12);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --header-height: 86px;
}

/* =========================================================
   02. リセット・共通要素
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body,
button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.grid {
    display: grid;
    gap: 24px;
}

.section {
    padding: 88px 0;
}

.section.alt {
    background: var(--bg);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head > span,
.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.section-head h2 {
    margin: 8px 0 10px;
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.45;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

/* キーボード操作時だけフォーカスを見せる */
:focus-visible {
    outline: 3px solid rgba(47, 111, 221, 0.42);
    outline-offset: 3px;
}

/* =========================================================
   03. ヘッダー・ナビゲーション
========================================================= */
.topbar {
    background: var(--navy-dark);
    color: var(--white);
    font-size: 12px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: min(1320px, calc(100% - 40px));
    padding: 7px 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(227, 233, 241, 0.9);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.header .container {
    width: min(1320px, calc(100% - 40px));
}

.header-row {
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--header-height);
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 190px;
    gap: 12px;
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.logo-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50% 50% 45% 45%;
    font-size: 24px;
}

.logo strong {
    display: block;
    font-size: 27px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.logo small {
    display: block;
    margin-top: 7px;
    font-family: sans-serif;
    font-size: 9px;
    letter-spacing: 0.22em;
}

.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 18px;
    font-size: 14px;
    font-weight: 700;
}

.nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 30px 0;
    white-space: nowrap;
}

.nav a::after {
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 2px;
    background: var(--blue);
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--blue);
}

.nav a:hover::after,
.nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-contact {
    flex: 0 0 auto;
    white-space: nowrap;
}

.header-contact b {
    display: block;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.35;
}

.header-contact small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.menu-btn {
    display: none;
    margin-left: auto;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* =========================================================
   04. ボタン
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid var(--navy);
    border-radius: 10px;
    background: var(--navy);
    color: var(--white);
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(7, 44, 104, 0.2);
}

.btn.orange {
    border-color: var(--orange);
    background: var(--orange);
}

.btn.outline {
    background: var(--white);
    color: var(--navy);
}

.notice-strip .btn.outline,
.footer .btn.outline,
.page-hero .btn.outline {
    border-color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   05. トップページ：ヒーロー
========================================================= */
.hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(47, 111, 221, 0.08), transparent 30%),
        linear-gradient(115deg, #ffffff 0%, #f7fbff 58%, #edf5fb 100%);
}
.hero-first-line,
.hero-title-line {
    display: block;
}

.hero-first-line span {
    display: inline;
}


.hero-grid {
    display: grid;
    min-height: 575px;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    align-items:center;
    gap:40px;
}

.hero-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
   padding: 64px 0;
    max-width:650px;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin: 13px 0 22px;
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: clamp(42px, 4vw, 64px);
     letter-spacing: 0;
    line-height:1.35;
}

.hero-copy > p {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    min-width: 0;
    overflow: hidden;
    width:100%;
    max-width:620px;
    margin-left:auto;
    border-radius: 44px;
}

.hero-visual::before {
    position: absolute;
    inset: 35px 0 35px 22px;
    z-index: 0;
    border-radius:40px;
    background: var(--pale-blue);
    content: "";
}


.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: calc(100% - 24px);
    height: calc(100% - 72px);
    border-radius:44px;
    object-fit:cover;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
    object-position: center;
}

.visual-note {
    position: absolute;
    z-index: 2;
    padding: 13px 17px;
    border: 1px solid rgba(227, 233, 241, 0.8);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
}

.note1 {
    bottom: 88px;
    left: 0;
}

.note2 {
    right: 18px;
    bottom: 38px;
}

.notice-strip {
    background: var(--navy);
    color: var(--white);
}

.notice-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 15px 0;
}

.notice-strip b {
    font-size: 18px;
}


/* =========================================================
   06. 共通セクション・カード
========================================================= */
.card {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list > div {
    position: relative;
    padding: 14px 17px 14px 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.check-list > div::before {
    position: absolute;
    top: 13px;
    left: 17px;
    color: var(--green);
    content: "✓";
    font-weight: 900;
}

/*.photo-placeholder {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgba(24, 58, 122, 0.12), rgba(24, 58, 122, 0.04)),
        url("../../images/policy.png") center / cover no-repeat,
        linear-gradient(135deg, #dcecff, #ffffff);
    box-shadow: var(--shadow);
}
    */

    .photo-placeholder {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-image: url("../../images/policy.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: var(--shadow);
}

.photo-placeholder::after {
    position: absolute;
    right: 20px;
    bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    content: "一人ひとりに寄り添う個別指導";
    font-size: 12px;
    font-weight: 800;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 64px;
    padding: 34px 42px;
    border: 1px solid #b8c9df;
    border-radius: var(--radius);
    background: linear-gradient(105deg, #ffffff, #eef5fd);
}

.cta h3 {
    margin: 0;
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 25px;
    line-height: 1.5;
}

/* =========================================================
   07. トップページ：特徴・コース・情報
========================================================= */
.pc-line{
    white-space: nowrap;
}


.support-features {
    padding: 6px 0 0;
}

.support-features__inner {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.support-feature-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 33px 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-feature-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.support-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.support-feature-card__icon {
    display: grid;
    width: 132px;
    height: 132px;
    flex: 0 0 132px;
    margin-bottom: 23px;
    place-items: center;
    border-radius: 50%;
    background: var(--light-blue);
}

.support-feature-card__icon svg {
    width: 90px;
    height: 90px;
    fill: none;
    stroke: var(--navy);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.support-feature-card__body h3 {
    margin: 0;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.45;
}

.support-feature-card__line {
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px auto 16px;
    background-image: radial-gradient(circle, var(--blue) 2px, transparent 2.5px);
    background-repeat: repeat-x;
    background-size: 12px 4px;
}

.support-feature-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.support-feature-card__body p + p {
    margin-top: 8px;
}

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

.course {
    position: relative;
    overflow: hidden;
    color: var(--text);
}

.course::before {
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: var(--blue);
    content: "";
}

.course.green::before {
    background: #67a97f;
}

.course.red::before {
    background: #e37365;
}

.course h3 {
    margin: 7px 0 10px;
    color: var(--navy);
    font-size: 21px;
}

.course p {
    color: var(--muted);
}

.course .btn {
    margin-top: 10px;
}

.price {
    color: var(--navy);
    font-size: 27px;
    font-weight: 900;
}

.price small {
    font-size: 13px;
}



/* トップページのお知らせ */
.news-list {
    border-top: 1px solid var(--line);
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

/* 日付 */
.news-item time {
    display: block;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

/* カテゴリとタイトルを縦並び */
.news-item__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* 【塾生募集状況】 */
.news-item__content .tag {
    display: inline-block;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

/* タイトル */
.news-item__content a {
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}

.news-item__content a:hover {
    color: var(--blue);
}

.news-item__content a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.news-item__content a:hover {
    color: var(--blue);
}

.news-item__tag::before {
    content: "【";
}

.news-item__tag::after {
    content: "】";
}

.news-more {
    margin-top: 24px;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

/* お知らせ一覧ページ */
.news-archive-list {
    border-top: 1px solid var(--line);
}

.news-archive-item {
    display: grid;
    grid-template-columns: 120px 90px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.news-archive-item time {
    color: var(--muted);
    font-size: 13px;
}

.news-archive-item h2 {
    margin: 0;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.6;
}

.news-archive-item h2 a:hover {
    color: var(--blue);
}

.news-message {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--muted);
    text-align: center;
}








.tag {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 8px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: var(--blue);
    font-size: 10px;
}

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

.information-heading h3 {
    margin: 0;
}

.information-heading a {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.insta-card {
    display: flex;
    aspect-ratio: 1;
    align-items: end;
    padding: 13px;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff0df, #eaf3ff);
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

/* WordPress最新記事 */
.wordpress-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.wordpress-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.wordpress-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--light-blue);
}

.wordpress-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

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

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

.wordpress-card-body {
    display: flex;
    min-height: 190px;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

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

.wordpress-card-body h3 {
    display: -webkit-box;
    margin: 8px 0 14px;
    overflow: hidden;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

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

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

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

.wordpress-loading,
.wordpress-message {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--muted);
    text-align: center;
}

/* =========================================================
   08. 下層ページ
========================================================= */
.page-hero {
    padding: 70px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(120deg, var(--navy-dark), var(--navy));
    color: var(--white);
}

.page-hero h1 {
    margin: 7px 0 8px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.35;
}

.page-hero p {
    margin: 0;
    opacity: 0.9;
}

.breadcrumbs {
    font-size: 12px;
    opacity: 0.75;
}

.content {
    max-width: 900px;
    margin-inline: auto;
}

.content > h2 {
    margin: 48px 0 18px;
    padding-left: 15px;
    border-left: 5px solid var(--orange);
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 29px;
    line-height: 1.45;
}

.content > h2:first-child {
    margin-top: 0;
}

.content h3 {
    margin-top: 28px;
    color: var(--navy);
}

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

.blog-card {
    overflow: hidden;
    padding: 0;
}

.blog-image {
    display: grid;
    height: 180px;
    place-items: center;
    background: linear-gradient(135deg, #daeaff, #fff1e4);
    font-size: 44px;
}

.blog-body {
    padding: 22px;
}

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

.blog-body h3 {
    margin: 8px 0;
    color: var(--navy);
}

.blog-body a {
    color: var(--blue);
    font-weight: 700;
}

/* about.html リニューアル専用 */
/*
.about-lead {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 46px;
}

.about-lead__image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--cream);
    box-shadow: var(--shadow);
}

.about-lead__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

 */   

.about-lead{

display: grid;
    align-items: center;
    gap: 56px;
    align-items:center;
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}




.about-lead__image{
    width:100%;
    height:500px;
    overflow:hidden;
    border-radius:28px;
    box-shadow:var(--shadow);
}

.about-lead__image img{
       width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    object-position: center;
}

.about-lead__title span {
    display: block;
}

.about-lead__title-first {
    white-space: nowrap;
}


.about-lead__title {
    margin: 8px 0 18px;
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 3.2vw, 52px);
    line-height: 1.55;
    letter-spacing: 0;
}

.learning-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.learning-step {
    position: relative;
    padding: 26px 18px;
    border: 1px solid #c9ddeb;
    border-radius: 18px;
    background: var(--light-blue);
    text-align: center;
}

.learning-step:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -15px;
    z-index: 2;
    color: var(--navy);
    content: "→";
    font-size: 28px;
    font-weight: 900;
    transform: translateY(-50%);
}

.learning-step__number {
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0 auto 13px;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
}

.learning-step h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 18px;
}

.learning-step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.concern-card {
    overflow: hidden;
    border: 1px solid #c8ddea;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.concern-card__question {
    position: relative;
    padding: 20px 18px 25px;
    background: var(--blue-deep);
    color: var(--white);
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
}

.concern-card__question::after {
    position: absolute;
    bottom: -14px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 15px solid var(--blue-deep);
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.concern-card__answer {
    padding: 30px 24px 24px;
}

.concern-card__answer strong {
    display: block;
    margin-bottom: 8px;
    color: #e91e63;
    text-align: center;
}

.concern-card__answer p {
    margin: 0;
    color: var(--text);
}

.policy-visual {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--cream);
    box-shadow: var(--shadow);
}

.policy-visual img {
    width: 100%;
    height: auto;
}

/* =========================================================
   09. フォーム・表・FAQ・アクセス
========================================================= */
.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.price-table th,
.price-table td {
    padding: 15px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.price-table th {
    background: var(--light-blue);
    color: var(--navy);
}

.faq details {
    margin-bottom: 12px;
    padding: 17px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.faq summary {
    color: var(--navy);
    font-weight: 800;
    cursor: pointer;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

label {
    color: var(--navy);
    font-weight: 800;
}

.required {
    margin-left: 5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #d33;
    color: var(--white);
    font-size: 10px;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccd5e2;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.form-note {
    color: var(--muted);
    font-size: 13px;
}

.access-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 35px;
}

.map {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.map .map {
    border: 0;
    border-radius: 0;
}

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

/* =========================================================
   10. フッター・固定CTA
========================================================= */
.footer {
    padding: 54px 0 28px;
    background: var(--navy);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
}

.footer a {
    opacity: 0.92;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 20px;
}

.copyright {
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11px;
    text-align: center;
    opacity: 0.75;
}

.fixed-cta {
    display: none;
}

/* =========================================================
   11. レスポンシブ
========================================================= */
@media (max-width: 1200px) {
    .header-contact {
        display: none;
    }

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

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

     .about-lead {
        gap: 36px;
    }

    .about-lead__image {
        height: 420px;
    }

    .about-lead__title {
        font-size: 38px;
    }
}


@media (max-width: 980px) {
    .hero-title{
        font-size:42px;
    }
.about-lead {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-lead__image {
        height: 420px;
    }

    .nav,
    .header > .container > .orange {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav.open {
        position: absolute;
        top: var(--header-height);
        right: -20px;
        left: -20px;
        display: flex;
        align-items: stretch;
        padding: 16px 20px 22px;
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 0;
    }

    .nav.open a {
        padding: 13px 5px;
        border-bottom: 1px solid var(--line);
    }

    .nav.open a::after {
        display: none;
    }

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

    .hero-copy {
        align-items: center;
        padding: 58px 0 38px;
        text-align: center;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-visual::before,
    .hero-image {
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 36px 36px 0 0;
    }

    .hero-first-line {
        white-space: nowrap;
    }

    .support-features__inner {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
    .courses,
    .concerns-grid {
        grid-template-columns: 1fr;
    }

    .support-feature-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .support-feature-card__icon {
        width: 116px;
        height: 116px;
        flex-basis: 116px;
        margin: 0 26px 0 0;
    }

    .support-feature-card__icon svg {
        width: 80px;
        height: 80px;
    }

    .support-feature-card__line {
        margin-right: 0;
        margin-left: 0;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

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

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

    .learning-step:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 900px) {

    .support-features__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-first-line {
        white-space: nowrap;
    }

}

@media (max-width: 700px) {
.about-lead__image{
        height:280px;
        border-radius:18px;
    }


    :root {
        --header-height: 70px;
    }

    .container,
    .header .container,
    .topbar .container {
        width: min(100% - 28px, 1120px);
    }

    .topbar {
        display: none;
    }

    .header-row {
        min-height: var(--header-height);
    }

    .logo {
        min-width: auto;
    }

    .logo-mark {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        font-size: 20px;
    }

    .logo strong {
        font-size: 22px;
    }

    .section {
        padding: 62px 0;
    }

     .hero-first-line span {
        display: block;
    }

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

    .hero-title {
        font-size: clamp(28px, 8.5vw, 38px);
        line-height: 1.5;
        letter-spacing: 0;
        text-align: center;
    }

    .hero-copy > p {
        font-size: 14px;
    }

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

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

    .hero-visual {
        min-height: 340px;
    }

    .visual-note {
        font-size: 12px;
    }

    .note1 {
        bottom: 24px;
        left: 10px;
    }

    .note2 {
        display: none;
    }

    .notice-strip .container {
        display: block;
        padding: 16px 0;
        text-align: center;
    }

    .notice-strip span {
        display: block;
        margin: 4px 0 12px;
        font-size: 13px;
    }

    .split,
    .access-grid {
        grid-template-columns: 1fr;
    }

     .photo-placeholder {
        min-height: 300px;
        background-size: contain;
        background-position: center;
    }


    .support-feature-card {
        padding: 21px 17px;
    }

    .support-feature-card:hover {
        transform: none;
    }

    .support-feature-card__icon {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
        margin-right: 16px;
    }

    .support-feature-card__icon svg {
        width: 62px;
        height: 62px;
    }

    .support-feature-card__body h3 {
        font-size: 18px;
    }

    .support-feature-card__body p {
        font-size: 13px;
    }

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

    .wordpress-posts,
    .blog-grid,
    .learning-flow,
    .concerns-grid {
        grid-template-columns: 1fr;
    }

    .wordpress-card-body {
        min-height: 160px;
    }

    .learning-step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -22px;
        left: 50%;
        content: "↓";
        transform: translateX(-50%);
    }

    .learning-step:nth-child(2)::after {
        display: block;
    }

    .cta {
        display: block;
        padding: 25px;
        text-align: center;
    }

    .cta .btn {
        margin-top: 18px;
    }

    .page-hero {
        padding: 50px 0;
    }

    .content > h2 {
        font-size: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .fixed-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: var(--white);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    }

    .fixed-cta a {
        padding: 12px;
        background: var(--navy);
        color: var(--white);
        font-weight: 800;
        text-align: center;
    }

    .fixed-cta a:last-child {
        background: var(--orange);
    }

    body {
        padding-bottom: 50px;
    }
}

@media (max-width: 600px) {

    .support-features__inner {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 390px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }

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

    .support-feature-card__icon {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
        margin-right: 12px;
    }

    .support-feature-card__icon svg {
        width: 54px;
        height: 54px;
    }
}

/* 線画をヒーロー画像として使用する場合 */
.hero-image.line-art {
    padding: 54px;
    background: var(--cream);
    object-fit: contain;
}

@media (max-width: 700px) {
    .hero-image.line-art {
        padding: 34px;
    }
}



@media (max-width: 700px) {
    .news-item__content {
        align-items: flex-start;
    }

    .news-archive-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* お知らせ詳細ページ */
.news-detail {
    max-width: 860px;
    margin-inline: auto;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm)
}

.news-detail__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--muted)
}

.news-detail h2 {
    margin: 0 0 24px;
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.45
}

.news-detail p {
    margin: 0 0 18px;
    color: var(--text);
    line-height: 2
}

.news-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

@media(max-width:700px) {
    .news-detail {
        padding: 24px 18px
    }

    .news-detail__actions {
        display: grid;
        grid-template-columns: 1fr
    }

    .news-detail__actions .btn {
        width: 100%
    }
}
