body {
 word-break: break-all;
 hanging-punctuation: first allow-end last;
}
#sub .fixed#fixedArea {
	bottom: 0px; position: fixed; z-index: 1;
}
.list-style_none li{
  list-style: none;
}

.H08-001-01-inner dt {
    font-weight: bold;
    font-size: 1.5em;
    padding-top: 1.5em;
}

.target_blank a:not([href*=amazon])[target="_blank"] {
    position: relative;
    margin-right: 20px;
    text-decoration: none;
}

.target_blank a:not([href*=amazon])[target="_blank"]:after {
    position: absolute;
    margin-left: 1px;
    content: "";
    width: 25px;
    height: 15px;
    background-image: url(../../../../common/png/icon-blank-01@2x.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 0;
    -webkit-filter: opacity(50%); filter: opacity(50%);
}

.target_self a:not([href*=amazon])[target="_self"] {
    position: relative;
    margin-right: 20px;
    text-decoration: none;
}

.target_self [target="_self"]:after {
    position: absolute;
    margin-left: 1px;
    content: "";
    width: 30px;
    height: 20px;
    background-image: url(../../../../common/png/icon-note-01@2x.png);
    background-repeat: no-repeat;
    background-size: 15px 15px;
    background-position: 0;
    -webkit-filter: opacity(60%); filter: opacity(60%);
}

.frame{
    border: 1px solid #CCCCCC;
}

.frame-border_red{
    border: 1px solid #FF6464;
}
.frame-button {
  display: inline-block;
  text-decoration :none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: .3s;
}

.frame-padding {
  padding: 10px;
}

.frame-margin {
  margin: 10px;
}

.frame-bkcolor_deeppink {
  background-color: deeppink;
  color: aliceblue;
}
.frame-bkcolor_deeppink a {
  color: aliceblue;
}

.frame-bkcolor_fff8eb {
    background-color: #FFF8EB;
    color: #000000;
}
.frame-bkcolor_ffeedd a {
  color: #000000;
}

.frame-bkcolor_ffeedd {
  background-color: #ffeedd;
  color: #000000;
}
.frame-bkcolor_ffeedd a {
  color: #000000;
}

.frame-bkcolor_eeeeee {
  background-color: #eeeeee;
  color: #000000;
}
.frame-bkcolor_eeeeee a {
  color: #000000;
}

.frame-bkcolor_antiquewhite {
    background-color: antiquewhite;
    color: #333333;
}
.frame-bkcolor_antiquewhite a {
  color: #333333;
}

.frame-bkcolor_ivory {
    background-color: ivory;
    color: #333333;
}
.frame-bkcolor_ivory a {
  color: #333333;
}

.frame-bkcolor_lightpink {
    background-color: lightpink;
    color: #3F3F3F;
}
.frame-bkcolor_lightpink a {
  color: #3F3F3F;
}


.stitch01 {
    font-size: 2.3em;
    font-weight: bold;
    color: #fff;
    border: 2px dashed #ffecef;
    background: #F9B8CD;
    border-radius: 8px;
    box-shadow: 0 0 3px 3px #F9B8CD;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.point {
    position: relative;
}

.point::after {
    content: 'Point';
    font-family: Arial, Helvetica, "sans-serif";
    font-size: 0.5em;
    left: 10px;
    position: absolute;
    top: 3px;
}

.heightL_Max{
min-height: 300px;
}

.heightR_Max{
height: 300px;
}

/* button color */
.header-menu-button {
background-color: #00247d !important;
}

/* Sub title color */
.H01-001-02 {
    background-color: #00247d !important;
    color: #FFF !important;
    /*border-bottom: 3px solid #FF1A77;*/
    font-weight: bold;
    margin-top: 50px;
    /*font-family: "游明朝", "MS Serif", "New York", "Times New Roman", Times, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-size: 34px;*/
    position: relative;
    padding-left: 56px;

    }
.H01-001-02::after{
    position: absolute;
    /*top: 10px;
    left: 0;*/
    content: "";
    width: 40px;
    height: 20px;
    background-image: url("../images/Flag_of_the_United_Kingdom.png");
    background-repeat: no-repeat;
    background-size: 40px 20px;
    background-position: 0;
}

/* MENU color */
.L02-002-title {
    background-color: #00247d !important;
    color: #ffffff !important;
}

.L02-002-title a:hover {
color: #FF1A77 !important;
}

.L02-002-title:hover {
background-color: #FFFFFF !important;
color: #FF1A77 !important;
box-shadow: 0 0 0 2px #FF1A77 inset !important;
}

.L02-002-title2 {
background-color: #F9B8CD !important;
color: #ffffff !important;
border: 2px dashed #ffecef;
box-shadow: 0 0 3px 3px #F9B8CD;
}

.L02-002-title2 a:hover {
color: #FF1A77 !important;
}

.L02-002-title2:hover {
color: #FF1A77 !important;
box-shadow: 0 0 3px 3px #F9B8CD;
}

.L02-002-title3 {
    background-color: #aaaaaa !important;
    color: #ffffff !important;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.L02-002-title3 a:hover {

}

.L02-002-title3:hover {
    background-color: #808080 !important;
    color: #ffffff !important;
}

.L02-002-list__item>a, .L02-002-list__item_state_active>a,
.L02-002-oder-list__item>a, .L02-002-oder-list__item_state_active>a {
color: #888 !important;
}

.L02-002-list__item>a:hover,
.L02-002-oder-list__item>a:hover {
color: #000 !important;
}

.L02-002-list__item>a::before {
background-color: #00247d !important;
}
.L02-002-oder-list__item>a::before {
background-color: #00247d !important;
}

.L02-002-list__item_state_active>a::before {
background-color: #00247d !important;
}
.L02-002-oder-list__item_state_active>a::before {
background-color: #fff !important;

}

.L02-002-list__item2>a, .L02-002-list__item2_state_active>a,
.L02-002-oder-list__item2>a, .L02-002-oder-list__item2_state_active>a {
color: #888 !important;
}

.L02-002-list__item2>a:hover,
.L02-002-oder-list__item2>a:hover {
color: #FF1A77 !important;
}

.L02-002-list__item2>a::before {
background-color: #FF1A77 !important;
}
.L02-002-oder-list__item2>a::before {
background-color: #FF1A77 !important;
}

.L02-002-list__item2_state_active>a::before {
background-color: #FF1A77 !important;
}
.L02-002-oder-list__item2_state_active>a::before {
background-color: #FF1A77 !important;

}

/* footer color */
.footer__section_type {
  background-color: #00247d !important;
}


/* Action button */
.yellow {
    background-color: #FFFB9F;
}

.pink {
    background-color: #F9B8CD;
}

.blue {
    background-color: #B8E1F9;
}

.green {
    background-color: #B8F9DB;
}

.marking {
    padding: 5px;
    text-align: center;
    border-radius: 3px;
    border: 2px solid #FFFFFF;
    box-sizing: border-box;
}

.marking:hover {
    background-color: #FFFFFF;
    /*color: #FF1A77;*/
    border: 2px solid #FF1A77;
}

.button {
    /*height: 20px;*/
    width: 98%;
    margin-right: auto;
    margin-left: auto;
    background-color: #FF6DA8;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    }
    
.button:hover {
    background-color: #fff;
    color: #FF1A77;
    box-shadow: 0 0 0 2px #FF1A77 inset !important;
    }    
    
.button a{
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    font-family: "游明朝", "MS Serif", "New York", "Times New Roman", Times, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
.button:hover a{
    color: #FF1A77;
}

.title_name {
    max-width : 100%;
    float: left;
    width: 63%;
}
.mapWraper {
    position: relative;
    width: calc(100% - 10px);
    margin: 20 auto;
}
.iframeWrap{
    height: 0;
    padding-bottom: 62.5%;
}
.iframeWrap iframe {
    position: absolute;
    top: 0;
    left: 0;
}

.clear_both {
    clear: both;
}

.close {
	color: #333;
}

/*Filter styles*/
.saturate {-webkit-filter: saturate(3); filter: saturate(3);}
.grayscale {-webkit-filter: grayscale(100%); filter: grayscale(100%);}
.contrast {-webkit-filter: contrast(160%); filter: contrast(160%);}
.brightness {-webkit-filter: brightness(0.25); filter: brightness(0.25);}
.blur {-webkit-filter: blur(3px); filter: blur(3px);}
.invert {-webkit-filter: invert(100%); filter: invert(100%);}
.sepia {-webkit-filter: sepia(100%); filter: sepia(100%);}
.huerotate {-webkit-filter: hue-rotate(180deg); filter: hue-rotate(180deg);}
.rss.opacity {-webkit-filter: opacity(50%); filter: opacity(50%);}

/*Pointer styles*/
.btn {
    width: 80px;
    height: 80px;
    background-color: #F9B8CD;
    color: #ffffff;
    border: 2px dashed #ffecef;
    box-shadow: 0 0 3px 3px #F9B8CD;
    border-radius: 50%;
    font-size: 2em;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    bottom: 31px;
}

.btn:hover {
    color: #FF1A77;
}

.btn_open {

}

.btn_close {

}

#wrapper {
	position: fixed;
	z-index: 8;
    width: 27.3%;
    max-width: 280px;
	bottom: 5px;
	left: 10px;
}

#slide {
	display: none;
	position: fixed;
	z-index: 9;
    width: 27.3%;
    max-width: 280px;
	bottom: 0;
	left: 10px;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pagination span {
	color: #fff; /* 文字色 */
	background: #00247d; /* 背景色 */
}

.pagination a {
	color: #00247d;
	background: #fff;
    box-shadow: 0 0 0 2px #00247d inset;
}

.pagination a:hover{
	color: #fff;
	background: #00247d;
}

.pagination .current{
	color: #fff;
    background: #00247d;
}

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

}

@media screen and (min-width:769px) {
  .frame-padding {
      width: 97%;
  }

  .inner-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    min-width: 1104px;
    max-width: 1280px;
    padding: 0 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    border: thin dashed #978A8A;
    height: 86px;
    border-radius: 9px;
  }
 .title_logo {
 margin-top: 17px;
 }  
 .visa_flag {
    max-height : 77px;
    float: right;
 }
  .hero {
	width: 100%;
	height: 672px;
	max-width: 1280px;
	background-position: 0% 0%;
   }
    .hero_type_lottery {
    background-image: url("../images/YMS-Lottery-pc@2x.png");
  } 
    .hero_type_maillottery {
    background-image: url("../images/YMS-mailLottery-pc@2x.png");
  } 
    .hero_type_apply_for_a_uk_visa {
    background-image: url("../images/YMS-Apply_for_a_UK_Visa-pc@2x.png");
  } 
    .hero_type_required_documents {
    background-image: url("../images/YMS-Required_documents-pc@2x.png");
  } 
    .hero_type_maintenance-fund {
    background-image: url("../images/YMS-Maintenance-funds-pc@2x.png");
  } 
    .hero_type_visa_examination {
    background-image: url("../images/YMS-Visa_examination-pc@2x.png");
  } 
    .hero_type_immigration_inspection {
    background-image: url("../images/YMS-Immigration_inspection-pc@2x.png");
  } 
    .H01-001-02::after{
    top: 12px;
    left: 10px;
  }

    .L02-002-list__item>a:hover::before,
    .L02-002-list__item>a:hover::after,
    .L02-002-oder-list__item>a:hover::before,
    .L02-002-oder-list__item>a:hover::after {
     background-color: #00247d !important;
  }
    .L02-002-list__item2>a:hover::before,
    .L02-002-list__item2>a:hover::after,
    .L02-002-oder-list__item2>a:hover::before,
    .L02-002-oder-list__item2>a:hover::after {
     background-color: #FF1A77 !important;
  }    
}

