/* glue-inc.jp 共通スタイル（Studio版の見た目を再現） */
:root {
  --bg: #f8f7f6;
  --black: #000000;
  --text: #333333;
  --white: #ffffff;
  --blue: #1e5a9f;
  --pink: #f8bbd0;
  --pink-light: #fce4ec;
  --radius: 10px;
  --shadow-btn: 20px 20px 30px 0 rgba(0, 0, 0, 0.2);
  --shadow-card: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
  --font-en: "Montserrat", sans-serif;
  --font-ja: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-ja);
  font-weight: 700;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.en { font-family: var(--font-en); font-weight: 600; letter-spacing: 0.15em; }

/* ---------- 固定背景 ---------- */
.fixed-bg {
  position: fixed; inset: 0; z-index: -1;
  background: var(--bg-image, none) center / cover no-repeat;
}
.fixed-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.81) 71%, #000 100%);
  opacity: var(--bg-shade, 0.55);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 116px; padding: 0 48px;
  color: var(--white);
  transition: background 0.3s var(--ease);
}
.site-header.scrolled { background: linear-gradient(rgba(0,0,0,0.5) 0%, rgba(102,102,102,0) 100%); }
.site-header .logo img { width: 116px; height: auto; }
.global-nav { display: flex; align-items: center; }
.global-nav a {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 0 12px; font-size: 14px; line-height: 19.6px;
  transition: opacity 0.3s var(--ease);
}
.global-nav a:hover { opacity: 0.6; }
.icon { font-family: "Material Icons"; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: 0; display: inline-block; }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 72px; height: 64px; cursor: pointer; }
.menu-btn .icon { font-size: 24px; }

/* SPメニュー */
.sp-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--white); color: var(--text);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.8s var(--ease);
  border-right: 8px solid var(--blue);
}
.sp-menu.open { transform: translateX(0); }
.sp-menu .close { align-self: flex-end; width: 72px; height: 72px; background: none; border: 0; cursor: pointer; color: var(--text); }
.sp-menu .close .icon { font-size: 24px; }
.sp-menu nav { display: flex; flex-direction: column; padding: 24px 48px; gap: 40px; }
.sp-menu nav a { font-size: 16px; display: inline-flex; align-items: center; gap: 4px; }
.sp-menu .sp-menu-foot { margin-top: auto; background: var(--bg); padding: 32px 48px; display: flex; gap: 24px; font-size: 12px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 48px; border-radius: var(--radius);
  background: var(--black); color: var(--white);
  font-size: 14px; line-height: 26.6px; letter-spacing: 0.05em;
  box-shadow: var(--shadow-btn);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 10px 10px 20px 0 rgba(0,0,0,0.2); }
.btn.white { background: var(--white); color: var(--black); }
.btn.disabled { pointer-events: none; }
.btn .icon { font-size: 20px; }

/* ---------- セクション共通 ---------- */
.section { background: var(--bg); padding: 192px 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; max-width: 1280px; margin: 0 auto 64px; }
.section-title { font-family: var(--font-en); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: 0; }
.view-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.body-text { font-size: 16px; line-height: 25.6px; letter-spacing: 0.05em; }

/* 画像＋テキストの2カラム（ジグザグ） */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; }
.split + .split { margin-top: 128px; }
.split.reverse { grid-template-columns: 1fr 1.4fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 30px 30px 60px 0 rgba(0,0,0,0.25); aspect-ratio: 3 / 2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: left; }
.split-text h3 { font-family: var(--font-en); font-weight: 600; font-size: 48px; line-height: 1.4; }

/* ---------- ページヒーロー（下層） ---------- */
.page-hero { min-height: 525px; display: flex; flex-direction: column; justify-content: center; padding: 48px 143px; color: var(--white); }
.page-hero h1 { font-family: var(--font-en); font-weight: 600; font-size: 72px; line-height: 72px; letter-spacing: 0; }
.page-hero .ja { font-family: var(--font-ja); font-weight: 700; font-size: 28px; line-height: 44.8px; letter-spacing: 0.05em; margin-top: 16px; }

