/*■共通テスト3.01*/
/* 英文サイズ18.00px(４箇所)，ルビ訳サイズ11.00px(１箇所) 
日本語訳が長い時（２行）の行間 「article.tate span.jpline ruby」 */
a:normal{color:#0000ff;text-decoration:none;font-weight:normal;}
a:visited{color:#0000ff;text-decoration:none;font-weight:normal;}
a:link{color:#0000ff;text-decoration:none;font-weight:normal;}
a:hover{color:red;text-decoration:none;}
a:active{color:red;text-decoration:none;}

h1 a:normal{color:white;text-decoration:none;font-weight:normal;}
h1 a:visited{color:white;text-decoration:none;font-weight:normal;}
h1 a:link{color:white;text-decoration:none;font-weight:normal;}
h1 a:hover{color:red;text-decoration:none;}
h1 a:active{color:red;text-decoration:none;}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}


a.word{
	color:black;
	font-weight:bold;
}
a.button{
	color:white;
	background-color:#0000ff;
	border-radius:8px;
	display:inline-block;
	margin:0;
	padding:0 8px 0 8px;
}
a.button:hover {
	color:red;
}
html {
    width:100%;
    height:100vh; 
}
body {
	margin:0;
	text-align:center;/* for IE */
    font-family: arial !important;/* for iOS */
    width:100%;
    height:100vh;
    overflow-x: hidden;
    overflow-y: hidden;
}
header {
	text-align:left;		/* for IE */
	background-color:#0000ff;
	height:40px;
}
header h1 {
	line-height:1.5;
	margin:0px;
	margin-left:10px;
	padding:0px;
	display:inline-block;
	font-size:20.625px;
}
main#playermain{
	margin:auto;
    margin-top:0px;
	text-align:left; 
	white-space: nowrap;
}
main div.content{
	vertical-align:top;
    width:100%;
    height:100vh;/*最重要　スクロールバーの天地幅*/
}
div#json{
	white-space: normal;
	text-align:left;
	max-height:100%;  
	overflow-x:hidden; 
/*	overflow-y:scroll; */  
	line-height:;
	padding:0px;
/*	max-height:640px;*/	/* for IE */
        width:; /* 指定しないこと。元は99%。指定すると下にスクロールバーが出る。指定しないほうが横のスクロールバーもきれい。 */
}
div#json img.raise-volume{
	height:20px;
}
/*main aside{
	width:600px;
	display:inline-block;
	height:100%;    */
/*	min-height:640px;*/	/* for IE */
/*	text-align:left;
}
main aside ul{
	display:table;
	list-style-type: none;
	list-style-position: inside;
	margin:0px;
	padding:0px;
}
main aside ul li{
	display:inline-block;
	margin:2px;
	padding:8px;
	background-color:#eee;
	text-align:center;
	border-top-left-radius:4px;
	border-top-right-radius:4px;
	border-left:solid 1px gray;
	border-right:solid 1px gray;
	border-top:solid 1px gray;
	font-size:12pt;
	color:#4682b4;
	font-weight:bold;
}
main aside section{
	background-color:white;
	width:100%;
	height:100%;
	font-size:80%;
	overflow-y:scroll;
	white-space: normal;
	padding-right: 8px;
}*/

/*	right.php	*/
/*
main aside article{margin-bottom:24px;}
main aside article:last-child{margin-bottom:800px;}
main aside article div{margin-bottom:16px;} */

#panel {
    border-radius: 0px;
    color: white;
    background-color: #0000ff;
    background-repeat: no-repeat;
    position: fixed; /* ウィンドウに固定 */
    bottom: 0px; /* コントロールパネルを画面の下部に表示 */
    left: 0px;
    width: 100%;
    height: 67.5px; 
    z-index: 9999; /* 最上位に表示されるよう非常に高い値に設定 */
}

panel button {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


#panel #backButton {
    display: inline-block;
    position: absolute;
    left: 3%; /* ボタンの位置を左側に */

	    top: 30%; /* 縦方向の調整 */
    padding: 0px 0px;
    background-color: #0000ff;
    border: none;
    cursor: pointer;
}

#panel #backButton img {
  width: 7.6vw;
  height: 7.6vw;
  margin-left: 0px;
	    top: 0%; /* 縦方向の調整 */
}

#panel #configbutton {
    display: inline-block;
    position: absolute;
    left: 10%; /* 戻るボタンの後ろにスペースを調整 */
    top: 31%;
    width:  7.6vw !important;
}
#panel #configbutton {
    display: inline-block;
    position: absolute;
    left: 15% !important; /* 戻るボタンの後ろにスペースを調整 */
    top: 31%;
    width: 30px;
}

