/* ============================================
  看板デザイン事例紹介LP
  アップロード先: public_html/wp-content/themes/tenjiku_tcd091/css/lp-signdesign.css
  Futura PT: Adobe Fonts導入済みなら "futura-pt" が適用され、
  未導入なら近い雰囲気のJost(Google Fonts)にフォールバックします
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

.sdlp {
  --sdlp-bg: #f5f9fc;        /* ページ淡ブルー */
  --sdlp-blue-50: #e8f1f8;   /* セクション帯 */
  --sdlp-blue-100: #d3e4f0;  /* カードの縁・薄い面 */
  --sdlp-blue-300: #8fb4d1;  /* アクセント淡 */
  --sdlp-blue-600: #3f6e93;  /* アクセント */
  --sdlp-navy: #22415c;      /* 見出し・濃色面 */
  --sdlp-text: #33424f;      /* 本文 */
  --sdlp-en: "futura-pt", "Jost", sans-serif;
  --sdlp-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  /* テーマのコンテンツ枠を突き破って全幅表示。
     正確な位置合わせはJS(fullBleed)が行い、以下はJS無効時のフォールバック */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  font-family: var(--sdlp-jp);
  color: var(--sdlp-text);
  background: var(--sdlp-bg);
  line-height: 2;
  font-size: 16px;
  overflow-x: hidden;
}
body:has(.sdlp) { overflow-x: hidden; }
.sdlp * { box-sizing: border-box; }
.sdlp img { max-width: 100%; height: auto; display: block; }
.sdlp section { padding: 72px 5%; }
.sdlp p { margin: 0 0 1.2em; }
.sdlp p:last-child { margin-bottom: 0; }
/* テーマ(TENJIKU)側のリスト装飾を打ち消し */
.sdlp ul,
.sdlp ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sdlp li::before,
.sdlp li::after {
  content: none !important;
}
.sdlp li::marker {
  content: "";
}
/* wpautopが挿入する<p>や<br>でグリッドが壊れないための保険 */
.sdlp-case__body > p:empty,
.sdlp-case__body > br,
.sdlp-gallery > p:empty,
.sdlp-casenav > p:empty {
  display: none !important;
}
.sdlp-gallery > p,
.sdlp-casenav > p,
.sdlp-marquee__track > p,
.sdlp-cta__steps > p,
.sdlp-intro__examples > p,
.sdlp-strength__cards > p {
  display: contents;
}
.sdlp-gallery > br,
.sdlp-casenav > br,
.sdlp-marquee__track > br,
.sdlp-cta__steps > br,
.sdlp-intro__examples > br,
.sdlp-strength__cards > br,
.sdlp-casenav__card > br {
  display: none;
}

/* 共通パーツ ---------------------------------- */
.sdlp-eyebrow {
  font-family: var(--sdlp-en);
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--sdlp-blue-600);
  margin: 0 0 10px;
}

/* スクロールフェード */
.sdlp-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.sdlp-fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sdlp-fade { opacity: 1; transform: none; transition: none; }
}

/* HERO ---------------------------------------- */
.sdlp-hero {
  position: relative;
  padding: 0;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sdlp-hero__photo,
.sdlp-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 写真の上に敷く濃紺オーバーレイ(中央ほど濃く、タイトルを立たせる) */
.sdlp-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(34, 65, 92, .45), rgba(34, 65, 92, .68));
}
.sdlp-hero__inner {
  position: relative;
  padding: 90px 5%;
  max-width: 900px;
}
.sdlp-hero__eyebrow {
  font-family: var(--sdlp-en);
  font-size: 14px;
  letter-spacing: .4em;
  color: var(--sdlp-blue-100);
  margin: 0 0 18px;
}
.sdlp-hero__title {
  font-family: var(--sdlp-jp);
  font-size: clamp(28px, 4.6vw, 46px) !important;
  font-weight: 700 !important;
  color: #fff;
  line-height: 1.7 !important;
  letter-spacing: .06em;
  margin: 0 0 24px !important;
  text-shadow: 0 2px 18px rgba(20, 32, 43, .35);
}
/* タイトル下の短いアクセントライン */
.sdlp-hero__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 26px auto 0;
  background: var(--sdlp-blue-300);
}
.sdlp-hero__lead {
  font-size: 15px;
  color: var(--sdlp-blue-50);
  margin: 0 !important;
  line-height: 2.1 !important;
}

