#hero {
  background: url("../img/top.jpg");
  background-size: cover;
  background-position: center center;
}



#facility {
  background: url("../img/bg_wood.png");
  background-size: 480px;
  background-repeat: repeat;
}

.facility_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.facility_list_item {
  width: calc((100% - 72px) / 4);
}

.facility_list_item_img {
  box-shadow: 8px 8px 0 #00000010;
}

.facility_list_item_txt {
  margin: 16px 8px;
  font-size: 0.9em;
  text-align: justify;
}
@media screen and (max-width: 768px) {
  .facility_list {
    gap: 16px;
    padding: 16px;
  }
  .facility_list_item {
    width: calc((100% - 16px) / 2);
  }
}

#price {
  background: #fcf9f5;
}

.price_table {
  margin: 32px auto;
  max-width: 800px;
  background: white;
}

.price_table > * {
  margin-bottom: 16px;
}

figcaption{
  text-align:right;
}

@media screen and (max-width: 768px) {
  .price_table {
    font-size: 0.9em;
    padding: 8px;
  }
}

#flow {
  background: url("../img/bg_craft.png");
}

.flow_list {
  margin-top: 32px;
}

.flow_list_item {
  display: flex;
  gap: 16px;
  margin: 32px;
}

.flow_list_item_container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 32px;
  background: white;
  box-shadow: 8px 8px 0 #00000010;
  position: relative;
}

.flow_list_item:not(:last-of-type) .flow_list_item_container {
  margin-bottom: 32px;
}

.flow_list_item:not(:last-of-type) .flow_list_item_container::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 24px 24px 0 24px;
  border-color: #00000030 transparent transparent transparent;
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
}

.flow_list_item_container._sub {
  width: 60%;
  align-items: flex-start;
}

.flow_list_item_number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: white;
  background: #87bad1;
  border-radius: 50%;
  flex-shrink: 0;
}

.flow_list_item_content {
  margin-left: 24px;
  padding: 8px;
  padding-left: 24px;
  border-left: 1px solid #00000030;
}

.flow_list_item_container._sub .flow_list_item_content {
  border: none;
  margin: 0;
  padding-left: 8px;
}

.flow_list_item_ttl {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow_about_inspection {
  text-align: center;
}

.flow_about_inspection_ttl {
  padding: 32px 0;
  font-size: 1.5em;
  font-weight: 600;
  position: relative;
}

.flow_about_inspection_ttl::after {
  content: url("../img/ttl_bar.png");
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.flow_about_inspection_txt {
  font-size: 1.1em;
}

@media screen and (max-width: 768px) {
  .flow_list {
    margin-top: 48px;
  }

  .flow_list_item {
    flex-direction: column;
    margin: 16px;
  }
  .flow_list_item_container {
    position: relative;
  }

  .flow_list_item_container._sub {
    width: 100%;
  }

  .flow_list_item:not(:last-of-type) .flow_list_item_container::after {
    display: none;
  }

  .flow_list_item:has(._sub) .flow_list_item_container:not(._sub) {
    margin-bottom: 0;
  }

  .flow_list_item_number {
    position: absolute;
    left: 50%;
    top: -24px;
    transform: translateX(-50%);
  }
  .flow_list_item_content {
    margin-left: 0;
    padding: 8px 0;
    border: none;
  }
}

#voice {
  background: url("../img/bg_wood.png");
  position: relative;
}

.voice_list {
  margin: 32px auto 0;
  max-width: 1200px;
  padding: 0 160px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.voice_list_item {
  width: calc((100% - 48px) / 4);
  padding: 16px;
  background: white;
  box-shadow: 8px 8px 0 #00000010;
  font-size: 0.9em;
}

.voice_list_item_txt {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 2px solid #00000030;
  text-align: justify;
}

.voice_list_btn {
  width: 80px;
  height: 80px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #222;
  position: absolute;
  top: calc(50% + 66px);
  transform: translateY(-50%);
}

.voice_list_btn._prev {
  left: calc(50% - 512px);
}

.voice_list_btn._next {
  right: calc(50% - 512px);
}

@media screen and (max-width: 768px) {
  .voice_list {
    padding: 16px;
    padding-bottom: 120px;
  }

  .voice_list_item {
    width: calc((100% - 16px) / 2);
  }

  .voice_list_btn {
    top: inherit;
    bottom: 0;
  }

  .voice_list_btn._prev {
    left: 16px;
  }

  .voice_list_btn._next {
    right: 16px;
  }
}

#faq {
  background: #fcf9f5;
}

.faq_list {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 32px;
  background: white;
}

.faq_list_item {
  padding: 16px 8px;
  border-bottom: 2px solid #00000030;
}

.faq_list_item:last-of-type {
  border-bottom: none;
}

.faq_list_item_ttl,
.faq_list_item_txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px;
  flex: 1;
}

.faq_list_item_ttl::before {
  background: url("../img/question_icon.png");
}

.faq_list_item_txt::before {
  background: url("../img/answer_icon.png");
}

.faq_list_item_ttl::before,
.faq_list_item_txt::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .faq_list {
    padding: 8px;
  }
}

#access {
  background: url("../img/bg_craft.png");
}

.access_container {
  margin-top: 32px;
  padding: 32px;
  background: white;
}