#panel #btproblem {
	    left: 28% !important; /* 戻るボタンの後ろにスペースを調整 */
    top: 31%;
    display: inline-block;
    position: absolute;
    background-color: white; /* 赤いボタン */
	    color: #0000ff;
    border: none;
    border-radius: 2vw !important;
    font-size: 3.5vw;
			font-weight: bold;
    cursor: pointer;
	    padding: 1.2vw;
}

#panel #btproblem:hover {
    background-color: #cc0000; /* ホバー時の色変更 */
	    color: white;
}


#panel #playbutton,
#panel #pausebutton {
    display: inline-block;
    position: absolute;
    top: 25%;
    width: 20vw;
    height: 9vw;
    left: 75% !important;
}

#panel #pausebutton {
    display: none;
}

#panel #btn_time {
    display: inline-block;
    position: absolute;
    left: calc(46%) !important;
    top: 20%;
    color: white;
    font-size: 3.4vw;
}

#panel #toggle_as{
    display:inline-block;
    position:absolute;
    left: calc(45% + 0px) !important;
    top:55%;
    background-color: white;
    color:blue;
    font-size: 2.5vw;
   border-radius:1vw;
    width: 20vw !important; 
    text-align: center !important; /* 左右方向のセンター配置 */
    padding:0.5vw 0;
}
/* iOS Safari のみ */
@supports (-webkit-touch-callout: none) {
  #panel #toggle_as{
    padding-left: 1vw;   /* 左のアキ */
  }
}
div#json div{
	padding:6px 0px 6px 0px;/* ルビ訳と日本語訳全体の余白 */
}
div#waiting{/* 自動静止時のタイム表示 */
	margin-top:0px;/* 元は2px */
	font-size:0pt;/* 元は12pt */
}
/*div#wordPopup{
	display:none;
	position:absolute;
	margin:0px;
	line-height:24px;
	background-color:whitesmoke;
	border-radius:4px;
	border:solid 1px gray;
	opacity:0.9;
	filter: alpha(opacity=90);
	max-width:320px;
	text-align:left;
	padding:8px;
	white-space: normal;
}*/

/* ■ルビの付く英文 */
ruby {
    display: inline-table;
    border-collapse: collapse;
    margin: 0;
    margin-bottom:-4px;/* ■英語(訳部分ではなく)のルビ部分の下を狭く */
    padding: 0;
    border: none;
    white-space: pre-line; /* ■nowrapにすると長い時にはみ出してしまう */
    text-indent: 0;
    text-decoration: inherit;
    text-align: ;/* ■英語よりルビが長い時の英語の配置。元はcenter */
    font-size: 18.00px;
    line-height: 70%;
    color: #006400;
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
ruby {
    margin-bottom:-5px;
    line-height: 85%;
}

/* ■ルビ */
ruby>rt {
    position: relative;
    top: 0px;
    display: table-header-group;
    height: 25%;
    margin: 0;
    padding: 0 0.5px;
    border: none;
    font: inherit;
    font-size: 65%; 
    /*font-size: 11.00px;*/
    line-height:150%; 
    color: #4682b4;
    font-weight: normal;
    white-space: normal;/* 入れないとiPhoneで改行されない  */
}

/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
ruby>rt {
    font-size: vw;
}

/* ■ルビのない英文 */
div#json {
    background-color: white;
    white-space: normal;
    font-family: arial;
    font-size: 18.00px;
    line-height: 150%;
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
div#json {
    font-size: vw;
}

/*■コメント*/
.commentb, .commenta{	
position: relative;
color: #4682b4;	
font-weight:bold;	
font-size: 13.1px;
display: inline-block; /* 行間を小さく設定 */
line-height: 1.3 !important; /* 行間を小さく設定 */	
margin-top: 12px;	
}


/*a??e?3a￡°a?￠a??a?3a?3*/	
/*span.enline a.rep{display:block;}
img.rep{
    display:block;
    position:relative;
    margin-left:auto;
    margin-right:0;
}*/

img.play.prev{
    display:block;
    content:url(parts/sound-blue.gif);
    position:relative;
    margin-left:auto;
    margin-right: 0px;
    margin-bottom: 0px;	
    width:22.5px;
    height:18.75px;
	padding: 5px 10px 5px 30px; /* タッチ領域を広げる */
    box-sizing: content-box; /* パディングを要素サイズに含めない */
}
img.play.now{
    display:block;
    content:url(parts/sound-red.gif);
    position:relative;
    margin-left:auto;
    margin-right: 0px;
    margin-bottom: 0px;	
    width:22.5px;
    height:18.75px;
	padding: 5px 10px 5px 30px; /* タッチ領域を広げる */
    box-sizing: content-box; /* パディングを要素サイズに含めない */
}





