@charset 'UTF-8';
/*
Theme Name: hanamoji-mutsumi
Author: Mutsumi Yanomori
Description: 花文字＠sky睦美公式サイト用のオリジナルテーマ。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hanamoji-mutsumi
*/

/*
COLORS
================================================ */
:root {
  --bg:rgb(245, 243, 240);
  --ink:#2E3A59;        /* 濃紺 */
  --muted:#4B4B4B;
  --line:#E0DED9;
  --accent:#F6C945;     /* 黄 */
  --card:#ffffff;

  --radius:8px;
  --container:1120px;
}

/*
GENERAL STYLING & LAYOUT
================================================ */
*{box-sizing:border-box}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    color:var(--ink);
    background:var(--bg);
    font-family:"Zen Kaku Gothic New", system-ui, sans-serif;
    font-weight: 400;
    line-height:1.8;
}
.container {
    max-width:var(--container);
    margin:auto;
    padding:0 24px;
}
h1 {
    font-family:"Zen Maru Gothic", sans-serif;
    font-weight:500;
    letter-spacing: .15rem;
}
h2 {
    font-family:"Zen Maru Gothic", sans-serif;
    font-weight: 400;
    letter-spacing: .15rem;
}
.accent-line {
    width:40px;
    height:2px;
    background:var(--accent);
    margin:0 auto 20px;
}
p {
    font-size: 14px;
}
.section {
    padding:72px 0;
}
.hr {
    height:1px;
    background:var(--line);
    width:80%;
    margin:56px auto;
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:44px;
    padding:0 20px;
    border-radius:6px;
    gap:.5rem;
    font-weight:500;
    border:1px solid var(--ink);
    color:var(--ink);
    /* background:#fff; */
    background: transparent;
    text-decoration:none;
    white-space: nowrap;               /* ←ボタン内の改行禁止 */
    font-size: 14px;
    letter-spacing: .08rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}
.btn--accent {
    background:var(--accent);
    border-color:transparent;
    align-items: center;
    white-space: nowrap;               /* ←ボタン内の改行禁止 */
    box-shadow: 0 2px 6px rgba(80, 60, 20, 0.18);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.btn--accent:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}
.card{
    background:var(--card);
    /* border:1px solid #E3E0DB; */
    border-radius:var(--radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    width: 90%;
    margin: 0 auto;
}
.grid-2 {
    display:grid;
    gap:24px;
    max-width: 760px;
    margin:0 auto;
}
.main-text {
    max-width:720px;
    margin:0 auto 28px;
    color:var(--muted);
}

/*
LOADING
================================================ */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 1;
  transition: all 3s ease;
}
#loading.hidden {
  opacity: 0;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  background: rgba(245, 243, 240, 0);
  pointer-events: none;
  visibility: hidden;
  transition-delay: .5s;
}
#loading img {
  width: 30%;
  opacity: .8;
  transition: opacity 0.8s ease;
}
#loading.hidden img {
  opacity: 0;
}

/*
HEADER
================================================ */
.header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 50;
  border-bottom: 1px solid var(--line);
  height: 64px;
  /* ←ここ、PCでmax-widthかけたいなら後で上書きになるので今はOK */
  max-width: var(--container);
  margin: auto;
  padding: 0 24px 0 15px;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative; /* ← navをabsoluteで右上に出すから基準になる */
}
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

/* ロゴ */
.logo img {
  width: 45%;
}

/* ハンバーガーボタン（スマホ・タブレットで表示） */
.sp-menu {
  letter-spacing: .08rem;
  border-bottom: 1px solid var(--ink);
}
.admin-bar .sp-menu {
  top: calc(1rem + 46px);
}

/* ナビ（閉じてる状態） */
.nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
  overflow: hidden;
  opacity: 0;                /* ← 非表示スタート */
  transform: translateY(-10px); /* ← 少し上に引っ込めておく */
  pointer-events: none;      /* ← 非表示中はクリック無効 */
  transition: 
    opacity .5s ease,
    transform .5s ease;      /* ← 自然な動きに */
}
.admin-bar .nav {
  top: calc(50px + 46px);
}
.nav a {
  display: block;
  white-space: nowrap;
  padding: 1.5rem;
  /* border-bottom: 1px solid var(--line);  */
}

