@charset "UTF-8";

html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, form, label, legend, footer, header, hgroup, main, menu, nav, section {
	font-weight: inherit;
}

img {
	max-width: 100%;
}

.mark_kome,
.mark_aste,
.mark_bull {
	text-indent: -1.5em;
	margin-left: 1.5em;
	display: inline-block;
}
.mark_kome:before,
.mark_aste:before,
.mark_bull:before {
	display: inline-block;
	width: 1.5em;
	text-indent: 0;
}
.mark_kome:before {
    content: '※';
}
.mark_aste:before {
    content: '＊';
}
.mark_bull:before {
    content: '・';
}

.float_clear::after {
	content: "";
	display: block;
	clear: both;
}

.waku_blue01 {
	background: #E5F1F2;
	padding: 15px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1.5rem;;
}

/* 左メニュー */
#nintei_menu {
	width: 260px;
}

#nintei_l_menu {
	width: 100%;
	margin: 0;
}

#nintei_l_menu ul {
	display: flex;
	flex-direction: column;
	width: 100%;
	list-style: none;
	border-top: 1px solid #1E8590;
	margin: 0;
	padding: 0;
}

#nintei_l_menu ul li {
	line-height: 1.3em;
	border-bottom: 1px solid #1E8590;
}

#nintei_l_menu ul li a {
	display: block;
	padding: 10px 5px 10px 25px;
	text-decoration: none;
	-moz-transition-duration: 0.3s;
	transition-duration: 0.3s;
	color: #336367;
	background: #f6fafa;
	position: relative;
	font-size: 1.4rem;
}
#nintei_l_menu ul li a::before {
	position: absolute;
	font-family:'FontAwesome';
	content: "\f0da";
	top: 11px;
	left: 13px;
	font-size: 1.2rem;
	font-weight: 400;
}
#nintei_l_menu ul li a.current {
	padding: 10px 5px 12px 28px;
	font-weight: 500;
}
#nintei_l_menu ul li a.current::before {
	content: "\f138";
	top: 11px;
	left: 6px;
	font-size: 1.6rem;
	font-weight: 400;
	color: #336367;
}

#nintei_l_menu ul li a:hover/*,
#nintei_l_menu ul li a.current*/ {
	background: #FFF;
	text-decoration: none;
}

/*#nintei_l_menu ul li a.current {
	font-weight: 500;
	color: #222222;
}*/

#nintei_l_menu ul li:hover > ul {
	list-style: none;
	display: block;
}

#nintei_l_menu ul ul {
	display: none;
	position: absolute;
	top: 0;
	left: 230px;
	width: 230px;
}

#nintei_l_menu ul li ul li { 
	border-right: 1px solid #1E8590;
	border-left: 1px solid #1E8590;
}


#nintei_l_menu ul:after {
	clear: both;
	content: "";
	display: block;
	margin-bottom: 0;
}

.msr_btn02 {
  width: 130px;
	height: 40px;
	position: relative;
	float: right;
}
.msr_btn02 a {
  display: block;
  padding: 9px 5px 5px 35px;
  position: relative;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  width: 100%;
	height: 100%;
  box-sizing: border-box;
	color: #F3F6FA;
	font-size: 14px;
	background: #1e8590;
}
.msr_btn02 a:hover {
  opacity: 0.7;
}
.msr_btn02 a::before {
	position: absolute;
	font-family:'FontAwesome';
	content: "\f101";
	top: 13px;
	left: 15px;
}
.msr_btn02 a:hover::after {
	right: 7px;
}

#nintei_main a.btn01 {
	box-shadow:inset 0px 1px 0px 0px #a4e271;
	background:linear-gradient(to bottom, #89c403 5%, #77a809 100%);
	background-color:#89c403;
	border-radius:6px;
	border:1px solid #74b807;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:1.6rem;
	padding:15px 40px 15px 20px;
	text-decoration:none;
	position: relative;
	line-height: 1;
}
#nintei_main a.btn01::after {
	position: absolute;
	font-family:'FontAwesome';
	content: "\f101";
	right: 15px;
	top: 13px;
	font-size:2.2rem;
	color:rgba(255,255,255,0.50);
}
#nintei_main a.btn01:hover {
	background:linear-gradient(to bottom, #77a809 5%, #89c403 100%);
	background-color:#77a809;
}
#nintei_main a.btn01:active {
	position:relative;
	top:1px;
}

#nintei_main .btn02 { 
  color: #484848;
  display: inline-block;
  height: 50px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 46px;
  background: #eaeef1;
  text-decoration: none;
  box-sizing: border-box; 
  margin: 0.5em 0;
}
#nintei_main .btn02-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
}
#nintei_main .btn02-icon i {
  line-height: 46px;
  font-size: 25px;
}
#nintei_main .btn02-text {
  display: inline-block;
  padding: 0 20px;
  height: 50px;
  text-align: center;
  border-bottom: solid 4px #dcdcdc;
}
#nintei_main .btn02-icon--pdf {
  background:#fd7171;
  border-bottom: solid 4px #ef4d4d;
}
#nintei_main .btn02:hover {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
}
#nintei_main .btn02:hover .btn02-text,
#nintei_main .btn02:hover .btn02-icon {
  border-bottom: none;
}

.tabcontent {
  display: none;
  padding: 0;
  text-align: center;
}
.tabcontent table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.tabcontent th {
  white-space: nowrap;
}
/* 表示領域が767.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media print, screen and (max-width: 767.98px) {
  .tabcontent {
    overflow-x: scroll;
  }
  .tabcontent table {
    min-width: 750px;
  }
}

div#nintei_pc_wrap {
	width: 100%;
  max-width: 1200px;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
  margin: 0 auto;
  padding: 0 10px 20px;
  position: relative;
  box-sizing: border-box;
	font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
}

/* 表示領域が575.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media print, screen and (max-width: 575.98px) {
  div#nintei_pc_wrap {
    padding: 0 0 20px;
  }
}

.region-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 通常は4列 */
  gap: 5px;
}

@media (max-width: 767px){
  .region-grid{
    grid-template-columns: repeat(2, 1fr); /* 2列 */
  }
}

/* 中身の見た目を整える用（任意） */
.region-grid > div{
  box-sizing: border-box;
}

/* メイン右側部分 */
#nintei_wrapper {
	width: calc(100% - 300px);
}
#nintei_wrapper_form {
	margin: 0 auto;
	width: calc(100% - 300px);
}
#nintei_wrapper_free {
	width: 100%;
}

/* メインコンテンツ */
#nintei_main {
	background: #fff;
	padding: 0;
	width: 100%;
}

/* メニュー */
#nintei_menu {
	width: 260px;
}
#nintei_menu_right {
	width: 100%;
	padding: 20px 0px;
	margin: auto;
	background-color: #4A88DD;
}

.nintei_ttl1 {
	background: #FFF url(../image/bn_bg02.gif) repeat-x left top;
	border-bottom: 1px solid #DDD;
	padding: 13px 0 15px 25px;
	margin-bottom: 20px;
	font-size: 2.0rem;
}
.ttl1_nintei {
	border-left-color: #21405A;
}
.nintei_ttl2 {
	background: #F4F4F4;
	border: 1px solid #ADADAD;
	border-top: 4px solid #ADADAD;
	padding: 9px 5px 10px 15px;
	margin-bottom: 15px;
	font-size: 2.0rem;
	font-weight: bold;
}
.nintei_ttl3 {
	border-left: 7px solid #63abb1;
	border-bottom: 1px solid #CCC;
	padding: 3px 5px 5px 15px;
	margin-bottom: 15px;
	font-size: 1.8rem;
	font-weight: 500;
}
#main h4.nintei_ttl4 {
  color: #1E8590;
	border-top: 2px solid #63abb1;
	background: #1e859027;
	padding: 6px 10px 9px;
	margin: 1em 0;
	font-size: 1.7rem;
	font-weight: 500;
}

#main h5.nintei_ttl5 {
  background: #63abb1;
	color: #FFF;;
	font-size: 1.5rem;
	font-weight: 500;
	padding: 8px 10px 7px;
	border-bottom: 1px solid #63abb1;
	border-left: 5px solid #63abb1;
	margin: 1em 0;
}


.box_ref01,
.box_ref02 {
	position: relative;
	margin: 1em auto;
	padding: 43px 15px 10px;
	background: #e1eef0;
	border-radius: 5px;
}
.box_ref02 {
	background: #f7d7e5;
}

.box_ref01 .box-title,
.box_ref02 .box-title {
	position: absolute;
	display: inline-block;
	top: 10px;
	left: 10px;
	padding: 0 15px 2px;
	background: #1E8590;
	color: #FFF;
	font-weight: bold;
	border-radius: 50px;
}
.box_ref02 .box-title {
	background: #f3091c;
}

.box_ref01 ul,
.box_ref02 ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.box_ref01 ul li a,
.box_ref02 ul li a {
	line-height: 1.2em;
	display: inline-block;
	padding: 5px 0 5px 30px;
	-moz-transition-duration: 0.3s;
	transition-duration: 0.3s;
	position: relative;
}
.box_ref01 ul li a::before,
.box_ref02 ul li a::before {
	position: absolute;
	font-family:'FontAwesome';
	content: "\f0da";
	top: 6px;
	left: 15px;
	font-weight: 400;
	color: #1E8590;
}

.nintei_box01 {
	padding: 1em;
	margin: 1em 0;
	border: double 5px #1E8590;
	border-radius: 10px;
	background: #ffffff;
}
.nintei_box01 p:first-child {
	margin-top: 0;
}
.nintei_box01 p:last-child {
	margin-bottom: 0;
}


#ac_menu {
  list-style: none;
	width: 100%;
	max-width: 700px;
	padding: 0;
	margin: 2em auto;
}

#ac_menu > li.oya,
#ac_menu > li.oya_0,
#ac_menu > li.oya_1 {
	border: 1px solid #1E8590;
	border-top: none;
	line-height: 2.8;
}
#ac_menu > li.oya {
	background: #1E8590;
	color: #FFF;
	font-size: 1.8rem;
	padding: 0 20px 2px 20px;
}
#ac_menu li.oya_0 {
	background: #FFF;
}
#ac_menu li.oya_1 {
	position: relative;
	/*background: #F3F6FA;*/
	background: #E5F1F2;
}
#ac_menu li {
	width: 100%;
	display: block;
}
#ac_menu li:first-child  {
	border-top: 1px solid #1E8590;
}
#ac_menu li ul li {
	border-top: 1px dotted #1E8590;
}
#ac_menu li a {
	position: relative;
	color: #336367;
	padding: 0 10px 2px 30px;
	display: block;
	text-decoration: none;
	background: #f6fafa;
  -moz-transition: .3s;
  -webkit-transition: .3s;
  -o-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}

#ac_menu > li:first-child > a {
  border-top: 0px;
}

/*#ac_menu li.oya_1 > a:hover,
#ac_menu li.oya_1 > a.select {
	background: #E5F1F2;
	cursor: pointer;
}
#ac_menu li.oya_0 a:hover {
	cursor: pointer;
	background: #E5F1F2;
	padding-left: 32px;
}*/

#ac_menu li ul {
	margin: 0;
	padding: 0;
}

#ac_menu li ul li a {
	padding-left: 47px;
	line-height: 2.4;
}

#ac_menu li ul li:first-child a {
  border-top: 0px;
}

