@charset "utf-8";
* {
	padding: 0px;
	/*text-align: center;*/
	margin: 0px;
}
body {
	font-size: 14px;
	line-height: 150%;
	color: #000000;
	/*text-align: left;*/
	background-position: center top;
	font-family: "Hiragino Pro W3", "Hiragino Kaku Gothic Pro", YuGothic, Meiryo, Verdana, sans-serif;
}

#topimage {
	background-image: url(../images/bg.png);
	background-repeat:repeat-x;
	margin-right: auto;
	margin-left: auto;
}

#topimage .top{
	width: 900px;
	margin-right: auto;
	margin-left: auto;
}

.top{
	position: relative;
}
.logo{
	position: absolute;
    top: 5px;
    left:625px;
    width: 160px;
}

/*img {
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}*/
#form {
	width: 800px;
	margin-right: auto;
	margin-left: auto;
	/*text-align: center;*/
	padding-top: 20px;
}
.comment01  {
	font-size: 12px;
	color: #F00;
	text-align: center;
}
a {
	text-decoration: none;
}

a:link {
	color: #0099FF;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

.indent{
	margin-left:1em;text-indent:-1em;
}

.bold{
	font-weight: bold;
}


.font-size{
	font-size: 18px;
}

#wrapper {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
#header {
	width: 100%;
	max-width: 2000px;
	margin-right: auto;
	margin-left: auto;
	position:relative;
	text-align: center;
}

.header_up{
	background-image: url(../images/header_bg.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.header_down{
	background-color: #0d52a0;
}
#topimg {
	background-color: #03AFFF;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
#button {
	overflow: hidden;	width: 830px;/*K{IIE6Ěöę*/
}
.button_flex{
	display: flex;
}
#button ul li{
	float: left;
	padding-left: 21px;
	padding-right: 21px;
}
#FormText{
	padding-top: 5px;
	font-weight: bold;
	color: #F00;
	font-size: 12px;	
}
#main {
	margin-top: 16px;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFF;
	/* background-image: url(../images/top_img_0_1.png); */
	background-repeat: no-repeat;
	background-position: center top;
	margin-bottom: 15px;
}

#main .menu_nabi {
	color: #E0DABA;
	font-size: 18px;
	font-weight: bold;
	width: 870px;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	padding-left: 15px;
	height: 35px;
	background-color: #910000;
	padding-top: 10px;
}

.swap_text{
	margin-top: 16px;
	padding-left: 10px;
	padding-right: 10px;
	box-sizing: border-box;
}

.swapbtn{
  margin:20px 0 20px 0;
}

.swapbtn a:hover{
  opacity:0.8;
}

#t_company {
	width: 880px;
	margin-bottom: 17px;
	margin-top: 24px;
}
#t_company tr th {
	width: 470px;
	vertical-align: top;
	font-weight: normal;
	padding-left: 32px;
	text-align: left;
}
#ContractBtn {
	clear: both;
	overflow: hidden;
	padding-left: 24px;
	padding-top: 5px;
	padding-bottom: 8px;
}
.content {
	margin-right: auto;
	margin-left: auto;
	width: 880px;
	margin-top: 24px;
}
.content p {
	padding-left: 15px;
	padding-top: 3px;
	padding-right: 15px;
	color: #000000;
	margin-top: 4px;
}

.content .cp_period p:last-child{
	padding-top: 0px;
	margin-top: 0px;
}
h2 {
	background-color: #0078a7;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #0078a7;
	height: 20px;
	/*text-align: left;*/
	font-size: 18px;
	font-weight: bold;
	color: #FFF;
	padding-left: 38px;
	border-right-width: 2px;
	border-right-style: solid;
	border-right-color: #0078a7;
	margin-top: 10px;
	padding-top: 6px;
	padding-bottom: 7px;
	margin-top: 32px;
}
h3 {
	background-image: url(../images/navi_bg.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 20px;
	/*width: 840px;*/
	/*text-align: left;*/
	padding-left: 14px;
	font-size: 16px;
	background-color: #FFF;
	margin-top: 24px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #910000;
	font-weight: bold;
	padding-bottom: 5px;
}

.swap_calc{
	text-align: center;
	margin-top: 16px;
}

.swap_terms{
	margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 12px;
}

.swap_terms p{
	margin-top: 0px;
}

.content .info_risk p{
	color: #ef2e2e;
}
.info_risk{
	padding: 4px;
	box-sizing: border-box;
	border: 3px solid #ff6060;
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}
.important {
	color: #F00;	
}
#footer {
	background-color: #FFF;
	height: 50px;
	padding-top: 20px;
	width: 880px;
	font-weight: bold;
	color: #F00;
	text-align: center;
	margin-right: auto;
	margin-left: auto;

}

.code_i{
	font-family: inherit !important;
}

.red_text{
	color: #F00;
	text-align: center;
	font-weight: 900;
	font-size: 14px;
	display: inline-block;
    width: 373px;
}

