/* ==================================================
   株式会社ONE STEP TOPページ専用CSS
   HTML内の .one- から始まる要素だけに適用
================================================== */

.one-site {
  --one-black: #07090f;
  --one-deep: #0d1524;
  --one-navy: #13213c;
  --one-gold: #d9b565;
  --one-gold-light: #f0d98d;
  --one-white: #f7f5ef;
  --one-muted: #bcc3cf;
  --one-line: rgba(255, 255, 255, 0.14);

  width: 100%;
  overflow: hidden;
  color: var(--one-white);
  background: var(--one-black);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    sans-serif;
}

.one-site *,
.one-site *::before,
.one-site *::after {
  box-sizing: border-box;
}

.one-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.one-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.one-center {
  text-align: center;
}

.one-section {
  padding: clamp(78px, 10vw, 128px) 0;
}

.one-eyebrow {
  margin: 0 0 18px;
  color: var(--one-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.one-site h1,
.one-site h2,
.one-site h3 {
  margin: 0;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.one-site h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 1.12;
}

.one-site h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.32;
}

.one-site h3 {
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1.4;
}

/* ==================================================
   HERO
================================================== */

.one-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(600px, 76vw, 760px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(217, 181, 101, 0.22), transparent 29%),
    radial-gradient(circle at 10% 92%, rgba(38, 82, 139, 0.34), transparent 36%),
    linear-gradient(145deg, #07090f 0%, #13203a 56%, #05070d 100%);
}

.one-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.one-hero .one-container {
  position: relative;
  z-index: 1;
}

.one-hero-lead {
  margin: 32px auto 0;
  font-size: clamp(17px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.85;
}

.one-hero-note {
  margin: 18px auto 32px;
  color: var(--one-gold-light);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  line-height: 1.9;
}

.one-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 30px;
  border: 1px solid var(--one-gold);
  background: var(--one-gold);
  color: #121212 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

/* ==================================================
   TEXT SECTIONS
================================================== */

.one-message {
  background: var(--one-black);
}

.one-pwa {
  background: var(--one-navy);
}

.one-belief {
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 181, 101, 0.14), transparent 35%),
    #080b12;
}

.one-company {
  background: #090c13;
}

.one-lead {
  max-width: 790px;
  margin: 32px auto 0;
  color: var(--one-white);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 2;
}

.one-text {
  max-width: 740px;
  margin: 18px auto 0;
  color: var(--one-muted);
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 2;
}

.one-section-heading {
  margin-bottom: clamp(34px, 5vw, 54px);
}

/* ==================================================
   AVAILABLE NOW
================================================== */

.one-services {
  background: var(--one-deep);
}

.one-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.one-live-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 360px;
  padding: 30px 24px 26px;
  border: 1px solid var(--one-line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.one-service-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 150px);
  height: 72px;
  margin: 0 auto 18px;
}

/* ロゴの縦横比が違っても、文字位置が崩れない */
.one-service-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.one-service-status {
  margin: 0 0 14px;
  color: #a6e7ac;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.one-service-copy {
  margin: 13px 0 25px;
  color: var(--one-muted);
  font-size: 14px;
  line-height: 1.8;
}

.one-service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--one-gold-light) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}

.one-service-link span {
  font-size: 17px;
  line-height: 1;
}

/* ==================================================
   COMING SOON
================================================== */

.one-coming {
  background: #0a0f19;
}

.one-coming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.one-coming-card {
  position: relative;
  min-height: 250px;
  padding: 30px 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
}

.one-coming-number {
  display: block;
  margin-bottom: 34px;
  color: var(--one-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.one-coming-card h3 {
  margin-bottom: 14px;
}

.one-coming-card p {
  margin: 0;
  color: var(--one-muted);
  font-size: 14px;
  line-height: 1.85;
}

.one-coming-label {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: var(--one-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ==================================================
   COMPANY
================================================== */

.one-company-list {
  width: min(780px, 100%);
  margin: 40px auto 0;
  border-top: 1px solid var(--one-line);
}

.one-company-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--one-line);
}

.one-company-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--one-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.one-company-row strong {
  display: block;
  color: var(--one-muted);
  font-size: clamp(14px, 1.5vw, 15px);
  font-weight: 500;
  line-height: 1.9;
}

/* ==================================================
   CONTACT
================================================== */

.one-contact {
  padding-bottom: 36px;
  background: var(--one-gold);
  color: #111111;
}

.one-contact .one-eyebrow {
  color: rgba(0, 0, 0, 0.62);
}

.one-contact-text {
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 1.8;
}

/* ==================================================
   Contact Form 7
   HTML直下に置いたショートコードブロック向け
================================================== */

.wp-block-shortcode {
  margin: 0 !important;
  padding: 0 0 76px;
  background: #d9b565;
}

.wp-block-shortcode .wpcf7 {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.wp-block-shortcode .wpcf7 label {
  display: block;
  margin: 0 0 20px;
  color: #151515;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.wp-block-shortcode .wpcf7 input[type="text"],
.wp-block-shortcode .wpcf7 input[type="email"],
.wp-block-shortcode .wpcf7 textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(0, 0, 0, 0.65);
  border-radius: 0;
  background: #fbf8f1;
  color: #111111;
  font: inherit;
  line-height: 1.6;
}

.wp-block-shortcode .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wp-block-shortcode .wpcf7 input[type="submit"] {
  width: min(100%, 240px);
  min-height: 52px;
  margin-top: 8px;
  padding: 14px 24px;
  border: 1px solid #0d1728;
  background: #0d1728;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {
  .one-live-grid,
  .one-coming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .one-live-card {
    min-height: 340px;
  }
}

/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 600px) {
  .one-container {
    width: min(100% - 30px, 560px);
  }

  .one-section {
    padding: 72px 0;
  }

  .one-hero {
    min-height: 610px;
  }

  .one-site h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .one-site h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .one-hero-lead {
    margin-top: 26px;
    font-size: 16px;
  }

  .one-hero-note {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .one-button {
    width: min(100%, 250px);
  }

  .one-live-grid,
  .one-coming-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .one-live-card {
    min-height: 295px;
    padding: 26px 20px 22px;
  }

  .one-service-logo {
    width: min(100%, 135px);
    height: 62px;
  }

  .one-coming-card {
    min-height: 220px;
    padding: 26px 22px 22px;
  }

  .one-coming-number {
    margin-bottom: 26px;
  }

  .one-coming-label {
    right: 22px;
    bottom: 20px;
  }

  .one-company-list {
    margin-top: 32px;
  }

  .one-company-row {
    padding: 18px 0;
  }

  .one-contact {
    padding-bottom: 28px;
  }

  .wp-block-shortcode {
    padding-bottom: 58px;
  }

  .wp-block-shortcode .wpcf7 {
    width: min(100% - 30px, 560px);
  }

  .wp-block-shortcode .wpcf7 textarea {
    min-height: 155px;
  }

  .wp-block-shortcode .wpcf7 input[type="submit"] {
    width: 100%;
  }
}