@charset "UTF-8";
/* CSS Document */

#brexit {
margin: 0;
padding: 0;
}

#brexit p {
margin: 0 0 1.5em 0
}

#brexit a {
color:#000;
text-decoration: underline;
}

#brexit a:hover {
color:#8E8E8E;
text-decoration: none;
}

#brexit h1 {
margin: 10px 0 0 0;
padding: 0;
font-size: 70px;
line-height: 1.1em;
color:#000000;
}

#brexit h1 span {
font-size: 30px;
color: #0e449f;
display: block;
margin: 5px 0 15px 0;
padding: 0;
line-height: 1em
}


#brexit .lead {
margin: 15px 0 30px 0;
line-height: 1.6em;
font-size: 1.1em;
}


#brexit h2 {
font-size: 30px;
margin: 40px 0 15px 0;
color: #0e449f;
line-height: 1.4em
}

#brexit h2 span {
font-size: 24px;
display: block;
color: #0e449f;
margin: 8px 0 5px 0;
line-height: 1.4em;
font-weight: normal;
}


#brexit h3 {
font-size: 22px;
margin: 10px 0 20px 0;
color: #0e449f;
line-height:1.4em;
}

#brexit .media strong {
font-size: 1.4em;
line-height: 1.6em;
}



#brexit .profile-expert {
border-bottom: #0e449f 1px solid;
border-top: #0e449f 1px solid;
padding: 20px 0;
margin: 35px 0;
line-height: 1.5em;
}

#brexit .profile-expert h4 {
font-size: 18px;
margin: 0 0 15px 0
}

#brexit .profile-expert strong {
font-size: 1.2em;
display: block;
margin: 0 0 7px 0
}

#brexit .profile-expert p {
margin: 0
}

#brexit .qanda h3 span{
background: #0e449f;
color: #EDDD15;
text-align: center;
padding: 6px;
display: inline-block;
width: 40px;
height: 40px;
line-height: 2.1em;
float: left;
margin: -10px 15px 15px 0;
border-radius: 50%;
background-color:#0e449f;
font-size: 18px
}

#brexit .qanda h4 span {
background: #0e449f;
color: #EDDD15;
text-align: center;
padding: 6px;
display: inline-block;
width: 40px;
height: 40px;
line-height: 2.1em;
float: left;
margin: 0 15px 15px 0;
border-radius: 50%;
background-color:#0e449f;
font-weight: bold;
font-size: 18px
}

#brexit .qanda h4 {
margin-bottom: 30px
}

#brexit .history .year {
display: block;
float: left;
width: 70px;
margin: 0 5px 0 0;
font-weight: bold;
clear: both;
padding: 4px 5px 4px 0;
}

#brexit .history p {
display: block;
margin: 0 0 0 70px;
padding: 4px 0 4px 0;
border-left: #0e449f 1px solid;
}


#brexit h4 {
font-size: 22px;
margin: 35px 0 15px 0;
color: #0e449f;
line-height: 1.3em;
}

#brexit h4 span {
font-size: 20px;
color:#000000;
font-weight: normal
}


#brexit h5 {
font-size: 18px;
margin: 30px 0 7px 0;
color: #0e449f;
line-height: 1.3em;
}


#brexit .btn {
line-height: 1.6em;
font-size: 1.4em;
text-align: center;
margin: 50px 0
}

#brexit .btn a {
padding: 15px 0;
background: #0e449f;
color: #FFFFFF;
display: block;
text-decoration: none;
width: 90%;
margin: 15px auto 15px auto;
}

#brexit .btn a:hover {
opacity: 0.5;
filter: alpha(opacity=50); 
}


#brexit .photo {
margin: 30px 0;
text-align: center;
font-size: 1.05em;
}

#brexit .photo img {
margin: 0 auto 15px auto;
text-align: center;
display: block
}


#brexit h2.balloon {
margin: 50px 0 20px 0;
padding: 20px 25px 18px 20px;
color: #FFFFFF;
position: relative;
background: #00479d;
font-size: 30px;
display: block;
line-height: 1.3em;
}

#brexit h2.balloon span {
color: #FFFFFF;
}

#brexit h2.balloon img {
float: right;
margin: 0 0 15px 0
}

#brexit h2.balloon:after {
  border-top: 15px solid #00479d;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  content: '';
  margin-left: -10px;
  position: absolute;
  bottom: -12px;
  left: 10%;
}


#brexit .timeline {
text-align: center;
padding: 20px 0;
border-top:  #666666 1px solid;
border-bottom:  #666666 1px solid;
}

#brexit .timeline h3 {
margin: 0 0 20px 0;
padding: 0;
font-size: 22px
}

#brexit table  {
text-align: center;
font-size: 20px;
line-height: 1.2em;
margin: 0 0 30px 0
}

#brexit table td {
padding: 0;
vertical-align: middle;
}

