/* =========================
   吉盛額縁 魚拓額装LP 専用CSS
   file: /assets/css/yoshimori-gyotaku-lp.css
   page-id 不使用版
========================= */


/* =========================
   LP全体・基本設定
========================= */

.yoshimori-lp {
  --main: #1f2f2d;
  --sub: #8a6a3f;
  --accent: #b68b45;
  --bg: #f7f4ee;
  --white: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #e5ded2;
  --soft: #faf7f1;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);

  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  color: var(--text);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  line-height: 1.9;
  letter-spacing: 0.03em;
  background: var(--bg);
  overflow-x: hidden !important;
}

.yoshimori-lp * {
  box-sizing: border-box;
}

.yoshimori-lp img {
  max-width: 100%;
  height: auto;
  display: block;
}

.yoshimori-lp a {
  color: inherit;
  text-decoration: none;
}

.yoshimori-lp p {
  margin-top: 0;
}

.yoshimori-lp h1,
.yoshimori-lp h2,
.yoshimori-lp h3,
.yoshimori-lp h4,
.yoshimori-lp h5,
.yoshimori-lp h6 {
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.yoshimori-lp ul,
.yoshimori-lp ol {
  border: none !important;
  background: none !important;
}


/* =========================
   Lightning・WordPress側の余白対策
   page-idは使わず、LPそのものにだけ効かせる
========================= */

.siteContent .yoshimori-lp,
.mainSection .yoshimori-lp,
.entry-body .yoshimori-lp,
.entry-content .yoshimori-lp,
.wp-block .yoshimori-lp {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

html,
body {
  overflow-x: hidden !important;
}


/* =========================
   共通レイアウト
========================= */

.yoshimori-section {
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 88px 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.yoshimori-container {
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.yoshimori-center {
  text-align: center;
}

.yoshimori-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 14px;
  color: var(--sub);
  font-size: 14px;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  letter-spacing: 0.14em;
}

.yoshimori-title {
  margin: 0 0 24px;
  color: var(--main);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.45;
  font-weight: 700;
}

.yoshimori-lead {
  max-width: 780px;
  margin: 0 auto;
  color: #444444;
  font-size: 17px;
}

.yoshimori-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.yoshimori-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--main);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(31, 47, 45, 0.2);
  transition: 0.25s ease;
}

.yoshimori-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.yoshimori-btn.secondary {
  background: var(--white);
  color: var(--main) !important;
  border: 1px solid var(--main);
  box-shadow: none;
}


/* =========================
   ファーストビュー（全面写真＋テキストオーバーレイ）
========================= */

.yoshimori-hero {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 92vh;
  min-height: 92svh;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.yoshimori-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* .yoshimori-lp img の height:auto(詳細度勝ち)を上書きするための強化 */
.yoshimori-lp .yoshimori-hero-bg {
  height: 100%;
}

.yoshimori-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* かなり弱め。写っているかわからない程度の暗さ */
  background:
    linear-gradient(115deg,
      rgba(15, 20, 16, 0.26) 0%,
      rgba(15, 20, 16, 0.16) 30%,
      rgba(15, 20, 16, 0.07) 55%,
      rgba(15, 20, 16, 0) 75%
    ),
    linear-gradient(to top, rgba(15, 20, 16, 0.14), rgba(15, 20, 16, 0) 40%);
}

/* 額縁のコーナーを思わせるさりげない装飾 */
.yoshimori-hero-corner {
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.5);
  opacity: 0.9;
}
.yoshimori-hero-corner-tl {
  top: 28px;
  left: 28px;
  border-right: none;
  border-bottom: none;
}
.yoshimori-hero-corner-br {
  bottom: 28px;
  right: 28px;
  border-left: none;
  border-top: none;
}

.yoshimori-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100vw - 40px));
  max-width: 1120px;
  margin: 0 auto;
}

.yoshimori-hero-copy {
  max-width: 620px;
}

/* ヒーロー内だけキッカーを小さいバッジ表記に（他セクションのkickerには影響なし） */
.yoshimori-hero .yoshimori-kicker {
  display: inline-block;
  margin-bottom: 22px;
  padding: 5px 14px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.yoshimori-hero h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.35;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.45);
}