@media screen and (max-width:768px) {
 .H02-001-01 ul li,
 .H02-001-01 ol li {
    margin-left: -20px;
 }
 .visa_flag {
    max-height : 48px;
    float: right;
 }
.H01-001-02 {
    font-size: 28px;
    }
  .header-logo {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 50px;
    border: 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center
  }
  .header-logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 25px;
    margin-top: -10px;
    margin-right: 0;
    margin-left: -73px;
    margin-bottom: 0
  }
  .header-phone {
    width: 104px;
    height: 50px;
    border: 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }
  .hero {
    height: 450px;
    background-position: 50% 0px;
  }
    .hero_type_maillottery {
    background-image: url("../images/YMS-mailLottery-sp@2x.png");
  } 
    .hero_type_lottery {
    background-image: url("../images/YMS-Lottery-sp@2x.png");
  } 
    .hero_type_apply_for_a_uk_visa {
    background-image: url("../images/YMS-Apply_for_a_UK_Visa-sp@2x.png");
  } 
    .hero_type_required_documents {
    background-image: url("../images/YMS-Required_documents-sp@2x.png");
  } 
    .hero_type_maintenance-fund {
    background-image: url("../images/YMS-Maintenance-funds-sp@2x.png");
  } 
    .hero_type_visa_examination {
    background-image: url("../images/YMS-Visa_examination-sp@2x.png");
  } 
    .hero_type_immigration_inspection {
    background-image: url("../images/YMS-Immigration_inspection-sp@2x.png");
  } 
    .H01-001-02::after{
    top: 10px;
    left: 7px;
    }

  .L02-002-oder-list__item>a::before {
  background-color: #888 !important;
  }
  
  .L02-002-oder-list__item2>a::before {
  background-color: #888 !important;
  }

  .L02-002-list__item>a::after,
  .L02-002-oder-list__item>a::after {
  right: 5px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 5px solid transparent;
  border-left: 7px solid #888;
  } 
  
  .L02-002-list__item2>a::after,
  .L02-002-oder-list__item2>a::after {
  right: 5px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 5px solid transparent;
  border-left: 7px solid #FF1A77;
  }

  /*Pointer styles*/
  .L02-002-title2 {
    padding: 0px 0px 0px 10px;
    margin-top: -30px;
  }

  #slide {
    width: 280px;
  }

  .side_menu {
    background-color: #F9F9F9;
  }
  