/* INTRO --------------------------------------- */
.sdlp-intro {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.sdlp-intro__lead {
  font-size: clamp(17px, 2.2vw, 21px) !important;
  font-weight: 700;
  color: var(--sdlp-navy);
  line-height: 2.1 !important;
  margin: 0 0 36px !important;
}
.sdlp p.sdlp-intro__text {
  max-width: 860px;
  margin: 0 auto 28px !important;
  font-size: 15px;
}
.sdlp-intro__examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 36px;
  text-align: left;
}
.sdlp-intro__example {
  background: #fff;
  border-top: 3px solid var(--sdlp-blue-300);
  padding: 22px 24px;
}
.sdlp-intro__extag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--sdlp-blue-600);
  background: var(--sdlp-blue-50);
  padding: 3px 12px;
  margin: 0 0 10px !important;
}
.sdlp-intro__extext {
  font-size: 14px;
  line-height: 1.9 !important;
  margin: 0 !important;
}
.sdlp-intro__types {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 36px !important;
  padding: 0 !important;
}
.sdlp-intro__types li {
  margin: 0 !important;
  padding: 0 !important;
  background: none;
  border: 0;
}
.sdlp-intro__types li a {
  display: block;
  font-size: 13px;
  color: var(--sdlp-navy) !important;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--sdlp-blue-100);
  border-radius: 999px;
  padding: 6px 18px;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.sdlp-intro__types li a:hover {
  background: var(--sdlp-navy);
  border-color: var(--sdlp-navy);
  color: #fff !important;
}
.sdlp-intro__close {
  font-size: 15px;
  font-weight: 500;
  color: var(--sdlp-navy);
  margin: 0 !important;
  padding-top: 40px;
}

/* CASE NAV ------------------------------------ */
.sdlp-casenav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 5% 72px;
}
.sdlp-casenav__card {
  display: block;
  background: #fff;
  border: 1px solid var(--sdlp-blue-100);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sdlp-casenav__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(34, 65, 92, .12);
}
.sdlp-casenav__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.sdlp-casenav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sdlp-casenav__card:hover .sdlp-casenav__thumb img { transform: scale(1.05); }
.sdlp-casenav__no {
  display: block;
  font-family: var(--sdlp-en);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--sdlp-blue-600);
  padding: 14px 18px 0;
}
.sdlp-casenav__ttl {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--sdlp-navy);
  padding: 4px 18px 16px;
  line-height: 1.6;
}

/* CASE ---------------------------------------- */
.sdlp-case {
  background: #fff;
  scroll-margin-top: 90px; /* 固定ヘッダー分。高さに合わせて調整 */
}
.sdlp-case:nth-of-type(even) { background: var(--sdlp-blue-50); }
.sdlp-case__head {
  max-width: 1040px;
  margin: 0 auto 36px;
  position: relative;
}
.sdlp-case__no {
  font-family: var(--sdlp-en);
  font-size: clamp(48px, 8vw, 84px);
  color: var(--sdlp-blue-100);
  letter-spacing: .05em;
  line-height: 1 !important;
  margin: 0 !important;
}
.sdlp-case__title {
  font-size: clamp(20px, 2.6vw, 26px) !important;
  font-weight: 700 !important;
  color: var(--sdlp-navy);
  margin: -0.5em 0 0 4px !important;
  position: relative;
  line-height: 1.6 !important;
}
.sdlp-case__body {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: start;
}
.sdlp-case--rev .sdlp-case__body { grid-template-columns: .85fr 1.15fr; }
.sdlp-case--rev .sdlp-gallery { order: 2; }
.sdlp-case--rev .sdlp-case__text { order: 1; }
.sdlp-case__text { font-size: 15px; }

/* ギャラリー */
.sdlp-gallery { display: grid; gap: 10px; }
.sdlp-gallery__item {
  display: block;
  overflow: hidden;
  background: var(--sdlp-blue-100);
}
.sdlp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sdlp-gallery__item:hover img { transform: scale(1.04); }

/* 5枚: メイン1 + サブ4 */
.sdlp-gallery--5 {
  grid-template-columns: repeat(2, 1fr);
}
.sdlp-gallery--5 .sdlp-gallery__item--main {
  grid-column: 1 / -1;
  aspect-ratio: 27 / 13;
}
.sdlp-gallery--5 .sdlp-gallery__item:not(.sdlp-gallery__item--main) {
  aspect-ratio: 4 / 3;
}

