/* =========================================================================
   インフォメーション（info.misawa-tokokoto.com の親ページ）
   - ヘッダー／フッターは公式HPのもの（_legacy_handbuild/css/site.css 由来）
   - 色・フォント・カードなどのコンポーネントは視察プランナー
     （observation.misawa-tokokoto.com / misawa-observation の app.css）に合わせる
     ＝ 白カード + 2px墨枠 + 角丸0 + フラット / ＼ ／斜線見出し / 2px点線罫線 /
        りいクッキー手書き見出し / イチョウ色（#c79a3b）アクセント
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }

/* 本文の基本値は視察プランナー（app.css）と同一 */
body {
  margin: 0; background: var(--color-bg); color: var(--color-ink);
  font-family: var(--font-body); font-size: 13.5px; font-weight: var(--body-weight);
  line-height: 1.75; letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast), opacity var(--t-fast); }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--pad-x); }

/* ====================== ヘッダー（公式HPと同じ） ====================== */
/* 内側は .wrap と同じ「max-width 1080px＋左右pad-x」。こうしないと本文カードの
   左端とロゴの左端が揃わない。 */
.site-header { position: sticky; top: 0; z-index: 20; height: 103px; background: var(--color-bg); }
.site-header__in {
  height: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--pad-x) 14px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.logo { display: block; flex: none; }
.logo img { height: 78px; width: auto; }
.gnav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.gnav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.gnav__list a { font-size: 14px; font-weight: var(--fw-bold); letter-spacing: 0.15em; color: var(--color-ink); white-space: nowrap; }
.gnav__list a:hover { color: var(--color-hover); }
.booking-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 40px;
  background: var(--color-ink); border: 4px solid var(--color-ink); color: #fff; border-radius: var(--radius-button);
  font-family: var(--font-button); font-size: 14px; font-weight: var(--fw-bold); letter-spacing: 0.06em;
}
.booking-btn:hover { color: #fff; opacity: .85; }
.nav-toggle { display: none; background: none; border: 0; width: 36px; height: 30px; position: relative; padding: 0; }
.nav-toggle span { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--color-ink); transition: .3s; }
.nav-toggle span:nth-child(1) { top: 5px; }
.nav-toggle span:nth-child(2) { top: 14px; }
.nav-toggle span:nth-child(3) { top: 23px; }
.nav-toggle.open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

/* ====================== ページ見出し ====================== */
.page-head { text-align: center; padding: clamp(40px, 6vw, 72px) 0 0; }
.page-head__kicker {
  font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .18em;
  color: var(--color-accent-deep); margin: 0 0 8px;
}
.h-title {
  font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 40px); font-weight: 400;
  letter-spacing: 0.06em; color: var(--color-ink); line-height: 1.3; margin: 0; display: inline-block;
}
.h-deco { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; }
.h-deco::before { content: ""; width: 64px; height: 2px; background: var(--color-ink); }
.h-deco i { width: 4px; height: 4px; border-radius: 50%; background: var(--color-ink); display: block; }
.page-head__lead {
  max-width: 640px; margin: 22px auto 0; font-size: 13.5px; line-height: 2; letter-spacing: .06em;
  color: var(--color-ink);
}

/* ＼ ／ 斜線見出し（視察プランナーと同じ） */
.section { padding: clamp(34px, 5vw, 56px) 0 0; }
.section__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; margin-bottom: 18px; }
.h-slash {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 24px); font-weight: 400;
  letter-spacing: 0.05em; line-height: 1.2;
}
.h-slash::before { content: "＼"; }
.h-slash::after  { content: "／"; }
.section__lead { font-size: 12px; color: var(--color-sub); letter-spacing: .05em; }

/* ====================== ページ一覧カード ====================== */
/* ニュースリリース一覧と同じ「サムネ＋タイトル＋説明＋→」の並び。
   掲載が少ないうちは **2列**（4枚でちょうど2×2に収まり、サムネも大きく読める）。
   7枚を超えて2列だと縦に長すぎると感じたら、ここを repeat(3, minmax(0,1fr)) に上げる。 */
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 700px) { .plist { grid-template-columns: 1fr; gap: 12px; } }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-white); border: var(--border-card); border-radius: var(--radius-card);
  overflow: hidden; transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.pcard:hover, .pcard:focus-visible { box-shadow: 0 0 0 3px var(--color-accent); transform: translateY(-2px); outline: none; }
