/* =========================================================
   Mental Manage サイト共通スタイル
   2026-11 Studio から移行。デザインは Studio 版と同じ見た目になるよう、
   表示された寸法を測って一から書いたもの。
   画面幅: パソコン 961px〜 / タブレット 481〜960px / スマホ 〜480px
   ========================================================= */

/* ---------- アイコン用フォント ----------
   Font Awesome Free 6.4.2（アイコン: CC BY 4.0 / フォント: SIL OFL 1.1）
   https://fontawesome.com/license/free */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url('/assets/fonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/fa-brands-400.woff2') format('woff2');
}
.fa {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.fa-solid { font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-brands { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }
.fa-circle-arrow-right::before { content: '\f0a9'; }
.fa-x-twitter::before { content: '\e61b'; }
.fa-instagram::before { content: '\f16d'; }

/* Material Symbols（メニューの開く・閉じる）Apache License 2.0 */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
}

/* ---------- 色と書体 ---------- */
:root {
  --ink: #4a4a4a;
  --sub: #6b7280;
  --accent: #d6b89c;
  --bg: #fcfcfc;
  --bg-warm: #f6f3f0;
  --line: #cfcfcf;
  --required: #df6c90;
  --serif: 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --display: 'Playfair Display', serif;
  --num: 'Montserrat', sans-serif;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
}

/* ---------- 下地 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
h1, h2, h3, p, a, span, label, time, small { word-break: break-word; overflow-wrap: anywhere; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
main { background: var(--bg); }
[id] { scroll-margin-top: 80px; }

.wrap { width: 100%; max-width: 1000px; margin: 0 auto; }
.wrap-narrow { width: 100%; max-width: 800px; margin: 0 auto; }

/* ---------- スクロールでふわっと出す ---------- */
.reveal {
  transition: opacity 2s ease-in-out, translate 2s ease-in-out, filter 2s ease-in-out;
}
.js .reveal:not(.is-in) { opacity: 0; translate: 0 20px; }
.js .reveal-blur:not(.is-in) { opacity: 0; translate: none; filter: blur(100px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .menu__panel, .menu__backdrop { transition: none; }
  .js .reveal:not(.is-in), .js .reveal-blur:not(.is-in) { opacity: 1; translate: none; filter: none; }
}

/* ---------- ボタン ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1;
  border-radius: 36px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
  transition: opacity .3s var(--ease);
}
.btn-pill:hover { opacity: .8; }
.btn-pill--lg { font-size: 18px; padding: 18px 40px; }
.btn-pill--sm { font-size: 12px; padding: 12px 28px; border-radius: 25px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.btn-pill--white { background: #fff; color: var(--accent); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 36px 0 35px;
  border: 1px solid var(--accent);
  border-radius: 24px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: opacity .3s var(--ease);
}
.btn-line:hover { opacity: .7; }
.btn-line .fa { font-size: 16px; }
.btn-center { display: flex; justify-content: center; }

/* ---------- 見出し（英字の小見出し＋日本語） ---------- */
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sec-head__en {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: .5px;
  color: var(--accent);
}
.sec-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 80px;
  background: rgba(252, 252, 252, .2);
}
.site-header__inner {
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { width: auto; height: 48px; }
.brand span {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--ink);
}
.gnav { display: flex; align-items: center; gap: 24px; }
.gnav__link {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  transition: opacity .3s var(--ease);
}
.gnav__link:hover { opacity: .6; }
.gnav .btn-pill--sm { margin-left: 0; }
.menu-btn { display: none; width: 28px; height: 28px; color: var(--ink); }

/* スマホ・タブレット用メニュー */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.menu::backdrop { background: transparent; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .16); opacity: 0; transition: opacity .3s var(--ease); }
.menu__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-warm);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateX(100px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.menu.is-open .menu__backdrop { opacity: 1; }
.menu.is-open .menu__panel { opacity: 1; transform: none; }
.menu__bar { height: 80px; padding: 0 40px; display: flex; align-items: center; justify-content: flex-end; }
.menu__close { width: 28px; height: 28px; color: var(--ink); }
.menu__nav { display: flex; flex-direction: column; align-items: center; padding-top: 120px; }
.menu__links { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.menu__links a { font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1; color: var(--ink); }
.menu__nav .btn-pill { margin-top: 32px; font-size: 16px; padding: 12px 28px; border-radius: 25px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }

/* =========================================================
   トップページ
   ========================================================= */

/* 最初の画面 */
.fv {
  position: relative;
  height: 890px;
  display: flex;
  align-items: center;
  background: #fff;
}
.fv__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/img/hero.webp') center / cover no-repeat;
}
.fv__body { position: relative; padding-left: 144px; }
.fv__title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.1px;
  color: var(--ink);
}
.fv__lead {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--sub);
}
.fv .btn-pill { margin-top: 40px; }

