* {
	box-sizing: border-box;
}

p,
h2,
h1,
ul {
	margin: 0;
}

a {
	color:#09a74f;
	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;
}
/* iOSでのデフォルトスタイルをリセット ここまで*/

h1 {
	font-size: 32px;
}

body {
	margin: 0;
	padding: 0;
font-family: "A-OTF 新ゴ Pro",A-OTF Shin Go Pro,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.header {
	width: 100%;
	background-color: white;
	box-shadow: 0 20px 10px rgba(100,100,100,0.1);
	margin-bottom: 40px;
	padding: 10px 0 20px;
	border-bottom: 2px solid #09a74f;
}

.heder_lead {
	background-color: #e4e4e4;
	width:100%;
	padding: 2px 0;
}

.logo {
	display: inline-block;
	width:auto;
}

.logo img:hover{
	opacity: 0.5;
}

.logo img {
	width:160px;
}
.header {
	letter-spacing: normal;
}
.heder_lead p {
	font-size:70%;
	width: 1024px;
	margin:0 auto;
}

.header .herder_top,
.header nav {
	width: 1024px;
	margin: 0 auto;
}

.header .herder_top .sub_header {
	display: inline-block;
	width:auto;
	padding:0 20px;
	float: right;
	letter-spacing: normal;
}

.header nav a {
	width: 16%;
	min-width: 200px;
	display: inline-block;
	margin-top: 20px;
	color: #666666;
	font-size: 21px;
	text-align: center;
	border-left: 1px solid #b3b3b3; 
	letter-spacing: 20px;
	text-indent: 10px;
	text-decoration: none;
}

.header nav a.jikan {
	letter-spacing: 5px;
}

.header nav a:hover {
	opacity: 0.5;
}

.header nav a.last {
	border-right: 1px solid #b3b3b3; 
}

.contents {
	width: 1024px;
	margin: 0 auto;
}

.contents .lead {
	font-size:70%;
}

.contents .main,
.contents .sub {
	display: inline-block;
	vertical-align: top;
	letter-spacing: -.40em;
}

.contents .main {
	width: 704px;
	letter-spacing: normal;
}

.contents .sub {
	width: 320px;
	letter-spacing: normal;
	/*background: gray;*/
}

.contents .main .inner {
	padding:0 20px;
	width: auto;
}

.contents .sub .inner {
	padding:0 10px;
	width: auto;
}

.contents .cat {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 40px;
	background-color:white;
	padding:15px;
	text-align: center;
}

.root .contents .cat {
	width: 320px;
}

.indexs .contents .cat {
	width: 100%;
}

.contents .cat img:hover{
	opacity: 0.5;
}

.contents .cat ul {
	text-align: left;
	margin-top: 10px;
}

.contents .cat ul a {
	font-weight: bold;
}

.indexs ul a {
	font-weight: bold;
}

h2 a {
  color: #000;
}

#nav-drawer {
	display: none;
}
.contents .cat h2 span {
	letter-spacing: 20px;
	margin-left: 20px;
}

 .contents .cat .description {
 	margin-top: 10px;
 }


.contents .icon {
	width:160px;
	display: inline-block;
}
.contents .icon a,
.contents .icon img {
	width:100%;
}

.contents .pages {
	margin-top: 40px;
}

.jikan .contents .pages {
	font-size: 140%;
}

.contents .actions {
	margin: 30px 0 50px;
}

.nath. .change_q.tate {
	display: inline;
}

.footer {
	width:100%;
	height: 60px;
	border-top: 2px solid #09a74f;
	margin-top: 30px;
	text-align: center;
	padding-top: 10px;

}

.footer_inner {
	width:1024px;
	margin: 0 auto;
	margin-top: 10px;
}

.footer_inner .nav {
	margin-bottom: 20px;
}

.footer a {
	display: inline-block;
	vertical-align: top;
	padding: 0 20px;
	text-align: center;
	border-left: 1px solid #b3b3b3;
}

.footer a.last {
	border-right: 1px solid #b3b3b3;
}
.footer .nav br {
	display: none;
}

