/* 静的プレビュー用 - おしゃれIT風・ガラス・抽象背景・ピル */
:root {
  --color-primary: #0a84ff;
  --color-primary-dark: #0066cc;
  --color-primary-light: #4da3ff;
  --color-bg-dark: #0d1b2a;
  --color-bg-darker: #0a1628;
  --color-bg-light: #f0f5fa;
  --color-bg-hero-start: #d4e8f7;
  --color-bg-hero-mid: #b8d4eb;
  --color-bg-hero-end: #9bc5e8;
  --color-accent-glow: rgba(10, 132, 255, 0.15);
  --color-border-blue: rgba(10, 132, 255, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.4);
  --pill-radius: 9999px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: #1a2332;
  background: var(--color-bg-light);
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }

.l-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.p-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}
.p-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 24px; max-width: 1200px; margin: 0 auto; }
.p-header__left { display: flex; align-items: center; gap: 20px; }
.p-header__logo { font-size: 1.1rem; font-weight: 700; color: var(--color-bg-darker); letter-spacing: 0.02em; text-decoration: none; }
.p-header__logo:hover { color: var(--color-primary-dark); text-decoration: none; }
.p-header__pills { display: flex; align-items: center; gap: 10px; }
.p-header__pill {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-bg-darker);
  text-decoration: none;
  border-radius: var(--pill-radius);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.p-header__pill:hover { background: rgba(255, 255, 255, 0.5); border-color: rgba(10, 132, 255, 0.3); color: var(--color-primary-dark); text-decoration: none; }
.p-header__right { position: relative; display: flex; align-items: center; }
.p-header__menu-btn {
  width: 48px; height: 48px;
  padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.p-header__menu-btn:hover { background: rgba(255, 255, 255, 0.6); }
.p-header__menu-icon {
  display: block;
  width: 20px; height: 2px;
  background: var(--color-bg-darker);
  border-radius: 1px;
  box-shadow: 0 6px 0 var(--color-bg-darker), 0 12px 0 var(--color-bg-darker);
}
.p-header__nav {
  position: absolute;
  top: 100%; right: 0;
  margin-top: 8px;
  min-width: 200px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.p-header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.p-header__nav-list { list-style: none; margin: 0; padding: 12px 0; }
.p-header__nav-item a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--color-bg-darker);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.p-header__nav-item a:hover { background: rgba(10, 132, 255, 0.08); color: var(--color-primary-dark); text-decoration: none; }

.p-main { padding-top: 72px; min-height: calc(100vh - 72px); }
.p-main--top { padding-top: 0; }

.p-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(165deg, var(--color-bg-hero-start) 0%, var(--color-bg-hero-mid) 35%, var(--color-bg-hero-end) 70%, #7eb8e0 100%);
  color: var(--color-bg-darker);
}
.p-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.p-hero__overlay::before,
.p-hero__overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}
.p-hero__overlay::before {
  width: min(70vw, 500px);
  height: min(70vw, 500px);
  top: -15%; right: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(180, 220, 245, 0.3) 50%, transparent 70%);
}
.p-hero__overlay::after {
  width: min(50vw, 360px);
  height: min(50vw, 360px);
  bottom: -10%; left: -5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(150, 200, 235, 0.2) 50%, transparent 70%);
}
.p-hero__inner { position: relative; z-index: 1; text-align: center; padding: 60px 24px; }
.p-hero__logo { font-size: clamp(0.95rem, 2.5vw, 1.1rem); font-weight: 700; letter-spacing: 0.12em; margin: 0 0 24px; opacity: 0.9; }
.p-hero__catch { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; margin: 0 0 16px; }
.p-hero__sub { font-size: clamp(0.95rem, 2.2vw, 1.1rem); font-weight: 500; opacity: 0.85; margin: 0; }

