@charset "UTF-8";
html,
body {
  margin: 0;
  padding: 0;
  background-color: #362414;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: 70px;
}
@media screen and (max-width: 900px) {
  main {
    padding-top: 64px;
  }
}

/* ===== アンカーずれ対策（固定header分） ===== */
/* どの要素に飛んでも、上に余白を確保 */
html {
  scroll-padding-top: 70px;
}

@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 64px;
  }
}
.scroll-x {
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.scroll-x::-webkit-scrollbar {
  height: 6px;
}
.scroll-x::-webkit-scrollbar-thumb {
  background: rgba(107, 74, 45, 0.5);
  border-radius: 999px;
}
.scroll-x::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  color: #CCBCA5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.15)), linear-gradient(90deg, #2D2113 20%, #563B1E 50%, #2D2113 80%);
  /* ===== PCメニュー ===== */
  /* ===== ハンバーガー ===== */
  /* ===== マスク ===== */
  /* ===== open時 ===== */
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .header__inner {
    padding-inline: 8px;
  }
}
@media screen and (max-width: 900px) {
  .header__inner {
    height: 64px;
    padding-inline: 20px;
  }
}
.header__logo {
  margin: 0;
  width: 170px;
  line-height: 1;
}
.header__logo-link {
  display: inline-flex;
  align-items: center;
}
.header__logo-img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .header__logo-img {
    width: 140px;
  }
}
.header__nav {
  /* PCは普通に表示 */
}
@media screen and (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: 64px;
    right: 0;
    width: min(320px, 80vw);
    height: calc(100vh - 64px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.15)), linear-gradient(90deg, #2D2113 20%, #563B1E 50%, #2D2113 80%);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1002;
  }
}
.header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 900px) {
  .header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }
}
.header__nav-link {
  display: inline-block;
  padding: 8px 6px;
  letter-spacing: 0.06em;
  transition: opacity 0.2s ease;
}
.header__nav-link:hover {
  opacity: 0.5;
}
.header__hamburger {
  display: none;
}
@media screen and (max-width: 900px) {
  .header__hamburger {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1003;
    /* maskよりも前に出してクリックできるように */
  }
}
.header__mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1001;
}
.header.open {
  /* ×印は open の時だけ */
}
.header.open .header__mask {
  display: block;
}
@media screen and (max-width: 900px) {
  .header.open .header__nav {
    transform: translateX(0);
  }
}
.header.open .hamburger__line:nth-child(1) {
  transform: translateY(14px) rotate(45deg);
}
.header.open .hamburger__line:nth-child(2) {
  opacity: 0;
}
.header.open .hamburger__line:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}

