@charset "UTF-8";

/* ==================================================
   NISA タブ切り替えエリア
================================================== */
.nisa-tab-section {
  position: relative;
  width: 100%;
  margin: 0 auto 60px;
}

/* タブのラッパー */
.nisa-tab-wrap {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}

.nisa-tab-nav {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px; /* タブ同士の間隔 */
  list-style: none;
  padding: 0;
  margin: 0;
  /* タブが大きくなった分、潜り込み量を調整 */
  margin-bottom: -18px;
}

/* 各タブ共通 */
.nisa-tab-item {
  position: relative;
  /* 36pxの文字が綺麗に1行で収まるよう幅を拡張 */
  width: 440px;
  list-style: none;
  margin: 0;
  padding: 0;
  /* 【最背面】：コンテンツエリア(z-index: 2)の奥 */
  z-index: 1;
  /* くっきりした右下の影 */
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.25));
  transition: z-index 0.2s, filter 0.2s;
}

.nisa-tab-item:before {
  display: none !important;
}

/* 【最前面】：選択中（アクティブ）のタブ */
.nisa-tab-item.is-active {
  /* コンテンツエリア(z-index: 2)の手前 */
  z-index: 3;
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.35));
}

/* タブボタン共通スタイル */
.nisa-tab-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* 36pxに合わせてボタンの高さを拡大 */
  height: 94px;
  border: none;
  /* サイズに合わせて角丸も調整 */
  border-radius: 14px;
  color: #ffffff;
  /* ご指定のフォントサイズ */
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
}

/* --- テーマカラー設定（タブボタン） --- */
/* こどもNISA：青 */
.nisa-tab-item.is-child .nisa-tab-btn {
  background-color: #20b6ed;
}
/* 成人NISA：緑 */
.nisa-tab-item.is-adult .nisa-tab-btn {
  background-color: #9fc71e;
}

/* --- アクティブタブ：吹き出し矢印（下向き三角） --- */
.nisa-tab-item.is-active::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  /* 縦（深さ）を伸ばし、横幅を細くして鋭角に調整 */
  border-width: 18px 10px 0 10px;
}
/* こどもNISAアクティブ時の矢印色 */
.nisa-tab-item.is-child.is-active::after {
  border-color: #20b6ed transparent transparent transparent;
}

/* 成人NISAアクティブ時の矢印色 */
.nisa-tab-item.is-adult.is-active::after {
  border-color: #9fc71e transparent transparent transparent;
}


/* --- タブコンテンツエリア --- */
.nisa-tab-contents {
  position: relative;
  /* 【中間層】：非アクティブ(1)より手前、アクティブ(3)より奥 */
  z-index: 2;
  width: 100%;
}

.nisa-tab-panel {
  display: none;
  width: 100%;
  padding: 50px 40px 50px;
}

.nisa-tab-panel.is-active {
  display: block;
}

/* コンテンツ背景色（薄い色） */
.nisa-tab-panel.is-child {
  background-color: #6bc7f1;
}

.nisa-tab-panel.is-adult {
  background-color: #c6dc79;
}

.nisa-panel-inner {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}


/* Row
////////////////////////////// */
.c-row {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin-right: -8px;
	margin-left: -8px;

	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
}

.c-row + .c-row {
	margin-top: 24px;
}

.c-row > [class*="c-col"] {
	float: left;
	padding-right: 8px;
	padding-left: 8px;
	max-width: 100%;
	background-clip: content-box;
	list-style: none;

	-webkit-flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
}

.c-row:after {
	display: block;
	clear: both;
	height: 0;
	content: "";
}



/* ==================================================
   スマートフォン表示（767px以下）
   ※画面幅に合わせて自動調整
================================================== */
@media screen and (max-width: 767px) {
  .nisa-tab-section {
  margin: 12px auto 40px;
  }

  .nisa-tab-wrap {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .nisa-tab-nav {
    gap: 8px;
    margin-bottom: -12px;
  }

  .nisa-tab-item {
    flex: 1;
    width: auto;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.25));
  }

  .nisa-tab-item.is-active {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
  }

  .nisa-tab-btn {
    height: 72px;
    font-size: 16px;
    border-radius: 8px;
  }

.nisa-tab-item.is-active::after {
    border-width: 10px 6px 0 6px;
  }

  .nisa-tab-panel {
    padding: 30px 0 40px;
  }

  .nisa-panel-inner {
    width: 100%;
    padding: 0 16px;
  }
    
    
