@charset "utf-8";

/* 共通設定 */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll; 
  scroll-behavior: smooth;
}

body{
  margin: 0;
  color :#707070;
  line-height: 2.5;
  font-family: "Noto Sans JP", sans-serif;
}
img {
  vertical-align: bottom;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a{
  all: unset;
  margin: 0;
}

.contents {
  margin: auto;
  max-width: 1440px;
  padding: clamp(48px, 6vw, 120px);
}
 .contents-title {
  height: clamp(46px, 4.2vw, 70px);
 }
.centar-style {
  text-align: center;
}




/* FirstView */
#fv {
  background-color:#A44444;
  height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
#fv > div > h1 {
  margin-top: 64px;
}
#fv > div > h1 > img {
  display: block;
  margin: 8px;
}



/* ARCHIVE */
#archive {
  background-color:#AAAAAA;
}



/* ABOUT */
#about {
  background-color:#F1F1F1;
}
#about > .contents {
position: relative;
}
.about-set {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
}
.about-logo {
 margin: 10px auto;
}
.about-myname {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 500;
}
.about-profile {
  width: 680px;
  margin: auto;
}
.about-heading {
  margin: 56px 0 8px; 
  align-items: center;
  display: flex;
}
.about-heading:after {
  background-color: #707070;
  content: "";
  flex-grow: 1;
  height: 1px;
  margin-left: 15px;
}
.about-profile > p {
  margin: 0;
  font-size: 16px;
}
.about-profile > ul {
  margin: 0 8px 56px;
}
.about-profile > ul > li {
  position: relative;
  padding-left: 10px;
  margin-top: 8px;
}
.about-profile > ul > li:before {
  content: "";
  position: absolute;
  top: .8em;
  left: -4px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent transparent #A44444;
}



/* CONNECT */
#connect  {
  background-color:#9B4040;
}
#connect > div > h2 {
  position: absolute;
}
::placeholder {
  color: #A44444;
}
input {
  border: none;
  margin : 10px;
  font-size: 16px;
  width: 640px;
  height: 20px;
  padding: 20px;
}
textarea {
  resize: none;
  border: none;
  margin : 10px;
  font-size: 16px;
  width: 640px;
  height: 160px;
  padding: 20px;
}
.connect-button {
  all: unset;
  width: 680px;
  height: 60px;
  background-color: #AAAAAA;
  font-size: 16px;
  color: #FFFFFF;
  cursor: pointer;
}



