/* オルスポ TOP（Figma「オルスポ TOP（大会ナビ）」37:2 の再現）。固定ページの標準ブロックに olp- クラスを付けて装飾する。 */
.olp-page {
  --olp-blue: #1638d8;
  --olp-link: #1d3fd6;
  --olp-ink: #151a33;
  --olp-text: #2a3045;
  --olp-lime: #a8e21e;
  --olp-navy: #0d1e45;
  --olp-band: #eef3fc;
  --olp-line: #cdd3df;
  --olp-max: 1122px;
  margin: 0;
  background: #fff;
  color: var(--olp-ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.6;
}
.olp-page :where(p, h1, h2, h3, figure, ul) { margin: 0; }
.olp-page a { color: inherit; text-decoration: none; }
.olp-page img { display: block; max-width: 100%; height: auto; }
.olp-page .wp-block-group__inner-container { display: contents; }
.olp-wrap { width: 100%; max-width: var(--olp-max); margin-inline: auto; }

/* 見出し（黄緑の斜線つき） */
.olp-page .olp-h2 { display: flex; align-items: center; gap: 16px; font-size: 34px; font-weight: 900; line-height: 1.3; letter-spacing: .02em; color: var(--olp-ink); }
.olp-page .olp-h2::before { content: ""; flex: none; width: 20px; height: 34px; background: var(--olp-lime); clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%); }

