/* =========================================================
   O-TECH CREATE — Template collection  ·  Figma node 82:71
   Shortcode: [otech_templates]
   ========================================================= */
.ot, .ot *, .ot *::before, .ot *::after { box-sizing: border-box; }
.ot p, .ot h2, .ot h3, .ot ul, .ot li { margin: 0; padding: 0; list-style: none; }
.ot img { max-width: none; border: 0; box-shadow: none; border-radius: 0; }
.ot a { text-decoration: none; }

.ot {
  --ot-ink: #0f1d3d;
  --ot-brand: #17358e;
  --ot-muted: #56617a;
  --ot-border: #dce3ee;
  --ot-line: #e1e7f0;
  width: 100%;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ot-ink);
  scroll-margin-top: 80px;
}
.ot-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* ---------- Section head ---------- */
.ot-head-sec { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ot-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: "Montserrat", "Noto Sans JP", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2.08px;
  color: var(--ot-brand); line-height: normal; white-space: nowrap;
}
.ot-eyebrow i { display: block; width: 40px; height: 2px; background: var(--ot-brand); }
.ot-h2 {
  font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900; font-size: 40px; line-height: 1.4;
  color: var(--ot-ink); letter-spacing: 0;
}
.ot-nb { display: inline-block; }
.ot-sub { font-size: 16px; line-height: 1.7; color: var(--ot-muted); }

/* ---------- Grid ---------- */
.ot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}

/* ---------- Card ---------- */
.ot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 12px;
  box-shadow: 0 8px 20px -6px rgba(15, 28, 61, .06);
  transition: box-shadow .25s, transform .25s;
}
.ot-card:hover { box-shadow: 0 16px 32px -10px rgba(15, 28, 61, .16); transform: translateY(-2px); }

.ot-thumb { position: relative; flex: none; height: 236px; overflow: hidden; }
.ot-shot {
  position: absolute; left: 0; top: 0;
  width: calc(100% + 2px) !important; height: auto !important;
  transition: transform .6s ease;
}
.ot-card:hover .ot-shot { transform: translateY(-24px); }
/* Template 005: the design crops a region of a wider screenshot */
.ot-shot--crop { width: 610.17% !important; height: 1971.87% !important; left: -427.12%; top: -932.81%; }
.ot-card:hover .ot-shot--crop { transform: none; }
.ot-ribbon { position: absolute; left: 0; top: 0; width: 130px; height: 44px; }
.ot-ribbon img { position: absolute; inset: 0; width: 130px; height: 44px; }
.ot-ribbon span {
  position: absolute; left: 16px; top: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 20px; line-height: normal;
  color: #fff; white-space: nowrap;
}

.ot-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px 24px 24px; }
.ot-head { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.ot-no { font-size: 15px; line-height: 22px; color: var(--ot-brand); }
.ot-title { font-family: "Noto Sans JP", sans-serif; font-size: 20px; line-height: 30px; font-weight: 700; color: var(--ot-ink); }

.ot-specs { display: flex; flex-direction: column; gap: 8px; }
.ot-specs li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 24px; }
.ot-specs img { flex: none; width: 18px; height: 18px; }
.ot-spec-k { flex: none; width: 136px; font-weight: 700; }
.ot-spec-v { flex: 1 1 0; min-width: 0; font-weight: 400; }

