/*
Theme Name: Career AI Plaza Renewal (TEST)
Theme URI: https://ai.career-plaza.com/
Author: Career AI Plaza
Description: テスト用の複製テーマ。トップページのファーストビューを3Dヒーローに差し替えた検証版です（本番テーマ career-ai-plaza は無変更）。
Version: 0.2.0-renewal
Text Domain: career-ai-plaza
*/

/* WordPress adjustment layer.
   The original design CSS is loaded from assets/css/style.css.
   Keep only WordPress/plugin-specific adjustments here. */

/* Service cards keep their own accent color, independent from the page theme. */
.theme-magenta {
  --accent: #c026d3;
  --accent-dark: #a21caf;
  --accent-soft: rgba(192, 38, 211, 0.12);
  --accent-shadow: rgba(192, 38, 211, 0.28);
}

.service-card--blue {
  --card-accent: #2563eb;
  --card-accent-rgb: 37, 99, 235;
}

.service-card--green {
  --card-accent: #16a34a;
  --card-accent-rgb: 22, 163, 74;
}

.service-card--teal {
  --card-accent: #159a9c;
  --card-accent-rgb: 21, 154, 156;
}

.service-card--purple {
  --card-accent: #7c3aed;
  --card-accent-rgb: 124, 58, 237;
}

.service-card--magenta {
  --card-accent: #c026d3;
  --card-accent-rgb: 192, 38, 211;
}

.service-card--gold {
  --card-accent: #c99424;
  --card-accent-rgb: 201, 148, 36;
}

.icase[class*="service-card--"] {
  border-top: 3px solid var(--card-accent);
}

.icase[class*="service-card--"] .service-card__title > span:first-child {
  color: var(--primary);
}

.icase__cta .service-btn {
  border-color: var(--card-accent, var(--primary));
  color: var(--card-accent, var(--primary));
}

.icase__cta .service-btn::before {
  background: var(--card-accent, var(--primary));
}

.icase__cta .service-btn:hover {
  border-color: var(--card-accent, var(--primary));
  color: var(--white);
}

.service-badge--blue {
  border-color: #2563eb;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.service-badge--green {
  border-color: #16a34a;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
}

.service-badge--teal {
  border-color: #159a9c;
  color: #159a9c;
  background: rgba(21, 154, 156, 0.08);
}

.service-badge--purple {
  border-color: #7c3aed;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
}

.service-badge--magenta {
  border-color: #c026d3;
  color: #c026d3;
  background: rgba(192, 38, 211, 0.08);
}

.service-badge--gold {
  border-color: #c99424;
  color: #c99424;
  background: rgba(201, 148, 36, 0.10);
}

.svcgrid .icase {
  min-width: 0;
}

.svcgrid .icase__text {
  line-break: strict;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 640px) {
  .svcgrid .icase__text {
    word-break: break-all;
  }
}

body.theme-orange .icase__guide-btn--photo:not(.is-disabled),
body.theme-blue .icase__guide-btn--photo:not(.is-disabled),
body.theme-green .icase__guide-btn--photo:not(.is-disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 18px var(--accent-shadow);
}

body.theme-orange .icase__guide-btn--photo:not(.is-disabled):hover,
body.theme-orange .icase__guide-btn--photo:not(.is-disabled):focus-visible,
body.theme-blue .icase__guide-btn--photo:not(.is-disabled):hover,
body.theme-blue .icase__guide-btn--photo:not(.is-disabled):focus-visible,
body.theme-green .icase__guide-btn--photo:not(.is-disabled):hover,
body.theme-green .icase__guide-btn--photo:not(.is-disabled):focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

body.theme-orange .icase__guide-btn--illustration:not(.is-disabled),
body.theme-blue .icase__guide-btn--illustration:not(.is-disabled),
body.theme-green .icase__guide-btn--illustration:not(.is-disabled) {
  background: var(--white);
  border-color: var(--accent);
  color: var(--accent-dark);
}

body.theme-orange .icase__guide-btn--illustration:not(.is-disabled):hover,
body.theme-orange .icase__guide-btn--illustration:not(.is-disabled):focus-visible,
body.theme-blue .icase__guide-btn--illustration:not(.is-disabled):hover,
body.theme-blue .icase__guide-btn--illustration:not(.is-disabled):focus-visible,
body.theme-green .icase__guide-btn--illustration:not(.is-disabled):hover,
body.theme-green .icase__guide-btn--illustration:not(.is-disabled):focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.page-template-page-service-high-function-wordpress .high-function-flow {
  aspect-ratio: auto !important;
  height: auto !important;
  line-height: 0;
  margin-bottom: 24px;
  max-height: none !important;
  overflow: visible;
}

.page-template-page-service-high-function-wordpress .high-function-flow::after,
.page-template-page-service-high-function-wordpress .high-function-sitecard__media::after {
  content: none !important;
  display: none !important;
}

.page-template-page-service-high-function-wordpress .high-function-flow img {
  display: block;
  height: auto !important;
  inset: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center;
  position: static !important;
  transform: none !important;
  width: 100% !important;
}

.page-template-page-service-high-function-wordpress .high-function-flow + .note,
.page-template-page-service-high-function-wordpress .high-function-flow + .note + .featurelist {
  clear: both;
  position: relative;
}

.page-template-page-service-high-function-wordpress .tilegrid__note {
  border-top: 1px solid rgba(192, 38, 211, 0.18);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  margin-top: 14px;
  padding-top: 12px;
}

.page-template-page-service-high-function-wordpress .high-function-sitecards {
  align-items: stretch;
}

