@charset "UTF-8";
/*!
Theme Name: Cocoon Child AiSaaS Navi
Template: cocoon-master
Version: 1.0.0
*/

:root {
  --aisn-navy: #0A2540;
  --aisn-white: #FFFFFF;
  --aisn-accent: #00B4D8;
  --aisn-text: #132238;
  --aisn-muted: #66788A;
  --aisn-line: #E6EDF3;
  --aisn-bg: #F6F9FC;
}

body {
  color: var(--aisn-text);
  background: var(--aisn-white);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--aisn-navy);
}

a:hover {
  color: var(--aisn-accent);
}

.entry-content,
.article {
  line-height: 1.9;
}

.aisn-top-hero,
.aisn-hub-hero {
  margin: 0 0 42px;
  padding: 48px 0 30px;
  border-bottom: 1px solid var(--aisn-line);
}

.aisn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--aisn-accent);
  font-size: 13px;
  font-weight: 700;
}

.aisn-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--aisn-accent);
}

.aisn-title {
  margin: 0 0 16px;
  color: var(--aisn-navy);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
}

.aisn-lead {
  max-width: 760px;
  margin: 0;
  color: var(--aisn-muted);
  font-size: 16px;
}

.aisn-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 32px 0 50px;
}

.aisn-hub-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--aisn-line);
  border-radius: 8px;
  background: var(--aisn-white);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.aisn-hub-card:hover {
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: 0 22px 52px rgba(10, 37, 64, 0.13);
  transform: translateY(-3px);
}

.aisn-hub-card__label {
  margin: 0 0 18px;
  color: var(--aisn-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.aisn-hub-card__title {
  margin: 0 0 12px;
  color: var(--aisn-navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
}

.aisn-hub-card__text {
  margin: 0;
  color: var(--aisn-muted);
  font-size: 14px;
}

.aisn-section-title {
  margin: 0 0 24px;
  color: var(--aisn-navy);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
}

.aisn-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 28px 0 20px;
}

.aisn-post-card {
  overflow: hidden;
  border: 1px solid var(--aisn-line);
  border-radius: 8px;
  background: var(--aisn-white);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.aisn-post-card:hover {
  box-shadow: 0 24px 58px rgba(10, 37, 64, 0.14);
  transform: translateY(-3px);
}

.aisn-post-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--aisn-navy), #14537A);
}

.aisn-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 240ms ease;
}

.aisn-post-card:hover .aisn-post-card__image img {
  transform: scale(1.05);
}

.aisn-post-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--aisn-white);
  font-size: 18px;
  font-weight: 800;
}

.aisn-post-card__body {
  padding: 24px;
}

.aisn-post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--aisn-muted);
  font-size: 12px;
  font-weight: 700;
}

.aisn-post-card__category {
  color: var(--aisn-accent);
}

.aisn-post-card__title {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.48;
}

.aisn-post-card__title a {
  color: var(--aisn-navy);
  text-decoration: none;
}

.aisn-post-card__excerpt {
  margin: 0;
  color: var(--aisn-muted);
  font-size: 14px;
  line-height: 1.85;
}

.aisn-empty {
  padding: 28px;
  border: 1px solid var(--aisn-line);
  border-radius: 8px;
  background: var(--aisn-bg);
  color: var(--aisn-muted);
}

.aisn-cta {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid rgba(0, 180, 216, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #F6FBFF 0%, #FFFFFF 72%);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.08);
}

.aisn-cta__text {
  margin: 0 0 18px;
  color: var(--aisn-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.aisn-cta__note {
  margin: 12px 0 0;
  color: var(--aisn-muted);
  font-size: 13px;
}

.aisn-cta__button,
.entry-content .aisn-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--aisn-accent);
  color: var(--aisn-white);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 180, 216, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.aisn-cta__button:hover,
.entry-content .aisn-cta__button:hover {
  background: #009BC0;
  color: var(--aisn-white);
  box-shadow: 0 16px 34px rgba(0, 180, 216, 0.34);
  transform: translateY(-2px);
}

.btn-wrap a,
.wp-block-button__link {
  border-radius: 8px;
  background: var(--aisn-accent);
  color: var(--aisn-white);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 180, 216, 0.24);
}

@media (max-width: 834px) {
  .aisn-hub-grid,
  .aisn-post-grid {
    grid-template-columns: 1fr;
  }

  .aisn-title {
    font-size: 28px;
  }

  .aisn-top-hero,
  .aisn-hub-hero {
    padding-top: 30px;
  }
}
