/* ----------------------------
  common
---------------------------- */

html{
	font-family:"Hiragino Sans", "ヒラギノ角ゴシック","sans-serif";
}

body{
	margin: 0 auto;
	padding: 0;
	overflow-wrap: anywhere;
	overflow-x: hidden;
	color: #333;
	width: 100%;
	max-width: 960px;
}

body, div, p, a, span,
header, section, footer, h1, h2, h3,
dl, dt, dd {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

h1, h2, h3 {
	font-weight: 500;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 16px;
}

h3 {
	font-size: 13px;
}


/* ----------------------------
  top
---------------------------- */

.link_account_top h1 img {
	margin-right: 10px;	
    align-self: flex-start;
}

.link_account_contents p {
	font-size: 13px;	
	color: #666;
}

/* ----------------------------
  success / error
---------------------------- */

.link_account_success p {
	text-align: center;
	color: #0683ff;
	font-weight: bold;
	font-size: 16px;
}

.link_account_error p {
	text-align: center;
	color: #f00;
	font-weight: bold;
	font-size: 16px;
}

/* ----------------------------
  advantage
---------------------------- */

.clearfix {
	position: relative;
}

.circle_number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	padding-top: 3px;
	color: #fff;
	font-weight: 500;
	background-color: #0683FF;
	border-radius: 50%;
	text-align: center;
	box-sizing: border-box;
}

.link_account_advantage {
	margin-bottom: 60px;
}

.link_account_advantage h2 {
	margin: 30px 0;
}

.link_account_advantage > div {
	display: flex;
	justify-content: center;
	gap: 30px;
}

.link_account_advantage > div > div {
	width: 230px;
	box-shadow: 0px 3px 15px -5px #ccd2dd;
	border-radius: 15px;
	padding: 15px;
}

.link_account_advantage .advantage_icon {
	text-align: center;
}

.link_account_advantage .advantage_icon img {
	width: 100px;
}

.link_account_advantage > div div h3 {
	text-align: center;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
}

.link_account_advantage p {
	font-size: 10px;
	color: #666;
	margin: 0;
	text-align: inherit;
	line-height: 1.8em;
}

/* ----------------------------
  usageStatus
---------------------------- */

.link_account_usageStatus_bg {
	background-color: #f7f8fc;
}

.link_account_usageStatus {
	text-align: center;
	padding: 50px;
}

.link_account_usageStatus > div  {
	display: flex;
    align-items: center;
	justify-content: center;
}

.link_account_usageStatus > div img {
	width: 100%;
	border-radius: 50%;
	max-width: 60px;
}

.link_account_usageStatus > div .link_icon {
	max-width: 27px;
	margin: 0 25px;
	border-radius: 0;
}

.link_account_usageStatus h1 {
	width: 80%;
	margin: 60px auto;
}

.link_account_usageStatus dl {
    margin: 0 auto;
    color: #999;
    border: solid 1px #d0d0d0;
    border-radius: 10px;
	max-width: 700px;
}

.link_account_usageStatus .account_item {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #d0d0d0;
}

.link_account_usageStatus .account_item:last-child {
    border-bottom: none;
}

.link_account_usageStatus .account_item .not_linked {
	color: #666;
}

.link_account_usageStatus dt,
.link_account_usageStatus dd {
    display: flex;
    align-items: center;
    text-align: left;
	font-size: 13px;
    padding: 10px;
    box-sizing: border-box;
}

.link_account_usageStatus dt {
    flex: 1 1 170px;
    border-right: 1px solid #d0d0d0;
    word-wrap: break-word;
	color: #333;
}

.link_account_usageStatus dd {
    margin-inline-start: 0;
	width: calc(100% - 170px - 20px);
    overflow: hidden;
	font-size: 12px;
	color: #333;
}

.link_account_usageStatus dd span.x-user-name {
	color: #666;
}

.link_account_usageStatus dd span {
    white-space: wrap;
	font-size: 20px;
}

.link_account_usageStatus > p {
    border-radius: 3px;
    margin: 60px auto;
	max-width: 650px;
}

.link_account_usageStatus input[type="submit"] {
	font-weight: 500;
	font-size: 14px;
	color: #fff;
	background-color: #0683FF;
	padding: 10px 25px;
	border-width: 0px;
	border-radius: 10px;
	cursor: pointer;
	display: inline-block;
	appearance: button;
	-moz-appearance: button;
	-webkit-appearance: button;
}

/* ----------------------------
  dialog
---------------------------- */
/* 同じ指定がbasic.cssにも存在するので一緒に修正すること */

.ui-dialog {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ui-dialog .ui-dialog-titlebar {
	background-color: #262729;
	color: white;
}

/* ----------------------------
  loginDialog
---------------------------- */
/* 以下の指定はbasic.cssの先頭部分に合わせること */

div.login {
	margin: 0px;
	padding: 0px;
}

div.dialogArea {
	font-size: 12px;
}

div.dialogArea p,
div.dialogArea ul {
	margin: 0px;
	padding: 0px;
	
}

div.dialogArea ul li {
	list-style-type: none;
}

/* ----------------------------
  myPage
---------------------------- */

.link_account_myPage {
	font-weight: 500;
	margin: 40px  0;
	font-weight: 500;
}

.link_account_myPage p {
	line-height: 1;
	color: #999;
	display: inline-block;
	cursor: pointer;
}

.link_account_myPage p span {
	display: inline-block;
	vertical-align: baseline;
	color: #999;
	line-height: 1;
	width: 9px;
	height: 9px;
	border: 0.2em solid currentColor;
	border-left: 0;
	border-bottom: 0;
	box-sizing: border-box;
	transform: translateX(25%) rotate(-135deg);
	margin-right: 10px;
}

.link_account_myPage p a {
	text-decoration: none;
	color: #999;
}

@media screen and (max-width:768px) {

	h1 {
		font-size: 20px;
	}
	
	h2 {
		font-size: 16px;
	}
	
	h3 {
		font-size: 12px;
	}

	.link_account_section {
		width: 90%;
		margin: 0 auto;
	}

	.link_account_top h1 {
		display: flex;
		align-items: center;
	}

	.link_account_advantage > div {
		display: block;
	}

	.link_account_advantage > div > div {
		width: 100%;
		padding: 15px 30px 30px 30px;
		margin: 50px 0;
	}

	.link_account_advantage > div div h3 {
		font-size: 14px;
	}

	.link_account_usageStatus {
		padding: 40px 0;
	}

	.link_account_usageStatus h1 {
		width: 100%;
		margin: 30px auto;
	}

	.link_account_usageStatus > p {
		margin: 30px auto;
	}

	.link_account_usageStatus dt,
	.link_account_usageStatus dd {
		font-size: 11px;
	}

	.link_account_usageStatus dd {
		width: 75%;
	}

	.link_account_usageStatus > div .link_icon {
		margin: 0 5%;
	}
}