﻿@charset "UTF-8";

/*-- 基本設定：ページ全体 --*/
body {
	margin: 0;
	background-color: #FAF9F6;
	font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
/*	font-size: 16px;*/
}

p {
	margin: 0;
}

/*-- ヘッダー --*/
.h_container {
	display: flex;	/*中央揃えにはこれが必要*/
	align-items: center; /* 縦方向中央揃え */
	justify-content: center; /* 横方向中央揃え */
	height: 70px;
	background-color:#085661;
	color:#f0f0f0;
	margin-bottom: 5px;
	border-bottom: solid 3px #BF6A7A;　/*下線を引く*/
}

h1 {
	font-size: 36px;
	letter-spacing: 0.1em;
	margin-left: 0.2em;
}

/*--スマホの画面では--*/
@media (max-width: 600px) {  
	.h_container {
		height: 40px;
	}

	h1 {
		font-size: 24px;
	}
}

/*-- メイン --*/
.m_container {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/*-- パンくずリスト --*/
.pankuzu ol {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
	margin-right:10px;
	padding: 0;
	list-style: none;
}

.pankuzu li {
	font-size: 13px;
}

.pankuzu a {
	display: block;
	padding: 0 10px;
	color: #668099;
	text-decoration: none;
}

.pankuzu a::after {
	margin-left: 10px;
	content: ">";
}

.pankuzu a:hover {
	color:#ccc;
}

/*-- コンテンツ --*/
.contents_area{
	width: 330px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 10px 10px 10px;
	text-align:center;
}

#topArea{
	width:330px;
	margin-top:30px;
	margin-right:auto;
	margin-left:auto;
	display:flex;	
}

#rangeArea{
	display:flex; /*文字を中央にするのに必要*/
	align-items:center;  /*縦方向中央揃え*/
	justify-content:center;	/*横方向中央揃え*/
	width:240px;
	height:48px;
	border:solid 2px #b0e0e6;
	border-radius:4px;
	font-size:16px;
}

#range{
	width:120px;
}

#btnEnd{
	width:90px;
	height:50px;
	border-radius:4px;
	margin-left:5px;
	background-color:#b0e0e6;
	font-size:16px;
	cursor:pointer;
	display:flex;
	align-items:center;  /*縦方向中央揃え*/
	justify-content:center;	/*横方向中央揃え*/
}

p{
	color:#115A2E;
}

#disp{
	margin-top:15px;
	font-size:16px;
	color:red;
}

#cards{
	width:330px;
	height:200px;
	position:relative;
}

#cardB{
	width:330px;
	height:80px;
	border-radius:8px;
	margin-top:5px;
	border: 1px solid #CDCDCD;
	background-color:lightgray;
	box-shadow:2px 2px 2px #555;
	font-size:18px;
	z-index:1;
	position:absolute;  /*左上からの絶対位置*/
	top:5px;
	left:0px;
	display:flex;
	align-items:center;
	justify-content:center;
}

#cardX{
	width:330px;
	height:65px;
	border-radius:8px;
	margin-top:3px;
	background-color:#F0F0F0;
	transform: skewX(20deg);
	visibility: hidden;
	z-index:2;
	position:absolute;
	top:35px;
	left:-10px;
}

#cardA{
	width:330px;
	height:80px;
	border-radius:8px;
	margin:0px 0px 5px 0px;
	border: 1px solid #CDCDCD;
	background-color:#fff;
	box-shadow:2px 2px 2px #555;
	font-size:18px;
	z-index:1;
	position:absolute;
	top:100px;
	left:0px;
	display:flex;
	align-items:center;
	justify-content:center;
}

#btnArea{
	width:300px;
	margin-top:10px;
	margin-right:auto;
	margin-left:auto;
	text-align:center;
	position:relative;
}

#btnSpeak{
	width:110px;
	height:60px;
	border-radius:4px;	
	font-size:16px;
	background-color:#b0e0e6;
	font-size:16px;
	cursor:pointer;
	display:inline-block;
}

#btnNext{
	width:110px;
	height:60px;
	border-radius:4px;	
	margin-left:15px;
	font-size:16px;	
	background-color:#b0e0e6;
	font-size:16px;
	cursor:pointer;
	display:inline-block;
}

@media (max-width: 600px) {

}

/*-- ページトップに戻る --*/
.pagetop {
	text-align:right;
	padding-top:10px;
	padding-bottom: 20px;
}

.pagetop a{
	font-size:13px;
	color:#668099;
	text-decoration: none;
}

.pagetop a:hover{
	color:#ccc;
}

/*-- フッター --*/
.f_container {
	color: #fff;
	background-color:#7A8D94;
	padding: 15px;
}

.copyright {
	margin-top: 0;
	margin-bottom: 0;
	text-align:center;
	font-size: 12px;
}