.yoshimori-hero p {
  margin: 0 0 28px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* ヒーロー内だけボタン列を左寄せに（CTAセクションのボタンには影響なし） */
.yoshimori-hero .yoshimori-btn-wrap {
  justify-content: flex-start;
  margin-top: 0;
}


/* =========================
   実績
========================= */

.yoshimori-results {
  background: #ffffff;
}

.yoshimori-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

/* 実績1件のみ表示するとき用 */
.yoshimori-case-grid-single {
  display: flex;
  justify-content: center;
}
.yoshimori-case-grid-single .yoshimori-case-card {
  max-width: 480px;
  width: 100%;
}

.yoshimori-case-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* 実績カードの実写真（購入者様＋魚拓写真） */
.yoshimori-lp .yoshimori-case-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.yoshimori-case-body {
  padding: 24px;
}

.yoshimori-case-body h3 {
  margin: 0 0 12px;
  color: var(--main);
  font-size: 21px;
  line-height: 1.5;
}

.yoshimori-case-meta {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.yoshimori-case-meta li {
  border-bottom: 1px solid #eee8df;
  padding: 6px 0;
}

.yoshimori-case-price {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 12px;
  color: #ffffff;
  background: var(--sub);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.yoshimori-voice {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--soft);
  border-left: 3px solid var(--accent);
  color: #4a4034;
  font-size: 14px;
}


/* =========================
   共感メッセージ
========================= */

.yoshimori-problem {
  background: var(--bg);
}

.yoshimori-message-box {
  max-width: 880px;
  margin: 42px auto 0;
  padding: 42px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.yoshimori-message-box p {
  margin: 0 0 18px;
}

.yoshimori-message-box p:last-child {
  margin-bottom: 0;
}


/* =========================
   価格プラン
========================= */

.yoshimori-plans {
  background: #ffffff;
}

.yoshimori-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.yoshimori-plan-card {
  position: relative;
  padding: 34px 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.yoshimori-plan-card.recommend {
  border: 2px solid var(--accent);
}

.yoshimori-label {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 5px 12px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.yoshimori-plan-card h3 {
  margin: 0 0 12px;
  color: var(--main);
  font-size: 24px;
}

.yoshimori-plan-price {
  margin: 0 0 18px;
  color: var(--sub);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
}

.yoshimori-plan-price small {
  font-size: 15px;
  font-weight: 400;
}

.yoshimori-plan-card p {
  margin: 0 0 20px;
  color: #555555;
  font-size: 15px;
}

.yoshimori-plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yoshimori-plan-card li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid #eee8df;
  font-size: 14px;
}

.yoshimori-plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}


/* =========================
   ご注文フロー
========================= */

.yoshimori-flow {
  background: var(--bg);
}

.yoshimori-flow-list {
  max-width: 880px;
  margin: 44px auto 0;
  display: grid;
  gap: 18px;
}

.yoshimori-flow-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 28px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.045);
}

.yoshimori-flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--main);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.yoshimori-flow-item h3 {
  margin: 0 0 8px;
  color: var(--main);
  font-size: 21px;
}

.yoshimori-flow-item p {
  margin: 0;
  color: #555555;
}


/* =========================
   吉盛額縁について
========================= */

.yoshimori-about {
  background: #ffffff;
}

.yoshimori-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}

.yoshimori-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e9e2d6, #f8f5ef);
  border: 1px solid #ded5c8;
  color: #8a7a64;
  text-align: center;
  font-size: 15px;
}

.yoshimori-about-text h3 {
  margin: 0 0 18px;
  color: var(--main);
  font-size: 28px;
  line-height: 1.55;
}

.yoshimori-about-text p {
  margin: 0 0 18px;
}

.yoshimori-info-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  font-size: 15px;
}

.yoshimori-info-table th,
.yoshimori-info-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.yoshimori-info-table th {
  width: 120px;
  color: var(--main);
  font-weight: 700;
}


/* =========================
   スライドショー（吉盛額縁について／額縁の作成過程で共通利用）
   横幅にフィットさせ、縦は中央基準。縦長画像は上下がトリミングされ
   一部だけ見える形になり、横長画像は上下に白い余白ができる。
========================= */

.yoshimori-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 667;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

/* .yoshimori-lp img の height:auto(詳細度勝ち)を上書きするための強化 */
.yoshimori-lp .yoshimori-slideshow img {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.yoshimori-lp .yoshimori-slideshow img.is-active {
  opacity: 1;
}

.yoshimori-process-slideshow-wrap {
  max-width: 720px;
  margin: 44px auto 0;
}


/* =========================
   額縁の作成過程
========================= */

.yoshimori-process {
  background: var(--bg);
}


/* =========================
   選ばれる理由
========================= */

.yoshimori-reasons {
  background: var(--bg);
}

.yoshimori-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.yoshimori-reason-card {
  padding: 32px 28px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.045);
}

