       /* カスタマイズ用の基本スタイル */
	* {
  box-sizing: border-box;
}

body {
  background-image:url(https://kotoden.jp/wp-content/themes/jinr/include/customizer/img/preset_bg_10.png),  linear-gradient(to right, #F37320, #E6671A);

  color: #ffffff;
  margin: 2px;
  font-family: Arial, sans-serif;
}
.top-btn-wrapp{
	display: flex;
    justify-content: space-around;
}
.res-con{
		display: flex;
    justify-content: space-around;
}
.question-container {
  margin: 20px 1px;
}

.question-number {
  font-size: 1.2em;
}
.next-feedback{
    height: 90px;
}
.answers {
  margin: 15px 0;
}

.answer-btn {
  margin: 5px;
  padding: 10px;
  font-size: 1em;
  cursor: pointer;
}

.disabled{
  background-color: #ccc !important;
  pointer-events:none !important;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border: 5px solid #dddddd;
}

.result-table th,
.result-table td {
  border: 1px solid #ddd;
  padding: 10px;
}

.list-incorrect {
  background-color: #ffe0e0 !important;
  ;
}

.list-correct {
  background-color: #e0f8e0 !important;
}

.tbody {
  text-align: center;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans Emoji";
    color: #000000;
    max-width: 1024px;
	    margin: auto;

}

header a, header p {
  text-decoration: none;
  color: #ffffff;
}

.selected {
  background-color: #4CAF50;
  /* 正解の色 */
  color: white;
  /* テキストの色 */
}

main {
  margin: 0 auto 20px;
  min-height: 1000px;
  background-color: #ffffff;
  color: #000000;
  max-width: 1024px;
  padding: 10px;
}

#quiz-app {

  margin: auto;
}

#question-image {
 /*  margin: 5px; */
  width: 100%;
}
.back-delete{
	display: flex;
    justify-content: space-evenly;
}

.feedback-answer{
text-align: center;
    display: flex;
    justify-content: space-evenly;
	    margin: 0;
}
.good{
	color: green;
    font-weight: bold;
    font-size: 28px;
}
.bad{
		color: red;
    font-weight: bold;
    font-size: 28px;
}
.feedback-answer a{
    color: blue;
    text-decoration: none;
    font-weight: bold;
    border-radius: 13px;
    padding: 3px;
}
table {
  margin-bottom: 10px;
}

.answers {
  display: flex;
  justify-content: space-evenly;
}

#result-container {
  max-width: 740px;
  margin: auto;
}

.result-table {
  text-align: center;
}

/* 合格のスタイル */
.pass {
  color: green;
  font-size: 1.5em;
  font-weight: bold;
  background-color: #e0f8e0;
  padding: 10px;
  border: 3px solid green;
  text-align: center;
}

/* 不合格のスタイル */
.fail {
  color: red;
  font-size: 1.5em;
  font-weight: bold;
  background-color: #ffe6e6;
  padding: 10px;
  border: 3px solid red;
  ;
  text-align: center;
}

.image-container {
  position: relative;
  width: 100%;
  height: auto;
}

#question-image {
  width: 100%;
  display: block;
}

#overlay-image {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* オーバーレイ画像をクリックできなくする */
  z-index: 10;
  /* 上に重ねるためのz-index */
}
.link-wrapper{
	  display: flex;
  flex-wrap: wrap;
  border: solid #4e6868 2px;
}
.answer-link{
    width: 10%;
    padding: 0;
    border: solid 0.1px #4e6868;
    text-align: center;
    text-decoration: none;
    color: blue;
    background: #e0f8ff;
    border-top: solid 1px #4e6868;
}
.answer-link:hover{
	background: #e0e8e0;
}
.answers-wrapper{

}
.answer-h2{
    background-color: #4e6868;
    padding: 10px;
    color: #fff;
    border-radius: 0;
    margin: 0;
    border: 2px solid #4e6868;
    text-align: center;
	    border-radius: 10px 10px 0 0;
}
#drawing-container {
  margin-top: 20px;
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #fff;
}



