@charset "UTF-8";
/* AC design components (column articles) */

/* Base */
.cps-post-main .ac-box,
.cps-post-main .ac-check,
.cps-post-main .ac-attention,
.cps-post-main .ac-caution,
.cps-post-main .ac-review,
.cps-post-main .ac-supervisor,
.cps-post-main .ac-flow {
  box-sizing: border-box;
  margin: 1.6em 0;
  color: inherit;
}
.cps-post-main .ac-box *,
.cps-post-main .ac-check *,
.cps-post-main .ac-attention *,
.cps-post-main .ac-caution *,
.cps-post-main .ac-review *,
.cps-post-main .ac-supervisor *,
.cps-post-main .ac-flow * {
  box-sizing: border-box;
}

/* Normalize inner spacing to avoid theme defaults */
.cps-post-main .ac-box p,
.cps-post-main .ac-check p,
.cps-post-main .ac-attention p,
.cps-post-main .ac-caution p,
.cps-post-main .ac-review p,
.cps-post-main .ac-supervisor p,
.cps-post-main .ac-flow p {
  margin: 0 0 0.6em;
  padding: 0;
  letter-spacing: 0;
  line-height: 1.8;
}
.cps-post-main .ac-box p:last-child,
.cps-post-main .ac-check p:last-child,
.cps-post-main .ac-attention p:last-child,
.cps-post-main .ac-caution p:last-child,
.cps-post-main .ac-review p:last-child,
.cps-post-main .ac-supervisor p:last-child,
.cps-post-main .ac-flow p:last-child {
  margin-bottom: 0;
}
.cps-post-main .ac-box ul,
.cps-post-main .ac-box ol,
.cps-post-main .ac-check ul,
.cps-post-main .ac-check ol,
.cps-post-main .ac-attention ul,
.cps-post-main .ac-attention ol,
.cps-post-main .ac-caution ul,
.cps-post-main .ac-caution ol,
.cps-post-main .ac-review ul,
.cps-post-main .ac-review ol,
.cps-post-main .ac-supervisor ul,
.cps-post-main .ac-supervisor ol,
.cps-post-main .ac-flow ul,
.cps-post-main .ac-flow ol {
  margin: 0.4em 0 0.6em;
  padding-left: 1.2em;
}
.cps-post-main .ac-box ul:last-child,
.cps-post-main .ac-box ol:last-child,
.cps-post-main .ac-check ul:last-child,
.cps-post-main .ac-check ol:last-child,
.cps-post-main .ac-attention ul:last-child,
.cps-post-main .ac-attention ol:last-child,
.cps-post-main .ac-caution ul:last-child,
.cps-post-main .ac-caution ol:last-child,
.cps-post-main .ac-review ul:last-child,
.cps-post-main .ac-review ol:last-child,
.cps-post-main .ac-supervisor ul:last-child,
.cps-post-main .ac-supervisor ol:last-child,
.cps-post-main .ac-flow ul:last-child,
.cps-post-main .ac-flow ol:last-child {
  margin-bottom: 0;
}

/* 1) Box (beige) */
.cps-post-main .ac-box {
  background: #F4F1EC;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cps-post-main .ac-box__title {
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1.4;
  margin: 0 0 0.8em;
}
.cps-post-main .ac-box__body {
  margin: 0;
  line-height: 1.8;
}
.cps-post-main .ac-box__body > :last-child {
  margin-bottom: 0;
}

/* 2) Check point */
.cps-post-main .ac-check {
  border: 1px solid #D3C3B0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 20px;
}
.cps-post-main .ac-check__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05em;
  line-height: 1.4;
  margin: 0 0 0.8em;
}
.cps-post-main .ac-check__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("/column/wp-content/themes/jin-child/img/ac-icons/ac-check.png");
}
.cps-post-main .ac-check__body {
  margin: 0;
  line-height: 1.8;
}

/* 5) Attention (megaphone) */
.cps-post-main .ac-attention {
  border: 1px solid #D3C3B0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 20px;
}
.cps-post-main .ac-attention__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05em;
  line-height: 1.4;
  margin: 0 0 0.8em;
}
.cps-post-main .ac-attention__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("/column/wp-content/themes/jin-child/img/ac-icons/ac-attention.png");
}
.cps-post-main .ac-attention__body {
  margin: 0;
  line-height: 1.8;
}

/* 7) Caution */
.cps-post-main .ac-caution {
  border: 1px solid #D3C3B0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 20px;
}
.cps-post-main .ac-caution__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05em;
  line-height: 1.4;
  margin: 0 0 0.8em;
}
.cps-post-main .ac-caution__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("/column/wp-content/themes/jin-child/img/ac-icons/ac-caution.png");
}
.cps-post-main .ac-caution__body {
  margin: 0;
  line-height: 1.8;
}

