/*
Theme Name: AICONBI
Theme URI: https://aiconbi.jp/
Author: AICONBI
Description: AICONBI公式サイトの既存デザインをWordPress向けに移植した1ページテーマです。
Version: 1.0.17
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: aiconbi
*/

:root {
  --ink: #073246;
  --muted: #607276;
  --line: #dbe9e1;
  --blue: #18a9a5;
  --accent-text: #0b7471;
  --accent-on-dark: #6fd8d3;
  --blue-deep: #043b58;
  --cyan: #20b0a8;
  --green: #dced2c;
  --paper: #f6faf4;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(4, 59, 88, 0.14);
  --content-max: 1600px;
  --content-gutter: clamp(20px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, Inter,
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.72;
}

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

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

.desktop-title-line {
  display: block;
}

.nowrap-term {
  white-space: nowrap;
}

.hero-metadata-term {
  white-space: nowrap;
}

.hero-lead-sentence {
  display: block;
}

.hero-lead-term {
  white-space: nowrap;
}

.hero-content .lead .nowrap-term {
  white-space: nowrap;
}

.hero-lead-tail {
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  background: rgba(248, 251, 253, 0.94);
  border-bottom: 1px solid rgba(217, 226, 238, 0.82);
  backdrop-filter: blur(18px);
}

.brand img,
.site-footer img {
  width: 218px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #173c4d;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--accent-text);
  border-color: var(--accent-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  min-height: 720px;
  padding: clamp(88px, 10vw, 132px) max(var(--content-gutter), calc((100% - var(--content-max)) / 2)) 72px;
  overflow: hidden;
  color: var(--white);
  background: #032638;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #032638;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 38, 56, 0.88), rgba(5, 65, 82, 0.62) 45%, rgba(32, 176, 168, 0.16)),
    linear-gradient(180deg, rgba(220, 237, 44, 0.08), rgba(3, 38, 56, 0.58));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroFade 24s infinite;
}

.hero-slide-compute {
  background-image: url("./assets/images/hero-ai-compute.jpg");
}

.hero-slide-gpu {
  background-image: url("./assets/images/hero-gpu-server.jpg");
  animation-delay: 6s;
}

.hero-slide-solar {
  background-image: url("./assets/images/hero-solar.jpg");
  animation-delay: 12s;
}

.hero-slide-storage {
  background-image: url("./assets/images/hero-storage.jpg");
  animation-delay: 18s;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background-image: linear-gradient(rgba(220, 237, 44, 0.08) 1px, transparent 1px);
  background-size: 100% 42px;
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  5%,
  25% {
    opacity: 1;
  }

  30%,
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  pointer-events: none;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 5;
}

.hero-content {
  max-width: 900px;
}

.hero-title-line {
  display: inline;
}

.hero-title-wide-line {
  white-space: nowrap;
}

.mobile-title-line {
  display: inline;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.platform-copy > .eyebrow {
  color: var(--accent-on-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.button.secondary {
  color: var(--white);
  background: rgba(32, 176, 168, 0.14);
  border-color: rgba(220, 237, 44, 0.42);
}

.hero-panel {
  padding: 28px;
  background: rgba(4, 59, 88, 0.66);
  border: 1px solid rgba(220, 237, 44, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 22px;
  font-size: 22px;
  line-height: 1.38;
}

.hero-panel-title-line {
  display: block;
}

.hero-panel dl,
.company-table {
  margin: 0;
}

.hero-panel div {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.section {
  padding: clamp(76px, 9vw, 124px) max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
}

.section-kicker {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 34px;
}

.section-kicker h2 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

.process .section-kicker,
.faq .section-kicker {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.section-lead {
  max-width: 930px;
  margin-left: min(276px, 24vw);
  color: var(--muted);
  font-size: 18px;
}

.strategy-heading {
  display: block;
  margin-bottom: 52px;
}

.strategy-copy {
  max-width: 1120px;
  margin: 0 auto;
}

.strategy-copy > .eyebrow,
.strategy-copy > h2 {
  text-align: center;
}

.strategy-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
}

.strategy-copy .section-lead {
  max-width: none;
  margin: 0 0 30px;
  text-align: left;
}

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

.thesis-grid article {
  padding: 36px 34px;
  background: var(--white);
}

.thesis-grid article > span {
  display: block;
  margin-bottom: 48px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 900;
}

.thesis-grid h3,
.sector-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.2;
}

.thesis-grid p,
.sector-card p,
.platform-copy p,
.company-note p {
  color: var(--muted);
}

.thesis-grid p,
.process-grid p {
  margin-bottom: 0;
}

.sectors {
  background: var(--paper);
}

.sectors .section-kicker,
.process .section-kicker,
.faq .section-kicker {
  display: block;
  text-align: center;
  margin-bottom: 44px;
}

.sectors .section-kicker h2,
.process .section-kicker h2,
.faq .section-kicker h2 {
  max-width: none;
  margin: 0 auto;
}

.sector-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: -18px 0 34px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sector-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(4, 59, 88, 0.08);
}

.sector-card > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 22px;
  color: var(--white);
  background: var(--blue-deep);
}

.sector-card > div p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sector-card p:last-child {
  display: flex;
  align-items: center;
  flex: 1;
  margin: 0;
  padding: 22px;
  color: var(--muted);
}

.sector-card[hidden] {
  display: none;
}

@media (min-width: 1061px) {
  .sector-card > div {
    min-height: 164px;
  }
}

.sector-card.compute > div {
  background:
    linear-gradient(180deg, rgba(32, 176, 168, 0.16), rgba(3, 38, 56, 0.94)),
    url("./assets/images/hero-ai-compute.jpg")
      center / cover;
}

.sector-card.gpu > div {
  background:
    linear-gradient(180deg, rgba(32, 176, 168, 0.14), rgba(3, 38, 56, 0.95)),
    url("./assets/images/hero-gpu-server.jpg")
      center / cover;
}

.sector-card.solar > div {
  background:
    linear-gradient(180deg, rgba(220, 237, 44, 0.18), rgba(3, 55, 55, 0.92)),
    url("./assets/images/hero-solar.jpg")
      center / cover;
}

.sector-card.storage > div {
  background:
    linear-gradient(180deg, rgba(32, 176, 168, 0.2), rgba(3, 38, 56, 0.94)),
    url("./assets/images/hero-storage.jpg")
      center / cover;
}

.platform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  min-height: 660px;
}

.platform-image {
  background:
    linear-gradient(90deg, rgba(32, 176, 168, 0.16), rgba(220, 237, 44, 0.04)),
    url("./assets/images/platform-data-center.jpg")
      center / cover;
}

.platform-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 6vw, 86px);
  background: var(--blue-deep);
  color: var(--white);
}

.platform-copy h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
}