#footerInfo {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif, "Noto Sans Emoji", "Noto Sans", "Noto Sans CJK JP";
  font-weight: 400;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  word-break: break-word;

  border-top-style: solid;
  border-top-width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 21px 0;

}

        h1 {
            color: #4e6868;
            text-align: center;
        }
        h2 {
            color: #333;
            background-color:  #e0f8ff;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        p {
            font-size: 18px;
            margin-bottom: 5px;
        }
        .history-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .history-table th, .history-table td {
            border: 1px solid #ddd;
            padding: 5px;
            text-align: center;
        }
        .history-table th {
            background-color: #f0f8ff;
            color: #333;
        }
        .history-table td {
            background-color: #fff;
            color: #333;
        }
.correct ,.selected{
    background-color: #4CAF50 !important;  /* 正解は薄緑 */
}
.incorrect {
    background-color: #ffa0a0 !important;  /* 不正解は薄ピンク */
}
        #history-container {
            max-width: 800px;
            margin: 0 auto;
        }
/*/////buttonの設定///*/
/*  */
.btn{
	/*   display: inline-block;  *//* ボタンを横並びにする */
  border: none; /* 枠線をなくす */
  border-radius: 5px; /* 角丸をつける */
  padding: 10px 15px; /* ボタンの内側の余白 */
  margin: 5px; /* ボタン同士の余白 */
  color: white; /* ボタンの文字色 */
  text-align: center; /* ボタンのテキストを中央揃えにする */
  text-decoration: none; /* テキストに下線をつけない */
  font-size: 15px; /* テキストのフォントサイズ */
  cursor: pointer; /* マウスポインタを変更する */
    transition: background-color 0.3s;
}
.delete-btn{
  background-color: #96b97d; /* ボタンの背景色 */
}

.next-btn ,.save-btn,.answer-btn ,.history,.reload,.restart, .continue, .close, .open{
	background-color: #4e6868;
	background-image: url(https://kotoden.jp/wp-content/themes/jinr/include/customizer/img/preset_bg_10.png);
	width:130px;
}
.next-btn,.save-btn{
	min-width:130px;
	    margin: auto;
		    width: auto;
}
.btn:hover {
            background-color: #45a049;
        }
.toggle-drawing-btn {
	background-color: #4e6868;
	background-image: url(https://kotoden.jp/wp-content/themes/jinr/include/customizer/img/preset_bg_10.png);
  width: 95%;
  margin: auto;
  display: block;
}
.history{
	background-color: #4e6868;
}

#toggle-drawing-btn:hover {
            background-color: #4e6868;
			background-image:none;
}

.restart, .continue{	
}
#overlay-container {
  position: relative;
  width: 100%; /* 画像の横幅はページ全体に拡げる */
  height: auto;
  overflow: hidden; /* 高さ0時に画像が完全に隠れるようにする */
  transition: height 0.3s ease; /* 高さをスムーズに変化させる */
}

#overlay-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease; /* 透明度をスムーズに変化させる */
}

#close-btn, #open-btn {
  position: absolute;
  top: 0px; /* ボタンを画像の上部に移動 */
  right: 0px;
  z-index: 10; /* ボタンを画像の上に表示させる */
  margin:0;
}

#close-btn {
  display: block;
}

#open-btn {
  display: none;
}
.arrow-wrap{
    position: sticky;
    top: 50px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    left: 0;
}
#left-arrow ,#right-arrow{
  position: relative;
  padding: 90px 20px;
	background-color: #4e6868;
	background-image: url(https://kotoden.jp/wp-content/themes/jinr/include/customizer/img/preset_bg_10.png);
  color: white;
  border: none;
  cursor: pointer;
}
.button-z{
	display:flex;
}
.pdf-btn{
		background-color: #4e6868;
	background-image: url(https://kotoden.jp/wp-content/themes/jinr/include/customizer/img/preset_bg_10.png);
	width:140px;
	margin: 0 0 0 4px;
}