/* お知らせ */
.news { padding: 96px 0; background: var(--bg); }
.news .sec-head { margin-bottom: 64px; }
.news-list { border-top: 1px solid var(--line); }
.news-list a {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .3s var(--ease);
}
.news-list a:hover { opacity: .7; }
.news-list time { font-family: var(--num); font-size: 16px; line-height: 1.6; color: var(--accent); white-space: nowrap; }
.news-list p { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); }
.news .btn-center { margin-top: 64px; }

/* お悩み */
.nayami { padding: 96px 0; background: var(--bg-warm); }
.nayami .sec-title { margin-bottom: 64px; }
.nayami__row { display: flex; align-items: center; gap: 96px; }
.nayami__img { width: 300px; height: 200px; border-radius: 10px; object-fit: cover; flex: none; }
.nayami__list { display: flex; flex-direction: column; gap: 16px; }
.nayami__list li { display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink); }
.nayami__list img { width: 21px; height: 21px; flex: none; }

/* できること */
.dekiru { padding: 96px 0; background: var(--bg); }
.dekiru .sec-title { margin-bottom: 64px; }
.dekiru__grid { display: grid; grid-template-columns: repeat(3, 320px); gap: 20px; justify-content: center; }
.dekiru__card { height: 256px; padding: 32px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; }
.dekiru__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.dekiru__icon img { width: 32px; height: 32px; }
.dekiru__card h3 { margin-top: 16px; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 24px; text-align: center; color: var(--ink); }
.dekiru__card p { margin-top: 16px; width: 100%; font-family: var(--serif); font-size: 16px; line-height: 24px; color: var(--ink); }
.dekiru .btn-center { margin-top: 64px; }
.btn-line--service { padding: 0 36px 0 35px; }
.corp {
  margin-top: 64px;
  padding: 32px;
  border-radius: 10px;
  background: var(--bg-warm);
  text-align: center;
  font-family: var(--serif);
  color: var(--ink);
}
.corp__title { font-size: 18px; font-weight: 700; line-height: 24px; }
.corp__text { margin-top: 12px; font-size: 16px; line-height: 20px; }
.corp .btn-center { margin-top: 36px; }

/* ご利用の流れ */
.flow { padding: 96px 0; background: var(--bg-warm); }
.flow .sec-head { margin-bottom: 64px; }
.flow__list { display: flex; flex-direction: column; }
.flow__step {
  height: 80px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: var(--bg);
}
.flow__step img { width: 32px; height: 32px; flex: none; }
.flow__num { margin-left: 28px; font-family: var(--num); font-size: 24px; font-weight: 600; line-height: 1; color: var(--accent); }
.flow__label { margin-left: 8px; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1; color: var(--ink); }
.flow__arrow { display: block; width: 24px; height: 14px; margin: 17.875px auto; }

