@charset "utf-8";
.cd_title {
	font-size: 36px;
	font-weight: bold;
	display: flex;
	justify-content: center; /* 全体を中央揃え */

	align-items: center;
	position: relative;
	margin-top: 15px;
}
.cd_title::before {
	content: '';
	display: inline-block;
	width: 33px;   /* アイコンの幅 */
	height: 35px;  /* アイコンの高さ */
	background-image: url(../../images/category/flow/cd/cd_titleicon.png);  /* アイコンの画像URL */
	background-size: cover;
	margin-right: 8px;  /* タイトルとの間隔 */
}
.cd_title2 {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 10px;
	font-size: x-large;
	color: #FFF;
	font-weight: bold;
	margin-right: auto;
	margin-left: auto;
}
.cd_title2 p {
	background-color: #0CF;
	margin-right: auto;
	margin-left: auto;
	display: inline-block;
	border-radius: 5px;
	padding-top: 15px;
	padding-right: 50px;
	padding-bottom: 15px;
	padding-left: 50px;
}
.toplistbox {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 30px;
	margin-bottom: 20px;
}
.spacer {
	height: 0; /* 視覚的には何も表示しない */
	width: 30%;
}
.button_s {
	display: flex;
	justify-content: center;
	font-size: medium;
	color: #fff;
	background-color: #3498db;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
	text-decoration: none;
	width: 30%;
	padding-top: 12px;
	padding-bottom: 12px;
	margin-bottom: 15px;
}
        
.button_s::after {
	content: "▼"; /* 下矢印 */
	font-size: 0.7rem;
	margin-left: 10px;
	transition: transform 0.3s ease;
}

.button_s:hover {
	background-color: #2980b9;
	color: #FF9;	
}

.button_s:hover::after {
	transform: translateY(3px); /* 矢印が少し下に移動 */
}

.redwakupick {
	border: 4px double #F00;
	display: inline-block;
	padding: 5px;
	margin-left: 25px;
	margin-top: 10px;
	color: #F00;
}

.text_c {
	text-align: center;
}
.text_l {
	text-align: left;
}
.pick_b1 {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 25px;
}
.pick_b1 p {
	padding: 15px;
	border: 1px solid #999;
}
.textbox_s {
	margin-top: 30px;
	margin-bottom: 30px;
}
.hyoujibox {
	padding: 10px;
	margin-top: 20px;
	text-align: center;
	background-color: #FFC;

}

.btn_l:hover{
	cursor: pointer;
}

.btn_l::after{
    content: "▼";
    font-size: 0.7rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
	transform: translateY(-2px);
	display: inline-block;
}

.btn_l::before{
    content: "▼";
    font-size: 0.7rem;
    margin-right: 10px;
    transition: transform 0.3s ease;
	transform: translateY(-2px);
	display: inline-block;
}

.hyoujibox{
	margin-top: 40px;
	user-select: none;
}

.hide_hyoujibox{
	display: none;
}

.confirm_textbox_s{
	border: 1px solid red;
	padding: 12px;
	box-sizing: border-box;
	background-color: #ffffed
}
/* LIONcub: confirmation documents, workbook sheets 4 and 5 */
.document-intro { font-size:18px; font-weight:bold; }
.documents-ekyc .toplistbox { gap:15px 20px; }
.documents-ekyc .button_s { width:calc(50% - 10px); margin-bottom:0; align-items:center; }
.document-notes { list-style:disc; padding-left:1.3em; margin:0; font-size:14px; }
.document-notes li { margin:0 0 .6em; line-height:1.65; }
.document-combinations { width:100%; border-collapse:collapse; margin:20px 0 12px; table-layout:fixed; text-align:center; }
.document-combinations th,.document-combinations td { border:1px solid #333; padding:12px 8px; line-height:1.6; }
.document-combinations th { background:#fcc; font-size:18px; font-weight:bold; }
.document-combination-note { margin:12px 0 25px; }
.documents-post #link5 { margin-top:0 !important; }
@media (max-width:940px) {
  #wrapper { width:100%; box-sizing:border-box; padding:20px 16px 0; }
  .contents { padding:24px 8px; }
  .cd_title { font-size:clamp(22px,5vw,36px); line-height:1.4; }
  .cd_title::before { flex-shrink:0; }
  .cd_title2 p { padding:14px 18px; }
  .idbox { flex-direction:column; gap:16px; }
  .contents .idbox .rightbox { margin:0; }
  .idbox > div { max-width:100%; }
  .idbox > div[style*="margin-left"] { margin-left:0 !important; margin-top:0 !important; }
  .contents .idbox .caution { width:auto; }
  img { max-width:100%; height:auto; }
  .document-combinations th { font-size:16px; }
  .document-combinations td { font-size:14px; overflow-wrap:anywhere; }
  .redwakupick { margin-left:0; }
}
@media (max-width:480px) {
  .cd_title2 { font-size:18px; }
  .documents-ekyc .toplistbox { gap:12px; }
  .documents-ekyc .button_s { width:calc(50% - 6px); font-size:14px; padding:12px 4px; box-sizing:border-box; }
  .button_s::after { margin-left:4px; }
}.documents-post #link1 { margin-top:40px; }
@media (min-width:941px) {
  .documents-ekyc .leftbox { flex:0 0 250px; }
  .documents-ekyc .leftbox h2 { white-space:nowrap; }
}
@media (max-width:480px) {
  .cd_title2 p { font-size:16px; padding:14px 10px; }
}

/* Postal document navigation: two originals, then six other documents. */
.documents-post .document-menu { margin:30px 0 20px; }
.documents-post .document-menu-primary { display:flex; justify-content:center; gap:5%; margin-bottom:15px; }
.documents-post .document-menu-secondary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px 5%; }
.documents-post .document-menu .button_s { box-sizing:border-box; width:100%; margin:0; padding:12px 6px; align-items:center; text-align:center; }
.documents-post .document-menu-primary .button_s { width:30%; }
@media (max-width:600px) {
  .documents-post .document-menu-primary { gap:10px; }
  .documents-post .document-menu-primary .button_s { width:calc(50% - 5px); }
  .documents-post .document-menu-secondary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .documents-post .document-menu .button_s { font-size:13px; }
}
/* Email identity documents: hanging indent for bullet notes. */
.documents-email .contents .idbox .number dd {
  padding-left: 1em;
  margin-left: 25px;
  text-indent: -1em;
}

/* Email receipt only: residence-card IC chip address warning. */
.documents-email .contents .idbox .document-ic-warning {
  margin: 18px 0 0 calc(25px + 1em);
  color: #d93025;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  text-indent: 0;
  overflow-wrap: anywhere;
}

