@charset "utf-8";

/* reset*/
html, body {
	width: 100%;
	background: #fff;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset,
img {
	border: 0;
}
li {
	list-style: none;
}
caption,
th {
	text-align: left;
}
th {
	vertical-align: baseline;
}
select,
input,
button,
textarea {
	font: 99%;
}
table {
	font-size: inherit;
	font: 100%;
}
address,
caption,
em,
strong,
th {
	font-style:normal;
	font-weight:normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}
input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}
input,
textarea,
select {
*font-size: 100%;
}


/* common*/
html {
    font-size: 62.5%;
}
body {
	margin: 0;
	background-color: #fff;
	color: #1a1a1a;
	font-size:16px;
	font-family: "Noto Sans JP", "Roboto", sans-serif;
  	font-weight: 400;
	line-height: 1;
}
a {
	color: #000;
	text-decoration: none;
	outline: none;
	-webkit-transition: all 0.3s ease;
}
a:visited {
	outline: none;
}
a:hover {
	color: #000;
	outline: none;
}
a:focus,
a:active {
	color: #000;
	outline: none;
}
input:focus,
input:active {
	outline: none;
}



@media only screen and (min-width : 285px) and (max-width : 639px) {
	.title {
		margin: 0 0 40px 0;
		font-size: 2.2rem;
		text-align: center;
		font-family: "Roboto";
	}
	.about {
		width: 85%;
		font-size: 1.4rem;
		margin: 0 auto 80px auto;
	}
	.about li {
		padding: 20px 0;
		border-bottom: solid 1px #e5e5e5;
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		line-height: 1.8;
	}
	.about li span {
		width: 35%;
	}
	.about li p {
		width: 65%;
	}
	.about li .tel {
		width: 65%;
	}
	.about li .tel >  p {
		margin: 0 0 10px;
	}
	.message-area {
		width: 85%;
		font-size: 1.4rem;
		margin: 0px auto 80px auto;
	}
	.message {
		background-color: rgba(255, 255, 255, 0.95);
	}
	.message p {
		margin: 0 auto 20px;
		line-height: 1.8;
		padding: 0 0 0 0px;
	}
	.message .name {
		text-align: right;
	}
	.contact {
		width: 85%;
		font-size: 1.4rem;
		margin: 0px auto 80px;
		text-align: center;
		padding: 20px;
		border: solid 1px #000;
		box-sizing: border-box;
	}
	.contact .mail a {
		background: #000;
		color: #fff;
		display: block;
		padding: 20px;
	}
	.contact .mail a span {
		background:  url("../img/icon_mail.svg") no-repeat left center;
		background-size: 20px auto;
		padding: 0 0 0 30px;
	}
	.contact .contact-info {
	}
	.contact .contact-info .adress {
		text-align: center;
		font-size: 1.2rem;
	}
	.contact .contact-info .number {
		margin: 0 0 20px;
	}
	.contact .contact-info .number a {
		font-size: 3.2rem;
		font-family: "Roboto";
		color: #fff;
		background: url("../img/icon_tel.svg") no-repeat left center;
		background-size: 30px auto;
		padding: 0 0 0 40px;
		color: #000;
	}
	.contact .contact-info .time {
		display: flex;
		justify-content: center;
		margin: 0 0 15px;
	}
	.contact .contact-info .time li:first-child {
		margin: 0 7px 0 0;
	}
	.contact .contact-info .time li span {
		padding: 2px 2px;
		border: solid 1px #000;
		margin: 0 5px 0 0;
	}
	.copyright{
		font-size: 1rem;
		text-align: center;
		background: #000;
		padding: 10px;
		color: #fff;
	}
}