span.slash, span.slashb{
    color: blue;
    font-weight: bold;
    font-size:1.1em ;
}
span.kagi{
color: red;
font-weight: bold;
font-size:1.1em ;
}

/*■文構造なし時のスラッシュ非表示*/
	span.slashn{
display: none;
}

div span.title{
    width:100%;
    overflow-wrap: break-word;
    display: block;
    margin-left: auto;
    margin-right: auto;
	text-align: center;
    margin-top:34px;
    position:relative;
  /*  height: 37.5px; */
    top:0px; left:0%;
    font-size:120%;
}
div span.title b{
    margin-left: 5px;
    margin-right: 5px;
}
div.accshow
{
text-align: justify;/* ワードのようにきれいに表示  */
}


div.rlbtn{
    max-width:;
    display: block;
    position:relative;
    top: 18.75px;left:0%;
    height: 11px;
    padding: 3.75px 0px 13px 0px !important;
    width:100%;
    border-radius: 0px;
    background-color:#0000ff;
    color: white;
}

div.rlbtn span.left{
    display:inline-block;
    position:absolute;
    left:-55%; top:10%;/* 「日本語訳」の表示。マイナスで消去。 */
    vertical-align: middle;
}
div.rlbtn span.right{
    display:inline-block;
    position:absolute;
    left:2%; top:3%;
    vertical-align: middle;
    font-size: 14px;
}


article.rlbtn{
	max-width:;
	display: block;
    margin-left: auto;
    margin-right: auto;
    position:relative;
    display: grid;
    grid-template-columns: fr;
    grid-template-rows: fr   fr;
}

article.rlbtn span.enline{
    display:inline-block;
    grid-column:1;
    grid-row:1;
        background-color: #E3E9E5; /* 元は#E3E7E9  */
}
 span.num  {
    color:red;
    font-weight:bold;
}
 span.enline   a{
     display:inline-block;
     position:relative;
     top:6px;
}
 span.enline IMG.gazo{
     display:inline-block;
     position:relative;
     bottom:0% ;
  display: block;
  margin-left: auto;
  margin-right: auto;
       
}
article.rlbtn span.jpline{
    display:none;
    grid-column:1;
    grid-row:2;
    justify-self: start;
    padding:10px 0px 2px 3px;/* 日本語訳 */
    font-size: 18.00px !important;/* 日本語訳のフォントサイズ　■重要 */
line-height: 100% !important;
}
article.rlbtn span.jpline ruby {
    line-height: 100%;
    margin-bottom: 0.2em !important;/* 訳部分の下の空き(546行付近と合わせる)　■重要 */
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
article.rlbtn span.jpline ruby {
    margin-bottom: 0.0em !important;/* 訳部分の下の空き(546行付近と合わせる)　■重要 */
}


/* ■全体のフォント　文字詰め----------- */
@media screen and (max-width: 400px) {
    span.enline {
        letter-spacing: -.02em; /* 文字間詰める */
    }
    /* iPhoneサファリ対策 */
    _::-webkit-full-page-media, _:future, :root span.enline {
        letter-spacing: ; /* 文字間詰める */
    }
    span.jpline {
        letter-spacing: -.02em; /* 文字間詰める */
    }
    /* iPhoneサファリ対策 */
    _::-webkit-full-page-media, _:future, :root span.jpline {
        letter-spacing: ; /* 文字間詰める */
    }
}
/* ■全体のフォント　文字詰め　ここまで------------- */





div.tate{
    max-width:;
    display: block;
    position:relative;
    top: 18.75px;left:0%;
    height: 11.25px;
    padding: 3.75px 0px 13px 0px !important;
    width:100%;
    border-radius: 0px;
    background-color:#0000ff;
    color: white;
}


div.tate span.left{
    display:inline-block;
    position:absolute;
    left:-55%; top:10%;/* 「日本語訳」の表示。マイナスで消去。 */
    vertical-align: middle;
}
div.tate span.right{
    display:inline-block;
    position:absolute;
    left:2%; top:3%;
    vertical-align: middle;
    font-size: 14px;
}



article.tate span.jpline ruby {
    line-height: 18px;/* 日本語訳が長い時（２行）の行間 元は15px */
    margin-bottom: 0.2em !important;/* 訳部分の下の空き(452行付近と合わせる)　■重要 */
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
article.tate span.jpline ruby {
    margin-bottom: 0.0em !important;/* 訳部分の下の空き(452行付近と合わせる)　■重要 */
}






article.tate span.num{
    color:red;
    font-weight:bold;
}

div.rubiyaku{
    width:100%;
    height:100%;
    margin-top:34px;
    margin-bottom:154px;/* テキストの下部の空き */
}


/* ■重要テキストの下部の空き（アイフォン対応のため大きくしている） */
/* iPhone・iPad専用 */
_::-webkit-full-page-media, _:future, :root div.rubiyaku {
    margin-bottom: 300px; /* iOSだけに適用 */
}





div#config{
	text-align: left;
	line-height: 1.0em;
	display:none;
	position:absolute;
	top:5%;
	left:1%;
	width:93.5%;
	height:60%;
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
div#config {
	line-height: 0.9em;
}

div#config form{
	border-radius:2vw;
	border:solid 1vw #4682b4;
	width:520px;
	max-width:100%;
	margin:auto auto auto auto;
	padding:1.5vw;
	background-color:white;
}