/* if hidden
  #wrapper {
  visibility: hidden;
  display: none;
  }
    
  #slide {
  visibility: hidden;
  display: none;
  }
 */
}
@media screen and (max-width:414px) {
  .title_logo {
 margin-top: -10px;
 }  
.H01-001-02 {
    font-size: 20px;
    }

  .header-logo img {
    position: absolute;
    width: 150px;
    height: 19px;
  }
  .stitch01 {
    font-size: 2.0em;
  }
}
@media screen and (max-width:300px) {
  .header-logo img {
    width: 100px;
    height: 12px;
    margin-left: -50px;
    margin-top: -5px;
  }
}
@media screen and (max-width:1026px) {
  .header-contact {
    /*visibility: hidden;
    display: none;*/
  }
}
@media print {
  html, body, div, span, object, iframe,
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  abbr, address, cite, code,
  del, dfn, em, img, ins, kbd, q, samp,
  small, strong, sub, sup, var,
  b, i,
  dl, dt, dd, ol, ul, li,
  fieldset, form, label, legend,
  table, caption, tbody, tfoot, thead, tr, th, td,
  article, aside, canvas, details, figcaption, figure,
  footer, header, hgroup, menu, nav, section, summary,
  time, mark, audio, video {
      margin:0;
      padding:0;
      border:0;
      outline:0;
      /*font-size:100%;*/
      vertical-align:baseline;
      background:transparent;
  }

  body {
      line-height:1;
  }

  article,aside,details,figcaption,figure,
  footer,header,hgroup,menu,nav,section {
      display:block;
  }

  nav ul {
      list-style:none;
  }

  blockquote, q {
      quotes:none;
  }

  blockquote:before, blockquote:after,
  q:before, q:after {
      content:'';
      content:none;
  }

  a {
      margin:0;
      padding:0;
      font-size:100%;
      vertical-align:baseline;
      background:transparent;
  }

  /* change colours to suit your needs */
  ins {
      background-color:#ff9;
      color:#000;
      text-decoration:none;
  }

  /* change colours to suit your needs */
  mark {
      background-color:#ff9;
      color:#000;
      font-style:italic;
      font-weight:bold;
  }

  del {
      text-decoration: line-through;
  }

  abbr[title], dfn[title] {
      border-bottom:1px dotted;
      cursor:help;
  }

  table {
      border-collapse:collapse;
      border-spacing:0;
  }

  /* change border colour to suit your needs */
  hr {
      display:block;
      height:1px;
      border:0;
      border-top:1px solid #cccccc;
      margin:1em 0;
      padding:0;
  }

  input, select {
      vertical-align:middle;
  } 

  img, .header, #sub, .procedure-flow, .service,
  #footer-banner, .footer-nav-wrapper, .footer-info-wrapper, 
  .space, .only-sp, .sp {
    visibility: hidden;
    display: none;
    width: 1px;
    height: 1px;
  }

  *, .H01-001-02, .footer__section_type{
    background-color: #ffffff !important;
	color: #000000 !important;
    text-decoration:none !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 0 2px #ffffff inset !important;
  }
  .H01-001-02 {
    margin-top: 50px;
    font-size: 40px;
    position: relative;
    padding-left: 56px;

  }
  .H01-001-02::after{
    position: absolute;
    top: 15px;
    left: 0;
    width: 40px;
    height: 20px;
    background-image: url("../images/Flag_of_the_United_Kingdom.png");
    background-repeat: no-repeat;
    background-size: 40px 20px;
    background-position: 0;
  }

 body {
   width: 190mm; /* needed for Chrome */
 }

}
@page{
    size: A4;
    margin: 10mm;
    counter-increment: page;
    counter-reset: page 1;
    @top-right {
        content: "Page " counter(page) " of " counter(pages);
    }
  } 
