/*
Theme Name: Chiemon Corporate
Theme URI: https://chiemon.co.jp/
Author: Chiemon, Inc.
Description: 譬ｪ蠑丈ｼ夂､ｾ譎ｺ諷ｧ髢縺ｮ繧ｳ繝ｼ繝昴Ξ繝ｼ繝医し繧､繝育畑WordPress繝・・繝・Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: chiemon
*/
/* @2026-07-16 START */
/* @2026-06-18 START */
:root {
  --bg: #06101f;
  --bg-deep: #020813;
  --ink: #08111f;
  --white: #ffffff;
  --muted: #6b778c;
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(8, 17, 31, 0.12);
  --blue: #0b4fa8;
  --blue-strong: #155ee8;
  --cyan: #7ed8ff;
  --panel: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 80px rgba(0, 18, 42, 0.26);
  --font-main: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-tech: "Rajdhani", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-main);
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(2, 8, 19, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(255, 255, 255, 0.88);
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--bg-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* @2026-06-18 START */
  /* @2026-06-19 START */
  background-image: url("assets/img/sample03_02_composite_1920.jpg");
  /* @2026-06-19 END */
  background-position: right 36% center;
  /* @2026-06-18 END */
  background-size: cover;
  opacity: 0.98;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  /* @2026-06-19 START */
  background:
    linear-gradient(90deg, rgba(2, 8, 19, 0.9) 0%, rgba(2, 8, 19, 0.7) 34%, rgba(2, 8, 19, 0.16) 68%, rgba(2, 8, 19, 0.66) 100%),
    linear-gradient(180deg, rgba(2, 8, 19, 0.34) 0%, rgba(2, 8, 19, 0.24) 64%, rgba(2, 8, 19, 0.88) 100%);
  /* @2026-06-19 END */
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(80px, 13vw, 260px);
  padding-top: 64px;
}

.hero-company {
  margin: 0 0 20px;
  font-family: var(--font-tech);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  color: var(--cyan);
}

.hero h1 {
  margin: 0;
  /* @2026-06-19 START */
  font-size: clamp(1.935rem, 4.41vw, 4.41rem);
  /* @2026-06-19 END */
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

/* @2026-06-19 START */
.hero-cross {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
}
/* @2026-06-19 END */

/* @2026-06-19 START */
.hero-no {
  display: inline-block;
  font-size: 0.9em;
  line-height: 1;
}
/* @2026-06-19 END */

/* @2026-06-19 START */
.hero-large {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
}
/* @2026-06-19 END */

.hero-lead {
  width: min(660px, 100%);
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--blue-strong);
  box-shadow: 0 16px 36px rgba(21, 94, 232, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.04);
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 28px;
  display: grid;
  gap: 14px;
  justify-items: center;
  font-family: var(--font-tech);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.scroll-cue::after {
  width: 1px;
  height: 56px;
  content: "";
  background: linear-gradient(var(--cyan), transparent);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 4vw, 56px);
}

.section-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 12%, rgba(126, 216, 255, 0.18), transparent 30%),
    linear-gradient(145deg, #06101f 0%, #071933 58%, #020813 100%);
}

.section-light {
  color: var(--ink);
  background: var(--white);
}

/* @2026-07-02 START */
.privacy-hero {
  padding: 148px clamp(20px, 4vw, 56px) 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(126, 216, 255, 0.18), transparent 32%),
    linear-gradient(145deg, #06101f 0%, #071933 58%, #020813 100%);
}

.privacy-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.18;
}

.privacy-section {
  padding-top: clamp(56px, 8vw, 96px);
}

.privacy-content {
  width: min(900px, 100%);
}

.privacy-content h2 {
  margin: 0;
}

.privacy-content h3 {
  margin: 0 0 24px;
  font-size: clamp(1.36rem, 2.6vw, 2rem);
  line-height: 1.45;
}

.privacy-content h4 {
  margin: 34px 0 10px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--blue-strong);
}

.privacy-content h5 {
  margin: 30px 0 10px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--blue-strong);
}

.privacy-content p,
.privacy-content li {
  color: #23314a;
}

.privacy-content ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.privacy-content .has-text-align-right {
  margin-top: 34px;
  text-align: right;
}
/* @2026-07-02 END */

.section-panel {
  color: var(--white);
  background: #071326;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.section-label {
  margin: 0 0 12px;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-strong);
}

.section-dark .section-label,
.section-panel .section-label {
  color: var(--cyan);
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.16;
  letter-spacing: 0;
}

/* @2026-06-19 START */
.section-title-small {
  /* @2026-06-19 START */
  font-size: clamp(1.62rem, 3.24vw, 3.24rem);
  /* @2026-06-19 END */
}
/* @2026-06-19 END */

/* @2026-06-19 START */
.section-title-large {
  display: inline-block;
  font-size: 1.2em;
  line-height: 1;
}
/* @2026-06-19 END */

/* @2026-06-19 START */
.section-title-nowrap {
  white-space: nowrap;
}
/* @2026-06-19 END */

/* @2026-06-19 START */
.section-title-dentatsu {
  display: inline-block;
  font-size: 1.2em;
  line-height: 1;
}
/* @2026-06-19 END */

.section-copy p,
.section-heading p {
  margin: 24px 0 0;
  font-size: 1.02rem;
  color: var(--muted);
}

.section-dark .section-copy p,
.section-panel .section-copy p,
.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

/* @2026-07-02 START */
.dentatsu-detail-action {
  display: flex;
  margin-top: 28px;
}
/* @2026-07-02 END */

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 48px;
}

.section-heading.compact {
  margin-bottom: 32px;
}