/* プロフィール・メッセージ */
.profile { padding: 96px 0; background: var(--bg); }
.profile__inner { max-width: 1022px; margin: 0 auto; }
.profile__row { display: flex; align-items: center; gap: 80px; }
.profile__photo { width: 300px; height: 450px; border-radius: 10px; background: #d9d9d9; object-fit: cover; flex: none; }
.profile__body { flex: 1; font-family: var(--serif); color: var(--ink); }
.label-en { font-family: var(--display); font-size: 18px; line-height: 1; letter-spacing: .5px; color: var(--accent); }
.profile__name { margin-top: 16px; font-size: 28px; font-weight: 700; line-height: 1.6; }
.profile__roman { margin-top: 4px; font-family: var(--display); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .4px; color: var(--sub); }
.profile__h { font-size: 16px; font-weight: 700; line-height: 1; }
.profile__h--career { margin-top: 16px; }
.profile__h--skill { margin-top: 16px; }
.profile__text { margin-top: 4px; font-size: 16px; line-height: 24px; }
.profile__skills { margin-top: 4px; display: flex; gap: 28px; font-size: 16px; line-height: 24px; }
.profile__skills p:first-child { flex: none; }
.profile__divider { margin-top: 28px; height: 1px; background: var(--line); }
.message { margin-top: 68px; font-family: var(--serif); color: var(--ink); }
.message__title {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}
.message__text { margin-top: 16px; font-size: 16px; line-height: 1.8; }

/* 選ばれる理由 */
.reason { padding: 96px 0 96.5px; background: var(--bg); }
.reason .sec-head { margin-bottom: 63px; }
.reason__grid { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 124px; row-gap: 64px; }
.reason__item { width: 250px; }
.reason__item img { width: 250px; height: 250px; }
.reason__item h3 { margin-top: 16px; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 24px; color: var(--accent); text-align: center; }
.reason__item p { margin-top: 16px; font-family: var(--serif); font-size: 16px; line-height: 24px; color: var(--ink); }

/* お客様の声 */
.voice { padding: 96px 0; background: var(--bg-warm); }
.voice .sec-head { margin-bottom: 64px; }
.voice__list { display: flex; flex-direction: column; gap: 32px; }
.voice__item { display: flex; align-items: center; gap: 28px; }
.voice__who { width: 100px; flex: none; }
.voice__who img { width: 100px; height: 100px; border-radius: 50px; background: var(--bg); }
.voice__who p { margin-top: 6px; font-family: var(--serif); font-size: 14px; line-height: 1.6; text-align: center; color: var(--ink); }
.voice__bubble { flex: 1; padding: 16px 24px 15px; border-radius: 10px; background: var(--bg); font-family: var(--serif); font-size: 16px; line-height: 1.6; color: var(--ink); }
.voice__bubble h3 { font-size: 16px; font-weight: 700; line-height: 1.6; }
.voice__bubble p { margin-top: 6px; }
.voice__item[hidden] { display: none; }

/* 相談の呼びかけ */
.cta { padding: 96px 10px; background: var(--accent); text-align: center; color: #fff; font-family: var(--serif); }
.cta__title { font-size: 28px; font-weight: 700; line-height: 1; }
.cta__text { margin-top: 24px; font-size: 16px; line-height: 24px; }
.cta .btn-pill { margin-top: 24px; }

/* よくある質問 */
.faq { padding: 96px 0; background: var(--bg); }
.faq .sec-head { margin-bottom: 64px; }
.faq__item { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 16px 1fr; column-gap: 8px; font-family: var(--sans); color: var(--ink); }
.faq__q { grid-row: 1 / span 2; font-family: var(--num); font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--accent); text-align: center; }
.faq__item h3 { font-size: 16px; font-weight: 700; line-height: 1.6; }
.faq__item p { margin-top: 6px; font-size: 16px; line-height: 1.6; }

/* ブログ */
.blog { padding: 96px 0; background: var(--bg); overflow: hidden; }
.blog .sec-head { margin-bottom: 63px; }
.blog__list { display: flex; gap: 50px; }
.blog-card { width: 300px; flex: none; display: block; padding-bottom: 8px; transition: opacity .3s var(--ease); }
.blog-card:hover { opacity: .7; }
.blog-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.blog-card time { display: block; margin-top: 8px; padding: 0 8px; font-family: var(--num); font-size: 16px; line-height: 1.4; color: var(--sub); }
.blog-card p { margin-top: 9px; padding: 0 8px; font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.blog .btn-center { margin-top: 64px; }

/* お問い合わせ */
.contact { padding: 96px 0; background: var(--bg-warm); }
.contact .sec-head { margin-bottom: 64px; }
.contact__lead { max-width: 636px; margin: 0 auto 64px; font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 24px; color: var(--sub); text-align: center; }
.form { display: flex; flex-direction: column; gap: 28px; }
.form__field { display: flex; flex-direction: column; gap: 9px; }
.form__label { display: flex; align-items: center; gap: 5px; font-family: var(--sans); font-size: 16px; line-height: 26px; color: var(--ink); }
.form__req { padding: 4px 8px; border-radius: 2px; background: var(--required); color: var(--bg); font-family: var(--sans); font-size: 12px; font-weight: 700; line-height: 1; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%;
  height: 50px;
  padding: 10px 16px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s var(--ease);
}
.form textarea { height: 160px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #c6c6c6; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form__agree { margin-top: 1px; display: flex; justify-content: center; align-items: center; gap: 10px; font-family: 'Lato', sans-serif; font-size: 16px; line-height: 1.4; color: var(--ink); }
.form__agree input { width: 13px; height: 13px; margin: 0; }
.form__agree a { text-decoration: underline; }
.form__submit { align-self: center; margin-top: 1px; padding: 8px 32px; border-radius: 4px; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.6; transition: opacity .3s var(--ease); }
.form__submit:hover { opacity: .8; }
.form__submit[disabled] { opacity: .5; cursor: wait; }
.form__error { display: none; text-align: center; font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--required); }
.form__error.is-shown { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { padding: 48px 0; background: var(--sub); color: #fff; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 6px; }
.footer-brand img { width: auto; height: 48px; }
.footer-brand span { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 28px; letter-spacing: 1px; }
.footer-sns { margin-top: 28px; display: flex; gap: 24px; }
.footer-sns a { font-size: 24px; line-height: 1; color: #fff; }
.footer-sns .fa-instagram { width: 21px; }
.site-footer .btn-pill--sm { margin-top: 28px; }
.footer-nav { display: flex; flex-direction: column; gap: 24px; }
.footer-nav a { font-family: var(--serif); font-size: 14px; line-height: 1; color: var(--bg); transition: opacity .3s var(--ease); }
.footer-nav a:hover { opacity: .7; }
.site-footer__bottom { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.site-footer__bottom a { font-family: var(--serif); font-size: 12px; line-height: 1; color: var(--bg); }
.site-footer__bottom small { font-family: var(--display); font-size: 12px; line-height: 16px; color: var(--line); }

/* =========================================================
   タブレット（〜960px）
   ========================================================= */
@media (max-width: 960px) {
  .wrap, .wrap-narrow, .profile__inner { padding: 0 40px; max-width: none; }
  .site-header__inner { padding: 0 40px; max-width: none; }
  .brand span { font-size: 16px; }
  .gnav__link { display: none; }
  .gnav .btn-pill--sm { font-size: 13px; padding: 12px 28px; }
  .menu-btn { display: block; }

  .fv__body { padding: 0 40px; max-width: 720px; }
  .fv__title { font-size: 28px; letter-spacing: .8px; }
  .fv__lead { font-size: 16px; }
  .fv .btn-pill { font-size: 15px; }

  .news { padding: 96px 0; }
  .news .sec-head { margin-bottom: 64px; }

  .nayami { padding: 96px 0 97px; }
  .voice { padding: 96px 0 97px; }
  .nayami .sec-title { margin-bottom: 63px; }
  .nayami__row { flex-direction: column; gap: 48px; }
  .nayami__list { gap: 16px; }
  .nayami__list img { width: 30px; height: 30px; }

  .dekiru__grid { grid-template-columns: repeat(2, 320px); }
  .corp { padding: 32px 40px; }


  .profile__row { flex-direction: column; gap: 80px; align-items: stretch; }
  .profile__photo { width: 500px; height: 750px; align-self: center; }
  .profile__head { text-align: center; }
  .profile__id { display: inline-block; text-align: left; }

  .reason__grid { column-gap: 80px; row-gap: 80px; }
  .reason__item { width: 304px; }
  .reason__item img { width: 304px; height: 304px; }

  .cta__title { font-size: 24px; }
  .footer-brand span { font-size: 16px; }

  .blog .btn-center { margin-top: 64px; }
  .blog__list { gap: 50px; }
  .blog-card { width: 319px; }

  .contact__lead { max-width: 636px; }
  .form__req { font-size: 13px; }
}

/* =========================================================
   スマホ（〜480px）
   ========================================================= */
@media (max-width: 480px) {
  [id] { scroll-margin-top: 48px; }
  .wrap, .wrap-narrow, .profile__inner { padding: 0 16px; }
  .site-header { height: 48px; }
  .site-header__inner { padding: 0 16px; }
  .brand { gap: 2px; }
  .brand img { width: auto; height: 34px; }
  .brand { gap: 6px; }
  .brand span { font-size: 14px; }
  .gnav .btn-pill--sm { display: none; }
  .menu__bar { height: 60px; padding: 0 16px; }
  .menu__nav { padding-top: 120px; }

  .sec-head { gap: 2px; }
  .sec-head__en { font-size: 12px; letter-spacing: .4px; }
  .sec-title { font-size: 20px; }

  .fv { height: 638px; }
  .fv__body { padding: 0 16px; max-width: 342px; }
  .fv__title { font-size: 18px; letter-spacing: .5px; }
  .fv__lead { margin-top: 8px; font-size: 12px; }
  .fv .btn-pill { margin-top: 20px; font-size: 14px; padding: 12px 28px; }

  .news { padding: 64px 0; }
  .news .wrap-narrow { padding: 0 32px; }
  .news .sec-head { margin-bottom: 48px; }
  .news-list a { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0 8px; }
  .news-list time { font-size: 12px; }
  .news-list p { font-size: 14px; }
  .news .btn-center { margin-top: 48px; }
  .btn-line { height: 32px; padding: 0 29px 0 28px; font-size: 14px; }
  .btn-line .fa { font-size: 14px; }

  .nayami { padding: 64px 0; }
  .nayami .sec-title { margin-bottom: 48px; }
  .nayami__row { gap: 24px; align-items: stretch; }
  .nayami__img { align-self: center; }
  .nayami__list { gap: 8px; }
  .nayami__list li { gap: 2px; font-size: 14px; }
  .nayami__list img { width: 20px; height: 20px; }

  .dekiru { padding: 64px 0; }
  .dekiru .sec-title { margin-bottom: 48px; }
  .dekiru__grid { grid-template-columns: 320px; }
  .dekiru__card h3 { font-size: 16px; }
  .dekiru__card p { font-size: 14px; }
  .dekiru .btn-center { margin-top: 48px; }
  .corp { margin-top: 48px; padding: 24px; }
  .corp__title { font-size: 16px; }
  .corp__text { font-size: 14px; }
  .corp .btn-center { margin-top: 32px; }

  .flow { padding: 64px 0 64.5px; }
  .flow .sec-head { margin-bottom: 48px; }
  .flow__step { height: 56px; padding: 0 16px; }
  .flow__step img { width: 24px; height: 24px; }
  .flow__num { margin-left: 12px; font-size: 16px; }
  .flow__label { font-size: 16px; }
  .flow__arrow { width: 16px; height: 9px; margin: 16px auto; }

  .profile { padding: 64px 0 63px; }
  .profile .profile__inner { padding: 0 32px; }
  .profile__row { gap: 48px; }
  .profile__photo { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .profile__id { text-align: center; }
  .profile__name { margin-top: 18px; font-size: 20px; }
  .profile__roman { font-size: 12px; }
  .profile__h { font-size: 14px; line-height: 1.6; }
  .profile__h--career { margin-top: 18px; }
  .profile__h--skill { margin-top: 19px; }
  .profile__text { margin-top: 2px; font-size: 14px; line-height: 1.6; }
  .profile__skills { flex-direction: column; gap: 0; margin-top: 2px; font-size: 14px; line-height: 1.6; }
  .profile__skills p:first-child { width: auto; }
  .profile__divider { margin-top: 12px; }
  .message { margin-top: 52px; }
  .message__title { margin-top: 18px; font-size: 16px; }
  .message__text { margin-top: 18px; font-size: 14px; }

  .reason { padding: 64px 0 64px; }
  .reason .sec-head { margin-bottom: 48px; }
  .reason__grid { flex-direction: column; align-items: center; row-gap: 49.25px; }
  .reason__item { width: 100%; padding: 0 32px; }
  .reason__item img { width: 163px; height: 163px; margin: 0 auto; }
  .reason__item h3 { font-size: 16px; line-height: 1.6; }
  .reason__item p { margin-top: 15px; font-size: 14px; line-height: 1.6; }
  .reason__item p.tight { line-height: 1.4; }

  .voice { padding: 64px 0 64px; }
  .voice .wrap-narrow { padding: 0 32px; }
  .voice .sec-head { margin-bottom: 46px; }
  .voice__list { gap: 48px; }
  .voice__item { flex-direction: column; gap: 8px; }
  .voice__who p { font-size: 13px; }
  .voice__who p.small { font-size: 12px; }
  .voice__bubble { width: 100%; font-size: 14px; }
  .voice__bubble h3 { font-size: 14px; }

  .cta { padding: 64px 16px; }
  .cta__title { font-size: 16px; }
  .cta__text { margin-top: 18px; font-size: 12px; }
  .cta .btn-pill { margin-top: 18px; font-size: 14px; padding: 12px 28px; }

  .faq { padding: 44px 0 44px; }
  .faq .sec-head { margin-bottom: 28px; }
  .faq__item { padding: 16px 0; }
  .faq__q { font-size: 14px; }
  .faq__item h3 { font-size: 14px; }
  .faq__item p { margin-top: 4px; font-size: 14px; }

  .blog { padding: 64px 0 62px; }
  .blog .wrap { padding: 0 32px; }
  .blog .sec-head { margin-bottom: 48px; }
  .blog__list { flex-direction: column; gap: 49px; }
  .blog-card { width: 100%; }
  .blog-card time { font-size: 12px; }
  .blog-card p { font-size: 14px; }
  .blog .btn-center { margin-top: 49px; }

  .contact { padding: 64px 0 64px; }
  .contact .sec-head { margin-bottom: 48px; }
  .contact__lead { margin-bottom: 48px; font-size: 14px; }
  .form__submit { font-size: 14px; padding: 8px 28px; }

  .site-footer { padding: 20px 0; }
  .site-footer__top { flex-direction: column; align-items: center; }
  .site-footer__brandcol { display: flex; flex-direction: column; align-items: center; }
  .footer-brand { width: 218px; }
  .footer-brand span { font-size: 14px; }
  .footer-nav { margin-top: 48px; }
  .footer-sns, .site-footer .btn-pill--sm { margin-top: 24px; }
  .site-footer__bottom { gap: 8px; }
}

/* =========================================================
   サブページ共通
   ========================================================= */
.page-head {
  height: 300px;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--bg-warm);
  text-align: center;
}
.page-head__en { font-family: var(--display); font-size: 18px; line-height: 1; letter-spacing: .5px; color: var(--accent); }
.page-head__en--tall { line-height: 1.4; }
.page-head h1, .page-head__title { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.page-body { padding: 96px 0; background: var(--bg); }
.page-body--tight { padding-bottom: 96px; }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 34px;
  border: 2px solid var(--accent);
  border-radius: 24px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: opacity .3s var(--ease);
}
.btn-back:hover { opacity: .7; }
.btn-back .fa { font-size: 16px; }

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 6px 36px;
  border-radius: 24px;
  background: #f5f5f5;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.btn-more[hidden] { display: none; }
.is-extra { display: none; }
.show-all .is-extra { display: revert; }

/* ---------- サービス・料金 ---------- */
.svc__lead { font-family: var(--serif); font-size: 18px; line-height: 24px; color: var(--ink); text-align: center; }
.svc__list { margin-top: 80px; display: flex; flex-direction: column; gap: 80px; }
.svc__item { display: flex; gap: 64px; align-items: flex-start; }
.svc__item img { width: 200px; height: 200px; flex: none; }
.svc__item--rev { flex-direction: row-reverse; justify-content: space-between; }
.svc__text { width: 536px; font-family: var(--serif); color: var(--ink); }
.svc__text .svc__num { margin-top: 0; font-family: var(--num); font-size: 36px; font-weight: 500; line-height: 1; color: var(--accent); }
.svc__text h2 { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 24px; }
.svc__text p { margin-top: 8px; font-size: 16px; line-height: 24px; }
.price { margin-top: 64px; padding: 64px 100px; border-radius: 10px; background: var(--bg-warm); }
.price h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1; color: var(--ink); text-align: center; }
.price__rows { margin-top: 64px; font-family: var(--sans); font-weight: 700; color: var(--ink); }
.price__row { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid var(--line); }
.price__name { display: flex; align-items: center; gap: 6px; font-size: 18px; line-height: 24px; }
.price__name small { font-size: 16px; line-height: 24px; }
.price__fee { display: flex; align-items: center; gap: 15px; }
.price__time { font-size: 18px; line-height: 24px; }
.price__yen { font-size: 20px; line-height: 24px; }
.price__yen--tall { line-height: 28px; }
.price__note { width: 496px; margin: 32px auto 0; font-family: var(--sans); font-size: 16px; line-height: 24px; color: var(--ink); }
.price .btn-center { margin-top: 64px; }
.svc__back { margin-top: 64px; }

/* ---------- 送信完了 ---------- */
.thanks { padding: 96px 40px; text-align: center; background: var(--bg); }
.thanks__big { font-family: var(--display); font-size: 104px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.thanks__text { margin-top: 64px; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.thanks .btn-center { margin-top: 64px; }

/* ---------- お知らせ一覧 ---------- */
.list-news { border-top: 1px solid var(--line); }
.list-news .news-list { border-top: 0; }
.list-more { margin-top: 32px; display: flex; justify-content: center; }
.list-back { margin-top: 64px; }

/* ---------- ブログ一覧 ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 300px); justify-content: space-between; row-gap: 50px; align-items: start; }

/* ---------- 記事 ---------- */
.article { width: 100%; max-width: 800px; margin: 0 auto; }
.article__date { display: block; font-family: var(--num); font-size: 16px; line-height: 1; color: var(--sub); }
.article--news .article__date { color: var(--accent); }
.article__title { margin-top: 4px; font-family: var(--sans); font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.article__eye { margin-top: 48px; width: 100%; height: auto; }
.article .rt { margin-top: 48px; }
.article__back { margin-top: 64px; }

/* 記事本文（Studio の本文と同じ書式） */
.rt { display: flow-root; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); }
.rt > :first-child { margin-top: 10px; }
.rt p, .rt h2, .rt h3, .rt h4, .rt hr, .rt blockquote { margin: 10px 0; }
.rt p:empty { min-height: 1em; }
.rt h2 { font-size: 18px; font-weight: 700; line-height: 1.6; }
.rt h3 { font-size: 16px; font-weight: 700; line-height: 1.6; }
.rt strong { font-size: 18px; font-weight: 700; }
.rt em { font-style: italic; }
.rt a { color: #007cff; text-decoration: underline; }
.rt ul, .rt ol { margin: 0 0 0 20px; padding: 0; }
.rt ul { list-style: disc; }
.rt ol { list-style: decimal; }
.rt li { margin: 10px 0; }
.rt li p { margin: 0; }
.rt hr { border: 0; border-top: 1px solid #ccc; height: 0; }
.rt blockquote { padding: 10px 15px; border-left: 3px solid rgba(0, 0, 0, .15); font-style: italic; }
.rt figure { margin: 0; }
.rt figure img { display: block; width: 100%; height: auto; }
.rt figcaption:empty { display: none; }
.rt img { max-width: 100%; height: auto; }
.rt .toc { margin: 0; padding: 24px 24px 8px; border-radius: 2px; background: #f5f5f5; color: #616161; font-size: 16px; line-height: 1; }
.rt .toc__list { margin: 0; list-style: none; }
.rt .toc__item { margin: 0 0 16px; padding-left: 32px; line-height: 1; }
.rt .toc__item--3 { padding-left: 64px; }
.rt .toc__item a { color: #616161; text-decoration: none; }
.rt--policy h2 { font-size: 24px; }
.rt--policy a { color: var(--ink); }

/* ---------- サブページ：タブレット ---------- */
@media (max-width: 960px) {
  .svc__lead { font-size: 15px; }
  .svc__item { gap: 64px; }
  .svc__text { width: 424px; }
  .svc__text .svc__num { font-size: 28px; }
  .svc__text h2 { font-size: 15px; }
  .svc__text p { font-size: 14px; }
  .price { padding: 64px 40px; }
  .price__row--student .price__name { flex-direction: column; align-items: flex-start; gap: 0; }
  .price__note { width: 496px; }
  .price .btn-pill--lg { font-size: 15px; }
  .btn-back { font-size: 14px; }
  .btn-back .fa { font-size: 14px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); column-gap: 50px; }
  .article { padding: 0 40px; max-width: none; }
}

/* ---------- サブページ：スマホ ---------- */
@media (max-width: 480px) {
  .page-head { height: 200px; padding-top: 48px; gap: 2px; }
  .page-head__en { font-size: 12px; letter-spacing: .4px; }
  .page-head h1, .page-head__title { font-size: 20px; }
  .page-body { padding: 64px 0; }
  .btn-back { height: 34px; padding: 0 26px; font-size: 14px; }
  .btn-back .fa { font-size: 14px; }

  .svc__lead { font-size: 12px; }
  .svc__list { margin-top: 48px; gap: 48px; }
  .svc__item, .svc__item--rev { flex-direction: column; align-items: center; gap: 16px; }
  .svc__text { width: 100%; padding: 0 16px; }
  .svc__item--pad48 .svc__text { padding: 0 32px; }
  .svc__text .svc__num { font-size: 20px; }
  .svc__text h2 { margin-top: 2px; font-size: 16px; }
  .svc__text p { margin-top: 2px; font-size: 14px; }
  .price { margin-top: 48px; padding: 28px 16px; }
  .price h2 { font-size: 20px; }
  .price__rows { margin-top: 28px; }
  .price__row { padding: 12px 0; }
  .price__name { font-size: 14px; }
  .price__name small { font-size: 12px; }
  .price__fee { gap: 12px; }
  .price__time { font-size: 14px; }
  .price__yen { font-size: 16px; }
  .price__note { width: auto; margin-top: 14px; font-size: 12px; }
  .price .btn-center { margin-top: 28px; }
  .price .btn-pill--lg { font-size: 14px; padding: 12px 28px; }
  .svc__back { margin-top: 48px; }

  .thanks { padding: 64px 16px; }
  .thanks__big { font-size: 36px; }
  .thanks__text { margin-top: 32px; font-size: 14px; }
  .thanks .btn-center { margin-top: 32px; }

  .list-news-wrap { padding: 0 32px; }
  .blog-grid { grid-template-columns: 1fr; row-gap: 50px; }

  .article { padding: 0 16px; }
  .article__date { font-size: 12px; }
  .article__title { margin-top: 2px; font-size: 18px; }
  .article__eye { margin-top: 24px; }
  .article .rt { margin-top: 24px; }
  .article__back { margin-top: 64px; }

  .rt { font-size: 13px; }
  .rt p { font-size: 14px; }
  .rt li p { font-size: inherit; }
  .rt h2 { font-size: 16px; }
  .rt h3 { font-size: 14px; }
  .rt strong { font-size: 13px; }
  .article--news .rt, .rt--policy { font-size: 14px; }
  .rt--policy h2 { font-size: 18px; }
}
.policy-link { margin-top: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); }
.policy-link a { text-decoration: underline; }
@media (max-width: 480px) { .policy-link { font-size: 14px; } }
.article .rt--policy { margin-top: 0; }

/* ---------- サブページの微調整（今のサイトの寸法に合わせる） ---------- */
.blog-card p { margin-top: 8px; }
.page-blog .list-more { margin-top: 44px; }
@media (max-width: 960px) {
  .rt strong { font-size: 15px; line-height: 24px; }
  .thanks__big { font-size: 64px; }
  .thanks__text { margin-top: 48px; font-size: 16px; }
  .thanks .btn-center { margin-top: 48px; }
}
@media (max-width: 480px) {
  .page-head { padding-top: 60px; }
  .list-wrap { padding: 0 32px; }
  .page-news .news-list a { padding: 9px 0; }
  .rt strong { font-size: 13px; line-height: 1.6; }
  .policy-link { margin-top: 8px; }
  .page-privacypolicy .article__back { margin-top: 48px; }
  .list-back { margin-top: 48px; }
  .page-blog-article .article__back, .page-news-article .article__back { margin-top: 48px; }
  .thanks__big { font-size: 36px; }
  .thanks__text { margin-top: 32px; font-size: 14px; }
  .thanks .btn-center { margin-top: 32px; }
}
/* お悩みリスト：2行になったとき、チェックの印は1行目にそろえる */
.nayami__list li { align-items: flex-start; }
.nayami__list img { margin-top: 4px; }
@media (max-width: 960px) { .nayami__list li { padding-top: 1px; } .nayami__list img { margin-top: -1px; } }
@media (max-width: 480px) { .nayami__list li { padding-top: 0; } }
@media (max-width: 480px) { .nayami__list img { margin-top: 1px; } }
@media (max-width: 480px) { .rt blockquote p { font-size: inherit; } }
/* 記事本文：今のサイトと同じく、本文中の要素は単語の間隔+1px、長い語は途中で折り返さない */
.rt > * { word-spacing: 1px; }
.rt p, .rt a, .rt h2, .rt h3, .rt li, .rt strong, .rt em, .rt span { overflow-wrap: normal; }
