@charset "utf-8";

footer {
	margin-top: 0;
}

.bg-bucknumber {
	padding-bottom: 0;
}
.bg-bucknumber .container-md {
	height: 250px;
	background-image: url(../images/bg01.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}
.bg-bucknumber .link-box {
	margin-top: 50px;
}

.bg02 {
	background-image: url(../images/bg02.png);
	background-repeat: no-repeat;
	background-position: right center;
}
.bg03 {
	background-image: url(../images/bg03.png);
	background-repeat: no-repeat;
	background-position: right center;
}
.bg04 {
	background-image: url(../images/bg04.png);
	background-repeat: no-repeat;
	background-position: right center;
}
.bg05 {
	background-image: url(../images/bg05.png);
	background-repeat: no-repeat;
	background-position: right center;
}

a.green-box {
	display: inline-block;
	color: #fff;
	background: #4AA636;
	padding: 5px 20px;
	border-radius: 10px;
}
a.blue-box {
	display: inline-block;
	color: #fff;
	background: #0093BE;
	padding: 5px 20px;
	border-radius: 10px;
}

a.brown-box {
	display: inline-block;
	color: #fff;
	background: var(--color-brown);
	padding: 5px 20px;
	border-radius: 10px;
}

.main-history {
	max-width: 1188px;
	margin: 0 !important;
	padding: 60px 20px;
	background: #fff;
}
.main-history.sub {
	margin-top: 60px !important;
}

.dot-border {
	display: flex;
	align-items: center;
}
.dot-border01:before,
.dot-border01:after {
	content: "";
	height: 10px;
	flex-grow: 1;
	background-image: url("./images/dot-green.png");
}
.dot-border02:before,
.dot-border02:after {
	content: "";
	height: 10px;
	flex-grow: 1;
	background-image: url("./images/dot-blue.png");
}
.dot-border:before {
	margin-right: 3rem;
}
.dot-border:after {
	margin-left: 3rem;
}

/* タイムライン */
.timeline {
	width:100%;
	padding:0 30px;
}
.timeline li {
	position: relative;
	list-style: none;
	padding:0 0 20px 0;
}
.timeline div.year-box {
	display:inline-block;
	vertical-align: top;
	text-align:center;
	margin:0 0 30px 3em;
}
.timeline div.text-box {
	display:inline-block;
	vertical-align: top;
	padding-top:10px;
	margin:0 0 30px 2em;
}
.border-line01 {
	position: absolute;
	top:10px;
	width:2px;
	height:0;
	background: #96BA7E;
	height: calc(100% + 1em);
	left: 0.5em;
}
.border-line02 {
	position: absolute;
	top:10px;
	width:2px;
	height:0;
	background: #66C8E2;
	height: calc(100% + 1em);
	left: 0.5em;
}
.circle01 li::after {
	content:'';
	position: absolute;
	top:0;
	left:0;
	width:20px;
	height: 20px;
	background:#96BA7E;
	border-radius: 50%;
	margin-top:10px;
}
.circle02 li::after {
	content:'';
	position: absolute;
	top:0;
	left:0;
	width:20px;
	height: 20px;
	background:#66C8E2;
	border-radius: 50%;
	margin-top:10px;
}
li:last-of-type .border-line01:last-of-type, 
li:last-of-type .border-line02:last-of-type {
	display: none;
}

.seireki {
	font-weight: bold;
	font-size: 1.5em;
	margin: 0px;
	white-space: nowrap;
}
.wareki {
	margin: 0px;
}
.date {
	display:inline-block;
	vertical-align: top;
	white-space: nowrap;
}
.text {
	display:inline-block;
	vertical-align: top;
	margin:0 0 15px 1em;
}
.photo {
	border-radius: 10px;
}



html, body {
    overflow-x: hidden;
}

.cl-lightblue {
	color: #00A3CE;
}

.container-md.main2nd {
	max-width: 1188px;
	margin-top: 50px;
}


a.btn01.white {
	border: solid 1px #7E584B;
	border-radius: 10px;
}
a.btn01.white:before {
	content: '▶';
	color: #7E584B;
	margin-right: 0.5em;
}
a.btn01.white:after {
	display: none;
}
a.btn01.white:hover:before {
	color: #fff;
}
a.btn01.white:hover {
	background-color: #7E584B;
	color: #fff;
	border: solid 1px #fff;
}
a.btn03 {
	font-size: 2.2rem;
	border: solid 1px #fff;
}
a.btn03:after {
	display: none;
}

a.btn-hoikuen {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	font-size: 2.2rem;
	color: #fff;
	background: #4C9737;
	padding: 0.1em 0.75em 0.2em;
	border: solid 1px #4C9737;
	border-radius: 10px;
}
a.btn-hoikuen:hover {
	color: #4C9737;
	background: #fff;
}
a.btn-youikuen {
	position: relative;
	display: inline-block;
	min-width: 150px;
	text-align: center;
	font-size: 2.2rem;
	color: #fff;
	background: #1590B7;
	padding: 0.5em 0.75em 0.7em;
	border: solid 1px #1590B7;
	border-radius: 10px;
}
a.btn-youikuen:hover {
	color: #1590B7;
	background: #fff;
}
a.btn-youikuen::before {
	content: "";
	position: absolute;
	top: -45px;
	left: 0;
	width: 60px;
	height: 53px;
	background-image: url('../images/flag-youikuen.png');
	background-size: cover;
}
a.btn-pocket {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	font-size: 2.2rem;
	color: #fff;
	background: #DB7E0F;
	padding: 0.1em 0.75em 0.2em;
	border: solid 1px #DB7E0F;
	border-radius: 10px;
}
a.btn-pocket:hover {
	color: #DB7E0F;
	background: #fff;
}

table.recruitment th, table.recruitment td {
	padding: 1em 2em;
}
table.recruitment th {
	white-space: nowrap;
	border-bottom: solid 1px #00A3CE;
}

table.recruitment  tr:nth-child(1) > th {
	border-top: solid 1px #00A3CE;
}
table.recruitment td {
	border-bottom: solid 1px #999;
}
table.recruitment tr:nth-child(1) > td {
	border-top: solid 1px #999;
}
.bg-brown {
	background-color: #7E584B;
}
.border-qa {
	padding: 0.75em 0;
	margin-bottom: 1em;
	border-bottom: dashed 1px #00A3CE;
}
p.qa-q, p.qa-a {
	position: relative;
	margin-left: 2em;
}
p.qa-q:before {
	content: 'Q';
	position: absolute;
	left: -1em;
	color: #00A3CE;
	font-size: 3.6rem;
	font-weight: 900;
}
p.qa-a:before {
	content: 'A';
	position: absolute;
	left: -1em;
	color: #E69288;
	font-size: 3.6rem;
	font-weight: 900;
}





.box-info {
	margin-bottom: 100px;
}
.box {
	margin: 30px 0;
	width: 600px;
	display: inline-block;
	padding: 120px 80px 60px;
	border-image: url(../images/box.png);
	border-image-slice: 160 fill;
	border-image-width: 120px;
}
.box .title {
	display: inline-block;
	font-size: 2.2rem;
	background: #7E584B;
	color: #fff;
	padding: 0.1em 0.75em;
	border-radius: 10px;
}
.box th div {
	border:solid 1px #7E584B;
	padding: 0.1em 0.75em;
	border-radius: 10px;
	white-space: nowrap;
}
.box td {
	padding-left: 1em;
	white-space: nowrap;
	text-align: left;
}

p.h1 {
	color: #7E584B;
	background: #CCEDF5;
	padding: 0.5em;
	margin: 1em 0;
	border-radius: 10px;
}
p.h2 {
	margin-bottom: 0.5em;
}
p.h2::before {
	content: '●';
	color: #66C8E2;
}
h2, h2 span {
	color: #7E584B !important;
}

.main {
	background: #FFFADC;
	background-image:url('../images/sky-btm.png');
	background-repeat: repeat-x;"
}

.decorated-line {
  position: relative;
  height: 2px; /* 罫線の高さ */
  background-color: #7E584B; /* 罫線の色 */
  width: 30%; /* 例: 罫線の全体の幅の80% */
  margin: 20px auto; /* 横方向の中央配置と適切な余白 */
}

.decorated-line::before,
.decorated-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; /* 丸の直径 */
  height: 10px; /* 丸の直径 */
  border-radius: 50%; /* 丸を丸くするため */
  background-color: #7E584B; /* 丸の色 */
}

