/*
Theme Name: ライフキャリアブリッジ
Theme URI: https://life-c-b.org
Author: 一般社団法人ライフキャリアブリッジ
Description: 一般社団法人ライフキャリアブリッジ 公式サイト用オリジナルWordPressテーマ。Arkhe Blocksプラグイン対応。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: life-career-bridge
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:     #19304d;
  --gold:     #ba933b;
  --beige:    #fcfdeb;
  --ink:      #2a3340;
  --ink-soft: #55606e;
  --line:     #e6e7df;
  --white:    #ffffff;

  --heading-font: "Shippori Mincho","Noto Serif JP",serif;
  --body-font:    "Noto Sans JP",system-ui,sans-serif;
  --en-font:      "EB Garamond",serif;

  --sp:   1;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   TYPE HELPERS
   ============================================================ */
.en-label {
  font-family: var(--en-font);
  font-style: italic;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--gold);
  display: block;
}
.sec-head {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: .06em;
  margin: .35em 0 0;
  line-height: 1.3;
}
.dot-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  font-weight: 500;
}
.dot-label::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
}
.brand { display: flex; align-items: center; }
.logo-img {
  display: block;
  height: 50px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}
.nav a {
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--navy);
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav a:hover::after { width: 100%; }
.nav .ig { display: inline-flex; color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  align-items: flex-start;
  gap: clamp(28px, 5vw, 70px);
  padding-top: 0;
  padding-bottom: calc(40px * var(--sp));
}
.hero-photo {
  overflow: hidden;
  aspect-ratio: 176 / 186;
  box-shadow: 0 24px 50px -28px rgba(25,48,77,.4);
  position: relative;
}
.hero-photo img,
.hero-slide {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ヒーロースライダー（クロスフェード） */
.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slideshow .hero-slide.is-active { opacity: 1; }
.hero-slideshow .hero-slide:first-child { position: relative; }

.hero-copy { padding-top: clamp(80px, 8vw, 100px); }
.hero-copy h1 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.55;
  letter-spacing: .08em;
  margin: 0;
  animation: hero-fadein 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s both;
}
.hero-copy .en {
  font-family: var(--en-font);
  font-style: italic;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.5vw, 20px);
  margin-top: 18px;
  letter-spacing: .04em;
  animation: hero-fadein 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.65s both;
}

@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* hero layout variants */
[data-hero="right"] .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); }
[data-hero="right"] .hero-photo { order: 2; }
[data-hero="right"] .hero-copy { order: 1; text-align: right; }
[data-hero="center"] .hero-grid { display: block; text-align: center; position: relative; }
[data-hero="center"] .hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 0; aspect-ratio: auto;
  opacity: .9; box-shadow: none;
}
[data-hero="center"] .hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.55);
}
[data-hero="center"] .hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(70px,12vw,150px) 0;
}
[data-hero="center"] .hero-copy h1 { color: var(--navy); }

/* ============================================================
   VISION (beige)
   ============================================================ */
.vision {
  background: var(--beige);
  padding: calc(160px * var(--sp)) 0 calc(80px * var(--sp));
  margin-top: -80px;
  position: relative;
  z-index: 0;
}
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: clamp(30px,6vw,80px);
  align-items: start;
}
.vision-grid h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(26px,3.4vw,40px);
  line-height: 1.85;
  letter-spacing: .1em;
  margin: 0;
}
.vision-body p { margin: 0 0 1.4em; color: var(--ink); font-size: 15.5px; }
.vision-body p:last-child { margin-bottom: 0; }

/* ============================================================
   GALLERY（無限スライダー）
   ============================================================ */