/* サンクスページ */
.page-thanks {
  background-color:#A44444;
  height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.thanks-main {
  text-align: center;
  color: #FFFFFF;
}
.thanks-main > h1 {
  font-size: 28px;
  margin-top: 56px;
  font-weight: 500;
  letter-spacing: .05em;
}
.thanks-button {
  margin-top: 24px;
}



/* footer */
.top-footer {
  background-color:#9B4040;
  color: #FFF;
  text-align: center;
  margin-top: -50px;
  padding-bottom: 50px;
  font-size: 12px;
}



/* ARCHIVE詳細ページ */
.archive-container {
max-width: 1240px;
margin: 100px auto 0;
}
.archive-heading{
  font-size: 22px;
  font-weight: 500;
}
.archive-heading > div {
  border: 1px solid #707070;
  width: 40px;  
  margin: 20px 0;
}
.archive-explanatory {
margin-bottom: 80px;
}
.archive-explanatory-sub, .archive-explanatory-sub-none {
  text-align: left; 
  align-items: center;
  display: flex;
}
.archive-explanatory-sub:after {
  background-color: #707070;
  content: "";
  flex-grow: 1;
  height: 1px;
  margin-left: 15px;
}
.archive-main {
  text-align: center;
}


.archive-a4-tate {
  width: 500px;
  margin: 24px auto 120px;
  border:1px solid #AAAAAA; 
}
.archive-a4-yoko {
  width: 720px;
  margin: 24px 0 ;
  border:1px solid #AAAAAA; 
}
.archive-a3{
  width: 1000px;
  margin: 24px;
  border:1px solid #AAAAAA; 
}

.archive-web {
  width: 1150px;
  margin-bottom: 100px;
}
.archive-web-screenshot{
  width: 1000px;
  margin: 24px 0 100px;
  border:1px solid #AAAAAA;  
}
.archive-banner {
  width: 344px;
  margin: 24px;
  border:1px solid #AAAAAA;  
}

.archive-logo {
  width: 1000px;
}


.archive-la-cururin {
  width: 1000px;
  margin-top: 48px;
}


 .archive-kobapa-leaf {
  width: 1200px;
  margin: 24px 0 120px;
  border:1px solid #AAAAAA; 
 }
.archive-kobapa-illust {
  width: 392px;
  margin: auto;
}


.archive-sleeve-package-set {
  margin: 24px 0 120px;
}
.archive-sleeve-package {
  width: 560px;
}


.archive-karla-package {
  width: 880px;
  margin: 24px 0 120px;
}
.archive-karla-b6ori {
  width: 600px;
}
.archive-karla-qa {
  width: 400px;
}
.archive-karla-present {
  width: 640px;
}
.archive-karla-qa-container {
  margin:o auto;
}
.archive-karla-illust {
  width: 280px;
}


.archive-sub-container {
  display: flex;
  justify-content: space-between;
}
.archive-sub-container2 {
  display: flex;
  justify-content: center;
  margin: 80px 0 120px;
}

.archive-tcg-map {
  width: 1200px;
  margin-bottom: 80px;
}
.archive-tcg-manga {
  width: 1100px;
  margin-bottom: 80px;
}
.archive-tcg-illust {
  width: 800px;
  margin-bottom: 80px;
}
.archive-tcg-a3 {
  width: 560px;
  margin: 16px 0;
  border:1px solid #AAAAAA; 
}
.archive-tcg-ibanner {
  width: 440px;
  margin: 8px;
}
.archive-tcg-a3-container {
 width: 560px;
}
.archive-tcg-ibanner-container {
 width: 440px;
  margin-bottom: 80px;
}


.archive-izuko-illust {
  width:560px;
  margin: 64px 0;
}
.archive-izuko-logo {
  width: 200px;
  margin: 64px;
}
.archive-izuko-illust-container {
 width: 600px;
}
.archive-izuko-logo-container {
width: 480px;


}
.archive-bottom {
  text-align: center;
  margin: 64px 0 0;
}

.archive-annotation {
  font-size: 12px;
  text-align: center;
  margin: 120px 0 -80px;
}

.archive-footer {
  text-align: center;
  margin-top: 100px;
  padding-bottom: 50px;
  font-size: 12px;
}





/* 以下、ハンバーガーメニューのコピペ */
:root {
  --drawer-bar-gap: 8px;
  --duration: .4s;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
}


.btn-img {
  position: relative;
  display: inline-block;
}

.btn-img img {
  display: block;
  height:40px;
  margin: 4px;
  transition: opacity .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; /* 初期は非表示 */
}

.btn-img:hover .btn-hover {
  opacity: 1;
}

.btn-img:hover .btn-normal {
  opacity: 0;
}


.header {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000; 
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px;
  
}


.drawer-button {
  position: relative;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  touch-action: manipulation;
  cursor: pointer;
  background-color: transparent;
  border: none;
  border-radius: 8px;
}

.drawer-button__icon {
  position: relative;
  width: 32px;
  height: auto;
  aspect-ratio: 1;
}

.drawer-button__bar {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #FFF;
  border-radius: 9999px;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.is-light-header .drawer-button__bar {
  background-color: #AAAAAA;
}
.menu-open .drawer-button__bar {
  background-color: #fff;
}

.page-sub .drawer-button__bar {
  background-color: #AAAAAA;
}

.drawer-button__bar:nth-child(1) {
  transform: translate(-50%, calc(-50% - var(--drawer-bar-gap)));
  transition: transform var(--duration) var(--easing);
}

.drawer-button__bar:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity var(--duration) var(--easing);
}

.drawer-button__bar:nth-child(3) {
  transform: translate(-50%, calc(-50% + var(--drawer-bar-gap)));
  transition: transform var(--duration) var(--easing);
}


.drawer-button__bar:nth-child(1):where(.is-open *) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-button__bar:nth-child(2):where(.is-open *) {
  opacity: 0;
}

.drawer-button__bar:nth-child(3):where(.is-open *) {
  transform: translate(-50%, -50%) rotate(-45deg);
}



.drawer-nav[hidden] {
  display: none;
} 

.drawer-nav {
  position: fixed;
  inset: 0;
  pointer-events: none; 
  z-index: 1001;
  background: transparent;
}

.drawer-nav__inner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: clamp(0px, 90vw, 240px);
  height: 280px;
  padding: 64px 24px;
  background-color: #DDD;
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  pointer-events: auto;  
  transition:
    transform var(--duration) var(--easing),
    opacity var(--duration) var(--easing);
}


