@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/*
Theme Name: Kuroneko Cocoon Child
Theme URI: https://kuronekoai-partners.com/
Description: Cocoon child theme for Kuroneko AI Partners top page.
Author: Codex
Version: 1.0.0
Template: cocoon-master
Text Domain: kuroneko-cocoon-child
*/

:root {
  --kap-bg: #0d0c0b;
  --kap-surface: rgba(38, 37, 36, 0.78);
  --kap-surface-alt: rgba(38, 37, 36, 0.58);
  --kap-line: rgba(191, 191, 191, 0.18);
  --kap-text: #f2f1ef;
  --kap-text-muted: #bfbfbf;
  --kap-accent: #d9d2c3;
  --kap-accent-strong: #f0ef7a;
  --kap-max-width: 1120px;
  --kap-header-height: 96px;
  --kap-radius: 22px;
  --kap-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body.home,
body.blog.home {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.03), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(180deg, #1a1918 0%, var(--kap-bg) 100%);
}

body.home #header-container,
body.home #header,
body.home .header,
body.home #appeal,
body.home #breadcrumb,
body.home .breadcrumb,
body.home .article-header,
body.home .entry-title,
body.home .singular-page .entry-title,
body.home .page .entry-title,
body.home .eye-catch-wrap,
body.home .entry-card-wrap,
body.home #sidebar,
body.home .sidebar,
body.home .pager-post-navi,
body.home .comment-area,
body.home .related-entry-card-wrap,
body.home .post-navi,
body.home .article-footer,
body.home .main-scroll {
  display: none !important;
}

body.home #contents,
body.home #main,
body.home .content,
body.home .container,
body.home #main .main,
body.home .main,
body.home .article,
body.home .entry-content,
body.home .content-in,
body.home .wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home .entry-content {
  margin-top: 0 !important;
}

.kap-page {
  color: var(--kap-text);
}

.kap-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 24px;
  background: rgba(13, 12, 11, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--kap-line);
}

.kap-header__inner {
  width: min(100%, var(--kap-max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.kap-brand {
  min-width: 0;
}

.kap-brand__label {
  margin: 0 0 2px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kap-text-muted);
}

.kap-brand__name {
  color: var(--kap-text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
}

.kap-nav-wrap {
  position: relative;
  flex-shrink: 0;
}

.kap-nav-toggle,
.kap-back-to-top {
  min-height: 62px;
  border-radius: 14px;
  background: #100d0d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--kap-text);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.kap-nav-toggle:hover,
.kap-nav-toggle:focus-visible,
.kap-back-to-top:hover,
.kap-back-to-top:focus-visible {
  background: #1d1a1a;
  color: var(--kap-accent-strong);
  transform: translateY(-1px);
}

.kap-nav-toggle {
  width: 108px;
  padding: 0 18px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.kap-nav-toggle::-webkit-details-marker {
  display: none;
}

.kap-nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.kap-nav {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: grid;
  min-width: 260px;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--kap-line);
  border-radius: 20px;
  background: rgba(20, 16, 16, 0.97);
  box-shadow: var(--kap-shadow);
}

.kap-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--kap-text-muted);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kap-nav a:hover,
.kap-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: var(--kap-accent-strong);
}

.kap-section {
  scroll-margin-top: calc(var(--kap-header-height) + 24px);
  padding: 96px 24px;
}

.kap-section--alt {
  background: var(--kap-surface-alt);
}

.kap-section__inner {
  width: min(100%, var(--kap-max-width));
  margin: 0 auto;
}

.kap-section__inner--narrow {
  width: min(100%, 860px);
}

.kap-section-tag {
  margin: 0 0 16px;
  color: var(--kap-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.kap-hero {
  min-height: calc(100vh - var(--kap-header-height));
  display: flex;
  align-items: center;
  padding-top: 48px;
}

.kap-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kap-hero__title {
  margin: 0 0 26px;
  max-width: 9ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.16;
  letter-spacing: -0.05em;
}

.kap-hero__text {
  max-width: 620px;
  font-size: 0.98rem;
  color: rgba(242, 241, 239, 0.84);
}

.kap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.kap-button {
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kap-button-primary {
  background: var(--kap-accent);
  color: #1d1b19;
}

.kap-button-secondary {
  border: 1px solid var(--kap-line);
  color: var(--kap-text);
  background: rgba(255, 255, 255, 0.02);
}

.kap-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.kap-card,
.kap-flow-item,
.kap-form-placeholder {
  border: 1px solid var(--kap-line);
  border-radius: var(--kap-radius);
  background: var(--kap-surface);
  box-shadow: var(--kap-shadow);
}

.kap-card {
  padding: 30px;
  height: 100%;
}

.kap-flow-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  padding: 28px;
  margin-top: 18px;
}

.kap-flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(217, 210, 195, 0.12);
  color: var(--kap-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kap-info-list {
  display: grid;
  gap: 18px;
}

.kap-info-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--kap-line);
}

.kap-info-list dt {
  color: var(--kap-text-muted);
}

.kap-contact-section {
  padding-bottom: 120px;
}

.kap-form-placeholder {
  margin-top: 28px;
  padding: 32px;
  border-style: dashed;
}

.kap-form-placeholder__title {
  margin-bottom: 10px;
  color: var(--kap-accent);
  font-weight: 700;
}

.kap-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  width: 62px;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.kap-back-to-top::before {
  content: "↑";
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.kap-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .kap-columns,
  .kap-flow-item,
  .kap-info-list div {
    grid-template-columns: 1fr;
  }

  .kap-card,
  .kap-flow-item,
  .kap-form-placeholder {
    padding: 24px;
  }

  .kap-flow-step {
    width: 56px;
    height: 56px;
  }

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

  .kap-hero__title {
    max-width: 11ch;
  }
}

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

  .kap-header__inner {
    gap: 12px;
  }

  .kap-brand__label {
    font-size: 0.64rem;
  }

  .kap-brand__name {
    font-size: 1rem;
  }

  .kap-nav-toggle,
  .kap-back-to-top {
    min-height: 54px;
  }

  .kap-nav-toggle {
    width: 84px;
    padding: 0 14px;
  }

  .kap-nav {
    min-width: 220px;
  }

  .kap-section {
    padding: 72px 18px;
  }

  .kap-hero__title,
  .kap-hero__text {
    max-width: none;
  }

  .kap-hero__title {
    font-size: 2.3rem;
  }

  .kap-hero__text {
    font-size: 0.94rem;
  }

  .kap-hero__actions {
    flex-direction: column;
  }

  .kap-button {
    width: 100%;
  }

  .kap-back-to-top {
    right: 18px;
    bottom: 18px;
    width: 54px;
  }
}
body.home #footer,
body.home .footer,
body.home #footer-in,
body.home .footer-in,
body.home #navi-footer,
body.home .navi-footer,
body.home #footer-bottom,
body.home .footer-bottom,
body.home .copyright,
body.home .source-org,
body.home .go-to-top-button,
body.home .page-top,
body.home #page-top {
  background: #100d0d !important;
  color: #bfbfbf !important;
  border-top: 1px solid rgba(191, 191, 191, 0.18) !important;
  box-shadow: none !important;
}

body.home #footer a,
body.home .footer a,
body.home #footer-bottom a,
body.home .copyright a {
  color: #f2f1ef !important;
}

body.home #footer a:hover,
body.home .footer a:hover,
body.home #footer-bottom a:hover,
body.home .copyright a:hover {
  color: #f0ef7a !important;
}
body.home #footer,
body.home .footer,
body.home #footer-in,
body.home .footer-in,
body.home #navi-footer,
body.home .navi-footer,
body.home #footer-bottom,
body.home .footer-bottom,
body.home .copyright,
body.home .source-org {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body.home #footer {
  border-top: 1px solid rgba(191, 191, 191, 0.18) !important;
}
.mobile-footer-menu-buttons {
  display: none;
}
.kap-form-placeholder {
  display: none;
}

.kap-cf7-form {
  margin-top: 28px;
}

.kap-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kap-cf7-field {
  margin-bottom: 18px;
}

.kap-cf7-field label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--kap-text);
  font-weight: 700;
}