.decorated-line::before {
  left: -10px; /* 左側の丸の位置 */
}

.decorated-line::after {
  right: -10px; /* 右側の丸の位置 */
}


@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 992px) {
	.box-info {
		padding: 0 40px;
	}
}

@media (max-width: 768px) {
	div.container-md {
		padding: 0;
	}
	.main {
		margin-top: 0;
		padding-top: 60px;
	}
}

@media (max-width: 576px) {

	.container-md.main2nd {
		margin-top: 0;
	}

	.bg-bucknumber .container-md {
		height: 220px;
	}

	.bg-bucknumber .link-box {
		margin: 0;
	}

	.bg02, .bg03, .bg04, .bg05 {
		background-image: none;
	}

	.main-history {
		padding: 20px;
	}

	body {
		background-image: url("../images/header-sp.gif");
	}

/*
	div.row {
		margin: 20px 0;
	}
	.main-history {
		margin-top: 20px !important;
		width: 96%;
	}
*/

	.catch img {
		width: 200px;
	}
	.timeline {
		padding: 0;
	}
	.timeline li {
		display: block !important;
	}
	.timeline div.year-box {
		margin-bottom: 0;
	}



	.decorated-line {
		width: 80%;
	}
	.box {
		width: 100%;
		padding: 0;
		border: none;
	}
	.box-info {
		padding: 0 10px;
	}
	.btn01.white {
		display: block;
		margin: 0 auto 1em !important;
		width: 100%;
	}
	a.btn-hoikuen {
		min-width: 110px;
		font-size: 1.7rem;
		padding: 0.1em 0.5em 0.2em;
	}
	a.btn-youikuen {
		min-width: 110px;
		font-size: 1.7rem;
		padding: 0.5em 0.5em 0.7em;
	}
	a.btn-pocket {
		min-width: 80px;
		font-size: 1.7rem;
		padding: 0.1em 0.5em 0.2em;
	}
	table.recruitment th, table.recruitment td {
		border: none;
		display: block;
	}
	table.recruitment th {
		color: #fff;
		background: #00A3CE;
	}

	table.recruitment  tr:nth-child(1) > th {
		border: none;
	}
	table.recruitment tr:nth-child(1) > td {
		border: none;
	}

	.border-qa {
		padding: 0 1em;
	}
}
