/* =============================================================================
   レンタカー予約 — styles
   SP first; PC from 1024px. Two in-between ranges have rules of their own:
   - 768–1023: only the hero roof changes (a wider tablet roof).
   - 1024–1279: the PC layout fitted to the window. The page gutter is 40px there and the
     header row scales, so every value lands on the 1280+ size without a step.
   ============================================================================= */

/* ---------- Reset (Tailwind CSS v4 preflight, MIT) ---------- */
*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-sans);
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
ol,
ul,
menu {
  list-style: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}
button,
input:where([type='button'], [type='reset'], [type='submit']),
::file-selector-button {
  appearance: button;
}
:-moz-focusring:where(:not(iframe)) {
  outline: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}

/* ---------- Tokens ---------- */
:root {
  /* JP text: IBM Plex Sans JP. EN-only runs: Montserrat. YakuHanJP narrows JP punctuation
     only and leads the JP stack; it comes second in the EN one, where it changes no glyph but
     moved Montserrat ~2px lower on iPhone when placed first. */
  --font-sans: 'YakuHanJP', 'IBM Plex Sans JP', ui-sans-serif, system-ui, sans-serif;
  --font-en: 'Montserrat', 'YakuHanJP', 'IBM Plex Sans JP', ui-sans-serif, sans-serif;
  --color-main: #00a040;
  --color-txt: #343434;
  --color-bace: #76ab8b;
  /* side padding of the page containers */
  --page-gutter: 15px;
  /* where an in-page #anchor (the skip link's #main-content) comes to rest: clear of the sticky
     header, 70 SP / 90 PC */
  --anchor-offset: 70px;
}
@media (min-width: 1024px) {
  :root {
    --anchor-offset: 90px;
  }
}
/* 1264 − 2 × 40 is the 1184 content width the page has from 1280, so the width runs on without
   a step there */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  :root {
    --page-gutter: 40px;
  }
}

/* ---------- Base ---------- */
html {
  /* clip, not hidden, so position: sticky keeps working */
  overflow-x: clip;
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font-sans);
  line-height: 1.8;
  color: var(--color-txt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* buttons get the hand links already have; disabled keeps the arrow */
button:not(:disabled),
[role='button']:not(:disabled) {
  cursor: pointer;
}
[id] {
  scroll-margin-top: var(--anchor-offset);
}
/* one hover transition for every control, pointer devices only; :where() keeps it overridable */
@media (hover: hover) {
  :where(a:any-link, button, [role='button'], summary) {
    transition-property:
      color, background-color, border-color, opacity, box-shadow, transform, fill, stroke;
    transition-duration: 0.3s;
    transition-timing-function: ease;
  }
}

/* ---------- Page frame ---------- */
.layout {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.layout__body {
  flex: 1;
}

/* weight 500: at 400 this hidden link would be the only text pulling the 400 JP font files */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
  font-weight: 500;
}
.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 1rem;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  border-radius: 0.25rem;
  background-color: #fff;
  color: var(--color-txt);
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* ---------- Header (logo only) ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 70;
  background-color: #fff;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
}
.hdr__row {
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  padding-left: 17px;
}
.hdr__brand {
  flex-shrink: 0;
}
.hdr__home {
  display: block;
}
/* the box is the design's logo frame, wider than the ink; the SVG stretches to it
   (preserveAspectRatio none), so both sides are set */
.hdr__logo {
  width: 245px;
  height: 29px;
}
@media (min-width: 1024px) {
  .hdr__row {
    height: 90px;
    padding-left: 30px;
  }
  .hdr__logo {
    width: 343px;
    height: 41px;
  }
}
/* 1024–1279: the PC row scaled to the window, reaching the 1280 values at 1280 */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .hdr__row {
    padding-left: calc(20px + (100vw - 1024px) * 10 / 256);
  }
  .hdr__logo {
    width: calc(245px + (100vw - 1024px) * 98 / 256);
    height: calc(29px + (100vw - 1024px) * 12 / 256);
  }
}

