
.main-visual {
  padding: 150px 0 200px;
  background-image: url("https://reimei-sato.jp/wp/pict/mainvisual_back.jpg");
  background-size: cover;
  background-position: center bottom;
}

.main_back {
  padding: 0 0 200px 0;
  background-image: url("https://reimei-sato.jp/wp/pict/mainvisual5.jpg");
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
}

.order_back {
  padding: 70px 0 330px 0;
  background-image: url("https://reimei-sato.jp/wp/pict/order_back.jpg");
  background-size: cover;
  background-position: right bottom;
}

.recruit-back {
  background-image: url("https://reimei-sato.jp/wp/pict/re-back.jpg");
  background-repeat: no-repeat;
  background-position: right bottom;
}

.recruit-back2 {
  padding: 70px 0 330px 0;
  background-image: url("https://reimei-sato.jp/wp/pict/re_back2-1.jpg");
  background-repeat: no-repeat;
  background-position: right bottom;
}

@media screen and (min-width: 1200px) {
	.main-box, .main-box2 {
	  width: 1110px;
	  margin: 0 auto;
    padding: 0;
	}
}
@media screen and (max-width: 1119px) {
	.main-box, .main-box2 {
	  width: 930px;
	  margin: 0 auto;
    padding: 0;
	}
}
@media screen and (max-width: 969px) {
	.main-box, .main-box2 {
	  width: 690px;
	  margin: 0 auto;
    padding: 0;
	}
}
@media screen and (max-width: 767px) {
	.main-box {
	  width: 100%;
	  margin: 0 auto;
    padding: 0;
	}
	.main-box2 {
	  width: 90%;
	}
  .main-visual {
    padding: 70px 0 100px;
  }
  .main_back {
    background-size: 100%;
    background-position: right bottom;
    background-repeat: no-repeat;
  }
  .order_back {
    background-image: url("https://reimei-sato.jp/wp/pict/order_back2.jpg");
    background-repeat: no-repeat;
    padding: 0 0 370px 0;
    background-position: right bottom -100px;
  }
  .recruit-back {
    background-image: url("https://reimei-sato.jp/wp/pict/re-back2.jpg");
    background-position: right bottom -200px;
  }
  .recruit-back2 {
    background-image: url("https://reimei-sato.jp/wp/pict/re_back2-2.jpg");
    background-repeat: no-repeat;
    padding: 0 0 370px 0;
    background-position: right -200px bottom -200px;
  }
}

.top-title {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 50px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
}
.top-text {
  font-size: 1.3em;
  line-height: 2em;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
}