/* 3) Table */
.cps-post-main .ac-table {
  width: 100%;
  border: 1px solid #E6E6E6;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.95em;
  margin: 0;
}
.cps-post-main .ac-table th,
.cps-post-main .ac-table td {
  border: 1px solid #E6E6E6;
  padding: 12px;
  vertical-align: middle;
  text-align: left;
  line-height: 1.6;
}
.cps-post-main .ac-table th {
  background: #F1F4F9;
  font-weight: 600;
}
.cps-post-main .ac-table td:first-child {
  background: #F7F9FC;
  font-weight: 600;
  color: #555;
  width: 32%;
}

/* 4) Scrollable table */
.cps-post-main .ac-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.cps-post-main .ac-table--scroll {
  min-width: 640px;
}
.cps-post-main .ac-table--scroll th:first-child,
.cps-post-main .ac-table--scroll td:first-child {
  position: sticky;
  left: -2px;
  z-index: 2;
  background: #F7F9FC;
  box-shadow: 2px 0 0 #E6E6E6;
  outline: 1px solid #E6E6E6;
  outline-offset: -1px;
}
.cps-post-main .ac-table--scroll th:first-child {
  z-index: 3;
  background: #F1F4F9;
  width: 32%;
}

/* 6) Review card */
.cps-post-main .ac-review {
  display: grid;
  gap: 16px;
}
.cps-post-main .ac-review--slider {
  display: block;
}
.cps-post-main .ac-review__swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
}
.cps-post-main .ac-review--slider .swiper-wrapper {
  align-items: stretch;
}
.cps-post-main .ac-review--slider .swiper-slide {
  height: auto;
}
.cps-post-main .ac-review__card {
  border: 1px solid #E6E6E6;
  border-radius: 6px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.cps-post-main .ac-review__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.cps-post-main .ac-review__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eee;
  flex: 0 0 64px;
}
.cps-post-main .ac-review__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.cps-post-main .ac-review__title {
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}
.cps-post-main .ac-review__rating {
  color: #F4C542;
  position: static;
  margin: 0 0 0 auto;
  font-size: 0.95em;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: right;
  flex: 0 0 auto;
}
.cps-post-main .ac-review__rating-value {
  color: #333;
  font-weight: 600;
}
.cps-post-main .ac-review__text {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95em;
  min-height: calc(1.6em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.cps-post-main .ac-review__text.is-open {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.cps-post-main .ac-review__text:not(.is-open)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.cps-post-main .ac-review__text.is-short::after {
  content: none;
}
.cps-post-main .ac-review__tag {
  display: inline-block;
  background: #F1F4F9;
  color: #555;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.85em;
}
.cps-post-main .ac-review__meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px 12px;
  margin: 0;
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
  white-space: nowrap;
}
.cps-post-main .ac-review__pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 767px) {
  .cps-post-main .ac-review__meta {
    flex-wrap: wrap;
    white-space: normal;
  }
}
.cps-post-main .ac-review__body {
  margin-left: 76px;
}
@media (max-width: 767px) {
  .cps-post-main .ac-review__body {
    margin-left: 0;
  }
}
.cps-post-main .ac-review__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px auto 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #6B4F3A;
  font-size: 0.9em;
  cursor: pointer;
}
.cps-post-main .ac-review__toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.cps-post-main .ac-review__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  margin: 12px auto 0;
}
.cps-post-main .ac-review__nav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #D9D9D9;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.cps-post-main .ac-review__nav::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #777;
  border-right: 2px solid #777;
  display: block;
}
.cps-post-main .ac-review__nav--prev::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}
.cps-post-main .ac-review__nav--next::before {
  transform: rotate(45deg);
  margin-right: 2px;
}
.cps-post-main .ac-review__nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}
.cps-post-main .ac-review__pagination {
  position: static !important;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  text-align: center;
}
.cps-post-main .ac-review__pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 4px;
  background: #D9D9D9;
  opacity: 1;
}
.cps-post-main .ac-review__pagination .swiper-pagination-bullet-active {
  background: #7A7A7A;
}
.cps-post-main .ac-review__text + p {
  margin: 10px 0 0;
  text-align: center;
}
.cps-post-main .ac-review__text + p {
  margin: 10px 0 0;
  text-align: center;
}
.cps-post-main .ac-review__text + p .ac-review__toggle {
  display: inline-flex;
}
.cps-post-main .ac-review__text + p br {
  display: none;
}
.cps-post-main .ac-review__toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.cps-post-main .ac-review__toggle.is-open .ac-review__toggle-icon {
  transform: rotate(-135deg);
}