/* ---------- Hero ---------- */
/* The roof sits IN FLOW at the bottom of the green strip: positioned absolutely above the white
   sheet, its top edge would slide under the sticky header and be cut off. */
.hero {
  background-color: var(--color-bace);
  padding-top: 30px;
}
.roof {
  display: block;
  color: #fff;
}
.roof svg {
  margin-inline: auto;
}
.roof__tab,
.roof__pc {
  display: none;
}
@media (min-width: 768px) {
  .roof__sp {
    display: none;
  }
  .roof__tab {
    display: block;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding-top: 56px;
  }
  .roof__tab {
    display: none;
  }
  .roof__pc {
    display: block;
  }
}

/* -1px below 1024 only: there the 42px roof overlaps the sheet by a pixel; the PC roof lands
   exactly on it */
.sheet {
  position: relative;
  margin-top: -1px;
  background-color: #fff;
}
.sheet__bace {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 40px;
  background-color: var(--color-bace);
}
/* padding-bottom: the space below the last link before the page ends */
.sheet__body {
  position: relative;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #fff;
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .sheet {
    margin-top: 0;
  }
  .sheet__body {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding-bottom: 72px;
  }
}

/* The EN title is trimmed to its cap height (trim-both), so its offsets are the design's own:
   the box top IS the cap top. The line height stays as the fallback where trimming is not
   supported. */
.page-ttl {
  padding-top: 39px;
  text-align: center;
}
.page-ttl__en {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  position: absolute;
  inset-inline: 0;
  top: -1px;
  font-family: var(--font-en);
  font-size: 46px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: 1.4px;
  white-space: nowrap;
  color: var(--color-txt);
}
.page-ttl__jp {
  display: block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--color-main);
}
@media (min-width: 1024px) {
  .page-ttl {
    padding-top: 46px;
  }
  .page-ttl__en {
    top: -33px;
    font-size: 90px;
    line-height: 80px;
    letter-spacing: 4.5px;
  }
  /* the design sets this line 2px lower than the font draws it; moving the text leaves the box */
  .page-ttl__jp {
    position: relative;
    top: 2px;
    font-size: 20px;
    line-height: 40px;
  }
}

/* ---------- STEP cards ---------- */
/* PC: the 1184 content column (1214 cap with the 15px padding), so a 1366 window with its
   scrollbar keeps the full 1184 */
.flow {
  margin: 16px auto 0;
  max-width: 1366px;
  padding-inline: var(--page-gutter);
}
@media (min-width: 1024px) {
  .flow {
    margin-top: 32px;
    max-width: calc(1184px + 2 * var(--page-gutter));
  }
}

/* The badge straddles the card's top edge. The offset is PADDING on this wrapper: as a margin
   on the card it would collapse out through the wrapper and swallow the overhang. */
.step {
  position: relative;
  padding-top: 19px;
}
.step--next {
  margin-top: 24px;
}
.step__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: 115px;
  height: 35px;
  translate: -50% 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--color-main);
  text-align: center;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
.step__card {
  border-radius: 10px;
  background-color: #f0f0f0;
  padding: 32px 24px;
}
.step__heading {
  text-align: center;
  font-size: 28px;
  line-height: 44px;
  font-weight: 700;
  color: var(--color-txt);
}
@media (min-width: 1024px) {
  .step {
    padding-top: 18px;
  }
  .step--next {
    margin-top: 40px;
  }
  .step__badge {
    width: 138px;
    height: 41px;
    font-size: 18px;
  }
  .step__card {
    border-radius: 20px;
    padding: 55px 148px 56px;
  }
  .step__heading {
    font-size: 36px;
  }
}

/* ---------- STEP 01: store picker ---------- */
/* The pair tracks the map: capped at the map's 555 below 1024, the whole 888 content box from
   1024, the two buttons sharing the row. That gives the design's 145 (at 375) and 436 (at 1366)
   and keeps the row flush with the map in between. */