/* ハンバーガーで開いたとき */
.nav.open-menu {
  position: fixed; /* ←追加 */
  top: 64px;       /* ヘッダーの高さぶん下げる */
  left: 0;         /* ←追加 */
  right: 0;        /* ←追加 */
  width: 100%;     /* ←これで画面幅いっぱい */
  margin: 0;       /* ←ヘッダーpaddingの影響を消す */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  opacity: 1;                /* ← ふわっと表示 */
  transform: translateY(0px);  /* ← スッと下に出てくる */
  pointer-events: auto;
}


/*
HERO
================================================ */
.hero {
    padding: 0 0 64px;
}
.hero-container {
    display:grid;
    gap:40px;
    align-items:center;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0;
}
.hero__text {
    text-align: center;
    padding: 0 24px;
}
.hero__figure {
    margin:0;
    order: -1;
}
.hero__figure img {
    width:100%;
    display:block;
}
h1 {
    font-size:20px;
    line-height:1.5;
    margin:0 0 16px;
}
.sub-copy {
    color:var(--muted);
    font-size: 13px;
}
.btn-container {
    display:flex;
    gap:20px;
    margin-top:20px;
    flex-direction: column;
}
.hero .btn {
    width: 60%;
    margin: 0 auto;
}


/*
HOME CONTENTS
================================================ */
h2 {
    margin:0 0 8px;
    font-size: 18px;
}
#about h2 {
    text-align: center;
}
#about .btn-container {
    margin-top: 0;
}
.about-img-wrapper {
    width: 75%;
    margin: 0 auto 28px;
}
.about-img-wrapper img {
    width: 100%;
}
#about .btn, #instagram .btn, #news .btn {
    width: 75%;
    margin: 0 auto;
}
#courses .container, #instagram .container {
    text-align:center;
}
.card img {
    width:100%;
    border-radius:8px 8px 0 0;
}
.card h3, .card p {
    padding:0 24px;
    /* text-align-last: left; */
}
.card h3 {
    margin:12px 0 8px;
    font-weight: 500;
    font-family:"Zen Maru Gothic", sans-serif;
    letter-spacing: .15rem;
}
.card p {
    margin-bottom: 16px;
}
.card .btn {
    margin-bottom: 28px;
    width: 75%;
}
#instagram {
    background: #fff;
}
#instagram .btn {
    margin-top: 28px;
}
.insta-feed #sbi_images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.insta-feed .sbi_item {
    /* flex: 0 1 calc(33.333% - 16px); */
    max-width: 320px;              /* 大きくなりすぎ防止（好みで） */
    border-radius: 12px;
    overflow: hidden;
}
.insta-feed .sbi_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#news .container {
    max-width:680px;
}
#news h2, #news p {
    text-align: center;
}
#news ul {
    list-style:none;
    padding:0;
    margin:28px 0 0;
}
#news li {
    padding:16px 0;
    border-bottom:1px solid var(--line);
}
.date {
    color:#9B9995;
    font-size:12px;
    margin-right:8px;
}
.news-link {
    font-size: 14px;
}
.news-btn {
    text-align:center;
    margin-top:32px;
}
.contact {
    text-align:center;
    padding: 0 0 36px;
}
.contact p {
    margin-bottom: 32px;
}
.contact .btn-container {
    align-items: center;
    gap: 20px;
}
.contact .btn {
    width: 75%;
    height:48px;
    text-align: center;
}


