@charset "utf-8";

.page_thumbnail{margin-bottom: 30px;}

#news_title{border-bottom: 1px solid #ddd; margin-bottom: 20px;}
.news_day{margin-bottom: 5px;}
.news_day .news_cat{background: #ddd; margin-left: 10px; padding: 2px 5px; display: inline-block; line-height: 1.5; border-radius: 3px;}
#news_title .page_main_title{line-height: 1.5;}

.philosophy_title{position: relative; margin-bottom: 20px;}
.philosophy_title .wp-block-heading{color: #fff; position: absolute; top: 50%; left: 0; right: 0; text-align: center; transform: translateY(-50%); z-index: 2;
    font-size: 26px; letter-spacing: 1px;}
.philosophy_title figure{position: relative;}
.philosophy_title figure img{width: 100%;}
.philosophy_title figure::after{content: ""; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2);}


.expert_wrap{justify-content: space-between;}
.expert_img{width: 250px;}
.expert_text{width: calc(100% - 300px);}
.expert_specialty{border: 1px solid #ddd; padding: 15px 20px; margin-top: 20px;}
.expert_specialty dl + dl{margin-top: 20px;}
.expert_specialty dt{font-size: 14px; font-weight: 600; letter-spacing: 2px; border-bottom: 1px solid #ddd; margin-bottom: 5px; padding: 0 10px;}
.expert_specialty dd{font-size: 13px; padding-left: 20px;}

#trends_title{border-bottom: 1px solid #ddd; margin-bottom: 20px;}
#trends_title .page_main_title{line-height: 1.5;}
.trends_day{}
.trends_day_cat{margin-bottom: 5px;}
.trends_cat{margin-left: 10px;}
.trends_cat li{margin-right: 5px;}
.trends_cat li a{background: #ddd; padding: 2px 5px; display: inline-block; line-height: 1.5; border-radius: 3px;}
.trends_thumbnail{background: #F0F0F0; padding: 0 15%; margin-bottom: 20px;}


@media screen and (max-width: 960px){
    .expert_img{margin: 0 auto 20px;}
    .expert_text{width: 100%;}

    .trends_thumbnail{padding: 0;}
}
@media screen and (max-width: 640px){}

/* =========================
   Mock Hero for Service Single
   ========================= */

.pg-service-single .svc-hero{
  background:#fff;
  padding: 110px 0 70px;
}

.pg-service-single .svc-hero__inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.pg-service-single .svc-hero__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 26px;
  border: 2px solid #004aad;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: 13px;
  color: #004aad;
}

.pg-service-single .svc-hero__title{
  margin: 34px 0 20px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.25;
  color:#0b2545;
  font-size: clamp(34px, 3.3vw, 54px);
}

.pg-service-single .svc-hero__lead{
  margin: 0 auto;
  max-width: 720px;
  color: #5a6677;
  line-height: 1.95;
  font-size: 16px;
}

.pg-service-single .svc-hero__scroll{
  margin-top: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.pg-service-single .svc-hero__scrollText{
  font-size: 12px;
  letter-spacing: .12em;
  color:#7a8797;
  font-weight: 700;
}

.pg-service-single .svc-hero__mouse{
  width: 22px;
  height: 36px;
  border: 2px solid #7a8797;
  border-radius: 999px;
  position: relative;
}

.pg-service-single .svc-hero__mouse::after{
  content:"";
  width: 4px;
  height: 6px;
  background:#7a8797;
  border-radius: 999px;
  position:absolute;
  left:50%;
  top: 8px;
  transform: translateX(-50%);
  animation: svcScroll 1.4s infinite;
}

@keyframes svcScroll{
  0%{opacity:0; transform:translateX(-50%) translateY(-2px);}
  40%{opacity:1;}
  100%{opacity:0; transform:translateX(-50%) translateY(8px);}
}

@media (max-width: 640px){
  .pg-service-single .svc-hero{
    padding: 90px 0 56px;
  }
  .pg-service-single .svc-hero__badge{
    font-size: 12px;
    padding: 12px 18px;
  }
  .pg-service-single .svc-hero__lead{
    font-size: 15px;
  }
}


/* =========================
   Service Hero
========================= */

.pg-service-single .svc-hero {
  padding: 140px 0 120px;
  background: linear-gradient(135deg, #1f3a5f 0%, #152840 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pg-service-single .svc-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* badge */
.svc-hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .18em;
  margin-bottom: 28px;
  font-family: 'Oswald', sans-serif;
}

/* title */
.svc-hero-title {
  font-size: 44px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 28px;
}

/* lead */
.svc-hero-lead {
  font-size: 16px;
  line-height: 1.9;
  opacity: .95;
}

/* scroll */
.svc-hero-scroll {
  margin-top: 64px;
  text-align: center;
}

.svc-hero-scroll span {
  display: block;
  font-size: 11px;
  letter-spacing: .3em;
  margin-bottom: 10px;
}

.svc-hero-mouse {
  display: inline-block;
  width: 24px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.svc-hero-mouse::before {
  content: "";
  width: 4px;
  height: 8px;
  background: #fff;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}

@keyframes scrollDown {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 8px); }
}


/* Hero Badge font tuning */
.svc-hero-badge {
  font-size: 16px;
  letter-spacing: 0.2em;
}

@media (max-width: 640px) {
  .svc-hero-badge {
    font-size: 13px;
    letter-spacing: 0.18em;
  }
}
.svc-hero-lead {
  font-size: 16px;
}
/* Hero Lead */
.svc-hero-lead {
  font-size: clamp(18px, 4vw, 32px);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto;
}
.svc-hero-title {
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.25;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .pg-service-single .svc-hero {
    padding: 96px 0 88px;
  }
}

/* =========================
   Challenge (Mock layout)
   ========================= */

/* セクションの余白と背景 */
.pg-service-single .service-content .challenge {
  padding: 96px 0;
  background: #fff;
}

/* 見出し（CHALLENGE）をモックアップ寄せ */
.pg-service-single .service-content .challenge .section-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #004aad;
  opacity: 1;
  margin-bottom: 14px;
}

.pg-service-single .service-content .challenge .section-title,
.pg-service-single .service-content .challenge .section-subtitle {
  text-align: center;
}

/* 2カラムレイアウト（左：見出し/説明 右：カード） */
.pg-service-single .service-content .challenge .container {
  max-width: 1100px;
}

.pg-service-single .service-content .challenge-cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .pg-service-single .service-content .challenge-cards {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }
}

/* ここが重要：巨大なSVGを“消す/抑える” */
.pg-service-single .service-content .challenge-card svg {
  display: none; /* まずは確実に消す */
}

/* カードのデザイン（モック：左に青ライン、影弱め、角丸） */
.pg-service-single .service-content .challenge-card {
  position: relative;
  border: 0;
  border-radius: 16px;
  background: #fff;
  padding: 26px 28px 26px 28px;
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.08);
}

/* 左の青い縦ライン */
.pg-service-single .service-content .challenge-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #004aad;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

/* 見出し行（アイコン + タイトル） */
.pg-service-single .service-content .challenge-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* アイコン（丸/四角）をCSSで作る */
.pg-service-single .service-content .challenge-card-header::before {
  content: "";
  width: 14px;
  height: 14px;
  background: #004aad;
  border-radius: 999px; /* デフォルトは丸 */
  flex: 0 0 14px;
}

/* 2枚目を四角にしたい（モック寄せ） */
.pg-service-single .service-content .challenge-card:nth-child(2) .challenge-card-header::before {
  border-radius: 3px;
}

/* タイトル */
.pg-service-single .service-content .challenge-card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0b2545;
}

/* 本文 */
.pg-service-single .service-content .challenge-card p {
  margin: 0;
  color: #2f3a4a;
  line-height: 1.9;
  font-size: 15px;
}



/* =========================
   Hero override (mock寄せ)
   ========================= */

/* Badge: 16px */
.pg-service-single .svc-hero-badge {
  font-size: 16px;
  letter-spacing: .18em; /* モック寄せなら.18～.22あたりが合いやすい */
}

/* Lead（本文説明）: 32px */
.pg-service-single .svc-hero-lead {
  font-size: 28px;
  line-height: 1.7;
}

/* スマホでバランス調整 */
@media (max-width: 640px) {
  .pg-service-single .svc-hero {
    padding: 96px 0 72px;
  }
  .pg-service-single .svc-hero-badge {
    font-size: 13px;       /* スマホでは少し落とす */
    letter-spacing: .16em;
    padding: 7px 14px;
  }
  .pg-service-single .svc-hero-title {
    font-size: 30px;
    line-height: 1.35;
    margin-bottom: 18px;
  }
  .pg-service-single .svc-hero-lead {
    font-size: 16px;       /* 32pxのままだとスマホが破綻するので縮める */
    line-height: 1.85;
  }
  .pg-service-single .svc-hero-scroll {
    margin-top: 36px;
  }
}

/* =========================
   Challenge override (mock寄せ)
   ========================= */

.pg-service-single .service-content .challenge {
  padding: 96px 0;
}

@media (max-width: 640px) {
  .pg-service-single .service-content .challenge {
    padding: 72px 0;
  }
}

/* ラベル（CHALLENGE）を中央・青・少し大きめに */
.pg-service-single .service-content .challenge .section-label {
  text-align: center;
  color: #004aad;
  opacity: 1;
  font-size: 14px;
  letter-spacing: .22em;
  margin-bottom: 16px;
}

/* 見出しを中央・モック寄せ */
.pg-service-single .service-content .challenge .section-title {
  text-align: center;
  font-size: clamp(28px, 3.0vw, 44px);
  line-height: 1.35;
  margin-bottom: 18px;
}

.pg-service-single .service-content .challenge .section-subtitle {
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  color: #667085;
  margin: 0 auto;
  max-width: 760px;
}

/* 2カラムの横幅と余白（モックの空気感） */
.pg-service-single .service-content .challenge .challenge-cards {
  margin-top: 48px;
  gap: 28px;
}

/* カード：左に青ライン + 影 + 余白 */
.pg-service-single .service-content .challenge .challenge-card {
  position: relative;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 34px 34px 30px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

/* 左の縦ライン */
.pg-service-single .service-content .challenge .challenge-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  background: #004aad;
  border-radius: 999px;
}

/* ヘッダー行の整形 */
.pg-service-single .service-content .challenge .challenge-card-header {
  gap: 12px;
  margin-bottom: 14px;
}

/* ここが重要：SVGが巨大化するのを止める */
.pg-service-single .service-content .challenge svg.challenge-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
}