/* ヘッダー */
.olp-header { position: relative; z-index: 2; background: #fff; box-shadow: 0 2px 6px rgba(20, 31, 64, .08); }
.olp-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 85px; padding: 0 38px 0 40px; }
.olp-brand { display: flex; align-items: center; gap: 6px; }
.olp-brand .wp-block-image { flex: none; }
.olp-brand .wp-block-image img { width: 72px; height: 54px; }
.olp-page .olp-logo-text { font-size: 40px; font-weight: 900; font-style: italic; letter-spacing: -.04em; line-height: 1; color: var(--olp-blue); transform: skewX(-8deg); }
.olp-page .olp-tagline { margin-left: 12px; padding-left: 18px; border-left: 1px solid #bfc6d6; font-size: 16px; font-weight: 500; letter-spacing: .04em; color: #333b4f; line-height: 26px; }
.olp-nav { display: flex; align-items: center; gap: 46px; }
.olp-page .olp-nav p { font-size: 16px; font-weight: 700; color: var(--olp-ink); }
.olp-page .olp-nav__drop a { display: inline-flex; align-items: center; gap: 8px; }
.olp-page .olp-nav__drop a::after { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.olp-page .olp-nav__search { padding-left: 24px; border-left: 1px solid #c9cfdc; line-height: 26px; }
.olp-page .olp-nav__search a { display: block; width: 26px; height: 26px; font-size: 0; background: var(--olp-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.8' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.8' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ヒーロー */
.olp-hero { position: relative; overflow: hidden; min-height: 373px; background: linear-gradient(90deg, #f8fafe 0%, #e9effa 55%, #dce6f7 100%); }
.olp-hero__body { position: relative; z-index: 1; padding: 46px 0 50px 58px; }
.olp-page .olp-hero h1 { font-size: 58px; font-weight: 900; line-height: 72px; letter-spacing: -.03em; color: var(--olp-ink); }
.olp-page .olp-ul { padding-bottom: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 262 18' preserveAspectRatio='none'%3E%3Cpath d='M3 13C70 9 160 6 258 4' fill='none' stroke='%23A8E21E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") left bottom/100% 14px no-repeat; }
.olp-page .olp-hero__lead { margin-top: 22px; font-size: 20px; font-weight: 500; letter-spacing: .04em; color: #1e2438; }
.olp-hero .wp-block-image.olp-hero__photo { position: absolute; top: 0; bottom: 0; left: calc(50% - 56px); right: 0; margin: 0; clip-path: polygon(217px 0, 100% 0, 100% 100%, 0 100%); }
.olp-hero .olp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.olp-hero::after { content: ""; position: absolute; z-index: 1; top: 75px; left: calc(50% + 41px); width: 79px; height: 125px; background: var(--olp-lime); clip-path: polygon(71px 0, 79px 0, 8px 100%, 0 100%); }

/* 検索（コアの検索ブロック） */
.olp-page .olp-search { width: 495px; max-width: 100%; margin-top: 30px; }
.olp-page .olp-search .wp-block-search__inside-wrapper { display: flex; padding: 0; overflow: hidden; border: 1.5px solid #c5cfe3; border-radius: 28px; background: #fff; box-shadow: 0 3px 8px rgba(26, 51, 128, .08); }
.olp-page .olp-search .wp-block-search__input { flex: 1; min-width: 0; height: 53px; margin: 0; padding: 0 16px 0 58px; border: 0; font-size: 16px; color: var(--olp-ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.8' fill='none' stroke='%231E2438' stroke-width='2.2'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='%231E2438' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 20px center/24px no-repeat; }
.olp-page .olp-search .wp-block-search__input::placeholder { color: #8a93a6; }
.olp-page .olp-search .wp-block-search__button { flex: none; width: 104px; margin: 0; border: 0; border-radius: 0 28px 28px 0; background: var(--olp-blue); color: #fff; padding: 0; line-height: 1; white-space: nowrap; font-size: 18px; font-weight: 700; cursor: pointer; }
.olp-page .olp-search .wp-block-search__button:hover { background: #0f2cb8; }

/* 大会・リーグから探す */
.olp-sports { padding: 27px 44px 34px 45px; }
.olp-tabs { display: flex; gap: 7px; margin-top: 20px; padding-left: 12px; border-bottom: 1.5px solid var(--olp-line); }
.olp-page .olp-tab { width: 162px; text-align: center; font-size: 20px; font-weight: 700; color: #3e4458; }
.olp-page .olp-tab a { display: block; padding: 2px 0 12px; border-bottom: 4px solid transparent; margin-bottom: -1.5px; }
.olp-page .olp-tab a:hover { color: var(--olp-link); }
.olp-page .olp-tab.is-active a { color: var(--olp-link); border-bottom-color: var(--olp-link); }
.olp-panel { padding-top: 40px; }
.guide-home .olp-panels:not(.is-ready) .olp-panel:not(.olp-panel--default),
.guide-home .olp-panels.is-ready .olp-panel:not(.is-active) { display: none; }
.olp-page .olp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 13px; margin: 0; padding: 0; list-style: none; }
.olp-page .olp-cards > li { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.olp-page .olp-cards .wp-block-post-featured-image { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 336 / 176; background: #d9e1ee; }
.olp-page .olp-cards .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.olp-page .olp-cards > li:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.olp-page .olp-card__title { padding-left: 16px; font-size: 19px; font-weight: 900; line-height: 1.5; color: var(--olp-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.olp-page .olp-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.olp-page .olp-card__more { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: -2px 0 0 16px; font-size: 16px; font-weight: 700; color: var(--olp-link); }
.olp-page .olp-card__more::after, .olp-page .olp-btn .wp-block-button__link::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.olp-page .olp-empty { padding: 32px; border-radius: 6px; background: #f3f6fb; color: var(--olp-text); }

/* サービス選びで迷ったら */
.olp-cta { background: var(--olp-band); }
.olp-cta__inner { display: flex; align-items: center; gap: 24px; min-height: 138px; padding: 0 37px 0 42px; }
.olp-cta__copy { flex: none; padding-right: 24px; border-right: 1px solid #bcc5d8; }
.olp-page .olp-cta .olp-h2 { font-size: 30px; }
.olp-page .olp-cta__sub { margin-top: 6px; padding-left: 36px; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--olp-text); }
.olp-page .olp-cta .wp-block-buttons { flex: 1; display: flex; flex-wrap: nowrap; gap: 24px; }
.olp-page .olp-btn { flex: 1; margin: 0; }
.olp-page .olp-btn .wp-block-button__link { display: flex; align-items: center; gap: 12px; width: 100%; height: 60px; padding: 0 22px 0 24px; white-space: nowrap; border: 2px solid var(--olp-blue); border-radius: 6px; background: var(--olp-blue); color: #fff; font-size: 18px; font-weight: 700; text-align: left; }
.olp-page .olp-btn .wp-block-button__link::before { content: ""; flex: none; width: 34px; height: 34px; background: currentColor; -webkit-mask: var(--olp-icon) center/contain no-repeat; mask: var(--olp-icon) center/contain no-repeat; }
.olp-page .olp-btn .wp-block-button__link::after { margin-left: auto; width: 22px; height: 22px; }
.olp-page .olp-btn--compare { --olp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 3L21 7.5L12 12L3 7.5Z'/%3E%3Cpath d='M3 11.5L12 16L21 11.5M3 15.5L12 20L21 15.5'/%3E%3C/svg%3E"); }
.olp-page .olp-btn--tv { --olp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='2' y='3' width='22' height='14' rx='1.5'/%3E%3Cpath d='M9 21H17M13 17V21'/%3E%3C/svg%3E"); }
.olp-page .olp-btn--tv .wp-block-button__link { background: #fff; color: var(--olp-blue); }
.olp-page .olp-btn .wp-block-button__link:hover { filter: brightness(1.08); }

/* 新着ガイド */
.olp-guides { padding: 24px 42px 28px; }
.olp-page .olp-guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 31px; margin: 20px 0 0; padding: 0; list-style: none; }
.olp-page .olp-guide-list > li { position: relative; margin: 0; }
.olp-guide { display: flex; gap: 18px; min-height: 120px; }
.olp-page .olp-guide .wp-block-post-featured-image { flex: none; width: 232px; margin: 0; overflow: hidden; border-radius: 8px; aspect-ratio: 232 / 120; background: #d9e1ee; }
.olp-page .olp-guide .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.olp-page .olp-guide__title { flex: 1; align-self: flex-start; padding: 16px 30px 0 0; font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--olp-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.olp-page .olp-guide__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.olp-page .olp-guide-list > li::after { content: ""; position: absolute; right: 0; bottom: 10px; width: 22px; height: 22px; background: var(--olp-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.olp-page .olp-guide-list > li:hover .olp-guide__title { color: var(--olp-link); }

/* フッター */
.olp-footer { background: var(--olp-navy); color: #fff; }
.olp-footer__inner { display: flex; align-items: center; justify-content: space-between; min-height: 67px; padding: 0 48px 0 62px; }
.olp-footer .olp-brand .wp-block-image img { width: 50px; height: 38px; }
.olp-page .olp-footer .olp-logo-text { font-size: 27px; color: #fff; }
.olp-page .olp-footer .olp-tagline { margin-left: 18px; padding-left: 24px; border-left-color: rgba(255, 255, 255, .6); font-size: 14px; color: #fff; }
.olp-footer__links { display: flex; align-items: center; }
.olp-page .olp-footer__links p { font-size: 14px; font-weight: 500; line-height: 16px; }
.olp-page .olp-footer__links p + p { margin-left: 24px; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .7); }
.olp-page .olp-footer__links a:hover { text-decoration: underline; }

.olp-page :focus-visible { outline: 3px solid var(--olp-lime); outline-offset: 2px; }

/* タブレット */
@media (max-width: 1080px) {
  .olp-nav { gap: 28px; }
  .olp-page .olp-hero h1 { font-size: 48px; line-height: 62px; }
  .olp-cta__inner { flex-wrap: wrap; padding: 28px 32px; }
  .olp-cta__copy { border-right: 0; }
  .olp-page .olp-cta .wp-block-buttons { flex-basis: 100%; }
}

/* スマホ */
@media (max-width: 767px) {
  .olp-header__inner { min-height: 62px; padding: 0 16px; }
  .olp-brand .wp-block-image img { width: 48px; height: 36px; }
  .olp-page .olp-logo-text { font-size: 28px; }
  .olp-page .olp-header .olp-tagline, .olp-page .olp-nav p:not(.olp-nav__search) { display: none; }
  .olp-page .olp-nav__search { padding-left: 0; border-left: 0; }
  .olp-hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .olp-hero .wp-block-image.olp-hero__photo { position: relative; left: 0; height: auto; clip-path: none; }
  .olp-hero .olp-hero__photo img { height: auto; aspect-ratio: 1234 / 746; }
  .olp-hero::after { display: none; }
  .olp-hero__body { padding: 22px 16px 32px; }
  .olp-page .olp-hero h1 { font-size: 32px; line-height: 44px; }
  .olp-page .olp-hero__lead { margin-top: 14px; font-size: 15px; }
  .olp-page .olp-search { margin-top: 20px; }
  .olp-page .olp-search .wp-block-search__input { height: 50px; padding-left: 50px; background-position: 16px center; }
  .olp-page .olp-search .wp-block-search__button { width: 84px; font-size: 16px; }
  .olp-page .olp-h2, .olp-page .olp-cta .olp-h2 { font-size: 24px; gap: 12px; }
  .olp-page .olp-h2::before { width: 14px; height: 26px; }
  .olp-sports, .olp-guides { padding: 28px 16px 32px; }
  .olp-tabs { gap: 0; margin-top: 16px; padding-left: 0; }
  .olp-page .olp-tab { flex: 1; width: auto; font-size: 15px; }
  .olp-panel { padding-top: 24px; }
  .olp-page .olp-cards { grid-template-columns: 1fr; gap: 24px; }
  .olp-page .olp-card__title { padding-left: 4px; font-size: 18px; }
  .olp-page .olp-card__more { margin-left: 4px; }
  .olp-cta__inner { padding: 26px 16px; gap: 18px; }
  .olp-cta__copy { padding-right: 0; }
  .olp-page .olp-cta__sub { padding-left: 26px; font-size: 14px; }
  .olp-page .olp-cta .wp-block-buttons { flex-direction: column; gap: 12px; }
  .olp-page .olp-btn { width: 100%; }
  .olp-page .olp-btn .wp-block-button__link { height: 56px; font-size: 16px; }
  .olp-page .olp-guide-list { grid-template-columns: 1fr; gap: 18px; }
  .olp-guide { gap: 12px; min-height: 0; }
  .olp-page .olp-guide .wp-block-post-featured-image { width: 42%; }
  .olp-page .olp-guide__title { padding: 2px 24px 0 0; font-size: 15px; }
  .olp-page .olp-guide-list > li::after { width: 18px; height: 18px; bottom: 4px; }
  .olp-footer__inner { flex-direction: column; gap: 14px; padding: 22px 16px; }
  .olp-page .olp-footer .olp-tagline { display: none; }
  .olp-page .olp-footer__links p + p { margin-left: 14px; padding-left: 14px; }
  .olp-page .olp-footer__links p { font-size: 12px; }
}

/* ブロックエディター: SWELL の本文幅（852px）制限をこのページのブロックだけ外す */
.wp-block.olp-page, .olp-page .wp-block { max-width: none !important; }
.wp-block.olp-page { margin-left: 0 !important; margin-right: 0 !important; }
.olp-page .wp-block.olp-wrap { max-width: var(--olp-max) !important; margin-left: auto !important; margin-right: auto !important; }
.olp-page .wp-block.olp-search { margin-left: 0 !important; margin-right: 0 !important; max-width: 495px !important; }
/* SWELL のエディター用見出し装飾（帯・下線）をこのページだけ打ち消す */
.olp-page :is(h1, h2, h3).wp-block-heading, .olp-page :is(h1, h2, h3).wp-block-post-title { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--olp-ink) !important; }
.olp-page .olp-cta__copy .olp-h2, .olp-page .olp-guides .olp-h2, .olp-page .olp-sports .olp-h2 { display: flex !important; }
.olp-page :is(h1, h2, h3)::after { display: none !important; }
.olp-page :is(h1, h3)::before { display: none !important; }
.olp-page h2.olp-h2::before { content: "" !important; position: static !important; display: block !important; flex: none; width: 20px !important; height: 34px !important; border: 0 !important; background: var(--olp-lime) !important; clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%) !important; transform: none !important; }
.olp-page h3.olp-card__title.wp-block-post-title { padding-left: 16px !important; }
@media (max-width: 767px) { .olp-page h3.olp-card__title.wp-block-post-title { padding-left: 4px !important; } .olp-page h3.olp-guide__title.wp-block-post-title { padding: 2px 24px 0 0 !important; } }
.olp-page h3.olp-guide__title.wp-block-post-title { padding: 16px 30px 0 0 !important; }
@media (max-width: 767px) { .olp-page h3.olp-guide__title.wp-block-post-title { padding: 2px 24px 0 0 !important; } }

/* 2026-11-10 点検: タブごとの一覧リンクと、スマホで押しやすい大きさ */
.olp-page .olp-panel__all { margin-top: 24px; text-align: right; font-size: 16px; font-weight: 700; color: var(--olp-link); }
.olp-page .olp-panel__all a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.olp-page .olp-panel__all a::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.olp-page .olp-panel__all a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .olp-page .olp-tab a { padding: 10px 0 12px; }
  .olp-page .olp-card__more { min-height: 44px; margin-top: -8px; }
  .olp-page .olp-panel__all { margin-top: 16px; text-align: center; }
  .olp-page .olp-panel__all a { justify-content: center; width: 100%; min-height: 48px; border: 1.5px solid var(--olp-link); border-radius: 6px; }
}
