@charset "UTF-8";
/*
Template: swell
Theme Name: SWELL CHILD card-page
Description: カードの詳細ページの子テーマ
*/

/*---カード詳細ページ---*/
.single-yugioh-card .l-content {
padding-top: 1.6em;
}

#main_content.yugioh-card-detail .post_content,
#main_content.pokeca-card-detail .post_content {
margin-top: 0;
}

.is-visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

.card-detail-head {
font-family: "Oswald", "Noto Sans JP", YuGothic, -apple-system, sans-serif;
text-align: center;
margin-bottom: 1em;
}

.post_content h2.card-detail-name {
background: none;
font-size: clamp(0.95rem, -0.075vw + 1.0176rem, 1rem);
color: #222;
margin: 0;
padding: 0 0 8px;
border-bottom: 3px solid #dec9ff;
}

.pokeca-card-detail h2.card-detail-name {
border-color: #ffe5c9;
}

.card-detail-name ruby {
ruby-align: space-around;
}

.card-detail-sub {
display: flex;
align-items: baseline;
column-gap: 0.5em;
justify-content: center;
margin-top: 4px;
}

.card-detail-number,
.card-detail-expansion {
font-size: 12px;
color: #888;
}

.card-detail-expansion::after {
content: "|";
margin-left: 0.5em;
color: inherit;
}

.card-visual-area {
position: relative;
width: 100%;
max-width: 200px;
margin: 0 auto 1.2em;
}

.card-visual-figure {
width: 100%;
margin: 0;
aspect-ratio: 400 / 589;
position: relative;
overflow: hidden;
}
.card-visual-img {
transition: transform 0.15s ease, opacity 0.15s ease;
will-change: transform;
}

.pokeca-card-detail .card-visual-figure {
aspect-ratio: 400 / 559;
border-radius: .8em;
}

.yugioh-swipe-area,
.pokeca-swipe-area {
display: flex;
flex-direction: column;
cursor: grab;
touch-action: pan-y;
margin-bottom: 20px;
}

.card_head_right {
display: contents;
}

.card-detail-head    { order: 1; }
.card-visual-area    { order: 2; }
.rarity-btn-wrap      { order: 3; }
.card-display-area  { order: 4; }
.card-chart-summary   { order: 5; }

.rarity-btn-wrap {
margin-bottom: 1em;
}

.rarity-btn-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
}

.rarity-btn-row + .rarity-btn-row {
margin-top: 12px;
}