#ac_menu li ul li a {
	background: #FFF;
	padding-left: 48px;
}

#ac_menu li.oya_0 a::before,
#ac_menu li.oya_1 a::before,
#ac_menu ul li li a::before {
	position: absolute;
	font-family:'Font Awesome 7 Pro';
	font-weight: 700;
}
#ac_menu li.oya_0 a::before,
#ac_menu li.oya_1 a::before {
	content: "\f054";
	top: 4px;
	left: 13px;
	font-size: 13px;
}
#ac_menu li.oya_1 a::before {
	content: "\f078";
}
#ac_menu li.oya_1 ul li a::before {
	content: "\f101";
	left: 23px;
}
#ac_menu li.oya_0 a:hover:before {
	left: 15px;
}
#ac_menu li.oya_1 ul li a:hover:before {
	left: 25px;
}
/*#ac_menu li.oya_1 > a:hover:before,
#ac_menu li.oya_1 > a.select:before {
	content: "\f078";
}*/

ul.nintei_ul01  {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.nintei_ul01 li a {
	line-height: 1.7em;
	padding: 3px 0 3px 20px;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	transition-duration: 0.3s;
	position: relative;
}
ul.nintei_ul01 li a::before {
	position: absolute;
	font-family:'FontAwesome';
	content: "\f0da";
	top: 3px;
	left: 5px;
	font-weight: 400;
}

ul.nintei_ul02,
ul.nintei_ul02a {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.nintei_ul02 > li {
	padding: 5px 0 5px 25px;
	position: relative;
}
ul.nintei_ul02a > li {
	padding: 0 0 0 25px;
	position: relative;
}
ul.nintei_ul02 > li::before,
ul.nintei_ul02a > li::before {
	position: absolute;
	font-family:'FontAwesome';
	left: 10px;
	font-weight: 400;
	color: #999;
}
ul.nintei_ul02 > li::before,
ul.nintei_ul02a > li::before {
	content: "\f0da";
}
ul.nintei_ul02 > li::before {
	top: 7px;
}
ul.nintei_ul02a > li::before {
	top: 1px;
}
ul.nintei_ul02 li ul.ul02_1 {
	margin: 0;
	padding-left: 1em;
}
ul.nintei_ul02 li ul.ul02_1 li {
	list-style:disc;
}

ul.nintei_ul02 li ul.ul02_1 {
	margin: 0;
	padding-left: 1em;
}
ul.nintei_ul02 li ul.ul02_1 li {
	list-style:disc;
}

.nintei_ttl03 {
	background: url(../image/menu_bg.jpg) repeat-x left center;
	border: 1px solid #DCC;
	margin: 15px 0 10px;
	padding: 5px 10px;
	font-size: 1.7rem;
	font-weight: 500;
}

.nintei_ttl04 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 12px;
  padding: 0 0 0 14px;
  border-left: 5px solid #078b94;
  background: transparent;
  color: #078b94;
  font-size: 1.9rem;
  font-weight: 700;
}

.nintei_ttl04::before {
  content: '\f02d';
  font-family: 'Font Awesome 7 Pro';
  color: #078b94;
  font-size: 2.4rem;
  font-weight: 700;
}


.nintei_ttl04.mypage-review-heading::before {
  content: '\f075';
}

.nintei_ttl04.mypage-video-heading::before {
  content: '\f144';
}

.nintei_ttl04 span {
	font-weight: 400;
	color: gray;
}

.nintei_ttl05 {
	border-right: 1px solid #D6D6D6;
	border-left: 7px solid #D6D6D6;
	border-top: 1px solid #D6D6D6;
	border-bottom: 1px solid #D6D6D6;
	margin-bottom: 5px;
	padding: 3px 10px;
	font-weight: 500;
}

/* 認定薬剤師講座一覧 */
.ttl13a {
	background: #EDEDDA;
	border-top: 3px solid #CCCC99;
	font-weight: bold;
	padding: 8px 0 7px 10px;
	color: #515128;
	
}

/* 認定薬剤師講座一覧 */
.ttl13b {
	background: #999966;
	border-top: 3px solid #CCCC99;
	color: #FFF;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 8px 0 6px 10px;
}


/* ------- 別ウインドウの囲み ------- */
.block00a {
  padding: 10px;
  width: 100%;
  max-width: 500px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1.5rem;
}

.block00b {
  padding: 10px;
  max-width: 600px;
  margin: 0 auto;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1.5rem;
}

.block01 {
  border: 3px double #B2B2B2;
  background-color: #FFFFFF;
  padding: 10px;
}

.block02 {
	border: 3px solid #8AC8E1;
	background-color: #E2EFF3;
	padding: 7px;
}


.block05 {
	border: 2px solid #999;
	padding: 1em;
}
.block05 p:first-child {
	margin-top: 0;
}
.block05 p:last-child {
	margin-bottom: 0;
}

.block11 {
	background: #F2F9FD;
	border: 2px solid #C8EBF9;
	padding: 1em;
}

.block12 {
	border: 2px solid #999;
	padding: 0.5em;
	width:550px;
}

.block13 {
	background: #fff0f5;
	border: 2px solid #999;
	padding: 1em;
	box-sizing: border-box;
}

.block14 {
	border: 2px solid #999;
	padding: 1em;
	box-sizing: border-box;
}

.block15 {
  background-color: #E9D2BC;
  padding: 3px;
}

.block_orange {
	position: relative;
	padding: .5em 1em;
	margin: 3em 0 1em;
	border: solid 3px #faab36;
	background:#ffffff;
}
.block_orange span {
	position: absolute;
	display: inline-block;
	bottom: 100%;
	left: -3px;
	padding: 3px 20px;
	height: 32px;
	line-height: 22px;
	font-size: 1.7rem;
	background:#faab36;
	font-weight: bold;
	border-radius: 5px 5px 0 0;
	color: #ffffff;
}
.block_orange p {
	margin: 0;
}


.qa {
	margin: 0.5em 0 1.5em;
}
.qa dt {
	position: relative;
	padding-left: 2.5em;
}
.qa dt::before {
	position: absolute;
	content:"Q. ";
	left: 12px;
	color: #999;
	font-weight: 700;
	font-size: 1.8rem;
}

.qa dd {
	position: relative;
	padding-top: 2.5em;
	border:1px solid #82dbe4;
}
.qa dd::before {
	position: absolute;
	content:"A. ";
	left: 14px;
	top: 10px;
	color: #82dbe4;
	font-weight: 700;
	font-size: 1.8rem;
}

.details {
	transition: .3s;
	overflow: hidden;
	margin-top: -10px;
	padding-bottom: 20px;
	&:last-of-type {
		margin-bottom: 0;
	}
}
.details[open] {
	margin-top: 0;
	padding-bottom: 10px;
} 
.details-summary {
	display: block;
	padding: 15px;
    transition: .3s;
	transform: translateY(10px);
	background-color: #8AC6E8;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	&:hover {
		cursor: pointer;
	}
}
.details-summary::-webkit-details-marker {
	display: none;
}
.details[open] .details-summary {
	transform: translateY(0);
}
.details-content {
	padding: 10px;
}

/*----------------------------------------------------------
  ナビゲーション部分
----------------------------------------------------------*/
#hnavi {
	margin: 0 0 15px;
	padding: 0;
	font-size: 1.2rem;
}

#hnavi ol {
	margin: 0;
	padding:0;
}

#hnavi li {
	display: inline; /* リストのインデントを消す */
	list-style:none;
}

#hnavi li i {
	color: #CCCCCC;
}
#hnavi li.home {
	padding:0 4px 0 0;
	background-image:none;
}
#hnavi li:after {
  padding: 0 7px 0 10px;
  color: #CCCCCC;
  font-family: FontAwesome;
  content: "\f0da";
}
#hnavi li:last-child:after {
  content: "";
}

#hnavi a { text-decoration: none; }
#hnavi a:link, 
#hnavi a:visited{ color: #0066CC; }
#hnavi a:hover,
#hnavi a:active	{ color: #FF0000; }

table.pctbl04 {
	background-color: #FFF;
	border-collapse: collapse;
	border-top :1px solid #CCC;
	border-left:1px solid #CCC;
	empty-cells: show;
	width: 100%;
	margin-top: 5px;
}
table.pctbl04 th {
	padding: 5px;
	background: #DBDBB7;
	border-right : 1px solid #CCC;
	border-bottom: 1px solid #CCC;
}

table.pctbl04 td {
	padding: 5px;
	border-right :1px solid #CCC;
	border-bottom:1px solid #CCC;
}

table.pctbl06 {
	margin-bottom: 1em;
}

td.pctbl06_td1 {
	background: #e1eef0;
	padding: 10px 15px;
}

td.pctbl06_td2 {
	background: #d6e9ea;
	padding: 10px 15px;
}

td.pctbl06_td3 {
	background: #ffffe5;
	padding: 10px 15px;
}

td.pctbl06_td4 {
	background: #f5f5f5;
	padding: 10px 15px;
}

td.pctbl06_td5 {
	background: #F6DFF9;
	padding: 10px 15px;
}

td.pctbl06_td6 {
	background: #E1F9CE;
	padding: 10px 15px;
}

/* 認定　申請書類 */
table.pctbl08 th,
table.pctbl08 td {
	padding: 10px 15px;
}
table.pctbl08 th {
	background: #D9BF8E;
	width: 33%;
}
table.pctbl08 td {
	background: #F9F0E0;
}

table.pctbl09 {
	border-top:1px solid #CCC;
	border-left:1px solid #CCC;
	border-collapse:collapse;
	border-spacing:0;
	background:#FFF;
	empty-cells:show;
	margin-top: 1em;
}
table.pctbl09 caption {
	border: 1px solid #CCC;
	border-bottom: none;
	background: #FFF2CC;
	text-align: left;
	font-weight: 700;
	padding:0.2em 0.5em;
}
table.pctbl09 th {
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	background: #FEE7DD;
	width: 33%;
	font-weight: normal;
	padding:0.1em 0.5em;
}
table.pctbl09 td {
	border-right:1px solid #CCC;
	border-bottom:1px solid #CCC;
	vertical-align: top;
	padding:0.2em 0.5em;
}

table.pctbl10 {
  width: 100%;
	max-width: 575px;
  border-spacing: 0;
	margin: 1em 0;
}

table.pctbl10 th {
  border-bottom: solid 2px #CCCC99;
  padding: 5px;
	width: 100px;
}

table.pctbl10 td {
  border-bottom: solid 1px #ddd;
  padding: 5px;
}

table.pctbl11 {
  width: 100%;
  border-spacing: 0;
	margin: 1em 0;
}

table.pctbl11 th {
  border-bottom: solid 2px #CCCC99;
  padding: 5px;
	width: 100px;
}

table.pctbl11 td {
  border-bottom: solid 1px #ddd;
  padding: 5px;
}

table.pctbl11a {
  width: 100%;
  border-collapse:collapse;
}

table.pctbl11a td {
  border-bottom: solid 0px #ddd;
  padding: 0px;
}

table.pctbl11a tr.unit_tr {
  border-bottom: 1px solid #DDDDDD;
}

table.pctbl11a td.unit01 {
  min-width:230px;
  width: 40%;
  vertical-align: top;
}
table.pctbl11a td.unit01a {
  min-width:280px;
  width: 45%;
  vertical-align: top;
}

