/* TabiJapan · tabijapan.com */
#tj .cx {
  background:radial-gradient(circle at 15% 20%,rgba(255,61,129,.14),transparent 45%),radial-gradient(circle at 85% 70%,rgba(224,65,43,.14),transparent 45%)
}

#tj .cx-g {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}

#tj .cx-c {
  display:flex;
  flex-direction:column;
  border-radius:24px;
  overflow:hidden;
  background:#140d1f;
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none;
  color:var(--tx);
  transition:transform .3s,box-shadow .3s,border-color .3s
}

#tj .cx-c:hover {
  transform:translateY(-6px)
}

#tj .cx-pk:hover {
  border-color:#ff3d81;
  box-shadow:0 20px 60px -18px rgba(255,61,129,.7)
}

#tj .cx-tm:hover {
  border-color:#e0412b;
  box-shadow:0 20px 60px -18px rgba(224,65,43,.7)
}

#tj .cx-ek:hover {
  border-color:#2fd27c;
  box-shadow:0 20px 60px -18px rgba(47,210,124,.6)
}

#tj .cx-v {
  height:250px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden
}

#tj .cx-pk .cx-v {
  background:linear-gradient(135deg,#2a0d25,#120a1d 70%)
}

#tj .cx-tm .cx-v {
  background:linear-gradient(135deg,#2a120c,#120a14 70%)
}

#tj .cx-ek .cx-v {
  background:linear-gradient(135deg,#0d2a1c,#0f0a16 70%)
}

#tj .cx-kip {
  width:min(300px,80%);
  aspect-ratio:1.9;
  position:relative;
  border-radius:10px;
  background:repeating-linear-gradient(135deg,rgba(11,138,74,.08) 0 6px,transparent 6px 12px),#e9efd8;
  color:#1d2a1f;
  padding:14px 16px;
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  border-bottom:6px solid #2b2b2b;
  transform:rotate(-3deg);
  transition:transform .4s;
  display:flex;
  flex-direction:column;
  justify-content:space-between
}

#tj .cx-c:hover .cx-kip {
  transform:rotate(0) scale(1.04)
}

#tj .cx-kip:before,#tj .cx-kip:after {
  content:"";
  position:absolute;
  top:44%;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#0f0b16
}

#tj .cx-kip:before {
  left:-8px
}

#tj .cx-kip:after {
  right:-8px
}

#tj .cx-kip .t {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  border-bottom:1px dashed #8fa088;
  padding-bottom:6px
}

#tj .cx-kip .t b {
  font-family:'Shippori Mincho B1',serif;
  font-size:1.05rem
}

#tj .cx-kip .t small {
  font-size:.7rem;
  color:#4b5a4c
}

#tj .cx-kip .m {
  font-family:'DotGothic16',monospace;
  font-size:.78rem;
  color:#33402f;
  line-height:1.3
}

#tj .cx-kip .m strong {
  display:block;
  font-weight:400;
  font-size:1.9rem;
  color:#1d2a1f
}

#tj .cx-kip em {
  position:absolute;
  right:16px;
  bottom:12px;
  width:62px;
  height:62px;
  border-radius:50%;
  border:3px double #d7263d;
  color:#d7263d;
  display:grid;
  place-items:center;
  font-style:normal;
  font-family:'Yuji Boku','Shippori Mincho B1',serif;
  font-size:1.7rem;
  transform:rotate(-12deg)
}

#tj .cx-pass {
  width:min(330px,82%);
  aspect-ratio:1.6;
  border-radius:16px;
  background:linear-gradient(135deg,#ff3d81,#b0124e 60%,#6d0a35);
  box-shadow:0 18px 40px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.25);
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transform:rotate(-4deg);
  transition:transform .4s;
  position:relative;
  overflow:hidden
}

#tj .cx-pass:after {
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width:160px;
  height:160px;
  border-radius:50%;
  border:18px solid rgba(255,255,255,.12)
}

