/* --------------------
   main
-------------------- */
#backimg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: url("../images/index/main.jpg") no-repeat center center;
  background-size: cover;}
#unionone {
  position: absolute;
  bottom: 5vh;
  left: 0;
  width: 100vw;}
/* --- hdlink --- */
#hdlink a {
  display: block;
  height: 100px;
  line-height: 98px;
  padding-left: 30px;
  background: #FFFFFF;
  border:1px solid #1D4494;}
#hdlink a.a_contact {
  margin-top: -1px;
  background: #1D4494;
  color: #fff;}
#hdlink a img {
  position: relative;
  top: -3px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline;}
/* --- main --- */
#main h1 { padding-bottom: 1em;}

@media screen and (min-width: 1081px){
  #main .contents {
    display: flex;
    align-items: center;
    height: 100vh;
    min-height: 600px;}
  #hdlink {
    position: absolute;
    top: 40vh;
    right: 0;
    width: 36vw;}
  #hdlink a { width: 32vw;}
  #hdlink a.a_contact { margin-left: 4vw;}
  #main {
    height: 100vh;
    min-height: 600px;}}
@media screen and (max-width: 1080px){
  #unionone { bottom: 20px;}
  #main { padding-bottom: 20vw;position: relative;}
  #main .contents { padding-top: 160px;}
  #hdlink {
    position: relative;
    padding: 40px 100px 0;}
  #hdlink a {
    padding: 0;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;}}
@media screen and (max-width: 768px){
  #hdlink { padding: 40px 8vw 0;}}
@media screen and (max-width: 480px){
#backimg {
  background: url("../images/index/main.jpg") no-repeat center center;
  background-size: cover;}
  #main h1 { font-size: 1.5rem;}}

/* --------------------
   news
-------------------- */
#news {
  padding: 40px;
  background: #F4F7F8;
  gap:40px;
  display: flex;}
#news h1 {
  padding-right: 30px;
  height: 20px;
  line-height: 20px;
  border-right: 1px solid #1D4494;}
#news p,#news a { line-height: 20px;}
#news .item {
  gap:40px;
  display: flex;}
#news a.title { text-decoration: underline;}
#news a.all {
  margin-top: -5px;
  display: block;
  padding: 0 16px;
  height: 30px;
  line-height: 30px;
  background: #DCE2EB;}
@media screen and (max-width: 1280px){
  #news,#news .item { flex-wrap: wrap;gap: 10px 20px;}
  #news a.title { margin-bottom: 20px;}}
@media screen and (max-width: 768px){
  #news { padding: 40px 8vw;}}
@media screen and (max-width: 480px){
  #news a.all { width: 100%; text-align: center;}}

/* --------------------
   about
-------------------- */
#about {
  padding: 160px 0 200px;
  background: #F4F7F8;}
#about h1 span { display: block;}
#about h2 {
  padding: 100px 0;}
#about .info { position: relative;}
#about .info .list {
  display: flex;
  padding-bottom: 100px;
  position: relative;
  flex-wrap: wrap;}
#about .info .item {
  position: relative;
  width: 50%;}
#about .info .item .box {
  position: relative;
  padding: 50px;}
#about .info .item:nth-child(2n) { right: 1px;}
#about .info .item:nth-child(1),#about .info .item:nth-child(2) { top: 1px;}
#about .info .item::before, #about .info .item::after,
#about .info .item .box::before, #about .info .item .box::after {
  position: absolute;
  width: 60px;
  height: 60px;
  content: '';}
#about .info .item .box::before {
  border-left: solid 1px  #C2CCDB;
  border-top: solid 1px #C2CCDB;
  top: 0;
  left: 0;}
#about .info .item .box::after {
  border-right: solid 1px #C2CCDB;
  border-top: solid 1px #C2CCDB;
  top: 0;
  right: 0;}
#about .info .item::before {
  border-left: solid 1px #C2CCDB;
  border-bottom: solid 1px #C2CCDB;
  bottom: 0;
  left: 0;}
#about .info .item::after {
  border-right: solid 1px #C2CCDB;
  border-bottom: solid 1px #C2CCDB;
  bottom: 0;
  right: 0;}
#about .info .item img { margin: 0 auto;}
#about .info .item h3 {
  padding: 10px 0 20px;
  text-align: center;}
#about .wrap_flex {
  display: flex;
  justify-content: space-between;}
#about .wrap_flex .area { width: 310px;}
#about h3.bar {
  margin-bottom: 30px;
  position: relative;
  padding-left: 30px;}
#about h3.bar::before {
  display: block;
  position: absolute;
  left: 0;
  top: 20px;
  vertical-align: middle;
  content: "";
  width: 20px;
  height: 2px;
  background: #1D4494;}
#about .point .list,#about .area .list {
  display: flex;
  gap:10px;}
#about .area .list { flex-wrap: wrap;}
#about .point .item,#about .area .item {
  border-radius: 4px;
  background: #DCE2EA;}