.drawer-nav__inner:where(.is-open *) {
  transform: unset;
  opacity: 1;
}

.drawer-nav__contents {
  position:relative;
      overflow: auto;
}
.drawer-nav__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}


.drawer__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: pointer;
  background-color: rgb(0 0 0 / 32%);
  opacity: 0;
  transition: opacity var(--duration) var(--easing);
}

.is-open :where(.drawer__overlay) {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .drawer-button__bar,
  .drawer-nav__inner,
  .drawer__overlay {
    transition: none !important;
  }
}

.is-open :where(.drawer__overlay) {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .drawer-button__bar,
  .drawer-nav__inner,
  .drawer__overlay {
    transition: none !important;
  }
}


/* 固定ロゴ自体の位置（右下固定） */
.fixed-logo {
  position: fixed;
  bottom: 90px;
  right: 90px;
  z-index: 1000;
}

/* ロゴ2枚を重ねておく */
.logo-img {
  width: 60px;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* デフォルトで出す方をここに指定（どちらをデフォにするかは好みで） */
/* 例：暗め背景では白ロゴを出したいなら、dark側をデフォ表示にする */
.logo-img--dark {
  opacity: 1;
}

/* 明るい背景に来たときに「lightロゴ」を出したい場合 */
body.is-light-logo .logo-img--dark {
  opacity: 0;
}
body.is-light-logo .logo-img--light {
  opacity: 1;
}

/* FV（ヒーロー）上ではロゴ自体を消す */
body.is-hero-logo .fixed-logo {
  opacity: 0;
}
body:not(.is-hero-logo) .fixed-logo {
  opacity: 1;
}




/* 以下、カルーセルのコピペ */

.archive-carousel {
  position: relative;
  width: 100%;
  max-width: 1440px; /* 任意 */
  margin: 0 auto;
  padding: 0 48px;      /* 好みで */
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.archive-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.archive-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
  padding: 0;
  margin: 0;
}

.archive-track li {
  list-style: none;
  flex: 0 0 25%;            /* 4つで100%（＝常に4枚表示） */
  box-sizing: border-box;
  padding: 16px;             /* 余白はこちらで管理 */
}

.archive-thum {
  width: 100%;              /* li の幅いっぱいに広げる */
  height: auto;             /* アスペクト比維持で縮小 */
  display: block;
  border: 4px solid #FFFFFF;
  box-sizing: border-box;
}

/* ボタン */
.archive-prev,
.archive-next {
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  padding: 8px;
  user-select: none;
}


/* 矢印ボタン（白矢印＋白丸アウトライン） */
.archive-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin: 8px
}

/* 中の矢印は擬似要素で */
.archive-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform-origin: center;
}

/* 左矢印 */
.archive-prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

/* 右矢印 */
.archive-next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

.archive-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ドット */
.archive-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 48px;
}

.archive-dot {
  width: 10px;
  height: 10px;
  padding: 0; 
  border-radius: 50%;
  border: 1px solid #ffffff;
  background: transparent;
  opacity: 0.5;
  cursor: pointer;
}

.archive-dot.is-active {
  background: #ffffff;
  opacity: 1;
}







/* ページ遷移（Swup） */
html.is-animating .transition-fade {
  opacity: 0;
  transform: translateY(6px);
}

.transition-fade {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}