.footer .copyright {
	font-size: 70%;
	margin-bottom: 10px;
	color: #666666;
}

.contact .form {
	width: 50%;
	margin: 30px auto;
}

.contact input[type="text"] {
	width: 100%;
	margin-bottom: 30px; 
}

.contact textarea {
	width: 100%;
	height: 6em;
	margin-bottom: 30px;
}

.contact .submit {
	width: 100%;
	text-align: center;
}

.contact .submit input[type="submit"] {
	width: 60%;
	letter-spacing: normal;
	cursor: pointer;
	display: inline-block;
	color:#fff;
	background: #237EC5;
	border: 0;
	border-radius: 10px;
	width: 8em;
	height: auto;
	padding: 0.3em 0.5em;
	margin: 0.5em 0 0.5em;
	text-align: center;
	margin-right: 10px;
}

.contact .thanks {
	letter-spacing: normal;
}

.contact .return {
	display: inline-block;
	margin: 40px 0 0;
}

.explanation {
	margin-bottom: 40px;
	background: #c6ecd7;
	padding: 10px;
}

.indexs h1 img,
.hito_keta_kakezan.kuku h1 img,
.hito_keta_kakezan.kuku h1 img,
.math  h1 img {
	height:48px;
	margin-right:10px;
	vertical-align: bottom;
}

.indexs .cat {
	text-align: left;
}

.bread {
	font-size: 90%;
	margin: 10px 0;
}

.bread a {
	color:#666666;
	font-weight: bold;
}

.bread a:hover {
	opacity: 0.5;
}

.bread a::after {
	color:#666666;
	vertical-align: baseline;
	font-weight: normal;
	content:' > ';
}

.bread a.last::after {
	content: none;
}

.math .contents,
.hito_keta_kakezan {
	letter-spacing: -.40em;
}

.inline {
	display: inline-block;
}

.math_wrapper {
	width:24%;
	padding-right: 4%;
	padding-bottom: 4em;
	text-align: right;
}

.jikan .math_wrapper {
	padding-bottom: 3em;
}

.jikan .math_wrapper {
	width: 100%;
}

.zukei .math_wrapper {
	width:100%;
}

.zukei .math_wrapper .up div{
	width:25%;
	display: inline-block;
}

.zukei .math_wrapper a img {
	width:100%;
}

.zukei .math_wrapper a:hover {
	opacity: 0.3;
}

.zukei .math_wrapper .notice {
	text-align: center;
}

.zukei .math_wrapper .parent {
	position: relative;
	width: auto;
	height: auto;
	display: inline-block;
}

.zukei .math_wrapper span.ok {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
  border-radius: 48%;
  border: solid 2px red;
  height:  100%;
  width: 100%;
}

.zukei .question_string {
	margin-bottom: 20px;
}

h1 {
	letter-spacing: normal;
	margin: 20px 0;
}

p {
	letter-spacing: normal;
}

.nav {
	letter-spacing: normal;
}

form {
	letter-spacing: normal;
}

.root h1 {
	width:1024px;
	margin: 0 auto;
	font-size: 11px;
	font-weight: normal;
}

.root .h1 {
	font-size: 32px;
	font-weight: bold;
	margin: 20px 0;
}

.question {
	margin-bottom: 0.5em;
	letter-spacing: normal;
	text-align: right;
}

.question .notice {
	color: red;
}

.hito_keta_kakezan .math_wrapper .question,
.kuku .math_wrapper .question {
	text-align: left;
	text-indent: 0;
}

.math .answer {
	text-align: right;
}

.answer {
	color:red;
}

.c_answer_value {
  height: 1em;
  height: 2em;
}
.question .notice {
  height: 1em;
}

.c_answer_value.ok {
  display: inline-block;
  text-align:center;
  width: auto;
  border-radius: 48%;
  border: solid 2px red;
}

.math .question .down {
	border-bottom: 1px solid #000;
}

.math .number  {
	width: 5em;
	display: inline-block;
	text-align: right;
}

.hito_keta_kakezan .number {
	/*width:1em;*/
	width: auto;
}

.math .math_wrapper .up .number,
.math .math_wrapper .down .number {
	width: 4em;
	text-align: right;
}

