*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd,ol,ul{margin:0}ul[role='list'],ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:normal}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

html, body {
  overflow-x: hidden;
}
html {
  font-size:62.5%;
}
body {
  font-family: "Noto Serif JP", "Lora", serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 0;
  margin: 0;
  color: #fff;
  background: #000;
  font-size: 1.6rem;
  transition: background 0.5s ease;
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 基本の表示状態 */
.pcOnly,
.pctbOnly {
  display: block;
}
.tbOnly, .mbOnly, .tbmbOnly {
  display: none;
}
/* タブレットだけの表示（1024px以下） */
@media screen and (max-width: 1024px) {
  .pcOnly {
    display: none;
  }
  .tbOnly {
    display: block; /* タブレットのみ表示 */
  }
  .tbmbOnly {
    display: block; /* タブレットとモバイルのみ表示 */
  }
}
/* モバイルだけの表示（767px以下） */
@media screen and (max-width: 767px) {
  .pcOnly, .pctbOnly {
    display: none;
  }
  .tbOnly {
    display: none; /* タブレットのみ表示 */
  }
  .mbOnly {
    display: block; /* モバイルのみ表示 */
  }
  .tbmbOnly {
    display: block; /* タブレットとモバイルのみ表示 */
  }
}


/* ---------------------------------------
   フォントセット
--------------------------------------- */
/* 基本文字 */
.font-base {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
}
/* 英語 */
.font-en {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
}
/* 明長 */
.font-serif {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 700;
}


/* ---------------------------------------
   画面の表示・非表示制御
--------------------------------------- */
.screen {
    display: none;
    height: auto;
    box-sizing: border-box;
    animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* =========================================
  レイアウト
========================================= */
.layout-wrap {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.app-container {
  position: relative;
  width: 480px;
  max-width: 480px;
  height: 100dvh;
  flex-shrink: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.left_box,
.right_box {
  padding: 3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc((100vw - 480px) / 2);
  min-width: 0;
  height: 100dvh;
}
.left_box {
  left: 0;
}
.right_box {
  right: 0;
}
.copyright {
  position: fixed;
  right: 3vw;
  bottom: 3vw;
  text-align: right;
  color: #FFF;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: 0.6px;
}
.left_box img,
.right_box img {
  width: 100%;
  max-width: 353px;
  margin: 10px 0;
}
.left_box img:hover,
.right_box img:hover {
  opacity: 0.75;
}

.left_box .related-link,
.right_box .related-link {
  color: #fff;
  text-decoration: none;
}
.left_box .related-link {
  text-align: right;
}
.right_box .related-link {
  text-align: left;
}
.product-link img {
  margin: 0 0 3.2rem 0;
}
.inners {
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
}
.screen {
  display: none;
}
.screen.is-active {
  display: flex;
  width: 100%;
  flex: 1;
  overflow-y: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  z-index: 2;
}
@media (max-width: 1024px) {
  .left_box,
  .right_box {
    display: none;
  }
}
@media (max-width: 767px) {
  .app-container {
    width: 100%;
  }
}


/* =========================================
   ヘッダー
========================================= */
.global-header {
  position: fixed;
  height: 79px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: #000;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  z-index: 99999;
  top: 0;
  z-index: 100000;
}
.global-header span {
  display: block;
  font-family: Lora;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1.7px;
}
.global-header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1.2px;
}
.global-header h1::before,
.global-header h1::after {
  content: "";
  width: 31px;
  height: 1.5px;
  background: #fff;
  flex-shrink: 0;
}
.chart-title a {
  color: #fff;
  text-decoration: none;
}


/* =========================================
   ナビゲーション
========================================= */
.menu-trigger {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 30px;
  height: 1px;
  background: #fff;
  transition: transform .4s ease, top .4s ease, opacity .3s;
}
.menu-trigger span:nth-child(1) {
  top: 6px;
}
.menu-trigger span:nth-child(2) {
  top: 13px;
}
.menu-trigger.is-open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.menu-trigger.is-open span:nth-child(2) {
  top: 10px;
  transform: rotate(-45deg);
}
.menu-trigger.is-open::after {
  content: "CLOSE";
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: "Noto Serif JP";
  font-size: 10px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* =========================================
   モーダル
========================================= */
.menu-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  z-index: 90000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform .6s cubic-bezier(.77,0,.175,1),
              opacity .3s ease;
}
.menu-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.menu-inner {
 width: 100%;
  max-width: 480px;
  height: 100vh;
  background: #000;
  padding: 115px 20px 120px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
}
.menu-content img {
  width: 100%;
}
body.is-modal-open {
  overflow: hidden;
}
body.is-modal-open .app-container {
  overflow: hidden;
}
.menu-content a.backTop {
  display: block;
  text-align: center;
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  margin: 0 auto 6rem auto;
}

/* =========================================
   モーダル コンテンツ
========================================= */
.menu-content h4 {
  font-family: Lora;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.8px;
  text-align: center;
  margin-bottom: 10px;
}
.menu-content h5 {
  font-family: "Noto Serif JP";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.7px;
  text-align: center;
  margin-top: 5rem;
}
.menu-content {
  max-width: 276px;
  margin: 0 auto;
}
.menu-content a {
  color: #fff;
  text-decoration: none;
}
.modal-link-product a,
.modal-link-product img {
  margin: 0 auto;
}
.modal-link-kanren {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 auto 10rem auto;
}
.modal-link-kanren img {
  margin-bottom: 5px;
}
.menu-content .modal-link-kanren p {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.7px;
  text-align: right;
}
.menu-content svg {
  width: 145px;
}
.menu-content p {
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: 0.6px;
}
.menu-content .logo {
  text-align: center;
  margin-bottom: 10px;
}


/* =========================================
   スタート画面
========================================= */

body.view-start .app-container {
    background: url('images/bg-underwater.jpg') no-repeat center center fixed;
    background-size: cover;
}
body.view-start #screen-start {
}
body.view-start .app-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #D2D2D2 0%,
    #000 36.95%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
#screen-start.is-active {
  background: url("images/bg-start.png") no-repeat center bottom;
  background-size: cover;
  padding-top: 80px;
}
.start-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.intro {
  text-align: center;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.9px;
}
.main-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 30vh;
}
.main-visual svg {
  width: 100%;
  max-width: 145px;
  margin-bottom: 2rem;
}
.main-visual span {
  display: block;
  font-family: Lora;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1.7px;
}
.main-visual h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1.2px;
}
.main-visual h2::before,
.main-visual h2::after {
  content: "";
  width: 63px;
  height: 3px;
  background: #fff;
  flex-shrink: 0;
}