/* タイトル（経営者の方へ 等） */
.pg-service-single .service-content .challenge .challenge-card-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #004aad;
  margin: 0;
}

/* 本文 */
.pg-service-single .service-content .challenge .challenge-card p {
  font-size: 16px;
  line-height: 1.9;
  color: #344054;
}

/* =========================
   Challenge label 強調
   ========================= */

.pg-service-single .service-content .challenge .section-label {
  font-size: 16px;        /* ← 14px → 16px */
  letter-spacing: .26em; /* 少しだけ広げて“章感”を出す */
  margin-bottom: 18px;
}

/* Challenge サブコピー調整 */
.pg-service-single .service-content .challenge .section-subtitle {
  font-size: 19px;      /* 18px → 19px（気づかれないが効く） */
  line-height: 2.0;     /* 読ませる余白 */
  color: #475467;       /* 少しだけ濃く */
  margin-top: 6px;
}


/* =========================
   CHALLENGE label (mock exact)
   ========================= */

.pg-service-single .service-content .challenge .section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;          /* モック通り */
  font-weight: 500;         /* ← 超重要 */
  letter-spacing: .18em;    /* モック寄せ */
  line-height: 1;           /* 英字は詰める */
  text-transform: uppercase;
  color: #004aad;
  margin-bottom: 20px;
}