/* Row
////////////////////////////// */
	.c-row {
		margin-right: -4px;
		margin-left: -4px;
	}

	.c-row + .c-row {
		margin-top: 16px;
	}

	.c-row > [class*="c-col"] {
		padding-right: 4px;
		padding-left: 4px;
	}

	.c-col-sp-auto {
		width: auto;
	}

	.c-col-sp-w12,
	.c-col-sp-1of1,
	.c-col-sp-2of2,
	.c-col-sp-3of3,
	.c-col-sp-4of4,
	.c-col-sp-5of5,
	.c-col-sp-9of9,
	.c-col-sp-6of6 {
		width: 100%;
	}

	.c-row .c-col-sp-w12 + .c-col-sp-w12,
	.c-row .c-col-sp-w12 + .c-col-sp-1of1,
	.c-row .c-col-sp-w12 + .c-col-sp-2of2,
	.c-row .c-col-sp-w12 + .c-col-sp-3of3,
	.c-row .c-col-sp-w12 + .c-col-sp-4of4,
	.c-row .c-col-sp-w12 + .c-col-sp-5of5,
	.c-row .c-col-sp-w12 + .c-col-sp-6of6,
	.c-row .c-col-sp-w12 + .c-col-sp-8of8,
	.c-row .c-col-sp-w12 + .c-col-sp-9of9,
	.c-row .c-col-sp-1of1 + .c-col-sp-w12,
	.c-row .c-col-sp-1of1 + .c-col-sp-1of1,
	.c-row .c-col-sp-1of1 + .c-col-sp-2of2,
	.c-row .c-col-sp-1of1 + .c-col-sp-3of3,
	.c-row .c-col-sp-1of1 + .c-col-sp-4of4,
	.c-row .c-col-sp-1of1 + .c-col-sp-5of5,
	.c-row .c-col-sp-1of1 + .c-col-sp-6of6,
	.c-row .c-col-sp-1of1 + .c-col-sp-8of8,
	.c-row .c-col-sp-1of1 + .c-col-sp-9of9,
	.c-row .c-col-sp-2of2 + .c-col-sp-w12,
	.c-row .c-col-sp-2of2 + .c-col-sp-1of1,
	.c-row .c-col-sp-2of2 + .c-col-sp-2of2,
	.c-row .c-col-sp-2of2 + .c-col-sp-3of3,
	.c-row .c-col-sp-2of2 + .c-col-sp-4of4,
	.c-row .c-col-sp-2of2 + .c-col-sp-5of5,
	.c-row .c-col-sp-2of2 + .c-col-sp-6of6,
	.c-row .c-col-sp-2of2 + .c-col-sp-8of8,
	.c-row .c-col-sp-2of2 + .c-col-sp-9of9,
	.c-row .c-col-sp-3of3 + .c-col-sp-w12,
	.c-row .c-col-sp-3of3 + .c-col-sp-1of1,
	.c-row .c-col-sp-3of3 + .c-col-sp-2of2,
	.c-row .c-col-sp-3of3 + .c-col-sp-3of3,
	.c-row .c-col-sp-3of3 + .c-col-sp-4of4,
	.c-row .c-col-sp-3of3 + .c-col-sp-5of5,
	.c-row .c-col-sp-3of3 + .c-col-sp-6of6,
	.c-row .c-col-sp-3of3 + .c-col-sp-8of8,
	.c-row .c-col-sp-3of3 + .c-col-sp-9of9,
	.c-row .c-col-sp-4of4 + .c-col-sp-w12,
	.c-row .c-col-sp-4of4 + .c-col-sp-1of1,
	.c-row .c-col-sp-4of4 + .c-col-sp-2of2,
	.c-row .c-col-sp-4of4 + .c-col-sp-3of3,
	.c-row .c-col-sp-4of4 + .c-col-sp-4of4,
	.c-row .c-col-sp-4of4 + .c-col-sp-5of5,
	.c-row .c-col-sp-4of4 + .c-col-sp-6of6,
	.c-row .c-col-sp-4of4 + .c-col-sp-8of8,
	.c-row .c-col-sp-4of4 + .c-col-sp-9of9,
	.c-row .c-col-sp-5of5 + .c-col-sp-w12,
	.c-row .c-col-sp-5of5 + .c-col-sp-1of1,
	.c-row .c-col-sp-5of5 + .c-col-sp-2of2,
	.c-row .c-col-sp-5of5 + .c-col-sp-3of3,
	.c-row .c-col-sp-5of5 + .c-col-sp-4of4,
	.c-row .c-col-sp-5of5 + .c-col-sp-5of5,
	.c-row .c-col-sp-5of5 + .c-col-sp-6of6,
	.c-row .c-col-sp-5of5 + .c-col-sp-8of8,
	.c-row .c-col-sp-5of5 + .c-col-sp-9of9,
	.c-row .c-col-sp-6of6 + .c-col-sp-w12,
	.c-row .c-col-sp-6of6 + .c-col-sp-1of1,
	.c-row .c-col-sp-6of6 + .c-col-sp-2of2,
	.c-row .c-col-sp-6of6 + .c-col-sp-3of3,
	.c-row .c-col-sp-6of6 + .c-col-sp-4of4,
	.c-row .c-col-sp-6of6 + .c-col-sp-5of5,
	.c-row .c-col-sp-6of6 + .c-col-sp-6of6,
	.c-row .c-col-sp-6of6 + .c-col-sp-8of8,
	.c-row .c-col-sp-6of6 + .c-col-sp-9of9,
	.c-row .c-col-sp-8of8 + .c-col-sp-w12,
	.c-row .c-col-sp-8of8 + .c-col-sp-1of1,
	.c-row .c-col-sp-8of8 + .c-col-sp-2of2,
	.c-row .c-col-sp-8of8 + .c-col-sp-3of3,
	.c-row .c-col-sp-8of8 + .c-col-sp-4of4,
	.c-row .c-col-sp-8of8 + .c-col-sp-5of5,
	.c-row .c-col-sp-8of8 + .c-col-sp-6of6,
	.c-row .c-col-sp-8of8 + .c-col-sp-8of8,
	.c-row .c-col-sp-8of8 + .c-col-sp-9of9,
	.c-row .c-col-sp-9of9 + .c-col-sp-w12,
	.c-row .c-col-sp-9of9 + .c-col-sp-1of1,
	.c-row .c-col-sp-9of9 + .c-col-sp-2of2,
	.c-row .c-col-sp-9of9 + .c-col-sp-3of3,
	.c-row .c-col-sp-9of9 + .c-col-sp-4of4,
	.c-row .c-col-sp-9of9 + .c-col-sp-5of5,
	.c-row .c-col-sp-9of9 + .c-col-sp-6of6,
	.c-row .c-col-sp-9of9 + .c-col-sp-8of8,
	.c-row .c-col-sp-9of9 + .c-col-sp-9of9 {
		margin-top: 16px;
	}
    
}