@charset "UTF-8";

.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin:20px 0;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 3px;
  background: #000d36;
  display: block;
  order: -1;
}
.tab-label {
  color: White;
  background: LightGray;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.tab-switch:checked+.tab-label {
  background: #00263A;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 15px;
  opacity: 1;
  transition: .5s opacity;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.tab-switch {
  display: none;
}

.tab-switch:checked+.tab-label:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-top-color: #000d36;
    border-width: 14px;
    margin-left: -14px;
}
.tab-switch:checked+.tab-label {
    background: #000d36;
    position: relative;
}


.cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 10 auto;
	color: #ffffff;
}
.cp_actab input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.cp_actab label {
	font-weight: bold;
	line-height: 5;
	position: relative;
	display: block;
	padding: 0 0 0 1em;
	cursor: pointer;
	margin: 0 0 1px 0;
	background: #00263a;
}
.cp_actab .cp_actab-content {
	overflow: hidden;
	max-height: 0;
	-webkit-transition: max-height 0.2s;
	transition: max-height 0.2s;
	color: #333333;
	background: #ffffff;
}
.cp_actab .cp_actab-content p {
	margin: 1em;
}
/* :checked */
.cp_actab input:checked ~ .cp_actab-content {
	max-height: 100%;
}
/* Icon */
.cp_actab label::after {
	line-height: 5;
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 3em;
	height: 3em;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	text-align: center;
}
.cp_actab input[type=checkbox] + label::after {
	content: '';
}
.cp_actab input[type=checkbox]:checked + label::after {
	transform: rotate(315deg);
}

/*全サムネイルのコンテナー*/
#thumbs {
 /* position: absolute;
 width:80%; */
 left:10%;
 top:10%;
 margin:0 auto;
}
/*サムネイルのマウスオーバーでポインターを手のひら*/
#thumbs label img {
 cursor: pointer;
 width:18%;
}
/*ラジオボタンを非表示に*/
#r1, #r2, #r3, #r4, #r5, #r6, #r7,#r8,#r9,#r10,#r11,#r12 {
 display: none;
}

/* 写真表示領域 */
#stage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
}
#stage .inner{
 position:relative;
 right: 0;
 left: 0;
 margin: auto;
 max-width: 800px;
 width:100%;
 height:100%;
 z-index:-100;
}
/*表示写真の初期配置（全部透明に）*/
.photo {
  position:absolute;
  width:90%;
  left:50%;
  top:50%;
  background:#fff;
  opacity:0;
  transition: all 1s ease;
  transform: translate(-50%, -50%);
}
/* 表示写真のサイズを可変に */
.photo img {
 width: 100%;
 height: auto;
}

/* 写真の表題・閉じるボタン */
.span_l { float:left; margin:3px 0 0 5px; }
.span_r { float:right; font-weight:bold;  margin:3px 10px 0 0; cursor:pointer;}
/*写真表示時の画面遮蔽スクリーン*/
#darkscreen {
 position:fixed;
 width:100%;
 height:100%;
 top:0;
 left:0;
 background:#000;
 display:none;
 opacity:0.6;
 z-index:1000;
}
/*ボタン領域の設定*/
.cover_left, .cover_right {
 position:absolute;
 top:25px;
 width:40%;
 height:93%;
 cursor:pointer;
}
.cover_left {
 left:0;
}
.cover_right {
 left:60%;
}
/*ボタン領域内のボタン文字（＜、＞）の設定*/
.cover_left span, .cover_right span {
 position: absolute;
 font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
 font-size: 40px;
 font-weight: bold;
 opacity:0;
 top: 45%;
}
/* モバイル機器用 */
@media screen and (max-width: 480px) {
 .cover_left span, .cover_right span {
  font-size: 20px;
 }
 .span_l,.span_r {
  font-size: 12px;
 }
}
.cover_left span {
 left: 5%;
}
.cover_right span {
 left: 85%
}
/*ボタン領域hover時文字の設定*/
.cover_right:hover > span, .cover_left:hover > span {
 opacity:1;
 color:#EEE;
}
/* サムネイル、送りボタンチェックで#stageを表示 */
.rdbtn:checked ~ #stage {
 z-index:100;
 opacity:1;
}
/* サムネイル、送りボタンチェックで#darkscreenを表示 */
.rdbtn:checked ~ label #darkscreen {
 display:block;
    opacity:0.6;
    z-index:90;
}
/* 各サムネイルがチェックされた時の#photo の表示 */
#r1:checked ~ #stage #photo1,#r2:checked ~ #stage #photo2,#r3:checked ~ #stage #photo3,#r4:checked ~ #stage #photo4,#r5:checked ~ #stage #photo5,#r6:checked ~ #stage #photo6,#r7:checked ~ #stage #photo7,#r8:checked ~ #stage #photo8,#r9:checked ~ #stage #photo9,#r10:checked ~ #stage #photo10 {
 opacity:1;
 z-index:101;
}
.photo:target {
 opacity:1;
 z-index:101;
}