.page-template-page-service-high-function-wordpress .high-function-sitecard {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.page-template-page-service-high-function-wordpress .high-function-sitecard__media {
  aspect-ratio: 3 / 2;
  border-bottom: 1px solid rgba(192, 38, 211, 0.18);
  margin: 0;
  width: 100%;
}

.page-template-page-service-high-function-wordpress .high-function-sitecard__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.page-template-page-service-high-function-wordpress .high-function-sitecard__media--booking img {
  object-position: center 54%;
}

.page-template-page-service-high-function-wordpress .high-function-sitecard__media--learning img {
  object-position: 64% center;
}

.page-template-page-service-high-function-wordpress .high-function-sitecard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.page-template-page-service-high-function-wordpress .high-function-examples {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: left;
}

.page-template-page-service-high-function-wordpress .high-function-examples__intro {
  color: var(--primary);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-template-page-service-high-function-wordpress .high-function-examples li {
  min-height: 100%;
}

.page-template-page-service-high-function-wordpress .high-function-examples__closing {
  color: var(--primary);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  margin: 24px auto 0;
  max-width: 860px;
}

@media (max-width: 900px) {
  .page-template-page-service-high-function-wordpress .high-function-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-template-page-service-high-function-wordpress .high-function-examples {
    grid-template-columns: 1fr;
  }

  .page-template-page-service-high-function-wordpress .high-function-examples__intro {
    font-size: 16px;
  }

  .page-template-page-service-high-function-wordpress .high-function-examples__closing {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* Services page: show six service cards as 3 columns x 2 rows on desktop. */
@media (min-width: 1024px) {
  .svcgrid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1180px;
  }
}

/* Snow Monkey Forms:
   page-company.php outputs the temporary shortcode inside .contact__form--snow-monkey.
   Tune these selectors after the real form fields are created in Snow Monkey Forms. */
.contact__form--snow-monkey .smf-form {
  display: grid;
  gap: 18px;
}

.contact__form--snow-monkey .smf-item__label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact__form--snow-monkey .smf-required {
  background: var(--gold);
  color: var(--primary);
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  margin-left: 8px;
  padding: 4px 7px;
}

.contact__form--snow-monkey .smf-text-control__control,
.contact__form--snow-monkey .smf-textarea-control__control,
.contact__form--snow-monkey .smf-select-control__control {
  width: 100%;
  border: 1px solid #D9D2BF;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  padding: 12px 14px;
}

.contact__form--snow-monkey .smf-select-control__control {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--white);
  background-image:
    linear-gradient(45deg, transparent 50%, #9F7B32 50%),
    linear-gradient(135deg, #9F7B32 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 16px) 50%;
  background-repeat: no-repeat;
  background-size: 8px 8px, 8px 8px;
  border: 2px solid #B89445;
  color: var(--primary);
  font-size: 16px;
  min-height: 56px;
  padding: 14px 52px 14px 18px;
}

.contact__form--snow-monkey .smf-select-control__control:focus {
  border-color: #B89445;
  box-shadow: 0 0 0 3px rgba(184, 148, 69, 0.18);
  outline: none;
}

.contact__form--snow-monkey .smf-select-control__control::-ms-expand {
  display: none;
}

.contact__form--snow-monkey .smf-checkboxes-control__control {
  display: grid;
  gap: 8px;
}

.contact__form--snow-monkey .smf-checkbox-control__control {
  margin-right: 8px;
}

.contact__form--snow-monkey .smf-error-messages,
.contact__form--snow-monkey .smf-system-error-content {
  color: #B42318;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 6px;
}

.contact__form--snow-monkey .smf-action {
  margin-top: 20px;
  text-align: center;
}

.contact__form--snow-monkey .smf-button-control__control {
  align-items: center;
  background: var(--primary);
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  width: 100%;
}

/* WordPress post archives/detail pages. */
.post {
  line-height: 1.95;
}

.post__meta {
  color: var(--sub);
  font-size: 12.5px;
  margin: 6px 0 18px;
}

.post__intro {
  color: var(--text);
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 8px;
}

.post h2,
.entry-content h2 {
  color: var(--primary);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  margin: 38px 0 14px;
}

.post p,
.entry-content p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 16px;
}

.post ul,
.entry-content ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.post ul li,
.entry-content ul li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  padding-left: 1.4em;
  position: relative;
}

.post ul li::before,
.entry-content ul li::before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 0.7em;
  width: 7px;
}

.post__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 8px;
}

.post__note {
  background: var(--cream);
  color: var(--sub);
  font-size: 13px;
  margin: 18px 0;
  padding: 14px 16px;
}

.post__author {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
}

.post__author-label {
  color: var(--gold-dark);
  font-family: var(--inter), sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.post__author-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.pagination .page-numbers {
  align-items: center;
  border: 1px solid var(--border);
  color: var(--primary);
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  padding: 8px 12px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* AI business automation training feature/cando cards. */
.page-template-page-service-ai-business-automation-training .ai-automation-features .split {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.5fr);
}

.page-template-page-service-ai-business-automation-training .ai-automation-feature-cards {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-template-page-service-ai-business-automation-training .ai-automation-feature-cards .merit__card,
.page-template-page-service-ai-business-automation-training .ai-automation-cando-grid .tilegrid__item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.page-template-page-service-ai-business-automation-training .merit__examples {
  border-top: 1px solid var(--border);
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
  margin-top: auto;
  padding-top: 12px;
}

.page-template-page-service-ai-business-automation-training .merit__examples span {
  color: var(--primary);
  font-weight: 700;
}

.page-template-page-service-ai-business-automation-training .ai-automation-cando-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

@media (max-width: 1023px) {
  .page-template-page-service-ai-business-automation-training .ai-automation-features .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-template-page-service-ai-business-automation-training .ai-automation-feature-cards {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .page-template-page-service-ai-business-automation-training .ai-automation-cando-grid {
    grid-auto-rows: auto;
  }
}