/* =========================
   Challenge heading tweak (match mock)
   ========================= */

/* CHALLENGEラベルをモック寄せ（優先度を上げて上書き） */
.pg-service-single .service-content .challenge .section-label {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 20px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #004aad;
  opacity: 1;
  margin-bottom: 18px;
  line-height: 1;
  text-transform: uppercase;
}

/* サブコピー（「多くの企業が…」）の整え */
.pg-service-single .service-content .challenge .section-subtitle {
  font-size: 16px;
  line-height: 1.9;
  color: #4a5668;
  margin-top: 18px;
}

/* =========================
   Challenge cards (match mock)
   ========================= */

/* テーマ側の .container 影響で幅がズレるのを、このページ内だけ整える */
.pg-service-single .service-content .challenge .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2枚カードの間隔・幅 */
.pg-service-single .service-content .challenge .challenge-cards {
  margin-top: 44px;
  gap: 28px;
}

/* カードの見た目（余白・角丸・影・高さ感） */
.pg-service-single .service-content .challenge .challenge-card {
  padding: 34px 34px;
  border-radius: 18px;
  border: 1px solid #e6edf5;
  box-shadow: 0 18px 42px rgba(11, 37, 69, 0.08);
  min-height: 150px; /* “小さく見える” 対策 */
}