.access_info {
  display: flex;
  align-items: stretch;
  gap: 16px;
  min-height: 400px;
}

.access_info_left {
  flex: 1;
}

.access_info_left iframe {
  width: 100%;
  height: 100%;
}

.access_info_right {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
  flex: 1;
}

.access_info_ttl {
  margin-bottom: 16px;
  font-size: 1.5em;
  font-weight: 600;
}

.access_info_ttl span {
  margin-left: 8px;
  font-size: 0.9rem;
  color: #87bad1;
  white-space: nowrap;
}

.access_info_item {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #00000030;
}

.access_info_item:first-of-type {
  border-top: 1px solid #00000030;
}

.access_info_list_ttl {
  width: 80px;
  font-weight: 600;
}

.access_info_list_txt {
  width: calc(100% - 96px);
}

.access_route {
  padding: 36px;
}

.access_route_ttl {
  margin: 16px 0 32px;
  font-size: 1.5em;
  text-align: center;
}

/* add_code start*/
.route_list{
	margin: 5% auto;
	display:flex;
	gap: 3%;
	justify-content: center;
}
.route_list p{
	border: 2px solid #87bad1;
    border-radius: 50px;
    padding: 10px 15px;
	cursor:pointer;
	width: fit-content;
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.2);
}
/* add_code end*/


.access_route_list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  counter-reset: access 0;
}

.access_route_item {
  width: calc((100% - 32px) / 3);
  position: relative;
}

.access_route_item_txt {
  display: flex;
  gap: 8px;
  text-align: justify;
  padding: 8px;
}

.access_route_item_txt::before {
  counter-increment: access 1;
  content: "0" counter(access);
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  color: white;
  background: #87bad1;
  border-radius: 50%;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .access_container {
    padding: 16px;
  }

  .access_info {
    flex-direction: column-reverse;
  }

  .access_info_right {
    padding: 0;
  }

  .access_info_ttl {
    text-align: center;
  }

  .access_info_left iframe {
    height: 300px;
  }

  .access_info_item {
    flex-direction: column;
  }
  .access_info_list_txt {
    width: 100%;
  }
  .access_route {
    padding: 16px 0;
  }

  .access_route_item {
    width: 100%;
  }
	
	/* add_code start*/
	.route_list{
		margin: 0% auto 5%;
		display:flex;
		gap: 0%;
		flex-direction: column;
		align-items: center;
	}
	.route_list p{
		border: 1.5px solid #87bad1;
		width: 310px;
    	text-align: center;
		margin-bottom: 20px;
	}
	/* add_code end*/
}

#info {
  background: #fcf9f5;
}

.info_vacancy {
  margin: 32px auto;
  padding: 16px;
  max-width: 800px;
  background: white;
}

.info_vacancy_ttl {
  font-size: 1.2em;
  text-align: center;
}

.info_list {
  display: flex;
  max-width: 800px;
  margin: 32px auto;
  gap: 32px;
}

.info_item {
  width: calc(50% - 16px);
  padding: 16px;
  background: white;
}

.info_item_ttl {
  margin: 16px 0;
}

.info_item_ttl_en {
  font-size: 0.9em;
  text-align: center;
}

.info_item_ttl_jp {
  font-size: 1.1em;
  text-align: center;
}

.info_item_btn {
  display: block;
  margin: 16px auto;
  padding: 8px 16px;
  width: 240px;
  text-align: center;
  border: 1px solid #333;
  border-radius: 100px;
}

.info_item_news_item {
  padding: 8px 16px;
  border-top: 1px solid #00000030;
}

.info_item_news_date {
  font-size: 0.9em;
}

.info_item_news_item:last-of-type {
  border-bottom: 1px solid #00000030;
}

.info_vacancy {
  padding: 16px 32px;
}

.info_vacancy_ttl {
  margin: 16px 0;
}

.info_vacancy_table p {
  text-align: center;
  margin-top: -16px;
}

.info_vacancy_table table {
  margin: 16px 0;
  width: 100%;
}

.info_vacancy_table table th {
  padding: 8px 16px;
  color: white;
  background: #333;
  text-align: center;
  vertical-align: middle;
  border: 2px solid white;
}

.info_vacancy_table table td {
  padding: 8px 16px;
  text-align: center;
  vertical-align: middle;
  border: 2px solid white;
  background: #fcf9f5;
}

.info_vacancy_table table thead th {
  color: white;
  background: #87bad1;
}

@media screen and (max-width: 768px) {
  .info_list {
    flex-direction: column;
  }
  .info_item {
    width: 100%;
  }
}

.footer_wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px;
}

.footer_left {
}

.footer_logo {
  width: 160px;
  margin-bottom: 8px;
}

.footer_txt {
  margin-bottom: 8px;
}

.footer_link_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer_sns_list {
  display: flex;
  gap: 8px;
}

.footer_sns_item {
  width: 32px;
  padding: 4px;
}

.footer_right {
  text-align: right;
  text-decoration: underline;
}

.copyright {
  padding: 4px;
  color: white;
  background: #87bad1;
  text-align: center;
  font-size: 0.9em;
}

@media screen and (max-width: 768px) {
  .footer_wrapper {
    flex-direction: column;
  }
}