table.pctbl11a td.pb1 {
  padding-bottom: 5px;
}
table.pctbl11a td.pt1 {
  padding-top: 5px;
}
/* 表示領域が575.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media print, screen and (max-width: 575.98px) {
  table.pctbl11a td.unit01,
    table.pctbl11a td.unit01a,
  table.pctbl11a td.unit02 {
    display: block;
    width: 100%;
  }
}

/*---------------------------------テーブル2*/
/*---------------------------------テーブル2a (幅は100%ではない)*/
/*---------------------------------テーブル3 (thは太字ではない)*/
table.pc_tbl2,
table.pc_tbl2a,
table.pc_tbl3 {
	border-top:1px solid #CCC;
	border-left:1px solid #CCC;
	border-collapse:collapse;
	border-spacing:0;
	background-color:#ffffff;
	empty-cells:show;
}

table.pc_tbl2,
table.pc_tbl3 {
	width: 100%;
}

table.pc_tbl2 th,
table.pc_tbl2a th,
table.pc_tbl3 th {
	border-right:1px solid #CCC;
	border-bottom:1px solid #CCC;
	background:#DDD;
	padding:0.2em 1em;
	text-align:center;
	white-space: nowrap;
}

table.pc_tbl3 th {
	font-weight: normal;
}

table.pc_tbl3 caption {
	text-align: left;
}

table.pc_tbl2 td,
table.pc_tbl2a td {
	border-right:1px solid #CCC;
	border-bottom:1px solid #CCC;
	padding:0.2em 0.6em;
}

table.pc_tbl3 td {
	border-right:1px solid #CCC;
	border-bottom:1px solid #CCC;
	padding:0.2em;
	font-weight: bold;
}

/* 薬剤師認定　単位一覧テーブル */
table.pc_tbl4 {
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
	width: 100%;
}

table.pc_tbl4 caption {
	text-align: left;
}

table.pc_tbl4 th,
table.pc_tbl4 td {
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	padding: 0.2em;
}

table.pc_tbl4 th {
	white-space: nowrap;
	text-align: center;
}

.pc_tbl4_td1 {
	width:35%;
}
.pc_tbl4_td2 {
	width:25%;
}
.pc_tbl4_td3 {
	width:10%;
	text-align: center;
}
.pc_tbl4_td4 {
	width:3%;
	text-align: center;
}

/* 指導医養成講習会テーブル */
.pc_tbl7 {
	width: 100%;
	margin-top: 0.5em;
	margin-bottom: 2em;
	border-collapse: collapse;
	border: 1px solid #CCC;
}
.pc_tbl7b {
	width: 100%;
	border-collapse: collapse;
	margin-top: 2em;
	margin-bottom: 2em;
}
.pc_tbl7 th {
	text-align: center;
	background-color: #d3d3d3;
	border-bottom: 3px double #CCC;
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-top: 1px solid #CCC;
}
.pc_tbl7b th {
	text-align: center;
	background-color: #d3d3d3;
	border-bottom: 3px double #2d9ecd;
	border-right: 1px solid #2d9ecd;
	border-left: 1px solid #2d9ecd;
	border-top: 1px solid #2d9ecd;
}
.pc_tbl7 td {
	border-bottom: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
	margin: 0px;
	padding: 5px;
}
.pc_tbl7b td {
	border: 1px solid #999;
	border-top-style:none;
	border-right-style:none;
	border-bottom-style:none;
	margin: 0px;
	padding: 5px;
	text-align: left;
	vertical-align: top;
}

.pc_tbl7_kaisaiti {
	text-align: center;
}

.pc_tbl7_left {
	text-align: center;
	font-weight: bold;
}


ol.ol01 {
	margin: 0;
	padding: 0 1.5em;
}
ol.ol01 > li {
	margin: 0;
	padding: 2px 0;
}

.w_050per {
	width: 50%;
}
.w_100per {
	width: 100%;
}

.vtop {
	vertical-align: top;
}

.lvl_green {
  padding: 0.5rem 1rem;
  border-radius: 100vh;
  background: #B4E5A2;
  color: #275317;
  text-align: center;
}

.lvl_purple {
  padding: 0.5rem 1rem;
  border-radius: 100vh;
  background: #78206E;
  color: #FFFFFF;
  text-align: center;
}

.lvl_blue {
  padding: 0.5rem 1rem;
  border-radius: 100vh;
  background: #96DCF8;
  color: #163E64;
  text-align: center;
}

.lvl_orange {
  padding: 0.5rem 1rem;
  border-radius: 100vh;
  background: #FFC000;
  color: #80350E;
  text-align: center;
}

.lvl01 .lvl_green,
.lvl01 .lvl_purple,
.lvl01 .lvl_blue,
.lvl01 .lvl_orange {
  border-radius: 3px !important;
}
.scrollable-table {
    width: 100%; /* テーブルの幅を親要素に合わせる */
    max-height: 600px; /* テーブルの最大高さを設定 */
    overflow-y: auto; /* 垂直スクロールを有効にする */
    display: block; /* テーブルをブロック要素として扱う */
}

/* 表示領域が991.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media only screen and (max-width: 991.98px) {
	div#nintei_pc_wrap {
		flex-direction: column;
	}

	#nintei_wrapper,
	#nintei_wrapper_form,
	#nintei_menu {
		width: 100%;
	}

	ul.nintei_flex01 li {
		width: 50%;
	}

	#nintei_l_menu {
		margin-top: 2em;
	}
	#nintei_l_menu ul {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: stretch;
	}
	#nintei_l_menu ul li {
		width: 50%;
	}
}

/* 表示領域が767.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media only screen and (max-width: 767.98px) {
	ul.nintei_flex01 {
		flex-direction: column;
	}
	ul.nintei_flex01 li {
		width: 100%;
		max-width: 500px;
		padding:10px;
		margin: 0 auto;
	}
}

/* 表示領域が575.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media only screen and (max-width: 575.98px) {
	#nintei_l_menu ul li {
		width: 100%;
	}
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pcOnly { display: block !important; }
.spOnly { display: none !important; }
.pcOnly_mr10 { margin-right: 10px; }
.pcOnly_mr15 { margin-right: 15px; }
.pcOnly_mr20 { margin-right: 20px; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 991.98px) {
	.pcOnly { display: none !important; }
	.spOnly { display: block !important; }
	.pcOnly_mr10,
	.pcOnly_mr15,
	.pcOnly_mr20 { margin-right: 0; }
}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 767.98px) {
	.pcOnly2 { display: none !important; }
	.spOnly2 { display: block !important; }
}
/* スマートフォンで見たときは"pc"のclassがついた画像が表示される */
@media only screen and (min-width: 767.98px) {
	.pcOnly2 { display: block !important; }
	.spOnly2 { display: none !important; }
}

.mypage-card,
#main > form.mypage-actions,
#main > .mypage-sub-action-grid,
#main > .hr03 + h3.new,
#main > h3.new,
#main > .form_area_es,
#main > .form_area_s,
#main > ul:not(.flex01):not(.nintei_flex01) {
  border-radius: 8px;
}

.mypage-card,
#main > form.mypage-actions,
#main > .mypage-sub-action-grid {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #e4e9f0;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(33, 45, 63, 0.08);
}

.msr_newslist03 h3,
#main > h3.new,
#main form > h3.new {
  margin: 0 0 18px;
  padding: 0 0 0 18px;
  border-left: 6px solid #0d898d;
  background: transparent;
  color: #242c3d;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
}

.msr_newslist03 .scroll01 {
  max-height: 330px;
  overflow: auto;
  padding-right: 6px;
}

.msr_newslist03 ul li {
  margin-bottom: 10px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fbfcfe;
  box-shadow: none;
  overflow: hidden;
}

.msr_newslist03 ul li a {
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  color: #283445;
  text-decoration: none;
}

.msr_newslist03 ul li a:hover {
  background: #f1fbfb;
}

.msr_newslist03 ul li div,
.msr_newslist03 ul li p,
.msr_newslist03 ul li time {
  display: block;
  width: auto;
  padding: 0;
}

.msr_newslist03 ul li time {
  color: #64748b;
  font-weight: 700;
}

.msr_newslist03 ul li .cat01,
.msr_newslist03 ul li .cat02,
.msr_newslist03 ul li .cat03 {
  display: inline-block;
  min-width: 48px;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.msr_newslist03 ul li .cat03 {
  background: #6f45c7;
}

ul.flex01,
ul.nintei_flex01 {
  gap: 16px;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

ul.flex01 > li {
  width: calc(50% - 8px);
}

.msr_btn11,
.msr_btn21 {
  width: 100%;
  min-height: 138px;
  padding: 0;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(33, 45, 63, 0.07);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.msr_btn11:hover,
.msr_btn21:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: #b8dfe2;
  box-shadow: 0 18px 34px rgba(13, 137, 141, 0.16);
}

.msr_btn21 .flex02,
.msr_btn11 {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 22px;
  text-align: left;
}

.msr_btn11 > i,
.msr_btn21 i {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #eaf7f8;
  color: #0d898d;
  font-size: 2.6rem;
}

.msr_btn11 p,
.msr_btn21 p {
  margin: 0 0 8px;
  color: #242c3d;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.45;
}

.msr_btn11 div,
.msr_btn21 span {
  color: #64748b;
  font-size: 1.3rem;
  line-height: 1.65;
}

ul.nintei_flex01 li {
  width: calc(50% - 8px);
  padding: 0;
}

.hr03 {
  margin: 28px 0 18px;
  border: 0;
  border-top: 1px solid #e4e9f0;
}

#main > p,
#main > form > p,
.form_area_es,
.form_area_s,
.waku_gray01,
.box_b {
  color: #283445;
  line-height: 1.8;
}

#main .btn03,
#main .btn04,
#main .btn05,
#main input[type='button'],
#main input[type='submit'] {
  border-radius: 999px;
}

footer {
  background: #ffffff;
  border-top: 1px solid #e5e9ef;
}

@media print, screen and (max-width: 991.98px) {
  #contents {
    padding-left: 18px;
    padding-right: 18px;
  }

  ul.flex01 > li,
  ul.nintei_flex01 li {
    width: 100%;
  }
}

@media print, screen and (max-width: 767.98px) {
  .mypage-card,
  #main > form.mypage-actions,
  #main > .mypage-sub-action-grid {
    padding: 18px;
  }

  #main > h2 {
    font-size: 2rem;
  }

  .msr_newslist03 ul li a,
  .msr_btn21 .flex02,
  .msr_btn11 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .msr_btn11 > i,
  .msr_btn21 i {
    width: 48px;
    height: 48px;
    font-size: 2.1rem;
  }
}

/* page title below the header */
.mypage-heading {
  margin: 20px auto 0;
  padding: 0 18px 18px;
  max-width: 1300px;
  border-bottom: 1px solid #DFE7EF;
}

.mypage-heading h1 {
  margin: 0;
  color: #02539C;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.mypage-heading h1 i {
  margin-right: 10px;
  color: #02539C;
  font-size: 3.6rem;
  vertical-align: -0.08em;
}

body > header + .mypage-heading + #contents {
  padding-top: 18px;
}

/* mypage 2026 main layout */
#main > h2:has(+ .mypage-dashboard) {
  display: none;
}

.mypage-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}

.mypage-dashboard > :not(.mypage-section-title):not(.mypage-actions):not(.mypage-news):not(.mypage-info-card):not(.mypage-sub-action-grid):not(.mypage-question-card) {
  grid-column: 1 / -1;
}

