/* ank-theme — global.css */

:root {
  --ank-black:  #111;
  --ank-gray:   #777;
  --ank-light:  #fafaf8;
  --ank-border: #e8e4de;
  --ank-red:    #C0392B;
  --ank-orange: #E67E22;
  --ank-blue:   #2980B9;
  --ank-green:  #27AE60;
  --ank-brown:  #7B5240;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--ank-black);
  background: #fff;
  line-height: 1.8;
  margin: 0;
  padding-top: 64px;
  padding-bottom: 60px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* -------------------------------------------------------
   ヘッダー
------------------------------------------------------- */
.ank-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ank-border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}
.ank-logo a  { display: flex; align-items: center; }
.ank-logo img { height: 28px; width: auto; display: block; }

.wp-block-navigation .wp-block-navigation-item__content {
  font-size: 13px;
  color: var(--ank-gray);
  padding: 0;
}
.wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--ank-black);
}

/* -------------------------------------------------------
   セクション共通
------------------------------------------------------- */
.ank-section         { padding: 90px 5%; }
.ank-section--light  { background: var(--ank-light); }
.ank-section--white  { background: #fff; }
.ank-section--border { border-bottom: 1px solid var(--ank-border); }

.ank-section-label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ank-gray);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.ank-section-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--ank-red);
  display: block;
  border-radius: 1px;
  flex-shrink: 0;
}
.ank-section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/* -------------------------------------------------------
   ヒーロー
------------------------------------------------------- */
.ank-hero {
  padding: 130px 5% 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ank-border);
  background: #fff;
}
.ank-hero__dots    { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ank-hero__content { position: relative; z-index: 2; max-width: 660px; }

.ank-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--ank-gray);
  margin-bottom: 2rem;
  border: 1px solid var(--ank-border);
  padding: .35rem .8rem;
  border-radius: 100px;
}
.ank-hero__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ank-red);
  display: block;
  flex-shrink: 0;
}
.ank-hero__headline { font-size: clamp(30px,4.5vw,52px); font-weight: 400; line-height: 1.45; margin-bottom: 1.75rem; }
.ank-hero__headline strong { font-weight: 600; }
.ank-hero__sub { font-size: 14px; color: var(--ank-gray); max-width: 440px; line-height: 2; }

.ank-btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  background: var(--ank-black);
  color: #fff !important;
  font-size: 13px;
  border-radius: 100px;
  letter-spacing: .05em;
  margin-top: 2.5rem;
  transition: background .2s;
}
.ank-btn:hover { background: #333; }
.ank-dot { display: inline-block; border-radius: 50%; }

/* -------------------------------------------------------
   Our Name
------------------------------------------------------- */
.ank-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ank-story-text p { font-size: 14px; color: var(--ank-gray); line-height: 2; margin-bottom: 1.25rem; }
.ank-story-text p:first-child { font-size: 15px; color: var(--ank-black); }
.ank-circle-vis { display: flex; justify-content: center; align-items: center; }
.ank-circle-outer {
  position: relative;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 2px dashed var(--ank-border);
  display: flex; align-items: center; justify-content: center;
}
.ank-circle-mid {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--ank-light);
  border: 2px dashed var(--ank-border);
  display: flex; align-items: center; justify-content: center;
}
.ank-circle-core {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ank-brown);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.ank-circle-label-top,
.ank-circle-label-bottom {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--ank-gray); white-space: nowrap;
}
.ank-circle-label-top    { top: 10px; }
.ank-circle-label-bottom { bottom: 10px; }

/* -------------------------------------------------------
   サービス
------------------------------------------------------- */
.ank-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ank-service-card {
  background: #fff;
  border: 1px solid var(--ank-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: box-shadow .2s;
}
.ank-service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); }
.ank-service-dots  { display: flex; gap: 5px; margin-bottom: .25rem; }
.ank-service-num   { font-size: 11px; letter-spacing: .1em; color: var(--ank-gray); }
.ank-service-title { font-size: 16px; font-weight: 600; line-height: 1.5; }
.ank-service-body  { font-size: 13px; color: var(--ank-gray); line-height: 1.9; }
.ank-service-lead  { font-size: 12px; color: var(--ank-gray); border-top: 1px solid var(--ank-border); padding-top: .75rem; margin-top: .25rem; }

