@charset "utf-8";


/* スマホ向けCSS 600px以下 */

.wrapper p {
  text-indent: 1rem;
  margin-bottom: 1.3rem;
}

.wrapper .pack {
  text-indent: 0;
}

.wrapper .indt {
  text-indent: -1rem;
  padding-left: 1rem;
}

.author {
  font-size: .9rem;
}

.focus01 {
  font-weight: bold;
  color: #ff0000;
}

.focus02 {
  font-weight: bold;
  color: #0acff1;
}

.wrapper_s {
  padding: 0 3%;
}

.wrapper .indt57 {
  text-indent: -5.7rem;
  padding-left: 5.7rem;
}

.unit {
  margin-bottom: 1.3rem;
}

.unit p {
  margin-bottom: 0;
}

.side-by {
  margin-bottom: 1.3rem;
}

.side-by img {
  width: 15rem;
  border: 1px solid #b7a077;
}

.side-by figure {
  text-align: center;
  margin: 0 0 1.3rem;
}

.item p {
  font-size: 1.1rem;
  font-weight: bold;
  text-indent: 0;
  margin-bottom: .3rem;
}

.side-by ul {
  padding-left: 1rem;
  list-style: none;
}

.side-by ul li {
  font-weight: bold;
}

.box p {
  font-size: 1.1rem;
  font-weight: bold;
  text-indent: 0;
  margin-bottom: 0;
}

.box .sp {
  font-size: .8rem;
  margin-bottom: .3rem;
  font-weight: normal;
}

.expan {
  font-size: 1rem;
  font-weight: bold;
  color: #1dc42b;
}

.b-ground {
  background: #444444;
  padding: .5rem;
}

/* =========================
   NEWボタン
========================= */
.new-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 10px;
  font-weight: bold;
  color: #ffffff;
  background: #ff0033;
  padding: 3px 5px 1px;
  border-radius: 6px;
  z-index: 20;
}

/* =========================
   iボタン
========================= */
.info-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  /* border: none; */
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

/* =========================
   タブ
========================= */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.tabs button {
  flex: 1;
  font-weight: bold;
  color: #ffffff;
  background: #000000;
  padding: 12px 10px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: 0.3s;
}

.tabs button:hover {
  background: #666666;
}

.tabs button.active {
  color: #000000;
  background: #ffbc3f;
}

/* 無効タブ */
.tabs button:disabled {
  opacity: 0.4;
  cursor: default;
  color: #999999;
  background: #555555;
}

/* =========================
   ギャラリー
========================= */
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

/* =========================
   カード
========================= */
.card {
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
  /* overflow-wrap: anywhere; */
  background: #333333;
  border: 1px solid #ffffff;
  border-radius: 14px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.55);
}

/* =========================
   画像
========================= */
.card img {
  display: block;
  width: 100%;
  transition: 0.3s;
}

/* =========================
   説明
========================= */
.tooltip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 0.8rem;
  color: #ffffff;
  padding: 9px;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

/* =========================
   スマホ説明表示
========================= */
.card.active .tooltip {
  opacity: 1;
  visibility: visible;
}

.outro p {
  text-indent: 0;
}

.return {
  text-align: right;
}


/* タブレット向けCSS 501px以上 */

@media screen and (min-width: 501px) {

  .side-by {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
  }

  .side-by img {
    width: 11rem;
  }

  figure {
    margin-bottom: 0;
  }
}


/* PC向けCSS 601px以上 */

@media screen and (min-width: 601px) {

  main {
    width: 650px;
    margin: 0 auto;
  }

  .side-by img {
    width: 14rem;
  }

  .box p {
    margin-bottom: .3rem;
  }

  .box .sp {
    display: none;
  }

  .tabs button {
    padding: 12px 20px;
  }

  /* PC hover時だけ拡大 */
  .card:hover img {
    transform: scale(1.05);
  }

  /* pc hoverで説明表示 */
  .card:hover .tooltip {
    opacity: 1;
    visibility: visible;
  }

  /* PCではiボタン非表示 */
  .info-btn {
    display: none;
  }
}