/* 見出し行（アイコン＋タイトル） */
.pg-service-single .service-content .challenge .challenge-card-header {
  gap: 14px;
  margin-bottom: 16px;
}

/* カード内タイトル */
.pg-service-single .service-content .challenge .challenge-card-header h3 {
  font-size: 22px;
  font-weight: 800;
}

/* 本文 */
.pg-service-single .service-content .challenge .challenge-card p {
  font-size: 16px;
  line-height: 2.0;
}

/* アイコンサイズ（モックの存在感に合わせる） */
.pg-service-single .service-content .challenge .challenge-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

/* テーマの.containerを使わないための自前コンテナ */
.pg-service-single .pg-container{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}


.pg-service-single .section-label--challenge{
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 20px;
  letter-spacing: .22em;
  font-weight: 600;
  color: #004aad;
  opacity: 1;
  line-height: 1;
  margin-bottom: 18px;
}

/* =========================
   Service Hero - spacing fix
========================= */

/* Heroの内側余白を少しチューニング */
.pg-service-single .svc-hero-inner {
  padding: 0 24px; /* containerが効かないケースの保険 */
}

/* Badge → Title の間を少し広げる */
.pg-service-single .svc-hero-badge {
  margin-bottom: 36px;
}

/* Titleの上下を調整（Title→Leadを気持ち広め） */
.pg-service-single .svc-hero-title {
  margin-bottom: 34px;
}

/* Leadの行間と余白（まとまりすぎを解消） */
.pg-service-single .svc-hero-lead {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 2.0;
}

/* スクロール案内との距離も少し整える */
.pg-service-single .svc-hero-scroll {
  margin-top: 72px;
}

/* スマホは間延びしやすいので少し締める */
@media (max-width: 640px) {
  .pg-service-single .svc-hero-badge { margin-bottom: 22px; }
  .pg-service-single .svc-hero-title { margin-bottom: 20px; }
  .pg-service-single .svc-hero-lead  { line-height: 1.9; }
  .pg-service-single .svc-hero-scroll{ margin-top: 44px; }
}

/* =========================
   Header gap fix (service single only)
========================= */

/* テーマ側の main の上余白を打ち消す */
body.single-service main,
body.single-service #content,
body.single-service .pg-service-single {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 念のため hero 自体も上にくっつける */
body.single-service .pg-service-single .svc-hero {
  margin-top: 0 !important;
  padding-top: 140px; /* 既存値を維持 */
}