.gallery {
  background: var(--beige);
  padding: calc(30px * var(--sp)) 0 calc(70px * var(--sp));
  overflow: hidden;
}
.gallery-slider {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  width: max-content;
  animation: gallery-scroll 55s linear infinite;
}
.gallery-slider:hover { animation-play-state: paused; }
.gallery-slider:hover .gallery-slide { animation-play-state: paused; }
@keyframes gallery-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes gallery-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
.gallery-slide {
  margin: 0;
  flex: none;
  width: 317px;
  animation: gallery-bob 6s ease-in-out infinite;
}
.gallery-slide img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(25,48,77,.38));
}
/* 縦オフセット＋波アニメーションのタイミングずれ（5枚1セット × 2） */
.gallery-slide:nth-child(1)  { margin-top:  0px; animation-delay:  0.0s; }
.gallery-slide:nth-child(2)  { margin-top: 40px; animation-delay: -1.2s; }
.gallery-slide:nth-child(3)  { margin-top: 16px; animation-delay: -2.4s; }
.gallery-slide:nth-child(4)  { margin-top: 56px; animation-delay: -3.6s; }
.gallery-slide:nth-child(5)  { margin-top: 24px; animation-delay: -4.8s; }
.gallery-slide:nth-child(6)  { margin-top:  0px; animation-delay:  0.0s; }
.gallery-slide:nth-child(7)  { margin-top: 40px; animation-delay: -1.2s; }
.gallery-slide:nth-child(8)  { margin-top: 16px; animation-delay: -2.4s; }
.gallery-slide:nth-child(9)  { margin-top: 56px; animation-delay: -3.6s; }
.gallery-slide:nth-child(10) { margin-top: 24px; animation-delay: -4.8s; }

/* ============================================================
   SERVICE
   ============================================================ */
.section { padding: calc(96px * var(--sp)) 0; }
.service-grid {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.25fr);
  gap: clamp(30px,6vw,80px);
  align-items: start;
  margin-top: 48px;
}
.service-intro { color: var(--ink-soft); font-size: 15px; max-width: 34ch; }
.service-list { display: flex; flex-direction: column; }
.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--heading-font);
  font-size: clamp(18px,2vw,22px);
  color: var(--navy);
  letter-spacing: .05em;
  transition: padding .25s ease, color .2s ease;
}
.service-list a:first-child { border-top: 1px solid var(--line); }
.service-list a:hover { padding-left: 14px; color: var(--gold); }
.service-list .marker {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--navy);
  flex: none;
  transition: background .2s ease;
}
.service-list a:hover .marker { background: var(--gold); }

/* ============================================================
   SEMINAR
   ============================================================ */
.seminar {
  background: linear-gradient(180deg, var(--beige), #fff);
  padding: calc(72px * var(--sp)) 0;
}
.seminar-card {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: clamp(26px,4vw,56px);
  align-items: center;
}
.seminar-flyer {}
.seminar-flyer img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(25,48,77,.22));
}
.seminar-info h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(20px,2.4vw,28px);
  letter-spacing: .04em;
  margin: 14px 0 16px;
  line-height: 1.5;
}
.seminar-info {
  position: relative;
  padding-bottom: 87px; /* btn 62px + gap 25px */
}
.seminar-info p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.seminar-info .btn-round {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(30px,6vw,72px);
  align-items: start;
  margin-top: 48px;
}
.about-photo { border-radius: 8px; overflow: hidden; box-shadow: 0 20px 44px -26px rgba(25,48,77,.4); }
.about-photo img { width: 100%; }
.about-msg h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(20px,2.4vw,28px);
  line-height: 1.6;
  letter-spacing: .04em;
  margin: 18px 0 24px;
}
.about-msg p { margin: 0 0 1.4em; font-size: 15px; color: var(--ink); }
.about-msg .sign {
  text-align: right;
  font-family: var(--heading-font);
  color: var(--navy);
  font-size: 18px;
  letter-spacing: .18em;
  margin-top: 30px;
}
.about-msg .sign small {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-family: var(--body-font);
}