.p-section { padding: 80px 0; }
.p-section--alt { background: rgba(255, 255, 255, 0.6); }
.p-section__title { font-size: 1.75rem; font-weight: 700; margin: 0 0 40px; text-align: center; letter-spacing: 0.04em; color: var(--color-bg-darker); }
.p-section__title::after { content: ""; display: block; width: 48px; height: 4px; margin: 16px auto 0; background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light)); border-radius: 2px; }
.p-section__lead { max-width: 640px; margin: 0 auto 48px; text-align: center; color: #4a5568; font-size: 1rem; }

.p-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.p-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(10, 132, 255, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.3s, transform 0.2s;
}
.p-card:hover { box-shadow: 0 12px 40px rgba(10, 132, 255, 0.12), 0 1px 0 rgba(255, 255, 255, 0.9) inset; transform: translateY(-2px); }
.p-card__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; color: var(--color-bg-darker); }
.p-card__text { margin: 0; font-size: 0.95rem; color: #4a5568; line-height: 1.75; }

.p-page-title { padding: 48px 0 32px; background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%); color: #fff; text-align: center; border-bottom: 3px solid var(--color-primary); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.p-page-title__text { font-size: 1.75rem; font-weight: 700; margin: 0; letter-spacing: 0.04em; text-shadow: 0 0 30px rgba(10, 132, 255, 0.2); }
.p-page-content { padding: 48px 0 80px; }
.p-page-content .l-container { max-width: 800px; }
.p-page-content h2 { font-size: 1.35rem; margin: 2em 0 0.75em; padding-bottom: 0.35em; border-bottom: 2px solid rgba(10, 132, 255, 0.25); color: var(--color-bg-darker); }
.p-page-content h2:first-child { margin-top: 0; }
.p-page-content p { margin: 0 0 1em; }
.p-page-content ul { margin: 0 0 1em; padding-left: 1.5em; }

.p-message-block { display: flex; gap: 40px; align-items: flex-start; margin: 40px 0; }
.p-message-block__img { flex: 0 0 200px; width: 200px; aspect-ratio: 1; background: linear-gradient(135deg, #e8eef5 0%, #dde5f0 100%); border-radius: 12px; object-fit: cover; border: 2px solid rgba(10, 132, 255, 0.15); }
.p-message-block__body { flex: 1; min-width: 0; }
.p-message-block__name { font-weight: 700; margin: 0 0 4px; }
.p-message-block__role { font-size: 0.9rem; color: #666; margin: 0 0 16px; }

.p-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.p-table th, .p-table td { padding: 14px 16px; border-bottom: 1px solid #e8e8e8; text-align: left; vertical-align: top; }
.p-table th { width: 28%; font-weight: 600; color: var(--color-bg-darker); background: #e8f0fe; }
.p-table td { color: #4a5568; }

.p-contact-mail { text-align: center; padding: 40px 20px; }
.p-contact-mail__label { display: block; font-size: 0.9rem; color: #666; margin-bottom: 8px; }
.p-contact-mail__link { font-size: 1.25rem; font-weight: 600; color: var(--color-primary); word-break: break-all; }
.p-contact-mail__link:hover { color: var(--color-primary-dark); text-decoration: underline; }
.p-contact-note { margin-top: 24px; font-size: 0.9rem; color: #666; }

.p-footer { background: linear-gradient(180deg, var(--color-bg-darker) 0%, #061018 100%); color: rgba(255, 255, 255, 0.85); padding: 40px 0 24px; margin-top: auto; border-top: 1px solid var(--color-border-blue); }
.p-footer__inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.p-footer__nav { margin-bottom: 24px; }
.p-footer__nav-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 8px 24px; justify-content: center; }
.p-footer__nav-item a { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }
.p-footer__nav-item a:hover { color: var(--color-primary-light); text-decoration: none; }
.p-footer__copy { text-align: center; font-size: 0.85rem; opacity: 0.8; margin: 0; }

.p-terms h2 { font-size: 1.2rem; margin-top: 2em; }
.p-terms h2:first-child { margin-top: 0; }
.p-terms ol, .p-terms ul { padding-left: 1.5em; margin: 0.5em 0 1em; }
.p-terms li { margin: 0.25em 0; }

/* PC: 769px以上 / SP: 768px以下 */
@media (max-width: 768px) {
  .l-container { padding: 0 16px; }
  .p-header__inner { padding: 0 16px; }
  .p-header__logo { font-size: 1rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .p-header__pills { gap: 8px; }
  .p-header__pill { padding: 8px 14px; font-size: 0.85rem; }
  .p-header__nav { left: 16px; right: 16px; min-width: auto; border-radius: 20px; }
  .p-header__nav-item a { padding: 14px 20px; min-height: 48px; display: flex; align-items: center; }
  .p-hero { min-height: 60vh; }
  .p-hero__inner { padding: 24px 16px; }
  .p-hero__catch { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .p-section { padding: 48px 0; }
  .p-section__title { font-size: 1.5rem; margin-bottom: 24px; }
  .p-section__lead { margin-bottom: 32px; font-size: 0.95rem; }
  .p-card-grid { gap: 16px; }
  .p-card { padding: 20px; }
  .p-page-title { padding: 32px 0 24px; }
  .p-page-title__text { font-size: 1.5rem; }
  .p-page-content { padding: 32px 0 48px; }
  .p-message-block { flex-direction: column; align-items: center; margin: 24px 0; }
  .p-message-block__img { flex: none; width: 160px; min-width: 160px; height: 160px; }
  .p-table th, .p-table td { display: block; width: 100%; }
  .p-table th { background: #e8f0fe; padding-top: 16px; font-size: 0.9rem; }
  .p-table td { padding-bottom: 16px; }
  .p-contact-mail { padding: 24px 16px; }
  .p-contact-mail__link { font-size: 1.1rem; padding: 8px 0; display: inline-block; min-height: 44px; line-height: 1.4; }
  .p-footer__nav-list { gap: 8px 16px; }
  .p-footer__inner { padding: 0 16px; }
}
@media (max-width: 360px) {
  html { font-size: 15px; }
  .p-header__logo { font-size: 1rem; }
}
