/* category.css */
/* =========================================================
   カテゴリー一覧ページ [aind_category_page]
   ========================================================= */
.aind-catpage {
  margin-top: -8px;
}

.aind-catpage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .aind-catpage__grid { grid-template-columns: 1fr; }
}

/* ── カード ── */
.aind-catpage__card {
  background: #fff;
  border: 1px solid #e2e2e2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.aind-catpage__viewall {
  margin-top: auto;
}

/* ── 見出し ── */
.aind-catpage__card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 0;
}

/* ナンバリング */
.aind-catpage__card-num {
  font-size: 28px;
  font-weight: 900;
  color: #1e293b;
  line-height: 1;
  opacity: 0.15;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.04em;
}

.aind-catpage__card-name,
.post_content h2.aind-catpage__card-name {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.aind-catpage__card-en {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── 説明文 ── */
.aind-catpage__card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  padding: 10px 20px 18px;
}

/* ── 記事リスト ── */
.aind-catpage__articles {
  border-top: 1px solid #eee;
}

.aind-catpage__article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}

.aind-catpage__article:last-child {
  border-bottom: none;
}

.aind-catpage__article:hover {
  background: #fafafa;
}

.aind-catpage__article:hover .aind-catpage__article-title {
  color: #1e293b;
}

.aind-catpage__article-img {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
}

.aind-catpage__article-noimg {
  width: 64px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 0;
  flex-shrink: 0;
}

.aind-catpage__article-title {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

/* ─�� 記事準備中 ── */
.aind-catpage__empty {
  text-align: center;
  padding: 28px 20px;
  font-size: 13px;
  color: #d1d5db;
  margin: 0;
  border-top: 1px solid #eee;
}

/* ── もっと見る ─��� */
.aind-catpage__viewall {
  display: block;
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  border-top: 1px solid #e5e7eb;
  background: #fafbfc;
  letter-spacing: 0.02em;
  transition: all 0.15s;
}

.aind-catpage__viewall:hover {
  background: #1e293b;
  color: #fff;
}

/* contact-thanks.css */
/* =========================================================
 *  Contact Thanks Page
 *  お問い合わせ完了ページ専用CSS
 * ========================================================= */

/* SWELLの自動タイトルを非表示 */
.aind-thanks-body .c-pageTitle { display: none; }

/* ── 全体ラッパー ── */
.aind-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 64px 24px;
  text-align: center;
}

/* ── チェックマーク アニメーション ── */
.aind-thanks__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  animation: aind-thanks-pop .45s cubic-bezier(.34,1.56,.64,1) both;
}

.aind-thanks__icon svg {
  width: 36px;
  height: 36px;
  stroke: #22c55e;
  stroke-width: 2.5;
  fill: none;
}

.aind-thanks__check-path {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: aind-thanks-draw .5s .3s ease forwards;
}

@keyframes aind-thanks-pop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes aind-thanks-draw {
  to { stroke-dashoffset: 0; }
}

/* ── テキスト ── */
.aind-thanks__title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
  line-height: 1.4;
}

.aind-thanks__desc {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 8px;
  line-height: 1.8;
  max-width: 440px;
}

.aind-thanks__note {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0 0 36px;
  line-height: 1.6;
}

/* ── ボタン ── */
.aind-thanks__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 10px 28px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  transition: all .15s ease;
}

.aind-thanks__btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}

.aind-thanks__btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── 透かし ── */
.aind-thanks__watermark {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: .04em;
  color: rgba(0, 0, 0, .02);
  line-height: 1;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

/* ── レスポンシブ ── */
@media (max-width: 599px) {
  .aind-thanks {
    padding: 48px 20px;
    min-height: 40vh;
  }
  .aind-thanks__title {
    font-size: 18px;
  }
  .aind-thanks__watermark {
    font-size: 40px;
    right: 12px;
  }
}

/* contact.css */
/* =========================================================
 *  Contact Page Styles
 *  お問い合わせ固定ページ専用CSS
 * ========================================================= */

/* SWELLの自動タイトルを非表示（カスタムheroにh1があるため） */
.page-id-299 .c-pageTitle { display:none; }

/* サイドバーレイアウト修正 */
@media (min-width: 960px) {
  #content.l-content.l-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 32px;
    z-index: 0;
    position: relative;
  }
  #content.l-content.l-container > .l-mainContent {
    flex: 1;
    min-width: 0;
    order: 2;
  }
  #content.l-content.l-container > .l-sidebar {
    width: 304px;
    flex-shrink: 0;
    order: 1;
  }
}

/* ── ヒーローエリア（透かし番号 + ミニマル） ── */
.aind-contact-hero {
  position: relative;
  overflow: hidden;
  padding: 0px 0 24px;
  margin-bottom: 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

/* 透かしテキスト */
.aind-contact-hero::before {
  content: "CONTACT";
  position: absolute;
  right: 16px;
  top: 38%;
  transform: translateY(-50%);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: .04em;
  color: rgba(0, 0, 0, .03);
  line-height: 1;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

.aind-contact-hero__title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
  line-height: 1.4;
  position: relative;
}

.aind-contact-hero__desc {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
  position: relative;
}

