/* 日本一ありがとうキャンペーン（接頭辞 tyc） */
main:has(.tyc-lp) { margin-bottom: 0; }

.admin-bar .tyc-hero { padding-top: calc(56px + 32px); }
@media (max-width: 782px) {
  .admin-bar .tyc-hero { padding-top: calc(32px + 46px); }
}

.tyc-lp {
  --tyc-navy: #1d2b3a;
  --tyc-gold: #b98a1e;
  --tyc-gold-dark: #8f6a12;
  --tyc-gold-soft: #f7edd2;
  --tyc-orange: #f09f4d; /* 会社HP共通の --color-secondary */
  --tyc-red: #c8402f;
  --tyc-red-dark: #a83324;
  --tyc-cream: #fbf8f1;
  --tyc-soft: #f4f6f8;
  --tyc-line: #e4ddcb;
  --tyc-text: #2b3540;
  color: var(--tyc-text);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  overflow: clip;
}

.tyc-lp *, .tyc-lp *::before, .tyc-lp *::after { box-sizing: border-box; }
.tyc-lp h1, .tyc-lp h2, .tyc-lp h3, .tyc-lp p, .tyc-lp figure, .tyc-lp dl, .tyc-lp dd, .tyc-lp ul { margin: 0; }
.tyc-lp ul { padding: 0; list-style: none; }
.tyc-lp a { text-decoration: none; }
.tyc-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.tyc-section { padding: 104px 0; scroll-margin-top: 88px; }
.tyc-section--warm { background: var(--tyc-cream); }
.tyc-section--soft { background: var(--tyc-soft); }
.tyc-center { margin-top: 48px; text-align: center; }
.tyc-sp-only { display: none; }