#about .point .item {
  padding-top: 22px;
  text-align: center;
  height: 120px;
  width: 120px;}
#about .point .item img { margin: 0 auto;}
#about .area .item { width: 150px;}

@media screen and (max-width: 1280px){
  #about { padding: 15vw 0;}
  #about h2 { padding: 10vw 0;}
  #about .wrap_flex { flex-wrap: wrap;gap:40px;}
  #about .point .list, #about .area .list {
    width: 100%;
    flex-wrap: wrap;}
  #about .info .list { padding-bottom: 10vw;}
  #about .point,#about .wrap_flex .area { width: 100%;}}
@media screen and (max-width: 768px){
  #about .info .item { width: 100%;}
  #about .info .item:nth-child(1),
  #about .info .item:nth-child(2),
  #about .info .item:nth-child(3),
  #about .info .item:nth-child(4) { right: 0; top: 0;}
  #about .info .item .box::before,#about .info .item .box::after { top:-1px;}
  #about .point .item,#about .area .item { width: calc(50% - 5px);}}
@media screen and (max-width: 480px){
  #about h2 { font-size: 1.2rem; text-align: left;}}

/* --------------------
   message
-------------------- */
#message {
  padding: 160px 0;
  position: relative;
  background: #F4F7F8;}
#message::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  width: 95vw;
  height: 100%;}
#message h1 span { display: block;}
#message h2 { padding: 60px 0 30px;}
#message .right { padding-top: 30px;}
#message .wrap_flex {
  gap:0;
  display: flex;}
#message .textbox {
  padding: 0 10vw;
  width: 60vw;
  position: relative;}
#message .photo {
  width: 40vw;
  position: relative;}
@media screen and (max-width: 1280px){
  #message { padding: 20vw 0;}
  #message .textbox { padding: 0 5vw;}}
@media screen and (max-width: 1080px){
  #message .wrap_flex { flex-wrap: wrap;}
  #message .textbox { width: 100vw;padding: 0 8vw;}
  #message .photo { right: -8vw;width: 92vw;margin-top: 8vw;}}
@media screen and (max-width: 480px){
  #message h2 { font-size: 1.2rem;}}

/* --------------------
   agent
-------------------- */
#agent {
  padding-bottom: 160px;
  position: relative;
  background: #F4F7F8;}
#agent h1 span { display: block;}
#agent::before {
  position: absolute;
  top: 0;
  left: 0;
  background: url("../images/index/agent-back.jpg") no-repeat center top;
  content: "";
  width: 100vw;
  height: 640px;
  display: block;}
#agent .backbox { padding: 160px 0 100px;}
#agent .list {
  gap:40px;
  flex-wrap: wrap;
  display: flex;}
#agent .list .item {
  padding: 50px 60px 60px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0px 2px 10px #77818E33;
  width: calc(50% - 20px);}
#agent .title_flex {
  margin: -28px 0 -8px;
  gap:30px;
  justify-content: center;
  display: flex;}
#agent .title_flex p { padding-top: 46px;}
#agent .list h2 { text-align: center;}
#agent .title_flex span {
  position: relative;
  top: -5px;}
#agent .list .item > p {
  margin-top: 32px;
  padding-top: 36px;
  border-top: 1px solid #DCE2EB;}
@media screen and (max-width: 1280px){
  #agent { padding-bottom: 20vw;}
  #agent .backbox { padding: 20vw 0 10vw;}
  #agent .list .item { width: 100%;}}
@media screen and (max-width: 768px){
  #agent::before { background-size: 250% auto;}
  #agent .list .item { padding: 50px 8vw 60px;}
  #agent .list h2.txs-120 { font-size: 120px;}
  #agent .title_flex { gap:20px;}}
@media screen and (max-width: 480px){
  #agent .list { gap: 20px;}}

/* --------------------
   howto
-------------------- */
#howto {
  padding: 160px 0 180px;
  background: #fff;}
#howto .textbox {
  display: flex;
  gap:100px;}
#howto .textbox p { flex: 1;}
#howto .panel .list {
  padding: 120px 0 100px;
  gap:80px;
  display: flex;}
#howto .label {
  margin-bottom: 30px;
  position: relative;}
#howto .label p {
  padding-top: 36px;
  position: absolute;
  background: #1D4494;
  width: 120px;
  height: 120px;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  top: -10px;
  left: -10px;}
#howto .osusume {
  margin-bottom: 120px;
  padding: 60px 0;
  display: flex;
  gap:140px;
  border-top:1px solid #C2CCDB;
  border-bottom:1px solid #C2CCDB;}
#howto .osusume p { flex: 1;}
#howto .work .list {
  padding-top: 60px;
  gap:60px;
  display: flex;}
#howto .work .item img {
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0px 2px 10px #77818E33;}
#howto .work .item h3 {
  position: relative;
  padding: 30px 0 0;}
#howto .work .item h3::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin:  20px auto;
  background: #1D4494;
  bottom: 0;}