.platform-copy .mobile-title-line {
  display: block;
  white-space: nowrap;
}

.platform-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.platform-copy ul {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.platform-copy li {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.platform-copy li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.metrics div {
  padding: 38px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 800;
}

.process {
  background: var(--white);
}

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

.process-grid article {
  padding: 30px 28px;
  background: var(--white);
}

.process-grid article > span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.process-grid p,
.faq-list p {
  color: var(--muted);
}

.faq {
  background: var(--paper);
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 58px 24px 24px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 14px;
  height: 14px;
  content: "+";
  color: var(--blue);
  font-size: 24px;
  line-height: 0.55;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.company-note {
  margin-top: 132px;
}

.company-note h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
}

.company-note h2::after {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 24px;
  content: "";
  background: var(--blue);
}

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

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

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

.company-table dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr) minmax(220px, 0.9fr);
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(48px, 6vw, 72px) max(var(--content-gutter), calc((100% - var(--content-max)) / 2)) 28px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.footer-about img {
  width: 218px;
  margin-bottom: 22px;
}

.footer-about p {
  max-width: 520px;
}

.footer-term-critical {
  white-space: nowrap;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-text);
}

.site-footer small {
  grid-column: 1 / -1;
  display: block;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-legal-term {
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-title-final {
    display: block;
    white-space: nowrap;
  }

  .hero-panel {
    max-width: 520px;
  }

  .sector-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .platform {
    grid-template-columns: 1fr;
  }

  .platform-image {
    min-height: 420px;
  }

  .company-layout {
    grid-template-columns: 1fr;
  }

  .company-note {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .thesis-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    gap: 8px 18px;
    flex-wrap: wrap;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 760px) {

  .hero-lead-tail {
    white-space: normal;
  }

  .desktop-title-line {
    display: inline;
  }

  .hero-title-line {
    display: block;
    white-space: nowrap;
  }

  .hero-title-wide-line {
    display: contents;
    white-space: normal;
  }

  .mobile-title-line {
    display: block;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .section-kicker,
  .strategy-heading,
    .company-layout,
    .company-table div,
    .thesis-grid,
    .sector-grid,
    .metrics,
    .process-grid {
    grid-template-columns: 1fr;
  }

  .section-lead {
    margin-left: 0;
  }

  .strategy-heading {
    gap: 14px;
    margin-bottom: 36px;
  }

  .company-note {
    margin-top: 0;
  }

  .sector-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-slide-compute {
    opacity: 1;
  }
}
