/*
  #PB11-1 デラックスサプリ
  #2011.06.17-01
 */

body{
  text-align:center;
  font-family: 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  font-size:min(18px,3.8vw);
}

header{
  background:#f0f0f0;
  color:#1a4c81;
  font-size:min(20px,3.2vw);
}

header:after{
  content: "";
  display: block;
  height: 9px;
  background: #1a4c81;
  border-top:1px solid #fff;
}

#select header:after{
  display:none;
}

article{ text-align:center; }

div.wrap{
  width:90%;
  max-width:1000px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
  position:relative;
}

header div.wrap > img{
  width:290px;
  margin:30px 0;
  vertical-align:middle;
}

header div.wrap > span:first-of-type{
  display:inline-block;
  vertical-align:middle;
  text-align:center;
  white-space:nowrap;
}
header div.wrap > span:first-of-type > span{
  text-align:left;
  display:inline-block;
  width:auto;
  margin:0 auto;
}
nav{
  width:auto;
  position:absolute;
  right:0;
  top:50%;
  text-align:right;
  transform:translate(0,-50%);
}

nav ul,
nav ul li,
article:nth-of-type(2) ul,
article:nth-of-type(2) ul li,
footer ul,
footer ul li{
  list-style:none outside;
}
nav ul li,
article:nth-of-type(2) ul li,
footer ul li{
  display:inline-block;
}

nav ul li{
  padding:0 5px;
  vertical-align:middle;
  line-height:1.1;
}

nav ul li a{
  display:inline-block;
  vertical-align:middle;
  width:35px;
  height:35px;
  cursor:pointer;
}
nav ul li a img{
  vertical-align:top;
  width:100%;
  max-width:100%;
  height:auto;
  cursor:pointer;
}


article:first-of-type{
text-align:center;
}

article:first-of-type > div.wrap img{
  width:auto;
  max-width:100%;
  height:auto;
  margin:0 auto;
  display:block;
}

#select article:first-of-type{
  background-color:#b98c40;
  color:#fff;
  background-image:none;
  padding:0.5em 0;
}

#select article:first-of-type h1{
color:#fff;
}

article:first-of-type > div.wrap,
article:nth-of-type(2) div.wrap{
  max-width:1000px;
  width:100%;
}

article:first-of-type > div.wrap h1 span{
  color:#466eaa;
  font-size:5em;
  line-height:1;
  float:left;
  font-weight:bold;
  margin-top:-5px;
}

article:nth-of-type(2){
  margin-top:3em;
}
article:nth-of-type(2) div.wrap{
  text-align:center;
  padding-bottom:3em;
  padding-top:0;
}

article:nth-of-type(2) div.wrap > p{
  color:#1a4c81;
  font-weight:bold;
  font-size:2em;
  margin:0;
}

article:nth-of-type(2) div.wrap > p img{
  width:90%;
  margin:3% auto 1% auto;
}

article:nth-of-type(2) div.wrap > div{
  max-width:1000px;
  width:100%;
  margin:0 auto;
  padding:0;
}
article:nth-of-type(2) div.wrap > div ul{
  display:flex;
  flex-wrap:nowrap;
  justify-content:space-between;
  width:90%;
margin:2em auto;
}
article:nth-of-type(2) div.wrap > div ul li{
  padding-top:32%;
  flex-basis: 32%;
  background-color:rgba(255,255,255,0.6);
  border-radius:50% 50%;
  text-align:center;
  position:relative;
}

article:nth-of-type(2) div.wrap > div ul li img{
height:auto;
height:15vw;
max-height:160px;
width:auto;
margin:10px auto;
position:absolute;
top:3%;
left:50%;
transform:translate(-50%,0);
}

article:nth-of-type(2) div.wrap > div ul li h2{
  display:inline-block;
  background-color:#ce362d;
  color:#fff;
  border-radius:50%;
  line-height:3em;
  width:3em;
  position:absolute;
  top:0;
  left:0;
}
article:nth-of-type(2) div.wrap > div ul li p{
position:absolute;
top:70%;
left:0;
width:100%;
}
article:nth-of-type(2) div.wrap > div ul li p strong{
  display:block;
  font-size:125%;
}

article:nth-of-type(2) div.wrap > div ul li p{
  font-size:85%;
}

article:nth-of-type(2) div.wrap > div > p:last-child{
  background:#1a4c81;
  color:#fff;
  font-weight:bold;
  line-height:2;
  font-size:1.6em;
}


article:nth-of-type(2) div.wrap > div ul li a{
  color:#fff;
  text-decoration:none;
  width:70%;
  position:absolute;
  bottom:-3em;
  left:15%;
  padding:0.5em 0;
  border-radius:5px;
}
article:nth-of-type(2) div.wrap > div ul li a,
article:nth-of-type(2) div.wrap > div ul li h2{
  background-color:#ce362d;
}
html body article:nth-of-type(2) div.wrap > div ul li:first-child a:last-child,
html body article:nth-of-type(2) div.wrap > div ul li:first-child h2{
background-color:#ce362d;
}