#brexit table td.arrow {
font-size: 40px;
vertical-align: middle;
font-weight: bold;
padding: 5px 0 10px 0;
}

#brexit table td.box {
background: #FFFFFF;
border: 10px #FFFFFF solid;
padding: 10px;
}

#brexit table td .box2 {
background: #FFFFFF;
padding: 2px 10px;
font-size: 16px;
line-height: 1.4em;
display: block;
margin-top: 15px
}

#brexit table td .box3 {
background: #FFFFFF;
padding: 15px 10px;
font-size: 20px;
display: block
}


#brexit .dates {
background: #d80c24;
color: #FFFFFF;
padding: 13px;
font-weight: bold;
display: block;
width:55%;
margin: 0 auto 10px auto;
}



/* responsive */

body.white .site #brexit {
font-size: 18px;
margin: 0 0 10px 0
}

body.white .site #brexit h1 {
margin: 15px 0 0 0;
padding: 0;
font-size: 40px;
line-height: 1.3em;
color:#000000;
}

body.white .site #brexit h1 span {
font-size: 24px;
color:#000;
font-weight: normal;
display: block;
margin: 5px 0 15px 0;
padding: 0;
line-height: 1.3em;
}


body.white .site #brexit h2 {
font-size: 32px;
margin: 50px 0 30px 0;
padding: 20px 0;
border-top: 1px  solid  #000;
border-bottom: 1px  solid  #000;
font-weight: normal;
color:#000000;
line-height: 1.2em
}

body.white .site #brexit h2 span {
font-size: 22px;
display: block;
color: #000000;
margin: 7px 0 5px 0;
}


body.white .site #brexit h3 {
font-size:22px;
margin: 50px 0 10px 0;
line-height:1.3em;
}

body.white .site #brexit .lead {
font-size: 18px;
}

body.white .site #brexit .media strong {
font-size: 1.1em;
line-height: 1.5em;
}

body.white .site .photo {
font-size: 16px;
}

body.white .site #brexit .btn {
line-height: 1.3em;
font-size: 18px;
text-align: center;
margin: 40px 0
}

body.white .site #brexit .btn br {
display: none;
}

body.white .site #brexit .btn a {
padding: 15px;
background :#6194e8;
color: #FFFFFF;
display: block;
text-decoration: none;
width: 100%;
margin: 15px auto 15px auto;
}

body.white .site #brexit .btn a:hover {
opacity: 0.5;
filter: alpha(opacity=50); 
}


body.white .site #brexit .illust {
margin: 0 auto 10px auto;
float: none;
}

body.white .site #brexit .btn {
line-height: 1.6em;
font-size: 1.4em;
text-align: center;
margin: 50px 0
}

body.white .site #brexit .btn a {
padding: 15px 25px;
background: #0e449f;
color: #FFFFFF;
display: block;
text-decoration: none;
width: 100%;
margin: 15px auto 15px auto;
}

body.white .site #brexit .btn a:hover {
opacity: 0.5;
filter: alpha(opacity=50); 
}

body.white .site #brexit .legend img {
float: none;
margin: 0 auto 0 15%;
width: 80%;
height: auto;
}

body.white .site #brexit .legend h4 {
font-size: 24px;
color: #000000;
line-height: 1.4em;
margin: 0;
}

body.white .site #brexit .legend h4 span {
font-size: 20px;
color: #000000;
font-weight: normal;
}


body.white .site #brexit h2.balloon {
margin: 50px 0 20px 0;
padding: 20px 25px 18px 20px;
color: #FFFFFF;
position: relative;
background: #00479d;
font-size: 30px;
display: block;
line-height: 1.3em;
}

body.white .site #brexit h2.balloon span {
color: #FFFFFF;
}

body.white .site #brexit h2.balloon img {
float: right;
margin: 0 0 15px 0
}

body.white .site #brexit h2.balloon:after {
  border-top: 15px solid #00479d;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  content: '';
  margin-left: -10px;
  position: absolute;
  bottom: -12px;
  left: 10%;
}

.lb {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.7);
    opacity: 0;
    transition: .3s opacity ease;
    pointer-events: none;
    z-index: 100;
}

.lb img {
    width: auto !important;
    max-height: 100%!important;
    cursor: pointer;
}

.lb img,
.lb iframe {
    transform: scale(.85);
    transition: .3s all ease;
}

.lb:target {
    opacity: 1;
    pointer-events: auto;
    z-index: 101;
}

.lb:target img,
.lb:target iframe {
    transform: scale(1);
}

/* なんちゃって閉じるボタン*/
.lb::before,.lb::after {
    display: block;
    position: fixed;
    content: "";
    width: 24px;
    height:3px;
    top: 24px;
    right: 12px;
    background: #fff;
    border-radius: 4px;
}
.lb::before {
    transform: rotate(-315deg);
}
.lb::after {
    transform: rotate(315deg);
}