/* info table */
.info-table {
  background: #f3f4ee;
  border-radius: 14px;
  padding: clamp(26px,4vw,46px) clamp(24px,5vw,64px);
  margin-top: 56px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.info-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #e2e3d8;
}
.info-row:last-child { border-bottom: 0; }
.info-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: .06em;
}
.info-row dt::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.info-row dd { margin: 0; font-size: 15px; color: var(--ink); }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0,.55fr) minmax(0,1.45fr);
  gap: clamp(24px,5vw,64px);
  align-items: start;
}
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px,2.5vw,40px);
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item:hover { background: #fafaf5; }
.news-date {
  font-family: var(--en-font);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.news-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item .marker {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.news-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink-soft);
  font-family: var(--en-font);
  font-style: italic;
}
.news-all-link::after {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 0 0 calc(96px * var(--sp)); }
.contact-card {
  background: var(--navy);
  border-radius: 20px;
  color: #fff;
  padding: clamp(40px,6vw,80px) clamp(30px,6vw,80px);
  position: relative;
  overflow: hidden;
}
.contact-card h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: clamp(26px,3.4vw,38px);
  letter-spacing: .08em;
  margin: 0;
}
.contact-card .en-label { color: rgba(255,255,255,.6); }
.contact-card p { color: rgba(255,255,255,.85); font-size: 15px; margin: 26px 0 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .22s ease;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a9852f; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-round {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 300;
  transition: all .22s ease;
  border: 0;
  cursor: pointer;
}
.btn-round:hover { background: #a9852f; transform: scale(1.06); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: calc(64px * var(--sp)) 0 36px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand .logo-img { height: 90px; }
.footer-brand .org { font-size: 13px; color: var(--ink); line-height: 1.9; margin: 0; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}
.footer-tag {
  font-family: var(--heading-font);
  color: var(--navy);
  font-size: clamp(18px,2.2vw,26px);
  letter-spacing: .08em;
  text-align: right;
  margin: 0;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px,2vw,32px);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-nav a { font-size: 13.5px; letter-spacing: .08em; color: var(--navy); display: flex; align-items: center; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-bottom small {
  font-family: var(--en-font);
  letter-spacing: .06em;
  color: var(--ink-soft);
  font-size: 13px;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.to-top::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   SUB-PAGE (固定ページ・個別投稿)
   ============================================================ */
.page-hero {
  background: var(--beige);
  padding: calc(150px * var(--sp)) 0 calc(70px * var(--sp));
  text-align: center;
}
.page-hero .sec-head { font-size: clamp(30px,4.4vw,48px); }
.page-hero p { max-width: 50ch; margin: 22px auto 0; color: var(--ink-soft); font-size: 15.5px; }

.crumb { font-family: var(--en-font); font-style: italic; color: var(--ink-soft); font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; }
.crumb a:hover { color: var(--gold); }

/* post content */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 60px;
  padding: calc(72px * var(--sp)) 0 calc(96px * var(--sp));
  align-items: start;
}
.post-main {}
.post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.post-date { font-family: var(--en-font); font-style: italic; color: var(--gold); font-size: 15px; letter-spacing: .04em; }
.post-cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
}
.post-title {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(24px,3vw,36px);
  letter-spacing: .05em;
  line-height: 1.5;
  margin: 0 0 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.post-thumbnail { border-radius: 10px; overflow: hidden; margin-bottom: 36px; }
.post-thumbnail img { width: 100%; }

/* Gutenberg / Arkhe Blocks コンテンツ */
.entry-content { font-size: 15.5px; color: var(--ink); line-height: 1.9; }
.entry-content h2 { font-family: var(--heading-font); font-weight: 600; color: var(--navy); font-size: clamp(22px,2.6vw,30px); letter-spacing: .05em; margin: 2em 0 .75em; padding-bottom: .4em; border-bottom: 2px solid var(--gold); }
.entry-content h3 { font-family: var(--heading-font); font-weight: 600; color: var(--navy); font-size: clamp(18px,2vw,22px); margin: 1.8em 0 .6em; }
.entry-content h4 { font-family: var(--heading-font); color: var(--navy); font-size: 18px; margin: 1.6em 0 .5em; }
.entry-content p { margin: 0 0 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.8em; margin: 0 0 1.5em; }
.entry-content li { margin-bottom: .5em; }
.entry-content blockquote { border-left: 3px solid var(--gold); margin: 2em 0; padding: .75em 1.4em; background: var(--beige); color: var(--ink-soft); font-size: 15px; border-radius: 0 6px 6px 0; }
.entry-content figure { margin: 1.5em 0; }
.entry-content figure img { border-radius: 8px; }
.entry-content figcaption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.entry-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: #a9852f; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry-content .wp-block-image { margin: 1.5em 0; }
.entry-content .wp-block-image img { border-radius: 8px; }
.entry-content .alignwide { margin-left: calc(var(--gutter) * -0.5); margin-right: calc(var(--gutter) * -0.5); }
.entry-content .alignfull { margin-left: calc(50% - 50vw + var(--gutter)); margin-right: calc(50% - 50vw + var(--gutter)); border-radius: 0; }

/* サイドバー */
.post-sidebar {}
.sidebar-widget { margin-bottom: 40px; }
.sidebar-widget-title {
  font-family: var(--heading-font);
  font-size: 16px;
  color: var(--navy);
  letter-spacing: .08em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.sidebar-news-list { list-style: none; }
.sidebar-news-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.sidebar-news-item a { font-size: 14px; color: var(--ink); display: block; }
.sidebar-news-item a:hover { color: var(--gold); }
.sidebar-news-date { font-family: var(--en-font); font-style: italic; font-size: 13px; color: var(--gold); display: block; margin-bottom: 4px; }

/* 前後の記事ナビ */
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); margin-top: 40px; flex-wrap: wrap; }
.post-nav a { font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.post-nav a:hover { color: var(--gold); }

/* サービス詳細 */
.detail {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr) minmax(0,1fr);
  gap: clamp(24px,4vw,56px);
  align-items: start;
  padding: calc(70px * var(--sp)) 0;
  border-bottom: 1px solid var(--line);
}
.detail:last-of-type { border-bottom: 0; }
.detail .num { font-family: var(--en-font); font-style: italic; font-size: 40px; color: var(--gold); line-height: 1; }
.detail h3 { font-family: var(--heading-font); font-weight: 600; color: var(--navy); font-size: clamp(22px,2.6vw,30px); letter-spacing: .05em; margin: 0 0 18px; line-height: 1.5; }
.detail .lead { color: var(--ink); font-size: 15px; margin: 0 0 24px; }
.detail ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.detail li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.detail li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 9px; }
.detail .tag { display: inline-block; font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; margin-bottom: 16px; }

/* アーカイブ */
.news-archive-wrap { padding-top: 60px; padding-bottom: 96px; }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px,2.5vw,40px);
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.archive-item:first-child { border-top: 1px solid var(--line); }
.archive-item a {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.archive-item:hover { background: #fafaf5; }
.archive-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 48px 0 0;
  flex-wrap: wrap;
}
.archive-pagination a, .archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all .2s ease;
}
.archive-pagination a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.archive-pagination .current { background: var(--gold); color: #fff; border-color: var(--gold); }
.news-empty { color: var(--ink-soft); font-size: 15px; text-align: center; padding: 60px 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-wrap { padding-top: 60px; padding-bottom: 96px; }

.contact-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  padding: 32px 40px;
  background: var(--beige);
  border-radius: 16px;
  margin-bottom: 56px;
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-label {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-family: var(--en-font);
}
.contact-info-item a,
.contact-info-item span {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.contact-info-item a:hover { color: var(--gold); }

/* Contact Form 7 スタイリング */
.contact-form-wrap .wpcf7-form {
  display: grid;
  gap: 22px;
}
.contact-form-wrap .wpcf7-form p { margin: 0; }
.contact-form-wrap label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form-wrap .wpcf7-form-control-wrap { display: block; }
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s ease;
  appearance: none;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form-wrap textarea { min-height: 160px; resize: vertical; }
.contact-form-wrap .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 4px; }
.contact-form-wrap .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.contact-form-wrap .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
}
.contact-form-wrap .wpcf7-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  accent-color: var(--gold);
  cursor: pointer;
}
.contact-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 13px 36px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  transition: all .22s ease;
}
.contact-form-wrap .wpcf7-submit:hover { opacity: .82; }
.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}
.contact-form-wrap .wpcf7-response-output {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  border: none;
}
.contact-form-wrap .wpcf7-mail-sent-ok { background: #eaf4ea; color: #2d7a3a; }
.contact-form-wrap .wpcf7-validation-errors,
.contact-form-wrap .wpcf7-spam-blocked { background: #fdf0ef; color: #c0392b; }

.contact-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 32px 0;
}
.contact-fallback p { width: 100%; margin: 0 0 8px; color: var(--ink-soft); }

.contact-form-notice {
  padding: 28px 32px;
  background: #fff8e6;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ============================================================
   SERVICE ANCHOR NAV
   ============================================================ */
.service-anchor-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.service-anchor-list {
  list-style: none;
  display: flex;
  gap: clamp(4px, 2vw, 32px);
  justify-content: center;
  flex-wrap: wrap;
}
.service-anchor-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  font-weight: 500;
  text-align: center;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  line-height: 1.4;
}
.service-anchor-list a:hover { color: var(--navy); background: var(--beige); }
.anchor-num {
  font-family: var(--en-font);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .08em;
}
.anchor-num.en { font-size: 13px; }

/* サービス詳細画像カラム */
.detail-img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 36px -20px rgba(25,48,77,.35);
  align-self: center;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-cta { margin-top: 28px; }

/* ============================================================
   FLOW
   ============================================================ */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 32px);
  margin-top: 52px;
  list-style: none;
  counter-reset: flow-counter;
  position: relative;
}
.flow-list::before {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: repeating-linear-gradient(to right, var(--gold) 0, var(--gold) 6px, transparent 6px, transparent 14px);
  pointer-events: none;
}
.flow-item {
  background: var(--white);
  border-radius: 14px;
  padding: clamp(22px, 3vw, 36px) clamp(18px, 2.5vw, 28px);
  text-align: center;
  position: relative;
  box-shadow: 0 8px 24px -12px rgba(25,48,77,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  counter-increment: flow-counter;
}
.flow-item::before {
  content: "0" counter(flow-counter);
  font-family: var(--en-font);
  font-style: italic;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1;
}
.flow-icon {
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--beige);
  border-radius: 50%;
}
.flow-label {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: .06em;
  margin: 0;
}
.flow-body {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}
.flow-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 32px;
  letter-spacing: .04em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q button {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--body-font);
  font-size: clamp(14.5px, 1.6vw, 16px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .04em;
  line-height: 1.6;
  transition: color .2s;
}
.faq-q button:hover { color: var(--gold); }
.faq-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--en-font);
  font-style: italic;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.faq-a .faq-icon { background: var(--gold); }
