@charset "UTF-8";
.dg-result-html .pcNone { display: none !important; }
.dg-result-html .spNone { display: block !important; }
.mb{
	margin-bottom: 30px;
}
@media (max-width:767px) {
.dg-result-html .pcNone { display: block !important; }
.dg-result-html .spNone { display: none !important; }
	.mb{
	margin-bottom: 20px;
}
}

/*-----------------------------------
  シミュレーター
-----------------------------------*/
.dg-wrap {
 max-width: 1000px;
 margin: 20px auto;
	 background: #fff;
	border-radius: 15px;
	padding: 20px;
	border: 2px solid #1e73be;
}
.dg-q {
 font-size: 2.6rem;
 font-weight: 700;
 margin: 0 0 18px;
 text-align: center;
}
.dg-q-no {
  display: inline-block;
  margin-right: 0.5em;
  font-weight: 700;
  color: #1e73be;
}
.dg-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 14px
}
.dg-btn {
 padding: 0px;/*40px 0;*/
 border: 1px solid #ccc;
 background-color: #fff;
 transition: all .1s;
 cursor: pointer;
 font-size: 2rem;
 text-align: center;
 color: #333;
  font-weight: bold;
}
.dg-btn:hover {
	border: 1px solid #1e73be;
 transition: all .1s;
 color: #fff;
}
.dg-ctrl {
 display: flex;
 gap: 10px;
 margin-top: 16px
}
.dg-body {
 text-align: center;
 background: #fff;
 max-width: 750px;
 margin: 0 auto;
 /*padding: 40px 0;*/
}
.dg-answer {
	color: #fff;
    border-radius: 8px;
    padding: 20px 30px;
    display: table;
    margin: 0 auto;
    font-size: 1.6em;
    font-weight: bold;
    position: relative;
	line-height: 1.2;
	
	background:
      radial-gradient(circle 5px at 16px 16px,
        #fff 0 5px, transparent 6px),                             /* 左上 */
      radial-gradient(circle 5px at calc(100% - 16px) 16px,
        #fff 0 5px, transparent 6px),                             /* 右上 */
      radial-gradient(circle 5px at 16px calc(100% - 16px),
        #fff 0 5px, transparent 6px),                             /* 左下 */
      radial-gradient(circle 5px at calc(100% - 16px) calc(100% - 16px),
        #fff 0 5px, transparent 6px),                             /* 右下 */
      #333;
}

.dg-answer span{
	font-size: 30px;
}

.dg-answer--docomo-hikari_ttl{
    background-color: #bf0000;/*#dd2723;*/
}
.dg-answer--au-hikari_ttl{
    background-color: #e6521b;
}
.dg-answer--softbank-hikari_ttl{
    background-color: #0c5dce;
}
.dg-answer--other-hikari_ttl{
	background-color: #00aded;/*#002D56;*/
}
.dg-answer--other-hikari_ttl span span{
	color: #ffff00;
}
@media (max-width:767px) {
/*.dg-answer--other-hikari_ttl span span{
	display: block;
}*/
	.dg-answer--other-hikari_ttl span{
	font-size:25px; 
}
}
.dg-link {
 display: inline-block;
 margin-top: 30px;
 padding: 8px 30px;
 border-radius: 100px;
 background: #ff7f32;
 color: #fff;
 text-decoration: none;
 font-weight: 700;
	font-size: 20px;
}
.dg-back {
 background: none;
 border: none;
 color: #666;
 cursor: pointer
}
.dg-back .fa-chevron-left {
  margin-right: 4px;
}
.dg-back .fa-angles-left {
  margin-right: 4px;
}
.dg-progress {
 font-size: 1rem;
 color: #888;
}
/* result ::::::::::::::::::::::::::::::::::::::::::::::::*/
.dg-result-html{
	margin: 2em 0 0;/*1em 2em 0;*/
}
.dg-result-html h3{
   font-weight: bold;
    border-radius: 42px;
    padding: 10px 0px;
    display: table;
    margin: 0 auto;
    font-size: 1.7em;
    position: relative;
}
.dg-result-html h3.docomo_mds{
    color: #bf0000;/*#dd2723;*/
}
.dg-result-html h3.au_mds{
    color: #e6521b;
}
.dg-result-html h3.softbank_mds{
    color: #0c5dce;
}

.dg-result-html p{
	text-align: left;
	font-size: clamp(12px, 6vw, 17px);
}
.dg-result-html img{
	margin-top: 1em;
}
.dg-result-html .chusyaku{
	margin: 10px 0 2em;
	font-size: 12px;
}
/* sp ----------------------------------------*/
@media screen and (max-width: 767px) {
  .dg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px; /* ここはお好みで調整 */
  }
	.dg-result-html{
	margin: 1em 1em 0;
}
.dg-result-html h3{
    line-height: 1.5;
}
.dg-result-html p{
	font-size: clamp(13px, 3vw, 15px);
}
	.dg-result-html .chusyaku{
	margin-top: 12px;
	font-size: 10px;
		line-height: 1.2;
}
	.dg-link {
 margin-top: 15px;
		font-size: 15px;
}
}
/* 診断結果ボタン :::::::::::::::::::::::::::::::::::::::::::*/
/*.dg-result-links {
  margin-top: 24px;
}*/
.diag-actions {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.diag-actions li {
  flex: 1 1 0;
}
.diag-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.diag-btn__icon {
  flex-shrink: 0;
}
.diag-btn__text {
  flex: 1 1 auto;
}
.diag-btn__arrow {
  flex-shrink: 0;
}
.diag-btn--primary {
  background: #00315F;
  color: #fff;
}

.diag-btn--secondary {
  background: #ffffff;
  color: #333;
  border: 2px solid #00315F;
}

.diag-btn--tel {
  background: #F20544;
  color: #fff;
}
.diag-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
/* sp ------------------------------- */
@media (max-width: 767px) {
  .diag-actions {
    flex-direction: column;
  }

  .diag-actions li {
    flex: 1 1 auto;
  }

  .diag-btn {
    width: 100%;
  }
}


/*------------------------------------------------
  質問切り替えアニメーション
-------------------------------------------------*/
.dg-inner {
  /* アニメ時の基準。必要なら position: relative; 追加も可 */
  filter: blur(0);
  opacity: 1;
  background-color: rgba(255, 255, 255, 0); /* 通常時は透明 */
  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease; /* 背景も一緒にヌルッと変える */
}

/* 新しく表示されるとき：下からふわっと */
.dg-inner--enter {
  animation: dgEnter 0.25s ease;
}

/* 診断結果用：秒数だけ長くする例（0.8秒） */
.dg-inner--enter-result {
  animation: dg-fade-in-up 0.8s ease both;
}

@keyframes dg-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 進むとき：左にフェードアウト */
.dg-inner--leave-forward {
  animation: dgLeaveForward 0.25s ease;
}

/* 戻るとき：右にフェードアウト */
.dg-inner--leave-back {
  animation: dgLeaveBack 0.25s ease;
}

@keyframes dgEnter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dgLeaveForward {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-10px); }
}

@keyframes dgLeaveBack {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(16px); }
}

/* カード枠をローディングの基準にする */
.dg-wrap {
  position: relative; /* これ大事 */
}

/* 中身だけぼかす */
.dg-inner--blur {
  filter: blur(3px);
  pointer-events: none;
    opacity: 0.5; /* お好みで 0.4〜0.7 くらいに調整 */
  background-color: rgba(255, 255, 255, 0.6);
}

/* ローディングオーバーレイ：枠の中だけを覆う */
.dg-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ローディングボックス */
.dg-loading {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

/* スピナー */
.dg-loading__spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(0,0,0,0.1);
  border-top-color: #1AAEC3;
  animation: dg-spin 1s linear infinite;
  margin: 0 auto 12px;
}

.dg-loading__text {
  font-size: 14px;
  line-height: 1.6;
}

@keyframes dg-spin {
  to { transform: rotate(360deg); }
}