.ot-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; padding-top: 4px; }
.ot-price strong { font-size: 24px; line-height: 36px; font-weight: 700; color: var(--ot-brand); }
.ot-price small { font-size: 12px; line-height: 20px; font-weight: 500; color: var(--ot-muted); }
.ot-monthly { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.ot-or { font-size: 14px; line-height: 24px; }

.ot-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ot-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 14px 22px 14px 26px;
  border-radius: 4px;
  font-size: 15px; font-weight: 700; line-height: 22px; text-align: center;
  transition: background-color .2s, border-color .2s;
}
.ot-btn img { flex: none; width: 16px; height: 16px; transition: transform .2s; }
.ot-btn:hover img { transform: translateX(3px); }
.ot-btn--primary { background: var(--ot-brand); color: #fff; }
.ot-btn--primary:hover { background: #0f2870; color: #fff; }
.ot-btn--outline { background: #fff; color: var(--ot-brand); border: 1.5px solid var(--ot-line); }
.ot-btn--outline:hover { border-color: var(--ot-brand); color: var(--ot-brand); }
.ot-btn:focus-visible, .ot-note a:focus-visible { outline: 2px solid #1e5bd8; outline-offset: 2px; }

/* ---------- Price note ---------- */
.ot-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  margin-top: -8px; /* 36px gap from grid in the design */
  font-size: 13px; color: var(--ot-muted); text-align: center;
}
.ot-note > img { width: 16px; height: 16px; }
.ot-note a {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; color: #0a62a5; text-decoration: underline; text-underline-offset: 2px;
}
.ot-note a img { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .ot-card, .ot-shot { transition: none; }
  .ot-card:hover, .ot-card:hover .ot-shot { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .ot-inner { padding: 72px 32px; }
  .ot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ot-inner { padding: 56px 20px; gap: 32px; }
  .ot-h2 { font-size: 26px; }
  .ot-sub { font-size: 14px; }
  .ot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ot-thumb { height: 200px; }
  .ot-body { padding: 18px 18px 20px; }
  .ot-spec-k { width: 120px; }
  .ot-title { font-size: 18px; line-height: 28px; }
}


/* v3.9.5: Figma 82:71 geometry mapped to the original dynamic WordPress gallery.
 * Three large cards per row, 24px column gaps, full-width inner at desktop (Figma 3+3+2).
 * Priority overrides are explicit because v3.9.4 contains numerous earlier !important styles. */
.otcl-catalog.otcl-library-v376 .otcl-main.odl-collection.ot{
  width:100%!important;max-width:none!important;padding:0!important;
  background:#fff!important;overflow:visible;
}
.otcl-catalog.otcl-library-v376 .ot-main.ot{background:#fff}
.otcl-catalog.otcl-library-v376 .ot-main .ot-inner,
.otcl-catalog.otcl-library-v376 .ot-inner{
  width:100%!important;max-width:1920px!important;
  margin:0 auto!important;padding:76px clamp(20px,2.5vw,48px) 80px!important;
  display:flex;flex-direction:column;gap:24px;
}
.otcl-catalog.otcl-library-v376 .ot-head-sec.odl-section-heading{
  display:flex!important;flex-direction:column;align-items:center;gap:11px!important;
  padding:0!important;margin:0 0 6px!important;text-align:center!important;
}
.otcl-catalog.otcl-library-v376 .ot-head-sec .ot-eyebrow{
  display:flex!important;align-items:center!important;justify-content:center;gap:12px;
  color:#17358e!important;font:700 13px/1.4 'Montserrat','Noto Sans JP',sans-serif!important;
  letter-spacing:.13em!important;
}
.otcl-catalog.otcl-library-v376 .ot-head-sec .ot-eyebrow i{width:36px;height:2px;background:#17358e}
.otcl-catalog.otcl-library-v376 .ot-head-sec .ot-h2{
  font:900 clamp(28px,3vw,40px)/1.35 'Zen Kaku Gothic New','Noto Sans JP',sans-serif!important;
  color:#0f1d3d!important;letter-spacing:0!important;margin:0!important;
}
.otcl-catalog.otcl-library-v376 .ot-head-sec .ot-sub{font:400 15px/1.85 'Noto Sans JP',sans-serif;color:#56617a;margin:0!important}
.otcl-catalog.otcl-library-v376 .otcl-toolbar.odl-toolbar{width:100%;min-width:0;margin:6px 0 12px!important;gap:16px}
.otcl-catalog.otcl-library-v376 .ot-grid.otcl-grid.odl-grid{
  display:grid!important;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;align-items:stretch!important;margin:0!important;
}
.otcl-catalog.otcl-library-v376 .ot-card.odl-card{
  display:flex!important;flex-direction:column!important;min-width:0!important;
  height:100%!important;border:1px solid #dce3ee!important;border-radius:12px!important;
  background:#fff!important;overflow:hidden!important;
  box-shadow:0 8px 20px -6px rgba(15,28,61,.08)!important;
  transition:box-shadow .25s,transform .25s!important;
}
.otcl-catalog.otcl-library-v376 .ot-card.odl-card:hover{
  transform:translateY(-3px)!important;box-shadow:0 16px 32px -10px rgba(15,28,61,.16)!important;
}
.otcl-catalog.otcl-library-v376 .ot-card .ot-thumb.odl-card-image{
  position:relative!important;display:block!important;aspect-ratio:1.48!important;
  width:100%!important;height:auto!important;min-height:0!important;
  border-radius:0!important;overflow:hidden!important;background:#eef3f8!important;
}
.otcl-catalog.otcl-library-v376 .ot-card .ot-thumb img.ot-shot.otcl-fg-preview{
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;min-height:0!important;
  object-fit:cover!important;object-position:center top!important;transform:none!important;
  transition:object-position .65s ease!important;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .otcl-catalog.otcl-library-v376 .ot-card .ot-thumb:hover img.ot-shot.otcl-fg-preview{
    object-position:center bottom!important;transition:object-position 12s linear!important;
  }
}
.otcl-catalog.otcl-library-v376 .ot-thumb .ot-ribbon.otcl-card-discount{
  position:absolute!important;left:0!important;right:auto!important;top:0!important;
  width:130px!important;height:44px!important;display:block!important;background:transparent!important;
  border-radius:0!important;padding:0!important;box-shadow:none!important;pointer-events:none;
}
.otcl-catalog.otcl-library-v376 .ot-thumb .ot-ribbon img{
  position:absolute!important;inset:0!important;width:130px!important;height:44px!important;
}
.otcl-catalog.otcl-library-v376 .ot-thumb .ot-ribbon span{
  position:absolute!important;left:15px!important;top:9px!important;color:#fff!important;
  font:900 19px/1.1 'Montserrat','Noto Sans JP',sans-serif!important;
}
.otcl-catalog.otcl-library-v376 .ot-card .ot-body.odl-card-body{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
  gap:13px!important;padding:18px clamp(13px,1.1vw,22px) 18px!important;
  color:#0f1d3d;background:#fff!important;
}
.otcl-catalog.otcl-library-v376 .ot-card-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap}
.otcl-catalog.otcl-library-v376 .ot-card h3.ot-no.otcl-card-heading{
  margin:0!important;min-height:0!important;font:900 clamp(19px,1.35vw,25px)/1.3 'Noto Sans JP',sans-serif!important;
  letter-spacing:-.025em!important;color:#17358e!important;
}
.otcl-catalog.otcl-library-v376 .ot-card h3.ot-no a{color:#17358e!important;text-decoration:none!important}
.otcl-catalog.otcl-library-v376 .ot-card h3.ot-no a:hover{text-decoration:underline!important;text-underline-offset:3px}
.otcl-catalog.otcl-library-v376 .ot-plan{
  display:inline-flex;align-items:center;padding:4px 8px;background:#eff4ff;border:1px solid #e3eafa;
  border-radius:4px;color:#17358e;font:800 10px/1.5 'Montserrat',sans-serif;letter-spacing:.01em;
}
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs.otcl-card-specs{
  display:flex!important;flex-direction:column!important;gap:0!important;
  margin:0!important;padding:0!important;flex:none;color:#0f1d3d!important;
}
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs .ot-spec-row{
  display:grid!important;grid-template-columns:minmax(0,46%) minmax(0,54%)!important;
  gap:7px!important;align-items:start!important;
  border-bottom:1px solid #edf1f6!important;padding:7px 0!important;
}
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs dt,
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs dd{
  min-width:0!important;margin:0!important;padding:0!important;
  font:600 12px/1.65 'Noto Sans JP',sans-serif!important;overflow-wrap:anywhere;
}
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs dt{
  display:flex!important;align-items:flex-start!important;gap:8px!important;color:#3b4f6f!important;font-weight:700!important;
}
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs dt img{
  flex:none!important;width:17px!important;height:17px!important;max-width:none!important;margin-top:2px;
}
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs dd{color:#15284e!important;font-weight:600!important}
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs dd.ot-value-pending{color:#8b96a9!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-price.otcl-card-price{
  display:flex!important;align-items:center!important;gap:10px!important;
  margin:0!important;margin-top:auto!important;min-height:64px!important;
  padding:12px 0 4px!important;border:0!important;
}
.otcl-catalog.otcl-library-v376 .ot-card .otcl-card-price__option{display:flex;flex-direction:column;gap:4px!important;min-width:0}
.otcl-catalog.otcl-library-v376 .ot-card .otcl-card-price__option span{font-size:10px!important;color:#56617a!important;line-height:1.4!important}
.otcl-catalog.otcl-library-v376 .ot-card .otcl-card-price__option strong{
  font:900 clamp(18px,1.55vw,26px)/1.15 'Montserrat','Noto Sans JP',sans-serif!important;
  letter-spacing:-.05em;color:#17358e!important;white-space:nowrap;
}
.otcl-catalog.otcl-library-v376 .ot-card .otcl-card-price__option strong small{font-size:12px!important;letter-spacing:0}
.otcl-catalog.otcl-library-v376 .ot-card .otcl-card-price__divider{width:1px!important;height:34px!important;background:#cfdbed!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-actions{display:grid;grid-template-columns:1fr;gap:8px!important;margin:0!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;width:100%;gap:8px!important;margin:0!important;padding:10px!important;
  font:700 12px/1.6 'Noto Sans JP',sans-serif!important;text-align:center!important;
  border:1px solid #17358e!important;border-radius:5px!important;text-decoration:none!important;
  white-space:normal;
}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn img{width:14px!important;height:14px!important;max-width:none!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn--primary{
  background:#17358e!important;border-color:#17358e!important;color:#fff!important;
}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn--primary img{filter:none!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn--primary:hover{background:#0c2874!important;color:#fff!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn--outline{background:#fff!important;color:#17358e!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn--outline:hover{background:#edf3ff!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-btn--disabled{background:#e8ecf2;color:#6a778b;border-color:#d9e0eb!important}
.otcl-catalog.otcl-library-v376 .ot-card .ot-fallback{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}
.otcl-catalog.otcl-library-v376 .ot-card .ot-fallback strong{font-size:16px;letter-spacing:.07em}
.otcl-catalog.otcl-library-v376 .ot-card .ot-fallback span{font-size:12px;color:#71819b}
.otcl-catalog.otcl-library-v376 .otcl-pager-wrap{margin-top:5px!important}
.otcl-catalog.otcl-library-v376 .otcl-pricing-disclaimer{margin-top:0!important}
@media(max-width:1200px){
  .otcl-catalog.otcl-library-v376 .ot-grid.otcl-grid.odl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
}
@media(max-width:720px){
  .otcl-catalog.otcl-library-v376 .ot-grid.otcl-grid.odl-grid{grid-template-columns:1fr!important;gap:24px!important}
  .otcl-catalog.otcl-library-v376 .ot-inner{padding:58px 22px!important}
}
@media(max-width:560px){
  .otcl-catalog.otcl-library-v376 .ot-grid.otcl-grid.odl-grid{grid-template-columns:1fr!important;gap:24px!important}
  .otcl-catalog.otcl-library-v376 .ot-inner{padding:52px 16px!important}
  .otcl-catalog.otcl-library-v376 .ot-card .ot-body.odl-card-body{padding:16px 17px!important}
  .otcl-catalog.otcl-library-v376 .ot-card .otcl-card-price__option strong{font-size:25px!important}
  .otcl-catalog.otcl-library-v376 .ot-head-sec .ot-h2{font-size:26px!important}
}
@media(prefers-reduced-motion:reduce){
  .otcl-catalog.otcl-library-v376 .ot-card .ot-thumb:hover img.ot-shot.otcl-fg-preview{
    object-position:center top!important;transition:none!important;
  }
}


/* v3.9.6 — Figma layout when Elementor's widget lives in a boxed container.
 * Expand the dynamic catalog to viewport width, regardless of parent max-width.
 * Do not alter global theme header/footer or other Elementor content.
 */
.otcl-catalog.otcl-library-v376.otech-library{
    position:relative!important;
    width:100vw!important;
    max-width:none!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    margin:0!important;
    padding:0!important;
    overflow-x:clip!important;
}
.otcl-catalog.otcl-library-v376 .otcl-main.odl-collection.ot{
    width:100%!important;
    max-width:none!important;
}
.otcl-catalog.otcl-library-v376 .otcl-main .ot-inner{
    width:100%!important;
    max-width:1920px!important;
    margin:0 auto!important;
    padding:74px clamp(24px,3.2vw,60px) 80px!important;
}
.otcl-catalog.otcl-library-v376 .ot-main .ot-grid.otcl-grid.odl-grid,
.otcl-catalog.otcl-library-v376 .otcl-main .ot-grid.otcl-grid.odl-grid{
    display:grid!important;
    width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:24px!important;
    align-items:stretch!important;
}
@media (max-width:1200px){
    .otcl-catalog.otcl-library-v376 .otcl-main .ot-grid.otcl-grid.odl-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media (max-width:720px){
    .otcl-catalog.otcl-library-v376 .otcl-main .ot-grid.otcl-grid.odl-grid{
        grid-template-columns:1fr!important;
    }
    .otcl-catalog.otcl-library-v376 .otcl-main .ot-inner{padding-inline:22px!important}
}
@media (max-width:559px){
    .otcl-catalog.otcl-library-v376 .otcl-main .ot-grid.otcl-grid.odl-grid{
        grid-template-columns:1fr!important;
    }
    .otcl-catalog.otcl-library-v376 .otcl-main .ot-inner{padding-inline:16px!important}
}


/* v3.10.0 — specification labels use an explicit style row, not the retired tagline. */
.otcl-catalog.otcl-library-v376 .ot-card dl.ot-specs .ot-spec-row dt span{
  overflow-wrap:anywhere;
}


/* v3.9.9 — only the package tabs remain in the gallery toolbar. */
.otcl-catalog.otcl-library-v376 .otcl-toolbar.odl-toolbar{
  justify-content:flex-start!important;
  padding:10px!important;
}
.otcl-catalog.otcl-library-v376 .odl-filters{
  flex:1 1 100%;display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip]{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:9px 13px;min-height:37px;
  border:1px solid #dce3ee;border-radius:6px;
  background:#fff;color:#17358e;
  font:750 12px/1.3 'Noto Sans JP',sans-serif;
  text-decoration:none;white-space:nowrap;box-shadow:none;
  transition:background .2s,border-color .2s,color .2s;
}
.otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip] span{color:#8290aa;font-size:11px;font-weight:700}
.otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip].is-active,
.otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip][aria-current='true']{
  background:#17358e;color:#fff;border-color:#17358e;
}
.otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip].is-active span{color:#fff}
.otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip]:hover:not(.is-active){
  background:#f4f7ff;border-color:#7194d0;
}
.otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip]:focus-visible{
  outline:3px solid #3975df;outline-offset:2px;
}
@media(max-width:560px){
  .otcl-catalog.otcl-library-v376 .odl-filters{gap:6px}
  .otcl-catalog.otcl-library-v376 .odl-filters a[data-otcl-plan-chip]{font-size:11px;padding:8px 10px;min-height:34px}
}