div#config input[type="button"]{
	color:white;
	background-color:#4682b4;
	border-radius:4px;
	border:none;
	padding:6.4px 8px 6.4px 8px;
	margin:6.4px 0px 0px 6.4px;
	font-size:8pt;
}

/*設定のポップアップ*/
#config .section {
	display: block;
	padding-top:0px !important;
	padding-bottom:0px !important;
	text-indent: 1vw !important;
	background-color: #4682b4;
	color: #ffffff;
	font-size: 8pt;/* 設定のフォント（見出し） */

}

#config table {
	border-collapse: collapse;
	width: 100%;
	table-layout: fixed;
}

#config table>tr,td {
	border: 0.8px solid #4682b4;
	padding: 0;	
}

#config input[type=radio],
#config input[type=checkbox] {
	display:none;
}

#config label {
	display:inline-block;
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: center;
	width: 100%; 
	height: 100%;
	font-size: 8pt;/* 設定のフォント */
}

#config input[type=radio]:checked + label,
#config input[type=checkbox]:checked + label {
	background-color: #c2d4f2;
}

#config input[type=button] {
	background-color: #4682b4;
	border:1px solid #4682b4;
	color: #ffffff;
}

#config .notice {
	font-weight: bold;
}




/*日本語訳部分の[]*/
.brackets{	
color: red;	
font-weight:bold;	
font-size: ;	/*指定しない*/
}	
/*ルビ訳部分の[]*/
.bracketsb{	
color: red;	
font-weight:bold;	
font-size: ;	
}	




