
body {
	font-size: 14px;
	max-width: 480px;
	min-width: 380px;
	-webkit-text-size-adjust: 100%;
}

.df {
	display: none;
}

.sp {
	display: inline;
}

div.sp {
	display: block;
}

h2.caption,
h2.img,
h2.second-title {
	padding: 50px 0 20px 0;
}

h2.caption img {
	height: auto;
	width: 100%;
}

h2.img img {
	height: auto;
	width: 100%;
}

h3 {
	line-height: 1.8em;
}

p.spjustify {
	text-align: justify;
}

span.link-btn a,
a.link-btn {
	background-size: 5px;
	display: block;
	margin: 10px 0;
	padding: 15px 20px;
	text-align: center;
	width: auto;
}

a.menu-btn {
	padding: 15px 0;
	width: 100%;
}

ul.list li {
	background-position: 3px 12px;
}

div.body p a {
	display: block;
	text-align: center;
}

/***********************************************************************/

table.list-table {
	width: auto;
}

table.list-table th {
	display: block;
	padding: 5px;
	white-space: nowrap;
	width: auto;
}

table.list-table td {
	display: block;
	margin-bottom: 10px;
	padding: 15px 20px;
	text-align: justify;
}

table.list-table td strong {
	border-bottom: 1px solid #009e29;
	margin-bottom: 10px;
}

table.list-table td strong a {
	color: black;
	font-size: 110%;
	font-weight: bold;
	text-decoration: none;
}

ul.menu li div.img {
	display: block;
	width: 100%;
}

ul.menu li div.img img {
	height: auto;
	width: 100%;
}

ul.menu li div.body {
	display: block;
	padding: 20px;
}

div.lesson-img {
	padding: 10px 0 20px 0;
}

div.lesson-img img {
	height: auto;
	padding: 0 0 10px 0;
	width: 100%;
}

div.lesson-img img.right {
	padding: 0;
}

div.profile-img img {
	height: auto;
	padding: 0 0 10px 0;
	width: 100%;
}

/***********************************************************************/

#header {
	box-sizing: border-box;
	font-size: 12px;
	line-height: 1.4em;
	padding: 10px;
}

#maintitle {
	background-size: cover;
	height: auto;
}

#maintitle h1 {
	padding: 100px 20px 60px 20px;
}

#maintitle h1 img {
	height: auto;
	width: 100%;
}

div.main,
div.main-s {
	padding: 0 25px;
	width: auto;
}

div.bg-gray {
	padding-bottom: 30px;
}

div.sns-container {
	padding: 25px 20px 20px 20px;
	width: auto;
}

div.sns-container h3 {
	display: block;
	font-size: 115%;
}

div.sns-container a.sns-btn {
	background-position: right 20px center;
	border-radius: 20px;
	padding: 30px 30px 20px 20px;
	width: auto;
}

div.sns-container a.sns-btn img {
	height: auto;
	width: 50%;
}

div.sns-container a.sns-btn span.text em {
	display: block;
	padding: 0;
}

div.contact {
	padding: 30px 0 30px 0;
}

div.contact div.contact-tel {
	padding: 0 10px;
}

div.contact div.contact-tel div.number a img {
	height: auto;
	width: 100%;
}

div.contact div.mail-btn {
	margin: 30px 0 20px 0;
}

div.contact div.mail-btn a.link-btn {
	background: url(images/link_btn.png) no-repeat right 15px center white;
	background-size: 8px;
	color: black;
}

nav#footernav {
	padding: 0;
}

nav#footernav ul li {
	border-left: none;
	border-top: 1px solid #009e29;
	display: block;
	padding: 0;
}

nav#footernav ul li:last-child {
	border-bottom: 1px solid #009e29;
	border-right: none;
}

nav#footernav ul li a {
	background: url(images/link_btn_g.png) no-repeat right 15px center;
	border: none;
	color: black;
	display: block;
	font-size: 110%;
	font-weight: 600;
	padding: 15px 20px;
}

nav#footernav ul li a:hover {
	background: url(images/link_btn_w.png) no-repeat right 15px center #757575;
	background-size: 8px;
	color: white;
	opacity: 1;
}

#footer {
	padding: 40px 0 30px 0;
}

#footer h4 img {
	height: auto;
	width: 250px;
}

#footer-tabisaki-life a img {
	height: auto;
	width: 140px;
}

p#copyright {
	border-bottom: 5px solid #009e29;
	line-height: 1.4em;
	margin: 0;
	padding: 10px;
}

#pagetop {
	position: static;
}

#pagetop a {
	background: url(images/pagetop_sp.png) no-repeat center top 15px,
	url(images/bg_gray.gif) repeat center top;
	color: white;
	display: block;
	font-size: 15px;
	font-weight: bold;
	height: auto;
	padding: 40px 0 10px 0;
	text-align: center;
	text-decoration: none;
	width: auto;
}