.mypage-section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 10px;
}

.mypage-section-title span {
  display: block;
  width: 6px;
  height: 32px;
  border-radius: 999px;
  background: #0d898d;
}

.mypage-section-title h2 {
  margin: 0;
  color: #111827;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-dashboard > form.mypage-actions {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mypage-dashboard ul.flex01.mypage-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
  width: 100%;
  margin: 0;
  padding: 0;
}


.mypage-dashboard ul.flex01.mypage-action-grid > li {
  width: auto;
  margin: 0;
  padding: 0;
}

.mypage-dashboard .msr_btn21 {
  position: relative;
  min-height: 128px;
  border: 1px solid #dce5ee;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(24, 39, 75, 0.09);
}

.mypage-dashboard .msr_btn21:hover {
  border-color: #b8dfe2;
  box-shadow: 0 10px 22px rgba(13, 137, 141, 0.14);
  transform: translateY(-2px);
}

.mypage-dashboard .msr_btn21 .flex02 {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 128px;
  padding: 22px 46px 22px 22px;
}

.mypage-dashboard .msr_btn21::after {
  content: '\f054';
  position: absolute;
  right: 15px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0d838a;
  color: #ffffff;
  font-family: 'Font Awesome 7 Pro';
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  z-index: 2;
}

.mypage-dashboard .msr_btn21 i {
  width: 64px;
  height: 64px;
  border: 1px solid #bde7ea;
  border-radius: 50%;
  background: #f0fbfc;
  color: #0d838a;
  font-size: 3rem;
  box-shadow: 0 4px 8px rgba(13, 137, 141, 0.16);
}

.mypage-dashboard .msr_btn21 p {
  margin-bottom: 8px;
  color: #006f78;
  font-size: 1.9rem;
  line-height: 1.35;
}

.mypage-dashboard .msr_btn21 span {
  color: #111827;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.65;
}

.mypage-dashboard > .hr03 {
  margin: 6px 0 0;
}

.mypage-dashboard ul.mypage-link-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  gap: 0;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid #d5eaf6;
}

.mypage-dashboard ul.mypage-link-list > li,
.mypage-dashboard ul.mypage-link-list > li:first-of-type,
.mypage-dashboard ul.mypage-link-list > li:not(:first-of-type) {
  width: auto;
  padding: 0 26px;
  border-left: 3px dotted #d4d4d4;
}

.mypage-dashboard ul.mypage-link-list > li:first-child {
  border-left: 0;
  padding-left: 14px;
}

.mypage-dashboard .box_b {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mypage-dashboard .box_b .b11 {
  margin: 0 0 6px;
  color: #02539C;
  font-size: 1.45rem;
  font-weight: 800;
}

.mypage-dashboard .box_b ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mypage-dashboard .box_b li {
  margin: 3px 0;
}


.mypage-dashboard ul.mypage-link-list > li:nth-child(3) .mypage-link-list-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.mypage-dashboard .box_b a {
  color: #02539C;
  font-size: 1.35rem;
  line-height: 1.45;
  text-decoration: underline;
}

@media print, screen and (max-width: 1100px) {
  .mypage-dashboard ul.mypage-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .mypage-dashboard ul.mypage-link-list > li:nth-child(3) {
    grid-column: 1 / -1;
    padding: 18px 14px 0;
    border-left: 0;
    border-top: 3px dotted #d4d4d4;
  }
}

@media print, screen and (max-width: 767.98px) {
  .mypage-dashboard,
  .mypage-dashboard ul.flex01.mypage-action-grid,
  .mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid,
  .mypage-dashboard ul.mypage-link-list {
    grid-template-columns: 1fr;
  }

  .mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid > li {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .mypage-dashboard .msr_btn21 .flex02,
  .mypage-question-body {
    grid-template-columns: 1fr;
  }

  .mypage-dashboard .msr_btn21 .flex02 {
    padding-right: 30px;
  }

  .mypage-news,
  .mypage-sub-action-grid,
  .mypage-question-card {
    min-height: auto;
  }

  .mypage-dashboard ul.mypage-link-list > li,
  .mypage-dashboard ul.mypage-link-list > li:first-child,
  .mypage-dashboard ul.mypage-link-list > li:not(:first-of-type) {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 3px dotted #d4d4d4;
  }

  .mypage-dashboard ul.mypage-link-list > li:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .mypage-dashboard ul.mypage-link-list > li:nth-child(3) .mypage-link-list-split {
    grid-template-columns: 1fr;
  }
}



.mypage-procedure-demo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 24px;
}

.mypage-application-group,
.mypage-election-group {
  min-width: 0;
  padding: 18px 20px 20px;
  border-radius: 8px;
  background: #ffffff;
}

.mypage-procedure-demo > .mypage-election-candidacy,
.mypage-procedure-demo > .mypage-election-only {
  grid-column: auto;
  margin-bottom: 0;
}
.mypage-application-group {
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(13, 137, 141, 0.08);
}

.mypage-election-group {
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(54, 33, 200, 0.08);
}


.mypage-application-only,
.mypage-election-only {
  grid-column: 1 / -1;
}

.mypage-application-only {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px 22px;
}

.mypage-application-only > .mypage-procedure-group-title {
  grid-column: 1 / -1;
  min-width: 0;
}

.mypage-application-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 18px 16px;
  border: 1px dashed #b6c5d1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #1f2937;
}

.mypage-application-note i {
  color: #02539C;
  font-size: 1.6rem;
  line-height: 1.5;
}

.mypage-application-note p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.7;
}

.mypage-application-only .mypage-application-buttons {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
}


.mypage-application-only .mypage-application-buttons > .mypage-application-btn:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 580px);
}

.mypage-application-only .mypage-application-btn {
  min-height: 184px;
  padding: 24px 24px 20px;
}

.mypage-application-btn-certified {
  border-color: #b6d5ff;
  color: #02539C;
  box-shadow: 0 8px 18px rgba(2, 83, 156, 0.08);
}

.mypage-application-btn-certified > i {
  border-color: #b6d5ff;
  color: #02539C;
  box-shadow: 0 4px 12px rgba(2, 83, 156, 0.14);
}

.mypage-application-btn-certified .mypage-application-name {
  color: #02539C;
}

.mypage-application-btn-certified .mypage-application-action {
  background: linear-gradient(180deg, #1379e8 0%, #02539C 100%);
  box-shadow: 0 5px 12px rgba(2, 83, 156, 0.25);
}

.mypage-specialist-new-group {
  position: relative;
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  padding: 20px 24px 18px;
  border: 1px solid #8fd6d3;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 252, 251, 0.94) 58%, rgba(224, 247, 246, 0.9) 100%);
  box-shadow: 0 8px 20px rgba(13, 137, 141, 0.1);
}

.mypage-specialist-new-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.mypage-specialist-new-head > i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #b9e5e5;
  border-radius: 50%;
  background: #ffffff;
  color: #0a8a8a;
  font-size: 2.4rem;
  box-shadow: 0 4px 12px rgba(13, 137, 141, 0.14);
}

.mypage-specialist-new-head span {
  display: inline-block;
  margin: 0 12px 4px 0;
  color: #0a8a8a;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-specialist-new-head b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 12px;
  border-radius: 6px;
  background: #0a8a8a;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.mypage-specialist-new-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  width: min(100%, 580px);
  min-height: 164px;
  margin: 0 auto;
  padding: 22px 34px 24px;
  border: 1px solid #b6d5ff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(13, 137, 141, 0.08);
  appearance: none;
  font-family: inherit;
  color: inherit;
  text-align: inherit;
  cursor: default;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.mypage-specialist-new-main {
  display: grid;
  grid-template-columns: 72px minmax(0, auto);
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
}

.mypage-specialist-new-main > i {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #b9e5e5;
  border-radius: 50%;
  color: #0a8a8a;
  font-size: 3rem;
  box-shadow: 0 4px 12px rgba(13, 137, 141, 0.12);
}

.mypage-specialist-new-main > div,
.mypage-specialist-new-name,
.mypage-specialist-new-lead,
.mypage-specialist-new-action {
  display: block;
}

.mypage-specialist-new-main > div {
  min-width: 0;
}
.mypage-specialist-new-name {
  color: #0a8a8a;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-specialist-new-action {
  position: relative;
  width: min(100%, 300px);
  min-height: 44px;
  padding: 0 48px;
  padding-bottom: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg, #10a99f 0%, #008f86 100%);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 5px 12px rgba(0, 143, 134, 0.25);
}

.mypage-specialist-new-action i {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
}
.mypage-certified-new-group {
  border-color: #b6d5ff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 247, 255, 0.94) 58%, rgba(223, 239, 255, 0.9) 100%);
  box-shadow: 0 8px 20px rgba(2, 83, 156, 0.1);
}

.mypage-certified-new-group .mypage-specialist-new-head > i,
.mypage-certified-new-group .mypage-specialist-new-main > i {
  border-color: #b6d5ff;
  color: #02539C;
  box-shadow: 0 4px 12px rgba(2, 83, 156, 0.14);
}

.mypage-certified-new-group .mypage-specialist-new-head span,
.mypage-certified-new-group .mypage-specialist-new-name {
  color: #02539C;
}

.mypage-certified-new-group .mypage-specialist-new-action {
  background: linear-gradient(180deg, #1379e8 0%, #02539C 100%);
  box-shadow: 0 5px 12px rgba(2, 83, 156, 0.25);
}

.mypage-procedure-demo,
.mypage-application-only,
.mypage-election-only,
.mypage-specialist-new-group {
  margin-bottom: 20px;
}

.mypage-procedure-group-title,
.mypage-election-group-title {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.mypage-procedure-group-title > i,
.mypage-election-group-title > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  font-size: 2.2rem;
  box-shadow: 0 4px 12px rgba(13, 137, 141, 0.16);
}

.mypage-procedure-group-title > i {
  border: 1px solid #9bd8d7;
  color: #0a8a8a;
}

.mypage-election-group-title > i {
  border: 1px solid #d7d9ff;
  color: #3621c8;
  box-shadow: 0 4px 12px rgba(54, 33, 200, 0.16);
}

.mypage-procedure-group-title span,
.mypage-election-group-title span {
  display: block;
  margin: 0 0 4px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-procedure-group-title span {
  color: #0a7778;
}

.mypage-election-group-title span {
  color: #3621c8;
}

.mypage-procedure-group-title p,
.mypage-election-group-title p,
.mypage-specialist-new-head p {
  margin: 0;
  color: #333333;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
}

.mypage-application-buttons,
.mypage-election-buttons {
  display: grid;
  gap: 14px;
}

.mypage-application-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mypage-election-buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}



.mypage-election-buttons > .mypage-election-btn:only-child,
.mypage-election-only.is-count-1 .mypage-election-btn {
  width: 100%;
  max-width: 580px;
}

.mypage-election-only.is-count-1 .mypage-election-buttons {
  width: 100%;
  max-width: 580px;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: 1fr;
}

.mypage-election-only.is-count-1 .mypage-election-btn {
  justify-self: stretch;
}

.mypage-election-only.is-count-2 .mypage-election-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mypage-election-only.is-count-2 .mypage-election-btn {
  width: 100%;
}

.mypage-election-only.is-count-3 .mypage-election-buttons {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mypage-election-only.is-count-2 .mypage-election-buttons {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mypage-election-only.is-count-2 .mypage-election-btn,
.mypage-election-only.is-count-3 .mypage-election-btn {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}
.mypage-application-btn,
.mypage-election-btn {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  width: 100%;
  margin: 0;
  border-radius: 8px;
  background: #ffffff;
  font-family: inherit;
  text-align: center;
  cursor: default;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.mypage-application-btn {
  min-height: 164px;
  padding: 20px 22px 18px;
  border: 1px solid #c8e5e5;
  /*background: linear-gradient(180deg, #ffffff 0%, #f6ffff 100%);*/
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 252, 251, 0.94) 58%, rgba(224, 247, 246, 0.9) 100%);
  color: #0a8a8a;
  box-shadow: 0 8px 18px rgba(13, 137, 141, 0.06);
}

.mypage-application-only .mypage-application-btn {
  grid-template-columns: 72px minmax(0, auto);
  align-items: center;
  justify-content: center;
  justify-items: start;
  gap: 8px 22px;
  padding: 22px 34px 24px;
  text-align: left;
}

.mypage-application-only .mypage-application-btn > i {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  margin: 0;
  font-size: 3rem;
}

.mypage-application-only .mypage-application-name,
.mypage-application-only .mypage-application-lead {
  grid-column: 2;
  width: auto;
}

.mypage-application-only .mypage-application-name {
  align-self: end;
  font-size: 1.9rem;
}

.mypage-application-only .mypage-application-lead {
  align-self: start;
  margin: 0;
}

.mypage-application-only .mypage-application-date {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
}

.mypage-application-only .mypage-application-action {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 10px;
}

.mypage-application-btn-shidoui {
  border-color: #b9e6c1;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 253, 244, 0.94) 58%, rgba(226, 248, 230, 0.9) 100%);
  color: #16852b;
  box-shadow: 0 8px 18px rgba(22, 133, 43, 0.08);
}

.mypage-application-btn-certified {
  border-color: #b6d5ff;
  /*background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);*/
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 247, 255, 0.94) 58%, rgba(223, 239, 255, 0.9) 100%);
  color: #02539C;
  box-shadow: 0 8px 18px rgba(2, 83, 156, 0.08);
}

.mypage-election-btn {
  min-height: 168px;
  padding: 18px 16px 16px;
  border: 1px solid #d7d9ff;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 246, 255, 0.94) 58%, rgba(232, 234, 255, 0.9) 100%);
  color: #3621c8;
  box-shadow: 0 8px 18px rgba(53, 35, 98, 0.06);
}

.mypage-application-btn > i,
.mypage-election-btn > i {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
}

.mypage-application-btn > i {
  width: 58px;
  height: 58px;
  margin: 0 0 12px;
  border: 1px solid #b9e5e5;
  color: #0a8a8a;
  font-size: 2.8rem;
  box-shadow: 0 4px 12px rgba(13, 137, 141, 0.12);
}

.mypage-election-btn > i {
  width: 58px;
  height: 58px;
  margin: -2px 0 10px;
  border: 1px solid #d7d9ff;
  color: #3621c8;
  font-size: 2.8rem;
  box-shadow: 0 4px 12px rgba(54, 33, 200, 0.12);
}

.mypage-application-name,
.mypage-application-lead,
.mypage-application-action,
.mypage-election-name,
.mypage-election-lead,
.mypage-election-action {
  display: block;
  min-width: 0;
}

.mypage-election-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 0 0 8px;
  padding: 3px 12px 4px;
  border: 1px solid #d7d9ff;
  border-radius: 999px;
  background: #f2f3ff;
  color: #3621c8;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.mypage-election-status:empty {
  display: none;
}

