/* ------------------------------
 * デザイントークン
 * ------------------------------ */
#dq {
  /* 規定カラー */
  --color-primary:   #0096DA;  
  --color-bg:        #FFD659;  
  --color-secondary: #707070;
  --color-corporate: #d51121;

  /* ラディウス/影/透過 */
  --radius-base:  8px;
  --opacity-base: 0.9;
  --shadow-base: 0px 0px 0px 1px rgba(0, 0, 0, 0.06), 0px 1px 2px -1px rgba(0, 0, 0, 0.06), 0px 2px 4px 0px rgba(0, 0, 0, 0.04);
}
/* ------------------------------
 * ボタン
 * ------------------------------ */
/* ボタン基本CSS */
#dq [class^="btn"] {
  position: relative;
  color: #333333;
  max-width: 100%;
  width: 700px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  font-size: 16px;
  border-radius: .5rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  margin: auto;
}
#dq [class^="btn"]::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 23px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}

/* ボタン：優先度高 */
#dq .btn-primary {
  background: #0096DA;
  background: var(--color-primary, #0096DA);
  color: #fff;
}
#dq .btn-primary:hover{ border-bottom: 1px solid #328880;box-sizing: border-box; }

/* ボタン：優先度中 */
#dq .btn-secondary {
  background: #707070;
  background: var(--color-secondary, #707070);
  color: #fff;
}
#dq .btn-secondary:hover{ border-bottom: 1px solid #666666;box-sizing: border-box; }
/* hover,activeの挙動 */
#dq [class^="btn"]:hover{ transform: translateY(-1px); opacity: 0.9; }
#dq [class^="btn"]:active{ transform: translateY(0);border-bottom:1px solid transparent; }

/* ------------------------------
 * テキストボックス .callout-*
 * ------------------------------ */
#dq [class^="callout"] {
  padding: 19px 20px;
  border: 1px solid;
  box-sizing: border-box;
  line-height: 1.6;
  color: #333333;
}
#dq .callout-note {
  border-color: #CCCCCC;
}
#dq .callout-info {
  border: none;
  background-color: #F5F5F5;
}
#dq .callout-game {
    border: 4px solid;
    color: #fff;
    border-radius: var(--radius-base);
    padding: 30px 40px;
    position: relative;
    z-index: 1;
    background-color: #000000e0;
}

/* ------------------------------
 * カラムレイアウト割付
 * ------------------------------ */
/* 親：flex + 固定gap */
#dq .flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px ; 
}
#dq .flex > * {
  box-sizing: border-box;
}
/* 等分カラム */
#dq .col-2 { width: calc( calc(100% - calc(32px * 1)) /2); }
#dq .col-3 { width: calc( calc(100% - calc(32px * 2)) /3); }
#dq .col-4 { width: calc( calc(100% - calc(32px * 3)) /4); }
#dq .col-5 { width: calc( calc(100% - calc(32px * 4)) /5); }
#dq .col-6 { width: calc( calc(100% - calc(32px * 5)) /6); }
#dq .col-7 { width: calc( calc(100% - calc(32px * 6)) /7); }
#dq .col-8 { width: calc( calc(100% - calc(32px * 7)) /8); }
/* 等分カラム */
#dq .flex.nowrap,
#dq .flex.pc_nowrap {
  flex-wrap: nowrap;
}
#dq .flex.flex-start{align-items:flex-start}
/* ------------------------------
 * stack子要素に一定のmargin設定
 * ------------------------------ */
#dq .stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  align-items: normal;
}

/* ------------------------------
 * リスト
 * ------------------------------ */
#dq ul.list{
  text-align: left;
  padding-left: 18px;
}
#dq ol.list {
  font-size: 16px;
  text-align: left;
  padding-left: 20px;
}

#dq ul.list > li {
  list-style-type: disc;
  line-height: 1.6;
}
#dq ol.list > li {
  list-style-type: decimal;
  line-height: 1.6;
}
#dq ul.list li::marker {
  font-size: 0.8em;
  color:#333333;
}
#dq ul.list li + li,
#dq ol.list li + li {
  margin-block-start: 8px;
}


/* ------------------------------
 * 全体の設定
 * ------------------------------ */
#dq section{
	width: 100%;
}
#dq img{height: auto;}