#tj .cx-c:hover .cx-pass {
  transform:rotate(0) scale(1.04)
}

#tj .cx-pass .t {
  display:flex;
  justify-content:space-between;
  font-family:'DotGothic16',monospace;
  font-size:.78rem;
  letter-spacing:.12em;
  color:#fff
}

#tj .cx-pass .m {
  display:flex;
  gap:12px;
  align-items:center
}

#tj .cx-pass .m i {
  font-style:normal;
  width:54px;
  height:54px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.25);
  border:2px solid rgba(255,255,255,.5);
  font-family:'Shippori Mincho B1',serif;
  font-size:1.8rem;
  color:#ffe066
}

#tj .cx-pass .m div {
  flex:1;
  font-family:'DotGothic16',monospace;
  font-size:.72rem;
  color:#fff;
  line-height:1.7
}

#tj .cx-pass .m s {
  display:block;
  height:6px;
  border-radius:6px;
  background:rgba(0,0,0,.3);
  overflow:hidden;
  text-decoration:none;
  margin-top:2px
}

#tj .cx-pass .m s:after {
  content:"";
  display:block;
  height:100%;
  width:var(--w);
  background:#ffe066
}

#tj .cx-pass .r {
  display:flex;
  gap:5px
}

#tj .cx-pass .r span {
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:.58rem;
  white-space:nowrap;
  color:#fff;
  border:1.5px solid rgba(255,255,255,.55);
  font-family:'Shippori Mincho B1',serif
}

#tj .cx-pass .r span:first-child {
  background:#ffe066;
  color:#6d0a35;
  border-color:#ffe066
}

#tj .cx-ema {
  width:min(230px,62%);
  aspect-ratio:1.25;
  position:relative;
  transform:rotate(3deg);
  transition:transform .4s
}

#tj .cx-c:hover .cx-ema {
  transform:rotate(0) scale(1.04)
}

#tj .cx-ema:before {
  content:"";
  position:absolute;
  left:50%;
  top:-24px;
  width:38%;
  height:30px;
  transform:translateX(-50%);
  border:3px solid #d84a3a;
  border-bottom:0;
  border-radius:50% 50% 0 0/100% 100% 0 0
}

#tj .cx-ema div {
  position:absolute;
  inset:0;
  background:linear-gradient(170deg,#e2c08f,#c99b5f);
  clip-path:polygon(50% 0,100% 18%,100% 100%,0 100%,0 18%);
  box-shadow:inset 0 0 0 2px rgba(0,0,0,.1);
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  padding:34px 22px 14px;
  gap:10px
}

#tj .cx-ema b {
  font-family:'Yuji Boku','Shippori Mincho B1',serif;
  font-size:2.5rem;
  color:#1b1410;
  line-height:1;
  writing-mode:vertical-rl;
  white-space:nowrap;
  justify-self:center
}

#tj .cx-ema em {
  font-style:normal;
  width:74px;
  height:74px;
  border-radius:50%;
  border:4px solid #c8102e;
  color:#c8102e;
  display:grid;
  place-items:center;
  font-family:'Yuji Boku','Shippori Mincho B1',serif;
  font-size:2.2rem;
  transform:rotate(-12deg);
  opacity:.9;
  background:rgba(200,16,46,.06)
}

#tj .cx-t {
  padding:26px 28px 28px;
  display:flex;
  flex-direction:column;
  flex:1
}

#tj .cx-t h3 {
  font-family:'Shippori Mincho B1',serif;
  font-size:1.9rem;
  line-height:1.1;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px
}

#tj .cx-t h3 i {
  font-style:normal;
  font-size:1.6rem;
  width:46px;
  height:46px;
  border-radius:10px;
  display:grid;
  place-items:center;
  flex:none
}

#tj .cx-pk h3 i {
  color:#ff3d81;
  border:2px solid #ff3d81;
  box-shadow:0 0 14px rgba(255,61,129,.6)
}