.area {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.area60 {
  width: 523px;
  margin: 0 auto;
  overflow: hidden;
}
.area .p {
  font-size: 1.3em;
  line-height: 2em;
  text-align: justify;
}
.area60 .p {
  font-size: 1.3em;
  line-height: 2em;
  text-align: justify;
}
.area_name {
  display: grid;
  justify-content: right;
  margin-top: 20px;
  font-size: 1.3em;
  line-height: 2em;
  text-align: justify;
}
.area_subtitle {
	display: block;
	width: 100%;
	margin: 0 auto 20px;
	padding: 10px;
  border: solid 1px #333;
	text-align: center;
}
/*
.area, .area2 img {
  width: 100%;
}
  */
.area-60 {
  width: 60%;
  float: left;
}
.area-50 {
  width: 50%;
  float: left;
}
.area-35_l {
  width: 35%;
  margin-right: 5%;
  float: left;
}
.area-35_r {
  width: 35%;
  margin-left: 5%;
  float: left;
}
.area-title {
  /*font-family: "Zen Old Mincho", serif;*/
  font-weight: 200;
  font-style: normal;
  font-size: 2.5em;
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  color: #3eb370;
  text-shadow: 1px 1px 2px #c1c1c1;
}
.area-title2 {
  display: block;
  width: 60%;
  margin: 0 auto;
  padding: 20px 0;
  font-weight: 500;
  font-size: 2em;
  text-align: center;
  color: #3eb370;
  background: linear-gradient(to bottom, #c6ebd6 50%, #fff);
  border-radius: 15px 15px 0 0;
}
.area2 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}
.area2 .p {
  margin: 10px auto 20px;
  text-align: justify;
}
.area2 .t {
  margin-top: 10px;
  font-size: 1.2em;
  text-align: center;
  font-weight: bold;
}
.item1 {
  width: calc(100% / 2);
  margin: 0 auto;
}
.item1_text {
  margin-left: 25px;
  font-size: 1.2em;
  line-height: 2em;
  text-align: justify;
}
.item2 {
  width: calc(90% / 2);
  margin: 20px auto 0;
}
.item3 {
  display: block;
  width: calc(100% / 3);
  margin: 0 auto;
}
.item4 {
  width: calc(100% / 4);
  margin: 0 auto;
}
.item_box {
  padding: 5%;
}
@media screen and (max-width: 780px) {
  .area, .area2 {
    width: 100%;
  }
  .area .p {
    font-size: 1.2em;
    line-height: 1.9em;
    margin-top: 0;
  }
  .area60 {
  width: 100%;
  }
  .area-60 {
    width: 100%;
    float: none;
  }
  .area-50 {
    width: 100%;
    float: none;
  }
  .area-35_l, .area-35_r {
    width: 100%;
    float: none;
    margin: 20px 0 0 0;
  }
  .area-title2 {
    width: 85%;
  }
  .item1 {
    width: calc(100% / 1);
  }
  .item1_text {
    margin: 20px 0 0 0;
  }
  .item2, .item3 {
    width: calc(80% / 1);
  }
}

table.gaiyou {
  width: 100%;
  border-collapse: collapse;
}
table.gaiyou tr {
  border-top: solid 1px #dedede;
  border-bottom: solid 1px #dedede;
}
table.gaiyou th {
  width: 13%;
  padding: 20px 30px;
  font-size: 1.2em;
  text-align-last: justify;
  background-color: #e7f3ed;
}
table.gaiyou td {
  padding: 20px 30px;
  font-size: 1.2em;
}
@media screen and (max-width: 768px) {
  table.gaiyou th {
    width: 25%;
    font-size: 1em;
  }
  table.gaiyou td {
    font-size: 1em;
  }
}

table.gaiyou2 {
  width: 100%;
  border-collapse: collapse;
}
table.gaiyou2 tr {
  border-top: solid 1px #dedede;
  border-bottom: solid 1px #dedede;
}
table.gaiyou2 th {
  width: 15%;
  padding: 20px 30px;
  font-size: 1.2em;
  text-align-last: justify;
  background-color: #e7f3ed;
}
table.gaiyou2 td {
  padding: 20px 30px;
  font-size: 1.2em;
}
@media screen and (max-width: 768px) {
  table.gaiyou2 th {
    width: 35%;
    font-size: 1em;
  }
  table.gaiyou2 td {
    font-size: 1em;
  }
}

table.gaiyou3 {
  width: 100%;
  border-collapse: collapse;
}
table.gaiyou3 tr {
  border-top: solid 1px #dedede;
  border-bottom: solid 1px #dedede;
}
table.gaiyou3 th {
  width: 30%;
  padding: 20px 30px;
  font-size: 1em;
  text-align-last: justify;
  background-color: #e7f3ed;
}
table.gaiyou3 td {
  padding: 20px 30px;
  font-size: 1em;
}
@media screen and (max-width: 768px) {
  table.gaiyou3 th {
    width: 35%;
    font-size: 1em;
  }
  table.gaiyou3 td {
    font-size: 1em;
  }
}

table.enkaku {
  width: 100%;
  border-collapse: collapse;
}
table.enkaku tr {
  border-top: solid 1px #dedede;
  border-bottom: solid 1px #dedede;
}
table.enkaku th {
  width: 15%;
  padding: 20px 30px 20px 0;
  font-size: 1.2em;
  text-align-last: justify;
}
table.enkaku td {
  padding: 20px 0;
  font-size: 1.2em;
}
@media screen and (max-width: 768px) {
  table.enkaku th {
    width: 25%;
    font-size: 1em;
  }
  table.enkaku td {
    font-size: 1em;
  }
}

.banner {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 50px;
  text-align: center;
  font-size: 1.3em;
  color: #333;
  background-color: #fffbca;
  border-radius: 10px;
}
@media screen and (max-width: 768px) {
  .banner {
    width: 90%;
    padding: 20px;
    font-size: 1.2em;
    text-align: left;
  }
}

.svg {
    width: 70%;
    margin: 50px auto;
}
@media (max-width:768px) {
    .svg {
    width: 90%;
    margin: 30px auto;
    }
}

.bt2 a {
	display: block;
	width: 70%;
	margin: 30px auto 0;
	padding: 10px;
  color: #fff;
	background-color: #3eb370;
	text-align: center;
}
/*
.bt2 a {
    display: block;
    width: 50%;
    position: relative;
    padding: 10px 20px;
    text-align: center;
    margin: 30px auto 0;
}
.bt2 a::before,
.bt2 a::after{ 
    content:'';
    width: 18px;
    height: 26px;
    position: absolute;
    display: inline-block;
}
.bt2 a::before{
    border-left: solid 1px #777;
    border-top: solid 1px #777;
    top:0;
    left: 0;
}
.bt2 a::after{
    border-right: solid 1px #777;
    border-bottom: solid 1px #777;
    bottom:0;
    right: 0;
}
    */
.arrow {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-bottom: 5px;
  border-radius: 9999px;
  background-color: #fff;
}
.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 15px;
  height: 1px;
  border-radius: 9999px;
  background-color: #fff;
  transform: rotate(15deg);
  transform-origin: calc(100% - 0.5px) 50%;
}
.arrow-button a {
  display:inline-block;
  cursor:pointer;
  position: relative;
  text-decoration: none;
}
.arrow-button a::after {
  content: “”;
  display: block;
  position: absolute;
  top: calc(50% – 5px);
  left: 90%;
  width: 40px;
  height: 5px;
  border: none;
  border-right: 2px solid #fff;
  border-bottom: 1px solid #fff;
  transform: skew(45deg);
  transition: .3s;
}
.arrow-button a:hover::after {
  position: absolute;
  top: calc(50% – 5px);
  left: 90%;
  width: 60px;
  height: 5px;
}