.math_wrapper input {
	width: 100%;
}

.jikan .math_wrapper .c_answer_value {
	display: inline-block;
	width: 4em;
	vertical-align: bottom;
	text-align: center;
	height: 1.5em;
	overflow: hidden;
}

.jikan .math_wrapper .answer {
	display: inline-block;
	width: 4em;
	vertical-align: bottom;
	text-align: center;
	height: 1.5em;
	overflow: hidden;
}

.jikan .math_wrapper .border {
	display: inline-block;
	width: 4em;
	vertical-align: bottom;
	border: 2px solid #c3c3c3;
	text-align: center;
	height: 1.5em;
}

.jikan .math_wrapper .select {
	animation: color-change 3s infinite;
}
@keyframes color-change {
  0%,100%{
    border-color:#c3c3c3;
  }
  50%{
    border-color:#0091EA;
  }
}

.jikan .math_wrapper .hidden {
	display: none;
}

.math_wrapper .question {
	letter-spacing: 10px;
	text-indent: -40px;
}

.jikan .math_wrapper .question {
	letter-spacing: 10px;
}

.math .unit {
	width: 1em;
	margin-right: 2em;
}

.answer_button,
.change_button {
	letter-spacing: normal;
	cursor: pointer;
	display: inline-block;
	color:#fff;
	background: #237EC5;
	border: 0;
	border-radius: 10px;
	width: 8em;
	height: auto;
	padding: 0.3em 0.5em;
	margin: 0.5em 0 0.5em;
	text-align: center;
	margin-right: 10px;
}

.pagebreak {
	page-break-before: always; 
}

.hide {
	display: none;
}

.print {
	display: none;
}

.header nav.sp {
	display: none;
}

.c_answer {
	text-align: left;
}

.jikan .c_answer {
	width:40%;
}

.c_answer .input {
	margin-top: 20px;
}

.c_answer .input {
	letter-spacing: -.40em;
	text-indent: center;
}

.c_answer .input .button {
	letter-spacing: normal;
	display: inline-block;
	width: 29%;
	text-align: center;
	font-size: 16px;
	padding: 5px 0;
	margin: 2%;
	border-radius : 6px;
	/*border: 6px solid #fff;*/
	cursor: pointer;
	background-color: #6fd7ef;
}

.c_answer .input .button.zero {
	width: 96%;
}

.c_answer .submit {
	text-align: center;
}
.c_answer .submit .button{
	display: inline-block;
	width: 48%;
	margin-top: 10px;
	text-align: center;
	font-size: 20px;
	padding: 5px 0;
	border-radius : 6px;
	cursor: pointer;
	background-color: #237dc5;
	/*font-weight: bold;*/
	color: #fff;
}

.change_button.change_q,
.change_button.add_q {
	display: none;
}
.math .change_q.tate,
.math .add_q.tate {
	display: inline-block;
}
.kuku .change_q.yoko,
.kuku .add_q.yoko {
	display: inline-block;
}
.hito_keta_kakezan .change_q.yoko,
.hito_keta_kakezan .add_q.yoko {
	display: inline-block;
}

.sub .inner p{
	width:100%;
	margin-bottom: 30px;
	vertical-align: top;
	font-size: 24px;
	/*text-align: center;*/
}

.sub .inner p:hover{
	opacity: 0.5
}

.sub .inner p img{
	width:30%;
	vertical-align: middle;
	margin-right: 10px;
}

.about .sentence {
	line-height: 2;
}

.about .sentence p {
	margin-bottom: 20px;
}

/*ここからプリント*/

@media print{

.contents {
	width:210mm;
	margin:0 auto;
}

.contents .main {
	width:210mm;
}

.sub,
.sub .inner,
.header,
.main .lead,
.bread,
.footer {
	display: none;
}

.actions {
	display: none;
}

.heder_lead {
	display: none;
}

.print {
	display: block;
}

.heder_lead {
	width:210mm;
	margin:0 auto;
	background: none;
}

.heder_lead p {
	width:210mm;
}

.c_answer {
	display: none;
}
}