.shop-tabs {
  display: flex;
  max-width: 555px;
  gap: 7px;
  margin: 16px auto 0;
}
/* current store = solid green, the other = outlined */
.shop-tab {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 2px solid var(--color-main);
  border-radius: 9999px;
  /* the inactive pill has no fill: the gray card shows through */
  background: transparent;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--color-main);
  -webkit-tap-highlight-color: transparent;
}
.shop-tab--active {
  border-color: var(--color-main);
  background: var(--color-main);
  color: #fff;
}
@media (min-width: 1024px) {
  .shop-tabs {
    max-width: 888px;
    gap: 16px;
    margin-top: 32px;
  }
  .shop-tab {
    height: 70px;
    font-size: 20px;
    letter-spacing: 0;
  }
}
@media (hover: hover) {
  .shop-tab:not(.shop-tab--active):hover {
    opacity: 0.6;
  }
}

.shop-map {
  max-width: 555px;
  margin: 24px auto 0;
}
/* The design's stroke is INSIDE the 555x330 / 297x177 box, so the ratio is pinned on the border
   box; left to the intrinsic size, the height would follow the narrower content box. */
.shop-map__img {
  width: 100%;
  aspect-ratio: 37 / 22;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  object-fit: cover;
}
/* the paragraph takes the link's own size and leading: on the inherited 16px body strut the
   line would grow to 29 instead of 28 */
.shop-gmap {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 28px;
}
@media (min-width: 1024px) {
  .shop-map {
    margin-top: 40px;
  }
  .shop-map__img {
    border-radius: 20px;
  }
  .shop-gmap {
    margin-top: 10px;
  }
}

/* green underlined text; hover drops the underline */
.text-link {
  color: var(--color-main);
  text-decoration-line: underline;
  text-underline-position: from-font;
  text-underline-offset: 1px;
  font-weight: 500;
}
@media (hover: hover) {
  .text-link:hover {
    text-decoration: none;
  }
}

/* ---------- STEP 02: class select ---------- */
/* Opens in flow (pushes the page down, no overlay); the chevron flips. */
.class-select {
  max-width: 888px;
  margin: 16px auto 0;
  border-radius: 10px;
  background-color: #fff;
}
.class-select__trigger {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 21px;
  padding-left: 24px;
  text-align: left;
}
.class-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--color-txt);
}
/* The design's chevron is a centre-line with a 2px stroke, so the box is a unit larger on every
   side to hold the stroke; the negative margin puts the centre-line back on the text inset. */