/* ハンバーガーの線 */
.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #CCBCA5;
  border-radius: 2px;
  margin: 3px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mainvisual {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2400/900;
  background-image: url("../img/mainvisual-img.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 10%;
}
.mainvisual::before, .mainvisual::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 13px;
  background-image: url("../img/band 1.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: 1;
  pointer-events: none;
}
.mainvisual::before {
  top: 0;
}
.mainvisual::after {
  bottom: 0;
}
@media screen and (max-width: 768px) {
  .mainvisual {
    background-image: url("../img/mainvisual_s.png");
    min-height: 232px;
  }
}

.products {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .products {
    padding-inline: 8px;
  }
}
.products__section-title {
  font-size: 24px;
  letter-spacing: 0.04rem;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 440px) {
  .products__section-title {
    font-size: 18px;
  }
}
.products__title-border {
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
}
.products__group {
  padding: 8px;
  background-color: #D9C6A6;
  display: flex;
  border-radius: 8px;
  margin-bottom: 16px;
}
.products__group:last-of-type {
  margin-bottom: 0px;
}
.products__group-title {
  font-size: 20px;
  color: #fff;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 220px;
  padding: 0;
  margin: 0 8px 0 0;
  background-image: url("../img/btn-2.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}
.products__list {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
}

.playaid {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .playaid {
    padding-inline: 8px;
  }
}
.playaid__section-title {
  font-size: 24px;
  letter-spacing: 0.04rem;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 440px) {
  .playaid__section-title {
    font-size: 18px;
  }
}
.playaid__title-border {
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 144px;
  height: 17px;
}
.playaid__group {
  padding: 8px;
  background-color: #D9C6A6;
  border-radius: 8px;
}
.playaid__list {
  display: flex;
  gap: 8px;
  justify-content: start; /*カードの枚数が増えて横スクロールが必要になる時はstart*/
}

.houserule {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .houserule {
    padding-inline: 8px;
  }
}
.houserule__section-title {
  font-size: 24px;
  letter-spacing: 0.04rem;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 440px) {
  .houserule__section-title {
    font-size: 18px;
  }
}
.houserule__title-border {
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 144px;
  height: 17px;
}
.houserule__group {
  padding: 8px;
  background-color: #D9C6A6;
  border-radius: 8px;
}
.houserule__list {
  display: flex;
  gap: 8px;
  justify-content: start; /*カードの枚数が増えて横スクロールが必要になる時はstart*/
}

.questions {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .questions {
    padding-inline: 8px;
  }
}
.questions__section-title {
  font-size: 24px;
  letter-spacing: 0.04rem;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 440px) {
  .questions__section-title {
    font-size: 18px;
  }
}
.questions__title-border {
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 180px;
  height: 17px;
}
.questions__group {
  padding: 8px;
  background-color: #D9C6A6;
  border-radius: 8px;
}
.questions__list {
  display: flex;
  gap: 8px;
  justify-content: start; /*カードの枚数が増えて横スクロールが必要になる時はstart*/
}

.glorantha {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .glorantha {
    padding-inline: 8px;
  }
}
.glorantha__section-title {
  font-size: 24px;
  letter-spacing: 0.04rem;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 440px) {
  .glorantha__section-title {
    font-size: 18px;
  }
}
.glorantha__title-border {
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 192px;
  height: 17px;
}
.glorantha__group {
  padding: 8px;
  background-color: #D9C6A6;
  border-radius: 8px;
}
.glorantha__list {
  display: flex;
  gap: 8px;
  justify-content: start; /*カードの枚数が増えて横スクロールが必要になる時はstart*/
}

.news {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .news {
    padding-inline: 8px;
  }
}
.news__section-title {
  font-size: 24px;
  letter-spacing: 0.04rem;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 440px) {
  .news__section-title {
    font-size: 18px;
  }
}
.news__title-border {
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 65px;
  height: 17px;
}
.news__container {
  background-color: #D9C6A6;
  color: #000;
  border-radius: 8px;
  padding: 16px 24px;
}
.news__item {
  border-bottom: 3px solid #B9A88F;
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.news__item:last-of-type {
  margin-bottom: 0px;
}
@media screen and (max-width: 440px) {
  .news__item {
    flex-direction: column;
    gap: 0px;
  }
}
.news__title {
  margin: 0;
}
.news__link {
  text-decoration: none;
}
.news__link:hover {
  text-decoration: underline;
}

.discord {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .discord {
    padding-inline: 8px;
  }
}
.discord__container {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}
.discord__bg {
  display: flex;
  justify-content: center;
}
.discord__bg-img {
  height: auto;
  width: 100%;
  display: block;
}
@media screen and (max-width: 768px) {
  .discord__bg-img {
    height: 200px;
  }
}
.discord__wrapper {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 768px) {
  .discord__wrapper {
    flex-direction: column;
    gap: 0px;
  }
}
.discord__icon {
  max-width: 100px;
  height: auto;
}
@media screen and (max-width: 900px) {
  .discord__icon {
    max-width: 50px;
  }
}
.discord__section-title {
  font-size: 24px;
  letter-spacing: 0.04rem;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 440px) {
  .discord__section-title {
    font-size: 18px;
  }
}
.discord__title-border {
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 90px;
  height: 17px;
}
.discord__message {
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .discord__message {
    font-size: 14px;
  }
}
@media screen and (max-width: 440px) {
  .discord__message {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .discord__text {
    margin-top: 0px;
  }
}
.discord__participation {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 65px;
  background-image: url("../img/discord-btn.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}
@media screen and (max-width: 768px) {
  .discord__participation {
    height: 50px;
  }
}

footer {
  text-align: center;
  padding-inline: 40px;
  padding-bottom: 8px;
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.15)), linear-gradient(90deg, #2D2113 20%, #563B1E 50%, #2D2113 80%);
  color: #CCBCA5;
  font-size: 12px;
}
footer::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 16px;
  background-image: url("../img/band 1.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: 1;
}
@media screen and (max-width: 440px) {
  footer {
    padding-inline: 8px;
  }
}

.footer__text {
  text-align: center;
  display: inline-block;
  margin: 46px 0 30px 0;
}
.footer__link {
  margin-bottom: 30px;
}
.footer__list {
  margin-right: 32px;
}
.footer__list:last-of-type {
  margin-right: 0px;
}
@media screen and (max-width: 440px) {
  .footer__list {
    margin-right: 8px;
  }
  .footer__list:last-of-type {
    margin-right: 0px;
  }
}
.footer__copyright {
  text-align: center;
}

/* ============================
   Card (updated)
============================ */

.card {
  flex: 0 0 auto; /* 横スクロールで潰れない */
  width: 170px;   /* デフォルト（翻訳作品用） */
  display: flex;
  flex-direction: column;

  /* hover準備 */
  transition: box-shadow .25s ease;
}

/* ===== 共通パーツ ===== */
.card__body {
  text-align: center;
  background-color: #F4ECDF;
  border-radius: 8px 8px 0 0;
  width: 100%;
  min-height: 210px;     /* height固定をやめる */
  box-sizing: border-box;
  padding: 8px 0;
}

.card__actions {
  background-color: #E7DCC4;
  border-radius: 0 0 8px 8px;
  text-align: center;
  width: 100%;
  min-height: 35px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  margin-top: auto; /* ボタンを下に固定 */

  transition: background-color .25s ease;
}

.card__img {
  max-width: 80%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}

.card__title {
  font-size: 14px; /* text-sm */
  margin: 0 0 8px;
}

.card__lead,
.card__text {
  font-size: 14px; /* text-sm */
  margin: 0;
}

.card__btn,
.card__link {
  font-size: 16px; /* text-base */
  color: inherit;
  text-decoration: none;
  display: inline-block;

  transition: color .25s ease;
}

/* ===== modifier ===== */
.card--translating .card__body {
  border-radius: 8px; /* actionsが無いので全角丸 */
}

.card--playaid,
.card--houserule,
.card--questions,
.card--glorantha {
  width: 220px;
}

.card--playaid .card__body,
.card--houserule .card__body,
.card--questions .card__body,
.card--glorantha .card__body {
  min-height: 180px; /* height固定をやめる */
}

.card--playaid .card__title,
.card--houserule .card__title,
.card--questions .card__title,
.card--glorantha .card__title {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 8px;
  font-size: 12px; /* text-xs */
  color: #000;
  text-align: center;
  word-break: break-word;

  /* 旧：背景画像ボタンは無効化 */
  background-image: none;
  background-repeat: initial;
  background-size: initial;
  background-position: initial;
  height: auto;
}

/* ============================
   hover（PCのみ）
============================ */
@media (hover: hover) {
  .card:hover {
    box-shadow:
      0 4px 10px rgba(0, 0, 0, .08),
      0 12px 30px rgba(0, 0, 0, .10);
  }

  .card:hover .card__actions {
    background-color: #DECFAE; /* darken(#E7DCC4, 6%) の代替 */
  }

  .card:hover .card__btn,
  .card:hover .card__link {
    color: #362414; /* $bg-base */
  }

  .card--playaid:hover .card__title,
  .card--houserule:hover .card__title,
  .card--questions:hover .card__title,
  .card--glorantha:hover .card__title {
    color: #362414;
  }
}

/* Discord Coming Soon */
.coming-soon {
  position: relative;
}

.coming-soon .discord__container {
  opacity: 0.3;
  pointer-events: none;
}

.coming-soon::after {
  content: "Coming Soon";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.04em;

  color: #333;
background: #E8DCC6;
box-shadow: 0 3px 8px rgba(0,0,0,0.25);

  padding: 24px 24px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .coming-soon::after {
    font-size: 20px;
  }
}

@media (max-width: 440px) {
  .coming-soon::after {
    font-size: 16px;
  }
}
/*# sourceMappingURL=index.css.map */