.tyc-section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.tyc-section-label { margin-bottom: 12px !important; color: var(--tyc-gold-dark); font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.tyc-section-head h2, .tyc-message h2, .tyc-cta h2 { color: var(--tyc-navy); font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: .02em; line-height: 1.45; text-wrap: balance; }
.tyc-section-head > p:last-child { margin-top: 20px; color: var(--tyc-text); font-size: 17px; line-height: 1.95; text-align: left; }
@media (min-width: 768px) {
  .tyc-section-head > p:last-child { text-align: center; }
}

/* ボタン */
.tyc-btn { display: inline-flex; min-height: 64px; align-items: center; justify-content: center; gap: 28px; padding: 16px 32px; border-radius: 6px; font-size: 17px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.tyc-btn:hover { transform: translateY(-2px); }
.tyc-btn--primary { color: #fff; background: var(--tyc-red); box-shadow: 0 12px 28px rgba(200,64,47,.28); }
.tyc-btn--primary:hover { color: #fff; background: var(--tyc-red-dark); }
.tyc-btn--outline { color: var(--tyc-navy); border: 2px solid var(--tyc-navy); background: #fff; }
.tyc-btn--outline:hover { color: var(--tyc-navy); background: #f2f4f6; }

/* FV */
.tyc-hero { position: relative; padding: 56px 0 72px; background: linear-gradient(120deg, #fdf8ea 0%, #fffdf7 55%, #f6ecd2 100%); }
.tyc-hero::before { position: absolute; top: -120px; right: -140px; width: 460px; height: 460px; border: 1px solid rgba(185,138,30,.25); border-radius: 50%; content: ""; }
.tyc-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.tyc-hero__badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 24px !important; padding: 8px 16px; border: 1px solid var(--tyc-gold); border-radius: 999px; color: var(--tyc-gold-dark); background: #fff; font-size: 14px; font-weight: 700; }
.tyc-hero__badge span { color: var(--tyc-navy); font-size: 14px !important; letter-spacing: .06em; }
.tyc-hero__title { color: var(--tyc-navy); font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.01em; line-height: 1.22; }
.tyc-hero__title-sub { display: block; margin-bottom: 14px; color: var(--tyc-gold-dark); font-size: clamp(18px, 1.8vw, 22px) !important; font-weight: 700; letter-spacing: .04em; }
.tyc-hero__lead { margin: 26px 0 34px !important; font-size: 17px; line-height: 1.95; }
.tyc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tyc-hero__emblem { display: flex; flex-direction: column; align-items: center; }
.tyc-hero__emblem img { display: block; width: min(100%, 420px); height: auto; filter: drop-shadow(0 18px 28px rgba(143,106,18,.25)); }
.tyc-hero__emblem figcaption { margin-top: 18px; color: var(--tyc-navy); font-size: 16px; font-weight: 700; letter-spacing: .06em; text-align: center; }
.tyc-hero__emblem figcaption strong { display: block; margin-top: 2px; color: var(--tyc-gold-dark); font-size: 22px; letter-spacing: .08em; }
.tyc-message__photo { margin-top: 28px; }
.tyc-message__photo img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* ページ内リンク */
.tyc-local-nav { border-bottom: 1px solid var(--tyc-line); background: #fff; }
.tyc-local-nav__inner { display: flex; justify-content: center; flex-wrap: wrap; }
.tyc-local-nav a { padding: 20px 22px; color: var(--tyc-text); font-size: 14px; font-weight: 600; }
.tyc-local-nav a:hover { color: var(--tyc-gold-dark); }

.tyc-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 15,059社中1位（受賞セクション内） */
.tyc-rank { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 72px; }
.tyc-rank__lead { color: var(--tyc-navy); font-size: clamp(34px, 4.4vw, 56px) !important; font-weight: 800; letter-spacing: .02em; line-height: 1.3; text-align: center; }
.tyc-rank__lead em { color: var(--tyc-orange); font-style: normal; }
.tyc-rank__figure { display: flex; flex-direction: column; align-items: center; margin: 0 !important; font-family: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif; line-height: 1; }
.tyc-rank__no { color: var(--tyc-orange); font-size: 104px !important; font-weight: 800; letter-spacing: -.02em; }
.tyc-rank__no small { margin-left: .06em; font-size: .4em !important; font-weight: 800; }
.tyc-rank__total { margin-top: 14px; padding: 14px .6em 0; border-top: 1px solid #5c5c5c; color: #4a4a4a; font-size: 40px !important; font-weight: 500; }
.tyc-rank__total small { margin-left: .04em; font-size: .9em !important; font-weight: 500; }

/* 受賞 */
.tyc-award { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.tyc-award__photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.tyc-award__facts { border-top: 2px solid var(--tyc-navy); }
.tyc-award__facts div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--tyc-line); }
.tyc-award__facts dt { color: var(--tyc-gold-dark); font-size: 14px; font-weight: 700; }
.tyc-award__facts dd { font-size: 16px; font-weight: 600; line-height: 1.6; }
.tyc-lp .tyc-award__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--tyc-gold-dark); font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tyc-lp .tyc-award__link:hover { color: var(--tyc-navy); }


/* 新規向け特典 */
.tyc-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tyc-offer { display: flex; flex-direction: column; align-items: center; padding: 36px 24px 32px; border: 1px solid var(--tyc-line); border-radius: 12px; background: #fff; text-align: center; }
.tyc-offer--primary { border: 3px solid var(--tyc-red); box-shadow: 0 18px 40px rgba(200,64,47,.14); }
.tyc-offer__tag { padding: 6px 14px; border-radius: 999px; color: #fff; background: var(--tyc-navy); font-size: 14px; font-weight: 700; }
.tyc-offer--primary .tyc-offer__tag { background: var(--tyc-red); }
.tyc-offer__title { margin-top: 22px !important; color: var(--tyc-navy); font-size: 20px; font-weight: 700; }
.tyc-offer__value { margin-top: 4px !important; color: var(--tyc-red); font-size: 26px; font-weight: 800; }
.tyc-offer__value strong { font-size: 68px; line-height: 1.1; letter-spacing: -.02em; }
.tyc-offer__note { margin-top: 10px !important; padding: 6px 12px; border-radius: 6px; background: var(--tyc-gold-soft); color: var(--tyc-gold-dark); font-size: 14px; font-weight: 700; }
.tyc-offers__free { margin-top: 36px !important; font-size: 17px; line-height: 1.9; text-align: center; }
.tyc-offers__free strong { color: var(--tyc-red); font-size: 20px; }

/* 既存のお客様 */
.tyc-existing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tyc-existing__card { padding: 36px 32px; border: 1px solid var(--tyc-line); border-top: 4px solid var(--tyc-gold); border-radius: 10px; background: #fff; }
.tyc-existing__card h3 { color: var(--tyc-navy); font-size: 22px; font-weight: 700; }
.tyc-existing__lead { margin-top: 12px !important; font-size: 15px; line-height: 1.8; }
.tyc-existing__rows { margin-top: 20px; }
.tyc-existing__rows div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-top: 1px dashed var(--tyc-line); }
.tyc-existing__rows dt { font-size: 15px; font-weight: 600; }
.tyc-existing__rows dd { color: var(--tyc-red); font-size: 24px; font-weight: 800; }
.tyc-existing__contact { margin-top: 32px !important; font-size: 16px; text-align: center; }

/* キャンペーン内容（新規・既存を左右に並べる） */
.tyc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.tyc-panel { display: flex; flex-direction: column; overflow: hidden; padding: 0 32px 30px; border: 1px solid var(--tyc-line); border-radius: 12px; background: #fff; }
.tyc-panel__head { margin: 0 -32px 6px; padding: 22px 32px 20px; color: #fff; text-align: center; }
.tyc-panel--new { border-color: var(--tyc-red); }
.tyc-panel--new .tyc-panel__head { background: var(--tyc-red); }
.tyc-panel--existing { border-color: var(--tyc-gold); }
.tyc-panel--existing .tyc-panel__head { background: var(--tyc-gold-dark); }
.tyc-panel__badge { display: block; font-size: 28px !important; font-weight: 800; letter-spacing: .08em; line-height: 1.3; }
.tyc-panel__title { margin-top: 6px !important; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.6; }
.tyc-panel__group { margin-top: 20px; padding: 18px 20px 8px; border: 1px solid #ecdcb4; border-radius: 10px; background: var(--tyc-cream); }
.tyc-panel__group + .tyc-panel__group { margin-top: 16px; }
.tyc-panel__group h4 { margin: 0; color: var(--tyc-navy); font-size: 18px; font-weight: 700; line-height: 1.4; }
.tyc-panel__lead { margin-top: 6px !important; font-size: 14px; line-height: 1.8; }
.tyc-panel__foot { margin-top: auto !important; padding-top: 20px; font-size: 15px; line-height: 1.8; }
.tyc-panel__foot strong { color: var(--tyc-red); }
.tyc-rows { margin-top: 18px; }
.tyc-panel__group .tyc-rows { margin-top: 10px; }
.tyc-panel__group .tyc-row:last-child { border-bottom: 0; }
.tyc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 16px 0; border-top: 1px dashed var(--tyc-line); }
.tyc-row:last-child { border-bottom: 1px dashed var(--tyc-line); }
.tyc-row dt { font-size: 15px; font-weight: 600; }
.tyc-row dd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 2px 8px; margin: 0; text-align: right; }
.tyc-row__item { color: var(--tyc-navy); font-size: 15px !important; font-weight: 700; white-space: nowrap; }
.tyc-row__value { color: var(--tyc-red); font-size: 26px !important; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.tyc-row--primary .tyc-row__value { font-size: 32px !important; }
.tyc-row__note { flex-basis: 100%; color: var(--tyc-gold-dark); font-size: 13px !important; font-weight: 700; }

/* 注記 */
.tyc-notes { max-width: 900px; margin: 40px auto 0 !important; }
.tyc-notes li { color: #6b7681; font-size: 13px; line-height: 1.8; }

/* 代表メッセージ */
.tyc-message { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
.tyc-message__name { margin-top: 24px !important; font-size: 15px; font-weight: 700; line-height: 1.8; }
.tyc-message__body p { font-size: 17px; line-height: 2.05; }
.tyc-message__body p + p { margin-top: 20px; }

/* 代表の感謝動画 */
.tyc-movie { max-width: 880px; margin-inline: auto; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: #fff; box-shadow: 0 18px 40px rgba(29,43,58,.12); }
.tyc-movie iframe { display: block; width: 100%; height: 100%; border: 0; }

/* CTA */
.tyc-cta { padding: 96px 0; border-top: 1px solid var(--tyc-line); background: linear-gradient(120deg, #fdf8ea 0%, #fffdf7 55%, #f6ecd2 100%); color: var(--tyc-text); text-align: center; }
.tyc-cta h2 + .tyc-btn { margin-top: 36px; }
.tyc-cta__inner > p.tyc-cta__tel { margin: 24px 0 0 !important; font-size: 15px; }
.tyc-cta__tel a { color: var(--tyc-navy); font-size: 20px; font-weight: 700; text-decoration: underline; }

/* タブレット・スマホ */
@media (max-width: 960px) {
  .tyc-hero__inner, .tyc-award, .tyc-message { grid-template-columns: 1fr; gap: 36px; }
  .tyc-hero__emblem { order: -1; }
  .tyc-hero__emblem img { width: min(70%, 300px); }
  .tyc-hero__emblem figcaption { margin-top: 10px; font-size: 14px; }
  .tyc-hero__emblem figcaption strong { font-size: 18px; }
  .tyc-offers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .tyc-existing { grid-template-columns: 1fr; }
  .tyc-split { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .tyc-sp-only { display: inline; }
  .tyc-pc-only { display: none; }
  .tyc-shell { width: calc(100% - 32px); }
  .tyc-section { padding: 72px 0; }
  .tyc-hero { padding: 20px 0 48px; }
  .tyc-hero::before { display: none; }
  .tyc-hero__inner { gap: 20px; }
  .tyc-hero__content { text-align: center; }
  .tyc-hero__emblem img { width: min(52%, 210px); }
  .tyc-hero__emblem figcaption { margin-top: 6px; font-size: 13px; }
  .tyc-hero__emblem figcaption strong { font-size: 16px; }
  .tyc-hero__badge { margin-bottom: 16px !important; }
  .tyc-hero__title { font-size: 38px; }
  .tyc-hero__title-sub { margin-bottom: 10px; font-size: 17px !important; }
  .tyc-hero__lead { margin: 18px 0 26px !important; font-size: 15px; line-height: 1.9; text-align: left; }
  .tyc-hero__badge, .tyc-hero__badge span { font-size: 13px !important; }
  .tyc-hero__actions { flex-direction: column; }
  .tyc-btn { width: 100%; gap: 16px; }
  .tyc-local-nav { display: none; }
  .tyc-rank { gap: 20px; margin-top: 52px; }
  .tyc-rank__lead { font-size: 32px !important; }
  .tyc-rank__no { font-size: 84px !important; }
  .tyc-rank__total { font-size: 32px !important; }
  .tyc-award__facts div { grid-template-columns: 6em 1fr; }
  .tyc-existing__card { padding: 28px 22px; }
  .tyc-panel { padding: 0 20px 24px; }
  .tyc-panel__group { padding: 16px 14px 6px; }
  .tyc-panel__head { margin: 0 -20px 4px; padding: 18px 20px 16px; }
  .tyc-panel__badge { font-size: 24px !important; }
  .tyc-row { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .tyc-row dt { font-size: 14px; }
  .tyc-row dd { justify-content: flex-start; text-align: left; }
  .tyc-row__item { font-size: 13px !important; }
  .tyc-row__value { font-size: 22px !important; }
  .tyc-row--primary .tyc-row__value { font-size: 26px !important; }
  .tyc-message { gap: 24px; }
  .tyc-cta { padding: 72px 0; }
}