.class-select__chevron {
  flex-shrink: 0;
  margin-right: -1.25px;
  transition-property: transform, translate, scale, rotate;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
.class-select__trigger[aria-expanded='true'] .class-select__chevron {
  rotate: 180deg;
}
.class-select__panel {
  padding-bottom: 20px;
}
/* The design draws this rule as a zero-height line ON the trigger's bottom edge with the first
   heading 16px below it, so the 1px this div occupies comes out of that gap. */
.class-select__rule {
  height: 1px;
  margin-inline: 24px;
  background-color: #f0f0f0;
}
.class-select__groups {
  padding-top: 15px;
}
.class-select__cat {
  padding-inline: 24px;
  font-size: 14px;
  line-height: 28px;
  font-weight: 700;
  color: var(--color-main);
}
.class-select__group + .class-select__group .class-select__cat {
  margin-top: 16px;
}
/* Option row: indented 10px past the category label. The selected row is 3px taller above and
   below and its tint is an inset band, not a full-bleed fill: drawn as a sized background image,
   the button stays full width for the hit area and the tint stays clear of the box's rounded
   corners. Hover only tints — growing the row under the cursor would reflow the list. */
.class-opt {
  --class-opt-tint: color-mix(in srgb, var(--color-main) 10%, transparent);
  display: block;
  width: 100%;
  padding: 0 24px 0 34px;
  text-align: left;
  font-size: 14px;
  line-height: 28px;
  color: var(--color-txt);
  background-repeat: no-repeat;
  background-position: 34px 0;
  background-size: calc(100% - 58px) 100%;
}
.class-opt--active {
  padding: 3px 24px 3px 44px;
  background-image: linear-gradient(var(--class-opt-tint), var(--class-opt-tint));
  color: var(--color-main);
}
@media (min-width: 1024px) {
  .class-select {
    margin-top: 40px;
    border-radius: 8px;
  }
  .class-select__trigger {
    height: 80px;
    padding-inline: 32px;
  }
  .class-select__value {
    font-size: 16px;
    line-height: 24px;
  }
  .class-select__panel {
    padding-bottom: 27px;
  }
  .class-select__rule {
    margin-inline: 32px;
  }
  .class-select__cat {
    padding-inline: 32px;
    font-size: 16px;
    line-height: 32px;
  }
  .class-opt {
    padding: 0 32px 0 42px;
    font-size: 16px;
    line-height: 32px;
    background-position: 42px 0;
    background-size: calc(100% - 74px) 100%;
  }
  .class-opt--active {
    padding: 3px 32px 3px 52px;
  }
}
@media (hover: hover) {
  .class-opt:hover {
    background-image: linear-gradient(var(--class-opt-tint), var(--class-opt-tint));
    color: var(--color-main);
  }
}
/* shown only when the class list cannot be loaded; #e60020 is the red the site's own error
   messages use (contact form fields, its send-failure line) */
.class-select__error {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: #e60020;
}
@media (min-width: 1024px) {
  .class-select__error {
    margin-top: 24px;
    font-size: 16px;
    line-height: 26px;
  }
  /* SP breaks between the two sentences, not inside one; PC holds both on one line */
  .class-select__br {
    display: none;
  }
}

/* ---------- Reserve button (予約する) ---------- */
.submit-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .submit-row {
    margin-top: 40px;
  }
}

/* Common button: pill + label + ▶ in a circle. Hover grows only the circle. */
.cbtn {
  --cbtn-circle-bg: #fff;
  /* the circle grows 30 -> 46 on hover */
  --cbtn-circle-hover: calc(46 / 30);
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 9999px;
  padding: 10px 10px 10px 24px;
  background-color: var(--color-main);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  white-space: nowrap;
  text-decoration-line: none;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 1024px) {
  .cbtn {
    font-size: 16px;
  }
}
.cbtn:disabled {
  opacity: 0.5;
  pointer-events: none;
}
/* high-contrast mode drops the fill, which left the label looking like plain text */
@media (forced-colors: active) {
  .cbtn {
    border: 1px solid ButtonText;
  }
}
/* the label is trimmed to its cap height, so centring it centres the ink, not the leading */
.cbtn__label {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
/* The disc is drawn on ::before, so scaling it on hover leaves the ▶ (a sibling, not a
   descendant) untouched. */
.cbtn__circle {
  position: relative;
  display: flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}
.cbtn__circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--cbtn-circle-bg);
  transition: transform 0.3s ease;
}
/* The svg box is the triangle's frame (7x8 SP, 8x8 PC) and the ink sits inside it. The apex
   touches the viewBox edge, and the default clip is pixel-snapped: at a fractional offset it
   would cut the ink, so overflow is visible. */
.cbtn__arrow {
  position: relative;
  width: 7px;
  height: 8px;
  margin-left: 1px;
  overflow: visible;
  color: var(--color-main);
}
@media (min-width: 1024px) {
  .cbtn__arrow {
    width: 8px;
    margin-left: 0;
  }
}
@media (hover: hover) {
  .cbtn:hover .cbtn__circle::before {
    transform: scale(var(--cbtn-circle-hover));
  }
}

