@charset "UTF-8";
/* =========================================================
   AnyTec 共通スタイル
   差し色：ピンク(#EF5F87) / 黄緑(#8DC63F)  ※ロゴから抽出
   ========================================================= */
:root {
  --pink: #ef5f87;
  --pink-light: #fde8ee;
  --lime: #8dc63f;
  --lime-dark: #5e9a2a;
  --lime-light: #eef7e1;
  --ink: #2a2f31;
  --ink-soft: #5b6366;
  --line: #e3e6e8;
  --bg: #ffffff;
  --bg-soft: #f7f8f6;
  --radius: 14px;
  --max: 1100px;
  --side: max(4vw, 20px); /* ヘッダー・メインビジュアルの左右余白 */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--side) 12px; }
.logo img { width: 220px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); content: ""; transition: .25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.gnav { padding: 0 var(--side); }
/* 1つ目のメニュー文字の左端をロゴの左端にそろえる */
.gnav ul { list-style: none; margin: 0 0 0 -22px; padding: 0; display: flex; gap: 6px; }
.gnav a {
  display: block; padding: 12px 22px 14px; text-decoration: none; font-weight: 700; font-size: 15px;
  letter-spacing: .05em; position: relative;
}
.gnav a::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 6px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--pink), var(--lime)); transform: scaleX(0); transition: transform .25s;
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav .nav-contact a { color: var(--pink); }