/* -------------------------------------------------------
   代表紹介
------------------------------------------------------- */
.ank-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 1rem; }
.ank-profile-card {
  border: 1px solid var(--ank-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.ank-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: #fff; margin-bottom: .5rem;
}
.ank-profile-name { font-size: 18px; font-weight: 600; }
.ank-profile-role { font-size: 12px; letter-spacing: .08em; color: var(--ank-gray); }
.ank-profile-body { font-size: 13px; color: var(--ank-gray); line-height: 1.9; }
.ank-book-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .5rem; font-size: 12px;
  color: var(--ank-blue) !important;
  border: 1px solid #b3d4ef; border-radius: 8px; padding: .4rem .75rem;
  transition: background .2s;
}
.ank-book-link:hover { background: #eaf3fc; }

/* -------------------------------------------------------
   会社概要
------------------------------------------------------- */
.ank-info-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.ank-info-table tr { border-bottom: 1px solid var(--ank-border); }
.ank-info-table td { padding: 1.1rem 0; font-size: 14px; vertical-align: top; }
.ank-info-table td:first-child { width: 32%; color: var(--ank-gray); font-size: 13px; padding-right: 1rem; }

/* -------------------------------------------------------
   お問い合わせ
------------------------------------------------------- */
.ank-contact-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.ank-contact-body  { font-size: 14px; color: var(--ank-gray); line-height: 2; margin-bottom: 2rem; }
.ank-contact-mail  {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2rem;
  border: 1.5px solid var(--ank-black);
  border-radius: 100px; font-size: 14px;
  transition: background .2s, color .2s;
}
.ank-contact-mail:hover { background: var(--ank-black); color: #fff !important; }
.ank-contact-dots { display: flex; justify-content: center; gap: 8px; margin-top: 3rem; }

/* -------------------------------------------------------
   投稿・固定ページ共通
------------------------------------------------------- */
.ank-post-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 5%;
}
.ank-post-content h1,
.ank-post-content h2,
.ank-post-content h3 { margin-bottom: 1rem; margin-top: 2rem; }
.ank-post-content p   { margin-bottom: 1.25rem; }
.ank-post-content img { border-radius: 8px; margin-bottom: 1.5rem; }

.ank-post-meta {
  font-size: 12px;
  color: var(--ank-gray);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ank-border);
}

/* アーカイブ・一覧 */
.ank-post-list { display: flex; flex-direction: column; gap: 0; }
.ank-post-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--ank-border);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.ank-post-item:first-child { border-top: 1px solid var(--ank-border); }
.ank-post-item__date  { font-size: 12px; color: var(--ank-gray); padding-top: .2rem; }
.ank-post-item__title { font-size: 15px; font-weight: 500; }
.ank-post-item__title a:hover { color: var(--ank-gray); }

/* ページネーション */
.ank-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.ank-pagination a,
.ank-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--ank-border);
  border-radius: 4px;
  font-size: 13px;
}
.ank-pagination .current {
  background: var(--ank-black);
  color: #fff;
  border-color: var(--ank-black);
}

/* 404 */
.ank-404 { text-align: center; padding: 120px 5%; }
.ank-404__code { font-size: 96px; font-weight: 300; color: var(--ank-border); line-height: 1; margin-bottom: 1rem; }
.ank-404__title { font-size: 24px; font-weight: 500; margin-bottom: 1rem; }
.ank-404__desc  { font-size: 14px; color: var(--ank-gray); margin-bottom: 2rem; }

/* -------------------------------------------------------
   フッター
------------------------------------------------------- */
.ank-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid var(--ank-border);
  padding: 1.5rem 5%;
  font-size: 12px;
  color: var(--ank-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ank-footer-right { display: flex; align-items: center; gap: 6px; }

/* -------------------------------------------------------
   レスポンシブ
------------------------------------------------------- */
@media (max-width: 768px) {
  .ank-service-grid,
  .ank-about-grid,
  .ank-story-grid { grid-template-columns: 1fr; }
  .ank-hero       { padding: 100px 5% 60px; min-height: 70vh; }
  .ank-post-item  { grid-template-columns: 1fr; gap: .5rem; }
  .wp-block-navigation { display: none; }
}