.rarity-btn {
padding: 5px 20px;
border: 1px solid #e7d0ff;
border-radius: 999px;
background: #f4eaff;
font-size: 13px;
color: #611a8c;
font-weight: bold;
cursor: pointer;
transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pokeca-card-detail .rarity-btn {
border-color: #f7d1a9;
background: #fff2e4;
color: #8c4d1a;
}

.rarity-btn.is-active {
background: linear-gradient(-45deg, #aa20cc 0%, #5c13d2 100%);
background-clip: padding-box;
border-color: #aa20cc;
color: #fff;
}

.pokeca-card-detail .rarity-btn.is-active {
background: linear-gradient(-45deg, #f09819 0%, #ff5858 100%);
background-clip: padding-box;
border-color: #f09819;
}

.rarity-btn:disabled {
cursor: default;
}

.card-display-area {
margin-bottom: .6em;
font-size: 12px;
line-height: 1.6;
color: #888;
}

@media (min-width: 960px) {
.single-yugioh-card .l-content {
padding-top: 4em;
}

.yugioh-swipe-area,
.pokeca-swipe-area {
cursor: auto;
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 3em;
}
 
.card-visual-area {
order: 0;
flex: 0 1 40%;
width: 40%;
max-width: 250px;
perspective: 800px;
user-select: none;
}

.card_head_right {
display: flex;
flex-direction: column;
order: 1;
flex: 1;
min-width: 0;
}

.post_content h2.card-detail-name {
padding: 0 0 11px;
}

.card-visual-area > .card-visual-figure {
transform-style: preserve-3d;
transition: transform 0.15s ease-out, filter 0.3s ease;
will-change: transform;
}

.card-visual-area > .card-visual-figure:hover {
filter: drop-shadow(0 12px 20px rgba(222, 186, 255, 0.800));
}

.pokeca-card-detail .card-visual-area > .card-visual-figure:hover {
filter: drop-shadow(0 12px 20px rgba(255, 242, 183, 0.800));
}

.card-visual-area.is-tilting {
position: relative;
z-index: 5;
}

.rarity-btn:hover {
background: #e3caff;
color: #611a8c;
border-color: #e7d0ff;
}

.pokeca-card-detail .rarity-btn:hover {
background: #ffddb8;
color: #8c4d1a;
border-color: #f7d1a9;
}
}

.card-psa-container {
margin-top: 2em;
}

h3.card-psa-title {
font-family: "Oswald", "Noto Sans JP", YuGothic, -apple-system, sans-serif;
font-size: .85em;
text-align: center;
margin-bottom: 0;
padding: .8em .5em;
border: none;
background: #521B83;
color: #fff;
}

.pokeca-card-detail h3.card-psa-title {
background: #752b14;
}

h3.card-psa-title span {
display: block;
}

.card-psa-price th, .card-psa-price td {
font-family: "Oswald", "Noto Sans JP", YuGothic, -apple-system, sans-serif;
text-align: center;
font-size: 0.8em;
}

.card-psa-price th {
font-weight: 400;
}

.card-psa-price td {
font-weight: 600;
}

.card-psa-price tr:first-child td {
color: #ff0230;
}

.card-psa-note {
margin-top: 0.2em;
font-size: 10px;
color: #666;
}

.card-info-item1 {
padding: .5em 0 .3em !important;
border-bottom: 1px solid #dbd4eb;
}

.card-info-list .card-info-item1 > span {
display: inline-block;
margin: 0 .5em .5em 0 !important;
padding: 1px 10px 3px;
color: #fff;
border-radius: 3px;
}

span.yugioh-card-type {
background: #222;
}

span.yugioh-type-detail {
background: #222;
}

.card-info-item2 {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-bottom: 1px solid #dbd4eb;
}

.card-info-list .card-info-item2 > dl,
.card-info-list .card-info-item3 > dl {
margin: 6px 0 !important;
text-align: center;
border-right: 1px solid #dbd4eb;
}

.card-info-list .card-info-item2 > dl {
flex: 1;
}

.card-info-item2 dl:last-child,
.card-info-item3 dl:last-child {
border-right: none;
}

.card-info-item2 > dl > dt,
.card-info-item3 > dl > dt {
font-size: 12px;
}

.card-info-item2 > dl > dd {
display: inline-flex;
align-items: center;
}

.card-info-item3 {
display: grid;
grid-template-columns: repeat(2, 1fr);
border-bottom: 1px solid #dbd4eb;
}

.card-info-item2 .fa-star {
color: #ffb300;
}

.post_content dl.card-info-text {
margin: 1em 0 !important;
}

dl.card-info-text dt {
width: 100% !important;
font-size: 1em !important;
font-weight: 700;
color: #333 !important;
}

dl.card-info-text dd {
width: 100% !important;
font-size: 13px;
}

.card-info-list dl.card-info-text p {
margin-bottom: .6em;
line-height: 1.6;
}

.yugioh-series {
margin-right: 1em;
}

.pendulum-scale {
font-size: 1em;
}

.post_content div.yugioh-promo {
margin: 1rem .5rem 0 0 !important;
display: inline-block;
}

.yugioh-promo a {
display: block;
padding: .36rem .7rem .36rem;
font-size: 11px;
line-height: 1.4;
background: #f4eaff;
color: #611a8c;
border-radius: 100px;
border: 1px solid #e7d0ff;
transition: all 0.15s;
position: relative;
}

.post_content .yugioh-recording {
margin: 1rem .5rem 0 0 !important;
display: inline-block;
}

.post_content .yugioh-recording a {
display: block;
padding: .36rem .7rem .36rem;
font-size: 11px;
line-height: 1.4;
background: #ffebb2;
color: #b3421e;
border-radius: 100px;
border: 1px solid #fdce4a;
transition: all 0.15s;
position: relative;
}

.yugioh-promo a:before,
.yugioh-recording a:before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
content: "\f292";
margin-right: 3px;
}

ul.included-box-list {
padding: 0;
}

.included-box-list li {
list-style: none;
position: relative;
margin-left: 1.75em;
padding: .3em 0;
font-size: 13px;
}

.included-box-list li:before {
content: "";
display: inline-block;
width: 4px;
height: 4px;
border-radius: 50%;
color: #000;
background-color: #000;
position: absolute;
top: 1em;
left: -1em;
transform: translateY(-50%);
}

.card-info-list .included-box-list > li > a {
display: inline-block;
position: relative;
padding: 0 1.25em 0 0;
color: #222;
transition: opacity 0.3s;
background: none;
border: none;
}

.card-info-list .included-box-list > li > a:after {
font-family: "Font Awesome 6 Free";
font-weight: 900;
content: "\f105";
padding-top: 1px;
text-decoration: none !important;
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0px;
}

/* ── 共通アイコン設定 ── */
.yugioh-icon {
display: inline-block;
width: 22px;
height: 22px;
vertical-align: text-top;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
margin-right: 6px;
}

.yugioh-icon-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

[class^="yugioh_attribute_"],
[class*=" yugioh_attribute_"] {
width: 24px;
height: 24px;
margin: 0;
}

/* 属性 */
.yugioh-icon.yugioh_attribute_dark   { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-dark.png'); }
.yugioh-icon.yugioh_attribute_light  { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-light.png'); }
.yugioh-icon.yugioh_attribute_earth  { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-earth.png'); }
.yugioh-icon.yugioh_attribute_water  { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-water.png'); }
.yugioh-icon.yugioh_attribute_fire   { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-fire.png'); }
.yugioh-icon.yugioh_attribute_wind  { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-wind.png'); }
.yugioh-icon.yugioh_attribute_divine { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-divine.png'); }

/* レベル/ランク・リンク・ペンデュラム */
.yugioh-icon.yugioh-icon-level    { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-level.png'); }
.yugioh-icon.yugioh-icon-rank { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-rank.png'); }
.yugioh-icon.yugioh-icon-link     { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-link.png'); }
.yugioh-icon.yugioh-icon-pendulum { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-pendulum.png'); }

/* 魔法効果 */
.yugioh-icon.yugioh_magic_equip      { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-equip.png'); }
.yugioh-icon.yugioh_magic_field      { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-field.png'); }
.yugioh-icon.yugioh_magic_quickplay  { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-quickplay.png'); }
.yugioh-icon.yugioh_magic_ritual     { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-ritual.png'); }
.yugioh-icon.yugioh_magic_continuous { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-continuous.png'); }

/* 罠効果 */
.yugioh-icon.yugioh_trap_continuous  { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-continuous.png'); }
.yugioh-icon.yugioh_trap_counter     { background-image: url('//cardstack.jp/wp-content/uploads/2026/06/icon-yugioh-counter.png'); }

/* yugioh-card-type（カード種類） */
.yugioh-card-type.yugioh_cardtype_monster { background-color: #222;}
.yugioh-card-type.yugioh_cardtype_magic   { background-color: #1d817d;}
.yugioh-card-type.yugioh_cardtype_trap    { background-color: #ad1885;}
.yugioh-card-type.yugioh_cardtype_token   { background-color: #6b6b6b;}
.yugioh-card-type.yugioh_cardtype_none    { background-color: #222;}

/* yugioh-type-detail（モンスター種別） */
.yugioh-type-detail.yugioh_monstertype_normal { background-color: #e9cf6c; color: #222 !important; } /* 黄 */
.yugioh-type-detail.yugioh_monstertype_effects { background-color: #c76905;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_ritual { background-color: #2b71bd;} /* 青 */
.yugioh-type-detail.yugioh_monstertype_fusion { background-color: #7528a3;} /* 紫 */
.yugioh-type-detail.yugioh_monstertype_synchro { background-color: #dddddd; color: #222 !important; } /* 白 */
.yugioh-type-detail.yugioh_monstertype_xyz { background-color: #222;} /* 黒 */
.yugioh-type-detail.yugioh_monstertype_toon { background-color: #e65100;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_spirit { background-color: #c76905;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_union { background-color: #c76905;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_gemini { background-color: #c76905;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_tuner { background-color: #c76905;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_flip { background-color: #c76905;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_pendulum { background-color: #2e7d32;} /* 緑 */
.yugioh-type-detail.yugioh_monstertype_special { background-color: #c76905;} /* 橙 */
.yugioh-type-detail.yugioh_monstertype_link { background-color: #1a237e;} /* 紺 */

@media (min-width: 960px) {
.post_content .yugioh-recording a:hover {
background: #fdce4a;
}

.card-info-list .included-box-list > li > a:hover {
background: none;
text-decoration: underline;
opacity: .6;
}
}

/* ポケモン・カード情報 */
.card-info-list dd {
flex: 1;
min-width: 0;
overflow-wrap: break-word;
}

.pokeca-card-basic-info {
display: flex;
place-items: center;
margin-top: .5em;
}

.pokeca-evolution {
display: block;
margin: 0 1em 0 0;
padding: 1px 1em 3px;
background: #222;
font-size: 13px;
color: #fff;
border-radius: 3px;
}

.pokeca-hp {
margin: 0 .5em 0 0;
font-size: 1.1em;
font-weight: 700;
}

.pokeca-type-label {
margin-right: 4px;
}

.pokeca-ability,
.pokeca-addtext {
margin: 1em 0 0 !important;
}

.pokeca-ability-label,
.pokeca-trainers-type,
.pokeca-energy-type,
.pokeca-addtext-type {
font-size: 1.1em;
font-weight: 700;
}

.pokeca-ability-name,
.pokeca-addtext-name,
.pokeca-attack-name,
.pokeca-attack-title,
.pokeca-ability-title {
font-size: 1em;
font-weight: 700;
}

.pokeca-trainers-type {
margin-right: 1em;
}

.card-info-list > .list-row .pokeca-trainers-text,
.card-info-list > .list-row .pokeca-ability-text,
.card-info-list > .list-row .pokeca-energy-text {
margin-bottom: 1em !important;
font-family: "Noto Sans JP", YuGothic, -apple-system, sans-serif;
}

.pokeca-attack-text,
.pokeca-special-rules,
.pokeca-addtext-text {
font-family: "Noto Sans JP", YuGothic, -apple-system, sans-serif;
}

.pokeca-card-info-title {
margin: 1em 0 0 !important;
font-size: 1.1em;
font-weight: 700;
}

.pokeca-attack-detail {
margin-top: .5em;
}

.pokeca-attack-damage {
font-size: 1.1em;
font-weight: 700;
margin: 0 0 0 8px;
}

.pokeca-promo {
display: inline-block;
margin: 1rem .5rem 0 0 !important;
}

.pokeca-promo a {
display: block;
padding: .36rem .7rem .36rem;
font-size: 11px;
line-height: 1.4;
background: #fff2e4;
color: #8c4d1a;
border-radius: 3px;
border-radius: 100px;
border: 1px solid #f7d1a9;
transition: all 0.15s;
position: relative;
}

.pokeca-promo a::before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
content: "\f292";
margin-right: 3px;
}

.card-info-list .supplement {
font-size: 12px;
}

.pokeca-card-footer {
display: grid;
grid-template-columns: repeat(3, 1fr);
border-top: 1px solid #ebe2d4;
margin: 1em 0 0 !important;
}

.post_content .pokeca-card-footer .pokeca-weakness, .pokeca-resistance,  .pokeca-retreat {
margin: 6px 0 2px !important;
text-align: center;
}

.pokeca-weakness, .pokeca-resistance {
border-right: 1px solid #ebe2d4;
}

.pokeca-card-footer dt { font-size: 12px; }

.pokeca-weakness > dd,
.pokeca-resistance > dd {
font-family: "Noto Sans JP", YuGothic, -apple-system, sans-serif;
}

.pokeca-icon-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

.pokeca-energy-icon {
content: "";
display: inline-block;
width: 20px;
height: 20px;
border-radius: 50%;
margin: 0 5px 0 0;
vertical-align: sub;
}

.pokeca_icon_grass {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-grass.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_fire {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-fire.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_water {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-water.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_electric {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-electric.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_psychic {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-psychic.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_fighting {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-fighting.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_dark {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-dark.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_steel {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-steel.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_dragon {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-dragon.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_fairy {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-fairy.png);
background-repeat: no-repeat;
background-size: cover;
}
.pokeca_icon_colorless {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-none.png);
background-repeat: no-repeat;
background-size: cover;
}

.pokeca_icon_none {
background-image: url(//cardstack.jp/wp-content/uploads/2026/06/icon-void.png);
background-repeat: no-repeat;
background-size: cover;
}

@media (min-width: 960px) {
.yugioh-promo a:hover {
background: #e3caff;
}

.pokeca-promo a:hover {
background: #ffddb8;
}
}

/* 現在の在庫と価格をチェック */

ul.card-shoping-list {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0.30rem;
list-style: none;
padding: 0;
}

li.card-shoping-item {
margin: 0;
border: 1px solid #000000;
border-radius: 8px;
overflow: hidden;
box-shadow: 2px 4px 8px #0000003d;
}

.card-shoping-item a {
display: flex;
text-align: center;
justify-content: center;
align-items: center;
color: #333;
justify-content: normal;
flex-flow: column;
}

.card-shoping-item img {
width: 70%;
padding: 5px 0;
}

.card-shoping-item span {
display: block;
width: 100%;
padding: 7px 0;
font-size: .60em;
line-height: 1.0;
background: #000;
color: #fff;
}

li.card-shoping-item.mercari {
border-color: #ff0020;
}

li.card-shoping-item.mercari span {
background-color: #ff0020;
}

li.card-shoping-item.rakuten {
border-color: #bf0000;
}

li.card-shoping-item.rakuten span {
background-color: #bf0000;
}

li.card-shoping-item.amazon {
border-color: #ff8d00;
}

li.card-shoping-item.amazon span {
background-color: #ff8d00;
}

li.card-shoping-item.cardrush {
border-color: #eb4e1f;
}

li.card-shoping-item.cardrush span {
background-color: #eb4e1f;
}

li.card-shoping-item.yuyutei {
border-color: #006aa3;
}

li.card-shoping-item.yuyutei span {
background-color: #006aa3;
}

/*[PC]現在の在庫と価格をチェック*/
@media (min-width: 600px) {

ul.card-shoping-list {
gap: 0.80rem;
}

li.card-shoping-item {
position: relative;
top: 0;
}

li.card-shoping-item:hover {
top:-10px;
transition:0.3s;
box-shadow: 0 3px 10px rgba(0, 0, 0, .3), 0 6px 6px -6px rgba(0, 0, 0, .3);
}

.card-shoping-item img {
width: 40%;
padding: 6px 0;
}

.card-shoping-item span {
font-size: .80em;
}

}

.card-chart-summary .summary-item.price span.chart-updated {
display: block !important;
margin: 8px 0 0 !important;
font-size: 11px !important;
font-weight: 400 !important;
color: #999 !important;
}

/*---SNSメニュー---*/
.p-fixBtnWrap {
bottom: 80px;
right: 10px;
}

body.cs-share-sheet-open .p-fixBtnWrap {
display: none !important;
}

.cs-share-row--desktop {
display: none;
}

.card-detail-head { 
position: relative;
}

.cs-share-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
padding: 0;
border: none;
background: none;
cursor: pointer;
border-radius: 6px;
color: #999;
}

.cs-share-btn svg {
width: 16px;
height: 16px;
}

.cs-share-btn.is-copied { color: #06C755; }

.cs-share-fab {
display: flex;
position: fixed;
right: 10px;
bottom: calc(var(--cs-bottom-stack-h, 52px) + 10px);
z-index: 998;
width: 52px;
height: 52px;
padding: 0;
border-radius: 50%;
background: #222;
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
align-items: center;
justify-content: center;
color: #fff;
font-size: 20px;
cursor: pointer;
opacity: .92;
transition: opacity .25s, bottom .3s ease;
}

.cs-share-fab:active { opacity: 1; }

.cs-share-fab svg {
width: 22px;
height: 22px;
}

.cs-share-fab.is-hidden { display: none !important; }

.cs-share-sheet-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 99999;
opacity: 0;
visibility: hidden;
transition: opacity 0.25s ease;
-webkit-backdrop-filter: blur(6px);
backdrop-filter: blur(6px);
}

.cs-share-sheet-overlay.is-open { 
opacity: 1;
visibility: visible;
}

.cs-share-sheet { 
position: fixed;
left: 0;
right: 0;
bottom: 0;
min-height: 20vh;
background: rgb(20 20 24 / 70%);
border-radius: 20px 20px 0 0;
border-top: 1px solid rgba(255, 255, 255, 0.25);
padding: 10px 20px calc(32px + env(safe-area-inset-bottom));
transform: translateY(100%);
transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1); 
}

.cs-share-sheet-overlay.is-open .cs-share-sheet {
transform: translateY(0);
}

.cs-share-sheet-handle {
width: 40px;
height: 4px;
background: rgb(0 0 0 / 34%);
border-radius: 2px;
margin: 0 auto 16px;
}

.cs-share-sheet-close { 
position: absolute;
top: 14px;
right: 16px;
width: 32px;
height: 32px;
border-radius: 50%;
background: rgba(255,255,255,0.1);
border: none;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
cursor: pointer;
}

.cs-share-sheet-close svg {
width: 16px;
height: 16px;
}

.cs-share-sheet-title {
font-size: 1.2rem;
font-weight: 700;
max-width: 600px;
margin: 0 auto 1rem;
color: #fff;
}

.cs-share-sheet-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px 10px;
max-width: 600px;
margin: auto;
}

.cs-share-sheet-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
background: none;
border: none;
color: #fff;
padding: 0;
width: 100%;
height: auto; 
}

.cs-share-sheet-icon {
width: 56px;
height: 56px;
border-radius: 50%;
background: rgba(255,255,255,0.1);
display: flex;
align-items: center;
justify-content: center;
transition: background 0.15s ease, transform 0.15s ease; 
}

.cs-share-sheet-icon svg {
width: 24px; 
height: 24px;
color: #fff;
}

.cs-share-sheet-item[data-share="x"] .cs-share-sheet-icon {
background: #222;
}

.cs-share-sheet-item[data-share="copy"] .cs-share-sheet-icon {
background: #7c00ff;
}

.cs-share-sheet-item[data-share="image"] .cs-share-sheet-icon {
background: #ffaa00;
}

.cs-share-sheet-item[data-share="x"] .cs-share-sheet-icon img {
width: 50%;
}

.cs-share-sheet-icon i {
font-size: 20px;
}

.cs-share-sheet-item:active .cs-share-sheet-icon {
background: rgba(255,255,255,0.2);
transform: scale(0.95);
}

.cs-share-sheet-label {
font-size: 12px;
}

.cs-share-image-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}

.cs-share-back-btn {
background: rgba(255,255,255,0.1);
border: none;
width: 32px;
height: 32px;
border-radius: 50%;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
cursor: pointer;
}

.cs-share-back-btn svg {
width: 16px;
height: 16px;
}

.cs-share-image-preview-wrap {
display: flex;
justify-content: center;
margin-bottom: 20px;
}

.cs-share-preview-img {
max-width: 100%;
max-height: 220px;
border-radius: 10px;
}

.cs-share-orient-row {
display: flex;
justify-content: center;
gap: 8px;
margin-bottom: 20px;
flex-wrap: wrap;
}

.cs-share-orient-btn {
width: 46%;
max-width: 160px;
height: 38px;
padding: 0.3rem;
background: rgba(255,255,255,0.1);
color: #fff;
border: none;
border-radius: 999px;
font-size: 12px;
cursor: pointer;
}

.cs-share-orient-btn.is-active {
background: #fff;
color: #000;
}

.cs-share-download-btn {
width: 100%;
max-width: 330px;
height: 42px;
margin: auto;
padding: 0.6rem;
background: #fff;
color: #000;
border: none;
border-radius: 10px;
font-size: 14px;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
gap: 8px; cursor: pointer;
}

.cs-share-download-btn svg {
width: 18px;
height: 18px;
}

.cs-toast {
position: fixed;
left: 50%;
bottom: 30px;
transform: translateX(-50%) translateY(20px);
background: rgb(20 20 24 / 70%);
color: #fff; 
padding: 10px 20px;
border-radius: 999px;
font-size: 13px;
z-index: 999999;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease, transform 0.25s ease;
white-space: nowrap;
}

.cs-toast.is-show {
opacity: 1;
transform: translateX(-50%) translateY(0);
}

/*遊戯王・SNSメニュー*/
.card-detail-number-row {
position: relative;
}

.cs-share-row--mobile {
display: none;
justify-content: center;
gap: 20px;
margin-top: 14px;
}

/*---【PC】SNSメニュー：画面左に固定して追尾表示---*/
@media (min-width: 960px) {
.p-fixBtnWrap {
bottom: 2.5em;
right: 2.5em;
}

.cs-share-row--desktop {
position: fixed;
top: 220px;
left: 5px;
z-index: 100;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}

.cs-share-row--desktop .cs-share-btn {
width: 36px;
height: 36px;
background-image: linear-gradient(130deg, #29323c 0%, #485563 100%);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
color: #fff;
transition: transform 0.15s ease, background 0.15s ease;
}

.cs-share-row--desktop .cs-share-btn:hover {
transform: scale(1.08);
}

.cs-share-row--desktop .cs-share-btn[data-share="x"] {
background: #222;
}

.cs-share-row--desktop .cs-share-btn[data-share="line"] {
background: #4cc764;
}

.cs-share-row--desktop .cs-share-btn[data-share="x"] img {
width: 20px;
height: 20px;
object-fit: contain;
}

.cs-share-row--desktop .cs-share-btn[data-share="copy"] {
background: #7c00ff;
}

.cs-share-row--desktop .cs-share-btn[data-share="image"] {
background: #ffaa00;
}

.cs-share-row--desktop .cs-share-btn i {
font-size: 18px;
}

.cs-share-row--desktop .cs-share-btn.is-copied { color: #06C755; }

.cs-share-fab {
display: none;
}
}

@media (min-width: 1200px) {
.cs-share-row--desktop {
left: 1%;
}

.cs-share-row--desktop .cs-share-btn {
width: 42px;
height: 42px;
}

}

/*---関連カード---*/
.cs-related-cards-wrap h3.top_contents_title { margin-bottom: 1em; border-color: #f09819; }
.yugioh-card-detail .cs-related-cards-wrap h3.top_contents_title { border-color: #a33dff; }

.cs-related-cards-wrap .cardBox-included-item {
margin: 0;
min-width: 0;
text-align: center;
}

.cs-related-cards-wrap .cardBox-included-item a {
display: flex;
flex-flow: column;
height: 100%;
padding: 10px;
color: #000;
background: #fff;
border: 1px solid #0000001c;
border-radius: 8px;
box-shadow: 2px 4px 8px #0000001f;
justify-content: space-between; gap: .40em;
}

.cs-related-cards-wrap .cardBox-included-item .card-img {
width: 100%;
max-width: 143px;
margin: 0 auto;
background: #fff;
border-radius: 10px;
aspect-ratio: 400 / 559;
overflow: hidden;
position: relative;
}

.cs-related-cards-wrap .cardBox-included-item img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}

.cs-weekly-picks-slider img,
.cs-weekly-picks-slider a {
-webkit-user-drag: none;
-webkit-touch-callout: none;
}

.cs-related-cards-wrap .cardBox-included-item .card-info {
font-family: "Oswald", "Noto Sans JP", YuGothic, -apple-system, sans-serif;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
grid-template-rows: auto auto auto auto;
height: auto;
min-width: 0;
flex: 1;
}

.cs-related-cards-wrap .cardBox-included-item .card-meta {
font-size: 11px;
color: #888;
margin-bottom: 2px;
grid-column: 1 / -1;
grid-row: 1;
}

.cs-related-cards-wrap .cardBox-included-item .card-title {
font-size: .75em;
font-weight: bold;
line-height: 1.2;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
display: -webkit-box;
overflow: hidden;
margin-bottom: 2px;
grid-column: 1 / -1;
grid-row: 2;
}

.cs-related-cards-wrap .cardBox-included-item .card-sub-label {
margin-bottom: 10px;
font-size: 10px;
color: #999;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
display: -webkit-box;
overflow: hidden;
grid-column: 1 / -1;
grid-row: 3;
}

.cs-related-cards-wrap .cardBox-included-item .card-price {
font-size: 10px;
margin-top: auto;
display: flex;
align-items: baseline;
flex-direction: column;
color: #888;
grid-column: 1;
grid-row: 4;
align-self: end;
}

.cs-related-cards-wrap .cardBox-included-item .card-price span { 
font-size: 1.6em;
font-weight: bold;
color: #222;
}

.cs-related-cards-wrap .cardBox-included-item .card-diff {
display: flex;
align-items: center;
justify-content: center;
grid-column: 2; grid-row: 4;
justify-self: end;
align-self: end;
font-size: 11px;
padding: 2px 6px;
}

.cs-related-cards-wrap .cardBox-included-item .card-diff span {
font-weight: 600;
position: relative;
}

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-flat { color: #999; }

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-up { background: #ffe6f8; }

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-up span {
color: #ff0230;
padding-left: 14px;
}

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-up span:before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
content: "\f0d8";
font-size: 18px;
position: absolute;
top: -3px; left: 0;
}
    
.cs-related-cards-wrap .cardBox-included-item .card-diff.is-down { background: #e2f1ff; }

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-down span { 
color: #1402ff; 
padding-left: 14px; 
}

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-down span:before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
content: "\f0d7";
font-size: 18px;
position: absolute;
top: -6px; left: 0;
}

.cs-related-cards-wrap .cs-related-placeholder {
color: #999;
font-size: 13px;
padding: 20px 0; 
text-align: center;
}

.cs-related-cards-wrap .weeklyPicks-rank { display: none;}

.cs-related-cards-wrap .cs-related-tabs {
margin-bottom: 16px; 
display: flex; 
gap: 8px;
}

.cs-related-cards-wrap .cs-related-panel { margin-top: 4px; }

.cs-related-cards-wrap .cs-tab-btn {
border: 1px solid #f7d1a9;
background: #fff2e4;
color: #8c4d1a;
border-radius: 999px;
padding: 5px 20px;
font-size: 13px;
font-weight: bold;
cursor: pointer;
transition: all .2s;
}

.cs-related-cards-wrap .cs-tab-btn.is-active {
background: linear-gradient(-45deg, #f09819 0%, #ff5858 100%);
background-clip: padding-box;
border-color: #f09819;
color: #fff;
}

.yugioh-card-detail .cs-related-cards-wrap .cs-tab-btn {
border-color: #e7d0ff;
background: #f4eaff;
color: #611a8c;
}

.yugioh-card-detail .cs-related-cards-wrap .cs-tab-btn.is-active {
background: linear-gradient(-45deg, #aa20cc 0%, #5c13d2 100%);
border-color: #aa20cc;
color: #fff;
}

/*---【PC】関連カード---*/
@media (min-width: 960px) {
.cs-related-cards-wrap .cardBox-included-item .card-meta {
font-size: 10px;
}

.cs-related-cards-wrap .cardBox-included-item .card-title {
font-size: .70em;
}

.cs-related-cards-wrap .cardBox-included-item .card-price {
font-size: .55em;
}

.cs-related-cards-wrap .cardBox-included-item .card-price span {
font-size: .9rem;
}

.cs-related-cards-wrap .cardBox-included-item .card-diff {
font-size: .6rem;
padding: .1rem .16rem;
}

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-down span,
.cs-related-cards-wrap .cardBox-included-item .card-diff.is-up span {
padding-left: 10px;
}

.cs-related-cards-wrap .cardBox-included-item .card-diff.is-down span:before,
.cs-related-cards-wrap .cardBox-included-item .card-diff.is-up span:before {
font-size: 12px;
top: -1px;
}

}