.faq-arrow {
  margin-left: auto;
  flex: none;
  color: var(--gold);
  transition: transform .3s ease;
}
.faq-q button[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .25s ease;
}
.faq-a.open { max-height: 300px; }
.faq-a-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 4px 24px;
}
.faq-a-inner p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
  padding-top: 6px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .gallery-slider { animation: none; }
  .gallery-slide  { animation: none; }
}
@media (max-width: 860px) {
  .pc-br { display: none; }
  .vision {
    margin-top: -40px;
    padding-top: calc(120px * var(--sp));
  }
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-list::before { display: none; }
  .detail-img { aspect-ratio: 16 / 9; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 0 36px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -20px 0 50px -30px rgba(0,0,0,.4);
    z-index: 40;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 17px; }
  .nav-toggle { display: inline-flex; z-index: 50; position: relative; }

  .hero-grid,
  .vision-grid,
  .service-grid,
  .seminar-card,
  .about-grid,
  .news-grid { grid-template-columns: 1fr; }

  .hero-photo {
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
    aspect-ratio: 4 / 5;
  }

  .hero-copy { text-align: left !important; padding-top: 20px; }
  [data-hero="right"] .hero-photo { order: 0; }
  .seminar-card { gap: 24px; }
  .seminar-info { padding-bottom: 74px; } /* btn 62px + gap 12px */
  .info-row { grid-template-columns: 120px 1fr; gap: 12px; }
  .footer-top { flex-direction: column; }
  .footer-brand .logo-img { height: 50px; }
  .footer-right { align-items: flex-start; }
  .footer-tag { text-align: left; }
  .footer-nav { justify-content: flex-start; }

  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail { grid-template-columns: 1fr; gap: 14px; padding-bottom: 48px; }
  .detail .num { font-size: 30px; }
}
@media (min-width: 521px) and (max-width: 860px) {
  .hero-photo { aspect-ratio: 3 / 2; }
}

@media (max-width: 600px) {
  .gallery-slide { width: clamp(160px, 44vw, 240px); }
  .flow-list { grid-template-columns: 1fr; }
  .service-anchor-list { gap: 4px; }
  .service-anchor-list a { font-size: 11px; padding: 5px 8px; }
}
@media (max-width: 520px) {
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .news-date { font-size: 13px; }
  .contact-actions .btn { flex: 1 1 auto; justify-content: center; }
}