.mypage-election-btn-done {
  border-color: #c9ccff;
}

.mypage-election-btn-done .mypage-election-action {
  width: min(100%, 280px);
}
.mypage-application-name,
.mypage-election-name {
  width: 100%;
  font-size: 1.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-application-name {
  color: #0a7778;
}

.mypage-election-name {
  color: #3621c8;
}

.mypage-application-lead,
.mypage-election-lead,
.mypage-specialist-new-lead {
  width: 100%;
  margin: 8px 0 14px;
  color: #333333;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
}

.mypage-application-date,
.mypage-election-date,
.mypage-specialist-new-date {
  color: #333333;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
}

.mypage-application-action,
.mypage-election-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 250px);
  min-height: 42px;
  margin-top: auto;
  padding: 0 44px;
  padding-bottom: 2px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.mypage-application-action {
  background: linear-gradient(180deg, #10a99f 0%, #008f86 100%);
  box-shadow: 0 5px 12px rgba(0, 143, 134, 0.25);
}

.mypage-election-action {
  background: linear-gradient(180deg, #5c6df2 0%, #3621c8 100%);
  box-shadow: 0 5px 12px rgba(54, 33, 200, 0.28);
}

.mypage-application-action i,
.mypage-election-action i {
  position: absolute;
  right: 22px;
  top: 52%;
  margin: 0;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-50%);
}
.mypage-application-btn-shidoui > i {
  border-color: #b9e6c1;
  color: #16852b;
  box-shadow: 0 4px 12px rgba(22, 133, 43, 0.14);
}

.mypage-application-btn-shidoui .mypage-application-name {
  color: #16852b;
}

.mypage-application-btn-shidoui .mypage-application-action {
  background: linear-gradient(180deg, #2ead43 0%, #16852b 100%);
  box-shadow: 0 5px 12px rgba(22, 133, 43, 0.26);
}

.mypage-application-btn-certified > i {
  border-color: #b6d5ff;
  color: #02539C;
  box-shadow: 0 4px 12px rgba(2, 83, 156, 0.14);
}

.mypage-application-btn-certified .mypage-application-name {
  color: #02539C;
}

.mypage-application-btn-certified .mypage-application-action {
  background: linear-gradient(180deg, #1379e8 0%, #02539C 100%);
  box-shadow: 0 5px 12px rgba(2, 83, 156, 0.25);
}


.mypage-application-btn:hover,
.mypage-specialist-new-card:hover {
  border-color: #9bd8d7;
  box-shadow: 0 12px 26px rgba(13, 137, 141, 0.16);
  transform: translateY(-2px);
}

.mypage-application-btn-shidoui:hover {
  border-color: #8bd99a;
  box-shadow: 0 12px 26px rgba(22, 133, 43, 0.16);
}

.mypage-application-btn-certified:hover,
.mypage-certified-new-group .mypage-specialist-new-card:hover {
  border-color: #94c4ff;
  box-shadow: 0 12px 26px rgba(2, 83, 156, 0.16);
}

.mypage-election-btn:hover {
  border-color: #a7adff;
  box-shadow: 0 12px 26px rgba(54, 33, 200, 0.16);
  transform: translateY(-2px);
}/* mypage lower panels */
.mypage-dashboard > :not(.mypage-section-title):not(.mypage-actions):not(.mypage-news):not(.mypage-info-card):not(.mypage-sub-action-grid):not(.mypage-question-card) {
  grid-column: 1 / -1;
}

.mypage-info-card,
.mypage-sub-action-grid,
.mypage-question-card {
  min-height: 226px;
}

.mypage-info-card {
  box-sizing: border-box;
  margin-top: 20px;
  padding: 18px 12px 12px;
  border: 1px solid #d8d3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(24, 39, 75, 0.08);
}

.mypage-panel-title {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #02539C;
}

.mypage-panel-title i {
  color: #02539C;
  font-size: 2.2rem;
}

.mypage-panel-title h3 {
  margin: 0;
  color: #02539C;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-panel-title span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid #d8e6f2;
  border-radius: 999px;
  background: #ffffff;
  color: #02539C;
  font-size: 1.25rem;
  font-weight: 800;
}

.mypage-info-card ul {
  margin: 0.5em 0;
  padding: 0;
  background: #ffffff;
  list-style: none;
  overflow: hidden;
}

.mypage-info-card li {
  display: grid;
  grid-template-columns: 42px 1fr 16px;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px 12px;
  border-bottom: 1px solid #e7edf4;
}

.mypage-info-card li:first-child {
  border-top: 0;
}

.mypage-info-card li > i:first-child {
  color: #02539C;
  text-align: center;
}

.mypage-info-card li > i:last-child {
  color: #02539C;
  font-size: 1.45rem;
}

.mypage-info-card .fw-bolder,
.mypage-info-card span {
  display: block;
}

.mypage-info-card .fw-bolder {
  color: #02539C;
  font-size: 1.28rem;
  line-height: 1.45;
}

.mypage-info-card li span {
  margin-top: 2px;
  color: #333333;
  font-size: 1.12rem;
  line-height: 1.35;
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  margin-top: 20px;
  padding: 18px 12px 12px;
  border: 1px solid #cfe5f7;
  border-radius: 8px;
  background: #f3f9fe;
  box-shadow: 0 7px 18px rgba(24, 39, 75, 0.08);
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid::before {
  content: '講評・優秀事例';
  grid-column: 1 / -1;
  padding: 0 0 6px 40px;
  color: #02539C;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  background: linear-gradient(90deg, transparent 0, transparent 30px, transparent 30px);
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid::after {
  content: '\f559';
  position: absolute;
  margin: 2px 0 0 2px;
  color: #02539C;
  font-family: 'Font Awesome 7 Pro';
  font-size: 2.5rem;
  font-weight: 700;
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid li {
  width: auto;
  margin: 0;
  padding: 0;
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid li::marker,
.mypage-dashboard .msr_btn01 li::marker {
  content: none;
}

.mypage-dashboard .msr_btn01 a,
.mypage-dashboard .msr_btn01 a:hover,
.mypage-dashboard .msr_btn01 a:focus {
  text-decoration: none;
}
.mypage-dashboard .msr_btn01 {
  height: 100%;
  min-height: 150px;
  border: 0;
}

.mypage-dashboard .msr_btn01 a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "title"
    "text"
    "arrow";
  row-gap: 8px;
  align-items: start;
  height: 100%;
  min-height: 150px;
  padding: 20px 18px 16px;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #ffffff;
  color: #02539C;
  box-shadow: none;
}

.mypage-dashboard .msr_btn01 .mypage-review-title {
  display: flex;
  grid-area: title;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  border-left: 0;
  color: #02539C;
  font-size: 1.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.mypage-dashboard .msr_btn01 .mypage-review-title i {
  flex: 0 0 auto;
  margin-top: 0.18em;
  color: #02539C;
  font-size: 2rem;
  line-height: 1;
}
.mypage-dashboard .msr_btn01 .mypage-review-text {
  display: block;
  grid-area: text;
  align-self: start;
  margin: 0;
  padding: 0;
  border-left: 0;
  color: #333333;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.45;
  min-height: calc(1.45rem * 1.45 * 2);
}

.mypage-dashboard .msr_btn01 .mypage-review-arrow {
  display: grid;
  grid-area: arrow;
  place-items: center;
  align-self: end;
  justify-self: end;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid #02539C;
  border-radius: 50%;
  color: #02539C;
  font-size: 1.35rem;
  line-height: 1;
}

.mypage-dashboard .msr_btn01 .mypage-review-arrow i {
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

.mypage-dashboard .msr_btn01 a::before,
.mypage-dashboard .msr_btn01 a::after,
.mypage-dashboard .msr_btn01 span::after {
  content: none;
  display: none;
}

.mypage-question-card {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 18px 28px 18px;
  border: 1px solid #bda8ff;
  border-radius: 8px;
  background: radial-gradient(circle at 12% 70%, rgba(114, 55, 214, 0.22) 0 34px, rgba(114, 55, 214, 0) 35px), radial-gradient(circle at 92% 18%, rgba(189, 168, 255, 0.45) 0 7px, rgba(189, 168, 255, 0) 8px), radial-gradient(circle at 86% 32%, rgba(189, 168, 255, 0.32) 0 3px, rgba(189, 168, 255, 0) 4px), radial-gradient(circle at 96% 68%, rgba(189, 168, 255, 0.3) 0 22px, rgba(189, 168, 255, 0) 23px), radial-gradient(circle at 4% 94%, rgba(189, 168, 255, 0.34) 0 4px, rgba(189, 168, 255, 0) 5px), linear-gradient(135deg, #ffffff 0%, #fbf7ff 48%, #f0e8ff 100%);
  box-shadow: 0 7px 18px rgba(70, 38, 153, 0.12);
}


.mypage-question-card::before,
.mypage-question-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.38;
}

.mypage-question-card::before {
  right: -18px;
  top: 16px;
  width: 96px;
  height: 96px;
  background: radial-gradient(circle, rgba(127, 68, 234, 0.18) 0 24px, transparent 25px), repeating-conic-gradient(from 8deg, rgba(127, 68, 234, 0.22) 0 10deg, transparent 10deg 24deg);
}

.mypage-question-card::after {
  left: 52px;
  bottom: -18px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(127, 68, 234, 0.2) 0 17px, transparent 18px), repeating-conic-gradient(from 0deg, rgba(127, 68, 234, 0.22) 0 12deg, transparent 12deg 28deg);
}

.mypage-question-badge,
.mypage-question-body,
.mypage-question-card a {
  position: relative;
  z-index: 1;
}

.mypage-question-badge {
  display: inline-block;
  margin: -4px 0 12px -28px;
  padding: 8px 26px 8px 24px;
  background: #6126d2;
  color: #ffff00;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.mypage-question-body {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
}

.mypage-question-title {
  margin: 0 0 12px;
  color: #4b22bc;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.55;
}

.mypage-question-body p:not(.mypage-question-title) {
  margin: 0;
  color: #242c3d;
  font-size: 1.3rem;
  line-height: 1.65;
}

.mypage-question-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px auto 0;
  width: min(320px, 100%);
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7f44ea, #4b22bc);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(75, 34, 188, 0.28);
}

#main .mypage-dashboard .mypage-news {
  display: none;
}

.mypage-info-card {
  grid-column: 1 / -1;
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid {
  grid-column: 1 / -1;
}

.mypage-question-card {
  grid-column: 1 / -1;
}

.mypage-info-card .fw-bolder {
  font-size: 1.6rem;
  line-height: 1.45;
}

.mypage-info-card li span {
  font-size: 1.35rem;
  line-height: 1.45;
}
.mypage-info-card li {
  display: block;
  min-height: 0;
  padding: 6px 0;
}

.mypage-info-card li a {
  display: grid;
  grid-template-columns: 42px 1fr 16px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

.mypage-info-card li a:hover .fw-bolder {
  text-decoration: underline;
}

.mypage-info-card li a > i:first-child {
  color: #02539C;
  font-size: 2.3rem;
  text-align: center;
}

.mypage-info-card li a > i:last-child {
  color: #02539C;
  font-size: 1.45rem;
}
.mypage-info-card li a {
  align-items: start;
}

.mypage-info-card li a > i:first-child,
.mypage-info-item-actions > i:first-child {
  margin-top: 4px;
}

.mypage-info-card li a > i:last-child {
  align-self: center;
}

.mypage-info-item-actions {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 12px;
  min-height: 68px;
  padding: 14px 16px;
  color: #02539C;
}

.mypage-info-item-actions > i:first-child {
  color: #02539C;
  font-size: 2.3rem;
  text-align: center;
}

.mypage-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.mypage-info-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid #b7d7ee;
  border-radius: 999px;
  background: #eef8ff;
  color: #02539C;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.mypage-info-actions a:hover {
  background: #dff1ff;
  text-decoration: none;
}
.mypage-info-card li.mypage-info-item-actions {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 0;
  padding: 14px 16px 18px;
  color: #02539C;
}

.mypage-info-card li.mypage-info-item-actions > i:first-child {
  margin-top: 4px;
  color: #02539C;
  font-size: 2.3rem;
  text-align: center;
}

.mypage-info-card li.mypage-info-item-actions strong {
  margin-bottom: 4px;
}

.mypage-info-card li.mypage-info-item-actions span {
  margin-top: 0;
}

.mypage-info-card .mypage-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mypage-info-card .mypage-info-actions a {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 36px;
  padding: 7px 18px;
  border: 1px solid #b7d7ee;
  border-radius: 999px;
  background: #eef8ff;
  color: #02539C;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.mypage-info-card .mypage-info-actions a:hover {
  background: #dff1ff;
  text-decoration: none;
}

.mypage-info-card .mypage-info-actions a i {
  color: inherit;
  font-size: 1.1rem;
}
@media print, screen and (max-width: 767.98px) {
  .mypage-info-card,
  .mypage-sub-action-grid,
  .mypage-question-card {
    min-height: auto;
  }
}

@media print, screen and (max-width: 1100px) {
  .mypage-dashboard {
    grid-template-columns: 1fr;
  }

  .mypage-info-card,
  .mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid,
  .mypage-question-card {
    grid-column: 1 / -1;
  }
}

@media print, screen and (min-width: 992px) {
  #main .mypage-dashboard form.mypage-actions > ul.flex01.mypage-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 24px;
  }

  #main .mypage-dashboard form.mypage-actions > ul.flex01.mypage-action-grid > li {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }
}

@media print, screen and (min-width: 768px) and (max-width: 991.98px) {
  #main .mypage-dashboard form.mypage-actions > ul.flex01.mypage-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
  }

  #main .mypage-dashboard form.mypage-actions > ul.flex01.mypage-action-grid > li {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .mypage-dashboard .msr_btn01,
  .mypage-dashboard .msr_btn01 a {
    min-height: 132px;
  }

  .mypage-dashboard .msr_btn01 a {
    row-gap: 6px;
    padding: 18px 18px 14px;
  }

  .mypage-dashboard .msr_btn01 .mypage-review-title,
  .mypage-dashboard .msr_btn01 .mypage-review-text {
    min-height: auto;
  }
}


@media print, screen and (min-width: 768px) {
  #main .mypage-dashboard form.mypage-actions:first-child > ul.flex01.mypage-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #main .mypage-dashboard form.mypage-actions:first-child > ul.flex01.mypage-action-grid > li:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 24px) / 2);
  }
}

@media print, screen and (max-width: 767.98px) {
  #main .mypage-dashboard form.mypage-actions:first-child > ul.flex01.mypage-action-grid > li:only-child {
    width: 100%;
  }
}

@media print, screen and (max-width: 1100px) {
  .mypage-procedure-pattern {
    grid-template-columns: 1fr;
  }

  .mypage-procedure-pattern h3 {
    min-height: auto;
  }
}

@media print, screen and (max-width: 767.98px) {
  .mypage-procedure-demo {
    padding: 0;
  }

  .mypage-procedure-demo-head {
    align-items: flex-start;
  }

  .mypage-procedure-buttons {
    grid-template-columns: 1fr;
  }

  .mypage-procedure-btn {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 14px 44px 14px 14px;
  }

  .mypage-procedure-btn i {
    width: 46px;
    height: 46px;
    font-size: 2rem;
  }

  .mypage-procedure-btn small {
    grid-column: 2;
  }
}

@media print, screen and (max-width: 767.98px) {
  .mypage-election-buttons {
    grid-template-columns: 1fr;
  }

  .mypage-election-btn {
    min-height: auto;
  }
}

@media print, screen and (max-width: 1100px) {
  .mypage-procedure-demo,
  .mypage-application-only {
    grid-template-columns: 1fr;
  }

  .mypage-application-only .mypage-application-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media print, screen and (max-width: 767.98px) {
  .mypage-application-buttons,
  .mypage-election-buttons,
  .mypage-application-only .mypage-application-buttons {
    width: 100%;
    grid-template-columns: 1fr;
  }


.mypage-application-btn,
  .mypage-election-btn,
  .mypage-application-only .mypage-application-btn {
    min-height: auto;
  }

.mypage-application-only .mypage-application-btn {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    padding: 20px 22px 18px;
    text-align: center;
  }

  .mypage-application-only .mypage-application-btn > i,
  .mypage-application-only .mypage-application-name,
  .mypage-application-only .mypage-application-lead,
  .mypage-application-only .mypage-application-date,
  .mypage-application-only .mypage-application-action {
    grid-column: auto;
    grid-row: auto;
  }

  .mypage-application-only .mypage-application-btn > i {
    width: 58px;
    height: 58px;
    margin: 0 0 12px;
    font-size: 2.8rem;
  }

  .mypage-application-only .mypage-application-name,
  .mypage-application-only .mypage-application-lead {
    width: 100%;
  }

  .mypage-application-only .mypage-application-lead {
    margin: 8px 0 14px;
  }


  .mypage-application-only .mypage-application-date {
    width: 100%;
    margin: 0 0 14px;
    line-height: 1.35;
    text-align: center;
  }

  .mypage-application-only .mypage-application-action {
    margin-top: auto;
  }  
  .mypage-specialist-new-group {
    padding: 18px;
  }

  .mypage-specialist-new-head,
  .mypage-specialist-new-main,
  .mypage-specialist-new-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .mypage-specialist-new-card {
    padding: 22px 20px;
  }

  .mypage-specialist-new-action {
    width: 100%;
  }
}
.mypage-heading.is-login {
  max-width: 620px;
  margin-top: 30px;
  padding: 0 24px;
}

.mypage-heading.is-login h1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid #d8e6f2;
  border-radius: 999px;
  background: #fbfdff;
  color: #02539C;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(22, 50, 80, 0.04);
}

.mypage-heading.is-login h1 i {
  margin-right: 0;
  font-size: 1.8rem;
}

body > header + .mypage-heading.is-login + #contents {
  padding-top: 10px;
}

/* review page */
.mypage-review-page {
  max-width: 1200px;
  margin: 24px auto 48px;
  padding: 22px 24px 26px;
  border: 1px solid #d6e7f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 34px rgba(24, 39, 75, 0.08);
}

.mypage-review-page .nintei_ttl04:first-child {
  margin-top: 0;
}

.mypage-review-page ul.nintei_ul02 {
  display: grid;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
}

.mypage-review-page ul.nintei_ul02 > li {
  padding: 0;
  list-style: none;
}

.mypage-review-page ul.nintei_ul02 > li::before {
  content: none;
}

.mypage-review-page ul.nintei_ul02 br {
  display: none;
}

.mypage-review-page ul.nintei_ul02 a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid #dce8f4;
  border-radius: 8px;
  background: #ffffff;
  color: #02539C;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(24, 39, 75, 0.06);
}