.yoshimori-reason-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
}

.yoshimori-reason-card h3 {
  margin: 0 0 12px;
  color: var(--main);
  font-size: 21px;
}

.yoshimori-reason-card p {
  margin: 0;
  color: #555555;
  font-size: 15px;
}


/* =========================
   FAQ
========================= */

.yoshimori-faq {
  background: #ffffff;
}

.yoshimori-faq-list {
  max-width: 900px;
  margin: 44px auto 0;
}

.yoshimori-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.yoshimori-faq-item h3 {
  position: relative;
  margin: 0 0 10px;
  /* 上のグローバルリセット(padding:0 !important)に勝つよう !important を付与 */
  padding-left: 38px !important;
  color: var(--main);
  font-size: 18px;
}

.yoshimori-faq-item h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
}

.yoshimori-faq-item p {
  position: relative;
  margin: 0;
  padding-left: 38px;
  color: #555555;
}

.yoshimori-faq-item p::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sub);
  font-weight: 700;
}


/* =========================
   CTA
========================= */

.yoshimori-cta {
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 88px 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background:
    linear-gradient(135deg, rgba(31, 47, 45, 0.94), rgba(31, 47, 45, 0.84)),
    var(--main);
  color: #ffffff;
  text-align: center;
}

.yoshimori-cta h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.45;
}

.yoshimori-cta p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
}

.yoshimori-cta .yoshimori-btn {
  background: var(--accent);
  color: #ffffff !important;
}

.yoshimori-cta .yoshimori-btn.secondary {
  background: #ffffff;
  color: var(--main) !important;
}

.yoshimori-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}


/* =========================
   コンタクトフォーム7 埋め込みスタイル
========================= */

.yoshimori-cta-form {
  max-width: 640px;
  margin: 36px auto 0;
  padding: 32px 28px;
  background: #ffffff;
  border-radius: 20px;
  text-align: left;
  color: var(--text);
  box-shadow: var(--shadow);
}

.yoshimori-cta-form .wpcf7-form p {
  margin-bottom: 16px;
}

.yoshimori-cta-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--main);
  font-weight: 700;
}

.yoshimori-cta-form input[type="text"],
.yoshimori-cta-form input[type="email"],
.yoshimori-cta-form input[type="tel"],
.yoshimori-cta-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}

.yoshimori-cta-form textarea {
  min-height: 140px;
  resize: vertical;
}

.yoshimori-cta-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--main);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}
.yoshimori-cta-form .wpcf7-submit:hover {
  opacity: 0.9;
}

.yoshimori-cta-form .wpcf7-not-valid-tip {
  color: #e08585;
  font-size: 13px;
  margin-top: 4px;
}

.yoshimori-cta-form .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 520px) {
  .yoshimori-cta-form {
    padding: 24px 20px;
  }
}


/* =========================
   スマホ対応
========================= */

@media (max-width: 900px) {
  .yoshimori-about-grid {
    grid-template-columns: 1fr;
  }

  .yoshimori-case-grid,
  .yoshimori-plan-grid,
  .yoshimori-reason-grid {
    grid-template-columns: 1fr;
  }

  .yoshimori-section {
    padding: 64px 18px;
  }

  .yoshimori-message-box {
    padding: 28px 22px;
  }

  .yoshimori-flow-item {
    grid-template-columns: 1fr;
  }

  .yoshimori-btn {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 640px) {
  .yoshimori-hero {
    min-height: 100svh;
    align-items: flex-start;
    padding-top: 90px;
  }
  .yoshimori-hero-corner {
    display: none;
  }
  .yoshimori-hero-copy {
    max-width: 100%;
  }
  .yoshimori-hero .yoshimori-btn-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .yoshimori-hero h1 {
    font-size: 32px;
  }

  .yoshimori-title {
    font-size: 28px;
  }

  .yoshimori-hero p,
  .yoshimori-lead {
    font-size: 15px;
  }

  .yoshimori-plan-price {
    font-size: 30px;
  }

  .yoshimori-photo-placeholder {
    min-height: 240px;
  }

  .yoshimori-flow-item {
    padding: 24px 20px;
  }

  .yoshimori-btn {
    width: 100%;
    min-width: auto;
  }
}