html body article:nth-of-type(2) div.wrap > div ul li:last-child a:last-child,
html body article:nth-of-type(2) div.wrap > div ul li:last-child h2{
background-color:#ce362d;
}

article:nth-of-type(3) h2{
  background-color:#ce362d;
  color:#fff;
  margin-top:2em;
  line-height:1.2em;
  padding:0.5em 0;
}
article:nth-of-type(3) h2:first-of-type{
  margin-top:0;
}
article:nth-of-type(3) > p{ background-color:#ce362d; padding:0.5em 0; color:#fff; font-weight:bold; font-size:113%; letter-spacing:0.1em; }
article:nth-of-type(3) div.wrap{
  padding:0;
  margin:1.5em auto 0 auto;
}

article:nth-of-type(3) dl{
  width:100%;
}
article:nth-of-type(3) dl + dl{
  margin-top:1em;
}

article:nth-of-type(3) dl dt,
article:nth-of-type(3) dl dd{
  display:inline-block;
  vertical-align:top;
}

article:nth-of-type(3) dl dt,
article:nth-of-type(3) dl dd{
  width:100%;
}
article:nth-of-type(3) dl dt{
  width:10.5em;
  white-space:nowrap;
  text-align:right;
  margin-right:0.5em;
  font-weight:bold;
}
article:nth-of-type(3) dl dt:after{
  content:"：";
}
article:nth-of-type(3) dl dt span{
  display:block;
  width:9.5em;
  float:left;
  text-align-last:justify;
  word-break:break-all; 
  text-justify:inter-ideograph;
  text-justify:inter-character;
  word-wrap:break-word;
  overflow-wrap:break-word;
  margin-right:-0.5em;
}
article:nth-of-type(3) dl dd{
  width:calc(100% - 11em);
}
article:nth-of-type(3) ul{
  margin-left:1em;
}

article:nth-of-type(4){
padding:4em 0;
}
#agreebtn{
  display:inline-block;
  font-size:150%;
  line-height:1.5;
  padding:10px;
  margin-top:5px;
  color:#fff;
  background-color:#ce362d;
  text-decoration:none;
  width:400px;
  border-radius:5px;
  max-width:90%;
  box-shadow:0px -3px 0px 0px rgba(0,0,0,0.3) inset;
}
#agreebtn strong{
  font-size:50%;
  display:block;
}


footer{
  background:#1a4c81;
  color:#fff;
  font-size:77%;
}
footer a{
  color:#fff;
  text-decoration:none;
}
footer a:hover{
  text-decoration:underline;
}
footer div.wrap{
text-align:center;
padding:min(20px,5vw);
}

footer ul li{
padding:0 10px;
border-left:1px solid #fff;
}

footer ul li:first-child{
border:none;
}

footer div.wrap > span{
  font-family:verdana;
  display:inline-block;
  text-align:left;
}

@media screen and (min-width: 1000px){
  header div.wrap > span br{ display:none; }
  header div.wrap > span:first-of-type{
    width:calc( 100% - 290px - 140px );
  }
}

@media screen and (max-width: 999px) {
  header div.wrap > span:first-of-type{
    width:auto;
    padding:0 0 0 0.5vw;
    margin:0;
  }
  article:nth-of-type(2) div.wrap > div > p:last-child{
    font-size:min(30px,4vw);
  }
  article:nth-of-type(1) div.wrap{
  width:100%;
  }
  article:nth-of-type(1) div.wrap img{
    margin-bottom:3em;
  }
  nav{
    height:11vw;
    line-height:11vw;
  }
  article:first-of-type{
    background-size:cover;
  }
  article:nth-of-type(2){
  margin-top:0;
  }
  article:nth-of-type(2) div.wrap > div ul li h2{
    width:7vw;
    line-height:7vw;
    font-size:2.5vw;
  }
  article:nth-of-type(2) div.wrap > div ul li p{
    font-size:1.7vw;
  }
  header div.wrap > img{
    width:37%;
    margin:4vw 1.5vw 4vw 0;
  }
}

@media screen and (min-width: 641px) {
  .pconly{ display:inline; }
  p.pconly, div.pconly, article:first-of-type > div.wrap img.pconly{ display:block; }
  .sponly{ display:none; }
}

