/*
	misty-eggサイト
	2026.04.08
*/
@font-face {
	font-family: "shsjp";
	font-weight: 900;
	font-display: swap;
	src: url("fonts/shsjp-heavy.woff2") format("woff2"),
		 url("fonts/shsjp-heavy.woff") format("woff");
}
@font-face {
	font-family: "shsjp";
	font-weight: 700;
	font-display: swap;
	src: url("fonts/shsjp-bold.woff2") format("woff2"),
		 url("fonts/shsjp-bold.woff") format("woff");
}
@font-face {
	font-family: "shsjp";
	font-weight: 500;
	font-display: swap;
	src: url("fonts/shsjp-medium.woff2") format("woff2"),
		 url("fonts/shsjp-medium.woff") format("woff");
}
@font-face {
	font-family: "shsjp";
	font-weight: 400;
	font-display: swap;
	src: url("fonts/shsjp-normal.woff2") format("woff2"),
		 url("fonts/shsjp-normal.woff") format("woff");
}

body {
	font-family: "shsjp", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-weight: 400;
	line-height: 1.7;
}
.container {
	max-width: 980px;
	padding: 0 32px;
}

/* 見出し */
h1 {
	font-family: "shsjp";
	font-weight: 900;
	letter-spacing: 0.02em;
	font-size: 52px;
	line-height: 36px;
	text-align: center;
	padding-bottom: 10px;
	margin-bottom: 40px;
	color: #390f8a;
	border-bottom: 1px solid #50dccf;
}
@media (max-width: 768px) {
	h1 {
		font-size: 40px;
	}
}
h1 .sub_title {
	font-family: "shsjp";
	font-weight: 400;
	color: #06a3b1;
	font-size: 18px;
	line-height: 26px;
}
h1 .sub_title_ja {
	font-family: "shsjp";
	font-weight: 400;
	color: #06a3b1;
	font-size: 18px;
	line-height: 26px;
}

h2 {
	font-family: "shsjp";
	font-weight: 700;
	font-size: 28px;
	line-height: 36px;
	margin-top: 36px;
	padding-bottom: 5px;
	margin-bottom: 10px;
	color: #000000;
	border-bottom: 1px solid #e5e5e5;
}

h3 {
	font-family: "shsjp";
	font-weight: 500;
	font-size: 20px;
	line-height: 28px;
	margin-top: 20px;
}

h4 {
	font-family: "shsjp";
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
}

h5 {
	font-family: "shsjp";
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
}

p {
	font-family: "shsjp";
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 8px;
}
b {
	font-family: "shsjp";
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
}
a {
	font-family: "shsjp";
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #CC0000;
	text-decoration: none;
}
a.black {
	color: #000000;
}
.small-text {
	font-family: "shsjp";
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	color: #666;
}
/*
	ボタン
*/
.btn-primary {
	background-color: #390f8a;
	border-color: #390f8a;
	color: #fff;
	font-weight: 500;
}
.btn-primary:hover {
	background-color: #f3f0ff;
	border-color: #d6ccff;
	color: #5b2dbd;
}
.btn-support {
	background-color: #f0f0f0;
	border: 1px solid #cccccc;
	color: #666666;
	font-weight: 500;
	border-radius: 6px;
	transition: all 0.15s ease;
}

.btn-support:hover {
	background-color: #f3f0ff;
	border-color: #d6ccff;
	color: #5b2dbd;
}
/*
	トップページ
*/
#top_image {
	text-align: center;
	max-width: 488px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}
#top_image img {
	width: 100%;
}
.lead {
	text-align: center;
	margin-top: 50px;
	margin-botom: 30px;
	font-size: 14px;
}
/* PC / SP 切替 */
.pc { display: block; }
.sp { display: none; }