/* the reserve button: 297x70 SP / 444x80 PC — label centred, circle pinned right (30 / 40px) */
.reserve-submit {
  position: relative;
  width: 297px;
  max-width: 100%;
  height: 70px;
  justify-content: center;
  gap: 0;
  padding: 0 40px;
  font-size: 18px;
  letter-spacing: 0.9px;
}
.reserve-submit .cbtn__circle {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
}
@media (min-width: 1024px) {
  .reserve-submit {
    width: 444px;
    height: 80px;
    font-size: 24px;
    letter-spacing: 0;
  }
  .reserve-submit .cbtn__circle {
    width: 40px;
    height: 40px;
  }
  /* the design scales the ▶ with the 40px disc: an 11x11 frame half a pixel off centre, which
     the 1px margins reproduce */
  .reserve-submit .cbtn__arrow {
    width: 11px;
    height: 11px;
    margin: 1px 0 0 1px;
  }
}

/* ---------- Phone booking (お電話) ---------- */
/* the band's gutter is the page gutter, so the white box shares the STEP cards' edges */
.tel-band {
  margin-top: 48px;
  background-color: #f0f0f0;
  padding: 40px var(--page-gutter);
}
.tel-box {
  max-width: 1184px;
  margin-inline: auto;
  border-radius: 10px;
  background-color: #fff;
  padding: 32px 24px;
}
.tel-box__ttl {
  text-align: center;
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  color: var(--color-txt);
}
/* SP: the icon sits in the text line (inline); PC: icon and sentence are flex items 15px apart */
.tel-box__icon {
  display: inline-block;
  width: 27px;
  margin-right: 3px;
  vertical-align: -6px;
}
/* SP: one list, each store's pill above its hours; PC: the two stores side by side */
.tel-list {
  display: flex;
  margin-top: 24px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.tel-shop {
  width: 297px;
  max-width: 100%;
}
.tel-pill {
  width: 100%;
  height: 70px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-main);
  border-radius: 9999px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #373737;
}
/* SP: a tap-to-call link with a green underlined number; PC: plain text, not a dead link */
.tel-pill--sp {
  display: flex;
}
.tel-pill--pc {
  display: none;
}
.tel-pill__num {
  color: var(--color-main);
  text-decoration: underline;
}
/* centred on its own: a pill label that wraps (narrow phones) keeps the start alignment it has
   on the main site */
.tel-shop__hours {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-txt);
}
@media (min-width: 1024px) {
  .tel-band {
    margin-top: 56px;
    padding-block: 80px;
  }
  .tel-box {
    border-radius: 20px;
    padding: 56px 148px;
  }
  .tel-box__ttl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 32px;
    line-height: 44px;
  }
  .tel-box__icon {
    width: 38px;
    margin-right: 0;
    vertical-align: baseline;
  }
  .tel-box__br {
    display: none;
  }
  .tel-list {
    margin-top: 40px;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  /* 436 each, sharing the row equally once the box is narrower than 2 × 436 + 16 */
  .tel-shop {
    width: auto;
    min-width: 0;
    flex: 0 1 436px;
  }
  .tel-pill {
    font-size: 20px;
  }
  .tel-pill--sp {
    display: none;
  }
  .tel-pill--pc {
    display: flex;
  }
  .tel-shop__hours {
    margin-top: 12px;
    font-size: 16px;
    line-height: 26px;
  }
}

/* ---------- Booking inquiry link (照会・変更・取消) ---------- */
/* 16/24 on the paragraph too: on the body strut the line box would be 28.8 */
.inquiry {
  margin-top: 40px;
  padding-inline: 15px;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
}
@media (min-width: 1024px) {
  .inquiry {
    margin-top: 32px;
  }
}

/* ---------- Page-top button (PC only) ---------- */
.ptop {
  position: fixed;
  right: 17px;
  bottom: 20px;
  z-index: 50;
  display: none;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgb(153 153 153 / 0.7);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s,
    transform 0.3s ease;
}
.ptop.is-visible {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    visibility 0s,
    transform 0.3s ease;
}
@media (min-width: 1024px) {
  .ptop {
    display: flex;
  }
}
@media (hover: hover) {
  .ptop:hover {
    transform: scale(1.06);
  }
}