#tj .cx-tm h3 i {
  color:#e0412b;
  border:2px solid #e0412b;
  box-shadow:0 0 14px rgba(224,65,43,.6)
}

#tj .cx-ek h3 i {
  color:#2fd27c;
  border:2px solid #2fd27c;
  box-shadow:0 0 14px rgba(47,210,124,.55)
}

#tj .cx-t p {
  color:#cfc6e2;
  font-size:.98rem;
  margin-bottom:18px
}

#tj .cx-n {
  display:flex;
  gap:22px;
  list-style:none;
  margin:0 0 22px;
  padding:0
}

#tj .cx-n li {
  display:flex;
  flex-direction:column;
  font-size:.78rem;
  color:var(--mut);
  text-transform:uppercase;
  letter-spacing:.06em
}

#tj .cx-n b {
  font-size:1.6rem;
  color:#fff;
  letter-spacing:0;
  font-variant-numeric:tabular-nums
}

#tj .cx-b {
  margin-top:auto;
  align-self:flex-start;
  padding:12px 24px;
  border-radius:999px;
  font-weight:900;
  font-size:.88rem;
  letter-spacing:.04em;
  color:#fff
}

#tj .cx-pk .cx-b {
  background:#ff3d81;
  box-shadow:0 0 24px rgba(255,61,129,.5)
}

#tj .cx-tm .cx-b {
  background:#e0412b;
  box-shadow:0 0 24px rgba(224,65,43,.5)
}

#tj .cx-ek .cx-b {
  background:#0b8a4a;
  box-shadow:0 0 24px rgba(47,210,124,.45)
}

#tj .cx-acc {
  margin-top:26px;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  background:rgba(255,255,255,.04);
  border:1px dashed rgba(255,255,255,.2);
  border-radius:18px;
  padding:16px 20px;
  color:#e6def2
}

#tj .cx-acc>span {
  width:40px;
  height:40px;
  flex:none;
  display:grid;
  place-items:center;
  border:2px solid #BC002D;
  border-radius:8px;
  color:#ff4d6d;
  font-family:'Shippori Mincho B1',serif;
  font-weight:800;
  font-size:1.2rem;
  transform:rotate(-6deg);
  box-shadow:0 0 12px rgba(188,0,45,.6)
}

#tj .cx-acc p {
  flex:1;
  min-width:220px;
  margin:0;
  font-size:.95rem
}

#tj .cx-acc a {
  color:#fff;
  border:2px solid #27e1ff;
  border-radius:999px;
  padding:9px 18px;
  font-weight:800;
  font-size:.85rem;
  text-decoration:none;
  white-space:nowrap
}

#tj .cx-acc a:hover {
  background:#27e1ff;
  color:#0a0710
}

@media(max-width:1080px) {
  #tj .cx-g {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)
  }
  #tj .cx-ek {
    grid-column:1/-1;
    flex-direction:row
  }
  #tj .cx-ek .cx-v {
    flex:0 0 44%;
    height:auto;
    min-height:250px
  }
}

@media(max-width:820px) {
  #tj .cx-g {
    grid-template-columns:minmax(0,1fr)
  }
  #tj .cx-v {
    height:210px
  }
  #tj .cx-t {
    padding:22px 22px 24px
  }
  #tj .cx-t h3 {
    font-size:1.6rem
  }
  #tj .cx-ek {
    flex-direction:column
  }
  #tj .cx-ek .cx-v {
    flex:none;
    height:210px;
    min-height:0
  }
}

#tj #tj-colec .st b {
  font-size:clamp(1.15rem,4.8vw,1.6rem);
  white-space:nowrap
}

@media(prefers-reduced-motion:reduce) {
  #tj .cx-c,#tj .cx-pass,#tj .cx-ema,#tj .cx-kip {
    transition:none
  }
}