.mypage-review-page ul.nintei_ul02 a::before {
  content: '\f1c1';
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9f5ff;
  color: #02539C;
  font-family: 'Font Awesome 7 Pro';
  font-size: 1.8rem;
  font-weight: 600;
}

.mypage-review-page ul.nintei_ul02 a::after {
  content: '\f054';
  color: #02539C;
  font-family: 'Font Awesome 7 Pro';
  font-size: 1.2rem;
  font-weight: 700;
  justify-self: end;
}


.mypage-review-page ul.nintei_ul02 > li.mypage-review-disabled {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(24, 39, 75, 0.04);
}

.mypage-review-page ul.nintei_ul02 > li.mypage-review-disabled::before {
  content: '\f1c1';
  position: static;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef1f4;
  color: #9aa3ad;
  font-family: 'Font Awesome 7 Pro';
  font-size: 1.8rem;
  font-weight: 600;
}

.mypage-review-page ul.nintei_ul02 > li.mypage-review-disabled::after {
  content: '\f054';
  color: #b2bac4;
  font-family: 'Font Awesome 7 Pro';
  font-size: 1.2rem;
  font-weight: 700;
  justify-self: end;
}

.mypage-review-page ul.nintei_ul02 a:hover {
  border-color: #9fc8ff;
  background: #f4faff;
  text-decoration: none;
}