/* ---------- Slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.slides { position: relative; height: 520px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center; justify-content: flex-end;
}
.slide.is-active { opacity: 1; }
.slide:nth-child(1) { background: linear-gradient(120deg, #fff 0%, var(--lime-light) 100%); }
.slide:nth-child(2) { background: linear-gradient(120deg, #fff 0%, var(--pink-light) 100%); }
.slide:nth-child(3) { background: linear-gradient(120deg, #fff 0%, #e9f4f7 100%); }
.slide img { width: 56%; max-width: 620px; margin-right: max(4vw, 20px); }
.slide-label {
  position: absolute; right: max(4vw, 20px); bottom: 28px; font-weight: 700; font-size: 13px; letter-spacing: .15em;
  background: #fff; padding: 4px 14px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.hero-copy {
  position: absolute; z-index: 5; top: 50%; left: var(--side); transform: translateY(-50%);
  max-width: 520px; pointer-events: none;
}
.hero-copy .lead {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.45; margin: 0 0 18px;
}
.hero-copy .lead .pink { color: var(--pink); }
.hero-copy .lead .lime { color: var(--lime-dark); }
.hero-copy .sub {
  font-family: var(--font-head); font-size: clamp(16px, 1.8vw, 21px); font-weight: 700; margin: 0;
  display: inline; background: linear-gradient(transparent 62%, rgba(141,198,63,.45) 62%);
}
.slider-dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 6; }
.slider-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; padding: 0; cursor: pointer;
}
.slider-dots button.is-active { background: var(--pink); border-color: var(--pink); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-title { text-align: center; margin: 0 0 44px; }
.section-title .en {
  display: block; font-family: var(--font-head); font-size: 34px; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
}
.section-title .ja { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; margin: 16px auto 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--pink) 50%, var(--lime) 50%);
}

.page-head { background: linear-gradient(120deg, var(--pink-light), var(--lime-light)); padding: 56px 0; text-align: center; }
.page-head h1 { margin: 0; font-family: var(--font-head); font-size: 38px; letter-spacing: .06em; line-height: 1.2; }
.page-head p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- News ---------- */
.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a, .news-list .news-empty { display: flex; gap: 24px; padding: 18px 8px; text-decoration: none; align-items: baseline; }
.news-list a:hover .news-title { color: var(--pink); }
.news-date { color: var(--lime-dark); font-weight: 700; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.news-title { transition: color .2s; }
.news-empty { color: var(--ink-soft); }
.more { text-align: center; margin-top: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 40px; border-radius: 99px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); background: #fff; transition: .2s; cursor: pointer; font-size: 15px; font-family: inherit; color: var(--ink);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-pink { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 6px 0 #c9426a; }
.btn-pink:hover { background: #e14a75; border-color: #e14a75; color: #fff; transform: translateY(2px); box-shadow: 0 4px 0 #c9426a; }

/* ---------- About ---------- */
.philosophy { max-width: 760px; margin: 0 auto; text-align: center; }
.philosophy .catch {
  font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin: 0 0 28px; color: var(--pink);
}
.philosophy p { margin: 0 0 1.2em; font-size: 16px; }
.experts { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 32px 0; }
.expert {
  background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); padding: 16px 20px; min-width: 170px; font-size: 14px;
}
.expert b { display: block; font-size: 16px; }
.philosophy .answer {
  font-family: var(--font-head); font-size: 20px; font-weight: 700; background: var(--lime-light); border-radius: var(--radius); padding: 24px;
}
.philosophy .answer strong { color: var(--pink); }

.company-table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: #fff; }
.company-table th, .company-table td { border-bottom: 1px solid var(--line); padding: 20px 16px; text-align: left; vertical-align: top; }
.company-table th { width: 30%; background: var(--lime-light); font-weight: 700; white-space: nowrap; border-left: 4px solid var(--lime); }

/* ---------- Work ---------- */
.work-list { display: grid; gap: 40px; }
.work-item {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center;
  background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 6px 24px rgba(42,47,49,.06);
}
.work-item:nth-child(even) { grid-template-columns: 1fr 340px; }
.work-item:nth-child(even) .work-illust { order: 2; }
.work-illust { border-radius: var(--radius); overflow: hidden; }
.work-item:nth-child(1) .work-illust { background: var(--lime-light); }
.work-item:nth-child(2) .work-illust { background: var(--pink-light); }
.work-item:nth-child(3) .work-illust { background: #e9f4f7; }
.work-body h2 { font-family: var(--font-head); font-size: 26px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.work-body h2::before { content: "◆"; color: var(--pink); font-size: 18px; }
.work-body ul { list-style: none; padding: 0; margin: 0; }
.work-body li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.work-body li::before {
  content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--lime);
}

.cta { text-align: center; background: linear-gradient(120deg, var(--pink-light), var(--lime-light)); border-radius: 24px; padding: 56px 24px; }
.cta p { font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; margin: 0 0 28px; }

/* ---------- Form ---------- */
.form { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 28px; }
.form-row > label, .form-row > .label { display: block; font-weight: 700; margin-bottom: 8px; }
.req, .opt { font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; color: #fff; }
.req { background: var(--pink); }
.opt { background: #9aa3a6; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #cfd5d8; border-radius: 10px; font: inherit; font-size: 16px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(141,198,63,.25); }
.form textarea { min-height: 200px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.checks label {
  display: flex; align-items: center; gap: 8px; border: 1px solid #cfd5d8; border-radius: 10px; padding: 10px 16px; cursor: pointer; background: #fff;
}
.checks input { width: 18px; height: 18px; accent-color: var(--pink); }
.checks label:has(input:checked) { border-color: var(--pink); background: var(--pink-light); }
.other-text { margin-top: 12px; }
.other-text[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; }
.form-error { color: #d63a3a; font-size: 14px; margin-top: 6px; }
.form-submit { text-align: center; margin-top: 40px; }
.form-note { font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; text-align: center; padding: 32px 20px; font-size: 14px; letter-spacing: .08em; position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--pink) 50%, var(--lime) 50%);
}
.site-footer small { font-size: 14px; }

/* ---------- WordPress (news) ---------- */
.post-body { max-width: 760px; margin: 0 auto; }
.post-body .news-date { display: block; margin-bottom: 8px; }
.post-body h1 { font-family: var(--font-head); font-size: 28px; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.post-content img { margin: 1em 0; border-radius: 8px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager .page-numbers { padding: 6px 14px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.pager .current { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .work-item, .work-item:nth-child(even) { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .work-item:nth-child(even) .work-illust { order: 0; }
}
@media (max-width: 760px) {
  .logo img { width: 170px; }
  .nav-toggle { display: block; }
  .gnav { display: none; padding: 0 0 12px; }
  .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; margin: 0; }
  .gnav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .gnav a::after { left: 20px; right: auto; width: 40px; bottom: 8px; }

  .slides { height: 560px; }
  .slide { align-items: flex-end; justify-content: center; padding-bottom: 56px; }
  .slide img { width: 88%; margin: 0 auto; }
  .slide-label { bottom: auto; top: 16px; right: 16px; }
  .hero-copy { top: 28px; left: 20px; right: 20px; transform: none; }
  .section { padding: 56px 0; }
  .section-title .en { font-size: 28px; }
  .news-list a, .news-list .news-empty { flex-direction: column; gap: 2px; }
  .company-table th, .company-table td { display: block; width: 100%; border-left: 0; }
  .company-table th { border-left: 4px solid var(--lime); }
}
