/* ===== ReUP skin.css（自動生成）ソース: ページ540のスタイル定義 ===== */
/* 再生成: tools/wp-php.sh tools/build-skin-css.php */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800;900');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800;900');

/* デザイントークン（ページ側 .reup-root と同値） */
:root {
  --reup-blue: #4A87E0;
  --reup-blue-deep: #2A62C4;
  --reup-blue-grad: #6FAAF0;
  --reup-primary: #2A4A80;
  --reup-ink: #1E2C40;
  --reup-text: #3A4A5E;
  --reup-muted: #8595A8;
  --reup-border: #E3ECF5;
  --reup-blue-pale: #F4F7FB;
  --reup-blue-soft: #E9F1FA;
  --reup-blue-light: #DCEBFA;
  --reup-gold: #C9A24B;
  --reup-accent: #FFB938;
  --reup-accent-deep: #E8960C;
  --reup-navy: #101F3C;
  --reup-grad: linear-gradient(135deg, #6FAAF0 0%, #4A87E0 55%, #2A62C4 100%);
  --reup-grad-accent: linear-gradient(135deg, #FFD37A 0%, #FFB938 55%, #F5A623 100%);
  --reup-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --reup-font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --reup-radius: 16px;
  --reup-radius-lg: 24px;
  --reup-shadow: 0 4px 22px rgba(42, 74, 128, .08);
  --reup-shadow-hover: 0 14px 36px rgba(42, 74, 128, .16);
  --reup-ease: cubic-bezier(.22, 1, .36, 1);
  --reup-ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* テンプレートパート基礎（.reup-root の基本テキスト設定を再現） */
.reup-header, .reup-footer {
  font-family: var(--reup-font-sans);
  color: var(--reup-text);
  line-height: 2;
  letter-spacing: .02em;
  box-sizing: border-box;
}
.reup-header *, .reup-header *::before, .reup-header *::after,
.reup-footer *, .reup-footer *::before, .reup-footer *::after { box-sizing: border-box; }

.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 200; }

.site-contents, .site-footer { margin-block-start: 0 !important; }
.site-contents .entry-content { margin-block-start: 0 !important; }
.entry-content > .reup-root { margin-block-start: 0 !important; }
.entry-content > .reup-root > :first-child,
.entry-content > .reup-root > style + * { margin-block-start: 0 !important; }
.entry-content > .reup-root > * { margin-block-end: 0 !important; }

.reup-btn-primary .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--reup-grad) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 22px 16px 36px !important;
  box-shadow: 0 8px 22px rgba(42, 98, 196, .32);
}
.reup-btn-primary .wp-block-button__link::after {
  content: "→";
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--reup-blue-deep);
  font-weight: 800; font-size: 14px;
  transition: transform .3s var(--reup-ease);
}
.reup-btn-primary .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(42, 98, 196, .42);
}
.reup-btn-primary .wp-block-button__link:hover::after { transform: translateX(4px);
}
.reup-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--reup-border);
  transition: box-shadow .3s ease;
}
.reup-header.is-scrolled { box-shadow: 0 4px 24px rgba(42,74,128,.10);
}
.reup-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  max-width: 1180px; margin: 0 auto;
  padding: 14px clamp(20px, 3vw, 32px);
}
.reup-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--reup-font-en);
  font-weight: 800; font-size: 24px;
  margin: 0 !important;
}
.reup-logo a { color: var(--reup-primary); text-decoration: none;
}
.reup-logo span {
  background: var(--reup-blue-pale);
  color: var(--reup-primary);
  font-family: var(--reup-font-sans);
  font-size: 11px; font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.reup-header-nav {
  display: flex; gap: 26px;
  font-size: 13px; font-weight: 500;
  margin: 0 !important;
}
.reup-header-nav a { color: var(--reup-text); text-decoration: none; transition: color .2s ease;
}
.reup-header-nav a:hover { color: var(--reup-blue);
}
.reup-header-cta .wp-block-button__link { padding: 10px 14px 10px 22px !important; font-size: 13px; white-space: nowrap;
}
.reup-header-cta .wp-block-button__link::after { width: 24px; height: 24px; font-size: 12px;
}
.reup-header-burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px;
  margin-left: -10px;
  padding: 10px;
  background: none; border: 0; border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.reup-header-burger span {
  display: block; width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--reup-primary);
  transition: transform .3s var(--reup-ease), opacity .2s ease;
}
.reup-header-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg);
}
.reup-header-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0;
}
.reup-header-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg);
}
.reup-header-drawer-overlay {
  position: fixed;
  inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0;
  background: rgba(16, 31, 60, .55);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 990;
}
.reup-header-drawer-overlay.is-open { opacity: 1; visibility: visible;
}
.reup-header-drawer {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px); left: 0; bottom: 0;
  width: min(78vw, 320px);
  display: flex; flex-direction: column;
  padding: 16px 22px 28px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .35s var(--reup-ease-out), visibility .35s ease;
  box-shadow: 0 0 40px rgba(16, 31, 60, .25);
  z-index: 991;
}
.reup-header-drawer.is-open { transform: translateX(0); visibility: visible;
}
.reup-header-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--reup-border);
}
.reup-header-drawer-head .reup-logo { font-size: 22px;
}
.reup-header-drawer-close {
  background: none; border: 0;
  font-size: 22px; line-height: 1;
  color: var(--reup-muted);
  padding: 8px; margin-right: -8px;
  cursor: pointer;
}
.reup-header-drawer-nav { display: flex; flex-direction: column; padding: 8px 0 20px;
}
.reup-header-drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px;
  font-size: 14px; font-weight: 600;
  color: var(--reup-ink); text-decoration: none;
  border-bottom: 1px solid var(--reup-blue-pale);
}
.reup-header-drawer-nav a::after { content: "›"; color: var(--reup-muted); font-size: 16px;
}
.reup-header-drawer-cta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px;
  background: var(--reup-grad);
  color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(42, 98, 196, .32);
}
html.reup-header-drawer-open, html.reup-header-drawer-open body { overflow: hidden;
}
html.reup-header-drawer-open .reup-fixed-cta { visibility: hidden;
}
@media (min-width: 1024px) {
  .reup-header-burger, .reup-header-drawer, .reup-header-drawer-overlay { display: none;
  }
}
.reup-cta-final .reup-btn-primary .wp-block-button__link {
  background: #fff !important;
  color: var(--reup-blue-deep) !important;
  box-shadow: 0 10px 26px rgba(16, 42, 84, .30);
}
.reup-cta-final .reup-btn-primary .wp-block-button__link::after {
  background: var(--reup-grad);
  color: #fff;
}
.reup-cta-final .reup-btn-primary .wp-block-button__link:hover {
  background: var(--reup-ink) !important;
  color: #fff !important;
}
.reup-footer {
  background: var(--reup-ink);
  color: #B9C6D6;
  padding: 64px clamp(20px, 4vw, 32px) 32px;
}
.reup-footer-brand {
  font-family: var(--reup-font-en) !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  color: #fff !important;
  margin: 0 0 10px !important;
}
.reup-footer-head {
  font-size: 12px !important; font-weight: 800;
  font-family: var(--reup-font-en);
  color: #fff !important;
  letter-spacing: .18em;
  margin: 0 0 14px !important;
}
.reup-footer p { font-size: 13px; color: #B9C6D6;
}
.reup-footer ul { list-style: none; margin: 0 !important; padding: 0 !important;
}
.reup-footer li { padding: 5px 0; font-size: 13px;
}
.reup-footer a { color: #8FA2B8; text-decoration: none; transition: color .2s ease;
}
.reup-footer a:hover { color: #fff;
}
.reup-copy {
  font-size: 11px !important;
  color: #7488A0 !important;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 24px;
  margin: 40px auto 0 !important;
}
@media (max-width: 1023px) {
  .reup-logo span { display: none;
  }
  .reup-header-nav { display: none;
  }
  .reup-header-burger { display: flex;
  }
  .reup-header-cta .wp-block-button__link { padding: 8px 12px 8px 18px !important; font-size: 12px;
  }
  .reup-header-inner { gap: 12px;
  }
}
@media (max-width: 767px) {
  .reup-footer { padding-bottom: 104px;
  }
}
.reup-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--reup-grad);
}
.reup-hero .reup-btn-primary .wp-block-button__link {
  background: var(--reup-grad-accent) !important;
  color: #1E2C40 !important;
  box-shadow: 0 12px 32px rgba(245,166,35,.38);
}
.reup-hero .reup-btn-primary .wp-block-button__link::after { background: #1E2C40; color: #FFD37A;
}
.reup-hero .reup-btn-primary .wp-block-button__link:hover { box-shadow: 0 18px 44px rgba(245,166,35,.5);
}
.reup-btn-primary .wp-block-button__link, .reup-btn-ghost .wp-block-button__link { position: relative; overflow: hidden;
}
.reup-btn-primary .wp-block-button__link::before {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.reup-btn-primary .wp-block-button__link:hover::before { left: 135%;
}
.reup-cta-final .reup-btn-primary .wp-block-button__link {
  background: var(--reup-grad-accent) !important;
  color: #1E2C40 !important;
  box-shadow: 0 14px 34px rgba(12, 28, 56, .4);
}
.reup-cta-final .reup-btn-primary .wp-block-button__link::after { background: #1E2C40; color: #FFD37A;
}
.reup-cta-final .reup-btn-primary .wp-block-button__link:hover {
  background: #fff !important;
  color: var(--reup-blue-deep) !important;
}
@media (max-width: 767px) {
  .reup-footer { padding-top: 48px;
  }
  .reup-footer ul { columns: 2; column-gap: 24px;
  }
  .reup-footer li { padding: 4px 0; line-height: 1.7; break-inside: avoid;
  }
}