/* 8) Supervisor */
.cps-post-main .ac-supervisor {
  border: 1px solid #E6E6E6;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.cps-post-main .ac-supervisor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.cps-post-main .ac-supervisor-list .ac-supervisor {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  min-width: 0;
}
@media (max-width: 767px) {
  .cps-post-main .ac-supervisor-list .ac-supervisor {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.cps-post-main .ac-supervisor__head {
  background: #F1F4F9;
  border-bottom: 1px solid #E6E6E6;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}
.cps-post-main .ac-supervisor__meta {
  padding: 16px;
}
.cps-post-main .ac-supervisor__head-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cps-post-main .ac-supervisor__name {
  font-weight: 600;
  line-height: 1.5;
}
.cps-post-main .ac-supervisor__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95em;
  color: #555;
}
.cps-post-main .ac-supervisor__role {
  display: inline-block;
  background: #F1F4F9;
  color: #555;
  border-radius: 0;
  padding: 2px 10px;
  font-size: 0.85em;
  line-height: 1.4;
}
.cps-post-main .ac-supervisor__author-name {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cps-post-main .ac-supervisor__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  flex: 0 0 64px;
}
.cps-post-main .ac-supervisor__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cps-post-main .ac-supervisor__text {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.cps-post-main .ac-supervisor__text.is-open {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.cps-post-main .ac-supervisor__text:not(.is-open)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.cps-post-main .ac-supervisor__text.is-short::after {
  content: none;
}
.cps-post-main .ac-supervisor__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px auto 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #6B4F3A;
  font-size: 0.9em;
  cursor: pointer;
}
.cps-post-main .ac-supervisor__toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.cps-post-main .ac-supervisor__text + p {
  margin: 10px 0 0;
  text-align: center;
}
.cps-post-main .ac-supervisor__text + p .ac-supervisor__toggle {
  display: inline-flex;
}
.cps-post-main .ac-supervisor__text + p br {
  display: none;
}
.cps-post-main .ac-supervisor__toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.cps-post-main .ac-supervisor__toggle.is-open .ac-supervisor__toggle-icon {
  transform: rotate(-135deg);
}

/* 9) List */
.cps-post-main .ac-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.cps-post-main .ac-list li,
.cps-post-main .ac-list ul li {
  position: relative;
  padding-left: 1.4em;
  margin: 0.55em 0;
  line-height: 1.8;
}
.cps-post-main .ac-list li::before,
.cps-post-main .ac-list ul li::before {
  content: "■";
  color: #6B4F3A;
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.9em;
}

/* 10) Flow */
.cps-post-main .ac-flow__step {
  position: relative;
  padding-left: 48px;
  margin: 0 0 53px;
}
.cps-post-main .ac-flow__step::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 10px;
  height: 10px;
  background: #6B4F3A;
}
.cps-post-main .ac-flow__arrows {
  position: absolute;
  left: 1.5px;
  top: 33px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cps-post-main .ac-flow__arrow {
  width: 22px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14' fill='none'%3E%3Crect x='4' y='0' width='2' height='5' fill='%236B4F3A'/%3E%3Cpolygon points='2 5 5 13 8 5' fill='%236B4F3A'/%3E%3C/svg%3E") no-repeat center / contain;
}
.cps-post-main .ac-flow__step:last-child .ac-flow__arrows,
.cps-post-main .ac-flow__step:last-of-type .ac-flow__arrows {
  display: none;
}
.cps-post-main .ac-flow__step:last-child {
  margin-bottom: 0;
}
.cps-post-main .ac-flow__step:last-of-type {
  margin-bottom: 0;
}
.cps-post-main .ac-flow__label {
  display: inline-block;
  background: #F5F3EC;
  border-radius: 2px;
  padding: 4px 12px;
  font-weight: 600;
  color: #6B4F3A;
  margin: 0 0 0.4em;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.cps-post-main .ac-flow__body {
  margin: 0.3em 0 0;
  line-height: 1.6;
}

/* Demo code blocks */
.cps-post-main .ac-demo {
  margin-bottom: 2.4em;
}
.cps-post-main .ac-demo .ac-code {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #E6E6E6;
  background: #F7F7F7;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9em;
}
.cps-post-main .ac-demo .ac-code code {
  display: block;
  white-space: pre;
  font-family: "Courier New", Courier, monospace;
}