.ex{
	margin-top: 16px;
}

.ex1_formula{
	display: grid;
	grid-template-columns: 162px 1fr 236px 1fr 130px 1fr 200px;
	align-items: center;
    padding-left: 15px;
    padding-right: 13px;
    box-sizing: border-box;
	margin-top: 10px;
	line-height: 1.3;
}

.formula_border{
	border: 2px solid #ffc2c2;
	background-color: #fffbf7;
	padding: 4px;
}

.formula_border_blue{
	border: 2px solid #c2d2ff;
	background: aliceblue;
}

.ex1_formula div{
    text-align: center;
    height: 41px;
    padding-top: 8px;
	padding-bottom: 8px;
    align-items: center;
    display: inline-table;
    vertical-align: middle;

}
table.ex_table{
	border-collapse: collapse;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 15px;

    width: 852px;
}




.content p.ex1_table_box_tab{
	border-radius: 24px;
	padding-top: inherit;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 12px;
	position: relative;
	padding-left: 22px;
}

.content p.ex1_table_box_tab::before{
    content: "";
    position: absolute;
    top: 50%;   
    left: 16px;
    transform: translateY(-50%);   
    border: 8px solid transparent;
    border-left: 11px solid #fff;   
}


.content p.ex2_table_box_tab{
	border-radius: 24px;
	padding-top: inherit;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 12px;
	position: relative;
	padding-left: 22px;
}

.content p.ex2_table_box_tab::before{
    content: "";
    position: absolute;
    top: 50%;   
    left: 16px;
    transform: translateY(-50%);   
    border: 8px solid transparent;
    border-left: 11px solid #fff;   
}


.content p.ex3_table_box_tab{
	border-radius: 24px;
	padding-top: inherit;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 12px;
	position: relative;
	padding-left: 28px;
	font-feature-settings: "palt";
}

.content p.ex3_table_box_tab::before{
    content: "";
    position: absolute;
    top: 50%;   
    left: 16px;
    transform: translateY(-50%);   
    border: 8px solid transparent;
    border-left: 11px solid #fff;   
}

.content p.ex4_table_box_tab{
	border-radius: 24px;
	padding-top: inherit;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 12px;
	position: relative;
	padding-left:28px;
	font-feature-settings: "palt";
}

.content p.ex4_table_box_tab::before{
    content: "";
    position: absolute;
    top: 50%;   
    left: 16px;
    transform: translateY(-50%);   
    border: 8px solid transparent;
    border-left: 11px solid #fff;   
}

.content p.ex5_table_box_tab{
	border-radius: 36px;
	padding-top: inherit;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 12px;
	position: relative;
	padding-left: 22px;
}

.content p.ex5_table_box_tab::before{
    content: "";
    position: absolute;
    top: 50%;   
    left: 16px;
    transform: translateY(-50%);   
    border: 8px solid transparent;
    border-left: 11px solid #fff;   
}


.content p.ex_table_box_tab{
	background-color: #0d52a0;
    color: white;
}

.content p.ex_table_box_tab{
	transition: all 0.3s;
}

.content p.ex_table_box_tab::before{
	content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left: 9px solid #fff; 
}

.content p.tab_on::before{

    content: "";
    position: absolute;
    top: 48%;
    left: 15px;
    transform: translateY(-63%) rotate(-30deg);
    border: 6px solid transparent;
    border-left: 10px solid #fff;

}

.ex_table_box_tab:hover{
	cursor: pointer;
}

.ex3{
	margin-top: 24px;
}


.swap_border_plus{
	background-color: #fffbf7;
}

.swap_border_plus_plus{
    background-color:aliceblue;
}

.ex2{
	margin-top: 24px;
}

.ex_table tr.week td{

	background-color: #f3f3f3;

	padding-top: 2px;
	padding-bottom: 2px;
}

.ex_table tr td{
	text-align: center;
	border: 1px solid #cecece;
}

.ex_table tr.plusday td{
padding-top: 8px;
padding-bottom: 8px;
}

.ex_table tr td.swap_border{
	border-bottom: 4px solid red;
}

.ex_table tr td.swap_border_blue{
	border-bottom: 4px solid blue;
}


.swap_border{
	position: relative;
}

.swap_border_left::before{
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 7px solid #ff0000;
	border-left: 0;
	left: -2px;
    top: 32px;
}

.swap_border_right::after{
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 7px solid #ff0000;
	border-right: 0;
	right: -3px;
    top: 32px;
}

.swap_border_right_blue::after{
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 7px solid blue;
	border-right: 0;
	right: -7px;
    top: 32px;
}

.chuui_red {
  display: grid;
  grid-template-columns: 1fr; /* 1列 */
  gap: 10px; /* 列間の隙間 */
  padding: 10px 30px 10px 30px; /* グリッドの周囲の隙間 */
  border: 3px solid #ff6060;
  margin: 10px 30px 10px 30px;
}