/*======================================================
 基本設定
=======================================================*/
/*---- リセット ----*/
/*スタイルのリセット*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;

    position: relative;/*これをつけておくことで、親に対する position:absolute がきく*/
}
body {
    line-height: 1;
    -webkit-text-size-adjust : 100%;/*iosでフォントサイズが勝手に変わる場合の対処用*/
}
ol, ul , li{
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing=&quot;0&quot;' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*---- 素材選択を禁止 input, textarea のみ許可 ----*/
/**{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}*/
input , textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

html , body {
    height: 100%;
}
/*---- ボタンリセット ----*/
button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}

/*---- box sizing ----*/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


#content{
	position: relative;
    width: 100%;
    height: 100%;
}

.coreObject{
	position: relative;
	z-index: 0;
}
/*---- page ----*/
.page{
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.area {
    position: absolute;
    width: 100%;
    overflow-x: hidden;
}

.unit, .panel{
    position: relative;
    width: 100%;
    overflow-x: hidden;
}
.unit {
    height: 100%;	
}

.panel{
    width:100%;
    border-radius: 4px;
    background-color: white;
    padding: 10px;
    margin-bottom: 4px;
    box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
}

.parts{
	/* position: relative;
	overflow-x: hidden; */
}

/*--- float : left のリセット ---*/
.clearfix:after {
	content: "";
	clear: both;
	display: block;
}


/*======================================================
 box
=======================================================*/
.box-float-left{
	float: left;
}
.box-float-right{
	float: right;
}
.box-large{
	position: relative;
	margin: 0 auto;
	width: 96%;
	padding: 10px;
}

/*======================================================
 shadow
=======================================================*/
.shadow{
	box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
}

.no-shadow{
	box-shadow: none;
}

/*======================================================
 border-radius 一括指定
=======================================================*/
button , select , input , textarea ,  .box-large{
	border-radius: 10px;
}

/*======================================================
 button
=======================================================*/
button{
	width: 100%;
	text-align: center;
	/*border-bottom: solid 4px #444;*/
	box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
	font-size: 16px;
	height: 48px;
	background-color: white;
	margin-top: 4px;
	margin-bottom: 4px;
}

button:active{
	box-shadow: none;
}

button img{
	max-height: 32px;
}

/*======================================================
 input
=======================================================*/
select , input {
/*	width: calc( 100% - 8px );*/
/*	margin-left: 4px;*/
	width:100%;
	height: 40px;
	padding: 4px;
	border: solid 1px #999;
	box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
	margin-top: 4px;
	margin-bottom: 4px;
	background-color: white;
}
input{
	padding-left: 8px;
}

textarea{
	padding-left: 8px;
	width: 100%;
	padding: 4px;
	border: solid 1px #999;
	box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
	margin-top: 4px;
	margin-bottom: 4px;
	background-color: white;
	resize: none;
	line-height: 1em;
}

/*スクロールバー消す*/
.noscrollbar::-webkit-scrollbar{
	display: none;
}

/*======================================================
 配置場所設定
=======================================================*/
.text-left{
	text-align: left;
}
.text-center{
	text-align: center;
}
.text-right{
	text-align: right;
}


/*======================================================
 margin
=======================================================*/
.margin-4px{
	margin: 4px;
}
.margin-8px{
	margin: 8px;
}
.margin-16px{
	margin: 16px;
}

/*======================================================
 padding
=======================================================*/
.padding-4px{
	padding: 4px;
}
.padding-8px{
	padding: 8px;
}
.padding-16px{
	padding: 16px;
}

/*======================================================
 おおきさ
=======================================================*/
.height-58px{
	height: 58px;
}
.height-48px{
	height: 48px;
}
.width-48px{
	width: 48px;
}
.width-32px{
	width: 32px;
}
/*======================================================
 空間を開ける
=======================================================*/
space{
	display: block;
	height: 4px;
}


/*======================================================
 画像を比率保って割合指定
=======================================================*/

/*======================================================
 見出し
=======================================================*/
h1{
	font-size: 16px;
	border-bottom: solid 1px;
	margin-top: 8px;
	margin-bottom: 16px;
	padding-bottom: 4px;
}

h2{
	font-size: 14px;
	margin-top: 8px;
	margin-bottom: 8px;
}

h3{
	font-size: 12px;
	margin-top: 4px;
	margin-bottom: 4px;
}

h3::before {
  content: " - ";
}

/*======================================================
 3連ボタン
=======================================================*/
.threeBtn-area{
    width: 100%;
    /* display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 20% 60% 20%; */
}
.threeBtn-area > *{
	float:left;
    text-align: center;
    padding: 4px;
}

.threeBtn-area-left{
    /* grid-row: 1;
	grid-column: 1; */
	width: 20%;
}
.threeBtn-area-center{
    /* grid-row: 1;
	grid-column: 2; */
	width: 60%;
}
.threeBtn-area-right{
    /* grid-row: 1;
	grid-column: 3; */
	width: 20%;
}

.threeBtn-area button{
	width: 100%;
	height: 48px;
	text-align: center;
	box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
	font-size: 16px;
	background-color: cornflowerblue;
	margin-top: 4px;
	margin-bottom: 4px;
	border-radius: 10px;
	color: white;
}

.threeBtn button:active{
	box-shadow: none;
}

.threeBtn button img{
	max-height: 32px;
}

/* divとかで改行を反映させる */
.indention{
	white-space:pre-wrap;
    word-wrap:break-word;
}

/*======================================================
 汎用黒背景
=======================================================*/
.blackBack{
	position: fixed;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.2);
	top: 0;
	left: 0;
}

/*** 汎用的バックボタン ***/
.commonBackBtn{
	display: inline-block;
	width: 20px;
}


/*** 説明 ***/
.description{
	background-color: #eee;
	color: black;
	font-size: 12px;
	border: dotted 1px;
	padding: 4px;
}