.section_wrapper{
    margin: 0px auto;
    min-width: 850px;
    max-width: 1200px;
	padding-top: 120px;
	padding-bottom: 200px;
}
div#index {
    width: 100%;
    text-align: center;
    min-width: unset;
    max-width: unset;
    zoom: 100%;
    font-size: 80%;
	font-family: "Noto Sans JP", sans-serif!important;
	font-weight: 500;
    margin: 0px auto;
}
#dq div,
#dq h1,
#dq h2,
#dq h3,
#dq h4,
#dq h5,
#dq h6,
#dq input,
#dq ol,
#dq p,
#dq pre,
#dq td,
#dq textarea,
#dq th,
#dq ul{
	font-family: "Noto Sans JP", sans-serif!important;
	font-weight: 500;
	font-style: normal;
	font-size:16px;
	line-height: 1.6;
}
#dq h1{font-size: 64px;}
#dq h2{font-size: 40px;}
#dq h3{font-size: 32px;font-weight: 700;}
#dq h4{font-size: 22px;}

#dq .midashi {
    /*background-color: #000000d9;*/
    color: #fff;
    padding: 7px 0 11px;
    width: 500px;
    margin: auto;
    outline: solid 6px #000000d9;
    border: 3px solid #fff;
    box-sizing: border-box;
	position: relative;
	z-index: 5;
}
h2.midashi:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    z-index: -1;
    background-color: #000000e0;
    top: 0;
}
#dq .midashi img{
	position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    z-index: -2;
	bottom: 45px;
}
#dq .f_ms{
	position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    z-index: -1;
}
#dq .dotgothic16 {
  font-family: "DotGothic16", sans-serif!important;
  font-weight: 400;
  font-style: normal;
}
#pan {
    margin: 0px auto;
    min-width: 850px;
    max-width: 1200px;
    border: none;
}
p.product_image{background-color: #fff;padding: 8px 0;}
/* ----------------
* キービジュアル・メニュー
* ----------------*/
#dq #topimg {
    max-width: 1410px;
    display: grid;
    grid-template-columns: 62% auto;
    align-items: center;
    column-gap: 32px;
    margin-bottom: 130px;
    grid-template-rows: auto auto 1fr;
	position: relative;
    top: -32px;
}
#dq #topimg .mv{
    order: 1;
    grid-row: 1 / 4;
	opacity: 0;
	transform: translateY(30px) scale(0.98);
	filter: blur(3px);
	animation: kvReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#dq #topimg .thlogo{order: 2;align-self: end;}
#dq #topimg h1{order: 3;align-self: end;text-align: left;min-width: max-content;}

#dq #topimg ul.topmenu {
	order: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    align-self: start;
}
#dq #topimg ul.topmenu li {width: 100%;font-size: 28px;}
#dq #topimg ul.topmenu li a {color: #333;display: flex;align-items: center;gap: 10px;}
#dq #topimg ul.topmenu li a::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 10px;
    background: var(--color-primary);
    clip-path: polygon(0% 0%, 60% 0%, 100% 50%, 60% 100%, 0% 100%);
}
#dq #topimg ul.topmenu li a:hover { transform: translateY(-1px); opacity: 0.9; text-decoration: none;}
#dq #topimg ul.topmenu li a:hover::before { background: #000;}
#dq #topimg ul.topmenu li a:active{ transform: translateY(0); }
/* 赤文字 
#dq #topimg ul.topmenu li.red a {color: var(--color-corporate);}
#dq #topimg ul.topmenu li.red a::before {background: var(--color-corporate);}
*/

/* ----------------
* 新作ソフト
* ----------------*/
#new{
	background-image: url(/bc/c/entertainment/dragonquest/images/40th_slime_bg.png);
	background-repeat: repeat; 
	background-size: 1200px auto;
	position: relative;
}
/* 背景にグラデーション透過追加 */
#new:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    z-index: 0;
    background-image: linear-gradient(#ffffff66, #ffffffb8 68%, #ffffff);
}
#new .section_wrapper > * {
    z-index: 1;
    position: relative;
}
#new .section_wrapper {
    padding-top: 260px;
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
}
#new .soft {
    display: grid;
    grid-template-columns: 44% auto;
    column-gap: 45px;
    grid-template-rows: auto 1fr;
}
#new .soft > img:nth-child(1){order: 2;width: 420px;}
#new .soft > img:nth-child(2) {
    order: 1;
    grid-row: 1 / 3;
    box-shadow: var(--shadow-base);
    border-radius: var(--radius-base);
}
#new .soft > div{order: 3;}
#new .bx-wrapper{padding-bottom: 20px;}
#new .bx-viewport{overflow: visible !important;}
#new .bx-wrapper .bx-controls-direction a{top:auto;bottom: -25px;}
#new .bxSlider{overflow: hidden;}