@media print, screen and (max-width: 767.98px) {
  .mypage-review-page {
    margin: 18px auto 34px;
    padding: 18px 14px 20px;
  }

  .mypage-review-page ul.nintei_ul02 a {
    grid-template-columns: 30px minmax(0, 1fr) 14px;
    gap: 10px;
    padding: 12px;
    font-size: 1.35rem;
  }
}

.mypage-content-card {
  max-width: 1200px;
  margin: 24px auto 48px;
  padding: 24px;
  border: 1px solid #d6e7f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 34px rgba(24, 39, 75, 0.08);
}

.mypage-content-card .nintei_ttl04:first-child {
  margin-top: 0;
}

.mypage-content-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 12px;
  color: #02539C;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.4;
}

.mypage-content-section-title i {
  color: #078b94;
  font-size: 1.8rem;
}

.mypage-resource-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
}

.mypage-resource-list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mypage-resource-list > li::before {
  content: none;
}

.mypage-resource-list a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid #dce8f4;
  border-radius: 8px;
  background: #ffffff;
  color: #02539C;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(24, 39, 75, 0.06);
}

.mypage-resource-list a::before {
  content: '\f1c1';
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9f5ff;
  color: #02539C;
  font-family: 'Font Awesome 7 Pro';
  font-size: 1.8rem;
  font-weight: 600;
}

.mypage-resource-list a::after {
  content: '\f054';
  color: #02539C;
  font-family: 'Font Awesome 7 Pro';
  font-size: 1.2rem;
  font-weight: 700;
  justify-self: end;
}

.mypage-resource-list a:hover {
  border-color: #9fc8ff;
  background: #f4faff;
  text-decoration: none;
}

.mypage-video-content-card .mypage-video-card {
  margin: 18px 0 0;
}

@media print, screen and (max-width: 767.98px) {
  .mypage-content-card {
    margin: 18px auto 34px;
    padding: 18px 14px 20px;
  }

  .mypage-resource-list a {
    grid-template-columns: 30px minmax(0, 1fr) 14px;
    gap: 10px;
    padding: 12px;
    font-size: 1.35rem;
  }
}

/* on-demand video */
.mypage-video-card {
  max-width: 1200px;
  margin: 28px auto 44px;
  padding: 24px;
  border: 1px solid #d6e7f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 34px rgba(24, 39, 75, 0.1);
}

.mypage-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #0b1f33;
}

.mypage-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media print, screen and (max-width: 767.98px) {
  .mypage-video-card {
    margin: 20px auto 32px;
    padding: 8px;
  }
}

/* error page */
.mypage-error-page {
  max-width: 880px;
  margin: 24px auto 48px;
  overflow: hidden;
  border: 1px solid #d6e7f4;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(24, 39, 75, 0.1);
}

.mypage-error-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid #dce8f4;
  background: linear-gradient(135deg, #f4faff 0%, #ffffff 70%);
}

.mypage-error-icon {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff1e8;
  color: #d85224;
  font-size: 2.4rem;
}

.mypage-error-label {
  display: block;
  margin-bottom: 4px;
  color: #0d898d;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mypage-error-summary h3 {
  margin: 0;
  color: #111827;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.mypage-error-body {
  padding: 26px 28px 30px;
  color: #25364a;
  font-size: 1.5rem;
  line-height: 1.85;
}

.mypage-error-body > p:first-child {
  margin-top: 0;
}

.mypage-error-body .box03,
.mypage-error-body .box01 {
  max-width: none;
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #b9dce2;
  border-left: 5px solid #0d898d;
  border-radius: 6px;
  background: #f3fbfc;
  color: #25364a;
}

.mypage-error-body .box03 p,
.mypage-error-body .box01 p {
  margin: 0;
}

.mypage-error-body > p:last-child {
  margin: 28px 0 0;
  text-align: center;
}

.mypage-error-body > p:last-child a,
.mypage-error-body > p:last-child a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 11px 24px;
  border: 2px solid #02539C;
  border-radius: 999px;
  background: #02539C;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mypage-error-body > p:last-child a::before {
  content: '\f060';
  margin-right: 8px;
  font-family: 'Font Awesome 7 Pro';
  font-weight: 700;
}

.mypage-error-body > p:last-child a:hover {
  background: #ffffff;
  color: #02539C;
  box-shadow: 0 4px 12px rgba(2, 83, 156, 0.18);
}

@media print, screen and (max-width: 575.98px) {
  .mypage-error-page {
    margin: 18px 5px 32px;
  }

  .mypage-error-summary {
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
  }

  .mypage-error-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .mypage-error-summary h3 {
    font-size: 1.8rem;
  }

  .mypage-error-body {
    padding: 20px 16px 24px;
    font-size: 1.4rem;
  }

  .mypage-error-body .box03,
  .mypage-error-body .box01 {
    padding: 14px;
  }

  .mypage-error-body > p:last-child a {
    width: 100%;
  }
}