@media only screen and (min-width : 641px) and (max-width : 1290px) {
	.title {
		margin: 0 0 40px 0;
		text-align: left;
		font-size: 2.8rem;
		text-align: center;
		font-family: "Roboto";

	}
	.about {
		width: 85%;
		font-size: 1.6rem;
		margin: 0 auto 160px auto;
	}
	.about li {
		padding: 25px 0;
		border-bottom: solid 1px #e5e5e5;
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		line-height: 1.8;
	}
	.about li span {
		width: 25%;
	}
	.about li p {
		width: 75%;
	}
	.about li .tel {
		width: 75%;
	}
	.about li .tel >  p {
		margin: 0 0 15px;
	}
	.message-area {
		width: 85%;
		font-size: 1.6rem;
		margin: 0px auto 160px auto;
	}
	.message {
		background-color: rgba(255, 255, 255, 0.95);
	}
	.message p {
		line-height: 1.8;
	}
	.message p:first-child {
		padding: 0;
	}
	.message .name {
		text-align: right;
	}
	.contact {
		width: 85%;
		font-size: 1.6rem;
		margin: 0px auto 160px;
		text-align: center;
		padding: 20px;
		border: solid 1px #000;
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
	}
	.contact .mail {
		width: 38%;
	}
	.contact .mail a {
		background: #000;
		color: #fff;
		display: block;
		padding: 25px;
	}
	.contact .mail a span {
		background:  url("../img/icon_mail.svg") no-repeat left center;
		background-size: 20px auto;
		padding: 0 0 0 30px;
	}
	.contact .contact-info {
		display: flex;
		justify-content: center;
		width: 58%;
		align-items: center;
	}
	.contact .contact-info .adress {
		text-align: center;
		width: 77%;
		font-size: 1.4rem;
	}
	.contact .contact-info .number:before {
		content:" ";
		font-size: 3.2rem;
		font-family: "Roboto";
		color: #fff;
		background: url("../img/icon_tel.svg") no-repeat left center;
		background-size: 30px auto;
		padding: 0 0 0 35px;
	}
	.contact .contact-info .number {
		margin: 15px 0;
		font-size: 3.2rem;
		font-family: "Roboto";
		color: #fff;
	}
	
/*	.contact .contact-info .number {
		margin: 15px 0;
		font-size: 3.2rem;
		font-family: "Roboto";
		color: #fff;
		background: url("../img/icon_tel.svg") no-repeat left center;
		background-size: 30px auto;
		padding: 0 0 0 30px;
	}*/
	.contact .contact-info .number a {
		color: #000;
	}
	
	
	.contact .contact-info .time {
		display: block;
		justify-content: center;
	}
	.contact .contact-info .time li{
padding-bottom: 15px;
	}
	
	.contact .contact-info .time li:first-child {
		margin: 0 15px 0 0;
	}
	.contact .contact-info .time li span {
		padding: 2px 5px;
		border: solid 1px #000;
		margin: 0 10px 0 0;
	}
	a[href^="tel:"]{
		pointer-events: none;
	}
	.copyright{
		font-size: 1rem;
		text-align: center;
		background: #000;
		padding: 10px;
		color: #fff;
	}
}