.service-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-board article {
  min-height: 300px;
  padding: 34px 28px;
  background: rgba(255, 255, 255, 0.06);
}

/* @2026-06-21 START */
.service-board-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 4px;
  object-fit: contain;
}
/* @2026-06-21 END */

.service-board span,
.feature-line span {
  font-family: var(--font-tech);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
}

/* @2026-06-21 START */
.service-board span {
  display: block;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}
/* @2026-06-21 END */

.service-board h3,
.feature-line h3 {
  margin: 22px 0 10px;
  font-size: 1.22rem;
}

.service-board p,
.feature-line p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* @2026-07-02 START */
.dentatsu-visual {
  margin-top: clamp(36px, 6vw, 72px);
}

.dentatsu-visual img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.32));
}
/* @2026-07-02 END */

.feature-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.feature-line article {
  min-height: 250px;
  padding: 34px 28px;
  background: var(--white);
}

.feature-line span {
  color: var(--blue-strong);
}

.feature-line p {
  color: var(--muted);
}

.terminal-panel {
  overflow: hidden;
  border: 1px solid rgba(126, 216, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

/* @2026-07-02 START */
#local-llm .section-copy {
  order: -1;
}
/* @2026-07-02 END */

.terminal-head {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(126, 216, 255, 0.18);
}

/* @2026-07-02 START */
.terminal-panel .terminal-head {
  display: block;
  padding: 22px 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 800;
  line-height: 1.6;
  color: var(--white);
  background: rgba(126, 216, 255, 0.1);
}
/* @2026-07-02 END */

.terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.75;
}

.terminal-panel dl {
  margin: 0;
  padding: 28px;
}

.terminal-panel div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(126, 216, 255, 0.14);
}

.terminal-panel div:last-child {
  border-bottom: 0;
}

.terminal-panel dt {
  font-family: var(--font-tech);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
}

/* @2026-07-02 START */
.terminal-panel-number {
  display: block;
  margin: 0 0 6px;
  font-size: 0.88em;
  line-height: 1;
}
/* @2026-07-02 END */

.terminal-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* @2026-07-02 START */
.terminal-panel div {
  grid-template-columns: 1fr;
  gap: 8px;
}

.terminal-panel dd {
  text-align: left;
}
/* @2026-07-02 END */

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--cyan);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.mail-link {
  display: inline-flex;
  margin-top: 28px;
  font-family: var(--font-tech);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-strong);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-dark);
  background: #f7faff;
  box-shadow: 0 18px 60px rgba(8, 17, 31, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #23314a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(8, 17, 31, 0.16);
  border-radius: 4px;
  padding: 13px 14px;
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

/* @2026-07-02 START */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 19, 0.68);
  backdrop-filter: blur(8px);
}

.contact-modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.contact-modal__dialog h2 {
  margin: 0 0 18px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.45;
}

.contact-modal__body p {
  margin: 0;
  color: #23314a;
}

.contact-confirm-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-confirm-list div {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.contact-confirm-list dt {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--blue-strong);
}

.contact-confirm-list dd {
  margin: 0;
  color: #23314a;
  overflow-wrap: anywhere;
}

.contact-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.contact-modal__actions .button {
  cursor: pointer;
}

.contact-modal__actions .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-modal__cancel {
  color: var(--blue-strong);
  border-color: rgba(21, 94, 232, 0.28);
  background: rgba(21, 94, 232, 0.06);
}
/* @2026-07-02 END */

.company-table {
  border-top: 1px solid var(--line);
}

.company-table dl {
  margin: 0;
}

.company-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  font-weight: 800;
  color: var(--cyan);
}

.company-table dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 26px 20px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  background: var(--bg-deep);
}

/* @2026-07-02 START */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: var(--cyan);
}
/* @2026-07-02 END */

.site-footer p {
  margin: 0;
  font-family: var(--font-tech);
  font-weight: 600;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    background: rgba(2, 8, 19, 0.96);
    border: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-board,
  .feature-line {
    grid-template-columns: 1fr;
  }

  .service-board article,
  .feature-line article {
    min-height: auto;
  }

  /* @2026-07-02 START */
  .dentatsu-visual {
    margin-top: 32px;
  }
  /* @2026-07-02 END */
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-bg {
    /* @2026-06-18 START */
    background-position: 62% center;
    /* @2026-06-18 END */
  }

  .hero-shade {
    /* @2026-06-19 START */
    background:
      linear-gradient(90deg, rgba(2, 8, 19, 0.9) 0%, rgba(2, 8, 19, 0.7) 58%, rgba(2, 8, 19, 0.46) 100%),
      linear-gradient(180deg, rgba(2, 8, 19, 0.28) 0%, rgba(2, 8, 19, 0.22) 56%, rgba(2, 8, 19, 0.9) 100%);
    /* @2026-06-19 END */
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  .hero h1 {
    max-width: none;
    /* @2026-06-19 START */
    font-size: clamp(1.548rem, 7.38vw, 1.8rem);
    /* @2026-06-19 END */
    white-space: nowrap;
  }

  .hero-lead {
    max-width: 340px;
    font-size: 0.98rem;
    line-height: 1.85;
    word-break: break-all;
  }

  .section-copy h2,
  .section-heading h2 {
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  /* @2026-07-02 START */
  .dentatsu-detail-action {
    align-items: stretch;
    flex-direction: column;
  }
  /* @2026-07-02 END */

  .scroll-cue {
    display: none;
  }

  .section {
    padding-inline: 16px;
  }

  .terminal-panel div,
  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* @2026-06-18 END */

/* @2026-07-16 END */