.kap-cf7-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(240, 239, 122, 0.12);
  color: var(--kap-accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.kap-cf7-form input[type="text"],
.kap-cf7-form input[type="email"],
.kap-cf7-form input[type="tel"],
.kap-cf7-form select,
.kap-cf7-form textarea {
  width: 100%;
  border: 1px solid var(--kap-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--kap-text);
  padding: 16px 18px;
  font-size: 1rem;
  line-height: 1.7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.kap-cf7-form input[type="text"]::placeholder,
.kap-cf7-form input[type="email"]::placeholder,
.kap-cf7-form input[type="tel"]::placeholder,
.kap-cf7-form textarea::placeholder {
  color: rgba(191, 191, 191, 0.72);
}

.kap-cf7-form input[type="text"]:focus,
.kap-cf7-form input[type="email"]:focus,
.kap-cf7-form input[type="tel"]:focus,
.kap-cf7-form select:focus,
.kap-cf7-form textarea:focus {
  outline: none;
  border-color: rgba(240, 239, 122, 0.4);
  box-shadow: 0 0 0 4px rgba(240, 239, 122, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.kap-cf7-form select {
  appearance: none;
}

.kap-cf7-form textarea {
  min-height: 200px;
  resize: vertical;
}

.kap-cf7-consent {
  margin: 10px 0 24px;
  color: var(--kap-text-muted);
}

.kap-cf7-consent .wpcf7-list-item {
  margin: 0;
}

.kap-cf7-consent input[type="checkbox"] {
  margin-right: 8px;
}

.kap-cf7-submit {
  margin-top: 8px;
}

.kap-cf7-submit input[type="submit"] {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--kap-accent);
  color: #1d1b19;
  padding: 0 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.kap-cf7-submit input[type="submit"]:hover {
  background: var(--kap-accent-strong);
  transform: translateY(-1px);
}

.kap-cf7-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #ffb7b7;
  font-size: 0.88rem;
}

.kap-cf7-form .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px;
  border: 1px solid var(--kap-line) !important;
  color: var(--kap-text);
}

@media (max-width: 640px) {
  .kap-cf7-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kap-cf7-submit input[type="submit"] {
    width: 100%;
  }
}