/*
PAGE（固定ページ共通）
================================================ */
.page-hero {
    padding: 64px 0 56px;
    text-align: center;
    position: relative;
}
.page-title {
    font-size: 24px;
    margin: 0 0 8px;
    color: var(--ink);
    font-weight: 500;
}
.page-lead {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.page-hero::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 24px auto 0;
    border-radius: 3px;
}
.page .section {
  padding: 64px 0;
}
.page .inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.page .section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin: 0 0 24px;
}
.page .section-lead {
  color: var(--muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-size: 15px;
}

/*
PAGE-PROFILE
================================================ */
.profile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  /* text-align: center; */
  max-width: 960px;
  margin: 0 auto;
}
.profile-photo img {
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.profile-text {
    width: 90%;
}
.profile-text p {
  margin-bottom: 1.5em;
  color: var(--muted);
  line-height: 1.9;
}
.profile-affiliation {
  font-weight: 600;
  color: var(--ink);
  margin-top: 24px;
}


/*
PAGE-COURSE
================================================ */
.course-img {
  margin: 24px auto 32px;
  text-align: center;
}
.course-img img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.course-box {
  background: #fff;
  border: 1px solid #E3E0DB;
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}
.course-subtitle {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}
.course-detail {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.course-detail li {
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.8;
}
.course-desc {
  color: var(--muted);
  margin-bottom: 20px;
}
.course-cta {
  text-align: center;
}
.course-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.course-card {
  background: #fff;
  border: 1px solid #E3E0DB;
  border-radius: 8px;
  padding: 24px;
}
.course-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}
.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.course-card li {
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.8;
}
/* ▼ デフォルト（モバイル想定）：スマホでは普通のリンクとして使える */
.course-card li.tel a {
  text-decoration: underline;   /* 見た目を他と揃えたいなら消してOK */
}
.course-note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.course-desc span.note {
  display: inline-block;
  font-size: 13px;        /* 本文より−1pxで控えめに */
  color: #6B6B6B;         /* #4B4B4Bより少し明るく柔らかい印象 */
  line-height: 1.6;
  margin-top: 6px;
}

/* CTA */
.cta-text {
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--ink);
  text-align: center;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
  align-items: center;
}
.cta-buttons .btn {
  width: 80%;
  max-width: 280px;
}


/*
PAGE-NEWS
================================================ */
.page--news {
    padding: 64px 0;
}

/* お知らせフィルター */
.news-filter {
  background: #fff; /* 浮かせたいなら#fff */
  padding: 12px 0;
}
.news-filter__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
}
.news-filter__list a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d7d3cc;
  font-size: .78rem;
  color: #1f2f4a;
  background: #fff;
}
.news-filter__list a.is-active {
  background: #f6c945;
  border-color: #f6c945;
  color: #1f2f4a;
}