.btn-start {
    background: #fff;
    border: 1px solid #0053D0;
    width: 300px;
    height: 67px;
    padding: 3px;
    border-radius: 12px;
    color: #0053D0;
    text-align: center;
    font-family: Lora;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1.2px;
}
.btn-start:hover {
    background: #0053D0;
    color: #fff;
}


/* =========================================
   質問画面
========================================= */
body.view-question .app-container {
    background: url('images/bg-underwater.jpg') no-repeat center center fixed;
    background-size: cover;
}
body.view-question #screen-question {
}
#screen-question.is-active {
  padding: 80px 20px 20px 20px;
}
.question-header {
  text-align: center;
}
.pagination {
  font-family: Lora;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.7px;
}
.current-num {
  text-align: center;
  font-family: Lora;
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 3px;
}
.total-num {
  font-family: Lora;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 1.1px;
}
.arrow {
  margin: 0 15px;
}
.question-text {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1.2px;
  text-align: center;
}

.options-area {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.option-btn {
    background: #fff;
    border: 1px solid #0053D0;
    width: 300px;
    min-height: 67px;
    padding: 12px;
    border-radius: 12px;
    color: #0053D0;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0.8px;
}
.option-btn:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.option-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.option-inner svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.option-inner.has-image {
  justify-content: space-between;
}
.option-text {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.option-image {
  width: 165px;
  height: 108px;
  border-radius: 4px;
  object-fit: cover;
}

.btn-back {
  width: 205px;
  height: 43px;
  background: #0046AE;
  border-radius: 12px;
  border: none;
  color: #fff;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn-back.btn-prev-result {
  margin-bottom: 2rem;
}

.btn-back-icon {
  display: flex;
  align-items: center;
}

.btn-back svg {
  width: 15px;
  height: 15px;
}

.btn-back:active {
  opacity: 0.85;
}

/* btn-back は基本表示 */
.btn-back {
  display: flex;
}

/* 質問画面・結果画面以外では非表示 */
body.view-start .btn-back {
  display: none;
}

/* =========================================
   診断結果
========================================= */
#result-list {
  position: relative;
  z-index: 10;
}
body.view-result .app-container {
    background: transparent;
}
body.view-result #screen-result {
    display: block;
    padding: 0;
}
.result-layout {
    min-height: 100%;
}
.result-content {
    flex-grow: 1;
    padding: 80px 20px 100px 20px;
    background: #000;
    overflow-x: hidden;
}
.result-copy {
  width: 100%;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: 0.6px;
}
@media (max-width: 540px) {
  .result-copy {
    background-image: url("images/bg-sp.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
}
/* 結果ページ */
.match {
  margin: 0 -20px -27px 0;
  width: 100vw;
  max-width: 460px;
}
.product {
  border-radius: 10px;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
  align-items: center;
  flex-direction: column;
}
.typeHeader {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0.7px;
  width: 238px;
  color: #000;
  background: #fff;
  padding: 0.5rem 2rem;
  text-align: left;
  margin: 0 0 4rem -2rem;
}
.typeHeader span {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}
.seriesBlock {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0 10px;
}
.seriesLogo {
  width: 100%;
  height: 24px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.p-body {
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid #fff;
  font-family: "Noto Sans JP", sans-serif;
}
.p-body strong {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.8px;
}
.seriesItems {
  display: flex;
  flex-direction: column;
  margin: 0 0 14rem 0;
}
.thumb {
  display: block;
  width: 100%;
  height: auto;
}
.rattleTag {
  font-size: 14px;
  color: #ffea7a;
  margin: 3px 0 8px;
}

/* カラー表示 */
.color-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
}
.color-chip .chip-box {
  width: 30px;
  height: 17px;
  border-radius: 0;
  flex-shrink: 0;
}

.color-chip .chip-label {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.8px;
}

.seriesBlock {
  margin: 0 0 2rem 0;
}

.typeTitle {
  background:#fff;
  color:#000;
  padding:6px 12px;
  display:inline-block;
  margin-bottom:10px;
  font-weight:600;
}

.seriesName {
  font-size:22px;
  font-weight:700;
  margin:10px 0;
}

.seriesText p {
  line-height:1.8;
}
.seriesItems a {
  background: #0046AE;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 1.1rem;
  width: 205px;
  margin: 5rem auto 0 auto;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.8px;
}

/* 商品カード */
.result-item {
    background: #fff;
    color: #000;
    margin-bottom: 30px;
    padding-bottom: 10px;
}
.result-item img { width: 100%; display: block; }
.result-item h3 { font-size: 1rem; margin: 10px; }
.btn-detail {
    background: #0055aa;
    color: #fff;
    display: block;
    text-align: center;
    padding: 10px;
    margin: 10px;
    text-decoration: none;
}

.no-result {
  text-align: center;
  font-size: 1.6rem;
  color: #fff;
  opacity: 0.7;
  margin: 40px 0;
}

p.attention {
  margin-bottom: 5rem;
}