@media (max-width: 1439px) {
  .contents {
    /* PC思想は維持するが、左右を先に詰める */
    padding: clamp(40px, 5vw, 96px);
  }

  .contents-title {
    /* 装飾実幅が効いてくるので少し縮める */
    height: clamp(42px, 4vw, 64px);
  }
}

  
@media (max-width: 1199px) {
  .contents {
    padding: 48px 24px; /* ここからは読みやすさ優先 */
  }

  .contents-title {
    height: 52px; /* ここは固定でもOK */
  }

  .centar-style {
    text-align: center;
  }
  .section h2 {
    text-align: center;
  }

  /* もし見出しを左寄せで使っているなら、ここで中央寄せに寄せる */
  /* 例：見出しが <h2 class="section-title"> みたいに存在するなら */
  .section-title {
    text-align: center;
    margin-left: 0;
  }

  /* FV */
  #fv .contents {
    width: 64vw;
    max-width: 720px;
  }
  #fv .contents img {
    margin-left: auto;
    margin-right: auto;
  }
  #fv .contents > img {
    width: 40.5%;
    max-width: 150px;
    height: auto;
  }
  #fv > div > h1 > img {
    width: 100%;
    max-width: 370px;
    margin: 8px auto;
    height: auto;
  }

  /* ABOUT */
  .about-set {
    position: static;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    width: 100%;
  }
  .about-profile {
    width: 100%;
    max-width: 680px;
  }

  /* CONNECT */
  #connect > div > h2 {
    position: static;
    margin-bottom: 16px;
  }
  #connect .contents {
    padding-bottom: 70px;
  }
  input,
  textarea,
  .connect-button {
    width: 100%;
    max-width: 680px;
    box-sizing: border-box;
  }

  /* ARCHIVE carousel */
  .archive-carousel {
    padding: 0 24px;
  }
  .archive-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transform: none !important;
  }
  .archive-track li {
    flex: initial;
    padding: 0;
  }
  .archive-arrow,
  .archive-dots {
    display: none;
  }
  .archive-track li:nth-child(n + 17) {
    display: none;
  }
  .archive-arrow {
    width: 48px;
    height: 48px;
  }

  /* ARCHIVE detail pages */
  .archive-container {
    max-width: 100%;
    padding: 0 24px;
  }
  .archive-main img,
  .archive-sub-container img,
  .archive-sub-container2 img {
    max-width: 100%;
    height: auto;
  }
  .archive-sub-container,
  .archive-sub-container2 {
    flex-wrap: wrap;
    gap: 24px;
  }
  .archive-tcg-a3-container,
  .archive-tcg-ibanner-container,
  .archive-izuko-illust-container,
  .archive-izuko-logo-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contents {
    padding: 40px 16px;
  }
  .section h2 {
    text-align: center;
  }

  /* FV */
  #fv .contents {
    width: 64vw;
    max-width: 560px;
  }
  #fv .contents img {
    margin-left: auto;
    margin-right: auto;
  }
  #fv .contents > img {
    width: 40.5%;
    max-width: 150px;
    height: auto;
  }
  #fv > div > h1 {
    margin-top: 32px;
  }
  #fv > div > h1 > img {
    width: 100%;
    max-width: 320px;
    margin: 8px auto;
  }

  /* ABOUT */
  .about-profile {
    max-width: 100%;
  }
  .about-set,
  .about-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .about-set {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .about-myname {
    text-align: center;
  }
  .about-profile {
    text-align: left;
  }
  .about-heading {
    margin: 40px 0 8px;
  }

  /* CONNECT */
  input,
  textarea,
  .connect-button {
    max-width: 100%;
  }
  .form-row {
    padding: 0;
  }
  input,
  textarea,
  .connect-button {
    margin: 10px 0;
  }

  /* ARCHIVE carousel */
  .archive-carousel {
    padding: 0;
  }
  .archive-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .archive-track li {
    display: none;
  }
  .archive-track li:nth-child(1),
  .archive-track li:nth-child(2),
  .archive-track li:nth-child(5),
  .archive-track li:nth-child(6),
  .archive-track li:nth-child(10),
  .archive-track li:nth-child(11),
  .archive-track li:nth-child(13),
  .archive-track li:nth-child(16) {
    display: block;
  }
  .archive-track li:nth-child(1) { order: 1; }
  .archive-track li:nth-child(2) { order: 2; }
  .archive-track li:nth-child(5) { order: 3; }
  .archive-track li:nth-child(6) { order: 4; }
  .archive-track li:nth-child(10) { order: 5; }
  .archive-track li:nth-child(11) { order: 6; }
  .archive-track li:nth-child(13) { order: 7; }
  .archive-track li:nth-child(16) { order: 8; }
  .archive-arrow {
    width: 40px;
    height: 40px;
  }
  .archive-dots {
    margin: 32px 0 0;
  }

  /* ARCHIVE detail pages */
  .archive-container {
    padding: 0 16px;
  }
  .archive-sub-container,
  .archive-sub-container2 {
    flex-direction: column;
    align-items: center;
  }
  .archive-annotation {
    margin: 80px 0 -40px;
  }

  /* Drawer menu full-screen */
  .drawer-nav__inner {
    width: 100%;
    height: 100vh;
    left: 0;
    right: 0;
    padding: 96px 32px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}