#howto .work .item:not(:last-child) {
  padding-right: 60px;
  border-right:1px solid #DCE2EB;}
@media screen and (max-width: 1280px){
  #howto { padding: 20vw 0;}
  #howto .textbox { flex-wrap: wrap;gap:5vw;}
  #howto .textbox h1,#howto .textbox p { width: 100%;}}
@media screen and (max-width: 768px){
  #howto .panel .list {
    padding: 10vw 0;
    flex-wrap: wrap;}
  #howto .panel .list .item { width: 100%;}
  #howto .panel .list .item img { width: 100%;}
  #howto .osusume { display: block;}
  #howto .osusume  h2 { padding-bottom: 20px;}
  #howto .work .list { display: block;}
  #howto .work .item:not(:last-child) {
    padding-right: 0;
    padding-bottom: 40px;
    border-right:none;}}
@media screen and (max-width: 480px){
  #howto .label p {
    padding-top: 16px;
    font-size: 16px;
    width: 100px; height: 70px;}}

/* --------------------
   step
-------------------- */
#step {
  padding: 160px 0;
  background: #F4F7F8;}
#step .list {
  max-width: 760px;
  margin: 60px auto 100px;
  padding-bottom: 10px;
  position: relative;}
#step .list::after {
  position: absolute;
  top: 0;
  left: 30px;
  content: "";
  height: 80%;
  display: block;
  background: #DCE2EB;
  width: 2px;}
#step .step_box {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  gap:30px;}
#step .namber p {
  border-radius: 30px;
  height: 60px;
  width: 60px;
  background: #fff;
  box-shadow: 0 0 10px rgba(204,204,204,0.4);}
#step .namber p {
  line-height: 60px;
  text-align: center;}
#step .text { display: flex;}
#step .title { width: 200px;}
#step .text > p { width: 480px;}
#step h3::before,#step h3::after {
  position: relative;
  top: -10px;
  content: "";
  display: inline-block;
  width: 1px;
  height: 30px;}
#step h3::before {
  padding-right: 60px;
  transform: rotate(-30deg);
  border-left: 1px solid #1D4494;}
#step h3::after {
  padding-left: 60px;
  transform: rotate(30deg);
  border-right: 1px solid #1D4494;}
#step .agentadd {
  max-width: 640px;
  margin: 20px auto 0;
  display: block;
  height: 100px;
  line-height: 100px;
  border: 1px solid #1D4494;
  background: #fff;
  box-shadow: 0 4px 0 0 #1D4494;
  border-radius: 50px;}
@media screen and (max-width: 1280px){
	#step { padding: 20vw 0;}
  #step .list { margin: 15vw 0 5vw;}}
@media screen and (max-width: 1080px){
  #step .text > p { flex: 1;width: auto;}}
@media screen and (max-width: 768px){
  #step .text { display: block;}
  #step .step_box { gap:20px;margin-bottom: 30px;}
  #step .text > p { width: 100%;}
  #step .title { width: 100%; display: flex; align-items: flex-end;gap: 10px;}
  #step h3 { font-size: 20px;}
  #step h3::before { padding-right: 30px;top: 0px;}
  #step h3::after { padding-left: 30px;top: 0px;}
  #step .agentadd { font-size: 18px;border-radius: 30px;height: 60px;line-height: 60px;}}

/* --------------------
   company
-------------------- */
#company {
  padding: 360px 0 160px;
  position: relative;}
#company::before {
  display: block;
  content: "";
  width: 100vw;
  height: 200px;
  top: 0;
  left: 0;
  position: absolute;
  background: linear-gradient(#F4F7F8, rgba(244, 247, 248, 0));}
#company .whitebox {
  background: #fff;
  border-radius: 10px;
  padding: 50px 60px 85px;}
#company .whitebox h1 {
  background: #1D4494;
  width: 120px;
  height: 40px;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  line-height: 40px;}
#company .list table {
  margin: 30px 0 40px;
  width: 100%;
  border-bottom: 1px solid #F2F2F2;}
#company .list table th,
#company .list table td {
  padding: 7px 0;
  text-align: left;
  border-top:1px solid #F2F2F2;}
#company .list table th { padding-right: 50px;}
@media screen and (max-width: 1280px){
  #company { padding: 10vw 0 20vw;}}
@media screen and (max-width: 768px){
  #company .list table th,
  #company .list table td { display: block;}
  #company .list table th { padding-bottom: 0;}
  #company .list table td { border: none;padding-top: 0;}
  #company .whitebox { padding: 10vw 8vw 8vw;}}

/* --------------------
   hover
-------------------- */
@media screen and (min-width: 768px){
  #step .agentadd:hover,#toplink a:hover,
  #footer .ftnav .item a:hover,
  #news a.all:hover,#hdlink a:hover { background: #48ACCE;}
  #hdlink a.a_contact:hover,
  #footer .ftnav .item:nth-child(3) a:hover{ background: #48ACCE;}
  #footer .wrap_flex a:hover{ color: #48ACCE;}}