@charset "UTF-8";

/*
Theme Name: Taishoku Affiliate Cocoon Child
Description: Taishoku affiliate MVP Cocoon child theme.
Theme URI: https://wp-cocoon.com/
Author: taishoku-affiliate
Template: cocoon-master
Version: 0.2.0
*/

:root {
  --taishoku-accent: #176b5d;
  --taishoku-accent-dark: #0f4f45;
  --taishoku-accent-soft: #e8f5f2;
  --taishoku-bg: #f6faf9;
  --taishoku-border: #d9e7e4;
}

/* --- トップヒーロー --- */
.taishoku-hero {
  margin: 0 0 1.25rem;
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--taishoku-border);
  background: linear-gradient(135deg, #e8f5f2 0%, #f6faf9 55%, #fff 100%);
  box-shadow: 0 4px 20px rgba(15, 79, 69, 0.08);
}

.taishoku-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--taishoku-accent);
}

.taishoku-hero__lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
}

.taishoku-hero__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.taishoku-hero__points li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--taishoku-accent-dark);
  background: #fff;
  border: 1px solid var(--taishoku-border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

@media (max-width: 640px) {
  .taishoku-hero__points {
    flex-direction: column;
    align-items: flex-start;
  }
}

.taishoku-cta,
.taishoku-diagnosis,
.taishoku-compare-table-wrap {
  border: 1px solid var(--taishoku-border);
  background: var(--taishoku-bg);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(15, 79, 69, 0.06);
}

.taishoku-cta__button,
.taishoku-diagnosis button,
.taishoku-diagnosis a.taishoku-cta__button {
  display: inline-block;
  background: var(--taishoku-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(23, 107, 93, 0.25);
}

.taishoku-cta__button:hover,
.taishoku-diagnosis button:hover,
.taishoku-diagnosis a.taishoku-cta__button:hover {
  background: var(--taishoku-accent-dark);
  color: #fff;
}

.taishoku-pending-official {
  font-size: 0.8125rem;
  color: #777;
  white-space: nowrap;
}

.taishoku-compare-jobs-lead {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333;
}

.taishoku-compare-row--featured {
  background: var(--taishoku-accent-soft);
}

.taishoku-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--taishoku-accent-dark);
  background: #fff;
  border: 1px solid var(--taishoku-accent);
  border-radius: 4px;
  vertical-align: middle;
}

.taishoku-result-jobs {
  margin: 1rem 0 1.25rem;
}

.taishoku-internal-nav {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: var(--taishoku-accent-soft);
  border-radius: 12px;
  border: 1px solid var(--taishoku-border);
}

.taishoku-internal-nav ul {
  margin: 0;
  padding-left: 1.25rem;
}

.taishoku-internal-nav li {
  margin: 0.35rem 0;
}

.taishoku-cta__note,
.taishoku-note {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}

/* --- 診断フォーム --- */
.taishoku-diagnosis > h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.taishoku-diagnosis > p:first-of-type {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.taishoku-diagnosis__form {
  display: grid;
  gap: 0.75rem;
}

.taishoku-diagnosis fieldset {
  border: 1px solid var(--taishoku-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.taishoku-diagnosis fieldset:focus-within {
  border-color: var(--taishoku-accent);
  box-shadow: 0 0 0 3px rgba(23, 107, 93, 0.12);
}

.taishoku-diagnosis legend {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.65rem;
  padding: 0;
  color: #1a1a1a;
}

.taishoku-diagnosis label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  margin: 0.2rem 0.45rem 0.2rem 0;
  border: 1px solid var(--taishoku-border);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.taishoku-diagnosis label:has(input:checked) {
  border-color: var(--taishoku-accent);
  background: var(--taishoku-accent-soft);
  color: var(--taishoku-accent-dark);
  font-weight: 700;
}

.taishoku-diagnosis input[type="radio"] {
  accent-color: var(--taishoku-accent);
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.taishoku-diagnosis button[type="submit"] {
  margin-top: 0.75rem;
  cursor: pointer;
  font-size: 1.05rem;
  min-width: 260px;
}

.taishoku-diagnosis__result {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--taishoku-accent);
}

.taishoku-diagnosis__result h3 {
  margin-top: 0;
  color: var(--taishoku-accent-dark);
}

.taishoku-result-services {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.taishoku-result-services li + li {
  margin-top: 0.5rem;
}

.taishoku-result-services a {
  font-weight: 700;
}

/* --- 比較表 --- */
.taishoku-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.taishoku-compare-scroll-hint {
  display: none;
  font-size: 0.8125rem;
  color: #666;
  margin: 0 0 0.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .taishoku-compare-scroll-hint {
    display: block;
  }
}

.taishoku-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.taishoku-compare-table th,
.taishoku-compare-table td {
  border: 1px solid var(--taishoku-border);
  padding: 0.75rem;
  vertical-align: top;
}

.taishoku-compare-table th {
  background: #eaf5f2;
}

.taishoku-compare-table th:last-child,
.taishoku-compare-table td:last-child {
  min-width: 6.5rem;
  white-space: nowrap;
  text-align: center;
}

/* --- Cocoon 調整 --- */
.widget_sns_follow,
.sns-follow,
.follow-button,
aside .widget:has([href*="feedly.com"]) {
  display: none !important;
}

body.front-top-page .sidebar,
body.front-top-page .sidebar-scroll,
body.front-top-page #sidebar,
body.home .sidebar,
body.home #sidebar,
body.home .widget-area,
body.home .sidebar-scroll {
  display: none !important;
}

body.front-top-page #content,
body.front-top-page .content,
body.front-top-page #main,
body.front-top-page .main,
body.front-top-page #content-in,
body.front-top-page .content-in,
body.home #content,
body.home .content {
  width: 100% !important;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

body.front-top-page .wrap,
body.home .wrap {
  max-width: 1040px;
  margin: 0 auto;
}

body.page .entry-content {
  max-width: 960px;
  margin: 0 auto;
}