.pcard__media { position: relative; aspect-ratio: 800 / 419; overflow: hidden; background: #ddd; border-bottom: var(--border-card); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__cat {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--color-accent); color: #2a2113; border-radius: var(--radius-button);
  font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .06em; padding: 3px 9px;
}
.pcard__bd { padding: 12px 14px 40px; flex: 1; display: flex; flex-direction: column; }
.pcard__title { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.03em; line-height: 1.45; }
.pcard__excerpt { font-size: 11.5px; color: var(--color-sub); line-height: 1.85; margin-top: 6px; }
.pcard__url {
  font-size: 10.5px; color: var(--color-accent-deep); font-weight: var(--fw-bold);
  letter-spacing: .02em; margin-top: 10px; word-break: break-all;
}
.pcard__arw {
  position: absolute; right: 12px; bottom: 10px; font-size: 16px; color: var(--color-ink);
  transition: transform var(--t-fast);
}
.pcard:hover .pcard__arw { transform: translateX(4px); }

/* ====================== そのほかのリンク（サイトマップ代わり） ====================== */
.linkbox { background: var(--color-white); border: var(--border-card); padding: 6px 18px; }
.linkrow {
  display: flex; align-items: baseline; gap: 12px; padding: 11px 2px;
  border-bottom: var(--rule-dotted);
}
.linkrow:last-child { border-bottom: 0; }
.linkrow__k {
  font-family: var(--font-display); font-size: 13.5px; letter-spacing: .04em;
  min-width: 132px; flex-shrink: 0;
}
.linkrow__v { font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.linkrow__v a { border-bottom: 2px solid var(--color-accent); padding-bottom: 1px; font-weight: var(--fw-bold); }
.linkrow__v a:hover { opacity: .7; }
.ext { font-size: 10px; color: var(--color-accent-deep); margin-left: 3px; }
@media (max-width: 620px) {
  .linkrow { flex-direction: column; gap: 5px; }
  .linkrow__k { min-width: 0; }
}

.disc { font-size: 11px; color: var(--color-sub); line-height: 1.9; margin-top: 14px; text-align: center; }

/* ====================== フッター（公式HPと同じ） ====================== */
.site-footer { margin-top: clamp(60px, 8vw, 100px); background: var(--color-ink); color: #fff; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start;
  max-width: var(--content-max); margin: 0 auto; padding: 56px var(--pad-x);
}
.site-footer__logo img { height: 96px; width: auto; }
.site-footer__addr { text-align: right; }
.site-footer__addr .nm { font-size: 16px; font-weight: var(--body-weight); letter-spacing: 0.08em; margin: 0; }
.site-footer__addr .ad { font-size: 14px; font-weight: var(--body-weight); line-height: 1.9; color: var(--color-footer-text); margin: 12px 0 0; }
.site-footer__links { display: flex; align-items: center; gap: 18px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.site-footer__links a { font-size: 14px; font-weight: var(--body-weight); letter-spacing: 0.06em; color: #fff; }
.site-footer__links a:hover { opacity: .7; }
.site-footer__links .sep { color: rgba(255,255,255,.4); }
.ig { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; }
.ig svg { width: 16px; height: 16px; fill: #fff; }
.copyright { text-align: center; font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,.5); padding: 16px; border-top: 1px solid rgba(255,255,255,.1); margin: 0; }

/* ====================== スクロール演出 ====================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ====================== レスポンシブ ====================== */
@media (max-width: 760px) {
  .site-header { height: 72px; }
  .site-header__in { align-items: center; padding-bottom: 0; }
  .logo img { height: 50px; }
  .gnav__list, .booking-btn.is-desktop { display: none; }
  .nav-toggle { display: block; }
  .gnav.open {
    position: fixed; inset: 0; top: 72px; background: rgba(238,238,238,.98); backdrop-filter: blur(8px);
    flex-direction: column; justify-content: center; gap: 30px; z-index: 30;
  }
  .gnav.open .gnav__list { display: flex; flex-direction: column; text-align: center; gap: 26px; }
  .gnav.open .gnav__list a { font-size: 18px; }
  .gnav.open .booking-btn.is-desktop { display: inline-flex; width: 200px; height: 48px; }
  .site-footer__inner { flex-direction: column; }
  .site-footer__addr { text-align: left; }
  .site-footer__links { justify-content: flex-start; }
}
