/* ===== デジタルトランスフォーメーション（DX）支援 | 株式会社てんかい ===== */

:root {
  --navy: #0a1f44;
  --navy-2: #142b5c;
  --navy-soft: #1a3666;
  --blue: #1e5fc7;
  --blue-2: #3a78d8;
  --blue-soft: #eaf1fb;
  --gray-900: #1a1f2c;
  --gray-700: #3d4456;
  --gray-500: #5b6478;
  --gray-300: #c9cfdb;
  --gray-200: #e3e7ef;
  --gray-100: #f1f4f9;
  --gray-50:  #f7f9fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(10,31,68,.06);
  --shadow-md: 0 8px 28px rgba(10,31,68,.10);
  --shadow-lg: 0 16px 48px rgba(10,31,68,.14);
  --radius: 4px;
  --radius-lg: 6px;
  --container: 1180px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "palt";
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.serif { font-family: "Noto Serif JP", "Yu Mincho", serif; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}
.site-header .inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--navy);
  letter-spacing: .04em;
}
.brand-mark {
  width: 38px; height: 38px;
  background: url('../ChatGPT Image 2026年5月17日 05_03_01.png') center/cover no-repeat;
  color: transparent;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  font-size: 0;
}
.brand-mark::after{
  content:none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .ja { font-size: 15px; }
.brand-text .en { font-size: 10px; color: var(--gray-500); letter-spacing: .15em; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color .2s;
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); font-weight: 700; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -2px;
  height: 2px; background: var(--blue);
}
.nav-cta {
  margin-left: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--navy);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue); }
.nav-cta::before{
  content:""; width:6px; height:6px; background: var(--blue); display:inline-block;
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}
.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,31,68,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 120;
}
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: #fff;
  transform: translateX(100%);
  transition: transform .25s;
  z-index: 121;
  padding: 20px;
  overflow-y: auto;
  box-shadow: -12px 0 36px rgba(10,31,68,.16);
}
.mobile-nav-panel .close-btn {
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--gray-200);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}
.mobile-nav-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-list a {
  display: block;
  padding: 12px 10px;
  color: var(--gray-700);
  font-size: 15px;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-list a.active {
  color: var(--navy);
  font-weight: 700;
}
.mobile-nav-list .nav-cta {
  margin-left: 0;
  margin-top: 10px;
  justify-content: center;
}
body.mobile-nav-open {
  overflow: hidden;
}
body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.mobile-nav-open .mobile-nav-panel {
  transform: translateX(0);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-arrow { margin-left: auto; }
.btn-arrow::after {
  content: "→";
  font-weight: 400;
}

/* ===== Section base ===== */
section { padding: 120px 0; }
.section-head {
  margin-bottom: 64px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-eyebrow::before { content: "— "; letter-spacing: 0; }
.section-eyebrow::after { content: " —"; letter-spacing: 0; }

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
  margin: 0 0 20px;
  line-height: 1.4;
}
.section-sub {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 720px;
  margin: 0 auto;
  line-height: 2;
}

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  margin-top: var(--header-h);
  background: var(--navy);
  color: #fff;
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(135deg, rgba(30,95,199,.25), transparent 60%);
  pointer-events: none;
}
.page-hero::after{
  content:""; position:absolute;
  right: -100px; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  letter-spacing: .1em;
  margin-bottom: 24px;
}
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { margin: 0 8px; }
.page-hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 0 12px;
  line-height: 1.3;
}
.page-hero .en {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--blue-2);
  font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 80px 0 0;
}
.footer-cta {
  background: var(--blue);
  padding: 64px 0;
  margin-bottom: -1px;
}
.footer-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-cta h3 {
  color: #fff;
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: .04em;
  font-weight: 700;
}
.footer-cta p {
  color: rgba(255,255,255,.85);
  margin: 0;
  font-size: 15px;
}
.footer-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn-primary { background: var(--navy); color: #fff; }
.footer-cta .btn-primary:hover { background: var(--gray-900); }
.footer-cta .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.footer-cta .btn-outline:hover { background: #fff; color: var(--blue); }

.footer-main {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-main .brand { color: #fff; margin-bottom: 16px; }
.footer-main .brand-text .en { color: rgba(255,255,255,.5); }
.footer-main .desc {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 2;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--blue-2);
  margin: 0 0 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Utilities ===== */
.center { text-align: center; }
.muted { color: var(--gray-500); }
.divider { width: 60px; height: 3px; background: var(--blue); margin: 24px auto; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .section-title { font-size: 28px; }
  .nav { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 32px; }
  .container { padding: 0 24px; }
  .footer-cta .container { flex-direction: column; align-items: flex-start; }
}