/* ---------- パンくず（下層） ---------- */
.breadcrumb { background: var(--bg); padding: 24px 143px; display: flex; align-items: center; gap: 4px; font-family: var(--font-en); font-weight: 600; font-size: 12px; line-height: 17px; letter-spacing: 0.05em; }
.breadcrumb a { color: #aaaaaa; transition: opacity 0.3s var(--ease); }
.breadcrumb a:hover { opacity: 0.6; }
.breadcrumb .icon { font-size: 16px; color: var(--blue); }
.breadcrumb .current { color: var(--blue); }

/* ---------- フッター ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 96px 48px; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.footer-cards { display: grid; grid-template-columns: repeat(2, 580px); gap: 24px; }
.footer-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); color: var(--black); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 48px; transition: transform 0.6s var(--ease);
}
.footer-card:hover { transform: translateY(-4px); }
.footer-card .t { font-family: var(--font-en); font-weight: 700; font-size: 36px; letter-spacing: 0.05em; color: var(--blue); line-height: 1.2; }
.footer-card .s { font-size: 16px; letter-spacing: 0.05em; font-weight: 400; margin-top: 8px; }
.footer-card .icon { font-size: 48px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; }
.footer-nav a { display: inline-flex; align-items: center; gap: 2px; padding: 0 12px; font-size: 14px; }
.footer-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size: 12px; }
.footer-sub .ja { font-family: var(--font-ja); font-weight: 400; letter-spacing: 0.1em; }
.footer-logo img { width: 62px; }
.copyright { font-family: var(--font-en); font-weight: 700; font-size: 10px; letter-spacing: 0.05em; }

/* ---------- 規程ページ本文（カスハラ方針・プライバシーポリシー） ---------- */
.breadcrumb .ja { font-family: var(--font-ja); font-weight: 700; }
.policy { background: var(--bg); padding: 128px 143px; }
.policy-body { max-width: 1184px; margin: 0 auto; font-weight: 400; font-size: 14px; line-height: 22.4px; letter-spacing: 0.05em; overflow-wrap: anywhere; }
.policy-title { font-size: 28px; line-height: 39.2px; text-align: center; margin-bottom: 24px; }
.policy-lead { margin-bottom: 60px; }
.policy-body h3 { font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: 0.05em; margin: 48px 0 20px; }
.policy-title + h3 { margin-top: 0; }
.policy-body .gap { margin-top: 22.4px; }
.policy-body strong { font-weight: 700; }
.policy-items { list-style: none; margin: 0; padding: 0; }
.policy-defs { margin: 0; }
.policy-defs dt { font-weight: 700; }
.policy-defs dd { margin: 0; padding-left: 20px; }
@media (max-width: 840px) {
  .policy { padding: 64px 24px 96px; }
  .policy-title { font-size: 18px; line-height: 1.6; }
  .policy-lead { margin-bottom: 40px; }
  .policy-body h3 { font-size: 16px; line-height: 25.6px; margin-top: 40px; }
  .policy-body { font-size: 13px; line-height: 22px; }
}

/* ---------- 登場アニメ ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease) 0.2s, transform 0.8s var(--ease) 0.2s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- スマホ ---------- */
@media (max-width: 840px) {
  .site-header { height: 64px; padding: 0 0 0 24px; }
  .site-header .logo img { width: 80px; }
  .global-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .section { padding: 96px 24px; }
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: 28px; }
  .view-more { font-size: 12px; }
  .body-text { font-size: 14px; line-height: 22.4px; }
  .btn { font-size: 12px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 80px; }
  .split-text h3 { font-size: 24px; }
  .page-hero { min-height: 272px; padding: 64px 24px 24px; }
  .page-hero h1 { font-size: 40px; line-height: 1.2; }
  .page-hero .ja { font-size: 18px; line-height: 28.8px; margin-top: 8px; }
  .breadcrumb { padding: 24px; }
  .site-footer { padding: 64px 24px; gap: 48px; align-items: stretch; }
  .footer-cards { grid-template-columns: 1fr; }
  .footer-card { padding: 32px; }
  .footer-card .t { font-size: 28px; }
  .footer-card .s { font-size: 12px; }
  .footer-card .icon { font-size: 32px; }
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-sub { justify-content: flex-start; flex-direction: column; }
  .footer-logo, .copyright { align-self: center; }
}