/* 6枚: メイン1 + サブ4 + 横長1 */
.sdlp-gallery--6 {
  grid-template-columns: repeat(2, 1fr);
}
.sdlp-gallery--6 .sdlp-gallery__item--main {
  grid-column: 1 / -1;
  aspect-ratio: 514 / 325;
}
.sdlp-gallery--6 .sdlp-gallery__item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.sdlp-gallery--6 .sdlp-gallery__item:not(.sdlp-gallery__item--main):not(.sdlp-gallery__item--wide) {
  aspect-ratio: 4 / 3;
}

/* 4枚: メイン1 + サブ3 */
.sdlp-gallery--4 {
  grid-template-columns: repeat(3, 1fr);
}
.sdlp-gallery--4 .sdlp-gallery__item--main {
  grid-column: 1 / -1;
  aspect-ratio: 55 /37;
}
.sdlp-gallery--4 .sdlp-gallery__item:not(.sdlp-gallery__item--main) {
  aspect-ratio: 4 / 3;
}

/* DESIGN WORKS(マーキー) ---------------------- */
.sdlp-works {
  background: var(--sdlp-navy);
  padding-left: 0;
  padding-right: 0;
}
.sdlp-works__head {
  text-align: center;
  padding: 0 5%;
  margin-bottom: 36px;
}
.sdlp-works .sdlp-eyebrow { color: var(--sdlp-blue-300); }
.sdlp-works__title {
  color: #fff;
  font-size: clamp(20px, 2.6vw, 26px) !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}
.sdlp-works__lead {
  color: var(--sdlp-blue-100);
  font-size: 14px;
  margin: 0 !important;
}
.sdlp-marquee { overflow: hidden; }
.sdlp-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: sdlp-scroll 36s linear infinite;
}
.sdlp-marquee:hover .sdlp-marquee__track { animation-play-state: paused; }
@keyframes sdlp-scroll {
  to { transform: translateX(calc(-50% - 10px)); }
}
@media (prefers-reduced-motion: reduce) {
  .sdlp-marquee__track { animation: none; flex-wrap: wrap; width: 100%; padding: 0 5%; }
}
.sdlp-marquee__item {
  display: block;
  width: 320px;
  flex-shrink: 0;
  background: #fff;
  padding: 8px;
}
.sdlp-marquee__item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* STRENGTH ------------------------------------ */
.sdlp-strength { background: #fff; }
.sdlp-strength__head {
  max-width: 1040px;
  margin: 0 auto 36px;
  text-align: center;
}
.sdlp-strength__title {
  font-size: clamp(20px, 2.6vw, 26px) !important;
  font-weight: 700 !important;
  color: var(--sdlp-navy);
  margin: 0 !important;
}
.sdlp-strength__cards {
  max-width: 1040px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sdlp-strength__card {
  background: var(--sdlp-blue-50);
  padding: 28px 24px;
  font-size: 14px;
  line-height: 1.9;
}
.sdlp-strength__cardttl {
  font-size: 16px;
  font-weight: 700;
  color: var(--sdlp-navy);
  margin: 0 0 12px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sdlp-blue-300);
}
.sdlp-strength__consult {
  max-width: 860px;
  margin: 0 auto;
  font-size: 15px;
}
.sdlp-strength__subttl {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--sdlp-navy);
  text-align: center;
  margin: 0 0 20px !important;
}
.sdlp-strength__list {
  list-style: none;
  margin: 0 0 1.2em !important;
  padding: 0 !important;
}
.sdlp-strength__list li {
  background: var(--sdlp-blue-50);
  border-left: 3px solid var(--sdlp-blue-600);
  padding: 10px 16px;
  margin-bottom: 8px;
  color: var(--sdlp-navy);
}