.test {
  width: 100%;
  max-width:600px;
  border-radius: 1px;
  margin-top:20px;
  margin-bottom:20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.test2 {
  width: 75%;
  max-width:350px;
  border-radius: 1px;
  margin-top:20px;
  margin-bottom:20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.test3 {
  width: 65%;
  max-width:200px;
  border-radius: 1px;
  margin-top:20px;
  margin-bottom:20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* ■設問 ポップアップ */
#problems {
    display:none;
    position:absolute;
    left:1%; top:2%; right:1%;
    width:%;
    zindex:1;
}

div.pcont {
  text-align: justify !important;/* ワードのようにきれいに表示 */
  width:%;
  max-width:850px;
  max-height:60vh;
  overflow-y:scroll;
  white-space:normal;
  text-align:left;
  background-color: #D1C1A5;/* 他のデバイスは #e6e6e6 */
  border-radius: 10px;
  border: 10px solid #D1C1A5;
  padding: 40px 0px;
  font-size: 15.7px;
/* 以下スクロールバー非表示のため */
  overflow-y: scroll;
  -ms-overflow-style: none;    /* IE, Edge 対応 */
  scrollbar-width: none;       /* Firefox 対応 */
}
@media (min-width: 851px) {
div.pcont {  
  padding: 0px 0px;
}
}
.pcont::-webkit-scrollbar {  /* Chrome, Safari 対応 */
  display:none;
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
div.pcont {
    letter-spacing: ;/* 文字間詰める */
}
/* 行間詰め＋2行目以降を1文字下げ  */
p.indent {
  width:95%;
  margin:0;
  padding-left:1em;
  text-indent:-1em;
}







/* 画像の右回り込み（設問部分） */
mawarikomi{
float: left;
margin: 0 5px 5px 0;
}
/*300px以下で回り込み解除*/
@media screen and (max-width: 300px) {
mawarikomi { float : none ; display:block;  text-align:center }
}
/* 通常の設問の画像 */
.setumon{
max-width:100%;
}




 a button.yaku{
     display:inline-block;
     position:relative;
     top:-2px; left:75%;
     width:px; height:px;
     background-color: #0000ff;
     padding:6px 45px 6px 45px;
     border-radius:2px 2px 12px 12px;
     color:white;
     border:none;
     font-size:11.2px;
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
 a button.yaku{
     top:-5px;
}

/* ■スマホで「訳ボタン」を少し左に */
@media screen and (max-width: 600px) {
  a button.yaku {
    top: -2px !important;
    left: 50% !important;
  }
}
@media screen and (min-width: 601px) and (max-width: 800px) {
  a button.yaku {
    left: 65% !important;    }
}















 a {
      padding:0px 0px 0px 0px;	
}


/* ■新機能　オンマウス辞書 */
.mouse { /* 補足説明するテキストのスタイル */
  position: relative;
  cursor: pointer;
  padding: 0 0px;/* 左右の空き　元は5px */
  font-size: px;
  color: #006400;
  left: 0%;
  right: 0%;
  line-height : 1em;
}
.description { /* ツールチップのスタイル */
  width: 128px; /* 横幅 */
  position: absolute;
  left: 60px;
  bottom: 100%; /* グラデーションありは80等 */
  transform: translateX(-50%);
  margin-bottom: 8px; /* テキストとの距離 */
  padding: 4px 2px;
  border-radius: 3px; /* 角の丸み */
  background-color: #666;
  font-size: 80%;
  color: #fff;
  text-align: center;
  visibility: hidden;  /* ツールチップを非表示に */
  opacity: 0; /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all;  /* マウスオーバー時のアニメーション速度 */
  font-weight: normal;
text-align: left;
padding-left: 5px;
}
.mouse:hover .description {  /* マウスオーバー時のスタイル */
  bottom: 100%; /* Y軸の位置 */
  visibility: visible; /* ツールチップを表示 */
  opacity: 1;  /* 不透明度を80％に */
  font-weight: normal;
white-space: normal; /* テキストを自動で折り返す */
overflow-wrap: break-word; /* 長い単語を途中で折り返す */
}


/* ■iphone,ipad,androidで鬱陶しい規定の辞書などを表示させないため */
/* https://blog.universe-web.jp/6218/ */
/* https://developer.mozilla.org/ja/docs/Web/CSS/user-select */
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
/* iPhoneサファリ対策  */
_::-webkit-full-page-media, _:future, :root 
img {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
/* android端末対策 */
@media screen and (min-width: 1px) and (max-width: 979px) {
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
}

/* 緩急トレーニング オフ */
u {
text-decoration: none;
/*background: linear-gradient(transparent 80%, yellow 0%);*/
}




/* ■新機能　オンマウス辞書 */
.mouse2,.mouse3 { /* 補足説明するテキストのスタイル */
  position: relative;
  cursor: pointer;
  font-size: px;
  color: #006400;
  left: 0%;
  right: 0%;
  background: linear-gradient(transparent 0%, #add8e6 0%);/* 元は50%，50% */
  line-height : 1.0em;
  padding: 0px 2px 1px 2px;
  bottom: 0px;
  border-radius: 3px;
  white-space: nowrap;
}

.mouse3, strong { /* 補足説明するテキストのスタイル */
  background: linear-gradient(transparent 70%, #fac61e 0%);/* 元は30%,90% */
  bottom: 0px;
  padding: 2px 2px 0px 2px;
  border-radius: 0px;
}

.description2,.description3 { /* ツールチップのスタイル */
  width: 185px; /* 横幅 */
  position: absolute;
  left: 97px;
  bottom: 100%; /* グラデーションありは80等 */
  transform: translateX(-50%);
  margin-bottom: 8px; /* テキストとの距離 */
  padding: 8px 2px 6px 6px;
  border-radius: 3px; /* 角の丸み */
  background-color: #5593BC;
  font-size: 14px;
  color: #fff;
  text-align: ;
  visibility: hidden; /* ツールチップを非表示に */
  opacity: 0; /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all; /* マウスオーバー時のアニメーション速度 */
  white-space: normal;
}

.mouse3 .description2 {
background-color: gray;
}

.description2 a {
  color: #FFEFCF;
  word-break:keep-all;
  font-weight:bold;
  border-bottom: dotted 2px ;
}
.description2 a:hover {
	color:red;
}
.mouse2:hover .description2, .mouse3:hover .description2  { /* マウスオーバー時のスタイル */
  bottom: 100%; /* Y軸の位置 */
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を70％に */
}
.description2 b { /* 見出しの太字部分 */
  color: #FFEFCF;
	word-break:keep-all;
font-weight:bold;
}

/* ルビ訳側の <strong> にマーカー */
span.enline strong {
  background: linear-gradient(transparent 70%, #fac61e 0%);/* 元は30%,90% */
  font-weight: inherit;
  width: 100px;
  height: 100px;
  position: relative;
  margin-left: 0px;/* 追加 */
  margin-right: 0px;/* 追加 */
}
/* マーカーの右側を短く 
span.enline strong:after {   
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: #e3e9e5;
}
*/




/*■折りたたみメニュー-----------------------------------------------
参考ページhttps://saruwakakun.com/html-css/reference/accordion */
/*ボックス全体*/
.accbox {
    margin:0em 0.2em;
    padding: 0em;
    max-width: ;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
}
/*ラベル*/
.accbox label {
    display: block;
    margin: px;
    padding : 0px 0px;
    color: blue;
    font-size: 17px;
    font-weight: bold;
    background: white;
    cursor :pointer;
    transition: all 0.5s;
    border-radius: 10px;
}
/*アイコンを表示*/
.accbox label:before {
    content: '\f054';
    font-family: 'FontAwesome';
    padding-right: 8px;
}
/*クリック時にアイコンを入れ替える*/
.cssacc:checked + label:before {
    content: '\f078';
}
/*ラベルホバー時*/
.accbox label:hover {
    background :;
    color: red;
}
/*チェックは隠す*/
.accbox input {
    display: none;
}
/*中身を非表示にしておく*/
.accbox .accshow {
    height: 0;
    padding: 0.3em 0.5em !important;
    overflow: hidden;
    opacity: 0;
    transition: 1s;
	border-radius: 5px;
}
/*クリックで中身表示*/
.cssacc:checked + label + .accshow {
    height: auto;
    padding: 10px;
    background: white;
    opacity: 1;
}
.accbox .accshow p {
    margin: 15px 10px}
/*■折りたたみメニュー-------------------------------------------ここまで */


/*■タイトルとバーの太字指定 */
.left { font-weight: bolder;}
.right {font-weight: bolder;}
/*.title {font-weight: bold;}*/



/*日本語訳の英文　下も要変更　黒は#000000,緑は#006400*/
span.jpline ruby {	
color: #006400 !important;
}
/*日本語訳部分の英文(訳が付かない部分に反映)*/	
.jpline{	
color: #006400;	
font-size: ;	
}



/*イタリック*/
i {
    font-family: "Times New Roman", Times, serif;
}
.description2,.description3 {
    font-family: arial !important;/* for iOS */
}


/* 辞書と文法解説のポップアップを上げる（スマートフォン＋タブレット） */
@media screen and (max-width: 767px) {
  .description {
    margin-bottom: 30px !important;
  }
  .description2 {
    margin-bottom: 40px !important;
  }
}


/*■英文解釈の下線*/	
span.enline u {
  color: inherit;
  border-bottom: #4682b4 dotted 2px;
  word-break: keep-all;
}
/*英文解釈の下線の部分のみ，ルビ訳を少し下げる*/	
ruby>rt {
	position: relative;
  top: 2px;
}


/* ■オンマウスの適用範囲の拡大 */
/* オンマウスの範囲を拡張するための擬似要素 */
.mouse:before, .mouse2:before {
  /*content: "";*/
position: relative;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: transparent; /* 透明な背景 */
  pointer-events: none; /* この要素自体はイベントを受け取らない */
}
/* オンマウスイベントを拡張するためのラッパー */
.mouse:hover:before, .mouse2:hover:before {
  pointer-events: auto; /* オンマウス時にイベントを受け取る */
}













/* ■画像の周りを白く  */
img.gazo {
    width: 100%;
    max-width: 600px;
    border-radius: 5px;
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: white;
    box-shadow:
        50px 0 0 0 white,   /* 右 */
        -70px 0 0 0 white,  /* 左 */
        0 60px 0 0 white,   /* 下 */
        0 -50px 0 0 white,  /* 上 */
        50px 60px 0 0 white,  /* 右下 */
        -70px 70px 0 0 white, /* 左下 */
        50px -50px 0 0 white, /* 右上 */
        -70px -50px 0 0 white; /* 左上 */
}









/*■以下　重要体裁*/
article.rlbtn{
}
article.rlbtn span.enline{
    width:  ;/*指定しない*/
    padding:2px 2px 4px 3px;
    margin:0 1%;
    border-radius:5px;
}
@media (min-width: 850px) {
article.rlbtn span.enline{
    width: 96.0% !important;
  }
}
article.tate{
	display: block;
    margin-left: auto;
    margin-right: auto;
      margin-bottom: 3px;  
    position:relative;
    display: grid;
    grid-template-columns:  fr ;
    grid-template-rows: fr  fr;
}
span.enline{
    display:inline-block;
    grid-column:1;
    grid-row:1;
    justify-self: start;
    width:94.5% !important;
    margin:3px 1% 0 1% !important;
    padding:2px 2.0% 6px 1.5% !important;
    background-color: #E3E9E5; /* 元は#E3E7E9  */
    border-radius:5px;
    word-spacing: 0.15em; /* 半角スペースを広げる */
    text-align: justify;/* ワードのようにきれいに表示  */
}
span.jpline.jpline{
    width:  ;/*指定しない*/
    display:inline-block;
    grid-column:1;
    grid-row:2;
    justify-self: start;
    margin:-10px 0px -10px 5px !important;
    padding:0px 2px 2px 1% !important;
    font-size: 18.00px !important;
    line-height: 100% !important;
}














/* ■画像の周りを白く  */
img.gazo {
	  display: block;
  margin: 0 auto;
    width: 100%;
    max-width: 600px;
    border-radius: 0px; /* 変更  */
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: white;
    box-shadow:
        200px 0 0 0 white,   /* 右 */
        -250px 0 0 0 white,  /* 左 */
        0 60px 0 0 white,   /* 下 */
        0 -50px 0 0 white,  /* 上 */
        200px 60px 0 0 white,  /* 右下 */
        -250px 70px 0 0 white, /* 左下 */
        200px -50px 0 0 white, /* 右上 */
        -250px -50px 0 0 white; /* 左上 */
}
@media (min-width: 620px) {
  img.gazo {
    border-radius: 15px; /* 角を丸くする（値は自由に調整可能） */
  }
}














/* ■■■コントロールパネル　PC,タブレット向け■■■ */
@media screen and (min-width: 501px) {
#panel{
	border-radius:8px;
	color:white;
	background-color:#0000ff;
	background-repeat:no-repeat;
	position:fixed;
	bottom: 10px; /*コントロールパネルの下からの位置*/
	left: calc(50% - 187px);
	width:420px;
	height:80px; 
}
#panel #backButton {
    display: inline-block;
    position: absolute;
    left: 3%; /* ボタンの位置を左側に */
	top:25px !important;
    padding: 0px 0px;
    background-color: #0000ff;
    border: none;
    cursor: pointer;
}
#panel #configbutton{
    display:inline-block;
	position:absolute;
	left:60px !important;
	top:25px !important;
}
#panel #btproblem {
left: 110px !important; 
    top: 31%;
    display: inline-block;
    position: absolute;
    background-color: white; /* 赤いボタン */
	    color: #0000ff;
    border: none;
    border-radius: 5px !important;
    font-size: 14px;
			font-weight: bold;
    cursor: pointer;
	    padding: 5px 5px;
}

#panel #playbutton,
#panel #pausebutton {
	display:inline-block;
    position:absolute;
	left:77% !important;
	top:20px;
}

#panel #btn_time{
    display:inline-block;
    position:absolute;
    left:47%  !important;
	top:25%;
    color:white;
font-size: 13px;
}
#panel #toggle_as{
    display:inline-block;
    position:absolute;
    left:42% !important;
	top:40px;
    background-color: white;
    color:#0000ff;
    font-size:11px;
    border-radius:4px;
    padding:2px 0px 2px 0px;
    width: 107px !important; 
    text-align: center !important; 
}
div#json div{
	padding:8px 0px 8px 0px;/* ルビ訳と日本語訳全体の余白  */
}
div#waiting{/* 自動静止時のタイム表示  */
	margin-top:0px;/* 元は2px  */
	font-size:0pt;/* 元は12pt  */
}
#panel #backButton img {
  width: 30px;
  height: 30px;
}
#panel #configbutton {
    width: 30px !important;
}
#panel #btproblem {
    font-size: 14px;
    padding: 5px 5px;
}
#panel #playbutton,
#panel #pausebutton {
    width: 80px;
    height: 40px;
}
#panel #pausebutton {
    display: none;
}
#panel #btn_time {
    font-size: 13px;
}