@media only screen and (min-width:1289px) {
	.title {
		margin: 0 0 50px 0;
		font-size: 2.8rem;
		text-align: center;
		font-family: "Roboto";
	}
	.about {
		width: 65%;
		font-size: 1.6rem;
		margin: 0 auto 200px auto;
	}
	.about li {
		padding: 25px 0;
		border-bottom: solid 1px #e5e5e5;
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		line-height: 1.8;
	}
	.about li span {
		width: 25%;
	}
	.about li p {
		width: 75%;
	}
	.about li .tel {
		width: 75%;
	}
	.about li .tel >  p {
		margin: 0 0 15px;
	}
	.message-area {
		width: 65%;
		font-size: 1.6rem;
		margin: 0px auto 200px auto;
	}
	.message {
		background-color: rgba(255, 255, 255, 0.95);
	}
	.message p {
		margin: 0 auto 50px;
		line-height: 1.8;
		padding: 0;
	}
	.message p:first-child {
		padding: 0;
	}
	.message .name {
		text-align: right;
	}
	.contact {
		width: 65%;
		font-size: 1.6rem;
		margin: 0px auto 200px;
		text-align: center;
		padding: 50px;
		border: solid 1px #000;
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
	}
	.contact .mail {
		width: 40%;
	}
	.contact .mail a {
		background: #000;
		color: #fff;
		display: block;
		padding: 25px;
	}
	.contact .mail a span {
		background:  url("../img/icon_mail.svg") no-repeat left center;
		background-size: 20px auto;
		padding: 0 0 0 30px;
	}
	.contact .contact-info {
		display: flex;
		justify-content: center;
		width: 52%;
		align-items: center;
	}
	.contact .contact-info .adress {
		text-align: center;
		width: 77%;
		font-size: 1.4rem;
	}
	.contact .contact-info .number {
		margin: 15px 0;
		font-size: 4rem;
		font-family: "Roboto";
		color: #fff;
		background: url("../img/icon_tel.svg") no-repeat left center;
		background-size: 30px auto;
		padding: 0 0 0 10px;
	}
	.contact .contact-info .number a {
		color: #000;
	}
	.contact .contact-info .time {
		display: flex;
	}
	.contact .contact-info .time li:first-child {
		margin: 0 15px 0 0;
	}
	.contact .contact-info .time li span {
		padding: 2px 5px;
		border: solid 1px #000;
		margin: 0 10px 0 0;
	}
	a[href^="tel:"]{
		pointer-events: none;
	}
	.copyright{
		font-size: 1rem;
		text-align: center;
		background: #000;
		padding: 10px;
		color: #fff;
	}
}


/* ===== 智教らんちう 追加分 ===== */
.message img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 30px;
}
.message .name img {
	display: inline-block;
	margin: 0;
}
.message h3 {
	margin: 0 0 25px;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.6;
}
.message ul {
	margin: 0 0 30px;
	line-height: 1.8;
}
.message ul li {
	padding: 0 0 0 1.2em;
	text-indent: -1.2em;
}
.message ul li:before {
	content: "・";
}
.message a {
	text-decoration: underline;
}
.contact .contact-info .adress > p:last-child {
	margin: 0 0 15px;
	line-height: 1.6;
}
@media only screen and (min-width : 641px) {
	.message h3 {
		font-size: 2.2rem;
	}
	.message img {
		float: left;
		max-width: 40%;
		margin: 0 40px 30px 0;
	}
	.message .name img {
		float: none;
	}
	.message:after {
		content: "";
		display: block;
		clear: both;
	}
}


/* ===== ヘッダー・トップキャッチ（智教らんちう） ===== */
header {
	background: #000;
}
h1 {
	padding: 8px 15px;
	color: #fff;
	font-size: 1rem;
	line-height: 1.5;
	text-align: right;
}
.logo {
	padding: 25px 0;
	text-align: center;
}
.logo img {
	width: 150px;
	height: auto;
	vertical-align: bottom;
}
.topcatch {
	position: relative;
	overflow: hidden;
	margin: 0 0 60px;
	box-shadow: 0 3px 2px rgba(221, 221, 221, .5);
}
.topcatch li:first-child {
	background: url("../img/topcatch_bk_1.jpg");
}
.topcatch li:last-child {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	background: #000;
	opacity: 0;
	animation: topcatch 16s infinite;
}
.topcatch img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
@keyframes topcatch {
	0%, 42% { opacity: 0; }
	50%, 92% { opacity: 1; }
	100% { opacity: 0; }
}
@media only screen and (min-width : 641px) {
	h1 {
		padding: 10px 40px;
		font-size: 1.2rem;
	}
	.logo {
		padding: 35px 0;
	}
	.logo img {
		width: 207px;
	}
	.topcatch {
		margin: 0 0 100px;
	}
}

/* 見出し明朝：TypeSquare（リュウミン）→ 契約終了後は Shippori Mincho B1 で表示 */
.title,
.message h3 {
	font-family: "Ryumin Bold KL", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: 500;
}