@media screen and (max-width: 640px) {
  .pconly{ display:none; }
  .sponly{ display:inline; }
  p.sponly, div.sponly, article:first-of-type > div.wrap img.sponly{ display:block; }
  header:after{
    display:none;
  }
  header div.wrap{
    text-align:center;
    width:100%;
  }
  header div.wrap > img{
    width:45%;
    margin:4vw 2.5vw 4vw 0;
  }
  header div.wrap > span:first-of-type{
    width:auto;
  }
  nav{
    position:relative;
    width:100%;
    display:block;
    text-align:center;
    right:auto;
    top:auto;
    bottom:0;
    background-color:#1a4c81;
    line-height:1;
    height:auto;
    transform:translate(0,0);
  }
  nav ul li{
    padding:1.5vw 5vw;
    line-height:1;
    vertical-align:middle;
  }
  nav ul li a{
    width:7vw;
    height:7vw;
    vertical-align:10%;
  }
  article:first-of-type > div.wrap{
    width:100%;
  }
  article:first-of-type > div.wrap img{
    width:auto;
    max-width:100%;
    height:auto;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:2.9em;
    margin-top:0;
  }

  #select article:first-of-type h1{
    font-size:5vw;
  }

  #select article:nth-of-type(2) div.wrap > p{
    font-size:6vw;
  }
  article:nth-of-type(2) div.wrap p:first-child img{
    width:80%;
  }
  article:nth-of-type(2) div.wrap > div{
    width:100%;
    padding:0;
  }
  article:nth-of-type(2) div.wrap > div ul{
    flex-direction:column;
    width:100%;
    margin-top:0;
  }
  article:nth-of-type(2) div.wrap > div ul li{
    height:70vw;
    width:70vw;
    padding-top:70vw;
    margin:0 auto 3vw auto;
  }
  #select article:nth-of-type(2) div.wrap > div ul li{
    margin-bottom:8em;
  }
  #select article:nth-of-type(2) div.wrap > div ul li:last-child{
    margin-bottom:5em;
  }

  article:nth-of-type(2) div.wrap > div ul li img{
    height:45vw;
    max-height:initial;
  }
  article:nth-of-type(2) div.wrap > div ul li h2{
    font-size:7vw;
    width:20vw;
    line-height:20vw;
  }
  article:nth-of-type(2) div.wrap > div ul li p{
    font-size:4vw;
  }
  article:nth-of-type(2) div.wrap > div ul li a{
    font-size:5vw;
  }
  article:nth-of-type(2) div.wrap > div > p:last-child{
    line-height:1.2;
    padding:2vw 0;
    font-size:5.5vw;
  }
  article:nth-of-type(3) dl dt,
  article:nth-of-type(3) dl dd{
    display:block;
    width:100%;
    text-align:left;
  }
  article:nth-of-type(3) dl dt:after{
    content:"：";
    display:inline-block;
    width:1em;
    text-align:center;
  }
  article:nth-of-type(3) dl dt span{
    text-align:left;
    text-align-last:left;
    width:auto;
    display:inline-block;
    margin-right:0;
  }
  article:nth-of-type(3) dl dd{
    padding-left:1em;
  }
  #agreebtn{
    font-size:8vw;
    padding-bottom:3vw;
  }
  #agreebtn strong{
    font-size:4vw;
  }
  #button #agree{ margin-left:-1em;  }
  #button label{ display:inline-block; text-align:left; vertical-align:top; margin-left:3px; }
  footer ul{
    display:inline-block;
    margin-bottom:5px;
  }
  footer ul li{
    padding:2px 0 0 0;
    border-left:none;
    border-top:1px dotted #fff;
    display:block;
  }

}

.indent1{ padding-left:1.25em; }
.indent1 span:first-of-type{ width:1em; margin:0 0.25em 0 -1em; text-align:center; vertical-align:top; display:inline-block; }

.indent2{ padding-left:1.75em; }
.indent2 span:first-of-type{ width:1.5em; margin:0 0.25em 0 -1.5em; text-align:left; vertical-align:top; display:inline-block; }

.mt1em{ margin-top:1em; }
strong.mt1em{ display:block; }
.ss{ font-size:1px; }
.nowrap{ white-space:nowrap; }

.txt-red{ color:red; }



#button #agree{ opacity:0; width:1px; height:1px; pointer-events:none; } 
#button #agree + label:before{
  content:"";
  display:inline-block;
  font-size:0.9em;
  width:1em;
  height:1em;
  max-height:1em;
  border:1px solid #999;
  margin-left:-1.25em;
  margin-right:0.25em;
  margin-top:0.3em;
  border-radius:3px;
  padding:0;
  overflow:hidden;
  text-align:center;
  color:#fff;
}
#button #agree:checked + label:before{
  content:"\02714";
  line-height:1em;
  border-color:#ce362d;
  background-color:#ce362d;
}

.ext:after{
  content:"";
  display:inline-block;
  width:0.8em;
  height:0.8em;
  margin:0 0.2em 0 0;
  background:url("img/ext.svg") center center no-repeat;
  background-size:contain;
}