/* CTA ----------------------------------------- */
.sdlp-cta {
  background: var(--sdlp-blue-50);
  text-align: center;
}
.sdlp-cta__title {
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 700 !important;
  color: var(--sdlp-navy);
  line-height: 1.7 !important;
  margin: 0 0 10px !important;
}
.sdlp-cta__sub {
  color: var(--sdlp-blue-600);
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 44px;
}
.sdlp-cta__stepshead {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--sdlp-navy);
  border-bottom: 2px solid var(--sdlp-blue-300);
  padding-bottom: 6px;
  margin: 0 0 28px !important;
}
.sdlp ol.sdlp-cta__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 40px !important;
  padding: 0 !important;
  text-align: left;
}
.sdlp-cta__step {
  position: relative;
  margin: 0 !important;
  padding: 25px 23px 23px !important;
  height: auto !important;
  min-height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid transparent;
  transition: border-color .3s ease;
}
.sdlp-cta__step:hover {
  border-color: var(--sdlp-blue-300);
}
.sdlp-cta__stepno {
  font-family: var(--sdlp-en);
  font-size: 34px;
  line-height: 1;
  color: var(--sdlp-blue-300);
  letter-spacing: .05em;
}
.sdlp-cta__stepttl {
  font-size: 16px;
  font-weight: 700;
  color: var(--sdlp-navy);
  margin: 10px 0 10px;
}
.sdlp-cta__steptext {
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}
/* ステップ間の矢印(PCのみ) */
.sdlp-cta__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid var(--sdlp-blue-300);
  transform: translateY(-50%);
}
.sdlp p.sdlp-cta__close {
  max-width: 860px;
  margin: 0 auto 32px !important;
  font-size: 15px;
}
.sdlp-cta__btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sdlp-btn {
  display: inline-block;
  min-width: 240px;
  padding: 16px 28px;
  background: var(--sdlp-navy);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 15px;
  transition: opacity .3s ease;
}
.sdlp-btn:hover {
  opacity: .85;
  color: #fff !important;
}
.sdlp-btn--line { background: #33aa5e; }

/* LIGHTBOX ------------------------------------ */
.sdlp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 32, 43, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}
.sdlp-lightbox[hidden] { display: none; }
.sdlp-lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}
.sdlp-lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* RELATED LINKS ------------------------------- */
.sdlp-links {
  background: #fff;
  text-align: center;
}
.sdlp-links__title {
  font-size: clamp(19px, 2.4vw, 24px) !important;
  font-weight: 700;
  color: var(--sdlp-navy);
  margin: 0 0 32px;
}
.sdlp-links__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto !important;
}
.sdlp-links__btns > .sdlp-linkbtn {
  flex: 1 1 340px;
  max-width: 388px;
}
/* wpautop残骸の無効化 */
.sdlp-links__btns > p:empty,
.sdlp-links__btns > br,
.sdlp-linkbtn > br,
.sdlp-linkbtn p:empty {
  display: none !important;
}
.sdlp-linkbtn {
  position: relative;
  display: block;
  padding: 30px 46px 30px 30px;
  background: var(--sdlp-blue-50);
  border: 1px solid var(--sdlp-blue-100);
  text-decoration: none !important;
  text-align: left;
  transition: background .3s ease, transform .3s ease;
}
.sdlp-linkbtn:hover {
  background: #fff;
  transform: translateY(-3px);
}
.sdlp-linkbtn__en {
  display: block;
  font-family: var(--sdlp-en);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--sdlp-blue-600);
  margin-bottom: 6px;
}
.sdlp-linkbtn__ttl {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--sdlp-navy) !important;
  line-height: 1.6;
}
.sdlp-linkbtn__arrow {
  position: absolute;
  top: 50%;
  right: 26px;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--sdlp-blue-600);
  border-right: 1px solid var(--sdlp-blue-600);
  transform: translateY(-50%) rotate(45deg);
  transition: right .3s ease;
}
.sdlp-linkbtn:hover .sdlp-linkbtn__arrow { right: 20px; }

/* レスポンシブ -------------------------------- */
.sdlp-sp { display: none; }
.sdlp-pc { display: inline; }
@media (max-width: 640px) {
  .sdlp-pc { display: none; }
}
@media (max-width: 900px) {
  .sdlp-case__body,
  .sdlp-case--rev .sdlp-case__body { grid-template-columns: 1fr; }
  .sdlp-case--rev .sdlp-gallery { order: 0; }
  .sdlp-case--rev .sdlp-case__text { order: 0; }
  .sdlp-strength__cards { grid-template-columns: 1fr; }
  .sdlp ol.sdlp-cta__steps { grid-template-columns: 1fr; }
  .sdlp-cta__step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -14px;
    left: 50%;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid var(--sdlp-blue-300);
    border-bottom: 0;
    transform: translateX(-50%);
  }
}
@media (max-width: 640px) {
  .sdlp section { padding: 56px 6%; }
  .sdlp-sp { display: inline; }
  .sdlp-casenav { grid-template-columns: 1fr; }
  .sdlp-intro__examples { grid-template-columns: 1fr; }
  .sdlp-hero { min-height: 440px; }
  .sdlp-hero__inner { padding: 72px 6%; }
  .sdlp-marquee__item { width: 240px; }
  .sdlp-btn { width: 100%; }
  .sdlp ol.sdlp-cta__steps { grid-template-columns: 1fr; }
  .sdlp-hero__title {font-size: 20px !important;}
  .sdlp-hero__lead {font-size: 12px !important;}
  .sdlp-intro__lead {font-size: 15px !important;}
}