/* ----------------
* 店舗キャンペーン
* ----------------*/
#shop{
	background-image: url(/bc/c/entertainment/dragonquest/images/40th_slime_bg.png);
	background-repeat: repeat; 
	background-size: 1200px auto; 
	background-color: var(--color-bg);
	background-blend-mode: multiply;
}
#shop .section_wrapper{max-width: 980px;position: relative;}

#shop h2{
	background-color: #000;
    color: #fff;
    padding: 11px 0 12px;
}
#shop h3{font-size: 28px;}
#shop .f_ms:nth-of-type(1){top: -150px;z-index: 0;}
#shop .f_ms:nth-of-type(2){
	bottom: 150px;
    left: -61px;
    right: auto;
    z-index: 1;
    top: auto;
}
.shopblk{
	border-radius: 8px;
    background-color: #fff;
    z-index: 2;
    box-sizing: border-box;
    outline: solid 3px #000;
}
.shopblk_in{width: 85%;margin: auto;padding: 40px 0 100px;}
.cp span {
    background-color: #000;
    color: #fff;
    padding: 1px 8px 3px;
    width: 4em;
    display: inline-block;
    text-align: center;
    margin-right: 8px;
}
#shop .clon{columns: 3;column-gap: 2%;}

/* ----------------
* ドラクエとは
* ----------------*/
#story{	background-color: #000;border-top:6px solid #fff}
#story h2{color: #fff;}
#story .section_wrapper{ max-width: 1080px;position: relative;padding-top: 50px;padding-bottom: 100px;}
#story .f_ms{z-index: 0;top: -64px;}
#story .text_blk{position: relative;}
#story .section_wrapper > .f_ms {
	/* きんぐ */
	z-index: -1;
    top: -200px;
}
#story .text_blk .f_ms:nth-of-type(1) {
	/* はぐめた */
	top: -86px;
    right: auto;
    left: -114px;
    z-index: 0;
}
#story .text_blk .f_ms:nth-of-type(2) {
	/* もーもん */
    bottom: -396px;
    right: -127px;
    left: auto;
    z-index: 3;
    animation: floating-y2 1.5s ease-in-out infinite alternate-reverse;
}

/* ----------------
* ゲーム
* ----------------*/
#lineup .midashi img{bottom: 88px;}
#lineup .section_wrapper {padding-top: 200px;}

#dq .product-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* カラム数指定 */
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#dq .product-item {
    margin: 0;
}
#dq .product-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, .08),
        0 8px 24px rgba(0, 0, 0, .05);
    overflow: hidden;
    transition: .3s ease;
}
#dq .product-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, .12),
        0 12px 32px rgba(0, 0, 0, .08);
}
#dq .product-card > a {
    display: grid;
    height: 100%;
    color: inherit;
    text-decoration: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
}
#dq .product-image {
    aspect-ratio: 500 / 350;
    background: #f5f5f5;
    overflow: hidden;
    display: grid;
    align-items: center;
}
#dq .product-image img {
    display: block;
    width: 100%;
    object-fit: cover;
}
#dq .product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px;
}
#dq .platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}
#dq .platform-list li {
    padding: 6px 12px;
    background: #333;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    line-height: 1;
}
#dq h4.product-title{
	text-align: left;
    font-size: 24px;
    margin: 0 0 8px;
	font-weight: 700;
}
#dq .product-description {
    flex-grow: 1;
    margin: 0 0 16px;
    color: #444;
	text-align: left;
}

/* ----------------
* 40周年グッズ
* ----------------*/
#goods_40th{
	background-image: url(/bc/c/entertainment/dragonquest/images/40th_slime_bg.png);
	background-repeat: repeat; 
	background-size: 1200px auto; 
	background-color: #ffffff4f;
    background-blend-mode: lighten;
}
#goods_40th .midashi img{z-index: 1;bottom: 63px;}
#goods_40th .section_wrapper{padding-top: 260px;padding-bottom: 50px;}

/* ----------------
* 人気のグッズ
* ----------------*/
#goods{
	background-image: url(/bc/c/entertainment/dragonquest/images/40th_slime_bg.png);
	background-repeat: repeat; 
	background-size: 1200px auto; 
	background-color: #ffffff4f;
    background-blend-mode: lighten;
}
#goods .midashi img{bottom: 88px;}
#goods .section_wrapper {padding-top: 200px;}

#dq .copy{font-weight: 400;font-size: 14px;padding:16px}
/* ----------------
* アニメーション設定
* ----------------*/
@keyframes floating-y2 {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-5%);
  }
}
@keyframes kvReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