@media print, screen and (min-width: 768px) {
  .mypage-election-buttons:has(> .mypage-election-btn:nth-of-type(2)) {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mypage-election-buttons:has(> .mypage-election-btn:nth-of-type(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* candidacy election notice */
.mypage-election-candidacy {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 20px 0;
  padding: 18px 20px 20px;
  border: 1px solid #b9b2ff;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 246, 255, 0.94) 58%, rgba(234, 235, 255, 0.9) 100%);
  box-shadow: 0 8px 20px rgba(54, 33, 200, 0.08);
}

.mypage-election-candidacy-title {
  margin-bottom: 16px;
}

.mypage-election-candidacy-title > i {
  border-color: #d7d9ff;
  color: #3621c8;
  box-shadow: 0 4px 12px rgba(54, 33, 200, 0.12);
}

.mypage-election-candidacy-title span {
  color: #3621c8;
}

.mypage-election-candidacy-body,
.mypage-election-candidacy-message {
  min-width: 0;
}

.mypage-election-candidacy-manual,
.mypage-election-candidacy-message {
  padding: 16px 18px;
  border: 1px solid #d7d9ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #111827;
  font-size: 1.4rem;
  line-height: 1.7;
}

.mypage-election-candidacy-message:empty {
  display: none;
}

.mypage-election-candidacy-manual p,
.mypage-election-candidacy-message p {
  margin: 0;
}

.mypage-election-candidacy-manual p + p,
.mypage-election-candidacy-message p + p {
  margin-top: 10px;
}

.mypage-election-candidacy-manual a,
.mypage-election-candidacy-message a {
  color: #02539C;
  font-weight: 700;
}

.mypage-election-candidacy-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(100%, 620px);
  margin: 0 auto 16px;
  padding: 22px 24px;
  border: 1px solid #d7d9ff;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 246, 255, 0.94) 58%, rgba(232, 234, 255, 0.9) 100%);
  box-shadow: 0 8px 18px rgba(53, 35, 98, 0.06);
}


.mypage-election-candidacy-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #d7d9ff;
  border-radius: 50%;
  background: #ffffff;
  color: #3621c8;
  font-size: 2.8rem;
  box-shadow: 0 4px 12px rgba(54, 33, 200, 0.12);
}

.mypage-election-candidacy-name,
.mypage-election-candidacy-lead {
  display: block;
  width: 100%;
  text-align: center;
}

.mypage-election-candidacy-name {
  color: #3621c8;
  font-size: 1.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-election-candidacy-lead {
  margin-top: -8px;
  color: #333333;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
}
.mypage-election-candidacy-form {
  width: min(100%, 620px);
  margin: 0 auto;
}

.mypage-election-candidacy-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 250px);
  min-height: 46px;
  margin: 0 auto;
  padding: 0 50px 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #5c6df2 0%, #3621c8 100%);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(54, 33, 200, 0.28);
  white-space: nowrap;
}

.mypage-election-candidacy-action i {
  position: absolute;
  right: 22px;
  top: 52%;
  transform: translateY(-50%);
  font-size: 1.25rem;
}


.mypage-election-candidacy-card-button {
  width: 100%;
  border-color: #d7d9ff;
  appearance: none;
  font-family: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

.mypage-election-candidacy-card-button:hover {
  border-color: #3621c8;
  box-shadow: 0 10px 22px rgba(54, 33, 200, 0.14);
  transform: translateY(-1px);
}

.mypage-election-candidacy-card-button .mypage-election-candidacy-action {
  pointer-events: none;
}

.mypage-election-candidacy-period {
  margin: 0;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.mypage-election-candidacy-done {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f2f3ff;
  color: #3621c8;
  font-size: 1.8rem;
  font-weight: 700;
}

@media print, screen and (max-width: 767.98px) {
  .mypage-election-candidacy {
    padding: 16px 14px;
  }

  .mypage-election-candidacy-manual,
  .mypage-election-candidacy-message,
  .mypage-election-candidacy-card {
    padding: 16px;
  }

  .mypage-election-candidacy-action {
    min-height: 44px;
    font-size: 1.45rem;
  }
}


/* repair dashboard lower panels for current markup */
.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  padding: 18px 14px 14px;
  list-style: none;
  border: 1px solid #cfe5f7;
  border-radius: 8px;
  background: #f3f9fe;
  box-shadow: 0 7px 18px rgba(24, 39, 75, 0.08);
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid > li {
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid > li::marker {
  content: none;
}

.mypage-dashboard a.msr_btn01 {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 38px;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "icon title title"
    ". text text"
    ". . arrow";
  gap: 10px 10px;
  min-height: 142px;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 16px 14px;
  border: 1px solid #d6e6f4;
  border-radius: 8px;
  background: #ffffff;
  color: #02539C;
  text-decoration: none;
  box-shadow: none;
}

.mypage-dashboard a.msr_btn01:hover {
  border-color: #b7d7ee;
  box-shadow: 0 10px 22px rgba(2, 83, 156, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.mypage-dashboard a.msr_btn01 > i:first-child {
  grid-area: icon;
  color: #02539C;
  font-size: 2.35rem;
  line-height: 1.15;
}

.mypage-dashboard a.msr_btn01 .mypage-review-title {
  grid-area: title;
  display: block;
  margin: 0;
  padding: 0;
  color: #02539C;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.mypage-dashboard a.msr_btn01 .mypage-review-text {
  grid-area: text;
  display: block;
  margin: 0;
  padding: 0;
  color: #111827;
  font-size: 1.48rem;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
}

.mypage-dashboard a.msr_btn01 .mypage-card-arrow {
  grid-area: arrow;
  display: grid;
  place-items: center;
  justify-self: end;
  align-self: end;
  width: 34px;
  height: 34px;
  border: 1px solid #02539C;
  border-radius: 50%;
  color: #02539C;
  font-size: 1.3rem;
  line-height: 1;
}

.mypage-dashboard a.msr_btn01::before,
.mypage-dashboard a.msr_btn01::after,
.mypage-dashboard a.msr_btn01 span::after {
  content: none;
  display: none;
}

.mypage-info-card {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 18px 14px 10px;
  border: 1px solid #d8d3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(24, 39, 75, 0.08);
}

.mypage-info-head h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #02539C;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-info-head h3 i {
  color: #02539C;
  font-size: 2.25rem;
}

.mypage-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e2edf7;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.mypage-info-list > li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-bottom: 1px solid #e2edf7;
}

.mypage-info-list > li:last-child {
  border-bottom: 0;
}

.mypage-info-list > li > i:first-child {
  color: #02539C;
  font-size: 2.25rem;
  text-align: center;
}

.mypage-info-list h4 {
  margin: 0 0 5px;
  color: #02539C;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.45;
}

.mypage-info-list p {
  margin: 0;
  color: #111827;
  font-size: 1.34rem;
  line-height: 1.55;
}

.mypage-info-list > li > a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #02539C;
  text-decoration: none;
}

.mypage-info-list > li > a i {
  color: inherit;
  font-size: 1.45rem;
}

.mypage-info-list .mypage-info-actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.mypage-info-list .mypage-info-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 16px;
  border: 1px solid #b7d7ee;
  border-radius: 999px;
  background: #eef8ff;
  color: #02539C;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.mypage-info-list .mypage-info-actions a:hover {
  background: #dff1ff;
  text-decoration: none;
}

a.mypage-question-card {
  grid-column: 1 / -1;
  position: relative;
  display: block;
  margin-top: 20px;
  min-height: 170px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 22px 30px 24px;
  border: 1px solid #bda8ff;
  border-radius: 8px;
  background: radial-gradient(circle at 12% 70%, rgba(114, 55, 214, 0.22) 0 34px, rgba(114, 55, 214, 0) 35px), radial-gradient(circle at 92% 18%, rgba(189, 168, 255, 0.45) 0 7px, rgba(189, 168, 255, 0) 8px), radial-gradient(circle at 86% 32%, rgba(189, 168, 255, 0.32) 0 3px, rgba(189, 168, 255, 0) 4px), radial-gradient(circle at 96% 68%, rgba(189, 168, 255, 0.3) 0 22px, rgba(189, 168, 255, 0) 23px), radial-gradient(circle at 4% 94%, rgba(189, 168, 255, 0.34) 0 4px, rgba(189, 168, 255, 0) 5px), linear-gradient(135deg, #ffffff 0%, #fbf7ff 48%, #f0e8ff 100%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(70, 38, 153, 0.12);
}

a.mypage-question-card:hover {
  box-shadow: 0 12px 26px rgba(70, 38, 153, 0.16);
  transform: translateY(-2px);
  text-decoration: none;
}

a.mypage-question-card .mypage-question-label {
  display: inline-block;
  margin: -8px 0 14px -30px;
  padding: 8px 28px 8px 24px;
  background: #6126d2;
  color: #ffff00;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

a.mypage-question-card .mypage-question-title {
  display: block;
  margin: 0 0 10px;
  color: #4b22bc;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1.5;
}

a.mypage-question-card .mypage-question-text {
  display: block;
  margin: 0;
  color: #242c3d;
  font-size: 1.36rem;
  line-height: 1.65;
}

a.mypage-question-card .mypage-question-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(320px, 100%);
  min-height: 46px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7f44ea, #4b22bc);
  color: #ffffff;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(75, 34, 188, 0.28);
}

@media print, screen and (max-width: 767.98px) {
  .mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid {
    grid-template-columns: 1fr;
  }

  .mypage-dashboard a.msr_btn01 {
    min-height: 128px;
  }

  .mypage-info-list > li {
    grid-template-columns: 36px minmax(0, 1fr) 28px;
    padding: 12px 10px;
  }

  .mypage-info-list .mypage-info-actions {
    grid-column: 1 / -1;
  }

  a.mypage-question-card {
    padding: 20px 22px 24px;
  }

  a.mypage-question-card .mypage-question-label {
    margin-left: -22px;
  }
}
/* repair dashboard headings after shared heading styles */
.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid::before {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0 8px 44px;
}

.mypage-dashboard ul.nintei_flex01.mypage-sub-action-grid::after {
  left: 18px;
  top: 19px;
  margin: 0;
  line-height: 1;
}

.mypage-dashboard .mypage-info-card .mypage-info-head h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #02539C;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
}

.mypage-dashboard .mypage-info-card .mypage-info-head h3 i {
  flex: 0 0 auto;
  margin: 0;
  color: #02539C;
  font-size: 2.25rem;
  line-height: 1;
}

.mypage-dashboard .mypage-info-list h4 {
  display: block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  border-left: 0;
  background: transparent;
  color: #02539C;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.45;
}

.mypage-dashboard .mypage-info-list > li > i:first-child {
  align-self: start;
  margin-top: 3px;
  line-height: 1;
}

.mypage-dashboard .mypage-info-list > li > a {
  align-self: center;
}
/* repair info panel title against legacy #main heading rules */
#main .mypage-dashboard .mypage-info-card .mypage-info-head {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 0;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-head h3 {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #02539C !important;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-head h3 i {
  position: static !important;
  flex: 0 0 auto;
  display: inline-block;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #02539C !important;
  font-size: 2.25rem;
  line-height: 1;
  transform: none !important;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-list > li {
  overflow: visible;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-list > li > div {
  min-width: 0;
  width: 100%;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-list h4 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  color: #02539C !important;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.45;
}
/* info list block links */
#main .mypage-dashboard .mypage-info-list > li {
  display: block;
  min-height: 0;
  padding: 0;
}

#main .mypage-dashboard .mypage-info-list .mypage-info-block-link {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  height: auto !important;
  min-height: 72px;
  box-sizing: border-box;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

#main .mypage-dashboard .mypage-info-list .mypage-info-block-link:hover {
  background: #f5fbff;
  text-decoration: none;
}

#main .mypage-dashboard .mypage-info-list .mypage-info-block-link > i:first-child,
#main .mypage-dashboard .mypage-info-list .mypage-info-item-actions > i:first-child {
  align-self: start;
  margin-top: 3px;
  color: #02539C;
  font-size: 2.25rem;
  line-height: 1;
  text-align: center;
}

#main .mypage-dashboard .mypage-info-list .mypage-info-block-link > i:last-child {
  align-self: center;
  justify-self: center;
  color: #02539C;
  font-size: 1.45rem;
  line-height: 1;
}

#main .mypage-dashboard .mypage-info-card li.mypage-info-item-actions {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  box-sizing: border-box;
  min-height: 72px;
  padding: 14px 16px 16px;
  color: inherit;
}

#main .mypage-dashboard .mypage-info-card li.mypage-info-item-actions .mypage-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

#main .mypage-dashboard .mypage-info-card li.mypage-info-item-actions .mypage-info-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  min-height: 34px;
  padding: 6px 16px;
  border: 1px solid #b7d7ee;
  border-radius: 999px;
  background: #eef8ff;
  color: #02539C;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

#main .mypage-dashboard .mypage-info-card li.mypage-info-item-actions .mypage-info-actions a:hover {
  background: #dff1ff;
  text-decoration: none;
}

@media print, screen and (max-width: 767.98px) {
  #main .mypage-dashboard .mypage-info-list .mypage-info-block-link {
    grid-template-columns: 36px minmax(0, 1fr) 28px;
    padding: 12px 10px;
  }

  #main .mypage-dashboard .mypage-info-card li.mypage-info-item-actions {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px 10px 14px;
  }
}
/* align info block link text columns */
#main .mypage-dashboard .mypage-info-card .mypage-info-list .mypage-info-block-link {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 36px !important;
  grid-template-rows: auto !important;
  grid-template-areas: none !important;
  align-items: center !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 72px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-align: left !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-list .mypage-info-block-link > i:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: center !important;
  margin: 3px 0 0 !important;
  color: #02539C !important;
  font-size: 2.25rem !important;
  line-height: 1 !important;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-list .mypage-info-block-link > div {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-list .mypage-info-block-link > i:last-child {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: center !important;
  margin: 0 !important;
  color: #02539C !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
}

#main .mypage-dashboard .mypage-info-card .mypage-info-list .mypage-info-block-link h4 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  text-align: left !important;
}

@media print, screen and (max-width: 767.98px) {
  #main .mypage-dashboard .mypage-info-card .mypage-info-list .mypage-info-block-link {
    grid-template-columns: 36px minmax(0, 1fr) 28px !important;
    padding: 12px 10px !important;
  }
}
/* center single application card when shown beside election/candidacy */
#main .mypage-dashboard .mypage-procedure-demo > .mypage-application-group .mypage-application-buttons {
  width: 100%;
}

#main .mypage-dashboard .mypage-procedure-demo > .mypage-application-group .mypage-application-buttons > .mypage-application-btn:only-child {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  width: min(100%, 580px) !important;
}

@media print, screen and (max-width: 767.98px) {
  #main .mypage-dashboard .mypage-procedure-demo > .mypage-application-group .mypage-application-buttons > .mypage-application-btn:only-child {
    width: 100% !important;
  }
}

/* center two application cards when applications are shown alone */
.mypage-dashboard .mypage-application-only.is-count-2 .mypage-application-buttons,
#main .mypage-dashboard .mypage-application-only.is-count-2 .mypage-application-buttons {
  grid-template-columns: repeat(2, minmax(0, 330px)) !important;
  justify-content: center !important;
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.mypage-dashboard .mypage-application-only.is-count-2 .mypage-application-buttons > .mypage-application-btn,
#main .mypage-dashboard .mypage-application-only.is-count-2 .mypage-application-buttons > .mypage-application-btn {
  width: 100% !important;
}

.mypage-dashboard .mypage-application-only.is-count-3 .mypage-application-buttons,
#main .mypage-dashboard .mypage-application-only.is-count-3 .mypage-application-buttons {
  width: 100%;
}

@media print, screen and (max-width: 767.98px) {
  .mypage-dashboard .mypage-application-only.is-count-2 .mypage-application-buttons,
  .mypage-dashboard .mypage-application-only.is-count-3 .mypage-application-buttons,
  #main .mypage-dashboard .mypage-application-only.is-count-2 .mypage-application-buttons,
  #main .mypage-dashboard .mypage-application-only.is-count-3 .mypage-application-buttons {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }
}
/* center application cards by rendered button count */
.mypage-dashboard .mypage-application-buttons.is-count-2,
#main .mypage-dashboard .mypage-application-buttons.is-count-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  width: min(100%, 680px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.mypage-dashboard .mypage-application-buttons.is-count-2 > .mypage-application-btn,
#main .mypage-dashboard .mypage-application-buttons.is-count-2 > .mypage-application-btn {
  width: 100% !important;
  max-width: none !important;
}

@media print, screen and (max-width: 767.98px) {
  .mypage-dashboard .mypage-application-buttons.is-count-2,
  #main .mypage-dashboard .mypage-application-buttons.is-count-2 {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
}