/* leideas.co.jp ── 元サイト（WordPress＋Elementor）の見た目を実測して写したもの。
   値の出どころは _spec/ の実測。直したら inc/site.php の ASSET_VER を変える。 */

/* ---------------------------------------------------------------- 書体 */
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 400; font-display: swap; src: url(/assets/font/zen-400.woff2) format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 500; font-display: swap; src: url(/assets/font/zen-500.woff2) format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 600 700; font-display: swap; src: url(/assets/font/zen-700.woff2) format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 900; font-display: swap; src: url(/assets/font/zen-900.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 300; font-display: swap; src: url(/assets/font/noto-sans-300.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 400; font-display: swap; src: url(/assets/font/noto-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 500; font-display: swap; src: url(/assets/font/noto-sans-500.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 700; font-display: swap; src: url(/assets/font/noto-sans-700.woff2) format("woff2"); }
@font-face { font-family: "Noto Serif JP"; font-weight: 600; font-display: swap; src: url(/assets/font/noto-serif-600.woff2) format("woff2"); }
@font-face { font-family: "Noto Serif JP"; font-weight: 700; font-display: swap; src: url(/assets/font/noto-serif-700.woff2) format("woff2"); }

:root {
  --yellow: #dde043;
  --navy: #1e293b;
  --text: #404040;
  --ink: #111;
  --gray: #555;
  --olive: #7a7d00;
  --green: #00a082;
  --blue: #060097;
  --zen: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --pad: 80px;                      /* 節の左右の余白（タブレット50・スマホ30） */
  --vpad: 50px;                     /* 節の上下の余白（スマホ30） */
}

/* ---------------------------------------------------------------- 土台 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--zen); font-size: 18px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------------------------------------------------------------- 共通の部品 */
.btn {
  display: inline-block; padding: 17px 40px; border-radius: 100px;
  background: var(--yellow); color: #1b1d08;
  font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .5px; text-align: center;
  transition: background-color .3s, color .3s, transform .3s;
}
.btn:hover { background: #fff; color: var(--text); }
.btn--s { padding: 11px 24px; font-size: 13.5px; }

/* 節の英字ラベル（元サイトは ZCOOL XiaoWei 指定だが読み込まれておらず、Noto Sans JP で出ていた） */
.label { font-family: var(--sans); font-size: 20px; line-height: 1.3; letter-spacing: 1.6px; color: var(--olive); text-align: center; }
.label--start { font-family: var(--zen); text-align: left; }
.label--green { font-size: 17px; line-height: 1.2; letter-spacing: 2.2px; color: var(--green); }
.label--yellow { font-size: 17px; line-height: 1.2; letter-spacing: 2px; color: #f2f470; }

.shead { text-align: center; }
.shead__title { margin-top: 6px; font-family: var(--sans); font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: 3px; color: var(--ink); }
.shead__lead { font-family: var(--sans); font-size: 17px; font-weight: 300; line-height: 1.9; color: var(--gray); }

/* 節（みらい会議の各セクション）。元サイトは各節が画面の高さいっぱい、中身は上下中央 */
.sec {
  min-height: 100vh; padding: var(--vpad) var(--pad);
  display: flex; flex-direction: column; justify-content: center;
}

/* 画面の外にある節は、見えるまでレイアウトの計算を後回しにする（長いページの初回表示を軽くする） */
.news, .vision, .how, .schedule, .members, .join, .partners, .contact { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* スクロールで現れる（1種類だけ。JS が無い環境では最初から出す） */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* スマホのメニューボタン（三本線 ⇔ ×） */
.menu-toggle {
  display: none; position: relative; z-index: 3; width: 44px; height: 44px; margin: 0 -10px 0 auto; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.menu-toggle--light { color: #fff; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute; left: 50%; width: 20px; height: 2.5px; margin-left: -10px; background: currentColor; border-radius: 1px;
  transition: transform .3s, opacity .3s, background-color .3s;
}
.menu-toggle__bars { top: 50%; margin-top: -1.25px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; margin-left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- フッター */
.foot { background: var(--yellow); padding: 30px 40px; text-align: center; }
.foot__copy { font-size: 18px; line-height: 1.65; color: var(--text); }

/* ================================================================ トップ（/） */
.is-top { display: flex; flex-direction: column; min-height: 100vh; }
.thead { display: flex; align-items: center; padding: 15px 15px 0; }
.thead__logo img { width: 75px; }
.tnav { margin-left: auto; }
.tnav__list { display: flex; }
.tnav__list a {
  display: block; padding: 9px 18px; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--ink);
  transition: color .3s;
}
.tnav__list a:hover { color: var(--blue); }
.tmain { display: flex; align-items: center; min-height: calc(80vh - 90px); padding: 0 15px 45px 34px; }
.is-top .foot { margin-top: auto; }
.tmain__name { font-size: 70px; font-weight: 900; line-height: 1.4; color: var(--navy); }
/* 社名は右から風のように流れて現れる（元サイトの部品の「カスタムCSS」wind-effect をそのまま写した） */
.tmain__name { opacity: 0; filter: blur(10px); transform: translateX(50px); animation: wind-in 1.5s ease-out forwards; }
@keyframes wind-in { to { opacity: 1; filter: blur(0); transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .tmain__name { opacity: 1; filter: none; transform: none; animation: none; } }

/* ================================================================ みらい会議（/mirai-kaigi） */
/* ---- ヒーロー */
.hero {
  position: relative; min-height: 100vh; padding: 0 var(--pad);
  display: flex; flex-direction: column; justify-content: center;
  background: url(/assets/img/hero-students.webp) center / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(137deg, var(--navy) 35%, var(--yellow) 100%); opacity: .7;
}
.hero > * { position: relative; }
.mhead {
  position: absolute; top: 15px; left: 0; right: 0; z-index: 5; min-height: 10vh;
  display: flex; align-items: center; padding: 0 var(--pad);
}
.mhead__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.mhead__brand img { width: clamp(53px, 5.25vw, 100px); }
.mhead__brand span { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: 1px; color: #fff; }
.mnav { margin-right: 18px; }
.mnav__list { display: flex; }
.mnav__list a { display: block; padding: 9px 18px; font-size: 16px; font-weight: 500; line-height: 24px; color: #fff; transition: color .3s; }
.mnav__list a:hover, .mnav__list a.is-first { color: var(--yellow); }
.hero__title { font-family: var(--serif); font-size: 58px; font-weight: 600; line-height: 1.3; letter-spacing: 2px; }
.hero__lead { margin: 10px 0 30px; font-family: var(--sans); font-size: 19px; font-weight: 300; line-height: 1.8; }

/* ---- ABOUT */
.about { flex-direction: row; align-items: center; justify-content: flex-start; gap: 30px; }
.about__text, .about__img { flex: 1 1 0; min-width: 0; }
.about__title { margin: 6px 0 0; font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: 3px; color: var(--ink); }
/* 元は 300 指定だが、Zen の 300 を読み込んでおらず 400 で出ていた。見えていた方に合わせる */
.about__body p { margin-bottom: 1.6em; font-size: 16px; font-weight: 400; line-height: 1.9; color: var(--gray); }
.checks { margin-top: 0; }
.checks li { display: flex; align-items: center; gap: 4px; padding-bottom: 7px; font-size: 18px; line-height: 1.65; color: var(--ink); }
.checks li + li { padding-top: 7px; }
.checks svg { flex: none; width: 15px; height: 15px; fill: #7a7d00; margin-right: 5px; }
.about__img { width: 100%; border-radius: 20px; aspect-ratio: 1024 / 682; object-fit: cover; }

/* ---- NEWS */
.news { justify-content: flex-start; background: linear-gradient(180deg, var(--yellow) 0%, #fff 40%); }
.news .shead__title { font-size: 34px; }
.news__cols { display: flex; gap: 30px; margin-top: 50px; align-items: center; }
.news__media, .news__list { flex: 1 1 0; min-width: 0; }
.news__pair { display: flex; align-items: center; }
.news__dr { width: 245px; flex: none; }
.news__x { flex: none; width: 55px; padding: 0 2px; }
.news__x svg { width: 50px; height: 50px; fill: #000; }
.news__car { flex: 1; margin-left: 20px; }
.news__car img { width: 100%; }
.news__car figcaption { margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.news__note { margin-top: 10px; font-size: 18px; line-height: 1.3; color: var(--navy); }
.news__list { display: flex; flex-direction: column; gap: 25px; }
.post-card {
  display: flex; flex-direction: column; padding: 7px; border: 1px solid var(--yellow); border-radius: 30px; background: #fff;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, .5); transition: box-shadow .25s;
}
.post-card:hover { box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, .84); }
.post-card__title { padding: 13px 13px 0 15px; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--text); }
.post-card__title a { color: var(--text); transition: color .2s; }
.post-card__date { padding: 0 15px; font-size: 16px; line-height: 1.3; color: #54595f; }
.post-card__more { align-self: flex-start; margin: 17px 15px 13px; font-size: 12px; font-weight: 700; line-height: 1.65; color: var(--text); }

/* ---- VISION */
.vision { background: linear-gradient(180deg, #fbfbe9 30%, #eef7f4 100%); }
.vision__title { margin-top: 1px; font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1.6; letter-spacing: 2px; color: var(--green); }
.vision__illust { display: flex; align-items: flex-end; gap: 10px; margin-top: 50px; }
.vision__illust img { flex: 1 1 0; min-width: 0; object-fit: contain; }
.vision__side { height: 147px; }
.vision__center { height: 277px; }

/* ---- HOW IT WORKS */
.how { background: linear-gradient(180deg, #eef7f4 30%, #fbfbe9 100%); }
.steps { display: flex; gap: 30px; margin-top: 10px; }
.step {
  flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid #eee; border-radius: 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .05); overflow: hidden; padding-bottom: 4px;
}
.step__img { width: 100%; height: 200px; object-fit: cover; }
.step__body { padding: 10px 20px 0; }
.step__no { font-family: var(--sans); font-size: 14px; line-height: 1.2; letter-spacing: 1.6px; color: var(--olive); }
.step__title { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: 1px; color: var(--ink); }
.step__lead { font-family: var(--sans); font-size: 15.5px; font-weight: 300; line-height: 1.8; color: var(--gray); }
.step__list dt { margin-top: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.step__list dd { font-size: 16px; line-height: 1.65; color: var(--text); padding-bottom: 1.6em; }
.step__lead { padding-bottom: 1.6em; }

/* ---- SCHEDULE */
.events { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 30px; }
.events__head { margin-right: 0; font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: .5px; color: var(--ink); }
.chip {
  display: inline-block; padding: 11px 22px; border: 1px solid #eee; border-radius: 100px; background: #fff;
  font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: .5px; color: var(--ink);
  transition: background-color .3s;
}
.chip:hover { background: var(--yellow); }
.tl { position: relative; }
.tl__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 5);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  cursor: grab;
}
.tl__track::-webkit-scrollbar { display: none; }
.tl__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.tl__track.is-drag * { pointer-events: none; }
.tl__item { scroll-snap-align: start; display: flex; flex-direction: column; text-align: center; user-select: none; }
.tl__date { font-size: 18px; line-height: 1.65; color: var(--text); }
.tl__rail { position: relative; display: block; height: 60px; }
.tl__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: #d6d6d6; }
.tl__rail::after { content: ""; position: absolute; left: 50%; top: 10px; width: 2px; height: 50px; margin-left: -1px; background: #d6d6d6; }
.tl__dot { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--text); }
.tl__card { margin: 0 15px; padding: 20px; border-radius: 30px; background: #eee; }
.tl__card.is-hi { background: var(--yellow); }
.tl__title { font-size: 21px; font-weight: 700; line-height: 1.65; color: var(--text); }
.tl__text { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--text); }
.tl__dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; min-height: 30px; align-items: center; }
.tl__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c6c6c6; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05); position: relative;
}
.tl__dots button::after { content: ""; position: absolute; inset: -10px; }   /* 押しやすく */
.tl__dots button[aria-current="true"] { background: #000; }

/* ---- MEMBERS */
.members { background: linear-gradient(180deg, #fbfbe9 0%, #eef7f4 100%); }
.members__group { margin: 40px 0 10px; font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--navy); text-align: center; }
.shead + .members__group { margin-top: 20px; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.logos__item { height: 200px; background: #fff; border: 1px solid #ddd; }
.logos__item a, .logos__item span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 40px; }
.logos__item img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }

/* ---- JOIN US */
.join {
  position: relative; min-height: 100vh; padding: var(--vpad) var(--pad);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  background: #000 url(/assets/img/graduation.webp) center / cover no-repeat; color: #fff;
}
.join::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .6; }
.join__inner { position: relative; }
.join__title { margin-top: 18px; font-family: var(--serif); font-size: 38px; font-weight: 700; line-height: 1.5; letter-spacing: 2px; }
.join__lead { margin: 18px 0 1.6em; font-family: var(--sans); font-size: 18px; font-weight: 300; line-height: 1.9; }
.join__text { margin: 18px 0 calc(1.6em + 18px); font-family: var(--sans); font-size: 16px; font-weight: 300; line-height: 1.8; }

/* ---- FOR PARTNERS */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 36px; }
.benefit {
  display: flex; flex-direction: column; gap: 10px; padding: 36px 28px 32px; background: #fff;
  border: 1px solid #eee; border-radius: 30px; box-shadow: 0 14px 34px rgba(0, 0, 0, .05); min-height: 362px;
}
.benefit__icon { display: flex; justify-content: center; height: 40px; }
.benefit__icon svg { height: 32px; width: auto; fill: var(--blue); }
.benefit__title { font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .3px; color: var(--ink); }
.benefit__text { font-family: var(--sans); font-size: 14px; font-weight: 300; line-height: 1.85; color: var(--gray); }

/* ---- CONTACT */
.contact { align-items: center; }
.contact .shead { max-width: 100%; }
.form-box {
  width: 100%; margin-top: 40px; padding: 40px; background: #fbfdf3; border: 1px solid #eee; border-radius: 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .05); display: flex; flex-direction: column; gap: 18px;
}
.form-box__title { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: .5px; color: var(--ink); }
.form-box__lead { font-family: var(--sans); font-size: 16px; font-weight: 300; line-height: 1.9; color: var(--gray); }
.form-box__note { font-family: var(--sans); font-size: 13.5px; line-height: 1.9; color: #878787; text-align: center; }
.form-msg { padding: 14px 18px; border-radius: 8px; font-size: 16px; line-height: 1.6; }
.form-msg--ok { background: #eef7f4; color: #0b5a45; }
.form-msg--ng { background: #fdeaea; color: #9b1c1c; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: flex; flex-direction: column; }
.form__row > label, .form__label { padding-bottom: 2px; font-size: 22px; font-weight: 500; line-height: 28px; letter-spacing: 1.1px; color: var(--navy); }
.req { margin-left: 12px; color: #d00; font-size: 20px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 5px 14px; border: 1px solid #69727d; border-radius: 3px; background: #fff; color: #1f2124;
  font-size: 18px; line-height: 28px; letter-spacing: .9px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.form input { height: 40px; }
.form textarea { height: 124px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: #999; }
.form__check { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; letter-spacing: 1.1px; color: var(--navy); cursor: pointer; }
.form__check input { width: 14px; height: 14px; margin: 0; accent-color: #0075ff; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { text-align: center; margin-top: 10px; }
.btn--submit {
  min-width: 260px; height: 40px; padding: 0 40px; border: 2px solid var(--yellow); cursor: pointer;
  font-family: var(--zen); font-size: 18px; font-weight: 700; line-height: 28px; letter-spacing: .9px; color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.btn--submit:hover { background: #fff; color: var(--text); }
.btn--submit:disabled { opacity: .6; cursor: wait; }

/* ================================================================ お知らせの記事（/archives/<ID>） */
.post { width: 100%; max-width: 620px; margin: 0 auto; padding: 117px 0 70px; flex: 1; }
.is-post { display: flex; flex-direction: column; min-height: 100vh; }
.post__title { font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--navy); }
.post__date { margin-top: 15px; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--blue); }
.post__body { margin-top: 35px; font-size: 18px; line-height: 1.65; }
.post__body p { margin-bottom: 1.6em; }
.post__body a { color: var(--blue); text-decoration: underline; word-break: break-all; }
.post__body figure { margin: 0 0 30px; }
.post__body img { box-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.post__back { margin-top: 20px; font-size: 16px; }
.post__back a { color: var(--blue); text-decoration: underline; }
.post-nav { display: flex; margin: 33px -45px 0; padding-top: 36px; }
.post-nav > div { flex: 1 1 0; min-width: 0; padding: 0 20px 0 0; }
.post-nav__next { text-align: right; border-left: 1px solid #ddd; padding: 0 0 0 20px !important; }
.post-nav a { display: block; }
.post-nav__label { display: block; font-size: 13.6px; font-weight: 600; letter-spacing: .68px; line-height: 16px; margin-bottom: 18px; }
.post-nav__title { display: block; max-width: 264px; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.post-nav a:hover .post-nav__title { color: var(--blue); }

/* ================================================================ タブレット（1024px 以下） */
@media (max-width: 1024px) {
  :root { --pad: 50px; }
  body { font-size: 16.416px; }
  .about { flex-direction: column-reverse; align-items: stretch; gap: 30px; }
  .about__text, .about__img { flex: none; }
  .news__cols, .steps { flex-direction: column; }
  .news__cols > *, .steps > * { flex: none; width: 100%; }
  .benefits { grid-template-columns: 1fr; gap: 10px; }
  .benefit { min-height: 0; }
  .post { padding-left: 25px; padding-right: 25px; }
  .post-nav { margin-left: -16px; margin-right: -16px; }

  /* メニューはボタンで開く（元サイトもタブレットから切り替わる） */
  .menu-toggle { display: block; }
  .tnav, .mnav {
    position: absolute; left: 0; right: 0; z-index: 2; margin: 0;
    background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .tnav.is-open, .mnav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .tnav__list, .mnav__list { display: block; text-align: right; }
  .tnav__list a, .mnav__list a { padding: 8.2px 16.4px; font-size: 16.416px; line-height: 1.5; color: #1f2124; }
  .mnav__list a.is-first { color: #1f2124; }
  .tnav { top: 60px; box-shadow: none; }
  .thead { position: relative; }
  .mnav { top: calc(100% - 15px); }
  .mhead__contact { display: none; }
}
/* タブレットの文字の大きさ（元サイトの実測・900px） */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero__title { font-size: 45px; }
  .mhead__brand { max-width: 240px; }
  .mhead__brand img { width: 41px; }
  .about__title, .shead__title, .news .shead__title { font-size: 25px; }
  .vision__title, .join__title { font-size: 30px; }
  .checks li { padding: 7px 0; }
  .news__dr { width: 242px; }
  .news__car { flex: none; width: 340px; margin-left: auto; }
  .logos--city li:nth-child(1) { order: 2; }
  .logos--city li:nth-child(2) { order: 1; }
  .logos--city li:nth-child(3) { order: 3; }
  .events { justify-content: flex-start; }
}
/* スケジュールは元の Owl Carousel と同じく 980px 未満で3枚 */
@media (max-width: 979px) {
  .tl__track { grid-auto-columns: calc(100% / 3); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .mhead__contact { display: inline-block; margin-left: 16px; }
}

/* ================================================================ スマホ（767px 以下） */
@media (max-width: 767px) {
  :root { --pad: 30px; --vpad: 30px; }
  .foot { padding: 31px 15px 32px; }
  .foot__copy { font-size: 16.416px; }

  .thead { padding: 15px 15px 0; min-height: 60px; }
  .thead__logo img { width: 54px; }
  .tmain__name { font-size: 30px; }

  .mhead { top: 15px; }
  .mhead__brand { gap: 5px; max-width: calc(100% - 60px); }
  .mhead__brand img { width: 53px; }
  .hero__title { font-size: 27px; line-height: 1.3; }
  .hero__lead { font-size: 16px; }

  .about__title { font-size: 22px; }
  .checks li { font-size: 16.416px; line-height: 1.65; }
  .shead__title, .news .shead__title { font-size: 22px; }
  .news .shead__title { font-size: 25px; line-height: 1.3; }
  .news__cols { margin-top: 50px; gap: 40px; }
  .news__pair { flex-direction: column; }
  .news__dr { width: 149px; }
  .news__x { margin: 10px 0 0; }
  .news__car { margin: 10px 0 0; width: 100%; text-align: center; }
  .news__note { margin-top: 60px; }
  .news__list { gap: 20px; }
  .post-card__title { font-size: 16px; }
  .post-card__date { font-size: 13px; }

  .vision__title { font-size: 22px; }
  .vision__illust { margin-top: 20px; }
  .vision__side { display: none; }
  .vision__center { height: auto; }

  .step__body { padding: 10px 20px 0; }

  .events { flex-direction: column; gap: 15px; }
  .tl__track { grid-auto-columns: 100%; }
  .tl__card { margin: 0 15px; }

  .members__group { font-size: 30px; }
  .logos { grid-template-columns: 1fr; }
  .logos--city li:nth-child(1) { order: 2; }   /* スマホは 水戸・ひたちなか・笠間 の順（元サイトのまま） */
  .logos--city li:nth-child(2) { order: 1; }
  .logos--city li:nth-child(3) { order: 3; }

  .join__title { font-size: 22px; }
  .join__lead { font-size: 16px; }

  .benefit { min-height: 300px; }
  .benefit__text { font-size: 16px; }

  .contact .shead { text-align: left; }
  .contact .label { text-align: center; }
  .form-box { padding: 15px; }
  .form-box__lead { margin-bottom: 20px; }
  .form__row > label, .form__label { font-size: 18px; }
  .form__check { font-size: 13.5px; letter-spacing: .5px; }
  .btn--submit { min-width: 230px; }

  .post { padding: 90px 25px 50px; }
  .post__title { font-size: 29px; }
  .post__date { font-size: 12px; }
  .post__body { font-size: 16.416px; }
  .post-nav { margin: 25px 0 0; }
  .post-nav__title { display: none; }
}