@media (max-width: 768px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* PC用 */
/* 旧 .qprio-banner → 汎用化 */
.app-banner {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  cursor: pointer;
}

.app-banner img {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  transition: opacity 0.4s ease;
}

.app-banner .large {
  opacity: 0;
}

.app-banner.active {
  height: 320px;
}

.app-banner.active .large {
  opacity: 1;
}

.app-banner.active .small {
  opacity: 0;
}

/* 閉じるとき */
.app-banner.closing {
  transition: height 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.app-banner.closing img {
  transition: opacity 0.8s ease;
}

/* SP用 */
.qprio-banner-sp img {
  width: 100%;
  height: auto;
  display: block;
}

/*
	アプリ一覧
*/
.app-list {
  max-width: 980px;
  margin: 0 auto;
}

.app-item {
  position: relative;
}

/* NEWバッジ */
.app-item {
  position: relative;
}

/* バッジ本体 */
.badge-wrap {
  position: absolute;
  top: -24px;   /* 本体を上に出す */
  left: 0;
  z-index: 10;
}

/* サイズ固定 */
.badge-wrap img {
  width: 110px;
  height: 30px;
  display: block;
  filter: saturate(0.9);
  opacity: 0.95;
}

/* ストアボタン */
.app-store-area img {
  height: 40px;
  margin-right: 10px;
}
.store-badge {
  margin: 10px 0 25px;
}
.side-menu {
  position: sticky;
  top: 100px;
}

/* サイドメニュー */
.side-menu a {

  display: block;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #f3eaff;           /* 薄紫 */
  color: #5a2ca0;                /* ロゴ寄りパープル */
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
      font-family: "shsjp";
	font-weight: 600;
  transition: all 0.25s ease;
  transition: 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.side-menu a:hover {
  background: #5a2ca0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(90, 44, 160, 0.25);
}
.back-buttons {
  margin-top: 20px;
}

.btn-back {
  display: inline-block;
  padding: 10px 18px;
  margin-right: 10px;
  margin-bottom: 10px;

  background: #f3eaff;   /* 薄紫 */
  color: #5a2ca0;        /* ロゴ紫 */

  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;

  transition: all 0.25s ease;
}

.btn-back:hover {
  background: #5a2ca0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(90, 44, 160, 0.25);
}
.btn-back {
  display: inline-block;
  padding: 10px 18px;
  margin-right: 10px;
  margin-bottom: 10px;

  background: #f3eaff;
  color: #5a2ca0;

  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;

  transition: all 0.25s ease;
}

.btn-back:hover {
  background: #5a2ca0;
  color: #fff;
}
/* メインボタン */
.btn-back.main {
  display: inline-block;
  padding: 10px 18px;
  background: #f3eaff;
  color: #5a2ca0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* サブは“リンク扱い”にする */
.btn-back-link {
  display: inline-block;
  margin-left: 10px;
  color: #888;
  text-decoration: none;
}

/* ホバー */
.btn-back-link:hover {
  color: #5a2ca0;
  text-decoration: underline;
}
/* ←ここ重要 */
.btn-back.secondary {
  background: transparent;
  color: #777;
  box-shadow: none;
}

.btn-back.secondary:hover {
  background: transparent;
  color: #5a2ca0;
  text-decoration: underline;
}
.back-buttons a {
  display: inline-block;
  padding: 10px 16px;
  margin-right: 10px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

.mail-link {
  color: #000;
  text-decoration: none;
}

.mail-link:hover {
  text-decoration: underline;
}

/* FAQ */
.faq-block {
  margin-bottom: 18px;
}

.faq-block h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 6px;
}

.faq-block p {
  margin: 0 0 12px;
  padding-left: 24px; /* ← 20〜30px内側 */
  line-height: 1.6;
}

.support-mail {
  text-align: right;
  margin-top: 30px;
}

.support-mail a {
  color: #000;
  text-decoration: none;
}

.support-mail a:hover {
  text-decoration: underline;
}

/* 1個目（Qprioトップ） */
.back-buttons a:first-child {
  background: #f3eaff;
  color: #5a2ca0;
}

/* 2個目（一覧） */
.back-buttons a:last-child {
  background: #eee;
  color: #666;
}
/* サブボタン（ちょい控えめ） */
.btn-back.secondary {
  background: #eee;
  color: #555;
}

.btn-back.secondary:hover {
  background: #777;
  color: #fff;
}
/* アプリ */
.qr-flow-img {
  max-width: 700px;
  width: 100%;
  margin: 40px auto;
  display: block;
}

@media (max-width: 767px) {
  .side-menu {
    position: static;

  }
}
@media (max-width: 767px) {
  .side-menu {
    position: static;
  }
}