/* お知らせリスト */
.news-list {
  padding: 32px 0 48px;
}
.news-item {
  background: #fff;
  border-radius: 10px;
  padding: 16px 16px 14px;
  margin-bottom: 16px;
  box-shadow: 0 3px 14px rgba(0,0,0,.02);
}
.news-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .75rem;
  color: #6c7580;
}
.news-item__cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .68rem;
  background: #eef0f4;
}
.cat--event { background: rgba(246,201,69,.16); color: #9f6a00; }
.cat--lesson { background: rgba(122,150,203,.16); color: #30538a; }
.cat--info { background: rgba(129,180,145,.16); color: #2b6a3f; }

.news-item__title {
  font-size: 1rem;
  margin-bottom: 6px;
}
.news-item__excerpt {
  font-size: .78rem;
  color: #5a6470;
}

/* お知らせページネーション */
.pager {
  padding: 0 0 64px;
  text-align: center;
}
.pager .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.pager .page-numbers {
  display: inline-block;
  min-width: 34px;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid #d7d3cc;
  border-radius: 6px;
  font-size: 0.78rem;
  background: #fff;
  color: var(--ink, #1f2f4a);
  transition: all 0.3s ease;
}
.pager .page-numbers:hover {
  background: #f5f3f0;
  border-color: #bbb;
}
.pager .page-numbers.current {
  background: var(--ink, #1f2f4a);
  color: #fff;
  border-color: var(--ink, #1f2f4a);
}
.pager .prev.page-numbers,
.pager .next.page-numbers {
  font-weight: 500;
  padding: 6px 14px;
}

/*
PAGE-PRIVACY-POLICY
================================================ */
.page-privacy {
  color: var(--muted, #555);
}
.page-privacy .inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ページタイトル */
.page-privacy h1 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 60px;
  color: var(--ink);
}

/* 見出し */
.page-privacy h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 60px;
  margin-bottom: 20px;
  border-left: 4px solid #F6C945; /* 黄色アクセントライン */
  padding-left: 10px;
}

/* 段落 */
.page-privacy p {
  line-height: 1.9;
  margin-bottom: 1.6em;
}

/* 箇条書き */
.page-privacy ul {
  margin: 0 0 1.6em 1.2em;
  padding: 0;
  list-style-type: disc;
}
.page-privacy li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

/* お問い合わせリンク */
.page-privacy a {
  color: #9C7B30; /* ブラウン系で柔らかく */
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
.page-privacy a:hover {
  opacity: 0.7;
}

/* 日付・署名部分 */
.page-privacy p:last-of-type {
  text-align: right;
  margin-top: 40px;
  font-size: 0.9rem;
}


/*
SINGLE
================================================ */
/* 記事コンテナ */
.news-article {
    max-width: 720px;
    margin: 0 auto;
    /* padding: 0 24px; */
}

/* メタ情報 */
.news-article__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #6c7580;
    margin-bottom: 6px;
}
.news-article__cat {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    background: rgba(246,201,69,.16);
    color: #9f6a00;
}
/* 既存のカテゴリ色をそのまま使うなら：
.cat--event, .cat--lesson, .cat--info は archive と同じ定義でOK */

.news-article__title {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #1f2f4a;
    margin: 0 0 20px;
}

/* 本文 */
.news-article__body p {
    margin-bottom: 1.4em;
    color: var(--muted), #4b4b4b;
    line-height: 1.9;
    font-size: 0.9rem;
}
.news-article__body h2 {
    font-size: 1.1rem;
    margin: 1.6em 0 0.6em;
    color: var(--ink), #2e3a59;
}
.news-article__body h3 {
    font-size: 1rem;
    margin: 1.6em 0 0.6em;
    color: var(--ink), #2e3a59;
}
.news-article__body ul {
    padding-left: 1.2em;
    margin: 0 0 1.4em;
}
.news-article__body li {
    margin-bottom: 0.4em;
}

/* Googleマップ用レスポンシブラッパー */
.map-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* 比率：3:4が多いならお好みで調整
     3:4 → padding-bottom: 133.33%;
     4:3 → 75%;
     16:9 → 56.25%;
  */
  padding-bottom: 75%; /* ここは好みで：75%なら横:縦=4:3 */
  overflow: hidden;
  border-radius: 12px; /* 角丸つけたい場合 */
}
/* iframe自体をラッパーの中でフィットさせる */
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 戻るボタン & 前後ナビ */
.news-article__nav {
    max-width: 720px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.news-article__back {
    width: 100%;
    max-width: 260px;
    justify-content: center;
}
.news-article__pager {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
}
.news-article__pager a {
    color: #2e3a59;
    text-decoration: none;
}
.news-article__pager a:hover {
    text-decoration: underline;
}


/*
CONTACT
================================================ */
.section-contact {
    padding: 0;
}
.section-contact .hr {
    margin: 72px auto;
}
.form-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 60px;
    margin-bottom: 20px;
    color: var(--text);
}
.form-lead {
    text-align: center;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 40px;
}
.form-area {
    max-width: 640px;
    margin: 0 auto;
}
.input-text, .input-textarea {
    border: 1px solid #9B9995;
    width: 100%;
    padding: 8px;
}
.contact-form {
    text-align: left;
}
.contact-form a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}
.contact-form a:hover {
    opacity: 0.7;
}
.section-contact .btn-container {
    gap: 0;
}
.wpcf7 form.sent .wpcf7-response-output {
    /* border-color: #46b450; */
    border-color: #9CC3A0;
}


/*
FOOTER
================================================ */
footer {
    text-align: center;
    margin-bottom: 16px;
    padding-top: 16px;
}
footer h3 {
    font-size:16px;
    margin:0 0 32px;
    font-family:"Zen Maru Gothic", sans-serif;
    letter-spacing: .15rem;
}
footer .btn-container {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}
footer .btn {
    width:90px;
    height:48px;
    background: #fff;
    border:1px solid var(--line);
} 
.sns-icon {
    width: auto;
    height: 20px;
}
.minne-logo {
    height: 30px;
}
small {
    color:#9B9995;
    font-size:11px;
}


/* タブレット・PCに適用 */
@media (min-width: 768px) {
  .course-card li.tel a {
    pointer-events: none;       /* クリックできなくする */
    color: inherit;             /* テキスト色を他と同じに */
    text-decoration: none;      /* 下線も消す（リンク感を消す） */
  }

  .news-list .inner {
    max-width: 720px;
  }
  .news-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }
  .news-item a {
    display: grid;
  }

  .contact .btn {
        width: 220px;
    }
}




/* タブレット：768〜1024px */
@media(min-width:768px) and (max-width: 1024px) {
    
    /*
    GENERAL STYLING & LAYOUT
    ================================================ */
    p {
        color: var(--muted);
    }
    .grid-2{
        grid-template-columns:1fr 1fr;
        gap: 0;
    } 
    .btn {
        margin: 0;
        border-radius: 10px;
    }
    .btn-container {
        justify-content: center;
        align-items: center;
        margin-top: 28px;
    }
    
    /*
    LOADING
    ================================================ */
    #loading img {
    width: 20%;
    }

    /*
    HEADER
    ================================================ */
    .logo img {
        width: 20%;
    }

    /*
    HERO
    ================================================ */
    .hero {
        padding-top: 0px;
    }
    .hero-container {
        grid-template-columns: 1.1fr 1fr;
        gap: 0;
    }
    .hero .btn {
        margin: 0;
    }
    .hero__figure {
        order: 0;
    }
    h1 {
        font-size: 22px;
    }
    .hero .accent-line {
        margin-top: 16px;
    }
    .sub-copy {
        font-size: 14px;
    }
    
    /*
    HOME CONTENTS
    ================================================ */
    h2 {
        margin:0;
        font-size:22px;
    }
    .main-text {
        font-size: 16px;
    }
    .about-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 0 24px;
    }
    #about p {
        font-size: 16px;
    }
    .about-img-wrapper {
        width: 50%;
    }
    .about-img-wrapper img {
        width: 100%;
    }
    #about .btn-container {
        display: flex;
    }
    #about .btn {
        width: 40%;
        margin: 0;
        padding: 0 32px;
    }
    .card {
        width: 85%;
    }
    .card .btn {
        width: 55%;
    }
    #instagram .btn, #news .btn, #contact .btn {
        width: 220px;
    }
    .date {
        font-size: 14px;
    }
    .news-link {
        font-size: 16px;
    }
    
    
    /*
    PAGE
    ================================================ */
    /* 固定ページ共通 */
    .page-hero {
        padding: 80px 0 64px;
    }
    .page-title {
        font-size: 26px;
    }
    .page-lead {
        font-size: 15px;
    }
    .page .section-title {
        font-size: 24px;
    }
    .page .section-lead {
        font-size: 16px;
        margin-bottom: 48px;
    }
    
    /* プロフィール本文 */
    .profile-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
        text-align: left;
        padding: 0 24px;
    }
    .profile-photo img {
        width: 240px;
        max-width: none;
    }
    .profile-text p {
        font-size: 15px;
    }
    
    /* 講座案内 */
    .course-img img {
        max-width: 420px;   /* ←ここがポイント！ */
    }
    .course-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }
    .course-card {
        width: calc(50% - 12px);
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
    .cta-buttons .btn {
        width: auto;
        padding: 0 24px;
    }
    
    /* お知らせ個別投稿 */
    .news-article__title {
        font-size: 1.5rem;
    }
    .news-article__body p {
        font-size: 0.95rem;
    }

    
    /*
    FOOTER
    ================================================ */
    footer h3 {
        font-size: 22px;
    }
    footer .btn-container {
        gap: 32px;
    }
    footer .btn {
        width: 180px;
        border-radius: 16px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
    
}


/* PC以外では非表示 */
@media (max-width: 1024px) {
  .pc-only {
        display: none;
    }
}



    
/*  PC：1025px〜 */
@media(min-width:1025px) {

    /*
    GENERAL STYLING & LAYOUT
    ================================================ */
    p {
        font-size: 1rem;
    }
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    .btn {
        font-size: 16px;
        margin: 0;
        border-radius: 10px;
    }
    .btn-container {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
    

    /*
    LOADING
    ================================================ */
    #loading img {
    width: 10%;
    }
    

    /*
    HEADER
    ================================================ */
    .header {
        position: inherit;
        border: none;
    }
    .logo img {
        width: 30%;
    }
    /* PCではナビをふつうに横並びで表示 */
    .nav {
        position: static;
        width: auto;
        padding: 0;
        margin-top: 0;

        /* モバイルで入れてた“隠す用スタイル”をここで打ち消す↓ */
        opacity: 1;
        transform: none;
        pointer-events: auto;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        overflow: visible;

        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
        pointer-events: auto; /* ← 忘れずONに！ */
    }
    .nav a {
        display: block;
        white-space: nowrap;
        padding: 0;
        border-bottom: none;
    }


    /*
    HERO
    ================================================ */
    .hero {
        padding-top: 8px;
    }
    .hero-container {
        grid-template-columns:1.1fr 1fr;
        gap: 40px;
    }
    .btn-container {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
    .hero .btn {
        width: 35%;
        margin: 0;
    }
    .hero__figure {
        order: 0;
    }
    h1 {
        font-size:32px;
        margin-bottom: 32px;
    }
    .accent-line {
        width:60px;
        height:3px;
        background:var(--accent);
        margin:4px auto 20px;
    }
    .hero .accent-line {
        margin-top: 16px;
    }
    .sub-copy {
        font-size: 16px;
        margin: 40px 0;
    }
    

    /*
    CONTENTS
    ================================================ */
    h2 {
        margin:0;
        font-size:28px;
    }
    .main-text {
        font-size: 18px;
    }
    #about h2 {
        text-align: left;
    }
    #about .accent-line {
        margin-left: 2.8%;
    }
    .about-inner {
        display: flex;
        justify-content: space-between;
    }
    #about p {
        font-size: 16px;
    }
    .about-img-wrapper {
        width: 20%;
        margin: 0;
    }
    .about-img-wrapper img {
        width: 100%;
    }
    #about .btn-container {
        justify-content: start;
    }
    #about .btn {
        width: inherit;
        margin: 0;
        padding: 0 32px;
    }
    .card .btn {
        width: 55%;
    }
    #instagram .btn, #news .btn, #contact .btn {
        width: 220px;
    }
    #news .container {
        max-width:960px;
    }
    .date {
        font-size: 14px;
    }
    .news-link {
        font-size: 16px;
    }
    .contact .btn-container {
        gap: 40px;
    }
    
    
    /*
    PAGE
    ================================================ */
    /* 固定ページ共通 */
    .page-hero {
        padding: 96px 0 72px;
    }
    .page-title {
        font-size: 28px;
    }
    .page-lead {
        font-size: 16px;
    }
    .page .section-title {
        font-size: 26px;
    }
    
    /* プロフィール本文 */
    .profile-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 48px;
        text-align: left;
    }
    .profile-photo img {
        width: 260px;
    }
    .profile-text p {
        font-size: 16px;
    }
    
    /* 講座案内 */
    .course-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 28px;
    }
    .course-card {
        width: calc(33.333% - 21px);
    }
    .course-box {
        padding: 32px;
    }
    .course-flex {
        display: flex;
        gap: 48px;
        align-items: center;
    }
    .course-text {
        flex: 1;
        min-width: 0;
    }
    .course-img-pc {
        flex: 0 0 360px; /* これ以上大きくしない */
        margin: 0;
    }
    .course-img-pc img {
        width: 100%;
        max-width: none; /* flexで決めた幅に合わせる */
        border-radius: 8px;
    }
    .offline-img-pc img {
        max-width: 500px;
    }

    /* お問い合わせ */
    #contact .btn-container {
        gap: 40px;
    }
    
    /* CTA */
    .cta-text {
        font-size: 16px;
    }
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    .cta-buttons .btn {
        width: auto;
        padding: 0 28px;
    }

    /* お知らせ個別投稿 */
    .news-article__title {
        font-size: 1.6rem;
    }
    .news-article__nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .news-article__pager {
        flex-direction: row;
        gap: 16px;
    }


    /*
    FOOTER
    ================================================ */
    footer h3 {
        font-size: 22px;
    }
    footer .btn-container {
        gap: 32px;
    }
    footer .btn {
        width: 180px;
        border-radius: 16px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }
    footer .btn:hover {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }


    /* PCのみで表示 */
    .pc-only {
        display: inherit;
    }
    .sp-only {
        display: none;
    }
    
}