.ex1 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}
.ex2 {
  display: block;
  width: calc(100% / 3);
  background-image:repeating-linear-gradient(45deg, #fff 0, #c6ebd6 1px, #fff 0, #fff 50%);
  background-size: 5px 5px;
}
.ex-box {
  padding: 5%;
}
.ex-box .t {
  margin-top: 10px;
  font-size: 1.2em;
  text-align: center;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .ex2 {
    width: calc(100% / 1);
  }
}

/* Contact Form7 */
.contact7 {
  max-width: 100%;
  box-sizing: border-box;
}
.contact7 dd {
  margin: 0 0 30px 0;
}
.contact7 dt {
  font-weight: normal;
}
.contact7 .must {
  background: #f29600;
}
.contact7 .optional {
  background: #999;
}
.contact7 .must,
.contact7 .optional {
  color: #FFF;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  margin: 0 10px;
  padding: 5px 10px;
  letter-spacing: 2px;
}
.btn_contact7 {
  /*float: left;*/
  display: inline-block;
  margin: 0;
  text-align: center;
}
.btn_contact7 input {
  width: 300px;
  padding: 10px;
  background-color: #107646;
  color: #FFF;
  font-size: 1.1em;
  font-weight: bold;
  border: 1px solid #107646;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;	
}
.btn_contact7 input:hover {
  background-color: #FFF;
  color: #107646; 
}
@media screen and (min-width: 768px) {
.contact7 dt {
  float: left;
  clear: left;
  width: 35%;
  padding: 5px 10px 5px 0;
  }
.contact7 dd {
  margin-left: 35%;
  }
}

/* accordion */
.accordion {
    max-width: 100%;
    margin-bottom: 7px;
    border-bottom: 2px solid #d0d0d0;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion[open] summary::after {
    transform: rotate(225deg);
}

.accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion[open] p {
    transform: none;
    opacity: 1;
}