div#config form{
	border-radius:15px;
	border:solid 5px #4682b4;
	padding:15px;
}
}




/* ウィンドウ幅 最大幅1000pxに */
@media (min-width: 700px) {
  span.title{
    max-width: 1010px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  div.rubiyaku {
    max-width: 1000px;
    width: 97%;
    margin-left: auto;
    margin-right: auto;
  }
  div.tate, div.rlbtn {
    max-width: 1050px;
    width: 99% !important;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px !important;
  }
  div.accbox {
    max-width: 1050px;
    width: 99% !important;
    margin-left: auto;
    margin-right: auto;
  }
article.tate, article.rlbtn {
  padding: 0px !important; 
}
article#en0.rlbtn {

}
 span.enline{
}
}

/* ヨコ幅広い時，タイトル大きく */
@media (min-width: 700px) {
  span.title {
    font-size: 30px !important;
  }
  div.accbox {
    padding-top:40px !important;
  }
}

span.mouse2 {
  margin-left: 1px; 
  margin-right: 1px; 
  padding-left: 3px; 
  padding-right: 3px; 
}
span.mouse, span.mouse2 {
  white-space: nowrap;/* 途中で改行しない */
}

/* 設問の閉じるボタン */
button.close-btn {
  color: red;          
  border: none;       
  font-size: 50px;  
  background: none;    
  padding-left: 96%; 
  position: relative;
  top: -10px; 
}
@media (max-width: 850px) {/* 800pxまでは位置固定 */
button.close-btn {   
  position: fixed;
  padding-left: 96%; 
  top: 10px; 
  right:0%; 
}
}
/* iOSのみ */
_::-webkit-full-page-media, _:future, :root ruby rt {
  @media (max-width: 850px) {
    button.close-btn {
      top: -10px;
      right: -20px;
    }
  }
}


