/*
Theme Name: Arkhe Child
Template: arkhe
Description: Arkheの子テーマです。
Version: 1.0
*/
/*
Theme Name: Arkhe Child
Template: arkhe
Description: Arkheの子テーマです。
Version: 1.0
*/

/* ==========================================================
   CSS変数
   ========================================================== */
:root {
  --main-color: #014099;
  --brand-red: #d32f2f;
  --brand-red-hover: #b71c1c;
  --brand-blue: #0b66c3;
  --brand-navy: #1a2b4c;
  --brand-navy-light: #2c3e60;
  --bg-gray: #f8fafc;
  --border-color: #e2e8f0;
  --blue: #0b66c3;
  --navy: #071a2f;
  --line: #dce5ef;
  --soft: #f4f8fc;
  --white: #ffffff;
  --shadow-card: 0 10px 25px -5px rgba(26, 43, 76, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(26, 43, 76, 0.15);
  --radius: 22px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ==========================================================
   汎用ユーティリティ
   ========================================================== */
.k-bg-orange {
  background-color: #f4b800;
  color: #0e1c77;
}
.k-bg-navy {
  background-color: #1a2b4c;
  color: #fff;
}
.text-brand-red {
  color: var(--brand-red);
  font-size: 20px;
  font-weight: 700;
}

/* ==========================================================
   ページ別の表示調整
   ========================================================== */
.page-id-371 #top_title_area,
.page-id-378 #top_title_area,
.page-id-383 #top_title_area,
.page-id-387 #top_title_area {
  display: none;
}
.page-id-371 .l-content__body {
  margin-top: 0 !important;
}

/* ==========================================================
   セクション余白（旧システム／新システム）
   ========================================================== */
.onesection-hero {
  padding: 90px 0 0 0px;
}
.onesection {
  padding: 90px 0;
}
.section {
  padding: 92px 0;
}
.section.soft {
  background: var(--soft);
}
.section.dark {
  background: linear-gradient(145deg, #071a2f, #0b3155);
  color: #fff;
}
.sec-features,
.sec-cases {
  background-color: var(--bg-gray);
}
.wp-block-group.alignfull.section > .wp-block-group__inner-container {
  width: min(1180px, calc(100% - 40px));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }
}

/* ==========================================================
   ヒーロー見出し
   ========================================================== */
h2.hero-heading-xl {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 18px 0 22px;
  color: var(--navy);
}
.lead {
  font-size: 19px;
  color: #506176;
  margin: 0 0 30px;
  max-width: 650px;
}

/* ==========================================================
   h2見出し装飾（英字キッカー）
   ========================================================== */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}
.section-heading__en {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  gap: 10px;
}

/* ==========================================================
   トラストバー
   ========================================================== */
.trust {
  padding: 18px 0 52px;
}
.trust * {
  box-sizing: border-box;
}
.trustGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 26, 47, 0.06);
}
.trustItem {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}
.trustItem:last-child {
  border-right: 0;
}
.trustItem b {
  display: block;
  color: var(--navy);
  font-size: 15px;
}
.trustItem span {
  font-size: 12px;
  color: #718195;
}
@media (max-width: 900px) {
  .trustGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trustItem {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 620px) {
  .trustGrid {
    grid-template-columns: 1fr;
  }
  .trustItem {
    border-right: 0;
  }
}

/* ==========================================================
   課題提起グリッド（Pain Points）
   ========================================================== */
.painGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pain {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 26, 47, 0.04);
}
.num {
  font-size: 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.12em;
}
/* .reason .featureCard .usecase は今後の実装分。先に含めておくと二重定義が不要 */
.pain h3, .reason h3, .featureCard h3, .usecase h3 {
  font-size: 21px;
  line-height: 1.4;
  margin: 12px 0 10px;
  color: var(--navy);
}
.pain p, .reason p, .featureCard p, .usecase p {
  margin: 0;
  color: #65758a;
  font-size: 14px;
}
@media (max-width: 900px) {
  .painGrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .painGrid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   理由訴求グリッド（Reason to Believe）
   ========================================================== */
.reasonGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.reason {
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.reason strong {
  font-size: 44px;
  color: #e8f1fa;
  position: absolute;
  right: 22px;
  top: 8px;
}
.reason .tag {
  display: inline-flex;
  padding: 5px 10px;
  background: #eaf4ff;
  color: var(--blue);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.reason ul {
  padding-left: 18px;
  margin: 18px 0 0;
  color: #526579;
  font-size: 14px;
}
.reason li {
  margin: 7px 0;
}
@media (max-width: 620px) {
  .reasonGrid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding-right: 32px;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "Q";
  color: #1a1a1a;
  font-weight: 800;
  margin-right: 8px;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 12px 0 0;
  padding-left: 24px;
  color: #555555;
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================================
   お知らせ
   ========================================================== */
.news-inner {
  max-width: var(--wp--style--global--content-size, 800px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

/* ==========================================================
   グローバルナビ
   ========================================================== */
.c-gnav .__mainText {
  font-weight: bold;
}
.btn-contact .wp-block-button__link {
  background-color: var(--brand-red) !important;
}

.thomas-subnav {
  width: 100%;
  background: #f5f6f7;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 2em;
}

/* -- 区切り線（PCのみ） -- */
@media (min-width: 769px) {
  .menu-item + .menu-item,
  .thomas-subnav__item + .thomas-subnav__item {
    position: relative;
  }
  .menu-item + .menu-item::before,
  .thomas-subnav__item + .thomas-subnav__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #a8b2bf;
  }
  .menu-item.nav-cta::before,
  .menu-item.nav-seira-btn::before,
  .menu-item.nav-seira-btn + .menu-item::before {
    display: none;
  }
}

/* -- SEIRA案内（角丸・グレー背景・シェブロン付き／PCのみ） -- */
@media (min-width: 769px) {
  .c-gnav__li.nav-seira-btn {
    display: flex;
    align-items: center;
  }
  .c-gnav__li.nav-seira-btn > a.c-gnav__a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 56px;
    box-sizing: border-box;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: #eef1f5;
    line-height: 1.35;
    text-align: left;
    transition: background 0.2s ease;
  }
  .c-gnav__li.nav-seira-btn > a.c-gnav__a:hover {
    background: #e2e7ee;
  }
  .c-gnav__li.nav-seira-btn .__mainText {
    display: block;
    font-size: 13px;
    color: #333333;
  }
  .nav-seira-new {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--main-color);
  }
  .c-gnav__li.nav-seira-btn > a.c-gnav__a::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -7px;
    height: 3px;
    border-radius: 2px;
    background: var(--main-color);
  }

  /* -- お問い合わせボタン（SEIRAと高さを揃える） -- */
  .header-cta-btn {
    height: 56px;
    box-sizing: border-box;
    padding: 0 20px;
    border-radius: 10px;
  }
}

/* ==========================================================
   ヘッダーCTAボタン（共通・レスポンシブ）
   ========================================================== */
.header-cta-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.header-cta-btn:hover {
  opacity: 0.8;
}
.header-cta-btn__icon {
  display: none; /* PCではアイコンを隠し、テキストのみ */
}
.header-cta-btn__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}
.header-cta-btn--outline {
  border: 1px
  color: #1a1a1a;
  background-color: transparent;
}
.header-cta-btn--fill {
  background-color: #c8102e;
  color: #ffffff;
}