div.tate, div.yoko, div.rlbtn{
    background-color:#006400;
}
















.mouse3 { /* 補足説明するテキストのスタイル */
  background: linear-gradient(transparent 70%, #add8e6 0%);/* 元は30%,90% */
}
/* 文法解説(赤) */
.mouse2.r {
  background: linear-gradient(transparent 0%, #f0bbfa 0%) !important;
}
/* 文法解説－be動詞(赤) */
.mouse3.r{
  background: linear-gradient(transparent 70%, #f0bbfa 0%);/* 元は30%,90% */
}























/* 破線を追加 */
.mouse.r{
  border-bottom: 1px dotted #006400;
}
/* ポップアップ（訳＋学習段階） */
.mouse.r .description.A {
  background-color: green;
  width: 135px !important;     /* 固定幅 */
  left: 70px;       /* 既存指定 */
  white-space: normal;   /* ← これで改行を許可 */
  word-wrap: break-word; /* ← 単語が長くても折り返す */
  overflow-wrap: break-word; /* ← modernブラウザ向け */
	    text-align: left;
    padding-left: 5px;
}
/* ポップアップ（学習段階のみ） */
.mouse.r .description.B {
  background-color: green;
  width: 80px; 
  left: 40px;
  text-align: center;   /* 中央揃え */
}
/* スマホ向け（幅768px以下） */
@media screen and (max-width: 768px) {
  .mouse.r .description.A {
    width: 120px;     
    left: 70px;       
  }
  .mouse.r .description.B {
    width: 50px; 
    left: 50%;
  }
}
/* ■iOS Safari 単語と文字が近くなりすぎるため */
_::-webkit-full-page-media, _:future, :root ruby rt {
  margin-top: 1px;  /* 上下の間隔を調整 */
  display: block;    /* 必要に応じて */
}


/* 「未」「済」の体裁 */
.status-word {
  color: green;
  background: white; 
  border: none;
  border-radius: 5px; /* pill */
  font-weight: bold;  /* ← 太字 */
  margin-left: 10px;   /* ← 左だけ余白 */
}
ruby .status-word {
  margin-left: 0px;
}




/* 下線付きルビ　文字との距離 */
span.yaku > ruby > rt {
  margin-top: 0.3em; /* 文字とルビの間隔 */
  display: block;
}
























/*■PC，タブレット用（pxサイズに関係する部分のみ）*/
/*設定-ポップアップ*/
#config .section {
	padding-top:2px;
	padding-bottom:2px;
	text-indent: 6px;
	font-size: 12px;
}
#config label {
	padding-top: 10px;
	padding-bottom: 10px;
 	font-size: 12px;
	line-height:120%;
}
/*設定-ポップアップ以外*/
.setting-title {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}
.setting {
  font-size: 13px;
  line-height:120%;
}
/*リスニングトレーニングへ*/
#listeningLink {
  font-size: 15px;
}
/*ボタン*/
div#config input[type="button"]{
	border-radius:4px;
	padding:6.4px 8px 6.4px 8px;
	margin:6.4px 0px 0px 6.4px;
	font-size: 13px;
}

/*■設定ポップアップ--スマホ用*/
@media screen and (max-width: 499px) {
  /*設定-ポップアップ*/
  #config .section {
    padding-top: 0;
    padding-bottom: 0;
    text-indent: 1.5vw;
    font-size: 2.5vw;
  }
  #config label {
    padding-top: 2vw;
    padding-bottom: 2vw;
    line-height: 110%;
    font-size: 2.5vw;
  }
  /*設定-ポップアップ以外*/
  .setting-title {
    font-size: 3.5vw;
    margin-bottom: 1vw;
  }
  .setting {
    line-height: 120%;
    font-size: 2.5vw;
  }
  /*リスニングトレーニングへ*/
  #listeningLink {
    font-size: 3.5vw;
  }
  /*ボタン*/
  div#config input[type="button"] {
    border-radius: 1vw;
    padding: 1.8vw 2vw;
    margin: 1.5vw 0 0 1.5vw;
    font-size: 2.7vw;
  }
}







/*lis.htmlのみ*/
div.accshow-lis-html{
  margin-top:30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: normal;
  padding: 5px !important;
}





